@nizza/core 0.3.0-alpha.8 → 0.3.0-beta.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/index.cjs +4 -4
- package/dist/index.mjs +1728 -1647
- package/dist/lib/stores/NizzaStore.d.ts +5 -4
- package/dist/lib/types/api-graphql-types.d.ts +292 -96
- package/dist/lib/types/api.d.ts +13 -0
- package/dist/lib/types/app-module.d.ts +2 -2
- package/dist/lib/types/index.d.ts +1 -0
- package/dist/lib/types/mobx-store.d.ts +2 -2
- package/dist/lib/types/nizzaGlobalObject.d.ts +1 -1
- package/dist/lib/types/products/product.d.ts +4 -4
- package/dist/lib/types/utils.d.ts +4 -4
- package/dist/lib/utils/Result.d.ts +1 -1
- package/dist/lib/utils/customStorage/utils.d.ts +1 -1
- package/dist/lib/utils/index.d.ts +2 -1
- package/dist/lib/utils/lazyLoad.d.ts +2 -2
- package/dist/lib/utils/mobxHooks.d.ts +24 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/typings/libs.d.ts +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type Maybe<T> = T | null;
|
|
3
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
4
|
+
export type Exact<T extends {
|
|
5
5
|
[key: string]: unknown;
|
|
6
6
|
}> = {
|
|
7
7
|
[K in keyof T]: T[K];
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
10
10
|
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
13
13
|
[SubKey in K]: Maybe<T[SubKey]>;
|
|
14
14
|
};
|
|
15
15
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
16
|
-
export
|
|
16
|
+
export type Scalars = {
|
|
17
17
|
ID: string;
|
|
18
18
|
String: string;
|
|
19
19
|
Boolean: boolean;
|
|
@@ -22,16 +22,16 @@ export declare type Scalars = {
|
|
|
22
22
|
DateTime: any;
|
|
23
23
|
JSON: any;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type ActionSnackVideoSuccess = {
|
|
26
26
|
__typename?: 'ActionSnackVideoSuccess';
|
|
27
27
|
message: Scalars['String'];
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type Clip = {
|
|
30
30
|
endTime: Scalars['String'];
|
|
31
31
|
name: Scalars['String'];
|
|
32
32
|
startTime: Scalars['String'];
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type Collection = {
|
|
35
35
|
__typename?: 'Collection';
|
|
36
36
|
account?: Maybe<Scalars['String']>;
|
|
37
37
|
createdat?: Maybe<Scalars['DateTime']>;
|
|
@@ -43,11 +43,11 @@ export declare type Collection = {
|
|
|
43
43
|
name: Scalars['String'];
|
|
44
44
|
path?: Maybe<Scalars['String']>;
|
|
45
45
|
products?: Maybe<Array<Product>>;
|
|
46
|
-
status?: Maybe<
|
|
46
|
+
status?: Maybe<Status>;
|
|
47
47
|
};
|
|
48
|
-
export
|
|
49
|
-
export
|
|
50
|
-
export
|
|
48
|
+
export type CollectionResult = CollectionSuccess | ErrorGeneral;
|
|
49
|
+
export type CollectionResultArray = CollectionSuccessArray | ErrorGeneral;
|
|
50
|
+
export type CollectionSuccess = {
|
|
51
51
|
__typename?: 'CollectionSuccess';
|
|
52
52
|
data?: Maybe<Collection>;
|
|
53
53
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -55,7 +55,7 @@ export declare type CollectionSuccess = {
|
|
|
55
55
|
method?: Maybe<Scalars['String']>;
|
|
56
56
|
path?: Maybe<Scalars['String']>;
|
|
57
57
|
};
|
|
58
|
-
export
|
|
58
|
+
export type CollectionSuccessArray = {
|
|
59
59
|
__typename?: 'CollectionSuccessArray';
|
|
60
60
|
data?: Maybe<Array<Collection>>;
|
|
61
61
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -63,19 +63,19 @@ export declare type CollectionSuccessArray = {
|
|
|
63
63
|
method?: Maybe<Scalars['String']>;
|
|
64
64
|
path?: Maybe<Scalars['String']>;
|
|
65
65
|
};
|
|
66
|
-
export
|
|
66
|
+
export type CreateCollectionInput = {
|
|
67
67
|
account: Scalars['String'];
|
|
68
68
|
description?: InputMaybe<Scalars['String']>;
|
|
69
69
|
name: Scalars['String'];
|
|
70
70
|
status?: InputMaybe<Status>;
|
|
71
71
|
};
|
|
72
|
-
export
|
|
72
|
+
export type CreateSnackVideoInput = {
|
|
73
73
|
account: Scalars['String'];
|
|
74
74
|
clips: Array<Clip>;
|
|
75
75
|
idEvent: Scalars['String'];
|
|
76
76
|
};
|
|
77
|
-
export
|
|
78
|
-
export
|
|
77
|
+
export type CreateSnackVideoResult = ErrorGeneral | SnackVideoArray;
|
|
78
|
+
export type CustomPlayer = {
|
|
79
79
|
__typename?: 'CustomPlayer';
|
|
80
80
|
account: Scalars['String'];
|
|
81
81
|
component: Scalars['String'];
|
|
@@ -87,18 +87,18 @@ export declare type CustomPlayer = {
|
|
|
87
87
|
path?: Maybe<Scalars['String']>;
|
|
88
88
|
section: Scalars['String'];
|
|
89
89
|
};
|
|
90
|
-
export
|
|
90
|
+
export type CustomPlayerInput = {
|
|
91
91
|
account: Scalars['String'];
|
|
92
92
|
data: Scalars['JSON'];
|
|
93
93
|
id: Scalars['String'];
|
|
94
94
|
section: Scalars['String'];
|
|
95
95
|
};
|
|
96
|
-
export
|
|
96
|
+
export type CustomPlayerInputAccount = {
|
|
97
97
|
account: Scalars['String'];
|
|
98
98
|
};
|
|
99
|
-
export
|
|
100
|
-
export
|
|
101
|
-
export
|
|
99
|
+
export type CustomPlayerResult = CustomPlayerSuccess | ErrorGeneral;
|
|
100
|
+
export type CustomPlayerResultArray = CustomPlayerSuccessArray | ErrorGeneral;
|
|
101
|
+
export type CustomPlayerSuccess = {
|
|
102
102
|
__typename?: 'CustomPlayerSuccess';
|
|
103
103
|
data?: Maybe<CustomPlayer>;
|
|
104
104
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -106,7 +106,7 @@ export declare type CustomPlayerSuccess = {
|
|
|
106
106
|
method?: Maybe<Scalars['String']>;
|
|
107
107
|
path?: Maybe<Scalars['String']>;
|
|
108
108
|
};
|
|
109
|
-
export
|
|
109
|
+
export type CustomPlayerSuccessArray = {
|
|
110
110
|
__typename?: 'CustomPlayerSuccessArray';
|
|
111
111
|
data?: Maybe<Array<CustomPlayer>>;
|
|
112
112
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -114,23 +114,65 @@ export declare type CustomPlayerSuccessArray = {
|
|
|
114
114
|
method?: Maybe<Scalars['String']>;
|
|
115
115
|
path?: Maybe<Scalars['String']>;
|
|
116
116
|
};
|
|
117
|
-
export
|
|
117
|
+
export type Error = {
|
|
118
118
|
message: Scalars['String'];
|
|
119
119
|
statusCode: Scalars['String'];
|
|
120
120
|
timestamp: Scalars['String'];
|
|
121
121
|
};
|
|
122
|
-
export
|
|
122
|
+
export type ErrorGeneral = Error & {
|
|
123
123
|
__typename?: 'ErrorGeneral';
|
|
124
124
|
message: Scalars['String'];
|
|
125
125
|
statusCode: Scalars['String'];
|
|
126
126
|
timestamp: Scalars['String'];
|
|
127
127
|
};
|
|
128
|
-
export
|
|
128
|
+
export type EventArray = {
|
|
129
|
+
__typename?: 'EventArray';
|
|
130
|
+
data?: Maybe<Array<LiveStreamingEvent>>;
|
|
131
|
+
duration?: Maybe<Scalars['String']>;
|
|
132
|
+
isArray?: Maybe<Scalars['Boolean']>;
|
|
133
|
+
method?: Maybe<Scalars['String']>;
|
|
134
|
+
path?: Maybe<Scalars['String']>;
|
|
135
|
+
};
|
|
136
|
+
export type EventData = {
|
|
137
|
+
__typename?: 'EventData';
|
|
138
|
+
data?: Maybe<LiveStreamingEvent>;
|
|
139
|
+
duration?: Maybe<Scalars['String']>;
|
|
140
|
+
isArray?: Maybe<Scalars['Boolean']>;
|
|
141
|
+
method?: Maybe<Scalars['String']>;
|
|
142
|
+
path?: Maybe<Scalars['String']>;
|
|
143
|
+
};
|
|
144
|
+
export declare enum EventStatus {
|
|
145
|
+
Created = "CREATED",
|
|
146
|
+
Finalized = "FINALIZED",
|
|
147
|
+
Live = "LIVE",
|
|
148
|
+
Starting = "STARTING"
|
|
149
|
+
}
|
|
150
|
+
export type FindByProductSnackVideoInput = {
|
|
151
|
+
account: Scalars['String'];
|
|
152
|
+
idProduct: Scalars['String'];
|
|
153
|
+
};
|
|
154
|
+
export type FindByProductSnackVideoResult = ErrorGeneral | SnackVideoArray;
|
|
155
|
+
export type FindEventInput = {
|
|
156
|
+
account: Scalars['String'];
|
|
157
|
+
id: Scalars['String'];
|
|
158
|
+
};
|
|
159
|
+
export type FindEventResult = ErrorGeneral | EventData;
|
|
160
|
+
export type FindManySnackVideoInput = {
|
|
129
161
|
account: Scalars['String'];
|
|
130
162
|
ids: Array<Scalars['String']>;
|
|
131
163
|
};
|
|
132
|
-
export
|
|
133
|
-
export
|
|
164
|
+
export type FindManySnackVideoResult = ErrorGeneral | SnackVideoArray;
|
|
165
|
+
export type LiveStreamingEvent = {
|
|
166
|
+
__typename?: 'LiveStreamingEvent';
|
|
167
|
+
account: Scalars['String'];
|
|
168
|
+
createdAt: Scalars['String'];
|
|
169
|
+
eventName: Scalars['String'];
|
|
170
|
+
id: Scalars['String'];
|
|
171
|
+
recordVideoPath?: Maybe<Scalars['String']>;
|
|
172
|
+
status: EventStatus;
|
|
173
|
+
thumbnailsPath?: Maybe<Scalars['String']>;
|
|
174
|
+
};
|
|
175
|
+
export type ManageCollectionProductInInput = {
|
|
134
176
|
account: Scalars['String'];
|
|
135
177
|
id: Scalars['String'];
|
|
136
178
|
method: Methods;
|
|
@@ -140,7 +182,7 @@ export declare enum Methods {
|
|
|
140
182
|
Add = "add",
|
|
141
183
|
Remove = "remove"
|
|
142
184
|
}
|
|
143
|
-
export
|
|
185
|
+
export type Mutation = {
|
|
144
186
|
__typename?: 'Mutation';
|
|
145
187
|
appendProductsSnackVideo: RelateEntitySnackVideo;
|
|
146
188
|
createCollection: CollectionResult;
|
|
@@ -153,37 +195,37 @@ export declare type Mutation = {
|
|
|
153
195
|
updateCustomPlayer: CustomPlayerResult;
|
|
154
196
|
updateProgressSnackVideo: UpdateProgressSnackVideosResult;
|
|
155
197
|
};
|
|
156
|
-
export
|
|
198
|
+
export type MutationAppendProductsSnackVideoArgs = {
|
|
157
199
|
data: RelateToProductsSnackVideoInput;
|
|
158
200
|
};
|
|
159
|
-
export
|
|
201
|
+
export type MutationCreateCollectionArgs = {
|
|
160
202
|
data: CreateCollectionInput;
|
|
161
203
|
};
|
|
162
|
-
export
|
|
204
|
+
export type MutationCreateSnackVideosArgs = {
|
|
163
205
|
data: CreateSnackVideoInput;
|
|
164
206
|
};
|
|
165
|
-
export
|
|
207
|
+
export type MutationDeleteAllCustomPlayerArgs = {
|
|
166
208
|
data: CustomPlayerInputAccount;
|
|
167
209
|
};
|
|
168
|
-
export
|
|
210
|
+
export type MutationDeleteCollectionArgs = {
|
|
169
211
|
data: QueryInput;
|
|
170
212
|
};
|
|
171
|
-
export
|
|
213
|
+
export type MutationDeleteRelationshipSnackVideoArgs = {
|
|
172
214
|
data: SnackVideoRelationshipKeys;
|
|
173
215
|
};
|
|
174
|
-
export
|
|
216
|
+
export type MutationManageCollectionProductArgs = {
|
|
175
217
|
data: ManageCollectionProductInInput;
|
|
176
218
|
};
|
|
177
|
-
export
|
|
219
|
+
export type MutationUpdateCollectionArgs = {
|
|
178
220
|
data: UpdateCollectionInput;
|
|
179
221
|
};
|
|
180
|
-
export
|
|
222
|
+
export type MutationUpdateCustomPlayerArgs = {
|
|
181
223
|
data: CustomPlayerInput;
|
|
182
224
|
};
|
|
183
|
-
export
|
|
225
|
+
export type MutationUpdateProgressSnackVideoArgs = {
|
|
184
226
|
data: UpdateProgressSnackVideosInput;
|
|
185
227
|
};
|
|
186
|
-
export
|
|
228
|
+
export type Product = {
|
|
187
229
|
__typename?: 'Product';
|
|
188
230
|
account: Scalars['String'];
|
|
189
231
|
createdat?: Maybe<Scalars['String']>;
|
|
@@ -195,42 +237,54 @@ export declare type Product = {
|
|
|
195
237
|
status?: Maybe<Status>;
|
|
196
238
|
title: Scalars['String'];
|
|
197
239
|
};
|
|
198
|
-
export
|
|
240
|
+
export type Query = {
|
|
199
241
|
__typename?: 'Query';
|
|
242
|
+
findByProductSnackVideo: FindByProductSnackVideoResult;
|
|
200
243
|
findCollection: CollectionResult;
|
|
244
|
+
findEvent: FindEventResult;
|
|
201
245
|
findManySnackVideos: FindManySnackVideoResult;
|
|
202
246
|
getAllCollection: CollectionResultArray;
|
|
203
247
|
getAllCustomPlayer: CustomPlayerResultArray;
|
|
204
248
|
getAllSnackVideos: SnackVideoGetAll;
|
|
205
249
|
getRelationshipSnackVideos: RelationshipSnackVideoArrayResponse;
|
|
206
250
|
searchCollection: CollectionResultArray;
|
|
251
|
+
searchEvent: SearchEventResult;
|
|
207
252
|
searchSnackVideos: SnackVideoGetAll;
|
|
208
253
|
};
|
|
209
|
-
export
|
|
254
|
+
export type QueryFindByProductSnackVideoArgs = {
|
|
255
|
+
data: FindByProductSnackVideoInput;
|
|
256
|
+
};
|
|
257
|
+
export type QueryFindCollectionArgs = {
|
|
210
258
|
data: QueryInput;
|
|
211
259
|
};
|
|
212
|
-
export
|
|
260
|
+
export type QueryFindEventArgs = {
|
|
261
|
+
data: FindEventInput;
|
|
262
|
+
};
|
|
263
|
+
export type QueryFindManySnackVideosArgs = {
|
|
213
264
|
data: FindManySnackVideoInput;
|
|
214
265
|
};
|
|
215
|
-
export
|
|
266
|
+
export type QueryGetAllCollectionArgs = {
|
|
216
267
|
data: QueryInput;
|
|
217
268
|
};
|
|
218
|
-
export
|
|
269
|
+
export type QueryGetAllCustomPlayerArgs = {
|
|
219
270
|
data: QueryInput;
|
|
220
271
|
};
|
|
221
|
-
export
|
|
272
|
+
export type QueryGetAllSnackVideosArgs = {
|
|
222
273
|
data: QueryInput;
|
|
223
274
|
};
|
|
224
|
-
export
|
|
275
|
+
export type QueryGetRelationshipSnackVideosArgs = {
|
|
225
276
|
data: SnackVideoRelationshipInput;
|
|
226
277
|
};
|
|
227
|
-
export
|
|
278
|
+
export type QuerySearchCollectionArgs = {
|
|
228
279
|
data: QueryInput;
|
|
229
280
|
};
|
|
230
|
-
export
|
|
281
|
+
export type QuerySearchEventArgs = {
|
|
282
|
+
data: SearchEventInput;
|
|
283
|
+
};
|
|
284
|
+
export type QuerySearchSnackVideosArgs = {
|
|
231
285
|
data: SearchInput;
|
|
232
286
|
};
|
|
233
|
-
export
|
|
287
|
+
export type QueryInput = {
|
|
234
288
|
account: Scalars['String'];
|
|
235
289
|
cursor?: InputMaybe<Scalars['JSON']>;
|
|
236
290
|
id?: InputMaybe<Scalars['String']>;
|
|
@@ -238,15 +292,15 @@ export declare type QueryInput = {
|
|
|
238
292
|
page?: InputMaybe<Scalars['Float']>;
|
|
239
293
|
search?: InputMaybe<Scalars['String']>;
|
|
240
294
|
};
|
|
241
|
-
export
|
|
242
|
-
export
|
|
295
|
+
export type RelateEntitySnackVideo = ActionSnackVideoSuccess | ErrorGeneral;
|
|
296
|
+
export type RelateToProductsSnackVideoInput = {
|
|
243
297
|
account: Scalars['String'];
|
|
244
298
|
name: Scalars['String'];
|
|
245
299
|
productsId: Array<Scalars['String']>;
|
|
246
300
|
shortId: Scalars['String'];
|
|
247
301
|
url: Scalars['String'];
|
|
248
302
|
};
|
|
249
|
-
export
|
|
303
|
+
export type RelationshipSnackVideo = {
|
|
250
304
|
__typename?: 'RelationshipSnackVideo';
|
|
251
305
|
attributeId: Scalars['String'];
|
|
252
306
|
created: Scalars['String'];
|
|
@@ -257,7 +311,7 @@ export declare type RelationshipSnackVideo = {
|
|
|
257
311
|
sourceEntity: Scalars['String'];
|
|
258
312
|
url: Scalars['String'];
|
|
259
313
|
};
|
|
260
|
-
export
|
|
314
|
+
export type RelationshipSnackVideoArray = {
|
|
261
315
|
__typename?: 'RelationshipSnackVideoArray';
|
|
262
316
|
data?: Maybe<Array<RelationshipSnackVideo>>;
|
|
263
317
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -265,8 +319,18 @@ export declare type RelationshipSnackVideoArray = {
|
|
|
265
319
|
method?: Maybe<Scalars['String']>;
|
|
266
320
|
path?: Maybe<Scalars['String']>;
|
|
267
321
|
};
|
|
268
|
-
export
|
|
269
|
-
export
|
|
322
|
+
export type RelationshipSnackVideoArrayResponse = ErrorGeneral | RelationshipSnackVideoArray;
|
|
323
|
+
export type SearchEventInput = {
|
|
324
|
+
account: Scalars['String'];
|
|
325
|
+
cursor?: InputMaybe<Scalars['JSON']>;
|
|
326
|
+
id?: InputMaybe<Scalars['String']>;
|
|
327
|
+
limit?: InputMaybe<Scalars['Float']>;
|
|
328
|
+
page?: InputMaybe<Scalars['Float']>;
|
|
329
|
+
search: Scalars['String'];
|
|
330
|
+
status?: InputMaybe<EventStatus>;
|
|
331
|
+
};
|
|
332
|
+
export type SearchEventResult = ErrorGeneral | EventArray;
|
|
333
|
+
export type SearchInput = {
|
|
270
334
|
account: Scalars['String'];
|
|
271
335
|
cursor?: InputMaybe<Scalars['JSON']>;
|
|
272
336
|
id?: InputMaybe<Scalars['String']>;
|
|
@@ -274,7 +338,7 @@ export declare type SearchInput = {
|
|
|
274
338
|
page?: InputMaybe<Scalars['Float']>;
|
|
275
339
|
search: Scalars['String'];
|
|
276
340
|
};
|
|
277
|
-
export
|
|
341
|
+
export type SnackVideo = {
|
|
278
342
|
__typename?: 'SnackVideo';
|
|
279
343
|
duration: Scalars['Float'];
|
|
280
344
|
eventId: Scalars['String'];
|
|
@@ -285,7 +349,7 @@ export declare type SnackVideo = {
|
|
|
285
349
|
uploadProgress: Scalars['Float'];
|
|
286
350
|
url: Scalars['String'];
|
|
287
351
|
};
|
|
288
|
-
export
|
|
352
|
+
export type SnackVideoArray = {
|
|
289
353
|
__typename?: 'SnackVideoArray';
|
|
290
354
|
data?: Maybe<Array<SnackVideo>>;
|
|
291
355
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -293,7 +357,7 @@ export declare type SnackVideoArray = {
|
|
|
293
357
|
method?: Maybe<Scalars['String']>;
|
|
294
358
|
path?: Maybe<Scalars['String']>;
|
|
295
359
|
};
|
|
296
|
-
export
|
|
360
|
+
export type SnackVideoCreatedArray = {
|
|
297
361
|
__typename?: 'SnackVideoCreatedArray';
|
|
298
362
|
data?: Maybe<SnackVideoCreatedWithCursor>;
|
|
299
363
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -301,23 +365,23 @@ export declare type SnackVideoCreatedArray = {
|
|
|
301
365
|
method?: Maybe<Scalars['String']>;
|
|
302
366
|
path?: Maybe<Scalars['String']>;
|
|
303
367
|
};
|
|
304
|
-
export
|
|
368
|
+
export type SnackVideoCreatedWithCursor = {
|
|
305
369
|
__typename?: 'SnackVideoCreatedWithCursor';
|
|
306
370
|
cursor?: Maybe<Scalars['JSON']>;
|
|
307
371
|
snackVideos?: Maybe<Array<SnackVideosCreated>>;
|
|
308
372
|
};
|
|
309
|
-
export
|
|
310
|
-
export
|
|
373
|
+
export type SnackVideoGetAll = ErrorGeneral | SnackVideoCreatedArray;
|
|
374
|
+
export type SnackVideoRelationshipInput = {
|
|
311
375
|
account: Scalars['String'];
|
|
312
376
|
shortId: Scalars['String'];
|
|
313
377
|
};
|
|
314
|
-
export
|
|
378
|
+
export type SnackVideoRelationshipKeys = {
|
|
315
379
|
account: Scalars['String'];
|
|
316
380
|
attributeId: Scalars['String'];
|
|
317
381
|
shortId: Scalars['String'];
|
|
318
382
|
sourceEntity: Scalars['String'];
|
|
319
383
|
};
|
|
320
|
-
export
|
|
384
|
+
export type SnackVideosCreated = {
|
|
321
385
|
__typename?: 'SnackVideosCreated';
|
|
322
386
|
created: Scalars['String'];
|
|
323
387
|
duration: Scalars['Float'];
|
|
@@ -335,20 +399,20 @@ export declare enum Status {
|
|
|
335
399
|
Active = "active",
|
|
336
400
|
Inactive = "inactive"
|
|
337
401
|
}
|
|
338
|
-
export
|
|
402
|
+
export type UpdateCollectionInput = {
|
|
339
403
|
account: Scalars['String'];
|
|
340
404
|
description?: InputMaybe<Scalars['String']>;
|
|
341
405
|
id: Scalars['String'];
|
|
342
406
|
name?: InputMaybe<Scalars['String']>;
|
|
343
407
|
status?: InputMaybe<Status>;
|
|
344
408
|
};
|
|
345
|
-
export
|
|
409
|
+
export type UpdateProgressSnackVideos = {
|
|
346
410
|
__typename?: 'UpdateProgressSnackVideos';
|
|
347
411
|
account: Scalars['String'];
|
|
348
412
|
id: Scalars['String'];
|
|
349
413
|
progress: Scalars['Float'];
|
|
350
414
|
};
|
|
351
|
-
export
|
|
415
|
+
export type UpdateProgressSnackVideosData = {
|
|
352
416
|
__typename?: 'UpdateProgressSnackVideosData';
|
|
353
417
|
data?: Maybe<UpdateProgressSnackVideos>;
|
|
354
418
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -356,16 +420,16 @@ export declare type UpdateProgressSnackVideosData = {
|
|
|
356
420
|
method?: Maybe<Scalars['String']>;
|
|
357
421
|
path?: Maybe<Scalars['String']>;
|
|
358
422
|
};
|
|
359
|
-
export
|
|
423
|
+
export type UpdateProgressSnackVideosInput = {
|
|
360
424
|
account: Scalars['String'];
|
|
361
425
|
id: Scalars['String'];
|
|
362
426
|
progress: Scalars['Float'];
|
|
363
427
|
};
|
|
364
|
-
export
|
|
365
|
-
export
|
|
428
|
+
export type UpdateProgressSnackVideosResult = ErrorGeneral | UpdateProgressSnackVideosData;
|
|
429
|
+
export type DeleteAllCustomizationMutationVariables = Exact<{
|
|
366
430
|
data: CustomPlayerInputAccount;
|
|
367
431
|
}>;
|
|
368
|
-
export
|
|
432
|
+
export type DeleteAllCustomizationMutation = {
|
|
369
433
|
__typename?: 'Mutation';
|
|
370
434
|
deleteAllCustomPlayer: {
|
|
371
435
|
__typename: 'CustomPlayerSuccess';
|
|
@@ -376,10 +440,10 @@ export declare type DeleteAllCustomizationMutation = {
|
|
|
376
440
|
timestamp: string;
|
|
377
441
|
};
|
|
378
442
|
};
|
|
379
|
-
export
|
|
443
|
+
export type GetAllCustomizationQueryVariables = Exact<{
|
|
380
444
|
data: QueryInput;
|
|
381
445
|
}>;
|
|
382
|
-
export
|
|
446
|
+
export type GetAllCustomizationQuery = {
|
|
383
447
|
__typename?: 'Query';
|
|
384
448
|
getAllCustomPlayer: {
|
|
385
449
|
__typename: 'CustomPlayerSuccessArray';
|
|
@@ -397,10 +461,10 @@ export declare type GetAllCustomizationQuery = {
|
|
|
397
461
|
timestamp: string;
|
|
398
462
|
};
|
|
399
463
|
};
|
|
400
|
-
export
|
|
464
|
+
export type UpdateCustomizationMutationVariables = Exact<{
|
|
401
465
|
data: CustomPlayerInput;
|
|
402
466
|
}>;
|
|
403
|
-
export
|
|
467
|
+
export type UpdateCustomizationMutation = {
|
|
404
468
|
__typename?: 'Mutation';
|
|
405
469
|
updateCustomPlayer: {
|
|
406
470
|
__typename: 'CustomPlayerSuccess';
|
|
@@ -411,10 +475,10 @@ export declare type UpdateCustomizationMutation = {
|
|
|
411
475
|
timestamp: string;
|
|
412
476
|
};
|
|
413
477
|
};
|
|
414
|
-
export
|
|
478
|
+
export type AddCollectionMutationVariables = Exact<{
|
|
415
479
|
data: CreateCollectionInput;
|
|
416
480
|
}>;
|
|
417
|
-
export
|
|
481
|
+
export type AddCollectionMutation = {
|
|
418
482
|
__typename?: 'Mutation';
|
|
419
483
|
createCollection: {
|
|
420
484
|
__typename: 'CollectionSuccess';
|
|
@@ -429,10 +493,10 @@ export declare type AddCollectionMutation = {
|
|
|
429
493
|
timestamp: string;
|
|
430
494
|
};
|
|
431
495
|
};
|
|
432
|
-
export
|
|
496
|
+
export type DeleteCollectionMutationVariables = Exact<{
|
|
433
497
|
data: QueryInput;
|
|
434
498
|
}>;
|
|
435
|
-
export
|
|
499
|
+
export type DeleteCollectionMutation = {
|
|
436
500
|
__typename?: 'Mutation';
|
|
437
501
|
deleteCollection: {
|
|
438
502
|
__typename: 'CollectionSuccess';
|
|
@@ -443,10 +507,10 @@ export declare type DeleteCollectionMutation = {
|
|
|
443
507
|
timestamp: string;
|
|
444
508
|
};
|
|
445
509
|
};
|
|
446
|
-
export
|
|
510
|
+
export type FindCollectionQueryVariables = Exact<{
|
|
447
511
|
data: QueryInput;
|
|
448
512
|
}>;
|
|
449
|
-
export
|
|
513
|
+
export type FindCollectionQuery = {
|
|
450
514
|
__typename?: 'Query';
|
|
451
515
|
findCollection: {
|
|
452
516
|
__typename: 'CollectionSuccess';
|
|
@@ -456,7 +520,7 @@ export declare type FindCollectionQuery = {
|
|
|
456
520
|
account?: string | null;
|
|
457
521
|
name: string;
|
|
458
522
|
description?: string | null;
|
|
459
|
-
status?:
|
|
523
|
+
status?: Status | null;
|
|
460
524
|
createdat?: any | null;
|
|
461
525
|
products?: Array<{
|
|
462
526
|
__typename?: 'Product';
|
|
@@ -478,10 +542,10 @@ export declare type FindCollectionQuery = {
|
|
|
478
542
|
timestamp: string;
|
|
479
543
|
};
|
|
480
544
|
};
|
|
481
|
-
export
|
|
545
|
+
export type GetAllCollectionsQueryVariables = Exact<{
|
|
482
546
|
data: QueryInput;
|
|
483
547
|
}>;
|
|
484
|
-
export
|
|
548
|
+
export type GetAllCollectionsQuery = {
|
|
485
549
|
__typename?: 'Query';
|
|
486
550
|
getAllCollection: {
|
|
487
551
|
__typename: 'CollectionSuccessArray';
|
|
@@ -491,7 +555,7 @@ export declare type GetAllCollectionsQuery = {
|
|
|
491
555
|
account?: string | null;
|
|
492
556
|
name: string;
|
|
493
557
|
description?: string | null;
|
|
494
|
-
status?:
|
|
558
|
+
status?: Status | null;
|
|
495
559
|
createdat?: any | null;
|
|
496
560
|
products?: Array<{
|
|
497
561
|
__typename?: 'Product';
|
|
@@ -513,10 +577,10 @@ export declare type GetAllCollectionsQuery = {
|
|
|
513
577
|
timestamp: string;
|
|
514
578
|
};
|
|
515
579
|
};
|
|
516
|
-
export
|
|
580
|
+
export type ManageCollectionProductMutationVariables = Exact<{
|
|
517
581
|
data: ManageCollectionProductInInput;
|
|
518
582
|
}>;
|
|
519
|
-
export
|
|
583
|
+
export type ManageCollectionProductMutation = {
|
|
520
584
|
__typename?: 'Mutation';
|
|
521
585
|
manageCollectionProduct: {
|
|
522
586
|
__typename: 'CollectionSuccess';
|
|
@@ -527,10 +591,10 @@ export declare type ManageCollectionProductMutation = {
|
|
|
527
591
|
timestamp: string;
|
|
528
592
|
};
|
|
529
593
|
};
|
|
530
|
-
export
|
|
594
|
+
export type SearchCollectionsQueryVariables = Exact<{
|
|
531
595
|
data: QueryInput;
|
|
532
596
|
}>;
|
|
533
|
-
export
|
|
597
|
+
export type SearchCollectionsQuery = {
|
|
534
598
|
__typename?: 'Query';
|
|
535
599
|
searchCollection: {
|
|
536
600
|
__typename: 'CollectionSuccessArray';
|
|
@@ -540,7 +604,7 @@ export declare type SearchCollectionsQuery = {
|
|
|
540
604
|
account?: string | null;
|
|
541
605
|
name: string;
|
|
542
606
|
description?: string | null;
|
|
543
|
-
status?:
|
|
607
|
+
status?: Status | null;
|
|
544
608
|
createdat?: any | null;
|
|
545
609
|
products?: Array<{
|
|
546
610
|
__typename?: 'Product';
|
|
@@ -562,10 +626,10 @@ export declare type SearchCollectionsQuery = {
|
|
|
562
626
|
timestamp: string;
|
|
563
627
|
};
|
|
564
628
|
};
|
|
565
|
-
export
|
|
629
|
+
export type UpdateCollectionMutationVariables = Exact<{
|
|
566
630
|
data: UpdateCollectionInput;
|
|
567
631
|
}>;
|
|
568
|
-
export
|
|
632
|
+
export type UpdateCollectionMutation = {
|
|
569
633
|
__typename?: 'Mutation';
|
|
570
634
|
updateCollection: {
|
|
571
635
|
__typename: 'CollectionSuccess';
|
|
@@ -576,16 +640,111 @@ export declare type UpdateCollectionMutation = {
|
|
|
576
640
|
timestamp: string;
|
|
577
641
|
};
|
|
578
642
|
};
|
|
579
|
-
export
|
|
643
|
+
export type FindMinimalEventQueryVariables = Exact<{
|
|
644
|
+
data: FindEventInput;
|
|
645
|
+
}>;
|
|
646
|
+
export type FindMinimalEventQuery = {
|
|
647
|
+
__typename?: 'Query';
|
|
648
|
+
findEvent: {
|
|
649
|
+
__typename: 'ErrorGeneral';
|
|
650
|
+
message: string;
|
|
651
|
+
statusCode: string;
|
|
652
|
+
timestamp: string;
|
|
653
|
+
} | {
|
|
654
|
+
__typename: 'EventData';
|
|
655
|
+
data?: {
|
|
656
|
+
__typename?: 'LiveStreamingEvent';
|
|
657
|
+
id: string;
|
|
658
|
+
account: string;
|
|
659
|
+
eventName: string;
|
|
660
|
+
thumbnailsPath?: string | null;
|
|
661
|
+
recordVideoPath?: string | null;
|
|
662
|
+
createdAt: string;
|
|
663
|
+
status: EventStatus;
|
|
664
|
+
} | null;
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
export type SearchMinimalEventsQueryVariables = Exact<{
|
|
668
|
+
data: SearchEventInput;
|
|
669
|
+
}>;
|
|
670
|
+
export type SearchMinimalEventsQuery = {
|
|
671
|
+
__typename?: 'Query';
|
|
672
|
+
searchEvent: {
|
|
673
|
+
__typename: 'ErrorGeneral';
|
|
674
|
+
message: string;
|
|
675
|
+
statusCode: string;
|
|
676
|
+
timestamp: string;
|
|
677
|
+
} | {
|
|
678
|
+
__typename: 'EventArray';
|
|
679
|
+
data?: Array<{
|
|
680
|
+
__typename?: 'LiveStreamingEvent';
|
|
681
|
+
id: string;
|
|
682
|
+
account: string;
|
|
683
|
+
eventName: string;
|
|
684
|
+
thumbnailsPath?: string | null;
|
|
685
|
+
recordVideoPath?: string | null;
|
|
686
|
+
createdAt: string;
|
|
687
|
+
status: EventStatus;
|
|
688
|
+
}> | null;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
export type CreateSnackVideoBatchMutationVariables = Exact<{
|
|
692
|
+
data: CreateSnackVideoInput;
|
|
693
|
+
}>;
|
|
694
|
+
export type CreateSnackVideoBatchMutation = {
|
|
695
|
+
__typename?: 'Mutation';
|
|
696
|
+
createSnackVideos: {
|
|
697
|
+
__typename: 'ErrorGeneral';
|
|
698
|
+
message: string;
|
|
699
|
+
statusCode: string;
|
|
700
|
+
timestamp: string;
|
|
701
|
+
} | {
|
|
702
|
+
__typename: 'SnackVideoArray';
|
|
703
|
+
data?: Array<{
|
|
704
|
+
__typename?: 'SnackVideo';
|
|
705
|
+
id: string;
|
|
706
|
+
}> | null;
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
export type GetAllSnackVideosQueryVariables = Exact<{
|
|
580
710
|
data: QueryInput;
|
|
581
711
|
}>;
|
|
582
|
-
export
|
|
712
|
+
export type GetAllSnackVideosQuery = {
|
|
583
713
|
__typename?: 'Query';
|
|
584
714
|
getAllSnackVideos: {
|
|
585
715
|
__typename: 'ErrorGeneral';
|
|
586
716
|
message: string;
|
|
587
717
|
statusCode: string;
|
|
588
718
|
timestamp: string;
|
|
719
|
+
} | {
|
|
720
|
+
__typename: 'SnackVideoCreatedArray';
|
|
721
|
+
data?: {
|
|
722
|
+
__typename?: 'SnackVideoCreatedWithCursor';
|
|
723
|
+
cursor?: any | null;
|
|
724
|
+
snackVideos?: Array<{
|
|
725
|
+
__typename?: 'SnackVideosCreated';
|
|
726
|
+
id: string;
|
|
727
|
+
name: string;
|
|
728
|
+
url: string;
|
|
729
|
+
thumbnailUrl: string;
|
|
730
|
+
uploadProgress: number;
|
|
731
|
+
duration: number;
|
|
732
|
+
eventId: string;
|
|
733
|
+
eventName: string;
|
|
734
|
+
}> | null;
|
|
735
|
+
} | null;
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
export type SearchSnackVideosQueryVariables = Exact<{
|
|
739
|
+
data: SearchInput;
|
|
740
|
+
}>;
|
|
741
|
+
export type SearchSnackVideosQuery = {
|
|
742
|
+
__typename?: 'Query';
|
|
743
|
+
searchSnackVideos: {
|
|
744
|
+
__typename: 'ErrorGeneral';
|
|
745
|
+
message: string;
|
|
746
|
+
statusCode: string;
|
|
747
|
+
timestamp: string;
|
|
589
748
|
} | {
|
|
590
749
|
__typename: 'SnackVideoCreatedArray';
|
|
591
750
|
data?: {
|
|
@@ -602,11 +761,33 @@ export declare type GetAllSnackVideosQuery = {
|
|
|
602
761
|
eventId: string;
|
|
603
762
|
eventName: string;
|
|
604
763
|
created: string;
|
|
605
|
-
modified: string;
|
|
606
764
|
}> | null;
|
|
607
765
|
} | null;
|
|
608
766
|
};
|
|
609
767
|
};
|
|
768
|
+
export type FindByProductSnackVideoQueryVariables = Exact<{
|
|
769
|
+
data: FindByProductSnackVideoInput;
|
|
770
|
+
}>;
|
|
771
|
+
export type FindByProductSnackVideoQuery = {
|
|
772
|
+
__typename?: 'Query';
|
|
773
|
+
findByProductSnackVideo: {
|
|
774
|
+
__typename: 'ErrorGeneral';
|
|
775
|
+
message: string;
|
|
776
|
+
statusCode: string;
|
|
777
|
+
timestamp: string;
|
|
778
|
+
} | {
|
|
779
|
+
__typename: 'SnackVideoArray';
|
|
780
|
+
data?: Array<{
|
|
781
|
+
__typename?: 'SnackVideo';
|
|
782
|
+
id: string;
|
|
783
|
+
name: string;
|
|
784
|
+
url: string;
|
|
785
|
+
thumbnailUrl: string;
|
|
786
|
+
duration: number;
|
|
787
|
+
uploadProgress: number;
|
|
788
|
+
}> | null;
|
|
789
|
+
};
|
|
790
|
+
};
|
|
610
791
|
export declare const DeleteAllCustomizationDocument: DocumentNode<DeleteAllCustomizationMutation, Exact<{
|
|
611
792
|
data: CustomPlayerInputAccount;
|
|
612
793
|
}>>;
|
|
@@ -637,6 +818,21 @@ export declare const SearchCollectionsDocument: DocumentNode<SearchCollectionsQu
|
|
|
637
818
|
export declare const UpdateCollectionDocument: DocumentNode<UpdateCollectionMutation, Exact<{
|
|
638
819
|
data: UpdateCollectionInput;
|
|
639
820
|
}>>;
|
|
821
|
+
export declare const FindMinimalEventDocument: DocumentNode<FindMinimalEventQuery, Exact<{
|
|
822
|
+
data: FindEventInput;
|
|
823
|
+
}>>;
|
|
824
|
+
export declare const SearchMinimalEventsDocument: DocumentNode<SearchMinimalEventsQuery, Exact<{
|
|
825
|
+
data: SearchEventInput;
|
|
826
|
+
}>>;
|
|
827
|
+
export declare const CreateSnackVideoBatchDocument: DocumentNode<CreateSnackVideoBatchMutation, Exact<{
|
|
828
|
+
data: CreateSnackVideoInput;
|
|
829
|
+
}>>;
|
|
640
830
|
export declare const GetAllSnackVideosDocument: DocumentNode<GetAllSnackVideosQuery, Exact<{
|
|
641
831
|
data: QueryInput;
|
|
642
832
|
}>>;
|
|
833
|
+
export declare const SearchSnackVideosDocument: DocumentNode<SearchSnackVideosQuery, Exact<{
|
|
834
|
+
data: SearchInput;
|
|
835
|
+
}>>;
|
|
836
|
+
export declare const FindByProductSnackVideoDocument: DocumentNode<FindByProductSnackVideoQuery, Exact<{
|
|
837
|
+
data: FindByProductSnackVideoInput;
|
|
838
|
+
}>>;
|