@unchainedshop/api 1.2.32 → 2.0.0-beta1
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/lib/api-index.d.ts +1 -0
- package/lib/api-index.js +3 -0
- package/lib/api-index.js.map +1 -1
- package/lib/context.js +3 -3
- package/lib/context.js.map +1 -1
- package/lib/createBulkImportServer.js +1 -1
- package/lib/createBulkImportServer.js.map +1 -1
- package/lib/createERCMetadataServer.d.ts +2 -0
- package/lib/createERCMetadataServer.js +53 -0
- package/lib/createERCMetadataServer.js.map +1 -0
- package/lib/errors.d.ts +1 -0
- package/lib/errors.js +1 -0
- package/lib/errors.js.map +1 -1
- package/lib/loaders/index.d.ts +2 -2
- package/lib/loaders/index.js +1 -1
- package/lib/loaders/index.js.map +1 -1
- package/lib/locale-context.d.ts +2 -2
- package/lib/locale-context.js +1 -1
- package/lib/locale-context.js.map +1 -1
- package/lib/resolvers/index.js +2 -0
- package/lib/resolvers/index.js.map +1 -1
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.d.ts +4 -0
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.js +14 -0
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.js.map +1 -0
- package/lib/resolvers/mutations/accounts/createUser.js +18 -6
- package/lib/resolvers/mutations/accounts/createUser.js.map +1 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.d.ts +5 -0
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.js +9 -0
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.js.map +1 -0
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.d.ts +5 -0
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.js +16 -0
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.js.map +1 -0
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.d.ts +8 -0
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.js +7 -0
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.js.map +1 -0
- package/lib/resolvers/mutations/accounts/logout.js +6 -2
- package/lib/resolvers/mutations/accounts/logout.js.map +1 -1
- package/lib/resolvers/mutations/accounts/logoutAllSessions.js +6 -2
- package/lib/resolvers/mutations/accounts/logoutAllSessions.js.map +1 -1
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.d.ts +4 -0
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.js +18 -0
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.js.map +1 -0
- package/lib/resolvers/mutations/index.d.ts +171 -157
- package/lib/resolvers/mutations/index.js +14 -0
- package/lib/resolvers/mutations/index.js.map +1 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.js +7 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.js.map +1 -1
- package/lib/resolvers/mutations/pageView.d.ts +2 -2
- package/lib/resolvers/mutations/pageView.js.map +1 -1
- package/lib/resolvers/mutations/products/updateProductTokenization.d.ts +6 -0
- package/lib/resolvers/mutations/products/updateProductTokenization.js +19 -0
- package/lib/resolvers/mutations/products/updateProductTokenization.js.map +1 -0
- package/lib/resolvers/mutations/warehousing/exportToken.d.ts +6 -0
- package/lib/resolvers/mutations/warehousing/exportToken.js +21 -0
- package/lib/resolvers/mutations/warehousing/exportToken.js.map +1 -0
- package/lib/resolvers/queries/index.d.ts +67 -66
- package/lib/resolvers/queries/index.js +2 -0
- package/lib/resolvers/queries/index.js.map +1 -1
- package/lib/resolvers/queries/warehousing/token.d.ts +4 -0
- package/lib/resolvers/queries/warehousing/token.js +11 -0
- package/lib/resolvers/queries/warehousing/token.js.map +1 -0
- package/lib/resolvers/scalars/LowerCaseString.d.ts +3 -0
- package/lib/resolvers/scalars/LowerCaseString.js +17 -0
- package/lib/resolvers/scalars/LowerCaseString.js.map +1 -0
- package/lib/resolvers/scalars/index.d.ts +4 -0
- package/lib/resolvers/scalars/index.js +5 -0
- package/lib/resolvers/scalars/index.js.map +1 -0
- package/lib/resolvers/type/assortment/assortment-filter-types.d.ts +1 -1
- package/lib/resolvers/type/assortment/assortment-link-types.d.ts +1 -1
- package/lib/resolvers/type/assortment/assortment-product-types.d.ts +1 -1
- package/lib/resolvers/type/assortment/assortment-types.js +3 -4
- package/lib/resolvers/type/assortment/assortment-types.js.map +1 -1
- package/lib/resolvers/type/currency-types.d.ts +3 -0
- package/lib/resolvers/type/currency-types.js +6 -0
- package/lib/resolvers/type/currency-types.js.map +1 -0
- package/lib/resolvers/type/index.d.ts +246 -130
- package/lib/resolvers/type/index.js +8 -0
- package/lib/resolvers/type/index.js.map +1 -1
- package/lib/resolvers/type/login-method-response-types.d.ts +4 -0
- package/lib/resolvers/type/login-method-response-types.js +4 -0
- package/lib/resolvers/type/login-method-response-types.js.map +1 -1
- package/lib/resolvers/type/order/order-delivery-discount-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-delivery-shipping-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-discount-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-discountable-types.d.ts +6 -0
- package/lib/resolvers/type/order/order-discountable-types.js +1 -1
- package/lib/resolvers/type/order/order-discountable-types.js.map +1 -1
- package/lib/resolvers/type/order/order-global-discount-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-item-discount-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-item-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-payment-card-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-payment-discount-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-payment-generic-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-payment-invoice-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-types.d.ts +2 -6
- package/lib/resolvers/type/order/order-types.js +0 -1
- package/lib/resolvers/type/order/order-types.js.map +1 -1
- package/lib/resolvers/type/product/product-tokenized-types.d.ts +2 -0
- package/lib/resolvers/type/product/product-tokenized-types.js +28 -0
- package/lib/resolvers/type/product/product-tokenized-types.js.map +1 -0
- package/lib/resolvers/type/quotation-types.d.ts +0 -4
- package/lib/resolvers/type/quotation-types.js +0 -10
- package/lib/resolvers/type/quotation-types.js.map +1 -1
- package/lib/resolvers/type/shop-types.d.ts +1 -1
- package/lib/resolvers/type/token-types.d.ts +17 -0
- package/lib/resolvers/type/token-types.js +30 -0
- package/lib/resolvers/type/token-types.js.map +1 -0
- package/lib/resolvers/type/user-types.d.ts +4 -1
- package/lib/resolvers/type/user-types.js +8 -0
- package/lib/resolvers/type/user-types.js.map +1 -1
- package/lib/resolvers/type/webauthn-credentials-types.d.ts +10 -0
- package/lib/resolvers/type/webauthn-credentials-types.js +13 -0
- package/lib/resolvers/type/webauthn-credentials-types.js.map +1 -0
- package/lib/roles/admin.js +3 -0
- package/lib/roles/admin.js.map +1 -1
- package/lib/roles/all.js +3 -0
- package/lib/roles/all.js.map +1 -1
- package/lib/roles/index.d.ts +1 -1
- package/lib/roles/index.js +3 -0
- package/lib/roles/index.js.map +1 -1
- package/lib/roles/loggedIn.js +9 -0
- package/lib/roles/loggedIn.js.map +1 -1
- package/lib/schema/inputTypes.js +6 -4
- package/lib/schema/inputTypes.js.map +1 -1
- package/lib/schema/mutation.js +50 -4
- package/lib/schema/mutation.js.map +1 -1
- package/lib/schema/query.js +9 -4
- package/lib/schema/query.js.map +1 -1
- package/lib/schema/scalars.js +1 -0
- package/lib/schema/scalars.js.map +1 -1
- package/lib/schema/types/assortment.js +6 -6
- package/lib/schema/types/currency.js +1 -0
- package/lib/schema/types/currency.js.map +1 -1
- package/lib/schema/types/order/order.js +0 -33
- package/lib/schema/types/order/order.js.map +1 -1
- package/lib/schema/types/payment.js +1 -1
- package/lib/schema/types/product/bundle-product.js +2 -2
- package/lib/schema/types/product/configurable-product.js +2 -2
- package/lib/schema/types/product/index.js +9 -1
- package/lib/schema/types/product/index.js.map +1 -1
- package/lib/schema/types/product/plan-product.js +2 -2
- package/lib/schema/types/product/product.js +4 -4
- package/lib/schema/types/product/simple-product.js +2 -2
- package/lib/schema/types/product/tokenized-product.d.ts +2 -0
- package/lib/schema/types/product/tokenized-product.js +57 -0
- package/lib/schema/types/product/tokenized-product.js.map +1 -0
- package/lib/schema/types/quotation.js +0 -1
- package/lib/schema/types/quotation.js.map +1 -1
- package/lib/schema/types/user.js +32 -1
- package/lib/schema/types/user.js.map +1 -1
- package/lib/schema/types/warehousing.js +23 -1
- package/lib/schema/types/warehousing.js.map +1 -1
- package/lib/user-context.d.ts +2 -2
- package/lib/user-context.js +20 -9
- package/lib/user-context.js.map +1 -1
- package/package.json +13 -12
- package/src/api-index.ts +4 -0
- package/src/context.ts +3 -3
- package/src/createBulkImportServer.ts +1 -1
- package/src/createERCMetadataServer.ts +71 -0
- package/src/errors.ts +5 -0
- package/src/loaders/index.ts +2 -1
- package/src/locale-context.ts +2 -1
- package/src/resolvers/index.ts +2 -0
- package/src/resolvers/mutations/accounts/addWebAuthnCredentials.ts +29 -0
- package/src/resolvers/mutations/accounts/createUser.ts +28 -6
- package/src/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.ts +20 -0
- package/src/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.ts +28 -0
- package/src/resolvers/mutations/accounts/loginWithWebAuthn.ts +16 -0
- package/src/resolvers/mutations/accounts/logout.ts +5 -2
- package/src/resolvers/mutations/accounts/logoutAllSessions.ts +5 -2
- package/src/resolvers/mutations/accounts/removeWebAuthnCredentials.ts +30 -0
- package/src/resolvers/mutations/{index.js → index.ts} +14 -0
- package/src/resolvers/mutations/orders/signPaymentProviderForCheckout.ts +8 -1
- package/src/resolvers/mutations/{pageView.js → pageView.ts} +0 -0
- package/src/resolvers/mutations/products/updateProductTokenization.ts +28 -0
- package/src/resolvers/mutations/warehousing/exportToken.ts +33 -0
- package/src/resolvers/queries/{index.js → index.ts} +2 -0
- package/src/resolvers/queries/warehousing/token.ts +17 -0
- package/src/resolvers/scalars/LowerCaseString.ts +19 -0
- package/src/resolvers/scalars/index.ts +5 -0
- package/src/resolvers/type/assortment/assortment-filter-types.ts +1 -1
- package/src/resolvers/type/assortment/assortment-link-types.ts +1 -1
- package/src/resolvers/type/assortment/assortment-product-types.ts +1 -1
- package/src/resolvers/type/assortment/assortment-types.ts +3 -4
- package/src/resolvers/type/currency-types.ts +5 -0
- package/src/resolvers/type/{index.js → index.ts} +8 -0
- package/src/resolvers/type/login-method-response-types.ts +4 -0
- package/src/resolvers/type/order/order-delivery-discount-types.ts +1 -1
- package/src/resolvers/type/order/order-delivery-shipping-types.ts +1 -1
- package/src/resolvers/type/order/order-discount-types.ts +1 -1
- package/src/resolvers/type/order/order-discountable-types.ts +1 -1
- package/src/resolvers/type/order/order-global-discount-types.ts +1 -1
- package/src/resolvers/type/order/order-item-discount-types.ts +1 -1
- package/src/resolvers/type/order/order-item-types.ts +1 -1
- package/src/resolvers/type/order/order-payment-card-types.ts +1 -1
- package/src/resolvers/type/order/order-payment-discount-types.ts +1 -1
- package/src/resolvers/type/order/order-payment-generic-types.ts +1 -1
- package/src/resolvers/type/order/order-payment-invoice-types.ts +1 -1
- package/src/resolvers/type/order/order-types.ts +2 -10
- package/src/resolvers/type/product/product-tokenized-types.ts +34 -0
- package/src/resolvers/type/quotation-types.ts +0 -17
- package/src/resolvers/type/shop-types.ts +1 -1
- package/src/resolvers/type/token-types.ts +43 -0
- package/src/resolvers/type/user-types.ts +14 -1
- package/src/resolvers/type/webauthn-credentials-types.ts +27 -0
- package/src/roles/admin.ts +3 -0
- package/src/roles/all.ts +3 -0
- package/src/roles/index.ts +4 -1
- package/src/roles/loggedIn.ts +13 -0
- package/src/schema/inputTypes.js +6 -4
- package/src/schema/mutation.js +50 -4
- package/src/schema/query.js +9 -4
- package/src/schema/scalars.js +1 -0
- package/src/schema/types/assortment.js +6 -6
- package/src/schema/types/currency.js +1 -0
- package/src/schema/types/order/order.js +0 -33
- package/src/schema/types/payment.js +1 -1
- package/src/schema/types/product/bundle-product.js +2 -2
- package/src/schema/types/product/configurable-product.js +2 -2
- package/src/schema/types/product/index.js +9 -1
- package/src/schema/types/product/plan-product.js +2 -2
- package/src/schema/types/product/product.js +4 -4
- package/src/schema/types/product/simple-product.js +2 -2
- package/src/schema/types/product/tokenized-product.js +56 -0
- package/src/schema/types/quotation.js +0 -1
- package/src/schema/types/user.js +32 -1
- package/src/schema/types/warehousing.js +23 -1
- package/src/user-context.ts +23 -9
|
@@ -1,67 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
import me from './users/me';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
me: typeof me;
|
|
4
|
+
user: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
5
|
+
users: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
6
|
+
usersCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
7
|
+
product: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
8
|
+
products: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
9
|
+
productsCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
10
|
+
productCatalogPrices: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
11
|
+
languagesCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
12
|
+
languages: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
13
|
+
language: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
14
|
+
countriesCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
15
|
+
countries: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
16
|
+
country: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
17
|
+
currenciesCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
18
|
+
currencies: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
19
|
+
currency: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
20
|
+
paymentProviders: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
21
|
+
paymentProvidersCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
22
|
+
paymentProvider: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
23
|
+
paymentInterfaces: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
24
|
+
deliveryProvidersCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
25
|
+
deliveryProviders: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
26
|
+
deliveryProvider: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
27
|
+
deliveryInterfaces: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
28
|
+
warehousingProvidersCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
29
|
+
warehousingProviders: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
30
|
+
warehousingProvider: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
31
|
+
warehousingInterfaces: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
32
|
+
token: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
33
|
+
translatedProductTexts: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
34
|
+
translatedProductMediaTexts: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
35
|
+
translatedProductVariationTexts: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
36
|
+
ordersCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
37
|
+
orders: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
38
|
+
order: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
39
|
+
assortmentsCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
40
|
+
assortments: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
41
|
+
translatedAssortmentMediaTexts: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
42
|
+
assortment: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
43
|
+
filtersCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
44
|
+
filters: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
45
|
+
filter: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
46
|
+
shopInfo: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
47
|
+
translatedAssortmentTexts: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
48
|
+
translatedFilterTexts: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
49
|
+
productReview: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
50
|
+
productReviews: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
51
|
+
productReviewsCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
52
|
+
quotation: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
53
|
+
quotations: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
54
|
+
quotationsCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
55
|
+
searchProducts: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
56
|
+
searchAssortments: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
57
|
+
workQueue: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
58
|
+
workQueueCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
59
|
+
activeWorkTypes: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
60
|
+
enrollment: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
61
|
+
enrollments: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
62
|
+
enrollmentsCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
63
|
+
work: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
64
|
+
event: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
65
|
+
events: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
66
|
+
eventsCount: (root: any, params: any, context: any, ...other: any[]) => Promise<any>;
|
|
67
|
+
};
|
|
66
68
|
export default _default;
|
|
67
|
-
import me from "./users/me";
|
|
@@ -60,6 +60,7 @@ import warehousingInterfaces from './warehousing/warehousingInterfaces';
|
|
|
60
60
|
import warehousingProvider from './warehousing/warehousingProvider';
|
|
61
61
|
import warehousingProviders from './warehousing/warehousingProviders';
|
|
62
62
|
import warehousingProvidersCount from './warehousing/warehousingProvidersCount';
|
|
63
|
+
import token from './warehousing/token';
|
|
63
64
|
import work from './worker/work';
|
|
64
65
|
import workQueue from './worker/workQueue';
|
|
65
66
|
import workQueueCount from './worker/workQueueCount';
|
|
@@ -93,6 +94,7 @@ export default {
|
|
|
93
94
|
warehousingProviders: acl(actions.viewWarehousingProviders)(warehousingProviders),
|
|
94
95
|
warehousingProvider: acl(actions.viewWarehousingProvider)(warehousingProvider),
|
|
95
96
|
warehousingInterfaces: acl(actions.viewWarehousingInterfaces)(warehousingInterfaces),
|
|
97
|
+
token: acl(actions.viewToken)(token),
|
|
96
98
|
translatedProductTexts: acl(actions.viewTranslations)(translatedProductTexts),
|
|
97
99
|
translatedProductMediaTexts: acl(actions.viewTranslations)(translatedProductMediaTexts),
|
|
98
100
|
translatedProductVariationTexts: acl(actions.viewTranslations)(translatedProductVariationTexts),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resolvers/queries/index.
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resolvers/queries/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,aAAa,IAAI,GAAG,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,eAAe,MAAM,0BAA0B,CAAC;AACvD,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAClD,OAAO,WAAW,MAAM,2BAA2B,CAAC;AACpD,OAAO,gBAAgB,MAAM,gCAAgC,CAAC;AAC9D,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,cAAc,MAAM,4BAA4B,CAAC;AACxD,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAC1C,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,eAAe,MAAM,8BAA8B,CAAC;AAC3D,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,kBAAkB,MAAM,+BAA+B,CAAC;AAC/D,OAAO,gBAAgB,MAAM,6BA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SAAS,CAAC;IAC/C,cAAc,EAAE,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,cAAc,CAAC;IACzD,eAAe,EAAE,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,eAAe,CAAC;IAC3D,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,UAAU,CAAC;IACnD,WAAW,EAAE,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,WAAW,CAAC;IACtD,gBAAgB,EAAE,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,gBAAgB,CAAC;IAEhE,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC;IACrC,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC;IACpC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC;IACvC,WAAW,EAAE,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,WAAW,CAAC;CAClD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { log } from '@unchainedshop/logger';
|
|
2
|
+
import { InvalidIdError } from '../../../errors';
|
|
3
|
+
export default async function token(root, { tokenId }, { modules, userId }) {
|
|
4
|
+
log(`query token ${tokenId}`, { userId });
|
|
5
|
+
if (!tokenId)
|
|
6
|
+
throw new InvalidIdError({ tokenId });
|
|
7
|
+
return modules.warehousing.findToken({
|
|
8
|
+
tokenId,
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=token.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token.js","sourceRoot":"","sources":["../../../../src/resolvers/queries/warehousing/token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,CAAC,OAAO,CAAC,KAAK,UAAU,KAAK,CACjC,IAAU,EACV,EAAE,OAAO,EAAuB,EAChC,EAAE,OAAO,EAAE,MAAM,EAAW;IAE5B,GAAG,CAAC,eAAe,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAE1C,IAAI,CAAC,OAAO;QAAE,MAAM,IAAI,cAAc,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;IAEpD,OAAO,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;QACnC,OAAO;KACR,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GraphQLScalarType, Kind } from 'graphql';
|
|
2
|
+
const LowerCaseString = new GraphQLScalarType({
|
|
3
|
+
name: 'LowerCaseString',
|
|
4
|
+
description: 'Lowercased string',
|
|
5
|
+
serialize: (value) => value?.toLowerCase(),
|
|
6
|
+
parseValue(value) {
|
|
7
|
+
return String(value)?.toLowerCase();
|
|
8
|
+
},
|
|
9
|
+
parseLiteral(ast) {
|
|
10
|
+
if (ast.kind === Kind.STRING) {
|
|
11
|
+
return ast.value?.toLowerCase();
|
|
12
|
+
}
|
|
13
|
+
return null;
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
export default LowerCaseString;
|
|
17
|
+
//# sourceMappingURL=LowerCaseString.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LowerCaseString.js","sourceRoot":"","sources":["../../../src/resolvers/scalars/LowerCaseString.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAElD,MAAM,eAAe,GAAG,IAAI,iBAAiB,CAAC;IAC5C,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,mBAAmB;IAChC,SAAS,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE;IAC/C,UAAU,CAAC,KAAK;QACd,OAAO,MAAM,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtC,CAAC;IACD,YAAY,CAAC,GAAG;QACd,IAAI,GAAG,CAAC,IAAI,KAAK,IAAI,CAAC,MAAM,EAAE;YAC5B,OAAO,GAAG,CAAC,KAAK,EAAE,WAAW,EAAE,CAAC;SACjC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF,CAAC,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resolvers/scalars/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAEhD,eAAe;IACb,eAAe;CAChB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { Context } from '@unchainedshop/types/api';
|
|
|
2
2
|
import { Assortment, AssortmentFilter as AssortmentFilterType } from '@unchainedshop/types/assortments';
|
|
3
3
|
import { Filter } from '@unchainedshop/types/filters';
|
|
4
4
|
declare type HelperType<T> = (assortmentFilter: AssortmentFilterType, _: never, context: Context) => T;
|
|
5
|
-
declare type AssortmentFilterHelperTypes = {
|
|
5
|
+
export declare type AssortmentFilterHelperTypes = {
|
|
6
6
|
assortment: HelperType<Promise<Assortment>>;
|
|
7
7
|
filter: HelperType<Promise<Filter>>;
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Context } from '@unchainedshop/types/api';
|
|
2
2
|
import { Assortment, AssortmentLink as AssortmentLinkType } from '@unchainedshop/types/assortments';
|
|
3
3
|
declare type HelperType<T> = (assortmentLink: AssortmentLinkType, _: never, context: Context) => T;
|
|
4
|
-
declare type AssortmentLinkHelperTypes = {
|
|
4
|
+
export declare type AssortmentLinkHelperTypes = {
|
|
5
5
|
child: HelperType<Promise<Assortment>>;
|
|
6
6
|
parent: HelperType<Promise<Assortment>>;
|
|
7
7
|
};
|
|
@@ -2,7 +2,7 @@ import { Context } from '@unchainedshop/types/api';
|
|
|
2
2
|
import { Assortment, AssortmentProduct as AssortmentProductType } from '@unchainedshop/types/assortments';
|
|
3
3
|
import { Product } from '@unchainedshop/types/products';
|
|
4
4
|
declare type HelperType<T> = (assortmentProduct: AssortmentProductType, _: never, context: Context) => T;
|
|
5
|
-
declare type AssortmentProductHelperTypes = {
|
|
5
|
+
export declare type AssortmentProductHelperTypes = {
|
|
6
6
|
assortment: HelperType<Promise<Assortment>>;
|
|
7
7
|
product: HelperType<Promise<Product>>;
|
|
8
8
|
};
|
|
@@ -16,11 +16,10 @@ export const Assortment = {
|
|
|
16
16
|
});
|
|
17
17
|
const assortmentIds = assortmentChildrenIds.map(({ childAssortmentId }) => childAssortmentId);
|
|
18
18
|
const selector = {
|
|
19
|
-
|
|
19
|
+
assortmentIds,
|
|
20
|
+
includeInactive,
|
|
21
|
+
includeLeaves: true,
|
|
20
22
|
};
|
|
21
|
-
if (!includeInactive) {
|
|
22
|
-
selector.isActive = true;
|
|
23
|
-
}
|
|
24
23
|
return modules.assortments.count(selector);
|
|
25
24
|
},
|
|
26
25
|
filterAssignments: async (obj, _, { modules }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assortment-types.js","sourceRoot":"","sources":["../../../../src/resolvers/type/assortment/assortment-types.ts"],"names":[],"mappings":"AAiDA,MAAM,CAAC,MAAM,UAAU,GAA0B;IAC/C,eAAe,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QACvC,OAAO,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC;YACrC,YAAY,EAAE,GAAG,CAAC,GAAG;SACtB,CAAC,CAAC;IACL,CAAC;IAED,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QACxD,OAAO,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC;YAClC,YAAY,EAAE,GAAG,CAAC,GAAG;YACrB,eAAe;SAChB,CAAC,CAAC;IACL,CAAC;IAED,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,eAAe,GAAG,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAC5E,MAAM,qBAAqB,GAAG,MAAM,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC;YACtE,kBAAkB,EAAE,UAAU,CAAC,GAAG;SACnC,CAAC,CAAC;QACH,MAAM,aAAa,GAAG,qBAAqB,CAAC,GAAG,CAAC,CAAC,EAAE,iBAAiB,EAAE,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC;QAE9F,MAAM,QAAQ,GAAU;YACtB,
|
|
1
|
+
{"version":3,"file":"assortment-types.js","sourceRoot":"","sources":["../../../../src/resolvers/type/assortment/assortment-types.ts"],"names":[],"mappings":"AAiDA,MAAM,CAAC,MAAM,UAAU,GAA0B;IAC/C,eAAe,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QACvC,OAAO,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC;YACrC,YAAY,EAAE,GAAG,CAAC,GAAG;SACtB,CAAC,CAAC;IACL,CAAC;IAED,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QACxD,OAAO,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC;YAClC,YAAY,EAAE,GAAG,CAAC,GAAG;YACrB,eAAe;SAChB,CAAC,CAAC;IACL,CAAC;IAED,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,eAAe,GAAG,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAC5E,MAAM,qBAAqB,GAAG,MAAM,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC;YACtE,kBAAkB,EAAE,UAAU,CAAC,GAAG;SACnC,CAAC,CAAC;Q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