@hasura/promptql 2.0.0-alpha.32 → 2.0.0-alpha.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { GraphQLError } from 'graphql';
2
- import { E as EnrichTokenOutput } from '../graphql-DNHSh7_M.mjs';
2
+ import { E as EnrichTokenOutput } from '../graphql-BcfHC50n.mjs';
3
3
 
4
4
  /**
5
5
  * Constructor options for a PromptQL authenticator.
@@ -1,5 +1,5 @@
1
1
  import { GraphQLError } from 'graphql';
2
- import { E as EnrichTokenOutput } from '../graphql-DNHSh7_M.js';
2
+ import { E as EnrichTokenOutput } from '../graphql-BcfHC50n.js';
3
3
 
4
4
  /**
5
5
  * Constructor options for a PromptQL authenticator.
@@ -149,6 +149,26 @@ type Artifact_Versions_Aggregate_Bool_Exp_Count = {
149
149
  filter?: InputMaybe<Artifact_Versions_Bool_Exp>;
150
150
  predicate: Int_Comparison_Exp;
151
151
  };
152
+ /** order by aggregate values of table "artifact_versions" */
153
+ type Artifact_Versions_Aggregate_Order_By = {
154
+ avg?: InputMaybe<Artifact_Versions_Avg_Order_By>;
155
+ count?: InputMaybe<Order_By>;
156
+ max?: InputMaybe<Artifact_Versions_Max_Order_By>;
157
+ min?: InputMaybe<Artifact_Versions_Min_Order_By>;
158
+ stddev?: InputMaybe<Artifact_Versions_Stddev_Order_By>;
159
+ stddev_pop?: InputMaybe<Artifact_Versions_Stddev_Pop_Order_By>;
160
+ stddev_samp?: InputMaybe<Artifact_Versions_Stddev_Samp_Order_By>;
161
+ sum?: InputMaybe<Artifact_Versions_Sum_Order_By>;
162
+ var_pop?: InputMaybe<Artifact_Versions_Var_Pop_Order_By>;
163
+ var_samp?: InputMaybe<Artifact_Versions_Var_Samp_Order_By>;
164
+ variance?: InputMaybe<Artifact_Versions_Variance_Order_By>;
165
+ };
166
+ /** order by avg() on columns of table "artifact_versions" */
167
+ type Artifact_Versions_Avg_Order_By = {
168
+ copy_of_artifact_version?: InputMaybe<Order_By>;
169
+ size?: InputMaybe<Order_By>;
170
+ version?: InputMaybe<Order_By>;
171
+ };
152
172
  /** Boolean expression to filter rows from the table "artifact_versions". All fields are combined with a logical 'AND'. */
