@@ -77,6 +77,8 @@ export type CreateQuestionInput = {
7777 submissionIDs ?: InputMaybe < Array < Scalars [ 'ID' ] [ 'input' ] > > ;
7878 /** Question title */
7979 title : Scalars [ 'String' ] [ 'input' ] ;
80+ /** Only the users with this scope set can see the question. Empty means visible to everyone. */
81+ visibleScope ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
8082} ;
8183
8284/**
@@ -859,6 +861,8 @@ export type Question = Node & {
859861 title : Scalars [ 'String' ] [ 'output' ] ;
860862 /** List of your submissions for this question, ordered by submitted at descending. */
861863 userSubmissions : Array < Submission > ;
864+ /** Only the users with this scope set can see the question. Empty means visible to everyone. */
865+ visibleScope ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
862866} ;
863867
864868
@@ -1009,6 +1013,22 @@ export type QuestionWhereInput = {
10091013 titleLTE ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
10101014 titleNEQ ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
10111015 titleNotIn ?: InputMaybe < Array < Scalars [ 'String' ] [ 'input' ] > > ;
1016+ /** visible_scope field predicates */
1017+ visibleScope ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1018+ visibleScopeContains ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1019+ visibleScopeContainsFold ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1020+ visibleScopeEqualFold ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1021+ visibleScopeGT ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1022+ visibleScopeGTE ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1023+ visibleScopeHasPrefix ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1024+ visibleScopeHasSuffix ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1025+ visibleScopeIn ?: InputMaybe < Array < Scalars [ 'String' ] [ 'input' ] > > ;
1026+ visibleScopeIsNil ?: InputMaybe < Scalars [ 'Boolean' ] [ 'input' ] > ;
1027+ visibleScopeLT ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1028+ visibleScopeLTE ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1029+ visibleScopeNEQ ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1030+ visibleScopeNotIn ?: InputMaybe < Array < Scalars [ 'String' ] [ 'input' ] > > ;
1031+ visibleScopeNotNil ?: InputMaybe < Scalars [ 'Boolean' ] [ 'input' ] > ;
10121032} ;
10131033
10141034export enum RankingBy {
@@ -1304,6 +1324,7 @@ export type UpdateQuestionInput = {
13041324 /** Question category, e.g. 'query' */
13051325 category ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
13061326 clearSubmissions ?: InputMaybe < Scalars [ 'Boolean' ] [ 'input' ] > ;
1327+ clearVisibleScope ?: InputMaybe < Scalars [ 'Boolean' ] [ 'input' ] > ;
13071328 databaseID ?: InputMaybe < Scalars [ 'ID' ] [ 'input' ] > ;
13081329 /** Question stem */
13091330 description ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
@@ -1314,6 +1335,8 @@ export type UpdateQuestionInput = {
13141335 removeSubmissionIDs ?: InputMaybe < Array < Scalars [ 'ID' ] [ 'input' ] > > ;
13151336 /** Question title */
13161337 title ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1338+ /** Only the users with this scope set can see the question. Empty means visible to everyone. */
1339+ visibleScope ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
13171340} ;
13181341
13191342/**
0 commit comments