@nizza/core 0.5.0 → 0.5.1
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/README.md +87 -1
- package/dist/index.cjs +6 -6
- package/dist/index.mjs +3616 -183
- package/dist/lib/nizza-store/NizzaStore.d.ts +1 -1
- package/dist/lib/types/api-graphql-types.d.ts +68 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { NizzaStore as INizzaStore, NizzaConfig, NizzaProductDataSource } from '
|
|
|
4
4
|
import { Logger } from '../utils/logger';
|
|
5
5
|
export declare class NizzaStore implements INizzaStore {
|
|
6
6
|
private static _instance;
|
|
7
|
-
readonly version = "1
|
|
7
|
+
readonly version = "1";
|
|
8
8
|
readonly instanceId: string;
|
|
9
9
|
private _config;
|
|
10
10
|
private _account?;
|
|
@@ -254,6 +254,10 @@ export type FindManySnackVideoInput = {
|
|
|
254
254
|
ids: Array<Scalars['String']>;
|
|
255
255
|
};
|
|
256
256
|
export type FindManySnackVideoResult = ErrorGeneral | SnackVideoArray;
|
|
257
|
+
export type GetPlayListInput = {
|
|
258
|
+
account: Scalars['String'];
|
|
259
|
+
};
|
|
260
|
+
export type GetPlayListResult = ErrorGeneral | PlayListArray;
|
|
257
261
|
export type GetAllChatMessageInput = {
|
|
258
262
|
account: Scalars['String'];
|
|
259
263
|
idEvent: Scalars['String'];
|
|
@@ -539,7 +543,7 @@ export type SearchInput = {
|
|
|
539
543
|
includeTotal?: InputMaybe<Scalars['Boolean']>;
|
|
540
544
|
limit?: InputMaybe<Scalars['Float']>;
|
|
541
545
|
page?: InputMaybe<Scalars['Float']>;
|
|
542
|
-
search
|
|
546
|
+
search?: Scalars['String'];
|
|
543
547
|
};
|
|
544
548
|
export type SnackVideo = {
|
|
545
549
|
__typename?: 'SnackVideo';
|
|
@@ -578,6 +582,40 @@ export type SnackVideoCreatedWithCursor = {
|
|
|
578
582
|
totalItems?: Maybe<Scalars['Float']>;
|
|
579
583
|
};
|
|
580
584
|
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
|
+
};
|
|
581
619
|
export type SnackVideoRelationshipInput = {
|
|
582
620
|
account: Scalars['String'];
|
|
583
621
|
snackVideoId: Scalars['String'];
|
|
@@ -1127,6 +1165,32 @@ export type FindManySnackVideosQuery = {
|
|
|
1127
1165
|
}> | null;
|
|
1128
1166
|
};
|
|
1129
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;
|
|
1186
|
+
uploadProgress: number;
|
|
1187
|
+
duration: number;
|
|
1188
|
+
eventId: string;
|
|
1189
|
+
eventName: string;
|
|
1190
|
+
transmitionType?: string | null;
|
|
1191
|
+
}> | null;
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1130
1194
|
export type GetAllSnackVideosQueryVariables = Exact<{
|
|
1131
1195
|
data: QueryInput;
|
|
1132
1196
|
}>;
|
|
@@ -1301,6 +1365,9 @@ export declare const DeleteSnackVideoDocument: DocumentNode<DeleteSnackVideoMuta
|
|
|
1301
1365
|
export declare const FindManySnackVideosDocument: DocumentNode<FindManySnackVideosQuery, Exact<{
|
|
1302
1366
|
data: FindManySnackVideoInput;
|
|
1303
1367
|
}>>;
|
|
1368
|
+
export declare const GetPlayListsDocument: DocumentNode<GetPlayListQuery, Exact<{
|
|
1369
|
+
data: GetPlayListInput;
|
|
1370
|
+
}>>;
|
|
1304
1371
|
export declare const GetAllSnackVideosDocument: DocumentNode<GetAllSnackVideosQuery, Exact<{
|
|
1305
1372
|
data: QueryInput;
|
|
1306
1373
|
}>>;
|
package/dist/package.json
CHANGED