@nizza/core 0.3.0-alpha.4 → 0.3.0-alpha.6
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 +3 -0
- package/dist/index.cjs +2 -0
- package/{src → dist}/index.d.ts +0 -1
- package/dist/index.mjs +2826 -0
- package/{src → dist}/lib/stores/NizzaStore.d.ts +1 -0
- package/{src → dist}/lib/types/api-graphql-types.d.ts +57 -57
- package/dist/lib/types/mobx-store.d.ts +3 -0
- package/dist/lib/types/products/product.d.ts +16 -0
- package/{src → dist}/lib/types/utils.d.ts +4 -4
- package/{src → dist}/lib/utils/Result.d.ts +1 -1
- package/{src → dist}/lib/utils/customStorage/utils.d.ts +1 -1
- package/dist/lib/utils/fingerprint.d.ts +1 -0
- package/{src → dist}/lib/utils/helpers.d.ts +1 -1
- package/{src → dist}/lib/utils/lazyLoad.d.ts +1 -1
- package/package.json +12 -13
- package/src/environments/development.js +0 -28
- package/src/environments/development.js.map +0 -1
- package/src/environments/index.d.ts +0 -60
- package/src/environments/index.js +0 -11
- package/src/environments/index.js.map +0 -1
- package/src/environments/production.d.ts +0 -20
- package/src/environments/production.js +0 -27
- package/src/environments/production.js.map +0 -1
- package/src/environments/staging.d.ts +0 -20
- package/src/environments/staging.js +0 -27
- package/src/environments/staging.js.map +0 -1
- package/src/index.d.js +0 -8
- package/src/index.d.js.map +0 -1
- package/src/index.js +0 -9
- package/src/index.js.map +0 -1
- package/src/lib/constants/index.d.js +0 -3
- package/src/lib/constants/index.d.js.map +0 -1
- package/src/lib/constants/index.js +0 -3
- package/src/lib/constants/index.js.map +0 -1
- package/src/lib/constants/products.d.js +0 -3
- package/src/lib/constants/products.d.js.map +0 -1
- package/src/lib/constants/products.js +0 -6
- package/src/lib/constants/products.js.map +0 -1
- package/src/lib/domain/AggregateRoot.d.js +0 -3
- package/src/lib/domain/AggregateRoot.d.js.map +0 -1
- package/src/lib/domain/AggregateRoot.js +0 -22
- package/src/lib/domain/AggregateRoot.js.map +0 -1
- package/src/lib/domain/BaseMobxStore.d.js +0 -3
- package/src/lib/domain/BaseMobxStore.d.js.map +0 -1
- package/src/lib/domain/BaseMobxStore.js +0 -4
- package/src/lib/domain/BaseMobxStore.js.map +0 -1
- package/src/lib/domain/ValueObject.d.js +0 -3
- package/src/lib/domain/ValueObject.d.js.map +0 -1
- package/src/lib/domain/ValueObject.js +0 -12
- package/src/lib/domain/ValueObject.js.map +0 -1
- package/src/lib/domain/errors/DomainError.d.js +0 -3
- package/src/lib/domain/errors/DomainError.d.js.map +0 -1
- package/src/lib/domain/errors/DomainError.js +0 -18
- package/src/lib/domain/errors/DomainError.js.map +0 -1
- package/src/lib/domain/errors/api.d.js +0 -3
- package/src/lib/domain/errors/api.d.js.map +0 -1
- package/src/lib/domain/errors/api.js +0 -8
- package/src/lib/domain/errors/api.js.map +0 -1
- package/src/lib/domain/errors/app.d.js +0 -3
- package/src/lib/domain/errors/app.d.js.map +0 -1
- package/src/lib/domain/errors/app.js +0 -14
- package/src/lib/domain/errors/app.js.map +0 -1
- package/src/lib/domain/errors/index.d.js +0 -5
- package/src/lib/domain/errors/index.d.js.map +0 -1
- package/src/lib/domain/errors/index.js +0 -5
- package/src/lib/domain/errors/index.js.map +0 -1
- package/src/lib/domain/index.d.js +0 -6
- package/src/lib/domain/index.d.js.map +0 -1
- package/src/lib/domain/index.js +0 -6
- package/src/lib/domain/index.js.map +0 -1
- package/src/lib/providers/StoreProvider.d.js +0 -3
- package/src/lib/providers/StoreProvider.d.js.map +0 -1
- package/src/lib/providers/StoreProvider.js +0 -36
- package/src/lib/providers/StoreProvider.js.map +0 -1
- package/src/lib/providers/index.d.js +0 -3
- package/src/lib/providers/index.d.js.map +0 -1
- package/src/lib/providers/index.js +0 -3
- package/src/lib/providers/index.js.map +0 -1
- package/src/lib/stores/NizzaStore.d.js +0 -3
- package/src/lib/stores/NizzaStore.d.js.map +0 -1
- package/src/lib/stores/NizzaStore.js +0 -18
- package/src/lib/stores/NizzaStore.js.map +0 -1
- package/src/lib/stores/index.d.js +0 -3
- package/src/lib/stores/index.d.js.map +0 -1
- package/src/lib/stores/index.js +0 -3
- package/src/lib/stores/index.js.map +0 -1
- package/src/lib/types/api-graphql-types.d.js +0 -3
- package/src/lib/types/api-graphql-types.d.js.map +0 -1
- package/src/lib/types/api-graphql-types.js +0 -2003
- package/src/lib/types/api-graphql-types.js.map +0 -1
- package/src/lib/types/app-module.d.js +0 -3
- package/src/lib/types/app-module.d.js.map +0 -1
- package/src/lib/types/app-module.js +0 -3
- package/src/lib/types/app-module.js.map +0 -1
- package/src/lib/types/index.d.js +0 -9
- package/src/lib/types/index.d.js.map +0 -1
- package/src/lib/types/index.js +0 -9
- package/src/lib/types/index.js.map +0 -1
- package/src/lib/types/mobx-store.d.js +0 -3
- package/src/lib/types/mobx-store.d.js.map +0 -1
- package/src/lib/types/mobx-store.d.ts +0 -3
- package/src/lib/types/mobx-store.js +0 -3
- package/src/lib/types/mobx-store.js.map +0 -1
- package/src/lib/types/nizzaGlobalObject.d.js +0 -3
- package/src/lib/types/nizzaGlobalObject.d.js.map +0 -1
- package/src/lib/types/nizzaGlobalObject.js +0 -3
- package/src/lib/types/nizzaGlobalObject.js.map +0 -1
- package/src/lib/types/products/base.d.js +0 -8
- package/src/lib/types/products/base.d.js.map +0 -1
- package/src/lib/types/products/base.js +0 -8
- package/src/lib/types/products/base.js.map +0 -1
- package/src/lib/types/products/index.d.js +0 -4
- package/src/lib/types/products/index.d.js.map +0 -1
- package/src/lib/types/products/index.js +0 -4
- package/src/lib/types/products/index.js.map +0 -1
- package/src/lib/types/products/product.d.js +0 -3
- package/src/lib/types/products/product.d.js.map +0 -1
- package/src/lib/types/products/product.d.ts +0 -16
- package/src/lib/types/products/product.js +0 -3
- package/src/lib/types/products/product.js.map +0 -1
- package/src/lib/types/utils.d.js +0 -3
- package/src/lib/types/utils.d.js.map +0 -1
- package/src/lib/types/utils.js +0 -4
- package/src/lib/types/utils.js.map +0 -1
- package/src/lib/utils/Result.d.js +0 -3
- package/src/lib/utils/Result.d.js.map +0 -1
- package/src/lib/utils/Result.js +0 -63
- package/src/lib/utils/Result.js.map +0 -1
- package/src/lib/utils/apiCall.d.js +0 -3
- package/src/lib/utils/apiCall.d.js.map +0 -1
- package/src/lib/utils/apiCall.js +0 -28
- package/src/lib/utils/apiCall.js.map +0 -1
- package/src/lib/utils/customStorage/MemoryStorage.d.js +0 -3
- package/src/lib/utils/customStorage/MemoryStorage.d.js.map +0 -1
- package/src/lib/utils/customStorage/MemoryStorage.js +0 -44
- package/src/lib/utils/customStorage/MemoryStorage.js.map +0 -1
- package/src/lib/utils/customStorage/index.d.js +0 -3
- package/src/lib/utils/customStorage/index.d.js.map +0 -1
- package/src/lib/utils/customStorage/index.js +0 -36
- package/src/lib/utils/customStorage/index.js.map +0 -1
- package/src/lib/utils/customStorage/utils.d.js +0 -3
- package/src/lib/utils/customStorage/utils.d.js.map +0 -1
- package/src/lib/utils/customStorage/utils.js +0 -24
- package/src/lib/utils/customStorage/utils.js.map +0 -1
- package/src/lib/utils/fingerprint.d.js +0 -3
- package/src/lib/utils/fingerprint.d.js.map +0 -1
- package/src/lib/utils/fingerprint.d.ts +0 -1
- package/src/lib/utils/fingerprint.js +0 -14
- package/src/lib/utils/fingerprint.js.map +0 -1
- package/src/lib/utils/helpers.d.js +0 -3
- package/src/lib/utils/helpers.d.js.map +0 -1
- package/src/lib/utils/helpers.js +0 -15
- package/src/lib/utils/helpers.js.map +0 -1
- package/src/lib/utils/index.d.js +0 -8
- package/src/lib/utils/index.d.js.map +0 -1
- package/src/lib/utils/index.js +0 -8
- package/src/lib/utils/index.js.map +0 -1
- package/src/lib/utils/lazyLoad.d.js +0 -3
- package/src/lib/utils/lazyLoad.d.js.map +0 -1
- package/src/lib/utils/lazyLoad.js +0 -17
- package/src/lib/utils/lazyLoad.js.map +0 -1
- /package/{src/environments/development.d.ts → dist/environments/environment.d.ts} +0 -0
- /package/{src → dist}/lib/constants/index.d.ts +0 -0
- /package/{src → dist}/lib/constants/products.d.ts +0 -0
- /package/{src → dist}/lib/domain/AggregateRoot.d.ts +0 -0
- /package/{src → dist}/lib/domain/BaseMobxStore.d.ts +0 -0
- /package/{src → dist}/lib/domain/ValueObject.d.ts +0 -0
- /package/{src → dist}/lib/domain/errors/DomainError.d.ts +0 -0
- /package/{src → dist}/lib/domain/errors/api.d.ts +0 -0
- /package/{src → dist}/lib/domain/errors/app.d.ts +0 -0
- /package/{src → dist}/lib/domain/errors/index.d.ts +0 -0
- /package/{src → dist}/lib/domain/index.d.ts +0 -0
- /package/{src → dist}/lib/providers/StoreProvider.d.ts +0 -0
- /package/{src → dist}/lib/providers/index.d.ts +0 -0
- /package/{src → dist}/lib/stores/index.d.ts +0 -0
- /package/{src → dist}/lib/types/app-module.d.ts +0 -0
- /package/{src → dist}/lib/types/index.d.ts +0 -0
- /package/{src → dist}/lib/types/nizzaGlobalObject.d.ts +0 -0
- /package/{src → dist}/lib/types/products/base.d.ts +0 -0
- /package/{src → dist}/lib/types/products/index.d.ts +0 -0
- /package/{src → dist}/lib/utils/apiCall.d.ts +0 -0
- /package/{src → dist}/lib/utils/customStorage/MemoryStorage.d.ts +0 -0
- /package/{src → dist}/lib/utils/customStorage/index.d.ts +0 -0
- /package/{src → dist}/lib/utils/index.d.ts +0 -0
- /package/{src/typings/libs.d.js → 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 type Maybe<T> = T | null;
|
|
3
|
-
export type InputMaybe<T> = Maybe<T>;
|
|
4
|
-
export type Exact<T extends {
|
|
2
|
+
export declare type Maybe<T> = T | null;
|
|
3
|
+
export declare type InputMaybe<T> = Maybe<T>;
|
|
4
|
+
export declare type Exact<T extends {
|
|
5
5
|
[key: string]: unknown;
|
|
6
6
|
}> = {
|
|
7
7
|
[K in keyof T]: T[K];
|
|
8
8
|
};
|
|
9
|
-
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
+
export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
10
10
|
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
11
11
|
};
|
|
12
|
-
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
+
export declare 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 type Scalars = {
|
|
16
|
+
export declare type Scalars = {
|
|
17
17
|
ID: string;
|
|
18
18
|
String: string;
|
|
19
19
|
Boolean: boolean;
|
|
@@ -22,7 +22,7 @@ export type Scalars = {
|
|
|
22
22
|
DateTime: any;
|
|
23
23
|
JSON: any;
|
|
24
24
|
};
|
|
25
|
-
export type Collection = {
|
|
25
|
+
export declare type Collection = {
|
|
26
26
|
__typename?: 'Collection';
|
|
27
27
|
account?: Maybe<Scalars['String']>;
|
|
28
28
|
createdat?: Maybe<Scalars['DateTime']>;
|
|
@@ -36,9 +36,9 @@ export type Collection = {
|
|
|
36
36
|
products?: Maybe<Array<Product>>;
|
|
37
37
|
status?: Maybe<Scalars['String']>;
|
|
38
38
|
};
|
|
39
|
-
export type CollectionResult = CollectionSuccess | ErrorGeneral;
|
|
40
|
-
export type CollectionResultArray = CollectionSuccessArray | ErrorGeneral;
|
|
41
|
-
export type CollectionSuccess = {
|
|
39
|
+
export declare type CollectionResult = CollectionSuccess | ErrorGeneral;
|
|
40
|
+
export declare type CollectionResultArray = CollectionSuccessArray | ErrorGeneral;
|
|
41
|
+
export declare type CollectionSuccess = {
|
|
42
42
|
__typename?: 'CollectionSuccess';
|
|
43
43
|
data?: Maybe<Collection>;
|
|
44
44
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -46,7 +46,7 @@ export type CollectionSuccess = {
|
|
|
46
46
|
method?: Maybe<Scalars['String']>;
|
|
47
47
|
path?: Maybe<Scalars['String']>;
|
|
48
48
|
};
|
|
49
|
-
export type CollectionSuccessArray = {
|
|
49
|
+
export declare type CollectionSuccessArray = {
|
|
50
50
|
__typename?: 'CollectionSuccessArray';
|
|
51
51
|
data?: Maybe<Array<Collection>>;
|
|
52
52
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -54,13 +54,13 @@ export type CollectionSuccessArray = {
|
|
|
54
54
|
method?: Maybe<Scalars['String']>;
|
|
55
55
|
path?: Maybe<Scalars['String']>;
|
|
56
56
|
};
|
|
57
|
-
export type CreateCollectionInput = {
|
|
57
|
+
export declare type CreateCollectionInput = {
|
|
58
58
|
account: Scalars['String'];
|
|
59
59
|
description?: InputMaybe<Scalars['String']>;
|
|
60
60
|
name: Scalars['String'];
|
|
61
61
|
status?: InputMaybe<Status>;
|
|
62
62
|
};
|
|
63
|
-
export type CustomPlayer = {
|
|
63
|
+
export declare type CustomPlayer = {
|
|
64
64
|
__typename?: 'CustomPlayer';
|
|
65
65
|
account: Scalars['String'];
|
|
66
66
|
component: Scalars['String'];
|
|
@@ -72,18 +72,18 @@ export type CustomPlayer = {
|
|
|
72
72
|
path?: Maybe<Scalars['String']>;
|
|
73
73
|
section: Scalars['String'];
|
|
74
74
|
};
|
|
75
|
-
export type CustomPlayerInput = {
|
|
75
|
+
export declare type CustomPlayerInput = {
|
|
76
76
|
account: Scalars['String'];
|
|
77
77
|
data: Scalars['JSON'];
|
|
78
78
|
id: Scalars['String'];
|
|
79
79
|
section: Scalars['String'];
|
|
80
80
|
};
|
|
81
|
-
export type CustomPlayerInputAccount = {
|
|
81
|
+
export declare type CustomPlayerInputAccount = {
|
|
82
82
|
account: Scalars['String'];
|
|
83
83
|
};
|
|
84
|
-
export type CustomPlayerResult = CustomPlayerSuccess | ErrorGeneral;
|
|
85
|
-
export type CustomPlayerResultArray = CustomPlayerSuccessArray | ErrorGeneral;
|
|
86
|
-
export type CustomPlayerSuccess = {
|
|
84
|
+
export declare type CustomPlayerResult = CustomPlayerSuccess | ErrorGeneral;
|
|
85
|
+
export declare type CustomPlayerResultArray = CustomPlayerSuccessArray | ErrorGeneral;
|
|
86
|
+
export declare type CustomPlayerSuccess = {
|
|
87
87
|
__typename?: 'CustomPlayerSuccess';
|
|
88
88
|
data?: Maybe<CustomPlayer>;
|
|
89
89
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -91,7 +91,7 @@ export type CustomPlayerSuccess = {
|
|
|
91
91
|
method?: Maybe<Scalars['String']>;
|
|
92
92
|
path?: Maybe<Scalars['String']>;
|
|
93
93
|
};
|
|
94
|
-
export type CustomPlayerSuccessArray = {
|
|
94
|
+
export declare type CustomPlayerSuccessArray = {
|
|
95
95
|
__typename?: 'CustomPlayerSuccessArray';
|
|
96
96
|
data?: Maybe<Array<CustomPlayer>>;
|
|
97
97
|
duration?: Maybe<Scalars['String']>;
|
|
@@ -99,18 +99,18 @@ export type CustomPlayerSuccessArray = {
|
|
|
99
99
|
method?: Maybe<Scalars['String']>;
|
|
100
100
|
path?: Maybe<Scalars['String']>;
|
|
101
101
|
};
|
|
102
|
-
export type Error = {
|
|
102
|
+
export declare type Error = {
|
|
103
103
|
message: Scalars['String'];
|
|
104
104
|
statusCode: Scalars['String'];
|
|
105
105
|
timestamp: Scalars['String'];
|
|
106
106
|
};
|
|
107
|
-
export type ErrorGeneral = Error & {
|
|
107
|
+
export declare type ErrorGeneral = Error & {
|
|
108
108
|
__typename?: 'ErrorGeneral';
|
|
109
109
|
message: Scalars['String'];
|
|
110
110
|
statusCode: Scalars['String'];
|
|
111
111
|
timestamp: Scalars['String'];
|
|
112
112
|
};
|
|
113
|
-
export type ManageCollectionProductInInput = {
|
|
113
|
+
export declare type ManageCollectionProductInInput = {
|
|
114
114
|
account: Scalars['String'];
|
|
115
115
|
id: Scalars['String'];
|
|
116
116
|
method: Methods;
|
|
@@ -120,7 +120,7 @@ export declare enum Methods {
|
|
|
120
120
|
Add = "add",
|
|
121
121
|
Remove = "remove"
|
|
122
122
|
}
|
|
123
|
-
export type Mutation = {
|
|
123
|
+
export declare type Mutation = {
|
|
124
124
|
__typename?: 'Mutation';
|
|
125
125
|
createCollection: CollectionResult;
|
|
126
126
|
deleteAllCustomPlayer: CustomPlayerResult;
|
|
@@ -129,25 +129,25 @@ export type Mutation = {
|
|
|
129
129
|
updateCollection: CollectionResult;
|
|
130
130
|
updateCustomPlayer: CustomPlayerResult;
|
|
131
131
|
};
|
|
132
|
-
export type MutationCreateCollectionArgs = {
|
|
132
|
+
export declare type MutationCreateCollectionArgs = {
|
|
133
133
|
data: CreateCollectionInput;
|
|
134
134
|
};
|
|
135
|
-
export type MutationDeleteAllCustomPlayerArgs = {
|
|
135
|
+
export declare type MutationDeleteAllCustomPlayerArgs = {
|
|
136
136
|
data: CustomPlayerInputAccount;
|
|
137
137
|
};
|
|
138
|
-
export type MutationDeleteCollectionArgs = {
|
|
138
|
+
export declare type MutationDeleteCollectionArgs = {
|
|
139
139
|
data: QueryInput;
|
|
140
140
|
};
|
|
141
|
-
export type MutationManageCollectionProductArgs = {
|
|
141
|
+
export declare type MutationManageCollectionProductArgs = {
|
|
142
142
|
data: ManageCollectionProductInInput;
|
|
143
143
|
};
|
|
144
|
-
export type MutationUpdateCollectionArgs = {
|
|
144
|
+
export declare type MutationUpdateCollectionArgs = {
|
|
145
145
|
data: UpdateCollectionInput;
|
|
146
146
|
};
|
|
147
|
-
export type MutationUpdateCustomPlayerArgs = {
|
|
147
|
+
export declare type MutationUpdateCustomPlayerArgs = {
|
|
148
148
|
data: CustomPlayerInput;
|
|
149
149
|
};
|
|
150
|
-
export type Product = {
|
|
150
|
+
export declare type Product = {
|
|
151
151
|
__typename?: 'Product';
|
|
152
152
|
account: Scalars['String'];
|
|
153
153
|
createdat?: Maybe<Scalars['String']>;
|
|
@@ -159,26 +159,26 @@ export type Product = {
|
|
|
159
159
|
status?: Maybe<Status>;
|
|
160
160
|
title: Scalars['String'];
|
|
161
161
|
};
|
|
162
|
-
export type Query = {
|
|
162
|
+
export declare type Query = {
|
|
163
163
|
__typename?: 'Query';
|
|
164
164
|
findCollection: CollectionResult;
|
|
165
165
|
getAllCollection: CollectionResultArray;
|
|
166
166
|
getAllCustomPlayer: CustomPlayerResultArray;
|
|
167
167
|
searchCollection: CollectionResultArray;
|
|
168
168
|
};
|
|
169
|
-
export type QueryFindCollectionArgs = {
|
|
169
|
+
export declare type QueryFindCollectionArgs = {
|
|
170
170
|
data: QueryInput;
|
|
171
171
|
};
|
|
172
|
-
export type QueryGetAllCollectionArgs = {
|
|
172
|
+
export declare type QueryGetAllCollectionArgs = {
|
|
173
173
|
data: QueryInput;
|
|
174
174
|
};
|
|
175
|
-
export type QueryGetAllCustomPlayerArgs = {
|
|
175
|
+
export declare type QueryGetAllCustomPlayerArgs = {
|
|
176
176
|
data: QueryInput;
|
|
177
177
|
};
|
|
178
|
-
export type QuerySearchCollectionArgs = {
|
|
178
|
+
export declare type QuerySearchCollectionArgs = {
|
|
179
179
|
data: QueryInput;
|
|
180
180
|
};
|
|
181
|
-
export type QueryInput = {
|
|
181
|
+
export declare type QueryInput = {
|
|
182
182
|
account: Scalars['String'];
|
|
183
183
|
id?: InputMaybe<Scalars['String']>;
|
|
184
184
|
limit?: InputMaybe<Scalars['Float']>;
|
|
@@ -189,17 +189,17 @@ export declare enum Status {
|
|
|
189
189
|
Active = "active",
|
|
190
190
|
Inactive = "inactive"
|
|
191
191
|
}
|
|
192
|
-
export type UpdateCollectionInput = {
|
|
192
|
+
export declare type UpdateCollectionInput = {
|
|
193
193
|
account: Scalars['String'];
|
|
194
194
|
description?: InputMaybe<Scalars['String']>;
|
|
195
195
|
id: Scalars['String'];
|
|
196
196
|
name?: InputMaybe<Scalars['String']>;
|
|
197
197
|
status?: InputMaybe<Status>;
|
|
198
198
|
};
|
|
199
|
-
export type DeleteAllCustomizationMutationVariables = Exact<{
|
|
199
|
+
export declare type DeleteAllCustomizationMutationVariables = Exact<{
|
|
200
200
|
data: CustomPlayerInputAccount;
|
|
201
201
|
}>;
|
|
202
|
-
export type DeleteAllCustomizationMutation = {
|
|
202
|
+
export declare type DeleteAllCustomizationMutation = {
|
|
203
203
|
__typename?: 'Mutation';
|
|
204
204
|
deleteAllCustomPlayer: {
|
|
205
205
|
__typename: 'CustomPlayerSuccess';
|
|
@@ -210,10 +210,10 @@ export type DeleteAllCustomizationMutation = {
|
|
|
210
210
|
timestamp: string;
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
|
-
export type GetAllCustomizationQueryVariables = Exact<{
|
|
213
|
+
export declare type GetAllCustomizationQueryVariables = Exact<{
|
|
214
214
|
data: QueryInput;
|
|
215
215
|
}>;
|
|
216
|
-
export type GetAllCustomizationQuery = {
|
|
216
|
+
export declare type GetAllCustomizationQuery = {
|
|
217
217
|
__typename?: 'Query';
|
|
218
218
|
getAllCustomPlayer: {
|
|
219
219
|
__typename: 'CustomPlayerSuccessArray';
|
|
@@ -231,10 +231,10 @@ export type GetAllCustomizationQuery = {
|
|
|
231
231
|
timestamp: string;
|
|
232
232
|
};
|
|
233
233
|
};
|
|
234
|
-
export type UpdateCustomizationMutationVariables = Exact<{
|
|
234
|
+
export declare type UpdateCustomizationMutationVariables = Exact<{
|
|
235
235
|
data: CustomPlayerInput;
|
|
236
236
|
}>;
|
|
237
|
-
export type UpdateCustomizationMutation = {
|
|
237
|
+
export declare type UpdateCustomizationMutation = {
|
|
238
238
|
__typename?: 'Mutation';
|
|
239
239
|
updateCustomPlayer: {
|
|
240
240
|
__typename: 'CustomPlayerSuccess';
|
|
@@ -245,10 +245,10 @@ export type UpdateCustomizationMutation = {
|
|
|
245
245
|
timestamp: string;
|
|
246
246
|
};
|
|
247
247
|
};
|
|
248
|
-
export type AddCollectionMutationVariables = Exact<{
|
|
248
|
+
export declare type AddCollectionMutationVariables = Exact<{
|
|
249
249
|
data: CreateCollectionInput;
|
|
250
250
|
}>;
|
|
251
|
-
export type AddCollectionMutation = {
|
|
251
|
+
export declare type AddCollectionMutation = {
|
|
252
252
|
__typename?: 'Mutation';
|
|
253
253
|
createCollection: {
|
|
254
254
|
__typename: 'CollectionSuccess';
|
|
@@ -263,10 +263,10 @@ export type AddCollectionMutation = {
|
|
|
263
263
|
timestamp: string;
|
|
264
264
|
};
|
|
265
265
|
};
|
|
266
|
-
export type DeleteCollectionMutationVariables = Exact<{
|
|
266
|
+
export declare type DeleteCollectionMutationVariables = Exact<{
|
|
267
267
|
data: QueryInput;
|
|
268
268
|
}>;
|
|
269
|
-
export type DeleteCollectionMutation = {
|
|
269
|
+
export declare type DeleteCollectionMutation = {
|
|
270
270
|
__typename?: 'Mutation';
|
|
271
271
|
deleteCollection: {
|
|
272
272
|
__typename: 'CollectionSuccess';
|
|
@@ -277,10 +277,10 @@ export type DeleteCollectionMutation = {
|
|
|
277
277
|
timestamp: string;
|
|
278
278
|
};
|
|
279
279
|
};
|
|
280
|
-
export type FindCollectionQueryVariables = Exact<{
|
|
280
|
+
export declare type FindCollectionQueryVariables = Exact<{
|
|
281
281
|
data: QueryInput;
|
|
282
282
|
}>;
|
|
283
|
-
export type FindCollectionQuery = {
|
|
283
|
+
export declare type FindCollectionQuery = {
|
|
284
284
|
__typename?: 'Query';
|
|
285
285
|
findCollection: {
|
|
286
286
|
__typename: 'CollectionSuccess';
|
|
@@ -312,10 +312,10 @@ export type FindCollectionQuery = {
|
|
|
312
312
|
timestamp: string;
|
|
313
313
|
};
|
|
314
314
|
};
|
|
315
|
-
export type GetAllCollectionsQueryVariables = Exact<{
|
|
315
|
+
export declare type GetAllCollectionsQueryVariables = Exact<{
|
|
316
316
|
data: QueryInput;
|
|
317
317
|
}>;
|
|
318
|
-
export type GetAllCollectionsQuery = {
|
|
318
|
+
export declare type GetAllCollectionsQuery = {
|
|
319
319
|
__typename?: 'Query';
|
|
320
320
|
getAllCollection: {
|
|
321
321
|
__typename: 'CollectionSuccessArray';
|
|
@@ -347,10 +347,10 @@ export type GetAllCollectionsQuery = {
|
|
|
347
347
|
timestamp: string;
|
|
348
348
|
};
|
|
349
349
|
};
|
|
350
|
-
export type ManageCollectionProductMutationVariables = Exact<{
|
|
350
|
+
export declare type ManageCollectionProductMutationVariables = Exact<{
|
|
351
351
|
data: ManageCollectionProductInInput;
|
|
352
352
|
}>;
|
|
353
|
-
export type ManageCollectionProductMutation = {
|
|
353
|
+
export declare type ManageCollectionProductMutation = {
|
|
354
354
|
__typename?: 'Mutation';
|
|
355
355
|
manageCollectionProduct: {
|
|
356
356
|
__typename: 'CollectionSuccess';
|
|
@@ -361,10 +361,10 @@ export type ManageCollectionProductMutation = {
|
|
|
361
361
|
timestamp: string;
|
|
362
362
|
};
|
|
363
363
|
};
|
|
364
|
-
export type SearchCollectionsQueryVariables = Exact<{
|
|
364
|
+
export declare type SearchCollectionsQueryVariables = Exact<{
|
|
365
365
|
data: QueryInput;
|
|
366
366
|
}>;
|
|
367
|
-
export type SearchCollectionsQuery = {
|
|
367
|
+
export declare type SearchCollectionsQuery = {
|
|
368
368
|
__typename?: 'Query';
|
|
369
369
|
searchCollection: {
|
|
370
370
|
__typename: 'CollectionSuccessArray';
|
|
@@ -396,10 +396,10 @@ export type SearchCollectionsQuery = {
|
|
|
396
396
|
timestamp: string;
|
|
397
397
|
};
|
|
398
398
|
};
|
|
399
|
-
export type UpdateCollectionMutationVariables = Exact<{
|
|
399
|
+
export declare type UpdateCollectionMutationVariables = Exact<{
|
|
400
400
|
data: UpdateCollectionInput;
|
|
401
401
|
}>;
|
|
402
|
-
export type UpdateCollectionMutation = {
|
|
402
|
+
export declare type UpdateCollectionMutation = {
|
|
403
403
|
__typename?: 'Mutation';
|
|
404
404
|
updateCollection: {
|
|
405
405
|
__typename: 'CollectionSuccess';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NizzaProduct } from './base';
|
|
2
|
+
export declare type NizzaGetProductHandler = (input: NizzaGetProductHandlerInput) => Promise<NizzaProduct>;
|
|
3
|
+
export declare type NizzaGetProductListHandler = (input: NizzaGetProductListHandlerInput) => Promise<NizzaProduct[]>;
|
|
4
|
+
declare type NizzaGetProductHandlerInput = {
|
|
5
|
+
productId: string;
|
|
6
|
+
};
|
|
7
|
+
declare type NizzaGetProductListHandlerInput = {
|
|
8
|
+
search?: string;
|
|
9
|
+
page?: number;
|
|
10
|
+
limit?: number;
|
|
11
|
+
};
|
|
12
|
+
export interface NizzaProductRepository {
|
|
13
|
+
getProduct: NizzaGetProductHandler;
|
|
14
|
+
getProductList: NizzaGetProductListHandler;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import environment from '../../environments/
|
|
2
|
-
export type Constructor<T = any> = new (...args: any[]) => T;
|
|
1
|
+
import environment from '../../environments/environment';
|
|
2
|
+
export declare type Constructor<T = any> = new (...args: any[]) => T;
|
|
3
3
|
export declare abstract class BaseStore {
|
|
4
4
|
}
|
|
5
5
|
export interface ApiV1Response<T = any> {
|
|
@@ -14,9 +14,9 @@ export interface ApiV2Response<T = any> {
|
|
|
14
14
|
duration: string;
|
|
15
15
|
method: 'GET' | 'POST' | 'PUT' | 'DELETE';
|
|
16
16
|
}
|
|
17
|
-
export type Primitive = string | boolean | number;
|
|
17
|
+
export declare type Primitive = string | boolean | number;
|
|
18
18
|
export interface ApiCall extends RequestInit {
|
|
19
19
|
url: RequestInfo;
|
|
20
20
|
raw?: boolean;
|
|
21
21
|
}
|
|
22
|
-
export type Environment<T> = typeof environment & T;
|
|
22
|
+
export declare type Environment<T> = typeof environment & T;
|
|
@@ -9,7 +9,7 @@ export declare class Result<V, E = string> {
|
|
|
9
9
|
static fail<F = string>(error: F): Result<never, F>;
|
|
10
10
|
static combine(results: Result<any, any>[]): Result<any, any>;
|
|
11
11
|
}
|
|
12
|
-
export type Either<L, A> = Err<L, A> | Ok<L, A>;
|
|
12
|
+
export declare type Either<L, A> = Err<L, A> | Ok<L, A>;
|
|
13
13
|
export declare class Err<L, A> {
|
|
14
14
|
readonly value: L;
|
|
15
15
|
constructor(value: L);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type StorageType = 'localStorage' | 'sessionStorage';
|
|
1
|
+
declare type StorageType = 'localStorage' | 'sessionStorage';
|
|
2
2
|
export declare function isStorageAvailable(type: StorageType): boolean;
|
|
3
3
|
export declare function setProperty(obj: unknown, name: string, value: unknown): void;
|
|
4
4
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getFingerprint: () => string;
|
|
@@ -2,6 +2,6 @@ import React from 'react';
|
|
|
2
2
|
interface Opts {
|
|
3
3
|
fallback: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
type Unpromisify<T> = T extends Promise<infer P> ? P : never;
|
|
5
|
+
declare type Unpromisify<T> = T extends Promise<infer P> ? P : never;
|
|
6
6
|
export declare const lazyLoad: <T extends Promise<any>, U extends React.ComponentType<any>>(importFunc: () => T, selectorFunc?: ((s: Unpromisify<T>) => U) | undefined, opts?: Opts) => (props: React.ComponentProps<U>) => JSX.Element;
|
|
7
7
|
export {};
|
package/package.json
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nizza/core",
|
|
3
|
-
"version": "0.3.0-alpha.
|
|
3
|
+
"version": "0.3.0-alpha.6",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "src/index.js",
|
|
6
|
-
"module": "src/index.js",
|
|
7
|
-
"types": "src/index.d.ts",
|
|
8
5
|
"source": "src/index.ts",
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
|
+
"module": "dist/index.mjs",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
9
12
|
"dependencies": {
|
|
10
|
-
"
|
|
11
|
-
"graphql": "^16.5.0",
|
|
12
|
-
"js-cookie": "^3.0.1",
|
|
13
|
-
"mobx": "^6.6.1",
|
|
14
|
-
"react": "^18.2.0",
|
|
15
|
-
"uuid": "^8.3.2"
|
|
13
|
+
"js-cookie": "^3.0.1"
|
|
16
14
|
},
|
|
17
|
-
"
|
|
18
|
-
"@
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@types/js-cookie": "^3.0.2"
|
|
19
17
|
},
|
|
20
18
|
"scripts": {
|
|
21
|
-
"clean": "rimraf dist/*"
|
|
19
|
+
"clean": "rimraf dist/*",
|
|
20
|
+
"build-s": "vite build"
|
|
22
21
|
}
|
|
23
22
|
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
const { NZ_AWS_REGION , NZ_BACKOFFICE_BACK_URL , NZ_CORE_SERVICES_GRAPHQL_URL , NZ_CORE_SERVICES_REST_URL } = import.meta.env;
|
|
2
|
-
// console.log('import.meta.env: ', import.meta.env);
|
|
3
|
-
export const environment = {
|
|
4
|
-
AWS: {
|
|
5
|
-
region: NZ_AWS_REGION,
|
|
6
|
-
cognito: {
|
|
7
|
-
userPoolId: 'us-east-1_knSlGEmJ0',
|
|
8
|
-
userPoolWebClientId: '3hmbfhf7nl3kq20qr9i5lihf1p'
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
// Back services
|
|
12
|
-
apiUrls: {
|
|
13
|
-
restV1: NZ_BACKOFFICE_BACK_URL || 'https://pabprg32bj.execute-api.us-east-1.amazonaws.com',
|
|
14
|
-
restV2: NZ_CORE_SERVICES_REST_URL || 'https://core-services-dev.nizza.com/api',
|
|
15
|
-
graphql: NZ_CORE_SERVICES_GRAPHQL_URL || 'https://core-services-dev.nizza.com/graphql'
|
|
16
|
-
},
|
|
17
|
-
publicUrls: {
|
|
18
|
-
// Public app url
|
|
19
|
-
platformSite: 'https://platformdev.nizza.com',
|
|
20
|
-
// Nizza CDN
|
|
21
|
-
nizzaCdn: 'https://cdn.nizza.com',
|
|
22
|
-
// Bundle
|
|
23
|
-
bundleSite: 'https://bundledev.nizza.com'
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
export default environment;
|
|
27
|
-
|
|
28
|
-
//# sourceMappingURL=development.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/environments/development.ts"],"sourcesContent":["const {\n NZ_AWS_REGION,\n NZ_BACKOFFICE_BACK_URL,\n NZ_CORE_SERVICES_GRAPHQL_URL,\n NZ_CORE_SERVICES_REST_URL,\n} = import.meta.env;\n\n// console.log('import.meta.env: ', import.meta.env);\n\nexport const environment = {\n AWS: {\n region: NZ_AWS_REGION,\n cognito: {\n userPoolId: 'us-east-1_knSlGEmJ0',\n userPoolWebClientId: '3hmbfhf7nl3kq20qr9i5lihf1p',\n },\n },\n\n // Back services\n apiUrls: {\n restV1:\n NZ_BACKOFFICE_BACK_URL ||\n 'https://pabprg32bj.execute-api.us-east-1.amazonaws.com',\n restV2:\n NZ_CORE_SERVICES_REST_URL || 'https://core-services-dev.nizza.com/api',\n graphql:\n NZ_CORE_SERVICES_GRAPHQL_URL ||\n 'https://core-services-dev.nizza.com/graphql',\n },\n\n publicUrls: {\n // Public app url\n platformSite: 'https://platformdev.nizza.com',\n\n // Nizza CDN\n nizzaCdn: 'https://cdn.nizza.com',\n\n // Bundle\n bundleSite: 'https://bundledev.nizza.com',\n },\n};\n\nexport default environment;\n"],"names":["NZ_AWS_REGION","NZ_BACKOFFICE_BACK_URL","NZ_CORE_SERVICES_GRAPHQL_URL","NZ_CORE_SERVICES_REST_URL","env","environment","AWS","region","cognito","userPoolId","userPoolWebClientId","apiUrls","restV1","restV2","graphql","publicUrls","platformSite","nizzaCdn","bundleSite"],"mappings":"AAAA,MAAM,EACJA,cAAa,EACbC,uBAAsB,EACtBC,6BAA4B,EAC5BC,0BAAyB,EAC1B,GAAG,YAAYC,GAAG;AAEnB,qDAAqD;AAErD,OAAO,MAAMC,cAAc;IACzBC,KAAK;QACHC,QAAQP;QACRQ,SAAS;YACPC,YAAY;YACZC,qBAAqB;QACvB;IACF;IAEA,iBAAiB;IACjBC,SAAS;QACPC,QACEX,0BACA;QACFY,QACEV,6BAA6B;QAC/BW,SACEZ,gCACA;IACJ;IAEAa,YAAY;QACV,kBAAkB;QAClBC,cAAc;QAEd,YAAY;QACZC,UAAU;QAEV,UAAU;QACVC,YAAY;IACd;AACF,EAAE;AAEF,eAAeb,YAAY"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export declare const env: {
|
|
2
|
-
dev: {
|
|
3
|
-
AWS: {
|
|
4
|
-
region: any;
|
|
5
|
-
cognito: {
|
|
6
|
-
userPoolId: string;
|
|
7
|
-
userPoolWebClientId: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
apiUrls: {
|
|
11
|
-
restV1: any;
|
|
12
|
-
restV2: any;
|
|
13
|
-
graphql: any;
|
|
14
|
-
};
|
|
15
|
-
publicUrls: {
|
|
16
|
-
platformSite: string;
|
|
17
|
-
nizzaCdn: string;
|
|
18
|
-
bundleSite: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
prod: {
|
|
22
|
-
AWS: {
|
|
23
|
-
region: any;
|
|
24
|
-
cognito: {
|
|
25
|
-
userPoolId: string;
|
|
26
|
-
userPoolWebClientId: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
apiUrls: {
|
|
30
|
-
restV1: any;
|
|
31
|
-
restV2: any;
|
|
32
|
-
graphql: any;
|
|
33
|
-
};
|
|
34
|
-
publicUrls: {
|
|
35
|
-
platformSite: string;
|
|
36
|
-
nizzaCdn: string;
|
|
37
|
-
bundleSite: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
staging: {
|
|
41
|
-
AWS: {
|
|
42
|
-
region: any;
|
|
43
|
-
cognito: {
|
|
44
|
-
userPoolId: string;
|
|
45
|
-
userPoolWebClientId: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
apiUrls: {
|
|
49
|
-
restV1: any;
|
|
50
|
-
restV2: any;
|
|
51
|
-
graphql: any;
|
|
52
|
-
};
|
|
53
|
-
publicUrls: {
|
|
54
|
-
platformSite: string;
|
|
55
|
-
nizzaCdn: string;
|
|
56
|
-
bundleSite: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
export default env;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/environments/index.ts"],"sourcesContent":["import dev from './development';\nimport prod from './production';\nimport staging from './staging';\n\nexport const env = {\n dev,\n prod,\n staging,\n};\n\nexport default env;\n"],"names":["dev","prod","staging","env"],"mappings":"AAAA,OAAOA,SAAS,gBAAgB;AAChC,OAAOC,UAAU,eAAe;AAChC,OAAOC,aAAa,YAAY;AAEhC,OAAO,MAAMC,MAAM;IACjBH;IACAC;IACAC;AACF,EAAE;AAEF,eAAeC,IAAI"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const environment: {
|
|
2
|
-
AWS: {
|
|
3
|
-
region: any;
|
|
4
|
-
cognito: {
|
|
5
|
-
userPoolId: string;
|
|
6
|
-
userPoolWebClientId: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
apiUrls: {
|
|
10
|
-
restV1: any;
|
|
11
|
-
restV2: any;
|
|
12
|
-
graphql: any;
|
|
13
|
-
};
|
|
14
|
-
publicUrls: {
|
|
15
|
-
platformSite: string;
|
|
16
|
-
nizzaCdn: string;
|
|
17
|
-
bundleSite: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export default environment;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
const { NZ_AWS_REGION , NZ_BACKOFFICE_BACK_URL , NZ_CORE_SERVICES_GRAPHQL_URL , NZ_CORE_SERVICES_REST_URL } = import.meta.env;
|
|
2
|
-
export const environment = {
|
|
3
|
-
AWS: {
|
|
4
|
-
region: NZ_AWS_REGION,
|
|
5
|
-
cognito: {
|
|
6
|
-
userPoolId: 'us-east-1_EZ7wuZ4ig',
|
|
7
|
-
userPoolWebClientId: '2jok7cst8ebf6ppscrhji57gvr'
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
// Back services
|
|
11
|
-
apiUrls: {
|
|
12
|
-
restV1: NZ_BACKOFFICE_BACK_URL || 'https://b133h34s56.execute-api.us-east-1.amazonaws.com',
|
|
13
|
-
restV2: NZ_CORE_SERVICES_REST_URL || 'https://core-services-prod.nizza.com/api',
|
|
14
|
-
graphql: NZ_CORE_SERVICES_GRAPHQL_URL || 'https://core-services-prod.nizza.com/graphql'
|
|
15
|
-
},
|
|
16
|
-
publicUrls: {
|
|
17
|
-
// Public app url
|
|
18
|
-
platformSite: 'https://platform.nizza.com',
|
|
19
|
-
// Nizza CDN
|
|
20
|
-
nizzaCdn: 'https://cdn.nizza.com',
|
|
21
|
-
// Bundle
|
|
22
|
-
bundleSite: 'https://bundle.nizza.com'
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
export default environment;
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=production.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/environments/production.ts"],"sourcesContent":["const {\n NZ_AWS_REGION,\n NZ_BACKOFFICE_BACK_URL,\n NZ_CORE_SERVICES_GRAPHQL_URL,\n NZ_CORE_SERVICES_REST_URL,\n} = import.meta.env;\n\nexport const environment = {\n AWS: {\n region: NZ_AWS_REGION,\n cognito: {\n userPoolId: 'us-east-1_EZ7wuZ4ig',\n userPoolWebClientId: '2jok7cst8ebf6ppscrhji57gvr',\n },\n },\n\n // Back services\n apiUrls: {\n restV1:\n NZ_BACKOFFICE_BACK_URL ||\n 'https://b133h34s56.execute-api.us-east-1.amazonaws.com',\n restV2:\n NZ_CORE_SERVICES_REST_URL || 'https://core-services-prod.nizza.com/api',\n graphql:\n NZ_CORE_SERVICES_GRAPHQL_URL ||\n 'https://core-services-prod.nizza.com/graphql',\n },\n\n publicUrls: {\n // Public app url\n platformSite: 'https://platform.nizza.com',\n\n // Nizza CDN\n nizzaCdn: 'https://cdn.nizza.com',\n\n // Bundle\n bundleSite: 'https://bundle.nizza.com',\n },\n};\n\nexport default environment;\n"],"names":["NZ_AWS_REGION","NZ_BACKOFFICE_BACK_URL","NZ_CORE_SERVICES_GRAPHQL_URL","NZ_CORE_SERVICES_REST_URL","env","environment","AWS","region","cognito","userPoolId","userPoolWebClientId","apiUrls","restV1","restV2","graphql","publicUrls","platformSite","nizzaCdn","bundleSite"],"mappings":"AAAA,MAAM,EACJA,cAAa,EACbC,uBAAsB,EACtBC,6BAA4B,EAC5BC,0BAAyB,EAC1B,GAAG,YAAYC,GAAG;AAEnB,OAAO,MAAMC,cAAc;IACzBC,KAAK;QACHC,QAAQP;QACRQ,SAAS;YACPC,YAAY;YACZC,qBAAqB;QACvB;IACF;IAEA,iBAAiB;IACjBC,SAAS;QACPC,QACEX,0BACA;QACFY,QACEV,6BAA6B;QAC/BW,SACEZ,gCACA;IACJ;IAEAa,YAAY;QACV,kBAAkB;QAClBC,cAAc;QAEd,YAAY;QACZC,UAAU;QAEV,UAAU;QACVC,YAAY;IACd;AACF,EAAE;AAEF,eAAeb,YAAY"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const environment: {
|
|
2
|
-
AWS: {
|
|
3
|
-
region: any;
|
|
4
|
-
cognito: {
|
|
5
|
-
userPoolId: string;
|
|
6
|
-
userPoolWebClientId: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
apiUrls: {
|
|
10
|
-
restV1: any;
|
|
11
|
-
restV2: any;
|
|
12
|
-
graphql: any;
|
|
13
|
-
};
|
|
14
|
-
publicUrls: {
|
|
15
|
-
platformSite: string;
|
|
16
|
-
nizzaCdn: string;
|
|
17
|
-
bundleSite: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export default environment;
|