@nizza/core 0.4.1 → 0.4.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.
@@ -26,6 +26,25 @@ export type ActionSnackVideoSuccess = {
26
26
  __typename?: 'ActionSnackVideoSuccess';
27
27
  message: Scalars['String'];
28
28
  };
29
+ export type BlockUserInput = {
30
+ account: Scalars['String'];
31
+ idEvent: Scalars['String'];
32
+ username: Scalars['String'];
33
+ };
34
+ export type BlockUserResult = BlockUserSuccess | ErrorGeneral;
35
+ export type BlockUserSuccess = {
36
+ __typename?: 'BlockUserSuccess';
37
+ message: Scalars['String'];
38
+ };
39
+ export type ChangeUsernameInput = {
40
+ account: Scalars['String'];
41
+ username: Scalars['String'];
42
+ };
43
+ export type ChangeUsernameResult = ChangeUsernameSuccess | ErrorGeneral;
44
+ export type ChangeUsernameSuccess = {
45
+ __typename?: 'ChangeUsernameSuccess';
46
+ message: Scalars['String'];
47
+ };
29
48
  export type ChatMessage = {
30
49
  __typename?: 'ChatMessage';
31
50
  account: Scalars['String'];
@@ -38,6 +57,7 @@ export type ChatMessage = {
38
57
  sendDate?: Maybe<Scalars['String']>;
39
58
  sessionId?: Maybe<Scalars['String']>;
40
59
  type?: Maybe<Scalars['String']>;
60
+ urlGif?: Maybe<Scalars['String']>;
41
61
  username?: Maybe<Scalars['String']>;
42
62
  };
43
63
  export type ChatMessageArray = {
@@ -267,6 +287,8 @@ export declare enum Methods {
267
287
  export type Mutation = {
268
288
  __typename?: 'Mutation';
269
289
  appendProductsSnackVideo: RelateEntitySnackVideo;
290
+ blockUser: BlockUserResult;
291
+ changeAccountUsername: ChangeUsernameResult;
270
292
  createChatRoom: CreateChatRoomResult;
271
293
  createCollection: CollectionResult;
272
294
  createSnackVideos: CreateSnackVideoResult;
@@ -287,6 +309,12 @@ export type Mutation = {
287
309
  export type MutationAppendProductsSnackVideoArgs = {
288
310
  data: RelateToProductsSnackVideoInput;
289
311
  };
312
+ export type MutationBlockUserArgs = {
313
+ data: BlockUserInput;
314
+ };
315
+ export type MutationChangeAccountUsernameArgs = {
316
+ data: ChangeUsernameInput;
317
+ };
290
318
  export type MutationCreateChatRoomArgs = {
291
319
  data: CreateChatRoomInput;
292
320
  };
@@ -593,6 +621,171 @@ export type UpdateProgressSnackVideosInput = {
593
621
  progress: Scalars['Float'];
594
622
  };
595
623
  export type UpdateProgressSnackVideosResult = ErrorGeneral | UpdateProgressSnackVideosData;
624
+ export type AppendProductsToSnackVideoMutationVariables = Exact<{
625
+ data: RelateToProductsSnackVideoInput;
626
+ }>;
627
+ export type AppendProductsToSnackVideoMutation = {
628
+ __typename?: 'Mutation';
629
+ appendProductsSnackVideo: {
630
+ __typename: 'ActionSnackVideoSuccess';
631
+ message: string;
632
+ } | {
633
+ __typename: 'ErrorGeneral';
634
+ message: string;
635
+ statusCode: string;
636
+ timestamp: string;
637
+ };
638
+ };
639
+ export type CreateSnackVideoBatchMutationVariables = Exact<{
640
+ data: CreateSnackVideoInput;
641
+ }>;
642
+ export type CreateSnackVideoBatchMutation = {
643
+ __typename?: 'Mutation';
644
+ createSnackVideos: {
645
+ __typename: 'ErrorGeneral';
646
+ message: string;
647
+ statusCode: string;
648
+ timestamp: string;
649
+ } | {
650
+ __typename: 'SnackVideoArray';
651
+ data?: Array<{
652
+ __typename?: 'SnackVideo';
653
+ id: string;
654
+ }> | null;
655
+ };
656
+ };
657
+ export type DeleteRelationshipWithSnackVideoMutationVariables = Exact<{
658
+ data: SnackVideoRelationshipKeys;
659
+ }>;
660
+ export type DeleteRelationshipWithSnackVideoMutation = {
661
+ __typename?: 'Mutation';
662
+ deleteRelationshipSnackVideo: {
663
+ __typename: 'ActionSnackVideoSuccess';
664
+ message: string;
665
+ } | {
666
+ __typename: 'ErrorGeneral';
667
+ message: string;
668
+ statusCode: string;
669
+ };
670
+ };
671
+ export type DeleteSnackVideoMutationVariables = Exact<{
672
+ data: DeleteSnackVideoInput;
673
+ }>;
674
+ export type DeleteSnackVideoMutation = {
675
+ __typename?: 'Mutation';
676
+ deleteSnackVideo: {
677
+ __typename: 'ActionSnackVideoSuccess';
678
+ message: string;
679
+ } | {
680
+ __typename: 'ErrorGeneral';
681
+ message: string;
682
+ };
683
+ };
684
+ export type FindManySnackVideosQueryVariables = Exact<{
685
+ data: FindManySnackVideoInput;
686
+ }>;
687
+ export type FindManySnackVideosQuery = {
688
+ __typename?: 'Query';
689
+ findManySnackVideos: {
690
+ __typename: 'ErrorGeneral';
691
+ message: string;
692
+ statusCode: string;
693
+ timestamp: string;
694
+ } | {
695
+ __typename: 'SnackVideoArray';
696
+ data?: Array<{
697
+ __typename?: 'SnackVideo';
698
+ id: string;
699
+ name: string;
700
+ url: string;
701
+ thumbnailUrl: string;
702
+ uploadProgress: number;
703
+ duration: number;
704
+ eventId: string;
705
+ eventName: string;
706
+ transmitionType?: string | null;
707
+ }> | null;
708
+ };
709
+ };
710
+ export type GetAllSnackVideosQueryVariables = Exact<{
711
+ data: QueryInput;
712
+ }>;
713
+ export type GetAllSnackVideosQuery = {
714
+ __typename?: 'Query';
715
+ getAllSnackVideos: {
716
+ __typename: 'ErrorGeneral';
717
+ message: string;
718
+ statusCode: string;
719
+ timestamp: string;
720
+ } | {
721
+ __typename: 'SnackVideoCreatedArray';
722
+ data?: {
723
+ __typename?: 'SnackVideoCreatedWithCursor';
724
+ cursor?: any | null;
725
+ totalItems?: number | null;
726
+ snackVideos?: Array<{
727
+ __typename?: 'SnackVideosCreated';
728
+ id: string;
729
+ name: string;
730
+ url: string;
731
+ thumbnailUrl: string;
732
+ uploadProgress: number;
733
+ duration: number;
734
+ eventId: string;
735
+ eventName: string;
736
+ created: string;
737
+ transmitionType?: string | null;
738
+ }> | null;
739
+ } | null;
740
+ };
741
+ };
742
+ export type GetSnackVideoRelationshipsQueryVariables = Exact<{
743
+ data: SnackVideoRelationshipInput;
744
+ }>;
745
+ export type GetSnackVideoRelationshipsQuery = {
746
+ __typename?: 'Query';
747
+ getRelationshipSnackVideos: {
748
+ __typename: 'ErrorGeneral';
749
+ } | {
750
+ __typename: 'RelationshipSnackVideoArray';
751
+ data?: Array<{
752
+ __typename?: 'RelationshipSnackVideo';
753
+ sourceEntity: string;
754
+ attributeId: string;
755
+ }> | null;
756
+ };
757
+ };
758
+ export type SearchSnackVideosQueryVariables = Exact<{
759
+ data: SearchInput;
760
+ }>;
761
+ export type SearchSnackVideosQuery = {
762
+ __typename?: 'Query';
763
+ searchSnackVideos: {
764
+ __typename: 'ErrorGeneral';
765
+ message: string;
766
+ statusCode: string;
767
+ timestamp: string;
768
+ } | {
769
+ __typename: 'SnackVideoCreatedArray';
770
+ data?: {
771
+ __typename?: 'SnackVideoCreatedWithCursor';
772
+ cursor?: any | null;
773
+ totalItems?: number | null;
774
+ snackVideos?: Array<{
775
+ __typename?: 'SnackVideosCreated';
776
+ id: string;
777
+ name: string;
778
+ url: string;
779
+ thumbnailUrl: string;
780
+ uploadProgress: number;
781
+ duration: number;
782
+ eventId: string;
783
+ eventName: string;
784
+ created: string;
785
+ }> | null;
786
+ } | null;
787
+ };
788
+ };
596
789
  export type DeleteAllCustomizationMutationVariables = Exact<{
597
790
  data: CustomPlayerInputAccount;
598
791
  }>;
@@ -642,6 +835,32 @@ export type UpdateCustomizationMutation = {
642
835
  timestamp: string;
643
836
  };
644
837
  };
838
+ export type BlockUserMutationVariables = Exact<{
839
+ data: BlockUserInput;
840
+ }>;
841
+ export type BlockUserMutation = {
842
+ __typename?: 'Mutation';
843
+ blockUser: {
844
+ __typename: 'BlockUserSuccess';
845
+ message: string;
846
+ } | {
847
+ __typename: 'ErrorGeneral';
848
+ message: string;
849
+ };
850
+ };
851
+ export type ChangeAccountUsernameMutationVariables = Exact<{
852
+ data: ChangeUsernameInput;
853
+ }>;
854
+ export type ChangeAccountUsernameMutation = {
855
+ __typename?: 'Mutation';
856
+ changeAccountUsername: {
857
+ __typename: 'ChangeUsernameSuccess';
858
+ message: string;
859
+ } | {
860
+ __typename: 'ErrorGeneral';
861
+ message: string;
862
+ };
863
+ };
645
864
  export type DeleteChatMessageMutationVariables = Exact<{
646
865
  data: DeleteChatInput;
647
866
  }>;
@@ -675,6 +894,7 @@ export type GetAllChatMessageQuery = {
675
894
  type?: string | null;
676
895
  username?: string | null;
677
896
  isAdmin?: boolean | null;
897
+ urlGif?: string | null;
678
898
  }> | null;
679
899
  } | {
680
900
  __typename: 'ErrorGeneral';
@@ -928,171 +1148,6 @@ export type SearchMinimalEventsQuery = {
928
1148
  }> | null;
929
1149
  };
930
1150
  };
931
- export type AppendProductsToSnackVideoMutationVariables = Exact<{
932
- data: RelateToProductsSnackVideoInput;
933
- }>;
934
- export type AppendProductsToSnackVideoMutation = {
935
- __typename?: 'Mutation';
936
- appendProductsSnackVideo: {
937
- __typename: 'ActionSnackVideoSuccess';
938
- message: string;
939
- } | {
940
- __typename: 'ErrorGeneral';
941
- message: string;
942
- statusCode: string;
943
- timestamp: string;
944
- };
945
- };
946
- export type CreateSnackVideoBatchMutationVariables = Exact<{
947
- data: CreateSnackVideoInput;
948
- }>;
949
- export type CreateSnackVideoBatchMutation = {
950
- __typename?: 'Mutation';
951
- createSnackVideos: {
952
- __typename: 'ErrorGeneral';
953
- message: string;
954
- statusCode: string;
955
- timestamp: string;
956
- } | {
957
- __typename: 'SnackVideoArray';
958
- data?: Array<{
959
- __typename?: 'SnackVideo';
960
- id: string;
961
- }> | null;
962
- };
963
- };
964
- export type DeleteRelationshipWithSnackVideoMutationVariables = Exact<{
965
- data: SnackVideoRelationshipKeys;
966
- }>;
967
- export type DeleteRelationshipWithSnackVideoMutation = {
968
- __typename?: 'Mutation';
969
- deleteRelationshipSnackVideo: {
970
- __typename: 'ActionSnackVideoSuccess';
971
- message: string;
972
- } | {
973
- __typename: 'ErrorGeneral';
974
- message: string;
975
- statusCode: string;
976
- };
977
- };
978
- export type DeleteSnackVideoMutationVariables = Exact<{
979
- data: DeleteSnackVideoInput;
980
- }>;
981
- export type DeleteSnackVideoMutation = {
982
- __typename?: 'Mutation';
983
- deleteSnackVideo: {
984
- __typename: 'ActionSnackVideoSuccess';
985
- message: string;
986
- } | {
987
- __typename: 'ErrorGeneral';
988
- message: string;
989
- };
990
- };
991
- export type FindManySnackVideosQueryVariables = Exact<{
992
- data: FindManySnackVideoInput;
993
- }>;
994
- export type FindManySnackVideosQuery = {
995
- __typename?: 'Query';
996
- findManySnackVideos: {
997
- __typename: 'ErrorGeneral';
998
- message: string;
999
- statusCode: string;
1000
- timestamp: string;
1001
- } | {
1002
- __typename: 'SnackVideoArray';
1003
- data?: Array<{
1004
- __typename?: 'SnackVideo';
1005
- id: string;
1006
- name: string;
1007
- url: string;
1008
- thumbnailUrl: string;
1009
- uploadProgress: number;
1010
- duration: number;
1011
- eventId: string;
1012
- eventName: string;
1013
- transmitionType?: string | null;
1014
- }> | null;
1015
- };
1016
- };
1017
- export type GetAllSnackVideosQueryVariables = Exact<{
1018
- data: QueryInput;
1019
- }>;
1020
- export type GetAllSnackVideosQuery = {
1021
- __typename?: 'Query';
1022
- getAllSnackVideos: {
1023
- __typename: 'ErrorGeneral';
1024
- message: string;
1025
- statusCode: string;
1026
- timestamp: string;
1027
- } | {
1028
- __typename: 'SnackVideoCreatedArray';
1029
- data?: {
1030
- __typename?: 'SnackVideoCreatedWithCursor';
1031
- cursor?: any | null;
1032
- totalItems?: number | null;
1033
- snackVideos?: Array<{
1034
- __typename?: 'SnackVideosCreated';
1035
- id: string;
1036
- name: string;
1037
- url: string;
1038
- thumbnailUrl: string;
1039
- uploadProgress: number;
1040
- duration: number;
1041
- eventId: string;
1042
- eventName: string;
1043
- created: string;
1044
- transmitionType?: string | null;
1045
- }> | null;
1046
- } | null;
1047
- };
1048
- };
1049
- export type GetSnackVideoRelationshipsQueryVariables = Exact<{
1050
- data: SnackVideoRelationshipInput;
1051
- }>;
1052
- export type GetSnackVideoRelationshipsQuery = {
1053
- __typename?: 'Query';
1054
- getRelationshipSnackVideos: {
1055
- __typename: 'ErrorGeneral';
1056
- } | {
1057
- __typename: 'RelationshipSnackVideoArray';
1058
- data?: Array<{
1059
- __typename?: 'RelationshipSnackVideo';
1060
- sourceEntity: string;
1061
- attributeId: string;
1062
- }> | null;
1063
- };
1064
- };
1065
- export type SearchSnackVideosQueryVariables = Exact<{
1066
- data: SearchInput;
1067
- }>;
1068
- export type SearchSnackVideosQuery = {
1069
- __typename?: 'Query';
1070
- searchSnackVideos: {
1071
- __typename: 'ErrorGeneral';
1072
- message: string;
1073
- statusCode: string;
1074
- timestamp: string;
1075
- } | {
1076
- __typename: 'SnackVideoCreatedArray';
1077
- data?: {
1078
- __typename?: 'SnackVideoCreatedWithCursor';
1079
- cursor?: any | null;
1080
- totalItems?: number | null;
1081
- snackVideos?: Array<{
1082
- __typename?: 'SnackVideosCreated';
1083
- id: string;
1084
- name: string;
1085
- url: string;
1086
- thumbnailUrl: string;
1087
- uploadProgress: number;
1088
- duration: number;
1089
- eventId: string;
1090
- eventName: string;
1091
- created: string;
1092
- }> | null;
1093
- } | null;
1094
- };
1095
- };
1096
1151
  export type FindByProductSnackVideoQueryVariables = Exact<{
1097
1152
  data: FindByProductSnackVideoInput;
1098
1153
  }>;
@@ -1116,6 +1171,30 @@ export type FindByProductSnackVideoQuery = {
1116
1171
  }> | null;
1117
1172
  };
1118
1173
  };
