@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,265 +1,265 @@
1
- interface CustomField {
2
- name: String!
3
- type: String!
4
- list: Boolean!
5
- label: [LocalizedString!]
6
- description: [LocalizedString!]
7
- readonly: Boolean
8
- internal: Boolean
9
- nullable: Boolean
10
- requiresPermission: [Permission!]
11
- ui: JSON
12
- }
13
-
14
- type StringCustomFieldConfig implements CustomField {
15
- name: String!
16
- type: String!
17
- list: Boolean!
18
- length: Int
19
- label: [LocalizedString!]
20
- description: [LocalizedString!]
21
- readonly: Boolean
22
- internal: Boolean
23
- nullable: Boolean
24
- requiresPermission: [Permission!]
25
- pattern: String
26
- options: [StringFieldOption!]
27
- ui: JSON
28
- }
29
-
30
- type StringFieldOption {
31
- value: String!
32
- label: [LocalizedString!]
33
- }
34
-
35
- type LocaleStringCustomFieldConfig implements CustomField {
36
- name: String!
37
- type: String!
38
- list: Boolean!
39
- length: Int
40
- label: [LocalizedString!]
41
- description: [LocalizedString!]
42
- readonly: Boolean
43
- internal: Boolean
44
- nullable: Boolean
45
- requiresPermission: [Permission!]
46
- pattern: String
47
- ui: JSON
48
- }
49
- type IntCustomFieldConfig implements CustomField {
50
- name: String!
51
- type: String!
52
- list: Boolean!
53
- label: [LocalizedString!]
54
- description: [LocalizedString!]
55
- readonly: Boolean
56
- internal: Boolean
57
- nullable: Boolean
58
- requiresPermission: [Permission!]
59
- min: Int
60
- max: Int
61
- step: Int
62
- ui: JSON
63
- }
64
- type FloatCustomFieldConfig implements CustomField {
65
- name: String!
66
- type: String!
67
- list: Boolean!
68
- label: [LocalizedString!]
69
- description: [LocalizedString!]
70
- readonly: Boolean
71
- internal: Boolean
72
- nullable: Boolean
73
- requiresPermission: [Permission!]
74
- min: Float
75
- max: Float
76
- step: Float
77
- ui: JSON
78
- }
79
- type BooleanCustomFieldConfig implements CustomField {
80
- name: String!
81
- type: String!
82
- list: Boolean!
83
- label: [LocalizedString!]
84
- description: [LocalizedString!]
85
- readonly: Boolean
86
- internal: Boolean
87
- nullable: Boolean
88
- requiresPermission: [Permission!]
89
- ui: JSON
90
- }
91
- """
92
- Expects the same validation formats as the `<input type="datetime-local">` HTML element.
93
- See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
94
- """
95
- type DateTimeCustomFieldConfig implements CustomField {
96
- name: String!
97
- type: String!
98
- list: Boolean!
99
- label: [LocalizedString!]
100
- description: [LocalizedString!]
101
- readonly: Boolean
102
- internal: Boolean
103
- nullable: Boolean
104
- requiresPermission: [Permission!]
105
- min: String
106
- max: String
107
- step: Int
108
- ui: JSON
109
- }
110
-
111
- type RelationCustomFieldConfig implements CustomField {
112
- name: String!
113
- type: String!
114
- list: Boolean!
115
- label: [LocalizedString!]
116
- description: [LocalizedString!]
117
- readonly: Boolean
118
- internal: Boolean
119
- nullable: Boolean
120
- requiresPermission: [Permission!]
121
- entity: String!
122
- scalarFields: [String!]!
123
- ui: JSON
124
- }
125
-
126
- type TextCustomFieldConfig implements CustomField {
127
- name: String!
128
- type: String!
129
- list: Boolean!
130
- label: [LocalizedString!]
131
- description: [LocalizedString!]
132
- readonly: Boolean
133
- internal: Boolean
134
- nullable: Boolean
135
- requiresPermission: [Permission!]
136
- ui: JSON
137
- }
138
-
139
- type LocaleTextCustomFieldConfig implements CustomField {
140
- name: String!
141
- type: String!
142
- list: Boolean!
143
- label: [LocalizedString!]
144
- description: [LocalizedString!]
145
- readonly: Boolean
146
- internal: Boolean
147
- nullable: Boolean
148
- requiresPermission: [Permission!]
149
- ui: JSON
150
- }
151
-
152
- interface StructField {
153
- name: String!
154
- type: String!
155
- list: Boolean
156
- label: [LocalizedString!]
157
- description: [LocalizedString!]
158
- ui: JSON
159
- }
160
-
161
- type StringStructFieldConfig implements StructField {
162
- name: String!
163
- type: String!
164
- list: Boolean!
165
- label: [LocalizedString!]
166
- description: [LocalizedString!]
167
- length: Int
168
- pattern: String
169
- options: [StringFieldOption!]
170
- ui: JSON
171
- }
172
-
173
- type IntStructFieldConfig implements StructField {
174
- name: String!
175
- type: String!
176
- list: Boolean!
177
- label: [LocalizedString!]
178
- description: [LocalizedString!]
179
- min: Int
180
- max: Int
181
- step: Int
182
- ui: JSON
183
- }
184
- type FloatStructFieldConfig implements StructField {
185
- name: String!
186
- type: String!
187
- list: Boolean!
188
- label: [LocalizedString!]
189
- description: [LocalizedString!]
190
- min: Float
191
- max: Float
192
- step: Float
193
- ui: JSON
194
- }
195
- type BooleanStructFieldConfig implements StructField {
196
- name: String!
197
- type: String!
198
- list: Boolean!
199
- label: [LocalizedString!]
200
- description: [LocalizedString!]
201
- ui: JSON
202
- }
203
- """
204
- Expects the same validation formats as the `<input type="datetime-local">` HTML element.
205
- See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
206
- """
207
- type DateTimeStructFieldConfig implements StructField {
208
- name: String!
209
- type: String!
210
- list: Boolean!
211
- label: [LocalizedString!]
212
- description: [LocalizedString!]
213
- min: String
214
- max: String
215
- step: Int
216
- ui: JSON
217
- }
218
-
219
- type TextStructFieldConfig implements StructField {
220
- name: String!
221
- type: String!
222
- list: Boolean!
223
- label: [LocalizedString!]
224
- description: [LocalizedString!]
225
- ui: JSON
226
- }
227
-
228
- union StructFieldConfig =
229
- StringStructFieldConfig
230
- | IntStructFieldConfig
231
- | FloatStructFieldConfig
232
- | BooleanStructFieldConfig
233
- | DateTimeStructFieldConfig
234
- | TextStructFieldConfig
235
-
236
- type StructCustomFieldConfig implements CustomField {
237
- name: String!
238
- type: String!
239
- list: Boolean!
240
- fields: [StructFieldConfig!]!
241
- label: [LocalizedString!]
242
- description: [LocalizedString!]
243
- readonly: Boolean
244
- internal: Boolean
245
- nullable: Boolean
246
- requiresPermission: [Permission!]
247
- ui: JSON
248
- }
249
-
250
- type LocalizedString {
251
- languageCode: LanguageCode!
252
- value: String!
253
- }
254
-
255
- union CustomFieldConfig =
256
- StringCustomFieldConfig
257
- | LocaleStringCustomFieldConfig
258
- | IntCustomFieldConfig
259
- | FloatCustomFieldConfig
260
- | BooleanCustomFieldConfig
261
- | DateTimeCustomFieldConfig
262
- | RelationCustomFieldConfig
263
- | TextCustomFieldConfig
264
- | LocaleTextCustomFieldConfig
265
- | StructCustomFieldConfig
1
+ interface CustomField {
2
+ name: String!
3
+ type: String!
4
+ list: Boolean!
5
+ label: [LocalizedString!]
6
+ description: [LocalizedString!]
7
+ readonly: Boolean
8
+ internal: Boolean
9
+ nullable: Boolean
10
+ requiresPermission: [Permission!]
11
+ ui: JSON
12
+ }
13
+
14
+ type StringCustomFieldConfig implements CustomField {
15
+ name: String!
16
+ type: String!
17
+ list: Boolean!
18
+ length: Int
19
+ label: [LocalizedString!]
20
+ description: [LocalizedString!]
21
+ readonly: Boolean
22
+ internal: Boolean
23
+ nullable: Boolean
24
+ requiresPermission: [Permission!]
25
+ pattern: String
26
+ options: [StringFieldOption!]
27
+ ui: JSON
28
+ }
29
+
30
+ type StringFieldOption {
31
+ value: String!
32
+ label: [LocalizedString!]
33
+ }
34
+
35
+ type LocaleStringCustomFieldConfig implements CustomField {
36
+ name: String!
37
+ type: String!
38
+ list: Boolean!
39
+ length: Int
40
+ label: [LocalizedString!]
41
+ description: [LocalizedString!]
42
+ readonly: Boolean
43
+ internal: Boolean
44
+ nullable: Boolean
45
+ requiresPermission: [Permission!]
46
+ pattern: String
47
+ ui: JSON
48
+ }
49
+ type IntCustomFieldConfig implements CustomField {
50
+ name: String!
51
+ type: String!
52
+ list: Boolean!
53
+ label: [LocalizedString!]
54
+ description: [LocalizedString!]
55
+ readonly: Boolean
56
+ internal: Boolean
57
+ nullable: Boolean
58
+ requiresPermission: [Permission!]
59
+ min: Int
60
+ max: Int
61
+ step: Int
62
+ ui: JSON
63
+ }
64
+ type FloatCustomFieldConfig implements CustomField {
65
+ name: String!
66
+ type: String!
67
+ list: Boolean!
68
+ label: [LocalizedString!]
69
+ description: [LocalizedString!]
70
+ readonly: Boolean
71
+ internal: Boolean
72
+ nullable: Boolean
73
+ requiresPermission: [Permission!]
74
+ min: Float
75
+ max: Float
76
+ step: Float
77
+ ui: JSON
78
+ }
79
+ type BooleanCustomFieldConfig implements CustomField {
80
+ name: String!
81
+ type: String!
82
+ list: Boolean!
83
+ label: [LocalizedString!]
84
+ description: [LocalizedString!]
85
+ readonly: Boolean
86
+ internal: Boolean
87
+ nullable: Boolean
88
+ requiresPermission: [Permission!]
89
+ ui: JSON
90
+ }
91
+ """
92
+ Expects the same validation formats as the `<input type="datetime-local">` HTML element.
93
+ See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
94
+ """
95
+ type DateTimeCustomFieldConfig implements CustomField {
96
+ name: String!
97
+ type: String!
98
+ list: Boolean!
99
+ label: [LocalizedString!]
100
+ description: [LocalizedString!]
101
+ readonly: Boolean
102
+ internal: Boolean
103
+ nullable: Boolean
104
+ requiresPermission: [Permission!]
105
+ min: String
106
+ max: String
107
+ step: Int
108
+ ui: JSON
109
+ }
110
+
111
+ type RelationCustomFieldConfig implements CustomField {
112
+ name: String!
113
+ type: String!
114
+ list: Boolean!
115
+ label: [LocalizedString!]
116
+ description: [LocalizedString!]
117
+ readonly: Boolean
118
+ internal: Boolean
119
+ nullable: Boolean
120
+ requiresPermission: [Permission!]
121
+ entity: String!
122
+ scalarFields: [String!]!
123
+ ui: JSON
124
+ }
125
+
126
+ type TextCustomFieldConfig implements CustomField {
127
+ name: String!
128
+ type: String!
129
+ list: Boolean!
130
+ label: [LocalizedString!]
131
+ description: [LocalizedString!]
132
+ readonly: Boolean
133
+ internal: Boolean
134
+ nullable: Boolean
135
+ requiresPermission: [Permission!]
136
+ ui: JSON
137
+ }
138
+
139
+ type LocaleTextCustomFieldConfig implements CustomField {
140
+ name: String!
141
+ type: String!
142
+ list: Boolean!
143
+ label: [LocalizedString!]
144
+ description: [LocalizedString!]
145
+ readonly: Boolean
146
+ internal: Boolean
147
+ nullable: Boolean
148
+ requiresPermission: [Permission!]
149
+ ui: JSON
150
+ }
151
+
152
+ interface StructField {
153
+ name: String!
154
+ type: String!
155
+ list: Boolean
156
+ label: [LocalizedString!]
157
+ description: [LocalizedString!]
158
+ ui: JSON
159
+ }
160
+
161
+ type StringStructFieldConfig implements StructField {
162
+ name: String!
163
+ type: String!
164
+ list: Boolean!
165
+ label: [LocalizedString!]
166
+ description: [LocalizedString!]
167
+ length: Int
168
+ pattern: String
169
+ options: [StringFieldOption!]
170
+ ui: JSON
171
+ }
172
+
173
+ type IntStructFieldConfig implements StructField {
174
+ name: String!
175
+ type: String!
176
+ list: Boolean!
177
+ label: [LocalizedString!]
178
+ description: [LocalizedString!]
179
+ min: Int
180
+ max: Int
181
+ step: Int
182
+ ui: JSON
183
+ }
184
+ type FloatStructFieldConfig implements StructField {
185
+ name: String!
186
+ type: String!
187
+ list: Boolean!
188
+ label: [LocalizedString!]
189
+ description: [LocalizedString!]
190
+ min: Float
191
+ max: Float
192
+ step: Float
193
+ ui: JSON
194
+ }
195
+ type BooleanStructFieldConfig implements StructField {
196
+ name: String!
197
+ type: String!
198
+ list: Boolean!
199
+ label: [LocalizedString!]
200
+ description: [LocalizedString!]
201
+ ui: JSON
202
+ }
203
+ """
204
+ Expects the same validation formats as the `<input type="datetime-local">` HTML element.
205
+ See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
206
+ """
207
+ type DateTimeStructFieldConfig implements StructField {
208
+ name: String!
209
+ type: String!
210
+ list: Boolean!
211
+ label: [LocalizedString!]
212
+ description: [LocalizedString!]
213
+ min: String
214
+ max: String
215
+ step: Int
216
+ ui: JSON
217
+ }
218
+
219
+ type TextStructFieldConfig implements StructField {
220
+ name: String!
221
+ type: String!
222
+ list: Boolean!
223
+ label: [LocalizedString!]
224
+ description: [LocalizedString!]
225
+ ui: JSON
226
+ }
227
+
228
+ union StructFieldConfig =
229
+ StringStructFieldConfig
230
+ | IntStructFieldConfig
231
+ | FloatStructFieldConfig
232
+ | BooleanStructFieldConfig
233
+ | DateTimeStructFieldConfig
234
+ | TextStructFieldConfig
235
+
236
+ type StructCustomFieldConfig implements CustomField {
237
+ name: String!
238
+ type: String!
239
+ list: Boolean!
240
+ fields: [StructFieldConfig!]!
241
+ label: [LocalizedString!]
242
+ description: [LocalizedString!]
243
+ readonly: Boolean
244
+ internal: Boolean
245
+ nullable: Boolean
246
+ requiresPermission: [Permission!]
247
+ ui: JSON
248
+ }
249
+
250
+ type LocalizedString {
251
+ languageCode: LanguageCode!
252
+ value: String!
253
+ }
254
+
255
+ union CustomFieldConfig =
256
+ StringCustomFieldConfig
257
+ | LocaleStringCustomFieldConfig
258
+ | IntCustomFieldConfig
259
+ | FloatCustomFieldConfig
260
+ | BooleanCustomFieldConfig
261
+ | DateTimeCustomFieldConfig
262
+ | RelationCustomFieldConfig
263
+ | TextCustomFieldConfig
264
+ | LocaleTextCustomFieldConfig
265
+ | StructCustomFieldConfig
@@ -1,10 +1,10 @@
1
- type CustomerGroup implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- name: String!
6
- customers(options: CustomerListOptions): CustomerList!
7
- }
8
-
9
- # generated by generateListOptions function
10
- input CustomerListOptions
1
+ type CustomerGroup implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ name: String!
6
+ customers(options: CustomerListOptions): CustomerList!
7
+ }
8
+
9
+ # generated by generateListOptions function
10
+ input CustomerListOptions
@@ -1,18 +1,18 @@
1
- type Customer implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- title: String
6
- firstName: String!
7
- lastName: String!
8
- phoneNumber: String
9
- emailAddress: String!
10
- addresses: [Address!]
11
- orders(options: OrderListOptions): OrderList!
12
- user: User
13
- }
14
-
15
- type CustomerList implements PaginatedList {
16
- items: [Customer!]!
17
- totalItems: Int!
18
- }
1
+ type Customer implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ title: String
6
+ firstName: String!
7
+ lastName: String!
8
+ phoneNumber: String
9
+ emailAddress: String!
10
+ addresses: [Address!]
11
+ orders(options: OrderListOptions): OrderList!
12
+ user: User
13
+ }
14
+
15
+ type CustomerList implements PaginatedList {
16
+ items: [Customer!]!
17
+ totalItems: Int!
18
+ }
@@ -1,19 +1,19 @@
1
- type FacetValue implements Node {
2
- id: ID!
3
- createdAt: DateTime!
4
- updatedAt: DateTime!
5
- languageCode: LanguageCode!
6
- facet: Facet!
7
- facetId: ID!
8
- name: String!
9
- code: String!
10
- translations: [FacetValueTranslation!]!
11
- }
12
-
13
- type FacetValueTranslation {
14
- id: ID!
15
- createdAt: DateTime!
16
- updatedAt: DateTime!
17
- languageCode: LanguageCode!
18
- name: String!
19
- }
1
+ type FacetValue implements Node {
2
+ id: ID!
3
+ createdAt: DateTime!
4
+ updatedAt: DateTime!
5
+ languageCode: LanguageCode!
6
+ facet: Facet!
7
+ facetId: ID!
8
+ name: String!
9
+ code: String!
10
+ translations: [FacetValueTranslation!]!
11
+ }
12
+
13
+ type FacetValueTranslation {
14
+ id: ID!
15
+ createdAt: DateTime!
16
+ updatedAt: DateTime!
17
+ languageCode: LanguageCode!
18
+ name: String!
19
+ }