@restorecommerce/facade 1.4.3 → 1.4.5
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/CHANGELOG.md +22 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/dist/modules/catalog/gql/schema.generated.d.ts +56 -59
- package/dist/modules/catalog/gql/schema.generated.d.ts.map +1 -1
- package/dist/modules/catalog/gql/schema.generated.js.map +1 -1
- package/dist/modules/fulfillment/gql/schema.generated.d.ts +719 -701
- package/dist/modules/fulfillment/gql/schema.generated.d.ts.map +1 -1
- package/dist/modules/fulfillment/gql/schema.generated.js +19 -19
- package/dist/modules/fulfillment/gql/schema.generated.js.map +1 -1
- package/dist/modules/invoicing/gql/schema.generated.d.ts +59 -58
- package/dist/modules/invoicing/gql/schema.generated.d.ts.map +1 -1
- package/dist/modules/invoicing/gql/schema.generated.js.map +1 -1
- package/dist/modules/ordering/gql/schema.generated.d.ts +115 -100
- package/dist/modules/ordering/gql/schema.generated.d.ts.map +1 -1
- package/dist/modules/ordering/gql/schema.generated.js.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,28 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [1.4.5](https://github.com/restorecommerce/libs/compare/@restorecommerce/facade@1.4.4...@restorecommerce/facade@1.4.5) (2023-08-01)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* **facade:** allow all origins on cors ([9a7c7d3](https://github.com/restorecommerce/libs/commit/9a7c7d3244204dc9e08f614887a4c6185fe4098b))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
## [1.4.4](https://github.com/restorecommerce/libs/compare/@restorecommerce/facade@1.4.3...@restorecommerce/facade@1.4.4) (2023-07-26)
|
18
|
+
|
19
|
+
|
20
|
+
### Bug Fixes
|
21
|
+
|
22
|
+
* **facade:** Add bodyparser json limit ([a173c39](https://github.com/restorecommerce/libs/commit/a173c39e6d59f5ac2c8a23ee49a98f04a77d5f51))
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
6
28
|
## [1.4.3](https://github.com/restorecommerce/libs/compare/@restorecommerce/facade@1.4.2...@restorecommerce/facade@1.4.3) (2023-07-25)
|
7
29
|
|
8
30
|
|
package/dist/index.d.ts
CHANGED
@@ -19,6 +19,7 @@ interface RestoreCommerceFacadeImplConfig {
|
|
19
19
|
env?: string;
|
20
20
|
kafka?: KafkaProviderConfig['kafka'];
|
21
21
|
fileUploadOptions?: FileUploadOptionsConfig['fileUploadOptions'];
|
22
|
+
jsonLimit?: string;
|
22
23
|
}
|
23
24
|
export declare class RestoreCommerceFacade<TModules extends FacadeModuleBase[] = []> implements Facade<TModules> {
|
24
25
|
private apolloServices;
|
@@ -33,9 +34,10 @@ export declare class RestoreCommerceFacade<TModules extends FacadeModuleBase[] =
|
|
33
34
|
readonly modules: FacadeModule[];
|
34
35
|
readonly kafkaConfig?: KafkaProviderConfig['kafka'];
|
35
36
|
readonly fileUploadOptionsConfig?: FileUploadOptionsConfig['fileUploadOptions'];
|
37
|
+
readonly jsonLimit?: string;
|
36
38
|
private startFns;
|
37
39
|
private stopFns;
|
38
|
-
constructor({ koa, logger, port, hostname, env, kafka, fileUploadOptions }: RestoreCommerceFacadeImplConfig);
|
40
|
+
constructor({ koa, logger, port, hostname, env, kafka, fileUploadOptions, jsonLimit }: RestoreCommerceFacadeImplConfig);
|
39
41
|
get server(): Server<typeof import("http").IncomingMessage, typeof ServerResponse> | undefined;
|
40
42
|
get address(): AddressInfo | undefined;
|
41
43
|
get listening(): boolean;
|
@@ -62,6 +64,7 @@ export interface FacadeConfig {
|
|
62
64
|
keys?: string[];
|
63
65
|
kafka?: KafkaProviderConfig['kafka'];
|
64
66
|
fileUploadOptions?: FileUploadOptionsConfig['fileUploadOptions'];
|
67
|
+
jsonLimit?: string;
|
65
68
|
}
|
66
69
|
export declare const createFacade: (config: FacadeConfig) => Facade;
|
67
70
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AACA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,KAAK,MAAM,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAExD,OAAO,GAAG,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAI5C,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAE,KAAK,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAgBpK,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAQzE,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAE/B,UAAU,+BAA+B;IACvC,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACrC,iBAAiB,CAAC,EAAE,uBAAuB,CAAC,mBAAmB,CAAC,CAAC;
|
1
|
+
{"version":3,"file":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I/K,gBAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,GAAG,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;IASlF,OAAO,CAAC,EAAE,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAItC,MAAM,CAAC,EAAE,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;YAIvB,UAAU;IAgBlB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAuBtB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;YAiBb,iBAAiB;CAmIhC;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACrC,iBAAiB,CAAC,EAAE,uBAAuB,CAAC,mBAAmB,CAAC,CAAC;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,WAAY,YAAY,KAAG,MAgCnD,CAAC"}
|
package/dist/index.js
CHANGED
@@ -42,9 +42,10 @@ export class RestoreCommerceFacade {
|
|
42
42
|
modules = [];
|
43
43
|
kafkaConfig;
|
44
44
|
fileUploadOptionsConfig;
|
45
|
+
jsonLimit;
|
45
46
|
startFns = [];
|
46
47
|
stopFns = [];
|
47
|
-
constructor({ koa, logger, port, hostname, env, kafka, fileUploadOptions }) {
|
48
|
+
constructor({ koa, logger, port, hostname, env, kafka, fileUploadOptions, jsonLimit }) {
|
48
49
|
this.logger = logger;
|
49
50
|
this.port = port ?? 5000;
|
50
51
|
this.hostname = hostname ?? '127.0.0.1';
|
@@ -52,6 +53,7 @@ export class RestoreCommerceFacade {
|
|
52
53
|
this.env = env ?? 'development';
|
53
54
|
this.kafkaConfig = kafka;
|
54
55
|
this.fileUploadOptionsConfig = fileUploadOptions;
|
56
|
+
this.jsonLimit = jsonLimit ? jsonLimit : '50mb';
|
55
57
|
setUseSubscriptions(!!kafka);
|
56
58
|
}
|
57
59
|
get server() {
|
@@ -259,9 +261,13 @@ export class RestoreCommerceFacade {
|
|
259
261
|
maxFileSize,
|
260
262
|
maxFiles
|
261
263
|
}));
|
262
|
-
this.koa.use(cors(
|
264
|
+
this.koa.use(cors({
|
265
|
+
credentials: true,
|
266
|
+
origin: '*',
|
267
|
+
exposeHeaders: ["x-jwt"]
|
268
|
+
}));
|
263
269
|
const apolloGraphQLRouter = new Router();
|
264
|
-
apolloGraphQLRouter.use(bodyParser());
|
270
|
+
apolloGraphQLRouter.use(bodyParser({ jsonLimit: this.jsonLimit }));
|
265
271
|
apolloGraphQLRouter.all('/graphql', koaMiddleware(gqlServer, {
|
266
272
|
context: async ({ ctx }) => ctx,
|
267
273
|
}));
|
@@ -294,6 +300,7 @@ export const createFacade = (config) => {
|
|
294
300
|
env: config.env,
|
295
301
|
kafka: config.kafka,
|
296
302
|
fileUploadOptions: config.fileUploadOptions,
|
303
|
+
jsonLimit: config.jsonLimit
|
297
304
|
}).useModule(facadeStatusModule);
|
298
305
|
};
|
299
306
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAe,cAAc,EAAE,MAAM,WAAW,CAAC;AAExD,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,C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C,CAAC,CAAC"}
|
@@ -134,6 +134,7 @@ export type IoRestorecommerceProductIndividualProduct = {
|
|
134
134
|
categoryId?: Maybe<Scalars['String']['output']>;
|
135
135
|
category?: Maybe<IoRestorecommerceProductCategoryProductCategory>;
|
136
136
|
taxIds?: Maybe<Array<Scalars['String']['output']>>;
|
137
|
+
tax?: Maybe<Array<IoRestorecommerceTaxTax>>;
|
137
138
|
gtin?: Maybe<Scalars['String']['output']>;
|
138
139
|
physical?: Maybe<IoRestorecommerceProductPhysicalProduct>;
|
139
140
|
service?: Maybe<IoRestorecommerceProductServiceProduct>;
|
@@ -200,6 +201,24 @@ export type IoRestorecommerceProductCategoryParent = {
|
|
200
201
|
__typename?: 'IoRestorecommerceProductCategoryParent';
|
201
202
|
parentId?: Maybe<Scalars['String']['output']>;
|
202
203
|
};
|
204
|
+
export type IoRestorecommerceTaxTax = {
|
205
|
+
__typename?: 'IoRestorecommerceTaxTax';
|
206
|
+
id?: Maybe<Scalars['String']['output']>;
|
207
|
+
meta?: Maybe<IoRestorecommerceMetaMeta>;
|
208
|
+
countryId?: Maybe<Scalars['String']['output']>;
|
209
|
+
country?: Maybe<IoRestorecommerceCountryCountry>;
|
210
|
+
rate?: Maybe<Scalars['Float']['output']>;
|
211
|
+
variant?: Maybe<Scalars['String']['output']>;
|
212
|
+
typeId?: Maybe<Scalars['String']['output']>;
|
213
|
+
type?: Maybe<IoRestorecommerceTaxTypeTaxType>;
|
214
|
+
};
|
215
|
+
export type IoRestorecommerceTaxTypeTaxType = {
|
216
|
+
__typename?: 'IoRestorecommerceTaxTypeTaxType';
|
217
|
+
id?: Maybe<Scalars['String']['output']>;
|
218
|
+
meta?: Maybe<IoRestorecommerceMetaMeta>;
|
219
|
+
type?: Maybe<Scalars['String']['output']>;
|
220
|
+
description?: Maybe<Scalars['String']['output']>;
|
221
|
+
};
|
203
222
|
export type IoRestorecommerceProductPhysicalProduct = {
|
204
223
|
__typename?: 'IoRestorecommerceProductPhysicalProduct';
|
205
224
|
variants?: Maybe<Array<IoRestorecommerceProductPhysicalVariant>>;
|
@@ -214,7 +233,7 @@ export type IoRestorecommerceProductPhysicalVariant = {
|
|
214
233
|
images?: Maybe<Array<IoRestorecommerceImageImage>>;
|
215
234
|
files?: Maybe<Array<IoRestorecommerceFileFile>>;
|
216
235
|
stockKeepingUnit?: Maybe<Scalars['String']['output']>;
|
217
|
-
|
236
|
+
parentVariantId?: Maybe<Scalars['String']['output']>;
|
218
237
|
package?: Maybe<IoRestorecommerceProductPackage>;
|
219
238
|
properties?: Maybe<Array<IoRestorecommercePropertyProperty>>;
|
220
239
|
};
|
@@ -225,8 +244,6 @@ export type IoRestorecommercePricePrice = {
|
|
225
244
|
salePrice?: Maybe<Scalars['Float']['output']>;
|
226
245
|
currencyId?: Maybe<Scalars['String']['output']>;
|
227
246
|
currency?: Maybe<IoRestorecommerceCurrencyCurrency>;
|
228
|
-
taxIds?: Maybe<Array<Scalars['String']['output']>>;
|
229
|
-
taxes?: Maybe<Array<IoRestorecommerceTaxTax>>;
|
230
247
|
};
|
231
248
|
export type IoRestorecommerceCurrencyCurrency = {
|
232
249
|
__typename?: 'IoRestorecommerceCurrencyCurrency';
|
@@ -244,24 +261,6 @@ export type IoRestorecommerceCurrencyExchangeRate = {
|
|
244
261
|
expenses?: Maybe<Scalars['Float']['output']>;
|
245
262
|
amount?: Maybe<Scalars['Float']['output']>;
|
246
263
|
};
|
247
|
-
export type IoRestorecommerceTaxTax = {
|
248
|
-
__typename?: 'IoRestorecommerceTaxTax';
|
249
|
-
id?: Maybe<Scalars['String']['output']>;
|
250
|
-
meta?: Maybe<IoRestorecommerceMetaMeta>;
|
251
|
-
countryId?: Maybe<Scalars['String']['output']>;
|
252
|
-
country?: Maybe<IoRestorecommerceCountryCountry>;
|
253
|
-
rate?: Maybe<Scalars['Float']['output']>;
|
254
|
-
variant?: Maybe<Scalars['String']['output']>;
|
255
|
-
typeId?: Maybe<Scalars['String']['output']>;
|
256
|
-
type?: Maybe<IoRestorecommerceTaxTypeTaxType>;
|
257
|
-
};
|
258
|
-
export type IoRestorecommerceTaxTypeTaxType = {
|
259
|
-
__typename?: 'IoRestorecommerceTaxTypeTaxType';
|
260
|
-
id?: Maybe<Scalars['String']['output']>;
|
261
|
-
meta?: Maybe<IoRestorecommerceMetaMeta>;
|
262
|
-
type?: Maybe<Scalars['String']['output']>;
|
263
|
-
description?: Maybe<Scalars['String']['output']>;
|
264
|
-
};
|
265
264
|
export type IoRestorecommerceFileFile = {
|
266
265
|
__typename?: 'IoRestorecommerceFileFile';
|
267
266
|
id?: Maybe<Scalars['String']['output']>;
|
@@ -306,7 +305,7 @@ export type IoRestorecommerceProductServiceVariant = {
|
|
306
305
|
images?: Maybe<Array<IoRestorecommerceImageImage>>;
|
307
306
|
files?: Maybe<Array<IoRestorecommerceFileFile>>;
|
308
307
|
stockKeepingUnit?: Maybe<Scalars['String']['output']>;
|
309
|
-
|
308
|
+
parentVariantId?: Maybe<Scalars['String']['output']>;
|
310
309
|
properties?: Maybe<Array<IoRestorecommercePropertyProperty>>;
|
311
310
|
};
|
312
311
|
export type IoRestorecommerceProductVirtualProduct = {
|
@@ -323,7 +322,7 @@ export type IoRestorecommerceProductVirtualVariant = {
|
|
323
322
|
images?: Maybe<Array<IoRestorecommerceImageImage>>;
|
324
323
|
files?: Maybe<Array<IoRestorecommerceFileFile>>;
|
325
324
|
stockKeepingUnit?: Maybe<Scalars['String']['output']>;
|
326
|
-
|
325
|
+
parentVariantId?: Maybe<Scalars['String']['output']>;
|
327
326
|
properties?: Maybe<Array<IoRestorecommercePropertyProperty>>;
|
328
327
|
};
|
329
328
|
export type IoRestorecommerceProductBundle = {
|
@@ -771,7 +770,7 @@ export type IIoRestorecommerceProductPhysicalVariant = {
|
|
771
770
|
images?: InputMaybe<Array<IIoRestorecommerceImageImage>>;
|
772
771
|
files?: InputMaybe<Array<IIoRestorecommerceFileFile>>;
|
773
772
|
stockKeepingUnit?: InputMaybe<Scalars['String']['input']>;
|
774
|
-
|
773
|
+
parentVariantId?: InputMaybe<Scalars['String']['input']>;
|
775
774
|
package?: InputMaybe<IIoRestorecommerceProductPackage>;
|
776
775
|
properties?: InputMaybe<Array<IIoRestorecommercePropertyProperty>>;
|
777
776
|
};
|
@@ -780,7 +779,6 @@ export type IIoRestorecommercePricePrice = {
|
|
780
779
|
sale?: InputMaybe<Scalars['Boolean']['input']>;
|
781
780
|
salePrice?: InputMaybe<Scalars['Float']['input']>;
|
782
781
|
currencyId?: InputMaybe<Scalars['String']['input']>;
|
783
|
-
taxIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
784
782
|
};
|
785
783
|
export type IIoRestorecommerceImageImage = {
|
786
784
|
id?: InputMaybe<Scalars['String']['input']>;
|
@@ -832,7 +830,7 @@ export type IIoRestorecommerceProductServiceVariant = {
|
|
832
830
|
images?: InputMaybe<Array<IIoRestorecommerceImageImage>>;
|
833
831
|
files?: InputMaybe<Array<IIoRestorecommerceFileFile>>;
|
834
832
|
stockKeepingUnit?: InputMaybe<Scalars['String']['input']>;
|
835
|
-
|
833
|
+
parentVariantId?: InputMaybe<Scalars['String']['input']>;
|
836
834
|
properties?: InputMaybe<Array<IIoRestorecommercePropertyProperty>>;
|
837
835
|
};
|
838
836
|
export type IIoRestorecommerceProductVirtualProduct = {
|
@@ -847,7 +845,7 @@ export type IIoRestorecommerceProductVirtualVariant = {
|
|
847
845
|
images?: InputMaybe<Array<IIoRestorecommerceImageImage>>;
|
848
846
|
files?: InputMaybe<Array<IIoRestorecommerceFileFile>>;
|
849
847
|
stockKeepingUnit?: InputMaybe<Scalars['String']['input']>;
|
850
|
-
|
848
|
+
parentVariantId?: InputMaybe<Scalars['String']['input']>;
|
851
849
|
properties?: InputMaybe<Array<IIoRestorecommercePropertyProperty>>;
|
852
850
|
};
|
853
851
|
export type IIoRestorecommerceProductBundle = {
|
@@ -1067,14 +1065,14 @@ export type ResolversTypes = ResolversObject<{
|
|
1067
1065
|
Float: ResolverTypeWrapper<Scalars['Float']['output']>;
|
1068
1066
|
Int: ResolverTypeWrapper<Scalars['Int']['output']>;
|
1069
1067
|
IoRestorecommerceProductCategoryParent: ResolverTypeWrapper<IoRestorecommerceProductCategoryParent>;
|
1068
|
+
IoRestorecommerceTaxTax: ResolverTypeWrapper<IoRestorecommerceTaxTax>;
|
1069
|
+
IoRestorecommerceTaxTypeTaxType: ResolverTypeWrapper<IoRestorecommerceTaxTypeTaxType>;
|
1070
1070
|
IoRestorecommerceProductPhysicalProduct: ResolverTypeWrapper<IoRestorecommerceProductPhysicalProduct>;
|
1071
1071
|
IoRestorecommerceProductPhysicalVariant: ResolverTypeWrapper<IoRestorecommerceProductPhysicalVariant>;
|
1072
1072
|
IoRestorecommercePricePrice: ResolverTypeWrapper<IoRestorecommercePricePrice>;
|
1073
1073
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']['output']>;
|
1074
1074
|
IoRestorecommerceCurrencyCurrency: ResolverTypeWrapper<IoRestorecommerceCurrencyCurrency>;
|
1075
1075
|
IoRestorecommerceCurrencyExchangeRate: ResolverTypeWrapper<IoRestorecommerceCurrencyExchangeRate>;
|
1076
|
-
IoRestorecommerceTaxTax: ResolverTypeWrapper<IoRestorecommerceTaxTax>;
|
1077
|
-
IoRestorecommerceTaxTypeTaxType: ResolverTypeWrapper<IoRestorecommerceTaxTypeTaxType>;
|
1078
1076
|
IoRestorecommerceFileFile: ResolverTypeWrapper<IoRestorecommerceFileFile>;
|
1079
1077
|
IoRestorecommerceProductPackage: ResolverTypeWrapper<IoRestorecommerceProductPackage>;
|
1080
1078
|
IoRestorecommerceGeometryBoundingBox3D: ResolverTypeWrapper<IoRestorecommerceGeometryBoundingBox3D>;
|
@@ -1206,14 +1204,14 @@ export type ResolversParentTypes = ResolversObject<{
|
|
1206
1204
|
Float: Scalars['Float']['output'];
|
1207
1205
|
Int: Scalars['Int']['output'];
|
1208
1206
|
IoRestorecommerceProductCategoryParent: IoRestorecommerceProductCategoryParent;
|
1207
|
+
IoRestorecommerceTaxTax: IoRestorecommerceTaxTax;
|
1208
|
+
IoRestorecommerceTaxTypeTaxType: IoRestorecommerceTaxTypeTaxType;
|
1209
1209
|
IoRestorecommerceProductPhysicalProduct: IoRestorecommerceProductPhysicalProduct;
|
1210
1210
|
IoRestorecommerceProductPhysicalVariant: IoRestorecommerceProductPhysicalVariant;
|
1211
1211
|
IoRestorecommercePricePrice: IoRestorecommercePricePrice;
|
1212
1212
|
Boolean: Scalars['Boolean']['output'];
|
1213
1213
|
IoRestorecommerceCurrencyCurrency: IoRestorecommerceCurrencyCurrency;
|
1214
1214
|
IoRestorecommerceCurrencyExchangeRate: IoRestorecommerceCurrencyExchangeRate;
|
1215
|
-
IoRestorecommerceTaxTax: IoRestorecommerceTaxTax;
|
1216
|
-
IoRestorecommerceTaxTypeTaxType: IoRestorecommerceTaxTypeTaxType;
|
1217
1215
|
IoRestorecommerceFileFile: IoRestorecommerceFileFile;
|
1218
1216
|
IoRestorecommerceProductPackage: IoRestorecommerceProductPackage;
|
1219
1217
|
IoRestorecommerceGeometryBoundingBox3D: IoRestorecommerceGeometryBoundingBox3D;
|
@@ -1383,6 +1381,7 @@ export type IoRestorecommerceProductIndividualProductResolvers<ContextType = Cat
|
|
1383
1381
|
categoryId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1384
1382
|
category?: Resolver<Maybe<ResolversTypes['IoRestorecommerceProductCategoryProductCategory']>, ParentType, ContextType>;
|
1385
1383
|
taxIds?: Resolver<Maybe<Array<ResolversTypes['String']>>, ParentType, ContextType>;
|
1384
|
+
tax?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommerceTaxTax']>>, ParentType, ContextType>;
|
1386
1385
|
gtin?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1387
1386
|
physical?: Resolver<Maybe<ResolversTypes['IoRestorecommerceProductPhysicalProduct']>, ParentType, ContextType>;
|
1388
1387
|
service?: Resolver<Maybe<ResolversTypes['IoRestorecommerceProductServiceProduct']>, ParentType, ContextType>;
|
@@ -1450,6 +1449,24 @@ export type IoRestorecommerceProductCategoryParentResolvers<ContextType = Catalo
|
|
1450
1449
|
parentId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1451
1450
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
1452
1451
|
}>;
|
1452
|
+
export type IoRestorecommerceTaxTaxResolvers<ContextType = CatalogContext, ParentType extends ResolversParentTypes['IoRestorecommerceTaxTax'] = ResolversParentTypes['IoRestorecommerceTaxTax']> = ResolversObject<{
|
1453
|
+
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1454
|
+
meta?: Resolver<Maybe<ResolversTypes['IoRestorecommerceMetaMeta']>, ParentType, ContextType>;
|
1455
|
+
countryId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1456
|
+
country?: Resolver<Maybe<ResolversTypes['IoRestorecommerceCountryCountry']>, ParentType, ContextType>;
|
1457
|
+
rate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
1458
|
+
variant?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1459
|
+
typeId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1460
|
+
type?: Resolver<Maybe<ResolversTypes['IoRestorecommerceTaxTypeTaxType']>, ParentType, ContextType>;
|
1461
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
1462
|
+
}>;
|
1463
|
+
export type IoRestorecommerceTaxTypeTaxTypeResolvers<ContextType = CatalogContext, ParentType extends ResolversParentTypes['IoRestorecommerceTaxTypeTaxType'] = ResolversParentTypes['IoRestorecommerceTaxTypeTaxType']> = ResolversObject<{
|
1464
|
+
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1465
|
+
meta?: Resolver<Maybe<ResolversTypes['IoRestorecommerceMetaMeta']>, ParentType, ContextType>;
|
1466
|
+
type?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1467
|
+
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1468
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
1469
|
+
}>;
|
1453
1470
|
export type IoRestorecommerceProductPhysicalProductResolvers<ContextType = CatalogContext, ParentType extends ResolversParentTypes['IoRestorecommerceProductPhysicalProduct'] = ResolversParentTypes['IoRestorecommerceProductPhysicalProduct']> = ResolversObject<{
|
1454
1471
|
variants?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommerceProductPhysicalVariant']>>, ParentType, ContextType>;
|
1455
1472
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
@@ -1463,7 +1480,7 @@ export type IoRestorecommerceProductPhysicalVariantResolvers<ContextType = Catal
|
|
1463
1480
|
images?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommerceImageImage']>>, ParentType, ContextType>;
|
1464
1481
|
files?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommerceFileFile']>>, ParentType, ContextType>;
|
1465
1482
|
stockKeepingUnit?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1466
|
-
|
1483
|
+
parentVariantId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1467
1484
|
package?: Resolver<Maybe<ResolversTypes['IoRestorecommerceProductPackage']>, ParentType, ContextType>;
|
1468
1485
|
properties?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommercePropertyProperty']>>, ParentType, ContextType>;
|
1469
1486
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
@@ -1474,8 +1491,6 @@ export type IoRestorecommercePricePriceResolvers<ContextType = CatalogContext, P
|
|
1474
1491
|
salePrice?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
1475
1492
|
currencyId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1476
1493
|
currency?: Resolver<Maybe<ResolversTypes['IoRestorecommerceCurrencyCurrency']>, ParentType, ContextType>;
|
1477
|
-
taxIds?: Resolver<Maybe<Array<ResolversTypes['String']>>, ParentType, ContextType>;
|
1478
|
-
taxes?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommerceTaxTax']>>, ParentType, ContextType>;
|
1479
1494
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
1480
1495
|
}>;
|
1481
1496
|
export type IoRestorecommerceCurrencyCurrencyResolvers<ContextType = CatalogContext, ParentType extends ResolversParentTypes['IoRestorecommerceCurrencyCurrency'] = ResolversParentTypes['IoRestorecommerceCurrencyCurrency']> = ResolversObject<{
|
@@ -1494,24 +1509,6 @@ export type IoRestorecommerceCurrencyExchangeRateResolvers<ContextType = Catalog
|
|
1494
1509
|
amount?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
1495
1510
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
1496
1511
|
}>;
|
1497
|
-
export type IoRestorecommerceTaxTaxResolvers<ContextType = CatalogContext, ParentType extends ResolversParentTypes['IoRestorecommerceTaxTax'] = ResolversParentTypes['IoRestorecommerceTaxTax']> = ResolversObject<{
|
1498
|
-
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1499
|
-
meta?: Resolver<Maybe<ResolversTypes['IoRestorecommerceMetaMeta']>, ParentType, ContextType>;
|
1500
|
-
countryId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1501
|
-
country?: Resolver<Maybe<ResolversTypes['IoRestorecommerceCountryCountry']>, ParentType, ContextType>;
|
1502
|
-
rate?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
1503
|
-
variant?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1504
|
-
typeId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1505
|
-
type?: Resolver<Maybe<ResolversTypes['IoRestorecommerceTaxTypeTaxType']>, ParentType, ContextType>;
|
1506
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
1507
|
-
}>;
|
1508
|
-
export type IoRestorecommerceTaxTypeTaxTypeResolvers<ContextType = CatalogContext, ParentType extends ResolversParentTypes['IoRestorecommerceTaxTypeTaxType'] = ResolversParentTypes['IoRestorecommerceTaxTypeTaxType']> = ResolversObject<{
|
1509
|
-
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1510
|
-
meta?: Resolver<Maybe<ResolversTypes['IoRestorecommerceMetaMeta']>, ParentType, ContextType>;
|
1511
|
-
type?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1512
|
-
description?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1513
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
1514
|
-
}>;
|
1515
1512
|
export type IoRestorecommerceFileFileResolvers<ContextType = CatalogContext, ParentType extends ResolversParentTypes['IoRestorecommerceFileFile'] = ResolversParentTypes['IoRestorecommerceFileFile']> = ResolversObject<{
|
1516
1513
|
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1517
1514
|
index?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
@@ -1555,7 +1552,7 @@ export type IoRestorecommerceProductServiceVariantResolvers<ContextType = Catalo
|
|
1555
1552
|
images?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommerceImageImage']>>, ParentType, ContextType>;
|
1556
1553
|
files?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommerceFileFile']>>, ParentType, ContextType>;
|
1557
1554
|
stockKeepingUnit?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1558
|
-
|
1555
|
+
parentVariantId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1559
1556
|
properties?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommercePropertyProperty']>>, ParentType, ContextType>;
|
1560
1557
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
1561
1558
|
}>;
|
@@ -1572,7 +1569,7 @@ export type IoRestorecommerceProductVirtualVariantResolvers<ContextType = Catalo
|
|
1572
1569
|
images?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommerceImageImage']>>, ParentType, ContextType>;
|
1573
1570
|
files?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommerceFileFile']>>, ParentType, ContextType>;
|
1574
1571
|
stockKeepingUnit?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1575
|
-
|
1572
|
+
parentVariantId?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
1576
1573
|
properties?: Resolver<Maybe<Array<ResolversTypes['IoRestorecommercePropertyProperty']>>, ParentType, ContextType>;
|
1577
1574
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
1578
1575
|
}>;
|
@@ -1741,9 +1738,9 @@ export type IoRestorecommerceProductAssociationResolvers<ContextType = CatalogCo
|
|
1741
1738
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
1742
1739
|
}>;
|
1743
1740
|
export type IoRestorecommerceProductAssociationTypeResolvers = {
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1741
|
+
MISCELLANEOUS: 0;
|
1742
|
+
ACCESSORY: 1;
|
1743
|
+
RECOMMENDATION: 2;
|
1747
1744
|
};
|
1748
1745
|
export type IoRestorecommerceStatusStatusResolvers<ContextType = CatalogContext, ParentType extends ResolversParentTypes['IoRestorecommerceStatusStatus'] = ResolversParentTypes['IoRestorecommerceStatusStatus']> = ResolversObject<{
|
1749
1746
|
id?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
@@ -1956,13 +1953,13 @@ export type Resolvers<ContextType = CatalogContext> = ResolversObject<{
|
|
1956
1953
|
IoRestorecommercePriceGroupPriceGroup?: IoRestorecommercePriceGroupPriceGroupResolvers<ContextType>;
|
1957
1954
|
IoRestorecommerceImageImage?: IoRestorecommerceImageImageResolvers<ContextType>;
|
1958
1955
|
IoRestorecommerceProductCategoryParent?: IoRestorecommerceProductCategoryParentResolvers<ContextType>;
|
1956
|
+
IoRestorecommerceTaxTax?: IoRestorecommerceTaxTaxResolvers<ContextType>;
|
1957
|
+
IoRestorecommerceTaxTypeTaxType?: IoRestorecommerceTaxTypeTaxTypeResolvers<ContextType>;
|
1959
1958
|
IoRestorecommerceProductPhysicalProduct?: IoRestorecommerceProductPhysicalProductResolvers<ContextType>;
|
1960
1959
|
IoRestorecommerceProductPhysicalVariant?: IoRestorecommerceProductPhysicalVariantResolvers<ContextType>;
|
1961
1960
|
IoRestorecommercePricePrice?: IoRestorecommercePricePriceResolvers<ContextType>;
|
1962
1961
|
IoRestorecommerceCurrencyCurrency?: IoRestorecommerceCurrencyCurrencyResolvers<ContextType>;
|
1963
1962
|
IoRestorecommerceCurrencyExchangeRate?: IoRestorecommerceCurrencyExchangeRateResolvers<ContextType>;
|
1964
|
-
IoRestorecommerceTaxTax?: IoRestorecommerceTaxTaxResolvers<ContextType>;
|
1965
|
-
IoRestorecommerceTaxTypeTaxType?: IoRestorecommerceTaxTypeTaxTypeResolvers<ContextType>;
|
1966
1963
|
IoRestorecommerceFileFile?: IoRestorecommerceFileFileResolvers<ContextType>;
|
1967
1964
|
IoRestorecommerceProductPackage?: IoRestorecommerceProductPackageResolvers<ContextType>;
|
1968
1965
|
IoRestorecommerceGeometryBoundingBox3D?: IoRestorecommerceGeometryBoundingBox3DResolvers<ContextType>;
|