@legendsoflearning/lol-sdk-core 0.1.0
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.
- package/dist/auth/index.d.mts +1 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.js +12 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/index.mjs +3 -0
- package/dist/auth/index.mjs.map +1 -0
- package/dist/cache/index.d.mts +26 -0
- package/dist/cache/index.d.ts +26 -0
- package/dist/cache/index.js +63 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/cache/index.mjs +60 -0
- package/dist/cache/index.mjs.map +1 -0
- package/dist/chunk-Q4UXELOU.mjs +284 -0
- package/dist/chunk-Q4UXELOU.mjs.map +1 -0
- package/dist/chunk-WWN77BBN.js +286 -0
- package/dist/chunk-WWN77BBN.js.map +1 -0
- package/dist/generated/admins/index.d.mts +2566 -0
- package/dist/generated/admins/index.d.ts +2566 -0
- package/dist/generated/admins/index.js +110 -0
- package/dist/generated/admins/index.js.map +1 -0
- package/dist/generated/admins/index.mjs +97 -0
- package/dist/generated/admins/index.mjs.map +1 -0
- package/dist/generated/developers/index.d.mts +330 -0
- package/dist/generated/developers/index.d.ts +330 -0
- package/dist/generated/developers/index.js +30 -0
- package/dist/generated/developers/index.js.map +1 -0
- package/dist/generated/developers/index.mjs +25 -0
- package/dist/generated/developers/index.mjs.map +1 -0
- package/dist/generated/parents/index.d.mts +1097 -0
- package/dist/generated/parents/index.d.ts +1097 -0
- package/dist/generated/parents/index.js +112 -0
- package/dist/generated/parents/index.js.map +1 -0
- package/dist/generated/parents/index.mjs +99 -0
- package/dist/generated/parents/index.mjs.map +1 -0
- package/dist/generated/play/index.d.mts +1060 -0
- package/dist/generated/play/index.d.ts +1060 -0
- package/dist/generated/play/index.js +109 -0
- package/dist/generated/play/index.js.map +1 -0
- package/dist/generated/play/index.mjs +96 -0
- package/dist/generated/play/index.mjs.map +1 -0
- package/dist/generated/public/index.d.mts +791 -0
- package/dist/generated/public/index.d.ts +791 -0
- package/dist/generated/public/index.js +39 -0
- package/dist/generated/public/index.js.map +1 -0
- package/dist/generated/public/index.mjs +33 -0
- package/dist/generated/public/index.mjs.map +1 -0
- package/dist/generated/teachers/index.d.mts +6205 -0
- package/dist/generated/teachers/index.d.ts +6205 -0
- package/dist/generated/teachers/index.js +353 -0
- package/dist/generated/teachers/index.js.map +1 -0
- package/dist/generated/teachers/index.mjs +282 -0
- package/dist/generated/teachers/index.mjs.map +1 -0
- package/dist/index-vM3xPKfV.d.mts +173 -0
- package/dist/index-vM3xPKfV.d.ts +173 -0
- package/dist/index.d.mts +154 -0
- package/dist/index.d.ts +154 -0
- package/dist/index.js +352 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +336 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +111 -0
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { DocumentTypeDecoration, ResultOf, TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
+
|
|
3
|
+
type Maybe<T> = T | null;
|
|
4
|
+
type InputMaybe<T> = Maybe<T>;
|
|
5
|
+
type Exact<T extends {
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}> = {
|
|
8
|
+
[K in keyof T]: T[K];
|
|
9
|
+
};
|
|
10
|
+
type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
11
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
12
|
+
};
|
|
13
|
+
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
14
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
15
|
+
};
|
|
16
|
+
type MakeEmpty<T extends {
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}, K extends keyof T> = {
|
|
19
|
+
[_ in K]?: never;
|
|
20
|
+
};
|
|
21
|
+
type Incremental<T> = T | {
|
|
22
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
23
|
+
};
|
|
24
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
25
|
+
type Scalars = {
|
|
26
|
+
ID: {
|
|
27
|
+
input: string;
|
|
28
|
+
output: string;
|
|
29
|
+
};
|
|
30
|
+
String: {
|
|
31
|
+
input: string;
|
|
32
|
+
output: string;
|
|
33
|
+
};
|
|
34
|
+
Boolean: {
|
|
35
|
+
input: boolean;
|
|
36
|
+
output: boolean;
|
|
37
|
+
};
|
|
38
|
+
Int: {
|
|
39
|
+
input: number;
|
|
40
|
+
output: number;
|
|
41
|
+
};
|
|
42
|
+
Float: {
|
|
43
|
+
input: number;
|
|
44
|
+
output: number;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* The `DateTime` scalar type represents a date and time in the UTC
|
|
48
|
+
* timezone. The DateTime appears in a JSON response as an ISO8601 formatted
|
|
49
|
+
* string, including UTC timezone ("Z"). The parsed date and time string will
|
|
50
|
+
* be converted to UTC if there is an offset.
|
|
51
|
+
*/
|
|
52
|
+
DateTime: {
|
|
53
|
+
input: any;
|
|
54
|
+
output: any;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
type Audience = {
|
|
58
|
+
__typename?: 'Audience';
|
|
59
|
+
g1?: Maybe<Scalars['Boolean']['output']>;
|
|
60
|
+
g2?: Maybe<Scalars['Boolean']['output']>;
|
|
61
|
+
g3?: Maybe<Scalars['Boolean']['output']>;
|
|
62
|
+
g4?: Maybe<Scalars['Boolean']['output']>;
|
|
63
|
+
g5?: Maybe<Scalars['Boolean']['output']>;
|
|
64
|
+
g6?: Maybe<Scalars['Boolean']['output']>;
|
|
65
|
+
g7?: Maybe<Scalars['Boolean']['output']>;
|
|
66
|
+
g8?: Maybe<Scalars['Boolean']['output']>;
|
|
67
|
+
g9?: Maybe<Scalars['Boolean']['output']>;
|
|
68
|
+
g10?: Maybe<Scalars['Boolean']['output']>;
|
|
69
|
+
g11?: Maybe<Scalars['Boolean']['output']>;
|
|
70
|
+
g12?: Maybe<Scalars['Boolean']['output']>;
|
|
71
|
+
k?: Maybe<Scalars['Boolean']['output']>;
|
|
72
|
+
};
|
|
73
|
+
type Concept = {
|
|
74
|
+
__typename?: 'Concept';
|
|
75
|
+
concept?: Maybe<Scalars['String']['output']>;
|
|
76
|
+
conceptId?: Maybe<Scalars['Int']['output']>;
|
|
77
|
+
conceptIdent?: Maybe<Scalars['String']['output']>;
|
|
78
|
+
conceptTagId?: Maybe<Scalars['ID']['output']>;
|
|
79
|
+
gameId?: Maybe<Scalars['ID']['output']>;
|
|
80
|
+
gameVersionId?: Maybe<Scalars['ID']['output']>;
|
|
81
|
+
learningObjectiveId?: Maybe<Scalars['ID']['output']>;
|
|
82
|
+
};
|
|
83
|
+
type Game = {
|
|
84
|
+
__typename?: 'Game';
|
|
85
|
+
audience?: Maybe<Audience>;
|
|
86
|
+
banner?: Maybe<Scalars['String']['output']>;
|
|
87
|
+
clonedFromGameId?: Maybe<Scalars['Int']['output']>;
|
|
88
|
+
contentType?: Maybe<Scalars['String']['output']>;
|
|
89
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
90
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
91
|
+
developerDescription?: Maybe<Scalars['String']['output']>;
|
|
92
|
+
developerInstructions?: Maybe<Scalars['String']['output']>;
|
|
93
|
+
discussionQuestionsAfter?: Maybe<Scalars['String']['output']>;
|
|
94
|
+
discussionQuestionsBefore?: Maybe<Scalars['String']['output']>;
|
|
95
|
+
editorPickAt?: Maybe<Scalars['DateTime']['output']>;
|
|
96
|
+
estimatedDuration?: Maybe<Scalars['Int']['output']>;
|
|
97
|
+
game?: Maybe<Scalars['String']['output']>;
|
|
98
|
+
gameDeveloperId?: Maybe<Scalars['Int']['output']>;
|
|
99
|
+
gameSlot?: Maybe<GameSlot>;
|
|
100
|
+
gameSlotId?: Maybe<Scalars['ID']['output']>;
|
|
101
|
+
gameStat?: Maybe<GameStat>;
|
|
102
|
+
gameStudio?: Maybe<GameDeveloper>;
|
|
103
|
+
gameVersions?: Maybe<Array<Maybe<GameVersion>>>;
|
|
104
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
105
|
+
image?: Maybe<Scalars['String']['output']>;
|
|
106
|
+
instructions?: Maybe<Scalars['String']['output']>;
|
|
107
|
+
isAvailable?: Maybe<Scalars['Boolean']['output']>;
|
|
108
|
+
learningObjective?: Maybe<LearningObjective>;
|
|
109
|
+
learningObjectiveId?: Maybe<Scalars['ID']['output']>;
|
|
110
|
+
paidOut?: Maybe<Scalars['Boolean']['output']>;
|
|
111
|
+
pdfUrl?: Maybe<Scalars['String']['output']>;
|
|
112
|
+
questionGame?: Maybe<Scalars['Boolean']['output']>;
|
|
113
|
+
savesProgress?: Maybe<Scalars['Boolean']['output']>;
|
|
114
|
+
shortName?: Maybe<Scalars['String']['output']>;
|
|
115
|
+
sponsorshipImageUrl?: Maybe<Scalars['String']['output']>;
|
|
116
|
+
sponsorshipLinkUrl?: Maybe<Scalars['String']['output']>;
|
|
117
|
+
supportsIpad?: Maybe<Scalars['Boolean']['output']>;
|
|
118
|
+
supportsTts?: Maybe<Scalars['Boolean']['output']>;
|
|
119
|
+
teacherFacingPdfUrl?: Maybe<Scalars['String']['output']>;
|
|
120
|
+
type?: Maybe<Scalars['String']['output']>;
|
|
121
|
+
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
122
|
+
version?: Maybe<GameVersion>;
|
|
123
|
+
video?: Maybe<Scalars['String']['output']>;
|
|
124
|
+
videoPreviewUrl?: Maybe<Scalars['String']['output']>;
|
|
125
|
+
vocabulary?: Maybe<Scalars['String']['output']>;
|
|
126
|
+
};
|
|
127
|
+
type GameDeveloper = {
|
|
128
|
+
__typename?: 'GameDeveloper';
|
|
129
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
130
|
+
familyName?: Maybe<Scalars['String']['output']>;
|
|
131
|
+
gameSlots?: Maybe<Array<Maybe<GameSlot>>>;
|
|
132
|
+
gameStudio?: Maybe<Scalars['String']['output']>;
|
|
133
|
+
games?: Maybe<Array<Maybe<Game>>>;
|
|
134
|
+
givenName?: Maybe<Scalars['String']['output']>;
|
|
135
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
136
|
+
};
|
|
137
|
+
type GamePaymentProgram = {
|
|
138
|
+
__typename?: 'GamePaymentProgram';
|
|
139
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
140
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
141
|
+
};
|
|
142
|
+
type GameSlot = {
|
|
143
|
+
__typename?: 'GameSlot';
|
|
144
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
145
|
+
game?: Maybe<Game>;
|
|
146
|
+
gameDeveloper?: Maybe<GameDeveloper>;
|
|
147
|
+
gameDeveloperId?: Maybe<Scalars['ID']['output']>;
|
|
148
|
+
gamePaymentProgram?: Maybe<GamePaymentProgram>;
|
|
149
|
+
gamePaymentProgramId?: Maybe<Scalars['ID']['output']>;
|
|
150
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
151
|
+
learningObjective?: Maybe<LearningObjective>;
|
|
152
|
+
learningObjectiveId?: Maybe<Scalars['ID']['output']>;
|
|
153
|
+
};
|
|
154
|
+
type GameStat = {
|
|
155
|
+
__typename?: 'GameStat';
|
|
156
|
+
compositeRatingScore?: Maybe<Scalars['Float']['output']>;
|
|
157
|
+
contentIntegrationAvg?: Maybe<Scalars['Float']['output']>;
|
|
158
|
+
easeOfPlayAvg?: Maybe<Scalars['Float']['output']>;
|
|
159
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
160
|
+
studentRatingAvg?: Maybe<Scalars['Float']['output']>;
|
|
161
|
+
studentRatingCount?: Maybe<Scalars['Float']['output']>;
|
|
162
|
+
studentRatingScoreSummary?: Maybe<Scalars['String']['output']>;
|
|
163
|
+
suggestedUseSummary?: Maybe<Scalars['String']['output']>;
|
|
164
|
+
teacherRatingAvg?: Maybe<Scalars['Float']['output']>;
|
|
165
|
+
teacherRatingCount?: Maybe<Scalars['Float']['output']>;
|
|
166
|
+
teacherRatingScoreSummary?: Maybe<Scalars['String']['output']>;
|
|
167
|
+
};
|
|
168
|
+
type GameVersion = {
|
|
169
|
+
__typename?: 'GameVersion';
|
|
170
|
+
acceptedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
171
|
+
apiVersion?: Maybe<Scalars['String']['output']>;
|
|
172
|
+
buildFile?: Maybe<Scalars['String']['output']>;
|
|
173
|
+
concepts?: Maybe<Array<Maybe<Concept>>>;
|
|
174
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
175
|
+
gameId?: Maybe<Scalars['ID']['output']>;
|
|
176
|
+
gameType?: Maybe<Scalars['String']['output']>;
|
|
177
|
+
gameVersionState?: Maybe<Scalars['String']['output']>;
|
|
178
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
179
|
+
languageKey?: Maybe<Scalars['String']['output']>;
|
|
180
|
+
releaseNotes?: Maybe<Scalars['String']['output']>;
|
|
181
|
+
unityVersion?: Maybe<Scalars['String']['output']>;
|
|
182
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
183
|
+
};
|
|
184
|
+
type LearningObjective = {
|
|
185
|
+
__typename?: 'LearningObjective';
|
|
186
|
+
concepts?: Maybe<Array<Maybe<Concept>>>;
|
|
187
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
188
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
189
|
+
imageKey?: Maybe<Scalars['String']['output']>;
|
|
190
|
+
imageUrl?: Maybe<Scalars['String']['output']>;
|
|
191
|
+
learningObjective?: Maybe<Scalars['String']['output']>;
|
|
192
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
193
|
+
ngssDciName?: Maybe<Scalars['String']['output']>;
|
|
194
|
+
standardCode?: Maybe<Scalars['String']['output']>;
|
|
195
|
+
};
|
|
196
|
+
type RootMutationType = {
|
|
197
|
+
__typename?: 'RootMutationType';
|
|
198
|
+
/** Create concept tag */
|
|
199
|
+
createConceptTag?: Maybe<Concept>;
|
|
200
|
+
/** Create game */
|
|
201
|
+
createGame?: Maybe<Game>;
|
|
202
|
+
/** Create game version */
|
|
203
|
+
createGameVersion?: Maybe<GameVersion>;
|
|
204
|
+
/** Unselect concept tag */
|
|
205
|
+
unselectConceptTag?: Maybe<Concept>;
|
|
206
|
+
/** Update game */
|
|
207
|
+
updateGame?: Maybe<Game>;
|
|
208
|
+
/** Update game version */
|
|
209
|
+
updateGameVersion?: Maybe<GameVersion>;
|
|
210
|
+
/** Update game version state */
|
|
211
|
+
updateGameVersionState?: Maybe<GameVersion>;
|
|
212
|
+
};
|
|
213
|
+
type RootMutationTypeCreateConceptTagArgs = {
|
|
214
|
+
conceptId?: InputMaybe<Scalars['ID']['input']>;
|
|
215
|
+
gameVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
216
|
+
};
|
|
217
|
+
type RootMutationTypeCreateGameArgs = {
|
|
218
|
+
contentType?: InputMaybe<Scalars['String']['input']>;
|
|
219
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
220
|
+
discussionQuestionsAfter?: InputMaybe<Scalars['String']['input']>;
|
|
221
|
+
discussionQuestionsBefore?: InputMaybe<Scalars['String']['input']>;
|
|
222
|
+
estimatedDuration?: InputMaybe<Scalars['String']['input']>;
|
|
223
|
+
game?: InputMaybe<Scalars['String']['input']>;
|
|
224
|
+
gameSlotId?: InputMaybe<Scalars['ID']['input']>;
|
|
225
|
+
image?: InputMaybe<Scalars['String']['input']>;
|
|
226
|
+
instructions?: InputMaybe<Scalars['String']['input']>;
|
|
227
|
+
pdfUrl?: InputMaybe<Scalars['String']['input']>;
|
|
228
|
+
shortName?: InputMaybe<Scalars['String']['input']>;
|
|
229
|
+
teacherFacingPdfUrl?: InputMaybe<Scalars['String']['input']>;
|
|
230
|
+
videoPreviewUrl?: InputMaybe<Scalars['String']['input']>;
|
|
231
|
+
vocabulary?: InputMaybe<Scalars['String']['input']>;
|
|
232
|
+
};
|
|
233
|
+
type RootMutationTypeCreateGameVersionArgs = {
|
|
234
|
+
apiVersion?: InputMaybe<Scalars['String']['input']>;
|
|
235
|
+
buildFile?: InputMaybe<Scalars['String']['input']>;
|
|
236
|
+
gameId?: InputMaybe<Scalars['ID']['input']>;
|
|
237
|
+
gameType?: InputMaybe<Scalars['String']['input']>;
|
|
238
|
+
languageKey?: InputMaybe<Scalars['String']['input']>;
|
|
239
|
+
releaseNotes?: InputMaybe<Scalars['String']['input']>;
|
|
240
|
+
unityVersion?: InputMaybe<Scalars['String']['input']>;
|
|
241
|
+
url?: InputMaybe<Scalars['String']['input']>;
|
|
242
|
+
};
|
|
243
|
+
type RootMutationTypeUnselectConceptTagArgs = {
|
|
244
|
+
conceptId?: InputMaybe<Scalars['ID']['input']>;
|
|
245
|
+
gameVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
246
|
+
};
|
|
247
|
+
type RootMutationTypeUpdateGameArgs = {
|
|
248
|
+
contentType?: InputMaybe<Scalars['String']['input']>;
|
|
249
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
250
|
+
discussionQuestionsAfter?: InputMaybe<Scalars['String']['input']>;
|
|
251
|
+
discussionQuestionsBefore?: InputMaybe<Scalars['String']['input']>;
|
|
252
|
+
estimatedDuration?: InputMaybe<Scalars['Int']['input']>;
|
|
253
|
+
game?: InputMaybe<Scalars['String']['input']>;
|
|
254
|
+
gameId?: InputMaybe<Scalars['ID']['input']>;
|
|
255
|
+
image?: InputMaybe<Scalars['String']['input']>;
|
|
256
|
+
instructions?: InputMaybe<Scalars['String']['input']>;
|
|
257
|
+
pdfUrl?: InputMaybe<Scalars['String']['input']>;
|
|
258
|
+
shortName?: InputMaybe<Scalars['String']['input']>;
|
|
259
|
+
teacherFacingPdfUrl?: InputMaybe<Scalars['String']['input']>;
|
|
260
|
+
videoPreviewUrl?: InputMaybe<Scalars['String']['input']>;
|
|
261
|
+
vocabulary?: InputMaybe<Scalars['String']['input']>;
|
|
262
|
+
};
|
|
263
|
+
type RootMutationTypeUpdateGameVersionArgs = {
|
|
264
|
+
apiVersion?: InputMaybe<Scalars['String']['input']>;
|
|
265
|
+
buildFile?: InputMaybe<Scalars['String']['input']>;
|
|
266
|
+
gameId?: InputMaybe<Scalars['ID']['input']>;
|
|
267
|
+
gameType?: InputMaybe<Scalars['String']['input']>;
|
|
268
|
+
gameVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
269
|
+
languageKey?: InputMaybe<Scalars['String']['input']>;
|
|
270
|
+
releaseNotes?: InputMaybe<Scalars['String']['input']>;
|
|
271
|
+
unityVersion?: InputMaybe<Scalars['String']['input']>;
|
|
272
|
+
url?: InputMaybe<Scalars['String']['input']>;
|
|
273
|
+
};
|
|
274
|
+
type RootMutationTypeUpdateGameVersionStateArgs = {
|
|
275
|
+
gameVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
276
|
+
};
|
|
277
|
+
type RootQueryType = {
|
|
278
|
+
__typename?: 'RootQueryType';
|
|
279
|
+
/** Get current user, when authenticated */
|
|
280
|
+
currentUser?: Maybe<User>;
|
|
281
|
+
/** Get game and assoc current version with learning objective */
|
|
282
|
+
game?: Maybe<Game>;
|
|
283
|
+
/** Get game and assoc game versions for game slot */
|
|
284
|
+
gameAndVersions?: Maybe<Game>;
|
|
285
|
+
/** Get game version */
|
|
286
|
+
gameVersion?: Maybe<GameVersion>;
|
|
287
|
+
/** Get game slots for the current developer */
|
|
288
|
+
slots?: Maybe<Array<Maybe<GameSlot>>>;
|
|
289
|
+
};
|
|
290
|
+
type RootQueryTypeGameArgs = {
|
|
291
|
+
gameId?: InputMaybe<Scalars['ID']['input']>;
|
|
292
|
+
};
|
|
293
|
+
type RootQueryTypeGameAndVersionsArgs = {
|
|
294
|
+
slotId?: InputMaybe<Scalars['ID']['input']>;
|
|
295
|
+
};
|
|
296
|
+
type RootQueryTypeGameVersionArgs = {
|
|
297
|
+
gameVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
298
|
+
};
|
|
299
|
+
type User = {
|
|
300
|
+
__typename?: 'User';
|
|
301
|
+
gameDeveloper?: Maybe<GameDeveloper>;
|
|
302
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
303
|
+
userId?: Maybe<Scalars['ID']['output']>;
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
type FragmentType<TDocumentType extends DocumentTypeDecoration<any, any>> = TDocumentType extends DocumentTypeDecoration<infer TType, any> ? [TType] extends [{
|
|
307
|
+
' $fragmentName'?: infer TKey;
|
|
308
|
+
}] ? TKey extends string ? {
|
|
309
|
+
' $fragmentRefs'?: {
|
|
310
|
+
[key in TKey]: TType;
|
|
311
|
+
};
|
|
312
|
+
} : never : never : never;
|
|
313
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>>): TType;
|
|
314
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | undefined): TType | undefined;
|
|
315
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | null): TType | null;
|
|
316
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | null | undefined): TType | null | undefined;
|
|
317
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: Array<FragmentType<DocumentTypeDecoration<TType, any>>>): Array<TType>;
|
|
318
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: Array<FragmentType<DocumentTypeDecoration<TType, any>>> | null | undefined): Array<TType> | null | undefined;
|
|
319
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: ReadonlyArray<FragmentType<DocumentTypeDecoration<TType, any>>>): ReadonlyArray<TType>;
|
|
320
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: ReadonlyArray<FragmentType<DocumentTypeDecoration<TType, any>>> | null | undefined): ReadonlyArray<TType> | null | undefined;
|
|
321
|
+
declare function makeFragmentData<F extends DocumentTypeDecoration<any, any>, FT extends ResultOf<F>>(data: FT, _fragment: F): FragmentType<F>;
|
|
322
|
+
declare function isFragmentReady<TQuery, TFrag>(queryNode: DocumentTypeDecoration<TQuery, any>, fragmentNode: TypedDocumentNode<TFrag>, data: FragmentType<TypedDocumentNode<Incremental<TFrag>, any>> | null | undefined): data is FragmentType<typeof fragmentNode>;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
326
|
+
*/
|
|
327
|
+
declare function graphql(source: string): unknown;
|
|
328
|
+
type DocumentType<TDocumentNode extends TypedDocumentNode<any, any>> = TDocumentNode extends TypedDocumentNode<infer TType, any> ? TType : never;
|
|
329
|
+
|
|
330
|
+
export { type Audience, type Concept, type DocumentType, type Exact, type FragmentType, type Game, type GameDeveloper, type GamePaymentProgram, type GameSlot, type GameStat, type GameVersion, type Incremental, type InputMaybe, type LearningObjective, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type RootMutationType, type RootMutationTypeCreateConceptTagArgs, type RootMutationTypeCreateGameArgs, type RootMutationTypeCreateGameVersionArgs, type RootMutationTypeUnselectConceptTagArgs, type RootMutationTypeUpdateGameArgs, type RootMutationTypeUpdateGameVersionArgs, type RootMutationTypeUpdateGameVersionStateArgs, type RootQueryType, type RootQueryTypeGameAndVersionsArgs, type RootQueryTypeGameArgs, type RootQueryTypeGameVersionArgs, type Scalars, type User, graphql, isFragmentReady, makeFragmentData, useFragment };
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { DocumentTypeDecoration, ResultOf, TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
+
|
|
3
|
+
type Maybe<T> = T | null;
|
|
4
|
+
type InputMaybe<T> = Maybe<T>;
|
|
5
|
+
type Exact<T extends {
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}> = {
|
|
8
|
+
[K in keyof T]: T[K];
|
|
9
|
+
};
|
|
10
|
+
type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
11
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
12
|
+
};
|
|
13
|
+
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
14
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
15
|
+
};
|
|
16
|
+
type MakeEmpty<T extends {
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}, K extends keyof T> = {
|
|
19
|
+
[_ in K]?: never;
|
|
20
|
+
};
|
|
21
|
+
type Incremental<T> = T | {
|
|
22
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
23
|
+
};
|
|
24
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
25
|
+
type Scalars = {
|
|
26
|
+
ID: {
|
|
27
|
+
input: string;
|
|
28
|
+
output: string;
|
|
29
|
+
};
|
|
30
|
+
String: {
|
|
31
|
+
input: string;
|
|
32
|
+
output: string;
|
|
33
|
+
};
|
|
34
|
+
Boolean: {
|
|
35
|
+
input: boolean;
|
|
36
|
+
output: boolean;
|
|
37
|
+
};
|
|
38
|
+
Int: {
|
|
39
|
+
input: number;
|
|
40
|
+
output: number;
|
|
41
|
+
};
|
|
42
|
+
Float: {
|
|
43
|
+
input: number;
|
|
44
|
+
output: number;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* The `DateTime` scalar type represents a date and time in the UTC
|
|
48
|
+
* timezone. The DateTime appears in a JSON response as an ISO8601 formatted
|
|
49
|
+
* string, including UTC timezone ("Z"). The parsed date and time string will
|
|
50
|
+
* be converted to UTC if there is an offset.
|
|
51
|
+
*/
|
|
52
|
+
DateTime: {
|
|
53
|
+
input: any;
|
|
54
|
+
output: any;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
type Audience = {
|
|
58
|
+
__typename?: 'Audience';
|
|
59
|
+
g1?: Maybe<Scalars['Boolean']['output']>;
|
|
60
|
+
g2?: Maybe<Scalars['Boolean']['output']>;
|
|
61
|
+
g3?: Maybe<Scalars['Boolean']['output']>;
|
|
62
|
+
g4?: Maybe<Scalars['Boolean']['output']>;
|
|
63
|
+
g5?: Maybe<Scalars['Boolean']['output']>;
|
|
64
|
+
g6?: Maybe<Scalars['Boolean']['output']>;
|
|
65
|
+
g7?: Maybe<Scalars['Boolean']['output']>;
|
|
66
|
+
g8?: Maybe<Scalars['Boolean']['output']>;
|
|
67
|
+
g9?: Maybe<Scalars['Boolean']['output']>;
|
|
68
|
+
g10?: Maybe<Scalars['Boolean']['output']>;
|
|
69
|
+
g11?: Maybe<Scalars['Boolean']['output']>;
|
|
70
|
+
g12?: Maybe<Scalars['Boolean']['output']>;
|
|
71
|
+
k?: Maybe<Scalars['Boolean']['output']>;
|
|
72
|
+
};
|
|
73
|
+
type Concept = {
|
|
74
|
+
__typename?: 'Concept';
|
|
75
|
+
concept?: Maybe<Scalars['String']['output']>;
|
|
76
|
+
conceptId?: Maybe<Scalars['Int']['output']>;
|
|
77
|
+
conceptIdent?: Maybe<Scalars['String']['output']>;
|
|
78
|
+
conceptTagId?: Maybe<Scalars['ID']['output']>;
|
|
79
|
+
gameId?: Maybe<Scalars['ID']['output']>;
|
|
80
|
+
gameVersionId?: Maybe<Scalars['ID']['output']>;
|
|
81
|
+
learningObjectiveId?: Maybe<Scalars['ID']['output']>;
|
|
82
|
+
};
|
|
83
|
+
type Game = {
|
|
84
|
+
__typename?: 'Game';
|
|
85
|
+
audience?: Maybe<Audience>;
|
|
86
|
+
banner?: Maybe<Scalars['String']['output']>;
|
|
87
|
+
clonedFromGameId?: Maybe<Scalars['Int']['output']>;
|
|
88
|
+
contentType?: Maybe<Scalars['String']['output']>;
|
|
89
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
90
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
91
|
+
developerDescription?: Maybe<Scalars['String']['output']>;
|
|
92
|
+
developerInstructions?: Maybe<Scalars['String']['output']>;
|
|
93
|
+
discussionQuestionsAfter?: Maybe<Scalars['String']['output']>;
|
|
94
|
+
discussionQuestionsBefore?: Maybe<Scalars['String']['output']>;
|
|
95
|
+
editorPickAt?: Maybe<Scalars['DateTime']['output']>;
|
|
96
|
+
estimatedDuration?: Maybe<Scalars['Int']['output']>;
|
|
97
|
+
game?: Maybe<Scalars['String']['output']>;
|
|
98
|
+
gameDeveloperId?: Maybe<Scalars['Int']['output']>;
|
|
99
|
+
gameSlot?: Maybe<GameSlot>;
|
|
100
|
+
gameSlotId?: Maybe<Scalars['ID']['output']>;
|
|
101
|
+
gameStat?: Maybe<GameStat>;
|
|
102
|
+
gameStudio?: Maybe<GameDeveloper>;
|
|
103
|
+
gameVersions?: Maybe<Array<Maybe<GameVersion>>>;
|
|
104
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
105
|
+
image?: Maybe<Scalars['String']['output']>;
|
|
106
|
+
instructions?: Maybe<Scalars['String']['output']>;
|
|
107
|
+
isAvailable?: Maybe<Scalars['Boolean']['output']>;
|
|
108
|
+
learningObjective?: Maybe<LearningObjective>;
|
|
109
|
+
learningObjectiveId?: Maybe<Scalars['ID']['output']>;
|
|
110
|
+
paidOut?: Maybe<Scalars['Boolean']['output']>;
|
|
111
|
+
pdfUrl?: Maybe<Scalars['String']['output']>;
|
|
112
|
+
questionGame?: Maybe<Scalars['Boolean']['output']>;
|
|
113
|
+
savesProgress?: Maybe<Scalars['Boolean']['output']>;
|
|
114
|
+
shortName?: Maybe<Scalars['String']['output']>;
|
|
115
|
+
sponsorshipImageUrl?: Maybe<Scalars['String']['output']>;
|
|
116
|
+
sponsorshipLinkUrl?: Maybe<Scalars['String']['output']>;
|
|
117
|
+
supportsIpad?: Maybe<Scalars['Boolean']['output']>;
|
|
118
|
+
supportsTts?: Maybe<Scalars['Boolean']['output']>;
|
|
119
|
+
teacherFacingPdfUrl?: Maybe<Scalars['String']['output']>;
|
|
120
|
+
type?: Maybe<Scalars['String']['output']>;
|
|
121
|
+
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
122
|
+
version?: Maybe<GameVersion>;
|
|
123
|
+
video?: Maybe<Scalars['String']['output']>;
|
|
124
|
+
videoPreviewUrl?: Maybe<Scalars['String']['output']>;
|
|
125
|
+
vocabulary?: Maybe<Scalars['String']['output']>;
|
|
126
|
+
};
|
|
127
|
+
type GameDeveloper = {
|
|
128
|
+
__typename?: 'GameDeveloper';
|
|
129
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
130
|
+
familyName?: Maybe<Scalars['String']['output']>;
|
|
131
|
+
gameSlots?: Maybe<Array<Maybe<GameSlot>>>;
|
|
132
|
+
gameStudio?: Maybe<Scalars['String']['output']>;
|
|
133
|
+
games?: Maybe<Array<Maybe<Game>>>;
|
|
134
|
+
givenName?: Maybe<Scalars['String']['output']>;
|
|
135
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
136
|
+
};
|
|
137
|
+
type GamePaymentProgram = {
|
|
138
|
+
__typename?: 'GamePaymentProgram';
|
|
139
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
140
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
141
|
+
};
|
|
142
|
+
type GameSlot = {
|
|
143
|
+
__typename?: 'GameSlot';
|
|
144
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
145
|
+
game?: Maybe<Game>;
|
|
146
|
+
gameDeveloper?: Maybe<GameDeveloper>;
|
|
147
|
+
gameDeveloperId?: Maybe<Scalars['ID']['output']>;
|
|
148
|
+
gamePaymentProgram?: Maybe<GamePaymentProgram>;
|
|
149
|
+
gamePaymentProgramId?: Maybe<Scalars['ID']['output']>;
|
|
150
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
151
|
+
learningObjective?: Maybe<LearningObjective>;
|
|
152
|
+
learningObjectiveId?: Maybe<Scalars['ID']['output']>;
|
|
153
|
+
};
|
|
154
|
+
type GameStat = {
|
|
155
|
+
__typename?: 'GameStat';
|
|
156
|
+
compositeRatingScore?: Maybe<Scalars['Float']['output']>;
|
|
157
|
+
contentIntegrationAvg?: Maybe<Scalars['Float']['output']>;
|
|
158
|
+
easeOfPlayAvg?: Maybe<Scalars['Float']['output']>;
|
|
159
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
160
|
+
studentRatingAvg?: Maybe<Scalars['Float']['output']>;
|
|
161
|
+
studentRatingCount?: Maybe<Scalars['Float']['output']>;
|
|
162
|
+
studentRatingScoreSummary?: Maybe<Scalars['String']['output']>;
|
|
163
|
+
suggestedUseSummary?: Maybe<Scalars['String']['output']>;
|
|
164
|
+
teacherRatingAvg?: Maybe<Scalars['Float']['output']>;
|
|
165
|
+
teacherRatingCount?: Maybe<Scalars['Float']['output']>;
|
|
166
|
+
teacherRatingScoreSummary?: Maybe<Scalars['String']['output']>;
|
|
167
|
+
};
|
|
168
|
+
type GameVersion = {
|
|
169
|
+
__typename?: 'GameVersion';
|
|
170
|
+
acceptedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
171
|
+
apiVersion?: Maybe<Scalars['String']['output']>;
|
|
172
|
+
buildFile?: Maybe<Scalars['String']['output']>;
|
|
173
|
+
concepts?: Maybe<Array<Maybe<Concept>>>;
|
|
174
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
175
|
+
gameId?: Maybe<Scalars['ID']['output']>;
|
|
176
|
+
gameType?: Maybe<Scalars['String']['output']>;
|
|
177
|
+
gameVersionState?: Maybe<Scalars['String']['output']>;
|
|
178
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
179
|
+
languageKey?: Maybe<Scalars['String']['output']>;
|
|
180
|
+
releaseNotes?: Maybe<Scalars['String']['output']>;
|
|
181
|
+
unityVersion?: Maybe<Scalars['String']['output']>;
|
|
182
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
183
|
+
};
|
|
184
|
+
type LearningObjective = {
|
|
185
|
+
__typename?: 'LearningObjective';
|
|
186
|
+
concepts?: Maybe<Array<Maybe<Concept>>>;
|
|
187
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
188
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
189
|
+
imageKey?: Maybe<Scalars['String']['output']>;
|
|
190
|
+
imageUrl?: Maybe<Scalars['String']['output']>;
|
|
191
|
+
learningObjective?: Maybe<Scalars['String']['output']>;
|
|
192
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
193
|
+
ngssDciName?: Maybe<Scalars['String']['output']>;
|
|
194
|
+
standardCode?: Maybe<Scalars['String']['output']>;
|
|
195
|
+
};
|
|
196
|
+
type RootMutationType = {
|
|
197
|
+
__typename?: 'RootMutationType';
|
|
198
|
+
/** Create concept tag */
|
|
199
|
+
createConceptTag?: Maybe<Concept>;
|
|
200
|
+
/** Create game */
|
|
201
|
+
createGame?: Maybe<Game>;
|
|
202
|
+
/** Create game version */
|
|
203
|
+
createGameVersion?: Maybe<GameVersion>;
|
|
204
|
+
/** Unselect concept tag */
|
|
205
|
+
unselectConceptTag?: Maybe<Concept>;
|
|
206
|
+
/** Update game */
|
|
207
|
+
updateGame?: Maybe<Game>;
|
|
208
|
+
/** Update game version */
|
|
209
|
+
updateGameVersion?: Maybe<GameVersion>;
|
|
210
|
+
/** Update game version state */
|
|
211
|
+
updateGameVersionState?: Maybe<GameVersion>;
|
|
212
|
+
};
|
|
213
|
+
type RootMutationTypeCreateConceptTagArgs = {
|
|
214
|
+
conceptId?: InputMaybe<Scalars['ID']['input']>;
|
|
215
|
+
gameVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
216
|
+
};
|
|
217
|
+
type RootMutationTypeCreateGameArgs = {
|
|
218
|
+
contentType?: InputMaybe<Scalars['String']['input']>;
|
|
219
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
220
|
+
discussionQuestionsAfter?: InputMaybe<Scalars['String']['input']>;
|
|
221
|
+
discussionQuestionsBefore?: InputMaybe<Scalars['String']['input']>;
|
|
222
|
+
estimatedDuration?: InputMaybe<Scalars['String']['input']>;
|
|
223
|
+
game?: InputMaybe<Scalars['String']['input']>;
|
|
224
|
+
gameSlotId?: InputMaybe<Scalars['ID']['input']>;
|
|
225
|
+
image?: InputMaybe<Scalars['String']['input']>;
|
|
226
|
+
instructions?: InputMaybe<Scalars['String']['input']>;
|
|
227
|
+
pdfUrl?: InputMaybe<Scalars['String']['input']>;
|
|
228
|
+
shortName?: InputMaybe<Scalars['String']['input']>;
|
|
229
|
+
teacherFacingPdfUrl?: InputMaybe<Scalars['String']['input']>;
|
|
230
|
+
videoPreviewUrl?: InputMaybe<Scalars['String']['input']>;
|
|
231
|
+
vocabulary?: InputMaybe<Scalars['String']['input']>;
|
|
232
|
+
};
|
|
233
|
+
type RootMutationTypeCreateGameVersionArgs = {
|
|
234
|
+
apiVersion?: InputMaybe<Scalars['String']['input']>;
|
|
235
|
+
buildFile?: InputMaybe<Scalars['String']['input']>;
|
|
236
|
+
gameId?: InputMaybe<Scalars['ID']['input']>;
|
|
237
|
+
gameType?: InputMaybe<Scalars['String']['input']>;
|
|
238
|
+
languageKey?: InputMaybe<Scalars['String']['input']>;
|
|
239
|
+
releaseNotes?: InputMaybe<Scalars['String']['input']>;
|
|
240
|
+
unityVersion?: InputMaybe<Scalars['String']['input']>;
|
|
241
|
+
url?: InputMaybe<Scalars['String']['input']>;
|
|
242
|
+
};
|
|
243
|
+
type RootMutationTypeUnselectConceptTagArgs = {
|
|
244
|
+
conceptId?: InputMaybe<Scalars['ID']['input']>;
|
|
245
|
+
gameVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
246
|
+
};
|
|
247
|
+
type RootMutationTypeUpdateGameArgs = {
|
|
248
|
+
contentType?: InputMaybe<Scalars['String']['input']>;
|
|
249
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
250
|
+
discussionQuestionsAfter?: InputMaybe<Scalars['String']['input']>;
|
|
251
|
+
discussionQuestionsBefore?: InputMaybe<Scalars['String']['input']>;
|
|
252
|
+
estimatedDuration?: InputMaybe<Scalars['Int']['input']>;
|
|
253
|
+
game?: InputMaybe<Scalars['String']['input']>;
|
|
254
|
+
gameId?: InputMaybe<Scalars['ID']['input']>;
|
|
255
|
+
image?: InputMaybe<Scalars['String']['input']>;
|
|
256
|
+
instructions?: InputMaybe<Scalars['String']['input']>;
|
|
257
|
+
pdfUrl?: InputMaybe<Scalars['String']['input']>;
|
|
258
|
+
shortName?: InputMaybe<Scalars['String']['input']>;
|
|
259
|
+
teacherFacingPdfUrl?: InputMaybe<Scalars['String']['input']>;
|
|
260
|
+
videoPreviewUrl?: InputMaybe<Scalars['String']['input']>;
|
|
261
|
+
vocabulary?: InputMaybe<Scalars['String']['input']>;
|
|
262
|
+
};
|
|
263
|
+
type RootMutationTypeUpdateGameVersionArgs = {
|
|
264
|
+
apiVersion?: InputMaybe<Scalars['String']['input']>;
|
|
265
|
+
buildFile?: InputMaybe<Scalars['String']['input']>;
|
|
266
|
+
gameId?: InputMaybe<Scalars['ID']['input']>;
|
|
267
|
+
gameType?: InputMaybe<Scalars['String']['input']>;
|
|
268
|
+
gameVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
269
|
+
languageKey?: InputMaybe<Scalars['String']['input']>;
|
|
270
|
+
releaseNotes?: InputMaybe<Scalars['String']['input']>;
|
|
271
|
+
unityVersion?: InputMaybe<Scalars['String']['input']>;
|
|
272
|
+
url?: InputMaybe<Scalars['String']['input']>;
|
|
273
|
+
};
|
|
274
|
+
type RootMutationTypeUpdateGameVersionStateArgs = {
|
|
275
|
+
gameVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
276
|
+
};
|
|
277
|
+
type RootQueryType = {
|
|
278
|
+
__typename?: 'RootQueryType';
|
|
279
|
+
/** Get current user, when authenticated */
|
|
280
|
+
currentUser?: Maybe<User>;
|
|
281
|
+
/** Get game and assoc current version with learning objective */
|
|
282
|
+
game?: Maybe<Game>;
|
|
283
|
+
/** Get game and assoc game versions for game slot */
|
|
284
|
+
gameAndVersions?: Maybe<Game>;
|
|
285
|
+
/** Get game version */
|
|
286
|
+
gameVersion?: Maybe<GameVersion>;
|
|
287
|
+
/** Get game slots for the current developer */
|
|
288
|
+
slots?: Maybe<Array<Maybe<GameSlot>>>;
|
|
289
|
+
};
|
|
290
|
+
type RootQueryTypeGameArgs = {
|
|
291
|
+
gameId?: InputMaybe<Scalars['ID']['input']>;
|
|
292
|
+
};
|
|
293
|
+
type RootQueryTypeGameAndVersionsArgs = {
|
|
294
|
+
slotId?: InputMaybe<Scalars['ID']['input']>;
|
|
295
|
+
};
|
|
296
|
+
type RootQueryTypeGameVersionArgs = {
|
|
297
|
+
gameVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
298
|
+
};
|
|
299
|
+
type User = {
|
|
300
|
+
__typename?: 'User';
|
|
301
|
+
gameDeveloper?: Maybe<GameDeveloper>;
|
|
302
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
303
|
+
userId?: Maybe<Scalars['ID']['output']>;
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
type FragmentType<TDocumentType extends DocumentTypeDecoration<any, any>> = TDocumentType extends DocumentTypeDecoration<infer TType, any> ? [TType] extends [{
|
|
307
|
+
' $fragmentName'?: infer TKey;
|
|
308
|
+
}] ? TKey extends string ? {
|
|
309
|
+
' $fragmentRefs'?: {
|
|
310
|
+
[key in TKey]: TType;
|
|
311
|
+
};
|
|
312
|
+
} : never : never : never;
|
|
313
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>>): TType;
|
|
314
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | undefined): TType | undefined;
|
|
315
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | null): TType | null;
|
|
316
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | null | undefined): TType | null | undefined;
|
|
317
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: Array<FragmentType<DocumentTypeDecoration<TType, any>>>): Array<TType>;
|
|
318
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: Array<FragmentType<DocumentTypeDecoration<TType, any>>> | null | undefined): Array<TType> | null | undefined;
|
|
319
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: ReadonlyArray<FragmentType<DocumentTypeDecoration<TType, any>>>): ReadonlyArray<TType>;
|
|
320
|
+
declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: ReadonlyArray<FragmentType<DocumentTypeDecoration<TType, any>>> | null | undefined): ReadonlyArray<TType> | null | undefined;
|
|
321
|
+
declare function makeFragmentData<F extends DocumentTypeDecoration<any, any>, FT extends ResultOf<F>>(data: FT, _fragment: F): FragmentType<F>;
|
|
322
|
+
declare function isFragmentReady<TQuery, TFrag>(queryNode: DocumentTypeDecoration<TQuery, any>, fragmentNode: TypedDocumentNode<TFrag>, data: FragmentType<TypedDocumentNode<Incremental<TFrag>, any>> | null | undefined): data is FragmentType<typeof fragmentNode>;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
326
|
+
*/
|
|
327
|
+
declare function graphql(source: string): unknown;
|
|
328
|
+
type DocumentType<TDocumentNode extends TypedDocumentNode<any, any>> = TDocumentNode extends TypedDocumentNode<infer TType, any> ? TType : never;
|
|
329
|
+
|
|
330
|
+
export { type Audience, type Concept, type DocumentType, type Exact, type FragmentType, type Game, type GameDeveloper, type GamePaymentProgram, type GameSlot, type GameStat, type GameVersion, type Incremental, type InputMaybe, type LearningObjective, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type RootMutationType, type RootMutationTypeCreateConceptTagArgs, type RootMutationTypeCreateGameArgs, type RootMutationTypeCreateGameVersionArgs, type RootMutationTypeUnselectConceptTagArgs, type RootMutationTypeUpdateGameArgs, type RootMutationTypeUpdateGameVersionArgs, type RootMutationTypeUpdateGameVersionStateArgs, type RootQueryType, type RootQueryTypeGameAndVersionsArgs, type RootQueryTypeGameArgs, type RootQueryTypeGameVersionArgs, type Scalars, type User, graphql, isFragmentReady, makeFragmentData, useFragment };
|