@vendure/core 2.3.2 → 2.3.4

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.
Files changed (106) hide show
  1. package/README.md +11 -11
  2. package/dist/api/config/generate-error-code-enum.js +3 -3
  3. package/dist/api/config/generate-permissions.js +29 -29
  4. package/dist/api/config/graphql-custom-fields.js +150 -150
  5. package/dist/api/schema/admin-api/administrator.api.graphql +47 -47
  6. package/dist/api/schema/admin-api/administrator.type.graphql +14 -14
  7. package/dist/api/schema/admin-api/asset.api.graphql +68 -68
  8. package/dist/api/schema/admin-api/auth.api.graphql +22 -22
  9. package/dist/api/schema/admin-api/channel.api.graphql +69 -69
  10. package/dist/api/schema/admin-api/collection-admin.type.graphql +4 -4
  11. package/dist/api/schema/admin-api/collection.api.graphql +94 -94
  12. package/dist/api/schema/admin-api/country.api.graphql +41 -41
  13. package/dist/api/schema/admin-api/customer-admin.type.graphql +4 -4
  14. package/dist/api/schema/admin-api/customer-group.api.graphql +37 -37
  15. package/dist/api/schema/admin-api/customer.api.graphql +63 -63
  16. package/dist/api/schema/admin-api/duplicate-entity.api.graphql +40 -40
  17. package/dist/api/schema/admin-api/facet-admin.type.graphql +3 -3
  18. package/dist/api/schema/admin-api/facet.api.graphql +100 -100
  19. package/dist/api/schema/admin-api/global-settings.api.graphql +26 -26
  20. package/dist/api/schema/admin-api/global-settings.type.graphql +28 -28
  21. package/dist/api/schema/admin-api/history-entry-admin.type.graphql +4 -4
  22. package/dist/api/schema/admin-api/import.api.graphql +3 -3
  23. package/dist/api/schema/admin-api/import.type.graphql +5 -5
  24. package/dist/api/schema/admin-api/job.api.graphql +63 -63
  25. package/dist/api/schema/admin-api/order-admin.type.graphql +37 -37
  26. package/dist/api/schema/admin-api/order.api.graphql +461 -461
  27. package/dist/api/schema/admin-api/payment-method.api.graphql +65 -65
  28. package/dist/api/schema/admin-api/payment.api.graphql +2 -2
  29. package/dist/api/schema/admin-api/product-admin.type.graphql +21 -21
  30. package/dist/api/schema/admin-api/product-option-group.api.graphql +58 -58
  31. package/dist/api/schema/admin-api/product-search-admin.type.graphql +5 -5
  32. package/dist/api/schema/admin-api/product-search.api.graphql +10 -10
  33. package/dist/api/schema/admin-api/product.api.graphql +214 -214
  34. package/dist/api/schema/admin-api/promotion.api.graphql +70 -70
  35. package/dist/api/schema/admin-api/province.api.graphql +37 -37
  36. package/dist/api/schema/admin-api/role.api.graphql +33 -33
  37. package/dist/api/schema/admin-api/seller.api.graphql +31 -31
  38. package/dist/api/schema/admin-api/shipping-method.api.graphql +91 -91
  39. package/dist/api/schema/admin-api/stock-level.type.graphql +9 -9
  40. package/dist/api/schema/admin-api/stock-location.api.graphql +51 -51
  41. package/dist/api/schema/admin-api/stock-location.type.graphql +7 -7
  42. package/dist/api/schema/admin-api/stock-movement.type.graphql +80 -80
  43. package/dist/api/schema/admin-api/tag.api.graphql +25 -25
  44. package/dist/api/schema/admin-api/tax-category.api.graphql +36 -36
  45. package/dist/api/schema/admin-api/tax-rate.api.graphql +37 -37
  46. package/dist/api/schema/admin-api/zone.api.graphql +42 -42
  47. package/dist/api/schema/common/address.type.graphql +16 -16
  48. package/dist/api/schema/common/asset.type.graphql +31 -31
  49. package/dist/api/schema/common/auth.type.graphql +12 -12
  50. package/dist/api/schema/common/channel.type.graphql +24 -24
  51. package/dist/api/schema/common/collection.type.graphql +40 -40
  52. package/dist/api/schema/common/common-enums.graphql +35 -35
  53. package/dist/api/schema/common/common-error-results.graphql +98 -98
  54. package/dist/api/schema/common/common-types.graphql +284 -284
  55. package/dist/api/schema/common/currency-code.graphql +322 -322
  56. package/dist/api/schema/common/custom-field-types.graphql +166 -166
  57. package/dist/api/schema/common/customer-group.type.graphql +10 -10
  58. package/dist/api/schema/common/customer.type.graphql +18 -18
  59. package/dist/api/schema/common/facet-value.type.graphql +19 -19
  60. package/dist/api/schema/common/facet.type.graphql +35 -35
  61. package/dist/api/schema/common/history-entry.type.graphql +43 -43
  62. package/dist/api/schema/common/language-code.graphql +325 -325
  63. package/dist/api/schema/common/order.type.graphql +257 -257
  64. package/dist/api/schema/common/payment-method.type.graphql +21 -21
  65. package/dist/api/schema/common/product-option-group.type.graphql +38 -38
  66. package/dist/api/schema/common/product-search.type.graphql +69 -69
  67. package/dist/api/schema/common/product.type.graphql +70 -70
  68. package/dist/api/schema/common/promotion.type.graphql +31 -31
  69. package/dist/api/schema/common/region.type.graphql +65 -65
  70. package/dist/api/schema/common/role.type.graphql +14 -14
  71. package/dist/api/schema/common/seller.type.graphql +6 -6
  72. package/dist/api/schema/common/shipping-method.type.graphql +27 -27
  73. package/dist/api/schema/common/tag.type.graphql +11 -11
  74. package/dist/api/schema/common/tax-category.type.graphql +7 -7
  75. package/dist/api/schema/common/tax-rate.type.graphql +16 -16
  76. package/dist/api/schema/common/user.type.graphql +17 -17
  77. package/dist/api/schema/common/zone.type.graphql +8 -8
  78. package/dist/api/schema/shop-api/shop-error-results.graphql +114 -114
  79. package/dist/api/schema/shop-api/shop.api.graphql +250 -250
  80. package/dist/config/auth/native-authentication-strategy.js +5 -5
  81. package/dist/i18n/messages/de.json +116 -116
  82. package/dist/i18n/messages/en.json +138 -138
  83. package/dist/i18n/messages/es.json +38 -38
  84. package/dist/i18n/messages/fr.json +138 -138
  85. package/dist/i18n/messages/pt_BR.json +99 -99
  86. package/dist/i18n/messages/pt_PT.json +118 -118
  87. package/dist/i18n/messages/ru.json +118 -118
  88. package/dist/i18n/messages/uk.json +118 -118
  89. package/dist/migrate.js +15 -15
  90. package/dist/plugin/default-search-plugin/api/api-extensions.js +8 -8
  91. package/dist/plugin/default-search-plugin/search-strategy/mysql-search-strategy.js +3 -3
  92. package/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js +7 -5
  93. package/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js.map +1 -1
  94. package/dist/plugin/default-search-plugin/search-strategy/sqlite-search-strategy.js +4 -4
  95. package/dist/service/helpers/request-context/request-context.service.js +6 -2
  96. package/dist/service/helpers/request-context/request-context.service.js.map +1 -1
  97. package/dist/service/services/product.service.js +5 -3
  98. package/dist/service/services/product.service.js.map +1 -1
  99. package/package.json +3 -3
  100. package/LICENSE +0 -9
  101. package/cli/cli-utils.d.ts +0 -1
  102. package/cli/cli-utils.js +0 -8
  103. package/cli/cli-utils.js.map +0 -1
  104. package/cli/vendure-cli.d.ts +0 -2
  105. package/cli/vendure-cli.js +0 -119
  106. package/cli/vendure-cli.js.map +0 -1
