@nizza/core 0.4.2 → 0.4.3
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 +5 -5
- package/dist/index.mjs +396 -369
- package/dist/lib/types/api-graphql-types.d.ts +190 -189
- package/dist/lib/types/nizza/chat.d.ts +1 -0
- package/dist/lib/types/nizza/index.d.ts +1 -0
- package/dist/lib/types/nizza/nizzaEvent.d.ts +17 -0
- package/dist/lib/utils/getClientTimeZone.d.ts +10 -0
- package/dist/lib/utils/index.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -500,6 +500,7 @@ export type SaveChatInput = {
|
|
|
500
500
|
sendDate: Scalars['String'];
|
|
501
501
|
sessionId: Scalars['String'];
|
|
502
502
|
type: Scalars['String'];
|
|
503
|
+
urlGif?: InputMaybe<Scalars['String']>;
|
|
503
504
|
username: Scalars['String'];
|
|
504
505
|
};
|
|
505
506
|
export type SaveChatMessageResult = ErrorGeneral | SaveChatMessageSuccess;
|
|
@@ -621,171 +622,6 @@ export type UpdateProgressSnackVideosInput = {
|
|
|
621
622
|
progress: Scalars['Float'];
|
|
622
623
|
};
|
|
623
624
|
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
|
-
};
|
|
789
625
|
export type DeleteAllCustomizationMutationVariables = Exact<{
|
|
790
626
|
data: CustomPlayerInputAccount;
|
|
791
627
|
}>;
|
|
@@ -1148,6 +984,171 @@ export type SearchMinimalEventsQuery = {
|
|
|
1148
984
|
}> | null;
|
|
1149
985
|
};
|
|
1150
986
|
};
|
|
987
|
+
export type AppendProductsToSnackVideoMutationVariables = Exact<{
|
|
988
|
+
data: RelateToProductsSnackVideoInput;
|
|
989
|
+
}>;
|
|
990
|
+
export type AppendProductsToSnackVideoMutation = {
|
|
991
|
+
__typename?: 'Mutation';
|
|
992
|
+
appendProductsSnackVideo: {
|
|
993
|
+
__typename: 'ActionSnackVideoSuccess';
|
|
994
|
+
message: string;
|
|
995
|
+
} | {
|
|
996
|
+
__typename: 'ErrorGeneral';
|
|
997
|
+
message: string;
|
|
998
|
+
statusCode: string;
|
|
999
|
+
timestamp: string;
|
|
1000
|
+
};
|
|
1001
|
+
};
|
|
1002
|
+
export type CreateSnackVideoBatchMutationVariables = Exact<{
|
|
1003
|
+
data: CreateSnackVideoInput;
|
|
1004
|
+
}>;
|
|
1005
|
+
export type CreateSnackVideoBatchMutation = {
|
|
1006
|
+
__typename?: 'Mutation';
|
|
1007
|
+
createSnackVideos: {
|
|
1008
|
+
__typename: 'ErrorGeneral';
|
|
1009
|
+
message: string;
|
|
1010
|
+
statusCode: string;
|
|
1011
|
+
timestamp: string;
|
|
1012
|
+
} | {
|
|
1013
|
+
__typename: 'SnackVideoArray';
|
|
1014
|
+
data?: Array<{
|
|
1015
|
+
__typename?: 'SnackVideo';
|
|
1016
|
+
id: string;
|
|
1017
|
+
}> | null;
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
export type DeleteRelationshipWithSnackVideoMutationVariables = Exact<{
|
|
1021
|
+
data: SnackVideoRelationshipKeys;
|
|
1022
|
+
}>;
|
|
1023
|
+
export type DeleteRelationshipWithSnackVideoMutation = {
|
|
1024
|
+
__typename?: 'Mutation';
|
|
1025
|
+
deleteRelationshipSnackVideo: {
|
|
1026
|
+
__typename: 'ActionSnackVideoSuccess';
|
|
1027
|
+
message: string;
|
|
1028
|
+
} | {
|
|
1029
|
+
__typename: 'ErrorGeneral';
|
|
1030
|
+
message: string;
|
|
1031
|
+
statusCode: string;
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
export type DeleteSnackVideoMutationVariables = Exact<{
|
|
1035
|
+
data: DeleteSnackVideoInput;
|
|
1036
|
+
}>;
|
|
1037
|
+
export type DeleteSnackVideoMutation = {
|
|
1038
|
+
__typename?: 'Mutation';
|
|
1039
|
+
deleteSnackVideo: {
|
|
1040
|
+
__typename: 'ActionSnackVideoSuccess';
|
|
1041
|
+
message: string;
|
|
1042
|
+
} | {
|
|
1043
|
+
__typename: 'ErrorGeneral';
|
|
1044
|
+
message: string;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
export type FindManySnackVideosQueryVariables = Exact<{
|
|
1048
|
+
data: FindManySnackVideoInput;
|
|
1049
|
+
}>;
|
|
1050
|
+
export type FindManySnackVideosQuery = {
|
|
1051
|
+
__typename?: 'Query';
|
|
1052
|
+
findManySnackVideos: {
|
|
1053
|
+
__typename: 'ErrorGeneral';
|
|
1054
|
+
message: string;
|
|
1055
|
+
statusCode: string;
|
|
1056
|
+
timestamp: string;
|
|
1057
|
+
} | {
|
|
1058
|
+
__typename: 'SnackVideoArray';
|
|
1059
|
+
data?: Array<{
|
|
1060
|
+
__typename?: 'SnackVideo';
|
|
1061
|
+
id: string;
|
|
1062
|
+
name: string;
|
|
1063
|
+
url: string;
|
|
1064
|
+
thumbnailUrl: string;
|
|
1065
|
+
uploadProgress: number;
|
|
1066
|
+
duration: number;
|
|
1067
|
+
eventId: string;
|
|
1068
|
+
eventName: string;
|
|
1069
|
+
transmitionType?: string | null;
|
|
1070
|
+
}> | null;
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
1073
|
+
export type GetAllSnackVideosQueryVariables = Exact<{
|
|
1074
|
+
data: QueryInput;
|
|
1075
|
+
}>;
|
|
1076
|
+
export type GetAllSnackVideosQuery = {
|
|
1077
|
+
__typename?: 'Query';
|
|
1078
|
+
getAllSnackVideos: {
|
|
1079
|
+
__typename: 'ErrorGeneral';
|
|
1080
|
+
message: string;
|
|
1081
|
+
statusCode: string;
|
|
1082
|
+
timestamp: string;
|
|
1083
|
+
} | {
|
|
1084
|
+
__typename: 'SnackVideoCreatedArray';
|
|
1085
|
+
data?: {
|
|
1086
|
+
__typename?: 'SnackVideoCreatedWithCursor';
|
|
1087
|
+
cursor?: any | null;
|
|
1088
|
+
totalItems?: number | null;
|
|
1089
|
+
snackVideos?: Array<{
|
|
1090
|
+
__typename?: 'SnackVideosCreated';
|
|
1091
|
+
id: string;
|
|
1092
|
+
name: string;
|
|
1093
|
+
url: string;
|
|
1094
|
+
thumbnailUrl: string;
|
|
1095
|
+
uploadProgress: number;
|
|
1096
|
+
duration: number;
|
|
1097
|
+
eventId: string;
|
|
1098
|
+
eventName: string;
|
|
1099
|
+
created: string;
|
|
1100
|
+
transmitionType?: string | null;
|
|
1101
|
+
}> | null;
|
|
1102
|
+
} | null;
|
|
1103
|
+
};
|
|
1104
|
+
};
|
|
1105
|
+
export type GetSnackVideoRelationshipsQueryVariables = Exact<{
|
|
1106
|
+
data: SnackVideoRelationshipInput;
|
|
1107
|
+
}>;
|
|
1108
|
+
export type GetSnackVideoRelationshipsQuery = {
|
|
1109
|
+
__typename?: 'Query';
|
|
1110
|
+
getRelationshipSnackVideos: {
|
|
1111
|
+
__typename: 'ErrorGeneral';
|
|
1112
|
+
} | {
|
|
1113
|
+
__typename: 'RelationshipSnackVideoArray';
|
|
1114
|
+
data?: Array<{
|
|
1115
|
+
__typename?: 'RelationshipSnackVideo';
|
|
1116
|
+
sourceEntity: string;
|
|
1117
|
+
attributeId: string;
|
|
1118
|
+
}> | null;
|
|
1119
|
+
};
|
|
1120
|
+
};
|
|
1121
|
+
export type SearchSnackVideosQueryVariables = Exact<{
|
|
1122
|
+
data: SearchInput;
|
|
1123
|
+
}>;
|
|
1124
|
+
export type SearchSnackVideosQuery = {
|
|
1125
|
+
__typename?: 'Query';
|
|
1126
|
+
searchSnackVideos: {
|
|
1127
|
+
__typename: 'ErrorGeneral';
|
|
1128
|
+
message: string;
|
|
1129
|
+
statusCode: string;
|
|
1130
|
+
timestamp: string;
|
|
1131
|
+
} | {
|
|
1132
|
+
__typename: 'SnackVideoCreatedArray';
|
|
1133
|
+
data?: {
|
|
1134
|
+
__typename?: 'SnackVideoCreatedWithCursor';
|
|
1135
|
+
cursor?: any | null;
|
|
1136
|
+
totalItems?: number | null;
|
|
1137
|
+
snackVideos?: Array<{
|
|
1138
|
+
__typename?: 'SnackVideosCreated';
|
|
1139
|
+
id: string;
|
|
1140
|
+
name: string;
|
|
1141
|
+
url: string;
|
|
1142
|
+
thumbnailUrl: string;
|
|
1143
|
+
uploadProgress: number;
|
|
1144
|
+
duration: number;
|
|
1145
|
+
eventId: string;
|
|
1146
|
+
eventName: string;
|
|
1147
|
+
created: string;
|
|
1148
|
+
}> | null;
|
|
1149
|
+
} | null;
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1151
1152
|
export type FindByProductSnackVideoQueryVariables = Exact<{
|
|
1152
1153
|
data: FindByProductSnackVideoInput;
|
|
1153
1154
|
}>;
|
|
@@ -1171,30 +1172,6 @@ export type FindByProductSnackVideoQuery = {
|
|
|
1171
1172
|
}> | null;
|
|
1172
1173
|
};
|
|
1173
1174
|
};
|
|
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
|
-
}>>;
|
|
1198
1175
|
export declare const DeleteAllCustomizationDocument: DocumentNode<DeleteAllCustomizationMutation, Exact<{
|
|
1199
1176
|
data: CustomPlayerInputAccount;
|
|
1200
1177
|
}>>;
|
|
@@ -1249,6 +1226,30 @@ export declare const FindMinimalEventDocument: DocumentNode<FindMinimalEventQuer
|
|
|
1249
1226
|
export declare const SearchMinimalEventsDocument: DocumentNode<SearchMinimalEventsQuery, Exact<{
|
|
1250
1227
|
data: SearchEventInput;
|
|
1251
1228
|
}>>;
|
|
1229
|
+
export declare const AppendProductsToSnackVideoDocument: DocumentNode<AppendProductsToSnackVideoMutation, Exact<{
|
|
1230
|
+
data: RelateToProductsSnackVideoInput;
|
|
1231
|
+
}>>;
|
|
1232
|
+
export declare const CreateSnackVideoBatchDocument: DocumentNode<CreateSnackVideoBatchMutation, Exact<{
|
|
1233
|
+
data: CreateSnackVideoInput;
|
|
1234
|
+
}>>;
|
|
1235
|
+
export declare const DeleteRelationshipWithSnackVideoDocument: DocumentNode<DeleteRelationshipWithSnackVideoMutation, Exact<{
|
|
1236
|
+
data: SnackVideoRelationshipKeys;
|
|
1237
|
+
}>>;
|
|
1238
|
+
export declare const DeleteSnackVideoDocument: DocumentNode<DeleteSnackVideoMutation, Exact<{
|
|
1239
|
+
data: DeleteSnackVideoInput;
|
|
1240
|
+
}>>;
|
|
1241
|
+
export declare const FindManySnackVideosDocument: DocumentNode<FindManySnackVideosQuery, Exact<{
|
|
1242
|
+
data: FindManySnackVideoInput;
|
|
1243
|
+
}>>;
|
|
1244
|
+
export declare const GetAllSnackVideosDocument: DocumentNode<GetAllSnackVideosQuery, Exact<{
|
|
1245
|
+
data: QueryInput;
|
|
1246
|
+
}>>;
|
|
1247
|
+
export declare const GetSnackVideoRelationshipsDocument: DocumentNode<GetSnackVideoRelationshipsQuery, Exact<{
|
|
1248
|
+
data: SnackVideoRelationshipInput;
|
|
1249
|
+
}>>;
|
|
1250
|
+
export declare const SearchSnackVideosDocument: DocumentNode<SearchSnackVideosQuery, Exact<{
|
|
1251
|
+
data: SearchInput;
|
|
1252
|
+
}>>;
|
|
1252
1253
|
export declare const FindByProductSnackVideoDocument: DocumentNode<FindByProductSnackVideoQuery, Exact<{
|
|
1253
1254
|
data: FindByProductSnackVideoInput;
|
|
1254
1255
|
}>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface NizzaTimeZone {
|
|
2
|
+
offset: string | null;
|
|
3
|
+
offsetValue: number | null;
|
|
4
|
+
value: string | null;
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Placeholder for country information.
|
|
7
|
+
*/
|
|
8
|
+
country: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Placeholder for inclusion list.
|
|
11
|
+
*/
|
|
12
|
+
included: string[] | null;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Placeholder for label information.
|
|
15
|
+
*/
|
|
16
|
+
label: string | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NizzaTimeZone } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Get the browser's time zone.
|
|
4
|
+
*
|
|
5
|
+
* This function attempts to obtain the time zone and offset of the
|
|
6
|
+
* browser using the Intl.DateTimeFormat and Date APIs.
|
|
7
|
+
*
|
|
8
|
+
* @returns {NizzaTimeZone} An object containing the offset, offsetValue, the time zone value.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getClientTimeZone(): NizzaTimeZone;
|
package/dist/package.json
CHANGED