1174
+ export declare const AppendProductsToSnackVideoDocument: DocumentNode<AppendProductsToSnackVideoMutation, Exact<{
1175
+ data: RelateToProductsSnackVideoInput;
1176
+ }>>;
1177
+ export declare const CreateSnackVideoBatchDocument: DocumentNode<CreateSnackVideoBatchMutation, Exact<{
1178
+ data: CreateSnackVideoInput;
1179
+ }>>;
1180
+ export declare const DeleteRelationshipWithSnackVideoDocument: DocumentNode<DeleteRelationshipWithSnackVideoMutation, Exact<{
1181
+ data: SnackVideoRelationshipKeys;
1182
+ }>>;
1183
+ export declare const DeleteSnackVideoDocument: DocumentNode<DeleteSnackVideoMutation, Exact<{
1184
+ data: DeleteSnackVideoInput;
1185
+ }>>;
1186
+ export declare const FindManySnackVideosDocument: DocumentNode<FindManySnackVideosQuery, Exact<{
1187
+ data: FindManySnackVideoInput;
1188
+ }>>;
1189
+ export declare const GetAllSnackVideosDocument: DocumentNode<GetAllSnackVideosQuery, Exact<{
1190
+ data: QueryInput;
1191
+ }>>;
1192
+ export declare const GetSnackVideoRelationshipsDocument: DocumentNode<GetSnackVideoRelationshipsQuery, Exact<{
1193
+ data: SnackVideoRelationshipInput;
1194
+ }>>;
1195
+ export declare const SearchSnackVideosDocument: DocumentNode<SearchSnackVideosQuery, Exact<{
1196
+ data: SearchInput;
1197
+ }>>;
1119
1198
  export declare const DeleteAllCustomizationDocument: DocumentNode<DeleteAllCustomizationMutation, Exact<{
1120
1199
  data: CustomPlayerInputAccount;
1121
1200
  }>>;
