@vendure/core 3.2.0 → 3.2.1

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 (101) hide show
  1. package/LICENSE.md +42 -42
  2. package/README.md +11 -11
  3. package/dist/api/config/generate-error-code-enum.js +3 -3
  4. package/dist/api/config/generate-permissions.js +29 -29
  5. package/dist/api/config/graphql-custom-fields.js +158 -158
  6. package/dist/api/schema/admin-api/administrator.api.graphql +47 -47
  7. package/dist/api/schema/admin-api/administrator.type.graphql +14 -14
  8. package/dist/api/schema/admin-api/asset.api.graphql +68 -68
  9. package/dist/api/schema/admin-api/auth.api.graphql +22 -22
  10. package/dist/api/schema/admin-api/channel.api.graphql +69 -69
  11. package/dist/api/schema/admin-api/collection-admin.type.graphql +4 -4
  12. package/dist/api/schema/admin-api/collection.api.graphql +94 -94
  13. package/dist/api/schema/admin-api/country.api.graphql +41 -41
  14. package/dist/api/schema/admin-api/customer-admin.type.graphql +4 -4
  15. package/dist/api/schema/admin-api/customer-group.api.graphql +37 -37
  16. package/dist/api/schema/admin-api/customer.api.graphql +63 -63
  17. package/dist/api/schema/admin-api/duplicate-entity.api.graphql +40 -40
  18. package/dist/api/schema/admin-api/facet-admin.type.graphql +3 -3
  19. package/dist/api/schema/admin-api/facet.api.graphql +100 -100
  20. package/dist/api/schema/admin-api/global-settings.api.graphql +26 -26
  21. package/dist/api/schema/admin-api/global-settings.type.graphql +28 -28
  22. package/dist/api/schema/admin-api/history-entry-admin.type.graphql +4 -4
  23. package/dist/api/schema/admin-api/import.api.graphql +3 -3
  24. package/dist/api/schema/admin-api/import.type.graphql +5 -5
  25. package/dist/api/schema/admin-api/job.api.graphql +63 -63
  26. package/dist/api/schema/admin-api/order-admin.type.graphql +37 -37
  27. package/dist/api/schema/admin-api/order.api.graphql +463 -463
  28. package/dist/api/schema/admin-api/payment-method.api.graphql +65 -65
  29. package/dist/api/schema/admin-api/payment.api.graphql +2 -2
  30. package/dist/api/schema/admin-api/product-admin.type.graphql +21 -21
  31. package/dist/api/schema/admin-api/product-option-group.api.graphql +58 -58
  32. package/dist/api/schema/admin-api/product-search-admin.type.graphql +5 -5
  33. package/dist/api/schema/admin-api/product-search.api.graphql +10 -10
  34. package/dist/api/schema/admin-api/product.api.graphql +225 -225
  35. package/dist/api/schema/admin-api/promotion.api.graphql +70 -70
  36. package/dist/api/schema/admin-api/province.api.graphql +37 -37
  37. package/dist/api/schema/admin-api/role.api.graphql +33 -33
  38. package/dist/api/schema/admin-api/seller.api.graphql +31 -31
  39. package/dist/api/schema/admin-api/shipping-method.api.graphql +91 -91
  40. package/dist/api/schema/admin-api/stock-level.type.graphql +9 -9
  41. package/dist/api/schema/admin-api/stock-location.api.graphql +51 -51
  42. package/dist/api/schema/admin-api/stock-location.type.graphql +7 -7
  43. package/dist/api/schema/admin-api/stock-movement.type.graphql +80 -80
  44. package/dist/api/schema/admin-api/tag.api.graphql +25 -25
  45. package/dist/api/schema/admin-api/tax-category.api.graphql +36 -36
  46. package/dist/api/schema/admin-api/tax-rate.api.graphql +37 -37
  47. package/dist/api/schema/admin-api/zone.api.graphql +42 -42
  48. package/dist/api/schema/common/address.type.graphql +16 -16
  49. package/dist/api/schema/common/asset.type.graphql +31 -31
  50. package/dist/api/schema/common/auth.type.graphql +12 -12
  51. package/dist/api/schema/common/channel.type.graphql +24 -24
  52. package/dist/api/schema/common/collection.type.graphql +40 -40
  53. package/dist/api/schema/common/common-enums.graphql +35 -35
  54. package/dist/api/schema/common/common-error-results.graphql +107 -107
  55. package/dist/api/schema/common/common-types.graphql +285 -285
  56. package/dist/api/schema/common/currency-code.graphql +322 -322
  57. package/dist/api/schema/common/custom-field-types.graphql +265 -265
  58. package/dist/api/schema/common/customer-group.type.graphql +10 -10
  59. package/dist/api/schema/common/customer.type.graphql +18 -18
  60. package/dist/api/schema/common/facet-value.type.graphql +19 -19
  61. package/dist/api/schema/common/facet.type.graphql +35 -35
  62. package/dist/api/schema/common/history-entry.type.graphql +43 -43
  63. package/dist/api/schema/common/language-code.graphql +325 -325
  64. package/dist/api/schema/common/order.type.graphql +257 -257
  65. package/dist/api/schema/common/payment-method.type.graphql +21 -21
  66. package/dist/api/schema/common/product-option-group.type.graphql +38 -38
  67. package/dist/api/schema/common/product-search.type.graphql +69 -69
  68. package/dist/api/schema/common/product.type.graphql +70 -70
  69. package/dist/api/schema/common/promotion.type.graphql +31 -31
  70. package/dist/api/schema/common/region.type.graphql +65 -65
  71. package/dist/api/schema/common/role.type.graphql +14 -14
  72. package/dist/api/schema/common/seller.type.graphql +6 -6
  73. package/dist/api/schema/common/shipping-method.type.graphql +27 -27
  74. package/dist/api/schema/common/tag.type.graphql +11 -11
  75. package/dist/api/schema/common/tax-category.type.graphql +7 -7
  76. package/dist/api/schema/common/tax-rate.type.graphql +16 -16
  77. package/dist/api/schema/common/user.type.graphql +17 -17
  78. package/dist/api/schema/common/zone.type.graphql +8 -8
  79. package/dist/api/schema/shop-api/shop-error-results.graphql +114 -114
  80. package/dist/api/schema/shop-api/shop.api.graphql +287 -287
  81. package/dist/config/auth/native-authentication-strategy.js +5 -5
  82. package/dist/i18n/messages/de.json +117 -117
  83. package/dist/i18n/messages/en.json +140 -140
  84. package/dist/i18n/messages/es.json +38 -38
  85. package/dist/i18n/messages/fr.json +138 -138
  86. package/dist/i18n/messages/pt_BR.json +99 -99
  87. package/dist/i18n/messages/pt_PT.json +118 -118
  88. package/dist/i18n/messages/ru.json +118 -118
  89. package/dist/i18n/messages/uk.json +118 -118
  90. package/dist/migrate.js +15 -15
  91. package/dist/plugin/default-search-plugin/api/api-extensions.js +8 -8
  92. package/dist/plugin/default-search-plugin/search-strategy/mysql-search-strategy.js +3 -3
  93. package/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js +5 -5
  94. package/dist/plugin/default-search-plugin/search-strategy/sqlite-search-strategy.js +4 -4
  95. package/package.json +4 -4
  96. package/cli/cli-utils.d.ts +0 -1
  97. package/cli/cli-utils.js +0 -8
  98. package/cli/cli-utils.js.map +0 -1
  99. package/cli/vendure-cli.d.ts +0 -2
  100. package/cli/vendure-cli.js +0 -119
  101. 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
+ }