153
173
  type Artifact_Versions_Bool_Exp = {
154
174
  _and?: InputMaybe<Array<Artifact_Versions_Bool_Exp>>;
@@ -170,6 +190,52 @@ type Artifact_Versions_Bool_Exp = {
170
190
  user_id?: InputMaybe<Uuid_Comparison_Exp>;
171
191
  version?: InputMaybe<Int_Comparison_Exp>;
172
192
  };
193
+ /** order by max() on columns of table "artifact_versions" */
194
+ type Artifact_Versions_Max_Order_By = {
195
+ artifact_id?: InputMaybe<Order_By>;
196
+ artifact_type?: InputMaybe<Order_By>;
197
+ copy_of_artifact_id?: InputMaybe<Order_By>;
198
+ copy_of_artifact_version?: InputMaybe<Order_By>;
199
+ created_at?: InputMaybe<Order_By>;
200
+ data_location?: InputMaybe<Order_By>;
201
+ description?: InputMaybe<Order_By>;
202
+ size?: InputMaybe<Order_By>;
203
+ title?: InputMaybe<Order_By>;
204
+ user_id?: InputMaybe<Order_By>;
205
+ version?: InputMaybe<Order_By>;
206
+ };
207
+ /** order by min() on columns of table "artifact_versions" */
208
+ type Artifact_Versions_Min_Order_By = {
209
+ artifact_id?: InputMaybe<Order_By>;
210
+ artifact_type?: InputMaybe<Order_By>;
211
+ copy_of_artifact_id?: InputMaybe<Order_By>;
212
+ copy_of_artifact_version?: InputMaybe<Order_By>;
213
+ created_at?: InputMaybe<Order_By>;
214
+ data_location?: InputMaybe<Order_By>;
215
+ description?: InputMaybe<Order_By>;
216
+ size?: InputMaybe<Order_By>;
217
+ title?: InputMaybe<Order_By>;
218
+ user_id?: InputMaybe<Order_By>;
219
+ version?: InputMaybe<Order_By>;
220
+ };
221
+ /** Ordering options when selecting data from "artifact_versions". */
222
+ type Artifact_Versions_Order_By = {
223
+ artifact?: InputMaybe<Artifacts_Order_By>;
224
+ artifact_id?: InputMaybe<Order_By>;
225
+ artifact_metadata?: InputMaybe<Order_By>;
226
+ artifact_type?: InputMaybe<Order_By>;
227
+ copy_of_artifact_id?: InputMaybe<Order_By>;
228
+ copy_of_artifact_version?: InputMaybe<Order_By>;
229
+ copy_of_artifact_version_object?: InputMaybe<Artifact_Versions_Order_By>;
230
+ created_at?: InputMaybe<Order_By>;
231
+ data?: InputMaybe<Order_By>;
232
+ data_location?: InputMaybe<Order_By>;
233
+ description?: InputMaybe<Order_By>;
234
+ size?: InputMaybe<Order_By>;
235
+ title?: InputMaybe<Order_By>;
236
+ user_id?: InputMaybe<Order_By>;
237
+ version?: InputMaybe<Order_By>;
238
+ };
173
239
  /** select columns of table "artifact_versions" */
174
240
  type Artifact_Versions_Select_Column =
175
241
  /** column name */
@@ -198,6 +264,48 @@ type Artifact_Versions_Select_Column =
198
264
  | 'user_id'
199
265
  /** column name */
200
266
  | 'version';
267
+ /** order by stddev() on columns of table "artifact_versions" */
268
+ type Artifact_Versions_Stddev_Order_By = {
269
+ copy_of_artifact_version?: InputMaybe<Order_By>;
270
+ size?: InputMaybe<Order_By>;
271
+ version?: InputMaybe<Order_By>;
272
+ };
273
+ /** order by stddev_pop() on columns of table "artifact_versions" */
274
+ type Artifact_Versions_Stddev_Pop_Order_By = {
275
+ copy_of_artifact_version?: InputMaybe<Order_By>;
276
+ size?: InputMaybe<Order_By>;
277
+ version?: InputMaybe<Order_By>;
278
+ };
279
+ /** order by stddev_samp() on columns of table "artifact_versions" */
280
+ type Artifact_Versions_Stddev_Samp_Order_By = {
281
+ copy_of_artifact_version?: InputMaybe<Order_By>;
282
+ size?: InputMaybe<Order_By>;
283
+ version?: InputMaybe<Order_By>;
284
+ };
285
+ /** order by sum() on columns of table "artifact_versions" */
286
+ type Artifact_Versions_Sum_Order_By = {
287
+ copy_of_artifact_version?: InputMaybe<Order_By>;
288
+ size?: InputMaybe<Order_By>;
289
+ version?: InputMaybe<Order_By>;
290
+ };
291
+ /** order by var_pop() on columns of table "artifact_versions" */
292
+ type Artifact_Versions_Var_Pop_Order_By = {
293
+ copy_of_artifact_version?: InputMaybe<Order_By>;
294
+ size?: InputMaybe<Order_By>;
295
+ version?: InputMaybe<Order_By>;
296
+ };
297
+ /** order by var_samp() on columns of table "artifact_versions" */
298
+ type Artifact_Versions_Var_Samp_Order_By = {
299
+ copy_of_artifact_version?: InputMaybe<Order_By>;
300
+ size?: InputMaybe<Order_By>;
301
+ version?: InputMaybe<Order_By>;
302
+ };
303
+ /** order by variance() on columns of table "artifact_versions" */
304
+ type Artifact_Versions_Variance_Order_By = {
305
+ copy_of_artifact_version?: InputMaybe<Order_By>;
306
+ size?: InputMaybe<Order_By>;
307
+ version?: InputMaybe<Order_By>;
308
+ };
201
309
  /** Boolean expression to filter rows from the table "artifacts". All fields are combined with a logical 'AND'. */
202
310
  type Artifacts_Bool_Exp = {
203
311
  _and?: InputMaybe<Array<Artifacts_Bool_Exp>>;
@@ -215,6 +323,18 @@ type Artifacts_Bool_Exp = {
215
323
  thread_artifacts_aggregate?: InputMaybe<Thread_Artifacts_Aggregate_Bool_Exp>;
216
324
  updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
217
325
  };
326
+ /** Ordering options when selecting data from "artifacts". */
327
+ type Artifacts_Order_By = {
328
+ artifact_id?: InputMaybe<Order_By>;
329
+ artifact_versions_aggregate?: InputMaybe<Artifact_Versions_Aggregate_Order_By>;
330
+ created_at?: InputMaybe<Order_By>;
331
+ latest_version?: InputMaybe<Order_By>;
332
+ latest_version_object?: InputMaybe<Artifact_Versions_Order_By>;
333
+ program_artifact?: InputMaybe<Program_Artifacts_Order_By>;
334
+ project_artifact?: InputMaybe<Project_Artifacts_Order_By>;
335
+ thread_artifacts_aggregate?: InputMaybe<Thread_Artifacts_Aggregate_Order_By>;
336
+ updated_at?: InputMaybe<Order_By>;
337
+ };
218
338
  /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */
219
339
  type Bigint_Comparison_Exp = {
220
340
  _eq?: InputMaybe<Scalars['bigint']['input']>;
@@ -522,6 +642,12 @@ type Program_Artifacts_Aggregate_Bool_Exp_Count = {
522
642
  filter?: InputMaybe<Program_Artifacts_Bool_Exp>;
523
643
  predicate: Int_Comparison_Exp;
524
644
  };
645
+ /** order by aggregate values of table "program_artifacts" */
646
+ type Program_Artifacts_Aggregate_Order_By = {
647
+ count?: InputMaybe<Order_By>;
648
+ max?: InputMaybe<Program_Artifacts_Max_Order_By>;
649
+ min?: InputMaybe<Program_Artifacts_Min_Order_By>;
650
+ };
525
651
  /** Boolean expression to filter rows from the table "program_artifacts". All fields are combined with a logical 'AND'. */
526
652
  type Program_Artifacts_Bool_Exp = {
527
653
  _and?: InputMaybe<Array<Program_Artifacts_Bool_Exp>>;
@@ -536,6 +662,33 @@ type Program_Artifacts_Bool_Exp = {
536
662
  program_id?: InputMaybe<Uuid_Comparison_Exp>;
537
663
  updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
538
664
  };
665
+ /** order by max() on columns of table "program_artifacts" */
666
+ type Program_Artifacts_Max_Order_By = {
667
+ artifact_id?: InputMaybe<Order_By>;
668
+ created_at?: InputMaybe<Order_By>;
669
+ name?: InputMaybe<Order_By>;
670
+ program_id?: InputMaybe<Order_By>;
671
+ updated_at?: InputMaybe<Order_By>;
672
+ };
673
+ /** order by min() on columns of table "program_artifacts" */
674
+ type Program_Artifacts_Min_Order_By = {
675
+ artifact_id?: InputMaybe<Order_By>;
676
+ created_at?: InputMaybe<Order_By>;
677
+ name?: InputMaybe<Order_By>;
678
+ program_id?: InputMaybe<Order_By>;
679
+ updated_at?: InputMaybe<Order_By>;
680
+ };
681
+ /** Ordering options when selecting data from "program_artifacts". */
682
+ type Program_Artifacts_Order_By = {
683
+ artifact?: InputMaybe<Artifacts_Order_By>;
684
+ artifact_id?: InputMaybe<Order_By>;
685
+ created_at?: InputMaybe<Order_By>;
686
+ kind?: InputMaybe<Order_By>;
687
+ name?: InputMaybe<Order_By>;
688
+ program?: InputMaybe<Programs_Order_By>;
689
+ program_id?: InputMaybe<Order_By>;
690
+ updated_at?: InputMaybe<Order_By>;
691
+ };
539
692
  /** select columns of table "program_artifacts" */
540
693
  type Program_Artifacts_Select_Column =
541
694
  /** column name */
@@ -576,6 +729,24 @@ type Program_Run_Events_Bool_Exp = {
576
729
  step_index?: InputMaybe<Int_Comparison_Exp>;
577
730
  type?: InputMaybe<String_Comparison_Exp>;
578
731
  };
732
+ /** order by aggregate values of table "program_runs" */
733
+ type Program_Runs_Aggregate_Order_By = {
734
+ avg?: InputMaybe<Program_Runs_Avg_Order_By>;
735
+ count?: InputMaybe<Order_By>;
736
+ max?: InputMaybe<Program_Runs_Max_Order_By>;
737
+ min?: InputMaybe<Program_Runs_Min_Order_By>;
738
+ stddev?: InputMaybe<Program_Runs_Stddev_Order_By>;
739
+ stddev_pop?: InputMaybe<Program_Runs_Stddev_Pop_Order_By>;
740
+ stddev_samp?: InputMaybe<Program_Runs_Stddev_Samp_Order_By>;
741
+ sum?: InputMaybe<Program_Runs_Sum_Order_By>;
742
+ var_pop?: InputMaybe<Program_Runs_Var_Pop_Order_By>;
743
+ var_samp?: InputMaybe<Program_Runs_Var_Samp_Order_By>;
744
+ variance?: InputMaybe<Program_Runs_Variance_Order_By>;
745
+ };
746
+ /** order by avg() on columns of table "program_runs" */
747
+ type Program_Runs_Avg_Order_By = {
748
+ run_id?: InputMaybe<Order_By>;
749
+ };
579
750
  /** Boolean expression to filter rows from the table "program_runs". All fields are combined with a logical 'AND'. */
580
751
  type Program_Runs_Bool_Exp = {
581
752
  _and?: InputMaybe<Array<Program_Runs_Bool_Exp>>;
@@ -593,6 +764,52 @@ type Program_Runs_Bool_Exp = {
593
764
  run_id?: InputMaybe<Bigint_Comparison_Exp>;
594
765
  successful?: InputMaybe<Boolean_Comparison_Exp>;
595
766
  };
767
+ /** order by max() on columns of table "program_runs" */
768
+ type Program_Runs_Max_Order_By = {
769
+ build_fqdn?: InputMaybe<Order_By>;
770
+ completed_at?: InputMaybe<Order_By>;
771
+ created_at?: InputMaybe<Order_By>;
772
+ entry_point_artifact?: InputMaybe<Order_By>;
773
+ program_id?: InputMaybe<Order_By>;
774
+ run_id?: InputMaybe<Order_By>;
775
+ };
776
+ /** order by min() on columns of table "program_runs" */
777
+ type Program_Runs_Min_Order_By = {
778
+ build_fqdn?: InputMaybe<Order_By>;
779
+ completed_at?: InputMaybe<Order_By>;
780
+ created_at?: InputMaybe<Order_By>;
781
+ entry_point_artifact?: InputMaybe<Order_By>;
782
+ program_id?: InputMaybe<Order_By>;
783
+ run_id?: InputMaybe<Order_By>;
784
+ };
785
+ /** order by stddev() on columns of table "program_runs" */
786
+ type Program_Runs_Stddev_Order_By = {
787
+ run_id?: InputMaybe<Order_By>;
788
+ };
789
+ /** order by stddev_pop() on columns of table "program_runs" */
790
+ type Program_Runs_Stddev_Pop_Order_By = {
791
+ run_id?: InputMaybe<Order_By>;
792
+ };
793
+ /** order by stddev_samp() on columns of table "program_runs" */
794
+ type Program_Runs_Stddev_Samp_Order_By = {
795
+ run_id?: InputMaybe<Order_By>;
796
+ };
797
+ /** order by sum() on columns of table "program_runs" */
798
+ type Program_Runs_Sum_Order_By = {
799
+ run_id?: InputMaybe<Order_By>;
800
+ };
801
+ /** order by var_pop() on columns of table "program_runs" */
802
+ type Program_Runs_Var_Pop_Order_By = {
803
+ run_id?: InputMaybe<Order_By>;
804
+ };
805
+ /** order by var_samp() on columns of table "program_runs" */
806
+ type Program_Runs_Var_Samp_Order_By = {
807
+ run_id?: InputMaybe<Order_By>;
808
+ };
809
+ /** order by variance() on columns of table "program_runs" */
810
+ type Program_Runs_Variance_Order_By = {
811
+ run_id?: InputMaybe<Order_By>;
812
+ };
596
813
  type Program_Visibility_Enum_Enum =
597
814
  /** Owner can read and write, no one else has access */
598
815
  'OwnerReadWrite'
@@ -628,6 +845,22 @@ type Programs_Bool_Exp = {
628
845
  updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
629
846
  visibility?: InputMaybe<Program_Visibility_Enum_Enum_Comparison_Exp>;
630
847
  };
848
+ /** Ordering options when selecting data from "programs". */
849
+ type Programs_Order_By = {
850
+ copied_from_program?: InputMaybe<Programs_Order_By>;
851
+ copied_from_program_id?: InputMaybe<Order_By>;
852
+ created_at?: InputMaybe<Order_By>;
853
+ id?: InputMaybe<Order_By>;
854
+ name?: InputMaybe<Order_By>;
855
+ owner_user?: InputMaybe<Promptql_Users_Order_By>;
856
+ owner_user_id?: InputMaybe<Order_By>;
857
+ package_name?: InputMaybe<Order_By>;
858
+ program_artifacts_aggregate?: InputMaybe<Program_Artifacts_Aggregate_Order_By>;
859
+ program_runs_aggregate?: InputMaybe<Program_Runs_Aggregate_Order_By>;
860
+ project_id?: InputMaybe<Order_By>;
861
+ updated_at?: InputMaybe<Order_By>;
862
+ visibility?: InputMaybe<Order_By>;
863
+ };
631
864
  /** Boolean expression to filter rows from the table "project_artifacts". All fields are combined with a logical 'AND'. */
632
865
  type Project_Artifacts_Bool_Exp = {
633
866
  _and?: InputMaybe<Array<Project_Artifacts_Bool_Exp>>;
@@ -642,6 +875,17 @@ type Project_Artifacts_Bool_Exp = {
642
875
  user_id?: InputMaybe<Uuid_Comparison_Exp>;
643
876
  visibility?: InputMaybe<String_Comparison_Exp>;
644
877
  };
878
+ /** Ordering options when selecting data from "project_artifacts". */
879
+ type Project_Artifacts_Order_By = {
880
+ artifact?: InputMaybe<Artifacts_Order_By>;
881
+ artifact_id?: InputMaybe<Order_By>;
882
+ created_at?: InputMaybe<Order_By>;
883
+ name?: InputMaybe<Order_By>;
884
+ project_id?: InputMaybe<Order_By>;
885
+ updated_at?: InputMaybe<Order_By>;
886
+ user_id?: InputMaybe<Order_By>;
887
+ visibility?: InputMaybe<Order_By>;
888
+ };
645
889
  /** Boolean expression to filter rows from the table "project_configuration". All fields are combined with a logical 'AND'. */
646
890
  type Project_Configuration_Bool_Exp = {
647
891
  _and?: InputMaybe<Array<Project_Configuration_Bool_Exp>>;
@@ -705,6 +949,7 @@ type Promptql_Users_Bool_Exp = {
705
949
  email?: InputMaybe<Citext_Comparison_Exp>;
706
950
  is_active?: InputMaybe<Boolean_Comparison_Exp>;
707
951
  is_app_admin?: InputMaybe<Boolean_Comparison_Exp>;
952
+ is_bot?: InputMaybe<Boolean_Comparison_Exp>;
708
953
  project_id?: InputMaybe<Uuid_Comparison_Exp>;
709
954
  promptql_user_id?: InputMaybe<Uuid_Comparison_Exp>;
710
955
  slack_info?: InputMaybe<Slack_Info_Bool_Exp>;
@@ -749,6 +994,7 @@ type Promptql_Users_Order_By = {
749
994
  email?: InputMaybe<Order_By>;
750
995
  is_active?: InputMaybe<Order_By>;
751
996
  is_app_admin?: InputMaybe<Order_By>;
997
+ is_bot?: InputMaybe<Order_By>;
752
998
  project_id?: InputMaybe<Order_By>;
753
999
  promptql_user_id?: InputMaybe<Order_By>;
754
1000
  slack_info?: InputMaybe<Slack_Info_Order_By>;
@@ -828,11 +1074,101 @@ type Public_Room_Active_Users_Min_Order_By = {
828
1074
  room_id?: InputMaybe<Order_By>;
829
1075
  updated_at?: InputMaybe<Order_By>;
830
1076
  };
1077
+ /** order by aggregate values of table "room_active_member" */
1078
+ type Room_Active_Member_Aggregate_Order_By = {
1079
+ count?: InputMaybe<Order_By>;
1080
+ max?: InputMaybe<Room_Active_Member_Max_Order_By>;
1081
+ min?: InputMaybe<Room_Active_Member_Min_Order_By>;
1082
+ };
1083
+ /** Boolean expression to filter rows from the table "room_active_member". All fields are combined with a logical 'AND'. */
1084
+ type Room_Active_Member_Bool_Exp = {
1085
+ _and?: InputMaybe<Array<Room_Active_Member_Bool_Exp>>;
1086
+ _not?: InputMaybe<Room_Active_Member_Bool_Exp>;
1087
+ _or?: InputMaybe<Array<Room_Active_Member_Bool_Exp>>;
1088
+ display_name?: InputMaybe<String_Comparison_Exp>;
1089
+ email?: InputMaybe<String_Comparison_Exp>;
1090
+ is_owner?: InputMaybe<Boolean_Comparison_Exp>;
1091
+ joined_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1092
+ promptql_user_id?: InputMaybe<Uuid_Comparison_Exp>;
1093
+ user?: InputMaybe<Promptql_Users_Bool_Exp>;
1094
+ };
1095
+ /** order by max() on columns of table "room_active_member" */
1096
+ type Room_Active_Member_Max_Order_By = {
1097
+ display_name?: InputMaybe<Order_By>;
1098
+ email?: InputMaybe<Order_By>;
1099
+ joined_at?: InputMaybe<Order_By>;
1100
+ promptql_user_id?: InputMaybe<Order_By>;
1101
+ };
1102
+ /** order by min() on columns of table "room_active_member" */
1103
+ type Room_Active_Member_Min_Order_By = {
1104
+ display_name?: InputMaybe<Order_By>;
1105
+ email?: InputMaybe<Order_By>;
1106
+ joined_at?: InputMaybe<Order_By>;
1107
+ promptql_user_id?: InputMaybe<Order_By>;
1108
+ };
1109
+ /** Boolean expression to filter rows from the table "room_pinned_artifact". All fields are combined with a logical 'AND'. */
1110
+ type Room_Pinned_Artifact_Bool_Exp = {
1111
+ _and?: InputMaybe<Array<Room_Pinned_Artifact_Bool_Exp>>;
1112
+ _not?: InputMaybe<Room_Pinned_Artifact_Bool_Exp>;
1113
+ _or?: InputMaybe<Array<Room_Pinned_Artifact_Bool_Exp>>;
1114
+ artifact?: InputMaybe<Artifacts_Bool_Exp>;
1115
+ artifact_id?: InputMaybe<Uuid_Comparison_Exp>;
1116
+ display_states?: InputMaybe<Room_Pinned_Artifact_Display_State_Bool_Exp>;
1117
+ pinned_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1118
+ pinned_by?: InputMaybe<Uuid_Comparison_Exp>;
1119
+ pinned_by_user?: InputMaybe<Promptql_Users_Bool_Exp>;
1120
+ room?: InputMaybe<Rooms_Bool_Exp>;
1121
+ room_id?: InputMaybe<Uuid_Comparison_Exp>;
1122
+ };
1123
+ /** order by aggregate values of table "room_pinned_artifact_display_state" */
1124
+ type Room_Pinned_Artifact_Display_State_Aggregate_Order_By = {
1125
+ count?: InputMaybe<Order_By>;
1126
+ max?: InputMaybe<Room_Pinned_Artifact_Display_State_Max_Order_By>;
1127
+ min?: InputMaybe<Room_Pinned_Artifact_Display_State_Min_Order_By>;
1128
+ };
1129
+ /** Boolean expression to filter rows from the table "room_pinned_artifact_display_state". All fields are combined with a logical 'AND'. */
1130
+ type Room_Pinned_Artifact_Display_State_Bool_Exp = {
1131
+ _and?: InputMaybe<Array<Room_Pinned_Artifact_Display_State_Bool_Exp>>;
1132
+ _not?: InputMaybe<Room_Pinned_Artifact_Display_State_Bool_Exp>;
1133
+ _or?: InputMaybe<Array<Room_Pinned_Artifact_Display_State_Bool_Exp>>;
1134
+ display_state?: InputMaybe<String_Comparison_Exp>;
1135
+ promptql_user?: InputMaybe<Promptql_Users_Bool_Exp>;
1136
+ promptql_user_id?: InputMaybe<Uuid_Comparison_Exp>;
1137
+ room_id?: InputMaybe<Uuid_Comparison_Exp>;
1138
+ room_pinned_artifact?: InputMaybe<Room_Pinned_Artifact_Bool_Exp>;
1139
+ updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
1140
+ };
1141
+ /** order by max() on columns of table "room_pinned_artifact_display_state" */
1142
+ type Room_Pinned_Artifact_Display_State_Max_Order_By = {
1143
+ display_state?: InputMaybe<Order_By>;
1144
+ promptql_user_id?: InputMaybe<Order_By>;
1145
+ room_id?: InputMaybe<Order_By>;
1146
+ updated_at?: InputMaybe<Order_By>;
1147
+ };
1148
+ /** order by min() on columns of table "room_pinned_artifact_display_state" */
1149
+ type Room_Pinned_Artifact_Display_State_Min_Order_By = {
1150
+ display_state?: InputMaybe<Order_By>;
1151
+ promptql_user_id?: InputMaybe<Order_By>;
1152
+ room_id?: InputMaybe<Order_By>;
1153
+ updated_at?: InputMaybe<Order_By>;
1154
+ };
1155
+ /** Ordering options when selecting data from "room_pinned_artifact". */
1156
+ type Room_Pinned_Artifact_Order_By = {
1157
+ artifact?: InputMaybe<Artifacts_Order_By>;
1158
+ artifact_id?: InputMaybe<Order_By>;
1159
+ display_states_aggregate?: InputMaybe<Room_Pinned_Artifact_Display_State_Aggregate_Order_By>;
1160
+ pinned_at?: InputMaybe<Order_By>;
1161
+ pinned_by?: InputMaybe<Order_By>;
1162
+ pinned_by_user?: InputMaybe<Promptql_Users_Order_By>;
1163
+ room?: InputMaybe<Rooms_Order_By>;
1164
+ room_id?: InputMaybe<Order_By>;
1165
+ };
831
1166
  /** Boolean expression to filter rows from the table "rooms". All fields are combined with a logical 'AND'. */
832
1167
  type Rooms_Bool_Exp = {
833
1168
  _and?: InputMaybe<Array<Rooms_Bool_Exp>>;
834
1169
  _not?: InputMaybe<Rooms_Bool_Exp>;
835
1170
  _or?: InputMaybe<Array<Rooms_Bool_Exp>>;
1171
+ active_members?: InputMaybe<Room_Active_Member_Bool_Exp>;
836
1172
  created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
837
1173
  deleted_at?: InputMaybe<Timestamptz_Comparison_Exp>;
838
1174
  description?: InputMaybe<String_Comparison_Exp>;
@@ -844,6 +1180,7 @@ type Rooms_Bool_Exp = {
844
1180
  project_id?: InputMaybe<Uuid_Comparison_Exp>;
845
1181
  public_room_active_users?: InputMaybe<Public_Room_Active_Users_Bool_Exp>;
846
1182
  room_id?: InputMaybe<Uuid_Comparison_Exp>;
1183
+ room_pinned_artifact?: InputMaybe<Room_Pinned_Artifact_Bool_Exp>;
847
1184
  rooms_participants?: InputMaybe<Rooms_Participants_Bool_Exp>;
848
1185
  threads?: InputMaybe<Threads_V2_Bool_Exp>;
849
1186
  threads_aggregate?: InputMaybe<Threads_V2_Aggregate_Bool_Exp>;
@@ -854,6 +1191,7 @@ type Rooms_Bool_Exp = {
854
1191
  };
855
1192
  /** Ordering options when selecting data from "rooms". */
856
1193
  type Rooms_Order_By = {
1194
+ active_members_aggregate?: InputMaybe<Room_Active_Member_Aggregate_Order_By>;
857
1195
  created_at?: InputMaybe<Order_By>;
858
1196
  deleted_at?: InputMaybe<Order_By>;
859
1197
  description?: InputMaybe<Order_By>;
@@ -865,6 +1203,7 @@ type Rooms_Order_By = {
865
1203
  project_id?: InputMaybe<Order_By>;
866
1204
  public_room_active_users_aggregate?: InputMaybe<Public_Room_Active_Users_Aggregate_Order_By>;
867
1205
  room_id?: InputMaybe<Order_By>;
1206
+ room_pinned_artifact?: InputMaybe<Room_Pinned_Artifact_Order_By>;
868
1207
  rooms_participants_aggregate?: InputMaybe<Rooms_Participants_Aggregate_Order_By>;
869
1208
  threads_aggregate?: InputMaybe<Threads_V2_Aggregate_Order_By>;
870
1209
  updated_at?: InputMaybe<Order_By>;
@@ -2434,5 +2773,37 @@ type GetThreadsQueryVariables = Exact<{
2434
2773
  offset?: InputMaybe<Scalars['Int']['input']>;
2435
2774
  order_by?: InputMaybe<Array<Threads_V2_Order_By> | Threads_V2_Order_By>;
2436
2775
  }>;
2776
+ type SearchWikiPagesQueryVariables = Exact<{
2777
+ query: Scalars['String']['input'];
2778
+ offset?: InputMaybe<Scalars['Int']['input']>;
2779
+ limit?: InputMaybe<Scalars['Int']['input']>;
2780
+ }>;
2781
+ type SearchWikiPagesQuery = {
2782
+ __typename?: 'query_root';
2783
+ admin_wiki_search: {
2784
+ __typename?: 'AdminWikiSearchOutput';
2785
+ totalCount: number;
2786
+ results: Array<{
2787
+ __typename?: 'AdminWikiSearchResultItem';
2788
+ score: number;
2789
+ page: {
2790
+ __typename?: 'AdminWikiSearchPage';
2791
+ aliases: Array<string>;
2792
+ definition?: string | null;
2793
+ id: string;
2794
+ namespace?: string | null;
2795
+ stub?: boolean | null;
2796
+ title: string;
2797
+ };
2798
+ metadata: {
2799
+ __typename?: 'AdminWikiSearchMetadata';
2800
+ id?: string | null;
2801
+ createdAt?: string | null;
2802
+ ownerId?: string | null;
2803
+ lastUpdatedAt?: string | null;
2804
+ };
2805
+ }>;
2806
+ };
2807
+ };
2437
2808
 
2438
- export type { Bigint_Comparison_Exp as B, CreateRoomMutationVariables as C, EnrichTokenOutput as E, GetRoomsQueryVariables as G, Order_By as O, RoomFragment as R, StartThreadMutation as S, ThreadEventFragment as T, SendThreadMessageMutation as a, CancelAgentMessageMutationVariables as b, ThreadFragment as c, GetThreadsQueryVariables as d, SendThreadMessageMutationVariables as e, StartThreadMutationVariables as f };
2809
+ export type { Bigint_Comparison_Exp as B, CreateRoomMutationVariables as C, EnrichTokenOutput as E, GetRoomsQueryVariables as G, Order_By as O, RoomFragment as R, StartThreadMutation as S, ThreadEventFragment as T, SendThreadMessageMutation as a, CancelAgentMessageMutationVariables as b, ThreadFragment as c, GetThreadsQueryVariables as d, SendThreadMessageMutationVariables as e, StartThreadMutationVariables as f, SearchWikiPagesQuery as g, SearchWikiPagesQueryVariables as h };