@@ -1125,6 +1204,12 @@ export declare const GetAllCustomizationDocument: DocumentNode<GetAllCustomizati
1125
1204
  export declare const UpdateCustomizationDocument: DocumentNode<UpdateCustomizationMutation, Exact<{
1126
1205
  data: CustomPlayerInput;
1127
1206
  }>>;
1207
+ export declare const BlockUserDocument: DocumentNode<BlockUserMutation, Exact<{
1208
+ data: BlockUserInput;
1209
+ }>>;
1210
+ export declare const ChangeAccountUsernameDocument: DocumentNode<ChangeAccountUsernameMutation, Exact<{
1211
+ data: ChangeUsernameInput;
1212
+ }>>;
1128
1213
  export declare const DeleteChatMessageDocument: DocumentNode<DeleteChatMessageMutation, Exact<{
1129
1214
  data: DeleteChatInput;
1130
1215
  }>>;
@@ -1164,30 +1249,6 @@ export declare const FindMinimalEventDocument: DocumentNode<FindMinimalEventQuer
1164
1249
  export declare const SearchMinimalEventsDocument: DocumentNode<SearchMinimalEventsQuery, Exact<{
1165
1250
  data: SearchEventInput;
1166
1251
  }>>;
1167
- export declare const AppendProductsToSnackVideoDocument: DocumentNode<AppendProductsToSnackVideoMutation, Exact<{
1168
- data: RelateToProductsSnackVideoInput;
1169
- }>>;
1170
- export declare const CreateSnackVideoBatchDocument: DocumentNode<CreateSnackVideoBatchMutation, Exact<{
1171
- data: CreateSnackVideoInput;
1172
- }>>;
1173
- export declare const DeleteRelationshipWithSnackVideoDocument: DocumentNode<DeleteRelationshipWithSnackVideoMutation, Exact<{
1174
- data: SnackVideoRelationshipKeys;
1175
- }>>;
1176
- export declare const DeleteSnackVideoDocument: DocumentNode<DeleteSnackVideoMutation, Exact<{
1177
- data: DeleteSnackVideoInput;
1178
- }>>;
1179
- export declare const FindManySnackVideosDocument: DocumentNode<FindManySnackVideosQuery, Exact<{
1180
- data: FindManySnackVideoInput;
1181
- }>>;
1182
- export declare const GetAllSnackVideosDocument: DocumentNode<GetAllSnackVideosQuery, Exact<{
1183
- data: QueryInput;
1184
- }>>;
1185
- export declare const GetSnackVideoRelationshipsDocument: DocumentNode<GetSnackVideoRelationshipsQuery, Exact<{
1186
- data: SnackVideoRelationshipInput;
1187
- }>>;
1188
- export declare const SearchSnackVideosDocument: DocumentNode<SearchSnackVideosQuery, Exact<{
1189
- data: SearchInput;
1190
- }>>;
1191
1252
  export declare const FindByProductSnackVideoDocument: DocumentNode<FindByProductSnackVideoQuery, Exact<{
1192
1253
  data: FindByProductSnackVideoInput;
1193
1254
  }>>;
@@ -10,6 +10,7 @@ export interface ChatMessageBase {
10
10
  second?: number;
11
11
  email?: string;
12
12
  all?: boolean;
13
+ urlGif?: string;
13
14
  }
14
15
  export interface ChatQuestion {
15
16
  data: string;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nizza/core",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.cjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nizza/core",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.cjs",