@nizza/core 0.5.1 → 0.5.2
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 +9 -7
- package/dist/index.mjs +861 -4262
- package/dist/lib/nizza-store/NizzaStore.d.ts +4 -2
- package/dist/lib/nizza-store/NizzaStore.v2.d.ts +2 -2
- package/dist/lib/nizza-store/NizzaStore.v3.d.ts +2 -2
- package/dist/lib/types/api-graphql-types.d.ts +169 -102
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@ import { BroadcastChannelEventBus } from '../event-buses';
|
|
|
3
3
|
import { NizzaStore as INizzaStore, NizzaConfig, NizzaProductDataSource } from '../types';
|
|
4
4
|
import { Logger } from '../utils/logger';
|
|
5
5
|
export declare class NizzaStore implements INizzaStore {
|
|
6
|
+
static readonly version = "2";
|
|
6
7
|
private static _instance;
|
|
7
|
-
readonly version = "1";
|
|
8
8
|
readonly instanceId: string;
|
|
9
9
|
private _config;
|
|
10
10
|
private _account?;
|
|
@@ -13,15 +13,17 @@ export declare class NizzaStore implements INizzaStore {
|
|
|
13
13
|
readonly log: Logger;
|
|
14
14
|
private constructor();
|
|
15
15
|
static instance(): NizzaStore;
|
|
16
|
+
private migrateFrom;
|
|
16
17
|
configure(config: NizzaConfig): Promise<void>;
|
|
17
18
|
private setAccount;
|
|
18
19
|
setProductDataSource(dataSource: NizzaProductDataSource): void;
|
|
20
|
+
get version(): string;
|
|
19
21
|
get config(): NizzaConfig | null;
|
|
20
22
|
get account(): NizzaAccount | undefined;
|
|
21
23
|
get accountName(): string | undefined;
|
|
22
24
|
get productDataSource(): NizzaProductDataSource | undefined;
|
|
23
25
|
get eventBus(): BroadcastChannelEventBus;
|
|
24
26
|
}
|
|
25
|
-
export declare const
|
|
27
|
+
export declare const getNizza: () => NizzaStore;
|
|
26
28
|
export declare const logger: import("loglevel").Logger;
|
|
27
29
|
export declare const coreLogger: import("loglevel").Logger;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { NizzaStore } from '../types';
|
|
2
2
|
export declare const nizza: import("./NizzaStore").NizzaStore | NizzaStore;
|
|
3
|
-
export declare const logger:
|
|
4
|
-
export declare const coreLogger:
|
|
3
|
+
export declare const logger: any;
|
|
4
|
+
export declare const coreLogger: any;
|
|
@@ -3,5 +3,5 @@ export declare const configure: (config: NizzaConfig) => Promise<void>;
|
|
|
3
3
|
export declare const setProductDataSource: (dataSource: NizzaProductDataSource) => void;
|
|
4
4
|
export declare const nizza: import("./NizzaStore").NizzaStore | NizzaStore;
|
|
5
5
|
export declare const useNizza: any;
|
|
6
|
-
export declare const logger:
|
|
7
|
-
export declare const coreLogger:
|
|
6
|
+
export declare const logger: any;
|
|
7
|
+
export declare const coreLogger: any;
|
|
@@ -145,6 +145,21 @@ export type CreateCollectionInput = {
|
|
|
145
145
|
name: Scalars['String'];
|
|
146
146
|
status?: InputMaybe<Status>;
|
|
147
147
|
};
|
|
148
|
+
export type CreatePlayListInput = {
|
|
149
|
+
account: Scalars['String'];
|
|
150
|
+
description: Scalars['String'];
|
|
151
|
+
name: Scalars['String'];
|
|
152
|
+
videos: Array<CreatePlayListVideoInput>;
|
|
153
|
+
};
|
|
154
|
+
export type CreatePlayListResult = CreatePlayListSuccess | ErrorGeneral;
|
|
155
|
+
export type CreatePlayListSuccess = {
|
|
156
|
+
__typename?: 'CreatePlayListSuccess';
|
|
157
|
+
message: Scalars['String'];
|
|
158
|
+
};
|
|
159
|
+
export type CreatePlayListVideoInput = {
|
|
160
|
+
order: Scalars['Float'];
|
|
161
|
+
snackVideoId: Scalars['String'];
|
|
162
|
+
};
|
|
148
163
|
export type CreateSnackVideoInput = {
|
|
149
164
|
account: Scalars['String'];
|
|
150
165
|
clips: Array<Clip>;
|
|
@@ -254,10 +269,6 @@ export type FindManySnackVideoInput = {
|
|
|
254
269
|
ids: Array<Scalars['String']>;
|
|
255
270
|
};
|
|
256
271
|
export type FindManySnackVideoResult = ErrorGeneral | SnackVideoArray;
|
|
257
|
-
export type GetPlayListInput = {
|
|
258
|
-
account: Scalars['String'];
|
|
259
|
-
};
|
|
260
|
-
export type GetPlayListResult = ErrorGeneral | PlayListArray;
|
|
261
272
|
export type GetAllChatMessageInput = {
|
|
262
273
|
account: Scalars['String'];
|
|
263
274
|
idEvent: Scalars['String'];
|
|
@@ -269,6 +280,12 @@ export type GetChatRoomInput = {
|
|
|
269
280
|
userName: Scalars['String'];
|
|
270
281
|
};
|
|
271
282
|
export type GetChatRoomTokenResult = ChatRoomTokenData | ErrorGeneral;
|
|
283
|
+
export type GetPlayListData = ErrorGeneral | PlayListData;
|
|
284
|
+
export type GetPlayListQueryInput = {
|
|
285
|
+
account: Scalars['String'];
|
|
286
|
+
id: Scalars['String'];
|
|
287
|
+
};
|
|
288
|
+
export type GetPlayListResult = ErrorGeneral | PlayListArray;
|
|
272
289
|
export type GetTimeLineInput = {
|
|
273
290
|
account: Scalars['String'];
|
|
274
291
|
idEvent: Scalars['String'];
|
|
@@ -303,6 +320,7 @@ export type Mutation = {
|
|
|
303
320
|
changeAccountUsername: ChangeUsernameResult;
|
|
304
321
|
createChatRoom: CreateChatRoomResult;
|
|
305
322
|
createCollection: CollectionResult;
|
|
323
|
+
createPlayList: CreatePlayListResult;
|
|
306
324
|
createSnackVideos: CreateSnackVideoResult;
|
|
307
325
|
deleteAllCustomPlayer: CustomPlayerResult;
|
|
308
326
|
deleteChatMessage: DeleteChatMessageResult;
|
|
@@ -312,10 +330,12 @@ export type Mutation = {
|
|
|
312
330
|
deleteSnackVideo: RelateEntitySnackVideo;
|
|
313
331
|
manageCollectionProduct: CollectionResult;
|
|
314
332
|
pinChatMessage: PinChatMessageResult;
|
|
333
|
+
runQuestionProcessor: RunQuestionProcessorResult;
|
|
315
334
|
runVideoAnalyzer: RunVideoAnalyzerResult;
|
|
316
335
|
saveChatMessage: SaveChatMessageResult;
|
|
317
336
|
updateCollection: CollectionResult;
|
|
318
337
|
updateCustomPlayer: CustomPlayerResult;
|
|
338
|
+
updatePlayList: UpdatePlayListResult;
|
|
319
339
|
updateProgressSnackVideo: UpdateProgressSnackVideosResult;
|
|
320
340
|
};
|
|
321
341
|
export type MutationAppendProductsSnackVideoArgs = {
|
|
@@ -333,6 +353,9 @@ export type MutationCreateChatRoomArgs = {
|
|
|
333
353
|
export type MutationCreateCollectionArgs = {
|
|
334
354
|
data: CreateCollectionInput;
|
|
335
355
|
};
|
|
356
|
+
export type MutationCreatePlayListArgs = {
|
|
357
|
+
data: CreatePlayListInput;
|
|
358
|
+
};
|
|
336
359
|
export type MutationCreateSnackVideosArgs = {
|
|
337
360
|
data: CreateSnackVideoInput;
|
|
338
361
|
};
|
|
@@ -360,6 +383,9 @@ export type MutationManageCollectionProductArgs = {
|
|
|
360
383
|
export type MutationPinChatMessageArgs = {
|
|
361
384
|
data: PinChatInput;
|
|
362
385
|
};
|
|
386
|
+
export type MutationRunQuestionProcessorArgs = {
|
|
387
|
+
data: RunQuestionProcessorInput;
|
|
388
|
+
};
|
|
363
389
|
export type MutationRunVideoAnalyzerArgs = {
|
|
364
390
|
data: RunVideoAnalyzerInput;
|
|
365
391
|
};
|
|
@@ -372,6 +398,9 @@ export type MutationUpdateCollectionArgs = {
|
|
|
372
398
|
export type MutationUpdateCustomPlayerArgs = {
|
|
373
399
|
data: CustomPlayerInput;
|
|
374
400
|
};
|
|
401
|
+
export type MutationUpdatePlayListArgs = {
|
|
402
|
+
data: UpdatePlayListInput;
|
|
403
|
+
};
|
|
375
404
|
export type MutationUpdateProgressSnackVideoArgs = {
|
|
376
405
|
data: UpdateProgressSnackVideosInput;
|
|
377
406
|
};
|
|
@@ -388,6 +417,48 @@ export type PinChatMessageSuccess = {
|
|
|
388
417
|
__typename?: 'PinChatMessageSuccess';
|
|
389
418
|
message: Scalars['String'];
|
|
390
419
|
};
|
|
420
|
+
export type PlayList = {
|
|
421
|
+
__typename?: 'PlayList';
|
|
422
|
+
account: Scalars['String'];
|
|
423
|
+
created: Scalars['String'];
|
|
424
|
+
description: Scalars['String'];
|
|
425
|
+
id: Scalars['String'];
|
|
426
|
+
name: Scalars['String'];
|
|
427
|
+
productAmount: Scalars['Float'];
|
|
428
|
+
updated: Scalars['String'];
|
|
429
|
+
videoAmount: Scalars['Float'];
|
|
430
|
+
videos: Array<PlayListVideo>;
|
|
431
|
+
};
|
|
432
|
+
export type PlayListArray = {
|
|
433
|
+
__typename?: 'PlayListArray';
|
|
434
|
+
data?: Maybe<Array<PlayList>>;
|
|
435
|
+
duration?: Maybe<Scalars['String']>;
|
|
436
|
+
isArray?: Maybe<Scalars['Boolean']>;
|
|
437
|
+
method?: Maybe<Scalars['String']>;
|
|
438
|
+
path?: Maybe<Scalars['String']>;
|
|
439
|
+
};
|
|
440
|
+
export type PlayListData = {
|
|
441
|
+
__typename?: 'PlayListData';
|
|
442
|
+
data?: Maybe<PlayList>;
|
|
443
|
+
duration?: Maybe<Scalars['String']>;
|
|
444
|
+
isArray?: Maybe<Scalars['Boolean']>;
|
|
445
|
+
method?: Maybe<Scalars['String']>;
|
|
446
|
+
path?: Maybe<Scalars['String']>;
|
|
447
|
+
};
|
|
448
|
+
export type PlayListVideo = {
|
|
449
|
+
__typename?: 'PlayListVideo';
|
|
450
|
+
account: Scalars['String'];
|
|
451
|
+
duration?: Maybe<Scalars['Float']>;
|
|
452
|
+
eventId?: Maybe<Scalars['String']>;
|
|
453
|
+
eventName?: Maybe<Scalars['String']>;
|
|
454
|
+
id: Scalars['String'];
|
|
455
|
+
idPlayList: Scalars['String'];
|
|
456
|
+
name?: Maybe<Scalars['String']>;
|
|
457
|
+
order: Scalars['Float'];
|
|
458
|
+
thumbnailUrl?: Maybe<Scalars['String']>;
|
|
459
|
+
transmitionType?: Maybe<Scalars['String']>;
|
|
460
|
+
url?: Maybe<Scalars['String']>;
|
|
461
|
+
};
|
|
391
462
|
export type Product = {
|
|
392
463
|
__typename?: 'Product';
|
|
393
464
|
account: Scalars['String'];
|
|
@@ -411,6 +482,8 @@ export type Query = {
|
|
|
411
482
|
getAllCustomPlayer: CustomPlayerResultArray;
|
|
412
483
|
getAllSnackVideos: SnackVideoGetAll;
|
|
413
484
|
getChatRoomToken: GetChatRoomTokenResult;
|
|
485
|
+
getPlayList: GetPlayListData;
|
|
486
|
+
getPlayLists: GetPlayListResult;
|
|
414
487
|
getRelationshipSnackVideos: RelationshipSnackVideoArrayResponse;
|
|
415
488
|
getTimeLine: GetTimeLineResult;
|
|
416
489
|
searchCollection: CollectionResultArray;
|
|
@@ -444,6 +517,12 @@ export type QueryGetAllSnackVideosArgs = {
|
|
|
444
517
|
export type QueryGetChatRoomTokenArgs = {
|
|
445
518
|
data: GetChatRoomInput;
|
|
446
519
|
};
|
|
520
|
+
export type QueryGetPlayListArgs = {
|
|
521
|
+
data: GetPlayListQueryInput;
|
|
522
|
+
};
|
|
523
|
+
export type QueryGetPlayListsArgs = {
|
|
524
|
+
data: QueryInput;
|
|
525
|
+
};
|
|
447
526
|
export type QueryGetRelationshipSnackVideosArgs = {
|
|
448
527
|
data: SnackVideoRelationshipInput;
|
|
449
528
|
};
|
|
@@ -496,6 +575,15 @@ export type RelationshipSnackVideoArray = {
|
|
|
496
575
|
path?: Maybe<Scalars['String']>;
|
|
497
576
|
};
|
|
498
577
|
export type RelationshipSnackVideoArrayResponse = ErrorGeneral | RelationshipSnackVideoArray;
|
|
578
|
+
export type RunQuestionProcessorInput = {
|
|
579
|
+
account: Scalars['String'];
|
|
580
|
+
idEvent: Scalars['String'];
|
|
581
|
+
};
|
|
582
|
+
export type RunQuestionProcessorMessageSuccess = {
|
|
583
|
+
__typename?: 'RunQuestionProcessorMessageSuccess';
|
|
584
|
+
message: Scalars['String'];
|
|
585
|
+
};
|
|
586
|
+
export type RunQuestionProcessorResult = ErrorGeneral | RunQuestionProcessorMessageSuccess;
|
|
499
587
|
export type RunVideoAnalyzerInput = {
|
|
500
588
|
account: Scalars['String'];
|
|
501
589
|
idEvent: Scalars['String'];
|
|
@@ -543,21 +631,21 @@ export type SearchInput = {
|
|
|
543
631
|
includeTotal?: InputMaybe<Scalars['Boolean']>;
|
|
544
632
|
limit?: InputMaybe<Scalars['Float']>;
|
|
545
633
|
page?: InputMaybe<Scalars['Float']>;
|
|
546
|
-
search
|
|
634
|
+
search: Scalars['String'];
|
|
547
635
|
};
|
|
548
636
|
export type SnackVideo = {
|
|
549
637
|
__typename?: 'SnackVideo';
|
|
550
638
|
account: Scalars['String'];
|
|
551
639
|
created?: Maybe<Scalars['String']>;
|
|
552
|
-
duration
|
|
553
|
-
eventId
|
|
554
|
-
eventName
|
|
640
|
+
duration?: Maybe<Scalars['Float']>;
|
|
641
|
+
eventId?: Maybe<Scalars['String']>;
|
|
642
|
+
eventName?: Maybe<Scalars['String']>;
|
|
555
643
|
id: Scalars['String'];
|
|
556
|
-
name
|
|
557
|
-
thumbnailUrl
|
|
644
|
+
name?: Maybe<Scalars['String']>;
|
|
645
|
+
thumbnailUrl?: Maybe<Scalars['String']>;
|
|
558
646
|
transmitionType?: Maybe<Scalars['String']>;
|
|
559
647
|
uploadProgress: Scalars['Float'];
|
|
560
|
-
url
|
|
648
|
+
url?: Maybe<Scalars['String']>;
|
|
561
649
|
};
|
|
562
650
|
export type SnackVideoArray = {
|
|
563
651
|
__typename?: 'SnackVideoArray';
|
|
@@ -582,40 +670,6 @@ export type SnackVideoCreatedWithCursor = {
|
|
|
582
670
|
totalItems?: Maybe<Scalars['Float']>;
|
|
583
671
|
};
|
|
584
672
|
export type SnackVideoGetAll = ErrorGeneral | SnackVideoCreatedArray;
|
|
585
|
-
export type PlayList = {
|
|
586
|
-
__typename?: 'PlayList';
|
|
587
|
-
account: Scalars['String'];
|
|
588
|
-
created: Maybe<Scalars['String']>;
|
|
589
|
-
description: Scalars['String'];
|
|
590
|
-
updated: Scalars['String'];
|
|
591
|
-
videoAmount: Scalars['Float'];
|
|
592
|
-
id: Scalars['String'];
|
|
593
|
-
name: Scalars['String'];
|
|
594
|
-
productAmount: Scalars['Float'];
|
|
595
|
-
videos: Maybe<Array<PlayList>>;
|
|
596
|
-
};
|
|
597
|
-
export type PlayListVideo = {
|
|
598
|
-
__typename?: 'PlayListVideo';
|
|
599
|
-
account: Scalars['String'];
|
|
600
|
-
id: Scalars['String'];
|
|
601
|
-
name: Scalars['String'];
|
|
602
|
-
url: Scalars['String'];
|
|
603
|
-
thumbnailUrl: Scalars['String'];
|
|
604
|
-
duration: Scalars['Float'];
|
|
605
|
-
eventId: Scalars['String'];
|
|
606
|
-
eventName: Scalars['String'];
|
|
607
|
-
transmitionType: Scalars['String'];
|
|
608
|
-
order: Scalars['Float'];
|
|
609
|
-
idPlayList: Scalars['String'];
|
|
610
|
-
};
|
|
611
|
-
export type PlayListArray = {
|
|
612
|
-
__typename?: 'PlayListArray';
|
|
613
|
-
data?: Maybe<Array<PlayList>>;
|
|
614
|
-
duration?: Maybe<Scalars['String']>;
|
|
615
|
-
isArray?: Maybe<Scalars['Boolean']>;
|
|
616
|
-
method?: Maybe<Scalars['String']>;
|
|
617
|
-
path?: Maybe<Scalars['String']>;
|
|
618
|
-
};
|
|
619
673
|
export type SnackVideoRelationshipInput = {
|
|
620
674
|
account: Scalars['String'];
|
|
621
675
|
snackVideoId: Scalars['String'];
|
|
@@ -630,17 +684,17 @@ export type SnackVideosCreated = {
|
|
|
630
684
|
__typename?: 'SnackVideosCreated';
|
|
631
685
|
account: Scalars['String'];
|
|
632
686
|
created: Scalars['String'];
|
|
633
|
-
duration
|
|
687
|
+
duration?: Maybe<Scalars['Float']>;
|
|
634
688
|
entity: Scalars['String'];
|
|
635
|
-
eventId
|
|
636
|
-
eventName
|
|
689
|
+
eventId?: Maybe<Scalars['String']>;
|
|
690
|
+
eventName?: Maybe<Scalars['String']>;
|
|
637
691
|
id: Scalars['String'];
|
|
638
692
|
modified: Scalars['String'];
|
|
639
|
-
name
|
|
640
|
-
thumbnailUrl
|
|
693
|
+
name?: Maybe<Scalars['String']>;
|
|
694
|
+
thumbnailUrl?: Maybe<Scalars['String']>;
|
|
641
695
|
transmitionType?: Maybe<Scalars['String']>;
|
|
642
696
|
uploadProgress: Scalars['Float'];
|
|
643
|
-
url
|
|
697
|
+
url?: Maybe<Scalars['String']>;
|
|
644
698
|
};
|
|
645
699
|
export declare enum Status {
|
|
646
700
|
Active = "active",
|
|
@@ -671,6 +725,18 @@ export type UpdateCollectionInput = {
|
|
|
671
725
|
name?: InputMaybe<Scalars['String']>;
|
|
672
726
|
status?: InputMaybe<Status>;
|
|
673
727
|
};
|
|
728
|
+
export type UpdatePlayListInput = {
|
|
729
|
+
account: Scalars['String'];
|
|
730
|
+
description?: InputMaybe<Scalars['String']>;
|
|
731
|
+
id: Scalars['String'];
|
|
732
|
+
name?: InputMaybe<Scalars['String']>;
|
|
733
|
+
videos?: InputMaybe<Array<CreatePlayListVideoInput>>;
|
|
734
|
+
};
|
|
735
|
+
export type UpdatePlayListResult = ErrorGeneral | UpdatePlayListSuccess;
|
|
736
|
+
export type UpdatePlayListSuccess = {
|
|
737
|
+
__typename?: 'UpdatePlayListSuccess';
|
|
738
|
+
message: Scalars['String'];
|
|
739
|
+
};
|
|
674
740
|
export type UpdateProgressSnackVideos = {
|
|
675
741
|
__typename?: 'UpdateProgressSnackVideos';
|
|
676
742
|
account: Scalars['String'];
|
|
@@ -1154,39 +1220,13 @@ export type FindManySnackVideosQuery = {
|
|
|
1154
1220
|
data?: Array<{
|
|
1155
1221
|
__typename?: 'SnackVideo';
|
|
1156
1222
|
id: string;
|
|
1157
|
-
name
|
|
1158
|
-
url
|
|
1159
|
-
thumbnailUrl
|
|
1160
|
-
uploadProgress: number;
|
|
1161
|
-
duration: number;
|
|
1162
|
-
eventId: string;
|
|
1163
|
-
eventName: string;
|
|
1164
|
-
transmitionType?: string | null;
|
|
1165
|
-
}> | null;
|
|
1166
|
-
};
|
|
1167
|
-
};
|
|
1168
|
-
export type GetPlayListsQueryVariables = Exact<{
|
|
1169
|
-
data: GetPlayListInput;
|
|
1170
|
-
}>;
|
|
1171
|
-
export type GetPlayListQuery = {
|
|
1172
|
-
__typename?: 'Query';
|
|
1173
|
-
getPlayLists: {
|
|
1174
|
-
__typename: 'ErrorGeneral';
|
|
1175
|
-
message: string;
|
|
1176
|
-
statusCode: string;
|
|
1177
|
-
timestamp: string;
|
|
1178
|
-
} | {
|
|
1179
|
-
__typename: 'PlayListArray';
|
|
1180
|
-
data?: Array<{
|
|
1181
|
-
__typename?: 'PlayList';
|
|
1182
|
-
id: string;
|
|
1183
|
-
name: string;
|
|
1184
|
-
url: string;
|
|
1185
|
-
thumbnailUrl: string;
|
|
1223
|
+
name?: string | null;
|
|
1224
|
+
url?: string | null;
|
|
1225
|
+
thumbnailUrl?: string | null;
|
|
1186
1226
|
uploadProgress: number;
|
|
1187
|
-
duration
|
|
1188
|
-
eventId
|
|
1189
|
-
eventName
|
|
1227
|
+
duration?: number | null;
|
|
1228
|
+
eventId?: string | null;
|
|
1229
|
+
eventName?: string | null;
|
|
1190
1230
|
transmitionType?: string | null;
|
|
1191
1231
|
}> | null;
|
|
1192
1232
|
};
|
|
@@ -1210,19 +1250,46 @@ export type GetAllSnackVideosQuery = {
|
|
|
1210
1250
|
snackVideos?: Array<{
|
|
1211
1251
|
__typename?: 'SnackVideosCreated';
|
|
1212
1252
|
id: string;
|
|
1213
|
-
name
|
|
1214
|
-
url
|
|
1215
|
-
thumbnailUrl
|
|
1253
|
+
name?: string | null;
|
|
1254
|
+
url?: string | null;
|
|
1255
|
+
thumbnailUrl?: string | null;
|
|
1216
1256
|
uploadProgress: number;
|
|
1217
|
-
duration
|
|
1218
|
-
eventId
|
|
1219
|
-
eventName
|
|
1257
|
+
duration?: number | null;
|
|
1258
|
+
eventId?: string | null;
|
|
1259
|
+
eventName?: string | null;
|
|
1220
1260
|
created: string;
|
|
1221
1261
|
transmitionType?: string | null;
|
|
1222
1262
|
}> | null;
|
|
1223
1263
|
} | null;
|
|
1224
1264
|
};
|
|
1225
1265
|
};
|
|
1266
|
+
export type GetPlayListsQueryVariables = Exact<{
|
|
1267
|
+
data: QueryInput;
|
|
1268
|
+
}>;
|
|
1269
|
+
export type GetPlayListsQuery = {
|
|
1270
|
+
__typename?: 'Query';
|
|
1271
|
+
getPlayLists: {
|
|
1272
|
+
__typename: 'ErrorGeneral';
|
|
1273
|
+
message: string;
|
|
1274
|
+
statusCode: string;
|
|
1275
|
+
timestamp: string;
|
|
1276
|
+
} | {
|
|
1277
|
+
__typename: 'PlayListArray';
|
|
1278
|
+
data?: Array<{
|
|
1279
|
+
__typename?: 'PlayList';
|
|
1280
|
+
id: string;
|
|
1281
|
+
description: string;
|
|
1282
|
+
created: string;
|
|
1283
|
+
updated: string;
|
|
1284
|
+
videos: Array<{
|
|
1285
|
+
__typename?: 'PlayListVideo';
|
|
1286
|
+
id: string;
|
|
1287
|
+
thumbnailUrl?: string | null;
|
|
1288
|
+
order: number;
|
|
1289
|
+
}>;
|
|
1290
|
+
}> | null;
|
|
1291
|
+
};
|
|
1292
|
+
};
|
|
1226
1293
|
export type GetSnackVideoRelationshipsQueryVariables = Exact<{
|
|
1227
1294
|
data: SnackVideoRelationshipInput;
|
|
1228
1295
|
}>;
|
|
@@ -1258,13 +1325,13 @@ export type SearchSnackVideosQuery = {
|
|
|
1258
1325
|
snackVideos?: Array<{
|
|
1259
1326
|
__typename?: 'SnackVideosCreated';
|
|
1260
1327
|
id: string;
|
|
1261
|
-
name
|
|
1262
|
-
url
|
|
1263
|
-
thumbnailUrl
|
|
1328
|
+
name?: string | null;
|
|
1329
|
+
url?: string | null;
|
|
1330
|
+
thumbnailUrl?: string | null;
|
|
1264
1331
|
uploadProgress: number;
|
|
1265
|
-
duration
|
|
1266
|
-
eventId
|
|
1267
|
-
eventName
|
|
1332
|
+
duration?: number | null;
|
|
1333
|
+
eventId?: string | null;
|
|
1334
|
+
eventName?: string | null;
|
|
1268
1335
|
created: string;
|
|
1269
1336
|
}> | null;
|
|
1270
1337
|
} | null;
|
|
@@ -1285,10 +1352,10 @@ export type FindByProductSnackVideoQuery = {
|
|
|
1285
1352
|
data?: Array<{
|
|
1286
1353
|
__typename?: 'SnackVideo';
|
|
1287
1354
|
id: string;
|
|
1288
|
-
name
|
|
1289
|
-
url
|
|
1290
|
-
thumbnailUrl
|
|
1291
|
-
duration
|
|
1355
|
+
name?: string | null;
|
|
1356
|
+
url?: string | null;
|
|
1357
|
+
thumbnailUrl?: string | null;
|
|
1358
|
+
duration?: number | null;
|
|
1292
1359
|
transmitionType?: string | null;
|
|
1293
1360
|
}> | null;
|
|
1294
1361
|
};
|
|
@@ -1365,12 +1432,12 @@ export declare const DeleteSnackVideoDocument: DocumentNode<DeleteSnackVideoMuta
|
|
|
1365
1432
|
export declare const FindManySnackVideosDocument: DocumentNode<FindManySnackVideosQuery, Exact<{
|
|
1366
1433
|
data: FindManySnackVideoInput;
|
|
1367
1434
|
}>>;
|
|
1368
|
-
export declare const GetPlayListsDocument: DocumentNode<GetPlayListQuery, Exact<{
|
|
1369
|
-
data: GetPlayListInput;
|
|
1370
|
-
}>>;
|
|
1371
1435
|
export declare const GetAllSnackVideosDocument: DocumentNode<GetAllSnackVideosQuery, Exact<{
|
|
1372
1436
|
data: QueryInput;
|
|
1373
1437
|
}>>;
|
|
1438
|
+
export declare const GetPlayListsDocument: DocumentNode<GetPlayListsQuery, Exact<{
|
|
1439
|
+
data: QueryInput;
|
|
1440
|
+
}>>;
|
|
1374
1441
|
export declare const GetSnackVideoRelationshipsDocument: DocumentNode<GetSnackVideoRelationshipsQuery, Exact<{
|
|
1375
1442
|
data: SnackVideoRelationshipInput;
|
|
1376
1443
|
}>>;
|
package/dist/package.json
CHANGED