@@ -1681,6 +1681,7 @@ export interface Thread {
16811681 chatbot : Chatbot
16821682 chatbotId : Scalars [ 'Int' ]
16831683 createdAt : Scalars [ 'timestamptz' ]
1684+ isApproved : ( Scalars [ 'Boolean' ] | null )
16841685 isPublic : ( Scalars [ 'Boolean' ] | null )
16851686 /** An array relationship */
16861687 messages : Message [ ]
@@ -1767,15 +1768,15 @@ export interface ThreadMutationResponse {
17671768
17681769
17691770/** select columns of table "thread" */
1770- export type ThreadSelectColumn = 'chatbotId' | 'createdAt' | 'isPublic' | 'model' | 'threadId' | 'updatedAt' | 'userId'
1771+ export type ThreadSelectColumn = 'chatbotId' | 'createdAt' | 'isApproved' | ' isPublic' | 'model' | 'threadId' | 'updatedAt' | 'userId'
17711772
17721773
17731774/** select "threadAggregateBoolExpBool_andArgumentsColumns" columns of table "thread" */
1774- export type ThreadSelectColumnThreadAggregateBoolExpBool_andArgumentsColumns = 'isPublic'
1775+ export type ThreadSelectColumnThreadAggregateBoolExpBool_andArgumentsColumns = 'isApproved' | ' isPublic'
17751776
17761777
17771778/** select "threadAggregateBoolExpBool_orArgumentsColumns" columns of table "thread" */
1778- export type ThreadSelectColumnThreadAggregateBoolExpBool_orArgumentsColumns = 'isPublic'
1779+ export type ThreadSelectColumnThreadAggregateBoolExpBool_orArgumentsColumns = 'isApproved' | ' isPublic'
17791780
17801781
17811782/** aggregate stddev on columns */
@@ -1807,7 +1808,7 @@ export interface ThreadSumFields {
18071808
18081809
18091810/** update columns of table "thread" */
1810- export type ThreadUpdateColumn = 'chatbotId' | 'createdAt' | 'isPublic' | 'model' | 'threadId' | 'updatedAt' | 'userId'
1811+ export type ThreadUpdateColumn = 'chatbotId' | 'createdAt' | 'isApproved' | ' isPublic' | 'model' | 'threadId' | 'updatedAt' | 'userId'
18111812
18121813
18131814/** aggregate varPop on columns */
@@ -5717,6 +5718,7 @@ export interface ThreadGenqlSelection{
57175718 chatbot ?: ChatbotGenqlSelection
57185719 chatbotId ?: boolean | number
57195720 createdAt ?: boolean | number
5721+ isApproved ?: boolean | number
57205722 isPublic ?: boolean | number
57215723 /** An array relationship */
57225724 messages ?: ( MessageGenqlSelection & { __args ?: {
@@ -5807,15 +5809,15 @@ export interface ThreadAvgOrderBy {chatbotId?: (OrderBy | null)}
58075809
58085810
58095811/** Boolean expression to filter rows from the table "thread". All fields are combined with a logical 'AND'. */
5810- export interface ThreadBoolExp { _and ?: ( ThreadBoolExp [ ] | null ) , _not ?: ( ThreadBoolExp | null ) , _or ?: ( ThreadBoolExp [ ] | null ) , chatbot ?: ( ChatbotBoolExp | null ) , chatbotId ?: ( IntComparisonExp | null ) , createdAt ?: ( TimestamptzComparisonExp | null ) , isPublic ?: ( BooleanComparisonExp | null ) , messages ?: ( MessageBoolExp | null ) , messagesAggregate ?: ( MessageAggregateBoolExp | null ) , model ?: ( ModelsEnumEnumComparisonExp | null ) , modelsEnum ?: ( ModelsEnumBoolExp | null ) , threadId ?: ( UuidComparisonExp | null ) , updatedAt ?: ( TimestamptzComparisonExp | null ) , user ?: ( UserBoolExp | null ) , userId ?: ( UuidComparisonExp | null ) }
5812+ export interface ThreadBoolExp { _and ?: ( ThreadBoolExp [ ] | null ) , _not ?: ( ThreadBoolExp | null ) , _or ?: ( ThreadBoolExp [ ] | null ) , chatbot ?: ( ChatbotBoolExp | null ) , chatbotId ?: ( IntComparisonExp | null ) , createdAt ?: ( TimestamptzComparisonExp | null ) , isApproved ?: ( BooleanComparisonExp | null ) , isPublic ?: ( BooleanComparisonExp | null ) , messages ?: ( MessageBoolExp | null ) , messagesAggregate ?: ( MessageAggregateBoolExp | null ) , model ?: ( ModelsEnumEnumComparisonExp | null ) , modelsEnum ?: ( ModelsEnumBoolExp | null ) , threadId ?: ( UuidComparisonExp | null ) , updatedAt ?: ( TimestamptzComparisonExp | null ) , user ?: ( UserBoolExp | null ) , userId ?: ( UuidComparisonExp | null ) }
58115813
58125814
58135815/** input type for incrementing numeric columns in table "thread" */
58145816export interface ThreadIncInput { chatbotId ?: ( Scalars [ 'Int' ] | null ) }
58155817
58165818
58175819/** input type for inserting data into table "thread" */
5818- export interface ThreadInsertInput { chatbot ?: ( ChatbotObjRelInsertInput | null ) , chatbotId ?: ( Scalars [ 'Int' ] | null ) , createdAt ?: ( Scalars [ 'timestamptz' ] | null ) , isPublic ?: ( Scalars [ 'Boolean' ] | null ) , messages ?: ( MessageArrRelInsertInput | null ) , model ?: ( ModelsEnumEnum | null ) , modelsEnum ?: ( ModelsEnumObjRelInsertInput | null ) , threadId ?: ( Scalars [ 'uuid' ] | null ) , updatedAt ?: ( Scalars [ 'timestamptz' ] | null ) , user ?: ( UserObjRelInsertInput | null ) , userId ?: ( Scalars [ 'uuid' ] | null ) }
5820+ export interface ThreadInsertInput { chatbot ?: ( ChatbotObjRelInsertInput | null ) , chatbotId ?: ( Scalars [ 'Int' ] | null ) , createdAt ?: ( Scalars [ 'timestamptz' ] | null ) , isApproved ?: ( Scalars [ 'Boolean' ] | null ) , isPublic ?: ( Scalars [ 'Boolean' ] | null ) , messages ?: ( MessageArrRelInsertInput | null ) , model ?: ( ModelsEnumEnum | null ) , modelsEnum ?: ( ModelsEnumObjRelInsertInput | null ) , threadId ?: ( Scalars [ 'uuid' ] | null ) , updatedAt ?: ( Scalars [ 'timestamptz' ] | null ) , user ?: ( UserObjRelInsertInput | null ) , userId ?: ( Scalars [ 'uuid' ] | null ) }
58195821
58205822
58215823/** aggregate max on columns */
@@ -5872,15 +5874,15 @@ export interface ThreadOnConflict {constraint: ThreadConstraint,updateColumns?:
58725874
58735875
58745876/** Ordering options when selecting data from "thread". */
5875- export interface ThreadOrderBy { chatbot ?: ( ChatbotOrderBy | null ) , chatbotId ?: ( OrderBy | null ) , createdAt ?: ( OrderBy | null ) , isPublic ?: ( OrderBy | null ) , messagesAggregate ?: ( MessageAggregateOrderBy | null ) , model ?: ( OrderBy | null ) , modelsEnum ?: ( ModelsEnumOrderBy | null ) , threadId ?: ( OrderBy | null ) , updatedAt ?: ( OrderBy | null ) , user ?: ( UserOrderBy | null ) , userId ?: ( OrderBy | null ) }
5877+ export interface ThreadOrderBy { chatbot ?: ( ChatbotOrderBy | null ) , chatbotId ?: ( OrderBy | null ) , createdAt ?: ( OrderBy | null ) , isApproved ?: ( OrderBy | null ) , isPublic ?: ( OrderBy | null ) , messagesAggregate ?: ( MessageAggregateOrderBy | null ) , model ?: ( OrderBy | null ) , modelsEnum ?: ( ModelsEnumOrderBy | null ) , threadId ?: ( OrderBy | null ) , updatedAt ?: ( OrderBy | null ) , user ?: ( UserOrderBy | null ) , userId ?: ( OrderBy | null ) }
58765878
58775879
58785880/** primary key columns input for table: thread */
58795881export interface ThreadPkColumnsInput { threadId : Scalars [ 'uuid' ] }
58805882
58815883
58825884/** input type for updating data in table "thread" */
5883- export interface ThreadSetInput { chatbotId ?: ( Scalars [ 'Int' ] | null ) , createdAt ?: ( Scalars [ 'timestamptz' ] | null ) , isPublic ?: ( Scalars [ 'Boolean' ] | null ) , model ?: ( ModelsEnumEnum | null ) , threadId ?: ( Scalars [ 'uuid' ] | null ) , updatedAt ?: ( Scalars [ 'timestamptz' ] | null ) , userId ?: ( Scalars [ 'uuid' ] | null ) }
5885+ export interface ThreadSetInput { chatbotId ?: ( Scalars [ 'Int' ] | null ) , createdAt ?: ( Scalars [ 'timestamptz' ] | null ) , isApproved ?: ( Scalars [ 'Boolean' ] | null ) , isPublic ?: ( Scalars [ 'Boolean' ] | null ) , model ?: ( ModelsEnumEnum | null ) , threadId ?: ( Scalars [ 'uuid' ] | null ) , updatedAt ?: ( Scalars [ 'timestamptz' ] | null ) , userId ?: ( Scalars [ 'uuid' ] | null ) }
58845886
58855887
58865888/** aggregate stddev on columns */
@@ -5928,7 +5930,7 @@ ordering?: (CursorOrdering | null)}
59285930
59295931
59305932/** Initial value of the column from where the streaming should start */
5931- export interface ThreadStreamCursorValueInput { chatbotId ?: ( Scalars [ 'Int' ] | null ) , createdAt ?: ( Scalars [ 'timestamptz' ] | null ) , isPublic ?: ( Scalars [ 'Boolean' ] | null ) , model ?: ( ModelsEnumEnum | null ) , threadId ?: ( Scalars [ 'uuid' ] | null ) , updatedAt ?: ( Scalars [ 'timestamptz' ] | null ) , userId ?: ( Scalars [ 'uuid' ] | null ) }
5933+ export interface ThreadStreamCursorValueInput { chatbotId ?: ( Scalars [ 'Int' ] | null ) , createdAt ?: ( Scalars [ 'timestamptz' ] | null ) , isApproved ?: ( Scalars [ 'Boolean' ] | null ) , isPublic ?: ( Scalars [ 'Boolean' ] | null ) , model ?: ( ModelsEnumEnum | null ) , threadId ?: ( Scalars [ 'uuid' ] | null ) , updatedAt ?: ( Scalars [ 'timestamptz' ] | null ) , userId ?: ( Scalars [ 'uuid' ] | null ) }
59325934
59335935
59345936/** aggregate sum on columns */
@@ -10198,6 +10200,7 @@ export const enumThreadConstraint = {
1019810200export const enumThreadSelectColumn = {
1019910201 chatbotId : 'chatbotId' as const ,
1020010202 createdAt : 'createdAt' as const ,
10203+ isApproved : 'isApproved' as const ,
1020110204 isPublic : 'isPublic' as const ,
1020210205 model : 'model' as const ,
1020310206 threadId : 'threadId' as const ,
@@ -10206,16 +10209,19 @@ export const enumThreadSelectColumn = {
1020610209}
1020710210
1020810211export const enumThreadSelectColumnThreadAggregateBoolExpBoolAndArgumentsColumns = {
10212+ isApproved : 'isApproved' as const ,
1020910213 isPublic : 'isPublic' as const
1021010214}
1021110215
1021210216export const enumThreadSelectColumnThreadAggregateBoolExpBoolOrArgumentsColumns = {
10217+ isApproved : 'isApproved' as const ,
1021310218 isPublic : 'isPublic' as const
1021410219}
1021510220
1021610221export const enumThreadUpdateColumn = {
1021710222 chatbotId : 'chatbotId' as const ,
1021810223 createdAt : 'createdAt' as const ,
10224+ isApproved : 'isApproved' as const ,
1021910225 isPublic : 'isPublic' as const ,
1022010226 model : 'model' as const ,
1022110227 threadId : 'threadId' as const ,
0 commit comments