@@ -1,69 +1,69 @@
1
- type SearchReindexResponse {
2
- success: Boolean!
3
- }
4
-
5
- type SearchResponse {
6
- items: [SearchResult!]!
7
- totalItems: Int!
8
- facetValues: [FacetValueResult!]!
9
- collections: [CollectionResult!]!
10
- }
11
-
12
- """
13
- Which FacetValues are present in the products returned
14
- by the search, and in what quantity.
15
- """
16
- type FacetValueResult {
17
- facetValue: FacetValue!
18
- count: Int!
19
- }
20
-
21
- """
22
- Which Collections are present in the products returned
23
- by the search, and in what quantity.
24
- """
25
- type CollectionResult {
26
- collection: Collection!
27
- count: Int!
28
- }
29
-
30
- type SearchResultAsset {
31
- id: ID!
32
- preview: String!
33
- focalPoint: Coordinate
34
- }
35
-
36
- type SearchResult {
37
- sku: String!
38
- slug: String!
39
- productId: ID!
40
- productName: String!
41
- productAsset: SearchResultAsset
42
- productVariantId: ID!
43
- productVariantName: String!
44
- productVariantAsset: SearchResultAsset
45
- price: SearchResultPrice!
46
- priceWithTax: SearchResultPrice!
47
- currencyCode: CurrencyCode!
48
- description: String!
49
- facetIds: [ID!]!
50
- facetValueIds: [ID!]!
51
- "An array of ids of the Collections in which this result appears"
52
- collectionIds: [ID!]!
53
- "A relevance score for the result. Differs between database implementations"
54
- score: Float!
55
- }
56
-
57
- "The price of a search result product, either as a range or as a single price"
58
- union SearchResultPrice = PriceRange | SinglePrice
59
-
60
- "The price value where the result has a single price"
61
- type SinglePrice {
62
- value: Money!
63
- }
64
-
65
- "The price range where the result has more than one price"
66
- type PriceRange {
67
- min: Money!
68
- max: Money!
69
- }
1
+ type SearchReindexResponse {
2
+ success: Boolean!
3
+ }
4
+
5
+ type SearchResponse {
6
+ items: [SearchResult!]!
7
+ totalItems: Int!
8
+ facetValues: [FacetValueResult!]!
9
+ collections: [CollectionResult!]!
10
+ }
11
+
12
+ """
13
+ Which FacetValues are present in the products returned
14
+ by the search, and in what quantity.
15
+ """
16
+ type FacetValueResult {
17
+ facetValue: FacetValue!
18
+ count: Int!
19
+ }
20
+
21
+ """
22
+ Which Collections are present in the products returned
23
+ by the search, and in what quantity.
24
+ """
25
+ type CollectionResult {
26
+ collection: Collection!
27
+ count: Int!
28
+ }
29
+
30
+ type SearchResultAsset {
31
+ id: ID!
32
+ preview: String!
33
+ focalPoint: Coordinate
34
+ }
35
+
36
+ type SearchResult {
37
+ sku: String!
38
+ slug: String!
39
+ productId: ID!
40
+ productName: String!
41
+ productAsset: SearchResultAsset
42
+ productVariantId: ID!
43
+ productVariantName: String!
44
+ productVariantAsset: SearchResultAsset
45
+ price: SearchResultPrice!
46
+ priceWithTax: SearchResultPrice!
47
+ currencyCode: CurrencyCode!
48
+ description: String!
49
+ facetIds: [ID!]!
50
+ facetValueIds: [ID!]!
51
+ "An array of ids of the Collections in which this result appears"
52
+ collectionIds: [ID!]!
53
+ "A relevance score for the result. Differs between database implementations"
54
+ score: Float!
55
+ }
56
+
57
+ "The price of a search result product, either as a range or as a single price"
58
+ union SearchResultPrice = PriceRange | SinglePrice
59
+
60
+ "The price value where the result has a single price"
61
+ type SinglePrice {
62
+ value: Money!
63
+ }
64
+
65
+ "The price range where the result has more than one price"
66
+ type PriceRange {
67
+ min: Money!
68
+ max: Money!
69
+ }
@@ -1,70 +1,70 @@
1
- type Product implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- languageCode: LanguageCode!
6
- name: String!
7
- slug: String!
8
- description: String!
9
- enabled: Boolean!
10
- featuredAsset: Asset
11
- assets: [Asset!]!
12
- "Returns all ProductVariants"
13
- variants: [ProductVariant!]!
14
- "Returns a paginated, sortable, filterable list of ProductVariants"
15
- variantList(options: ProductVariantListOptions): ProductVariantList!
16
- optionGroups: [ProductOptionGroup!]!
17
- facetValues: [FacetValue!]!
18
- translations: [ProductTranslation!]!
19
- collections: [Collection!]!
20
- }
21
-
22
- type ProductTranslation {
23
- id: ID!
24
- createdAt: DateTime!
25
- updatedAt: DateTime!
26
- languageCode: LanguageCode!
27
- name: String!
28
- slug: String!
29
- description: String!
30
- }
31
-
32
- type ProductList implements PaginatedList {
33
- items: [Product!]!
34
- totalItems: Int!
35
- }
36
-
37
- type ProductVariantList implements PaginatedList {
38
- items: [ProductVariant!]!
39
- totalItems: Int!
40
- }
41
-
42
- type ProductVariant implements Node {
43
- id: ID!
44
- product: Product!
45
- productId: ID!
46
- createdAt: DateTime!
47
- updatedAt: DateTime!
48
- languageCode: LanguageCode!
49
- sku: String!
50
- name: String!
51
- featuredAsset: Asset
52
- assets: [Asset!]!
53
- price: Money!
54
- currencyCode: CurrencyCode!
55
- priceWithTax: Money!
56
- stockLevel: String!
57
- taxRateApplied: TaxRate!
58
- taxCategory: TaxCategory!
59
- options: [ProductOption!]!
60
- facetValues: [FacetValue!]!
61
- translations: [ProductVariantTranslation!]!
62
- }
63
-
64
- type ProductVariantTranslation {
65
- id: ID!
66
- createdAt: DateTime!
67
- updatedAt: DateTime!
68
- languageCode: LanguageCode!
69
- name: String!
70
- }
1
+ type Product implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ languageCode: LanguageCode!
6
+ name: String!
7
+ slug: String!
8
+ description: String!
9
+ enabled: Boolean!
10
+ featuredAsset: Asset
11
+ assets: [Asset!]!
12
+ "Returns all ProductVariants"
13
+ variants: [ProductVariant!]!
14
+ "Returns a paginated, sortable, filterable list of ProductVariants"
15
+ variantList(options: ProductVariantListOptions): ProductVariantList!
16
+ optionGroups: [ProductOptionGroup!]!
17
+ facetValues: [FacetValue!]!
18
+ translations: [ProductTranslation!]!
19
+ collections: [Collection!]!
20
+ }
21
+
22
+ type ProductTranslation {
23
+ id: ID!
24
+ createdAt: DateTime!
25
+ updatedAt: DateTime!
26
+ languageCode: LanguageCode!
27
+ name: String!
28
+ slug: String!
29
+ description: String!
30
+ }
31
+
32
+ type ProductList implements PaginatedList {
33
+ items: [Product!]!
34
+ totalItems: Int!
35
+ }
36
+
37
+ type ProductVariantList implements PaginatedList {
38
+ items: [ProductVariant!]!
39
+ totalItems: Int!
40
+ }
41
+
42
+ type ProductVariant implements Node {
43
+ id: ID!
44
+ product: Product!
45
+ productId: ID!
46
+ createdAt: DateTime!
47
+ updatedAt: DateTime!
48
+ languageCode: LanguageCode!
49
+ sku: String!
50
+ name: String!
51
+ featuredAsset: Asset
52
+ assets: [Asset!]!
53
+ price: Money!
54
+ currencyCode: CurrencyCode!
55
+ priceWithTax: Money!
56
+ stockLevel: String!
57
+ taxRateApplied: TaxRate!
58
+ taxCategory: TaxCategory!
59
+ options: [ProductOption!]!
60
+ facetValues: [FacetValue!]!
61
+ translations: [ProductVariantTranslation!]!
62
+ }
63
+
64
+ type ProductVariantTranslation {
65
+ id: ID!
66
+ createdAt: DateTime!
67
+ updatedAt: DateTime!
68
+ languageCode: LanguageCode!
69
+ name: String!
70
+ }
@@ -1,31 +1,31 @@
1
- type Promotion implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- startsAt: DateTime
6
- endsAt: DateTime
7
- couponCode: String
8
- perCustomerUsageLimit: Int
9
- usageLimit: Int
10
- name: String!
11
- description: String!
12
- enabled: Boolean!
13
- conditions: [ConfigurableOperation!]!
14
- actions: [ConfigurableOperation!]!
15
- translations: [PromotionTranslation!]!
16
- }
17
-
18
- type PromotionTranslation {
19
- id: ID!
20
- createdAt: DateTime!
21
- updatedAt: DateTime!
22
- languageCode: LanguageCode!
23
- name: String!
24
- description: String!
25
- }
26
-
27
-
28
- type PromotionList implements PaginatedList {
29
- items: [Promotion!]!
30
- totalItems: Int!
31
- }
1
+ type Promotion implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ startsAt: DateTime
6
+ endsAt: DateTime
7
+ couponCode: String
8
+ perCustomerUsageLimit: Int
9
+ usageLimit: Int
10
+ name: String!
11
+ description: String!
12
+ enabled: Boolean!
13
+ conditions: [ConfigurableOperation!]!
14
+ actions: [ConfigurableOperation!]!
15
+ translations: [PromotionTranslation!]!
16
+ }
17
+
18
+ type PromotionTranslation {
19
+ id: ID!
20
+ createdAt: DateTime!
21
+ updatedAt: DateTime!
22
+ languageCode: LanguageCode!
23
+ name: String!
24
+ description: String!
25
+ }
26
+
27
+
28
+ type PromotionList implements PaginatedList {
29
+ items: [Promotion!]!
30
+ totalItems: Int!
31
+ }
@@ -1,65 +1,65 @@
1
- interface Region implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- languageCode: LanguageCode!
6
- code: String!
7
- type: String!
8
- name: String!
9
- enabled: Boolean!
10
- parent: Region
11
- parentId: ID
12
- translations: [RegionTranslation!]!
13
- }
14
-
15
- type RegionTranslation {
16
- id: ID!
17
- createdAt: DateTime!
18
- updatedAt: DateTime!
19
- languageCode: LanguageCode!
20
- name: String!
21
- }
22
-
23
- """
24
- A Country of the world which your shop operates in.
25
-
26
- The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" etc. This code is used in certain inputs such as
27
- `UpdateAddressInput` and `CreateAddressInput` to specify the country.
28
- """
29
- type Country implements Region & Node {
30
- id: ID!
31
- createdAt: DateTime!
32
- updatedAt: DateTime!
33
- languageCode: LanguageCode!
34
- code: String!
35
- type: String!
36
- name: String!
37
- enabled: Boolean!
38
- parent: Region
39
- parentId: ID
40
- translations: [RegionTranslation!]!
41
- }
42
-
43
- type CountryList implements PaginatedList {
44
- items: [Country!]!
45
- totalItems: Int!
46
- }
47
-
48
- type Province implements Region & Node {
49
- id: ID!
50
- createdAt: DateTime!
51
- updatedAt: DateTime!
52
- languageCode: LanguageCode!
53
- code: String!
54
- type: String!
55
- name: String!
56
- enabled: Boolean!
57
- parent: Region
58
- parentId: ID
59
- translations: [RegionTranslation!]!
60
- }
61
-
62
- type ProvinceList implements PaginatedList {
63
- items: [Province!]!
64
- totalItems: Int!
65
- }
1
+ interface Region implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ languageCode: LanguageCode!
6
+ code: String!
7
+ type: String!
8
+ name: String!
9
+ enabled: Boolean!
10
+ parent: Region
11
+ parentId: ID
12
+ translations: [RegionTranslation!]!
13
+ }
14
+
15
+ type RegionTranslation {
16
+ id: ID!
17
+ createdAt: DateTime!
18
+ updatedAt: DateTime!
19
+ languageCode: LanguageCode!
20
+ name: String!
21
+ }
22
+
23
+ """
24
+ A Country of the world which your shop operates in.
25
+
26
+ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" etc. This code is used in certain inputs such as
27
+ `UpdateAddressInput` and `CreateAddressInput` to specify the country.
28
+ """
29
+ type Country implements Region & Node {
30
+ id: ID!
31
+ createdAt: DateTime!
32
+ updatedAt: DateTime!
33
+ languageCode: LanguageCode!
34
+ code: String!
35
+ type: String!
36
+ name: String!
37
+ enabled: Boolean!
38
+ parent: Region
39
+ parentId: ID
40
+ translations: [RegionTranslation!]!
41
+ }
42
+
43
+ type CountryList implements PaginatedList {
44
+ items: [Country!]!
45
+ totalItems: Int!
46
+ }
47
+
48
+ type Province implements Region & Node {
49
+ id: ID!
50
+ createdAt: DateTime!
51
+ updatedAt: DateTime!
52
+ languageCode: LanguageCode!
53
+ code: String!
54
+ type: String!
55
+ name: String!
56
+ enabled: Boolean!
57
+ parent: Region
58
+ parentId: ID
59
+ translations: [RegionTranslation!]!
60
+ }
61
+
62
+ type ProvinceList implements PaginatedList {
63
+ items: [Province!]!
64
+ totalItems: Int!
65
+ }
@@ -1,14 +1,14 @@
1
- type Role implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- code: String!
6
- description: String!
7
- permissions: [Permission!]!
8
- channels: [Channel!]!
9
- }
10
-
11
- type RoleList implements PaginatedList {
12
- items: [Role!]!
13
- totalItems: Int!
14
- }
1
+ type Role implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ code: String!
6
+ description: String!
7
+ permissions: [Permission!]!
8
+ channels: [Channel!]!
9
+ }
10
+
11
+ type RoleList implements PaginatedList {
12
+ items: [Role!]!
13
+ totalItems: Int!
14
+ }
@@ -1,6 +1,6 @@
1
- type Seller implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- name: String!
6
- }
1
+ type Seller implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ name: String!
6
+ }
@@ -1,27 +1,27 @@
1
- type ShippingMethod implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- languageCode: LanguageCode!
6
- code: String!
7
- name: String!
8
- description: String!
9
- fulfillmentHandlerCode: String!
10
- checker: ConfigurableOperation!
11
- calculator: ConfigurableOperation!
12
- translations: [ShippingMethodTranslation!]!
13
- }
14
-
15
- type ShippingMethodTranslation {
16
- id: ID!
17
- createdAt: DateTime!
18
- updatedAt: DateTime!
19
- languageCode: LanguageCode!
20
- name: String!
21
- description: String!
22
- }
23
-
24
- type ShippingMethodList implements PaginatedList {
25
- items: [ShippingMethod!]!
26
- totalItems: Int!
27
- }
1
+ type ShippingMethod implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ languageCode: LanguageCode!
6
+ code: String!
7
+ name: String!
8
+ description: String!
9
+ fulfillmentHandlerCode: String!
10
+ checker: ConfigurableOperation!
11
+ calculator: ConfigurableOperation!
12
+ translations: [ShippingMethodTranslation!]!
13
+ }
14
+
15
+ type ShippingMethodTranslation {
16
+ id: ID!
17
+ createdAt: DateTime!
18
+ updatedAt: DateTime!
19
+ languageCode: LanguageCode!
20
+ name: String!
21
+ description: String!
22
+ }
23
+
24
+ type ShippingMethodList implements PaginatedList {
25
+ items: [ShippingMethod!]!
26
+ totalItems: Int!
27
+ }
@@ -1,11 +1,11 @@
1
- type Tag implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- value: String!
6
- }
7
-
8
- type TagList implements PaginatedList {
9
- items: [Tag!]!
10
- totalItems: Int!
11
- }
1
+ type Tag implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ value: String!
6
+ }
7
+
8
+ type TagList implements PaginatedList {
9
+ items: [Tag!]!
10
+ totalItems: Int!
11
+ }
@@ -1,7 +1,7 @@
1
- type TaxCategory implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- name: String!
6
- isDefault: Boolean!
7
- }
1
+ type TaxCategory implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ name: String!
6
+ isDefault: Boolean!
7
+ }
@@ -1,16 +1,16 @@
1
- type TaxRate implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- name: String!
6
- enabled: Boolean!
7
- value: Float!
8
- category: TaxCategory!
9
- zone: Zone!
10
- customerGroup: CustomerGroup
11
- }
12
-
13
- type TaxRateList implements PaginatedList {
14
- items: [TaxRate!]!
15
- totalItems: Int!
16
- }
1
+ type TaxRate implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ name: String!
6
+ enabled: Boolean!
7
+ value: Float!
8
+ category: TaxCategory!
9
+ zone: Zone!
10
+ customerGroup: CustomerGroup
11
+ }
12
+
13
+ type TaxRateList implements PaginatedList {
14
+ items: [TaxRate!]!
15
+ totalItems: Int!
16
+ }
@@ -1,17 +1,17 @@
1
- type User implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- identifier: String!
6
- verified: Boolean!
7
- roles: [Role!]!
8
- lastLogin: DateTime
9
- authenticationMethods: [AuthenticationMethod!]!
10
- }
11
-
12
- type AuthenticationMethod implements Node {
13
- id: ID!
14
- createdAt: DateTime!
15
- updatedAt: DateTime!
16
- strategy: String!
17
- }
1
+ type User implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ identifier: String!
6
+ verified: Boolean!
7
+ roles: [Role!]!
8
+ lastLogin: DateTime
9
+ authenticationMethods: [AuthenticationMethod!]!
10
+ }
11
+
12
+ type AuthenticationMethod implements Node {
13
+ id: ID!
14
+ createdAt: DateTime!
15
+ updatedAt: DateTime!
16
+ strategy: String!
17
+ }