@nizza/core 0.3.0-alpha.1 → 0.3.0-alpha.11

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 (196) hide show
  1. package/README.md +3 -0
  2. package/dist/index.cjs +22 -0
  3. package/{src → dist}/index.d.ts +1 -0
  4. package/dist/index.mjs +2807 -0
  5. package/{src → dist}/lib/domain/index.d.ts +0 -1
  6. package/{src/lib/domain → dist/lib}/errors/app.d.ts +3 -0
  7. package/{src → dist}/lib/providers/StoreProvider.d.ts +2 -3
  8. package/{src → dist}/lib/stores/NizzaStore.d.ts +6 -1
  9. package/{src → dist}/lib/types/api-graphql-types.d.ts +257 -57
  10. package/dist/lib/types/app-module.d.ts +17 -0
  11. package/dist/lib/types/mobx-store.d.ts +3 -0
  12. package/dist/lib/types/products/product.d.ts +16 -0
  13. package/{src → dist}/lib/types/utils.d.ts +6 -5
  14. package/{src → dist}/lib/utils/Result.d.ts +1 -1
  15. package/{src → dist}/lib/utils/customStorage/utils.d.ts +1 -1
  16. package/dist/lib/utils/fingerprint.d.ts +1 -0
  17. package/{src → dist}/lib/utils/helpers.d.ts +1 -1
  18. package/{src → dist}/lib/utils/lazyLoad.d.ts +3 -3
  19. package/dist/package.json +21 -0
  20. package/dist/typings/libs.d.ts +0 -0
  21. package/package.json +10 -13
  22. package/src/environments/environment.d.js +0 -3
  23. package/src/environments/environment.d.js.map +0 -1
  24. package/src/environments/environment.js +0 -28
  25. package/src/environments/environment.js.map +0 -1
  26. package/src/environments/environment.prod.d.js +0 -3
  27. package/src/environments/environment.prod.d.js.map +0 -1
  28. package/src/environments/environment.prod.d.ts +0 -20
  29. package/src/environments/environment.prod.js +0 -27
  30. package/src/environments/environment.prod.js.map +0 -1
  31. package/src/environments/environment.staging.d.js +0 -3
  32. package/src/environments/environment.staging.d.js.map +0 -1
  33. package/src/environments/environment.staging.d.ts +0 -20
  34. package/src/environments/environment.staging.js +0 -27
  35. package/src/environments/environment.staging.js.map +0 -1
  36. package/src/index.d.js +0 -8
  37. package/src/index.d.js.map +0 -1
  38. package/src/index.js +0 -8
  39. package/src/index.js.map +0 -1
  40. package/src/lib/constants/index.d.js +0 -3
  41. package/src/lib/constants/index.d.js.map +0 -1
  42. package/src/lib/constants/index.js +0 -3
  43. package/src/lib/constants/index.js.map +0 -1
  44. package/src/lib/constants/products.d.js +0 -3
  45. package/src/lib/constants/products.d.js.map +0 -1
  46. package/src/lib/constants/products.js +0 -6
  47. package/src/lib/constants/products.js.map +0 -1
  48. package/src/lib/domain/AggregateRoot.d.js +0 -3
  49. package/src/lib/domain/AggregateRoot.d.js.map +0 -1
  50. package/src/lib/domain/AggregateRoot.js +0 -22
  51. package/src/lib/domain/AggregateRoot.js.map +0 -1
  52. package/src/lib/domain/BaseMobxStore.d.js +0 -3
  53. package/src/lib/domain/BaseMobxStore.d.js.map +0 -1
  54. package/src/lib/domain/BaseMobxStore.js +0 -4
  55. package/src/lib/domain/BaseMobxStore.js.map +0 -1
  56. package/src/lib/domain/ValueObject.d.js +0 -3
  57. package/src/lib/domain/ValueObject.d.js.map +0 -1
  58. package/src/lib/domain/ValueObject.js +0 -12
  59. package/src/lib/domain/ValueObject.js.map +0 -1
  60. package/src/lib/domain/errors/DomainError.d.js +0 -3
  61. package/src/lib/domain/errors/DomainError.d.js.map +0 -1
  62. package/src/lib/domain/errors/DomainError.js +0 -18
  63. package/src/lib/domain/errors/DomainError.js.map +0 -1
  64. package/src/lib/domain/errors/api.d.js +0 -3
  65. package/src/lib/domain/errors/api.d.js.map +0 -1
  66. package/src/lib/domain/errors/api.js +0 -8
  67. package/src/lib/domain/errors/api.js.map +0 -1
  68. package/src/lib/domain/errors/app.d.js +0 -3
  69. package/src/lib/domain/errors/app.d.js.map +0 -1
  70. package/src/lib/domain/errors/app.js +0 -14
  71. package/src/lib/domain/errors/app.js.map +0 -1
  72. package/src/lib/domain/errors/index.d.js +0 -5
  73. package/src/lib/domain/errors/index.d.js.map +0 -1
  74. package/src/lib/domain/errors/index.js +0 -5
  75. package/src/lib/domain/errors/index.js.map +0 -1
  76. package/src/lib/domain/index.d.js +0 -6
  77. package/src/lib/domain/index.d.js.map +0 -1
  78. package/src/lib/domain/index.js +0 -6
  79. package/src/lib/domain/index.js.map +0 -1
  80. package/src/lib/providers/StoreProvider.d.js +0 -3
  81. package/src/lib/providers/StoreProvider.d.js.map +0 -1
  82. package/src/lib/providers/StoreProvider.js +0 -36
  83. package/src/lib/providers/StoreProvider.js.map +0 -1
  84. package/src/lib/providers/index.d.js +0 -3
  85. package/src/lib/providers/index.d.js.map +0 -1
  86. package/src/lib/providers/index.js +0 -3
  87. package/src/lib/providers/index.js.map +0 -1
  88. package/src/lib/stores/NizzaStore.d.js +0 -3
  89. package/src/lib/stores/NizzaStore.d.js.map +0 -1
  90. package/src/lib/stores/NizzaStore.js +0 -18
  91. package/src/lib/stores/NizzaStore.js.map +0 -1
  92. package/src/lib/stores/index.d.js +0 -3
  93. package/src/lib/stores/index.d.js.map +0 -1
  94. package/src/lib/stores/index.js +0 -3
  95. package/src/lib/stores/index.js.map +0 -1
  96. package/src/lib/types/api-graphql-types.d.js +0 -3
  97. package/src/lib/types/api-graphql-types.d.js.map +0 -1
  98. package/src/lib/types/api-graphql-types.js +0 -2003
  99. package/src/lib/types/api-graphql-types.js.map +0 -1
  100. package/src/lib/types/app-module.d.js +0 -3
  101. package/src/lib/types/app-module.d.js.map +0 -1
  102. package/src/lib/types/app-module.d.ts +0 -10
  103. package/src/lib/types/app-module.js +0 -3
  104. package/src/lib/types/app-module.js.map +0 -1
  105. package/src/lib/types/index.d.js +0 -9
  106. package/src/lib/types/index.d.js.map +0 -1
  107. package/src/lib/types/index.js +0 -9
  108. package/src/lib/types/index.js.map +0 -1
  109. package/src/lib/types/mobx-store.d.js +0 -3
  110. package/src/lib/types/mobx-store.d.js.map +0 -1
  111. package/src/lib/types/mobx-store.d.ts +0 -3
  112. package/src/lib/types/mobx-store.js +0 -3
  113. package/src/lib/types/mobx-store.js.map +0 -1
  114. package/src/lib/types/nizzaGlobalObject.d.js +0 -3
  115. package/src/lib/types/nizzaGlobalObject.d.js.map +0 -1
  116. package/src/lib/types/nizzaGlobalObject.js +0 -3
  117. package/src/lib/types/nizzaGlobalObject.js.map +0 -1
  118. package/src/lib/types/products/base.d.js +0 -8
  119. package/src/lib/types/products/base.d.js.map +0 -1
  120. package/src/lib/types/products/base.js +0 -8
  121. package/src/lib/types/products/base.js.map +0 -1
  122. package/src/lib/types/products/index.d.js +0 -4
  123. package/src/lib/types/products/index.d.js.map +0 -1
  124. package/src/lib/types/products/index.js +0 -4
  125. package/src/lib/types/products/index.js.map +0 -1
  126. package/src/lib/types/products/product.d.js +0 -3
  127. package/src/lib/types/products/product.d.js.map +0 -1
  128. package/src/lib/types/products/product.d.ts +0 -16
  129. package/src/lib/types/products/product.js +0 -3
  130. package/src/lib/types/products/product.js.map +0 -1
  131. package/src/lib/types/utils.d.js +0 -3
  132. package/src/lib/types/utils.d.js.map +0 -1
  133. package/src/lib/types/utils.js +0 -4
  134. package/src/lib/types/utils.js.map +0 -1
  135. package/src/lib/utils/Result.d.js +0 -3
  136. package/src/lib/utils/Result.d.js.map +0 -1
  137. package/src/lib/utils/Result.js +0 -63
  138. package/src/lib/utils/Result.js.map +0 -1
  139. package/src/lib/utils/apiCall.d.js +0 -3
  140. package/src/lib/utils/apiCall.d.js.map +0 -1
  141. package/src/lib/utils/apiCall.js +0 -28
  142. package/src/lib/utils/apiCall.js.map +0 -1
  143. package/src/lib/utils/customStorage/MemoryStorage.d.js +0 -3
  144. package/src/lib/utils/customStorage/MemoryStorage.d.js.map +0 -1
  145. package/src/lib/utils/customStorage/MemoryStorage.js +0 -44
  146. package/src/lib/utils/customStorage/MemoryStorage.js.map +0 -1
  147. package/src/lib/utils/customStorage/index.d.js +0 -3
  148. package/src/lib/utils/customStorage/index.d.js.map +0 -1
  149. package/src/lib/utils/customStorage/index.js +0 -36
  150. package/src/lib/utils/customStorage/index.js.map +0 -1
  151. package/src/lib/utils/customStorage/utils.d.js +0 -3
  152. package/src/lib/utils/customStorage/utils.d.js.map +0 -1
  153. package/src/lib/utils/customStorage/utils.js +0 -24
  154. package/src/lib/utils/customStorage/utils.js.map +0 -1
  155. package/src/lib/utils/fingerprint.d.js +0 -3
  156. package/src/lib/utils/fingerprint.d.js.map +0 -1
  157. package/src/lib/utils/fingerprint.d.ts +0 -1
  158. package/src/lib/utils/fingerprint.js +0 -14
  159. package/src/lib/utils/fingerprint.js.map +0 -1
  160. package/src/lib/utils/helpers.d.js +0 -3
  161. package/src/lib/utils/helpers.d.js.map +0 -1
  162. package/src/lib/utils/helpers.js +0 -15
  163. package/src/lib/utils/helpers.js.map +0 -1
  164. package/src/lib/utils/index.d.js +0 -8
  165. package/src/lib/utils/index.d.js.map +0 -1
  166. package/src/lib/utils/index.js +0 -8
  167. package/src/lib/utils/index.js.map +0 -1
  168. package/src/lib/utils/lazyLoad.d.js +0 -3
  169. package/src/lib/utils/lazyLoad.d.js.map +0 -1
  170. package/src/lib/utils/lazyLoad.js +0 -17
  171. package/src/lib/utils/lazyLoad.js.map +0 -1
  172. package/src/typings/libs.d.js +0 -2
  173. package/src/typings/libs.d.js.map +0 -1
  174. package/vite-env.d.js +0 -3
  175. package/vite-env.d.js.map +0 -1
  176. package/vite.config.js +0 -10
  177. package/vite.config.js.map +0 -1
  178. /package/{src → dist}/environments/environment.d.ts +0 -0
  179. /package/{src → dist}/lib/constants/index.d.ts +0 -0
  180. /package/{src → dist}/lib/constants/products.d.ts +0 -0
  181. /package/{src → dist}/lib/domain/AggregateRoot.d.ts +0 -0
  182. /package/{src → dist}/lib/domain/BaseMobxStore.d.ts +0 -0
  183. /package/{src → dist}/lib/domain/ValueObject.d.ts +0 -0
  184. /package/{src/lib/domain → dist/lib}/errors/DomainError.d.ts +0 -0
  185. /package/{src/lib/domain → dist/lib}/errors/api.d.ts +0 -0
  186. /package/{src/lib/domain → dist/lib}/errors/index.d.ts +0 -0
  187. /package/{src → dist}/lib/providers/index.d.ts +0 -0
  188. /package/{src → dist}/lib/stores/index.d.ts +0 -0
  189. /package/{src → dist}/lib/types/index.d.ts +0 -0
  190. /package/{src → dist}/lib/types/nizzaGlobalObject.d.ts +0 -0
  191. /package/{src → dist}/lib/types/products/base.d.ts +0 -0
  192. /package/{src → dist}/lib/types/products/index.d.ts +0 -0
  193. /package/{src → dist}/lib/utils/apiCall.d.ts +0 -0
  194. /package/{src → dist}/lib/utils/customStorage/MemoryStorage.d.ts +0 -0
  195. /package/{src → dist}/lib/utils/customStorage/index.d.ts +0 -0
  196. /package/{src → dist}/lib/utils/index.d.ts +0 -0
@@ -1,2003 +0,0 @@
1
- export var Methods;
2
- (function(Methods) {
3
- Methods["Add"] = 'add';
4
- Methods["Remove"] = 'remove';
5
- })(Methods || (Methods = {}));
6
- export var Status;
7
- (function(Status) {
8
- Status["Active"] = 'active';
9
- Status["Inactive"] = 'inactive';
10
- })(Status || (Status = {}));
11
- export const DeleteAllCustomizationDocument = {
12
- "kind": "Document",
13
- "definitions": [
14
- {
15
- "kind": "OperationDefinition",
16
- "operation": "mutation",
17
- "name": {
18
- "kind": "Name",
19
- "value": "deleteAllCustomization"
20
- },
21
- "variableDefinitions": [
22
- {
23
- "kind": "VariableDefinition",
24
- "variable": {
25
- "kind": "Variable",
26
- "name": {
27
- "kind": "Name",
28
- "value": "data"
29
- }
30
- },
31
- "type": {
32
- "kind": "NonNullType",
33
- "type": {
34
- "kind": "NamedType",
35
- "name": {
36
- "kind": "Name",
37
- "value": "CustomPlayerInputAccount"
38
- }
39
- }
40
- }
41
- }
42
- ],
43
- "selectionSet": {
44
- "kind": "SelectionSet",
45
- "selections": [
46
- {
47
- "kind": "Field",
48
- "name": {
49
- "kind": "Name",
50
- "value": "deleteAllCustomPlayer"
51
- },
52
- "arguments": [
53
- {
54
- "kind": "Argument",
55
- "name": {
56
- "kind": "Name",
57
- "value": "data"
58
- },
59
- "value": {
60
- "kind": "Variable",
61
- "name": {
62
- "kind": "Name",
63
- "value": "data"
64
- }
65
- }
66
- }
67
- ],
68
- "selectionSet": {
69
- "kind": "SelectionSet",
70
- "selections": [
71
- {
72
- "kind": "Field",
73
- "name": {
74
- "kind": "Name",
75
- "value": "__typename"
76
- }
77
- },
78
- {
79
- "kind": "InlineFragment",
80
- "typeCondition": {
81
- "kind": "NamedType",
82
- "name": {
83
- "kind": "Name",
84
- "value": "Error"
85
- }
86
- },
87
- "selectionSet": {
88
- "kind": "SelectionSet",
89
- "selections": [
90
- {
91
- "kind": "Field",
92
- "name": {
93
- "kind": "Name",
94
- "value": "message"
95
- }
96
- },
97
- {
98
- "kind": "Field",
99
- "name": {
100
- "kind": "Name",
101
- "value": "statusCode"
102
- }
103
- },
104
- {
105
- "kind": "Field",
106
- "name": {
107
- "kind": "Name",
108
- "value": "timestamp"
109
- }
110
- }
111
- ]
112
- }
113
- },
114
- {
115
- "kind": "InlineFragment",
116
- "typeCondition": {
117
- "kind": "NamedType",
118
- "name": {
119
- "kind": "Name",
120
- "value": "ErrorGeneral"
121
- }
122
- },
123
- "selectionSet": {
124
- "kind": "SelectionSet",
125
- "selections": [
126
- {
127
- "kind": "Field",
128
- "name": {
129
- "kind": "Name",
130
- "value": "message"
131
- }
132
- },
133
- {
134
- "kind": "Field",
135
- "name": {
136
- "kind": "Name",
137
- "value": "statusCode"
138
- }
139
- },
140
- {
141
- "kind": "Field",
142
- "name": {
143
- "kind": "Name",
144
- "value": "timestamp"
145
- }
146
- }
147
- ]
148
- }
149
- }
150
- ]
151
- }
152
- }
153
- ]
154
- }
155
- }
156
- ]
157
- };
158
- export const GetAllCustomizationDocument = {
159
- "kind": "Document",
160
- "definitions": [
161
- {
162
- "kind": "OperationDefinition",
163
- "operation": "query",
164
- "name": {
165
- "kind": "Name",
166
- "value": "getAllCustomization"
167
- },
168
- "variableDefinitions": [
169
- {
170
- "kind": "VariableDefinition",
171
- "variable": {
172
- "kind": "Variable",
173
- "name": {
174
- "kind": "Name",
175
- "value": "data"
176
- }
177
- },
178
- "type": {
179
- "kind": "NonNullType",
180
- "type": {
181
- "kind": "NamedType",
182
- "name": {
183
- "kind": "Name",
184
- "value": "QueryInput"
185
- }
186
- }
187
- }
188
- }
189
- ],
190
- "selectionSet": {
191
- "kind": "SelectionSet",
192
- "selections": [
193
- {
194
- "kind": "Field",
195
- "name": {
196
- "kind": "Name",
197
- "value": "getAllCustomPlayer"
198
- },
199
- "arguments": [
200
- {
201
- "kind": "Argument",
202
- "name": {
203
- "kind": "Name",
204
- "value": "data"
205
- },
206
- "value": {
207
- "kind": "Variable",
208
- "name": {
209
- "kind": "Name",
210
- "value": "data"
211
- }
212
- }
213
- }
214
- ],
215
- "selectionSet": {
216
- "kind": "SelectionSet",
217
- "selections": [
218
- {
219
- "kind": "Field",
220
- "name": {
221
- "kind": "Name",
222
- "value": "__typename"
223
- }
224
- },
225
- {
226
- "kind": "InlineFragment",
227
- "typeCondition": {
228
- "kind": "NamedType",
229
- "name": {
230
- "kind": "Name",
231
- "value": "CustomPlayerSuccessArray"
232
- }
233
- },
234
- "selectionSet": {
235
- "kind": "SelectionSet",
236
- "selections": [
237
- {
238
- "kind": "Field",
239
- "name": {
240
- "kind": "Name",
241
- "value": "data"
242
- },
243
- "selectionSet": {
244
- "kind": "SelectionSet",
245
- "selections": [
246
- {
247
- "kind": "Field",
248
- "name": {
249
- "kind": "Name",
250
- "value": "account"
251
- }
252
- },
253
- {
254
- "kind": "Field",
255
- "name": {
256
- "kind": "Name",
257
- "value": "data"
258
- }
259
- },
260
- {
261
- "kind": "Field",
262
- "name": {
263
- "kind": "Name",
264
- "value": "section"
265
- }
266
- },
267
- {
268
- "kind": "Field",
269
- "name": {
270
- "kind": "Name",
271
- "value": "id"
272
- }
273
- }
274
- ]
275
- }
276
- }
277
- ]
278
- }
279
- },
280
- {
281
- "kind": "InlineFragment",
282
- "typeCondition": {
283
- "kind": "NamedType",
284
- "name": {
285
- "kind": "Name",
286
- "value": "Error"
287
- }
288
- },
289
- "selectionSet": {
290
- "kind": "SelectionSet",
291
- "selections": [
292
- {
293
- "kind": "Field",
294
- "name": {
295
- "kind": "Name",
296
- "value": "message"
297
- }
298
- },
299
- {
300
- "kind": "Field",
301
- "name": {
302
- "kind": "Name",
303
- "value": "statusCode"
304
- }
305
- },
306
- {
307
- "kind": "Field",
308
- "name": {
309
- "kind": "Name",
310
- "value": "timestamp"
311
- }
312
- }
313
- ]
314
- }
315
- },
316
- {
317
- "kind": "InlineFragment",
318
- "typeCondition": {
319
- "kind": "NamedType",
320
- "name": {
321
- "kind": "Name",
322
- "value": "ErrorGeneral"
323
- }
324
- },
325
- "selectionSet": {
326
- "kind": "SelectionSet",
327
- "selections": [
328
- {
329
- "kind": "Field",
330
- "name": {
331
- "kind": "Name",
332
- "value": "message"
333
- }
334
- },
335
- {
336
- "kind": "Field",
337
- "name": {
338
- "kind": "Name",
339
- "value": "statusCode"
340
- }
341
- },
342
- {
343
- "kind": "Field",
344
- "name": {
345
- "kind": "Name",
346
- "value": "timestamp"
347
- }
348
- }
349
- ]
350
- }
351
- }
352
- ]
353
- }
354
- }
355
- ]
356
- }
357
- }
358
- ]
359
- };
360
- export const UpdateCustomizationDocument = {
361
- "kind": "Document",
362
- "definitions": [
363
- {
364
- "kind": "OperationDefinition",
365
- "operation": "mutation",
366
- "name": {
367
- "kind": "Name",
368
- "value": "updateCustomization"
369
- },
370
- "variableDefinitions": [
371
- {
372
- "kind": "VariableDefinition",
373
- "variable": {
374
- "kind": "Variable",
375
- "name": {
376
- "kind": "Name",
377
- "value": "data"
378
- }
379
- },
380
- "type": {
381
- "kind": "NonNullType",
382
- "type": {
383
- "kind": "NamedType",
384
- "name": {
385
- "kind": "Name",
386
- "value": "CustomPlayerInput"
387
- }
388
- }
389
- }
390
- }
391
- ],
392
- "selectionSet": {
393
- "kind": "SelectionSet",
394
- "selections": [
395
- {
396
- "kind": "Field",
397
- "name": {
398
- "kind": "Name",
399
- "value": "updateCustomPlayer"
400
- },
401
- "arguments": [
402
- {
403
- "kind": "Argument",
404
- "name": {
405
- "kind": "Name",
406
- "value": "data"
407
- },
408
- "value": {
409
- "kind": "Variable",
410
- "name": {
411
- "kind": "Name",
412
- "value": "data"
413
- }
414
- }
415
- }
416
- ],
417
- "selectionSet": {
418
- "kind": "SelectionSet",
419
- "selections": [
420
- {
421
- "kind": "Field",
422
- "name": {
423
- "kind": "Name",
424
- "value": "__typename"
425
- }
426
- },
427
- {
428
- "kind": "InlineFragment",
429
- "typeCondition": {
430
- "kind": "NamedType",
431
- "name": {
432
- "kind": "Name",
433
- "value": "Error"
434
- }
435
- },
436
- "selectionSet": {
437
- "kind": "SelectionSet",
438
- "selections": [
439
- {
440
- "kind": "Field",
441
- "name": {
442
- "kind": "Name",
443
- "value": "message"
444
- }
445
- },
446
- {
447
- "kind": "Field",
448
- "name": {
449
- "kind": "Name",
450
- "value": "statusCode"
451
- }
452
- },
453
- {
454
- "kind": "Field",
455
- "name": {
456
- "kind": "Name",
457
- "value": "timestamp"
458
- }
459
- }
460
- ]
461
- }
462
- },
463
- {
464
- "kind": "InlineFragment",
465
- "typeCondition": {
466
- "kind": "NamedType",
467
- "name": {
468
- "kind": "Name",
469
- "value": "ErrorGeneral"
470
- }
471
- },
472
- "selectionSet": {
473
- "kind": "SelectionSet",
474
- "selections": [
475
- {
476
- "kind": "Field",
477
- "name": {
478
- "kind": "Name",
479
- "value": "message"
480
- }
481
- },
482
- {
483
- "kind": "Field",
484
- "name": {
485
- "kind": "Name",
486
- "value": "statusCode"
487
- }
488
- },
489
- {
490
- "kind": "Field",
491
- "name": {
492
- "kind": "Name",
493
- "value": "timestamp"
494
- }
495
- }
496
- ]
497
- }
498
- }
499
- ]
500
- }
501
- }
502
- ]
503
- }
504
- }
505
- ]
506
- };
507
- export const AddCollectionDocument = {
508
- "kind": "Document",
509
- "definitions": [
510
- {
511
- "kind": "OperationDefinition",
512
- "operation": "mutation",
513
- "name": {
514
- "kind": "Name",
515
- "value": "AddCollection"
516
- },
517
- "variableDefinitions": [
518
- {
519
- "kind": "VariableDefinition",
520
- "variable": {
521
- "kind": "Variable",
522
- "name": {
523
- "kind": "Name",
524
- "value": "data"
525
- }
526
- },
527
- "type": {
528
- "kind": "NonNullType",
529
- "type": {
530
- "kind": "NamedType",
531
- "name": {
532
- "kind": "Name",
533
- "value": "CreateCollectionInput"
534
- }
535
- }
536
- }
537
- }
538
- ],
539
- "selectionSet": {
540
- "kind": "SelectionSet",
541
- "selections": [
542
- {
543
- "kind": "Field",
544
- "name": {
545
- "kind": "Name",
546
- "value": "createCollection"
547
- },
548
- "arguments": [
549
- {
550
- "kind": "Argument",
551
- "name": {
552
- "kind": "Name",
553
- "value": "data"
554
- },
555
- "value": {
556
- "kind": "Variable",
557
- "name": {
558
- "kind": "Name",
559
- "value": "data"
560
- }
561
- }
562
- }
563
- ],
564
- "selectionSet": {
565
- "kind": "SelectionSet",
566
- "selections": [
567
- {
568
- "kind": "Field",
569
- "name": {
570
- "kind": "Name",
571
- "value": "__typename"
572
- }
573
- },
574
- {
575
- "kind": "InlineFragment",
576
- "typeCondition": {
577
- "kind": "NamedType",
578
- "name": {
579
- "kind": "Name",
580
- "value": "CollectionSuccess"
581
- }
582
- },
583
- "selectionSet": {
584
- "kind": "SelectionSet",
585
- "selections": [
586
- {
587
- "kind": "Field",
588
- "name": {
589
- "kind": "Name",
590
- "value": "data"
591
- },
592
- "selectionSet": {
593
- "kind": "SelectionSet",
594
- "selections": [
595
- {
596
- "kind": "Field",
597
- "name": {
598
- "kind": "Name",
599
- "value": "id"
600
- }
601
- }
602
- ]
603
- }
604
- }
605
- ]
606
- }
607
- },
608
- {
609
- "kind": "InlineFragment",
610
- "typeCondition": {
611
- "kind": "NamedType",
612
- "name": {
613
- "kind": "Name",
614
- "value": "Error"
615
- }
616
- },
617
- "selectionSet": {
618
- "kind": "SelectionSet",
619
- "selections": [
620
- {
621
- "kind": "Field",
622
- "name": {
623
- "kind": "Name",
624
- "value": "message"
625
- }
626
- },
627
- {
628
- "kind": "Field",
629
- "name": {
630
- "kind": "Name",
631
- "value": "statusCode"
632
- }
633
- },
634
- {
635
- "kind": "Field",
636
- "name": {
637
- "kind": "Name",
638
- "value": "timestamp"
639
- }
640
- }
641
- ]
642
- }
643
- },
644
- {
645
- "kind": "InlineFragment",
646
- "typeCondition": {
647
- "kind": "NamedType",
648
- "name": {
649
- "kind": "Name",
650
- "value": "ErrorGeneral"
651
- }
652
- },
653
- "selectionSet": {
654
- "kind": "SelectionSet",
655
- "selections": [
656
- {
657
- "kind": "Field",
658
- "name": {
659
- "kind": "Name",
660
- "value": "message"
661
- }
662
- },
663
- {
664
- "kind": "Field",
665
- "name": {
666
- "kind": "Name",
667
- "value": "statusCode"
668
- }
669
- },
670
- {
671
- "kind": "Field",
672
- "name": {
673
- "kind": "Name",
674
- "value": "timestamp"
675
- }
676
- }
677
- ]
678
- }
679
- }
680
- ]
681
- }
682
- }
683
- ]
684
- }
685
- }
686
- ]
687
- };
688
- export const DeleteCollectionDocument = {
689
- "kind": "Document",
690
- "definitions": [
691
- {
692
- "kind": "OperationDefinition",
693
- "operation": "mutation",
694
- "name": {
695
- "kind": "Name",
696
- "value": "DeleteCollection"
697
- },
698
- "variableDefinitions": [
699
- {
700
- "kind": "VariableDefinition",
701
- "variable": {
702
- "kind": "Variable",
703
- "name": {
704
- "kind": "Name",
705
- "value": "data"
706
- }
707
- },
708
- "type": {
709
- "kind": "NonNullType",
710
- "type": {
711
- "kind": "NamedType",
712
- "name": {
713
- "kind": "Name",
714
- "value": "QueryInput"
715
- }
716
- }
717
- }
718
- }
719
- ],
720
- "selectionSet": {
721
- "kind": "SelectionSet",
722
- "selections": [
723
- {
724
- "kind": "Field",
725
- "name": {
726
- "kind": "Name",
727
- "value": "deleteCollection"
728
- },
729
- "arguments": [
730
- {
731
- "kind": "Argument",
732
- "name": {
733
- "kind": "Name",
734
- "value": "data"
735
- },
736
- "value": {
737
- "kind": "Variable",
738
- "name": {
739
- "kind": "Name",
740
- "value": "data"
741
- }
742
- }
743
- }
744
- ],
745
- "selectionSet": {
746
- "kind": "SelectionSet",
747
- "selections": [
748
- {
749
- "kind": "Field",
750
- "name": {
751
- "kind": "Name",
752
- "value": "__typename"
753
- }
754
- },
755
- {
756
- "kind": "InlineFragment",
757
- "typeCondition": {
758
- "kind": "NamedType",
759
- "name": {
760
- "kind": "Name",
761
- "value": "Error"
762
- }
763
- },
764
- "selectionSet": {
765
- "kind": "SelectionSet",
766
- "selections": [
767
- {
768
- "kind": "Field",
769
- "name": {
770
- "kind": "Name",
771
- "value": "message"
772
- }
773
- },
774
- {
775
- "kind": "Field",
776
- "name": {
777
- "kind": "Name",
778
- "value": "statusCode"
779
- }
780
- },
781
- {
782
- "kind": "Field",
783
- "name": {
784
- "kind": "Name",
785
- "value": "timestamp"
786
- }
787
- }
788
- ]
789
- }
790
- },
791
- {
792
- "kind": "InlineFragment",
793
- "typeCondition": {
794
- "kind": "NamedType",
795
- "name": {
796
- "kind": "Name",
797
- "value": "ErrorGeneral"
798
- }
799
- },
800
- "selectionSet": {
801
- "kind": "SelectionSet",
802
- "selections": [
803
- {
804
- "kind": "Field",
805
- "name": {
806
- "kind": "Name",
807
- "value": "message"
808
- }
809
- },
810
- {
811
- "kind": "Field",
812
- "name": {
813
- "kind": "Name",
814
- "value": "statusCode"
815
- }
816
- },
817
- {
818
- "kind": "Field",
819
- "name": {
820
- "kind": "Name",
821
- "value": "timestamp"
822
- }
823
- }
824
- ]
825
- }
826
- }
827
- ]
828
- }
829
- }
830
- ]
831
- }
832
- }
833
- ]
834
- };
835
- export const FindCollectionDocument = {
836
- "kind": "Document",
837
- "definitions": [
838
- {
839
- "kind": "OperationDefinition",
840
- "operation": "query",
841
- "name": {
842
- "kind": "Name",
843
- "value": "FindCollection"
844
- },
845
- "variableDefinitions": [
846
- {
847
- "kind": "VariableDefinition",
848
- "variable": {
849
- "kind": "Variable",
850
- "name": {
851
- "kind": "Name",
852
- "value": "data"
853
- }
854
- },
855
- "type": {
856
- "kind": "NonNullType",
857
- "type": {
858
- "kind": "NamedType",
859
- "name": {
860
- "kind": "Name",
861
- "value": "QueryInput"
862
- }
863
- }
864
- }
865
- }
866
- ],
867
- "selectionSet": {
868
- "kind": "SelectionSet",
869
- "selections": [
870
- {
871
- "kind": "Field",
872
- "name": {
873
- "kind": "Name",
874
- "value": "findCollection"
875
- },
876
- "arguments": [
877
- {
878
- "kind": "Argument",
879
- "name": {
880
- "kind": "Name",
881
- "value": "data"
882
- },
883
- "value": {
884
- "kind": "Variable",
885
- "name": {
886
- "kind": "Name",
887
- "value": "data"
888
- }
889
- }
890
- }
891
- ],
892
- "selectionSet": {
893
- "kind": "SelectionSet",
894
- "selections": [
895
- {
896
- "kind": "Field",
897
- "name": {
898
- "kind": "Name",
899
- "value": "__typename"
900
- }
901
- },
902
- {
903
- "kind": "InlineFragment",
904
- "typeCondition": {
905
- "kind": "NamedType",
906
- "name": {
907
- "kind": "Name",
908
- "value": "CollectionSuccess"
909
- }
910
- },
911
- "selectionSet": {
912
- "kind": "SelectionSet",
913
- "selections": [
914
- {
915
- "kind": "Field",
916
- "name": {
917
- "kind": "Name",
918
- "value": "data"
919
- },
920
- "selectionSet": {
921
- "kind": "SelectionSet",
922
- "selections": [
923
- {
924
- "kind": "Field",
925
- "name": {
926
- "kind": "Name",
927
- "value": "id"
928
- }
929
- },
930
- {
931
- "kind": "Field",
932
- "name": {
933
- "kind": "Name",
934
- "value": "account"
935
- }
936
- },
937
- {
938
- "kind": "Field",
939
- "name": {
940
- "kind": "Name",
941
- "value": "name"
942
- }
943
- },
944
- {
945
- "kind": "Field",
946
- "name": {
947
- "kind": "Name",
948
- "value": "description"
949
- }
950
- },
951
- {
952
- "kind": "Field",
953
- "name": {
954
- "kind": "Name",
955
- "value": "status"
956
- }
957
- },
958
- {
959
- "kind": "Field",
960
- "name": {
961
- "kind": "Name",
962
- "value": "createdat"
963
- }
964
- },
965
- {
966
- "kind": "Field",
967
- "name": {
968
- "kind": "Name",
969
- "value": "products"
970
- },
971
- "selectionSet": {
972
- "kind": "SelectionSet",
973
- "selections": [
974
- {
975
- "kind": "Field",
976
- "name": {
977
- "kind": "Name",
978
- "value": "id"
979
- }
980
- },
981
- {
982
- "kind": "Field",
983
- "name": {
984
- "kind": "Name",
985
- "value": "account"
986
- }
987
- },
988
- {
989
- "kind": "Field",
990
- "name": {
991
- "kind": "Name",
992
- "value": "title"
993
- }
994
- },
995
- {
996
- "kind": "Field",
997
- "name": {
998
- "kind": "Name",
999
- "value": "link"
1000
- }
1001
- },
1002
- {
1003
- "kind": "Field",
1004
- "name": {
1005
- "kind": "Name",
1006
- "value": "pictures"
1007
- }
1008
- },
1009
- {
1010
- "kind": "Field",
1011
- "name": {
1012
- "kind": "Name",
1013
- "value": "price"
1014
- }
1015
- },
1016
- {
1017
- "kind": "Field",
1018
- "name": {
1019
- "kind": "Name",
1020
- "value": "salesprice"
1021
- }
1022
- },
1023
- {
1024
- "kind": "Field",
1025
- "name": {
1026
- "kind": "Name",
1027
- "value": "status"
1028
- }
1029
- },
1030
- {
1031
- "kind": "Field",
1032
- "name": {
1033
- "kind": "Name",
1034
- "value": "createdat"
1035
- }
1036
- }
1037
- ]
1038
- }
1039
- }
1040
- ]
1041
- }
1042
- }
1043
- ]
1044
- }
1045
- },
1046
- {
1047
- "kind": "InlineFragment",
1048
- "typeCondition": {
1049
- "kind": "NamedType",
1050
- "name": {
1051
- "kind": "Name",
1052
- "value": "Error"
1053
- }
1054
- },
1055
- "selectionSet": {
1056
- "kind": "SelectionSet",
1057
- "selections": [
1058
- {
1059
- "kind": "Field",
1060
- "name": {
1061
- "kind": "Name",
1062
- "value": "message"
1063
- }
1064
- },
1065
- {
1066
- "kind": "Field",
1067
- "name": {
1068
- "kind": "Name",
1069
- "value": "statusCode"
1070
- }
1071
- },
1072
- {
1073
- "kind": "Field",
1074
- "name": {
1075
- "kind": "Name",
1076
- "value": "timestamp"
1077
- }
1078
- }
1079
- ]
1080
- }
1081
- },
1082
- {
1083
- "kind": "InlineFragment",
1084
- "typeCondition": {
1085
- "kind": "NamedType",
1086
- "name": {
1087
- "kind": "Name",
1088
- "value": "ErrorGeneral"
1089
- }
1090
- },
1091
- "selectionSet": {
1092
- "kind": "SelectionSet",
1093
- "selections": [
1094
- {
1095
- "kind": "Field",
1096
- "name": {
1097
- "kind": "Name",
1098
- "value": "message"
1099
- }
1100
- },
1101
- {
1102
- "kind": "Field",
1103
- "name": {
1104
- "kind": "Name",
1105
- "value": "statusCode"
1106
- }
1107
- },
1108
- {
1109
- "kind": "Field",
1110
- "name": {
1111
- "kind": "Name",
1112
- "value": "timestamp"
1113
- }
1114
- }
1115
- ]
1116
- }
1117
- }
1118
- ]
1119
- }
1120
- }
1121
- ]
1122
- }
1123
- }
1124
- ]
1125
- };
1126
- export const GetAllCollectionsDocument = {
1127
- "kind": "Document",
1128
- "definitions": [
1129
- {
1130
- "kind": "OperationDefinition",
1131
- "operation": "query",
1132
- "name": {
1133
- "kind": "Name",
1134
- "value": "GetAllCollections"
1135
- },
1136
- "variableDefinitions": [
1137
- {
1138
- "kind": "VariableDefinition",
1139
- "variable": {
1140
- "kind": "Variable",
1141
- "name": {
1142
- "kind": "Name",
1143
- "value": "data"
1144
- }
1145
- },
1146
- "type": {
1147
- "kind": "NonNullType",
1148
- "type": {
1149
- "kind": "NamedType",
1150
- "name": {
1151
- "kind": "Name",
1152
- "value": "QueryInput"
1153
- }
1154
- }
1155
- }
1156
- }
1157
- ],
1158
- "selectionSet": {
1159
- "kind": "SelectionSet",
1160
- "selections": [
1161
- {
1162
- "kind": "Field",
1163
- "name": {
1164
- "kind": "Name",
1165
- "value": "getAllCollection"
1166
- },
1167
- "arguments": [
1168
- {
1169
- "kind": "Argument",
1170
- "name": {
1171
- "kind": "Name",
1172
- "value": "data"
1173
- },
1174
- "value": {
1175
- "kind": "Variable",
1176
- "name": {
1177
- "kind": "Name",
1178
- "value": "data"
1179
- }
1180
- }
1181
- }
1182
- ],
1183
- "selectionSet": {
1184
- "kind": "SelectionSet",
1185
- "selections": [
1186
- {
1187
- "kind": "Field",
1188
- "name": {
1189
- "kind": "Name",
1190
- "value": "__typename"
1191
- }
1192
- },
1193
- {
1194
- "kind": "InlineFragment",
1195
- "typeCondition": {
1196
- "kind": "NamedType",
1197
- "name": {
1198
- "kind": "Name",
1199
- "value": "CollectionSuccessArray"
1200
- }
1201
- },
1202
- "selectionSet": {
1203
- "kind": "SelectionSet",
1204
- "selections": [
1205
- {
1206
- "kind": "Field",
1207
- "name": {
1208
- "kind": "Name",
1209
- "value": "data"
1210
- },
1211
- "selectionSet": {
1212
- "kind": "SelectionSet",
1213
- "selections": [
1214
- {
1215
- "kind": "Field",
1216
- "name": {
1217
- "kind": "Name",
1218
- "value": "id"
1219
- }
1220
- },
1221
- {
1222
- "kind": "Field",
1223
- "name": {
1224
- "kind": "Name",
1225
- "value": "account"
1226
- }
1227
- },
1228
- {
1229
- "kind": "Field",
1230
- "name": {
1231
- "kind": "Name",
1232
- "value": "name"
1233
- }
1234
- },
1235
- {
1236
- "kind": "Field",
1237
- "name": {
1238
- "kind": "Name",
1239
- "value": "description"
1240
- }
1241
- },
1242
- {
1243
- "kind": "Field",
1244
- "name": {
1245
- "kind": "Name",
1246
- "value": "status"
1247
- }
1248
- },
1249
- {
1250
- "kind": "Field",
1251
- "name": {
1252
- "kind": "Name",
1253
- "value": "createdat"
1254
- }
1255
- },
1256
- {
1257
- "kind": "Field",
1258
- "name": {
1259
- "kind": "Name",
1260
- "value": "products"
1261
- },
1262
- "selectionSet": {
1263
- "kind": "SelectionSet",
1264
- "selections": [
1265
- {
1266
- "kind": "Field",
1267
- "name": {
1268
- "kind": "Name",
1269
- "value": "id"
1270
- }
1271
- },
1272
- {
1273
- "kind": "Field",
1274
- "name": {
1275
- "kind": "Name",
1276
- "value": "account"
1277
- }
1278
- },
1279
- {
1280
- "kind": "Field",
1281
- "name": {
1282
- "kind": "Name",
1283
- "value": "title"
1284
- }
1285
- },
1286
- {
1287
- "kind": "Field",
1288
- "name": {
1289
- "kind": "Name",
1290
- "value": "link"
1291
- }
1292
- },
1293
- {
1294
- "kind": "Field",
1295
- "name": {
1296
- "kind": "Name",
1297
- "value": "pictures"
1298
- }
1299
- },
1300
- {
1301
- "kind": "Field",
1302
- "name": {
1303
- "kind": "Name",
1304
- "value": "price"
1305
- }
1306
- },
1307
- {
1308
- "kind": "Field",
1309
- "name": {
1310
- "kind": "Name",
1311
- "value": "salesprice"
1312
- }
1313
- },
1314
- {
1315
- "kind": "Field",
1316
- "name": {
1317
- "kind": "Name",
1318
- "value": "status"
1319
- }
1320
- },
1321
- {
1322
- "kind": "Field",
1323
- "name": {
1324
- "kind": "Name",
1325
- "value": "createdat"
1326
- }
1327
- }
1328
- ]
1329
- }
1330
- }
1331
- ]
1332
- }
1333
- }
1334
- ]
1335
- }
1336
- },
1337
- {
1338
- "kind": "InlineFragment",
1339
- "typeCondition": {
1340
- "kind": "NamedType",
1341
- "name": {
1342
- "kind": "Name",
1343
- "value": "Error"
1344
- }
1345
- },
1346
- "selectionSet": {
1347
- "kind": "SelectionSet",
1348
- "selections": [
1349
- {
1350
- "kind": "Field",
1351
- "name": {
1352
- "kind": "Name",
1353
- "value": "message"
1354
- }
1355
- },
1356
- {
1357
- "kind": "Field",
1358
- "name": {
1359
- "kind": "Name",
1360
- "value": "statusCode"
1361
- }
1362
- },
1363
- {
1364
- "kind": "Field",
1365
- "name": {
1366
- "kind": "Name",
1367
- "value": "timestamp"
1368
- }
1369
- }
1370
- ]
1371
- }
1372
- },
1373
- {
1374
- "kind": "InlineFragment",
1375
- "typeCondition": {
1376
- "kind": "NamedType",
1377
- "name": {
1378
- "kind": "Name",
1379
- "value": "ErrorGeneral"
1380
- }
1381
- },
1382
- "selectionSet": {
1383
- "kind": "SelectionSet",
1384
- "selections": [
1385
- {
1386
- "kind": "Field",
1387
- "name": {
1388
- "kind": "Name",
1389
- "value": "message"
1390
- }
1391
- },
1392
- {
1393
- "kind": "Field",
1394
- "name": {
1395
- "kind": "Name",
1396
- "value": "statusCode"
1397
- }
1398
- },
1399
- {
1400
- "kind": "Field",
1401
- "name": {
1402
- "kind": "Name",
1403
- "value": "timestamp"
1404
- }
1405
- }
1406
- ]
1407
- }
1408
- }
1409
- ]
1410
- }
1411
- }
1412
- ]
1413
- }
1414
- }
1415
- ]
1416
- };
1417
- export const ManageCollectionProductDocument = {
1418
- "kind": "Document",
1419
- "definitions": [
1420
- {
1421
- "kind": "OperationDefinition",
1422
- "operation": "mutation",
1423
- "name": {
1424
- "kind": "Name",
1425
- "value": "ManageCollectionProduct"
1426
- },
1427
- "variableDefinitions": [
1428
- {
1429
- "kind": "VariableDefinition",
1430
- "variable": {
1431
- "kind": "Variable",
1432
- "name": {
1433
- "kind": "Name",
1434
- "value": "data"
1435
- }
1436
- },
1437
- "type": {
1438
- "kind": "NonNullType",
1439
- "type": {
1440
- "kind": "NamedType",
1441
- "name": {
1442
- "kind": "Name",
1443
- "value": "ManageCollectionProductInInput"
1444
- }
1445
- }
1446
- }
1447
- }
1448
- ],
1449
- "selectionSet": {
1450
- "kind": "SelectionSet",
1451
- "selections": [
1452
- {
1453
- "kind": "Field",
1454
- "name": {
1455
- "kind": "Name",
1456
- "value": "manageCollectionProduct"
1457
- },
1458
- "arguments": [
1459
- {
1460
- "kind": "Argument",
1461
- "name": {
1462
- "kind": "Name",
1463
- "value": "data"
1464
- },
1465
- "value": {
1466
- "kind": "Variable",
1467
- "name": {
1468
- "kind": "Name",
1469
- "value": "data"
1470
- }
1471
- }
1472
- }
1473
- ],
1474
- "selectionSet": {
1475
- "kind": "SelectionSet",
1476
- "selections": [
1477
- {
1478
- "kind": "Field",
1479
- "name": {
1480
- "kind": "Name",
1481
- "value": "__typename"
1482
- }
1483
- },
1484
- {
1485
- "kind": "InlineFragment",
1486
- "typeCondition": {
1487
- "kind": "NamedType",
1488
- "name": {
1489
- "kind": "Name",
1490
- "value": "Error"
1491
- }
1492
- },
1493
- "selectionSet": {
1494
- "kind": "SelectionSet",
1495
- "selections": [
1496
- {
1497
- "kind": "Field",
1498
- "name": {
1499
- "kind": "Name",
1500
- "value": "message"
1501
- }
1502
- },
1503
- {
1504
- "kind": "Field",
1505
- "name": {
1506
- "kind": "Name",
1507
- "value": "statusCode"
1508
- }
1509
- },
1510
- {
1511
- "kind": "Field",
1512
- "name": {
1513
- "kind": "Name",
1514
- "value": "timestamp"
1515
- }
1516
- }
1517
- ]
1518
- }
1519
- },
1520
- {
1521
- "kind": "InlineFragment",
1522
- "typeCondition": {
1523
- "kind": "NamedType",
1524
- "name": {
1525
- "kind": "Name",
1526
- "value": "ErrorGeneral"
1527
- }
1528
- },
1529
- "selectionSet": {
1530
- "kind": "SelectionSet",
1531
- "selections": [
1532
- {
1533
- "kind": "Field",
1534
- "name": {
1535
- "kind": "Name",
1536
- "value": "message"
1537
- }
1538
- },
1539
- {
1540
- "kind": "Field",
1541
- "name": {
1542
- "kind": "Name",
1543
- "value": "statusCode"
1544
- }
1545
- },
1546
- {
1547
- "kind": "Field",
1548
- "name": {
1549
- "kind": "Name",
1550
- "value": "timestamp"
1551
- }
1552
- }
1553
- ]
1554
- }
1555
- }
1556
- ]
1557
- }
1558
- }
1559
- ]
1560
- }
1561
- }
1562
- ]
1563
- };
1564
- export const SearchCollectionsDocument = {
1565
- "kind": "Document",
1566
- "definitions": [
1567
- {
1568
- "kind": "OperationDefinition",
1569
- "operation": "query",
1570
- "name": {
1571
- "kind": "Name",
1572
- "value": "SearchCollections"
1573
- },
1574
- "variableDefinitions": [
1575
- {
1576
- "kind": "VariableDefinition",
1577
- "variable": {
1578
- "kind": "Variable",
1579
- "name": {
1580
- "kind": "Name",
1581
- "value": "data"
1582
- }
1583
- },
1584
- "type": {
1585
- "kind": "NonNullType",
1586
- "type": {
1587
- "kind": "NamedType",
1588
- "name": {
1589
- "kind": "Name",
1590
- "value": "QueryInput"
1591
- }
1592
- }
1593
- }
1594
- }
1595
- ],
1596
- "selectionSet": {
1597
- "kind": "SelectionSet",
1598
- "selections": [
1599
- {
1600
- "kind": "Field",
1601
- "name": {
1602
- "kind": "Name",
1603
- "value": "searchCollection"
1604
- },
1605
- "arguments": [
1606
- {
1607
- "kind": "Argument",
1608
- "name": {
1609
- "kind": "Name",
1610
- "value": "data"
1611
- },
1612
- "value": {
1613
- "kind": "Variable",
1614
- "name": {
1615
- "kind": "Name",
1616
- "value": "data"
1617
- }
1618
- }
1619
- }
1620
- ],
1621
- "selectionSet": {
1622
- "kind": "SelectionSet",
1623
- "selections": [
1624
- {
1625
- "kind": "Field",
1626
- "name": {
1627
- "kind": "Name",
1628
- "value": "__typename"
1629
- }
1630
- },
1631
- {
1632
- "kind": "InlineFragment",
1633
- "typeCondition": {
1634
- "kind": "NamedType",
1635
- "name": {
1636
- "kind": "Name",
1637
- "value": "CollectionSuccessArray"
1638
- }
1639
- },
1640
- "selectionSet": {
1641
- "kind": "SelectionSet",
1642
- "selections": [
1643
- {
1644
- "kind": "Field",
1645
- "name": {
1646
- "kind": "Name",
1647
- "value": "data"
1648
- },
1649
- "selectionSet": {
1650
- "kind": "SelectionSet",
1651
- "selections": [
1652
- {
1653
- "kind": "Field",
1654
- "name": {
1655
- "kind": "Name",
1656
- "value": "id"
1657
- }
1658
- },
1659
- {
1660
- "kind": "Field",
1661
- "name": {
1662
- "kind": "Name",
1663
- "value": "account"
1664
- }
1665
- },
1666
- {
1667
- "kind": "Field",
1668
- "name": {
1669
- "kind": "Name",
1670
- "value": "name"
1671
- }
1672
- },
1673
- {
1674
- "kind": "Field",
1675
- "name": {
1676
- "kind": "Name",
1677
- "value": "description"
1678
- }
1679
- },
1680
- {
1681
- "kind": "Field",
1682
- "name": {
1683
- "kind": "Name",
1684
- "value": "status"
1685
- }
1686
- },
1687
- {
1688
- "kind": "Field",
1689
- "name": {
1690
- "kind": "Name",
1691
- "value": "createdat"
1692
- }
1693
- },
1694
- {
1695
- "kind": "Field",
1696
- "name": {
1697
- "kind": "Name",
1698
- "value": "products"
1699
- },
1700
- "selectionSet": {
1701
- "kind": "SelectionSet",
1702
- "selections": [
1703
- {
1704
- "kind": "Field",
1705
- "name": {
1706
- "kind": "Name",
1707
- "value": "id"
1708
- }
1709
- },
1710
- {
1711
- "kind": "Field",
1712
- "name": {
1713
- "kind": "Name",
1714
- "value": "account"
1715
- }
1716
- },
1717
- {
1718
- "kind": "Field",
1719
- "name": {
1720
- "kind": "Name",
1721
- "value": "title"
1722
- }
1723
- },
1724
- {
1725
- "kind": "Field",
1726
- "name": {
1727
- "kind": "Name",
1728
- "value": "link"
1729
- }
1730
- },
1731
- {
1732
- "kind": "Field",
1733
- "name": {
1734
- "kind": "Name",
1735
- "value": "pictures"
1736
- }
1737
- },
1738
- {
1739
- "kind": "Field",
1740
- "name": {
1741
- "kind": "Name",
1742
- "value": "price"
1743
- }
1744
- },
1745
- {
1746
- "kind": "Field",
1747
- "name": {
1748
- "kind": "Name",
1749
- "value": "salesprice"
1750
- }
1751
- },
1752
- {
1753
- "kind": "Field",
1754
- "name": {
1755
- "kind": "Name",
1756
- "value": "status"
1757
- }
1758
- },
1759
- {
1760
- "kind": "Field",
1761
- "name": {
1762
- "kind": "Name",
1763
- "value": "createdat"
1764
- }
1765
- }
1766
- ]
1767
- }
1768
- }
1769
- ]
1770
- }
1771
- }
1772
- ]
1773
- }
1774
- },
1775
- {
1776
- "kind": "InlineFragment",
1777
- "typeCondition": {
1778
- "kind": "NamedType",
1779
- "name": {
1780
- "kind": "Name",
1781
- "value": "Error"
1782
- }
1783
- },
1784
- "selectionSet": {
1785
- "kind": "SelectionSet",
1786
- "selections": [
1787
- {
1788
- "kind": "Field",
1789
- "name": {
1790
- "kind": "Name",
1791
- "value": "message"
1792
- }
1793
- },
1794
- {
1795
- "kind": "Field",
1796
- "name": {
1797
- "kind": "Name",
1798
- "value": "statusCode"
1799
- }
1800
- },
1801
- {
1802
- "kind": "Field",
1803
- "name": {
1804
- "kind": "Name",
1805
- "value": "timestamp"
1806
- }
1807
- }
1808
- ]
1809
- }
1810
- },
1811
- {
1812
- "kind": "InlineFragment",
1813
- "typeCondition": {
1814
- "kind": "NamedType",
1815
- "name": {
1816
- "kind": "Name",
1817
- "value": "ErrorGeneral"
1818
- }
1819
- },
1820
- "selectionSet": {
1821
- "kind": "SelectionSet",
1822
- "selections": [
1823
- {
1824
- "kind": "Field",
1825
- "name": {
1826
- "kind": "Name",
1827
- "value": "message"
1828
- }
1829
- },
1830
- {
1831
- "kind": "Field",
1832
- "name": {
1833
- "kind": "Name",
1834
- "value": "statusCode"
1835
- }
1836
- },
1837
- {
1838
- "kind": "Field",
1839
- "name": {
1840
- "kind": "Name",
1841
- "value": "timestamp"
1842
- }
1843
- }
1844
- ]
1845
- }
1846
- }
1847
- ]
1848
- }
1849
- }
1850
- ]
1851
- }
1852
- }
1853
- ]
1854
- };
1855
- export const UpdateCollectionDocument = {
1856
- "kind": "Document",
1857
- "definitions": [
1858
- {
1859
- "kind": "OperationDefinition",
1860
- "operation": "mutation",
1861
- "name": {
1862
- "kind": "Name",
1863
- "value": "UpdateCollection"
1864
- },
1865
- "variableDefinitions": [
1866
- {
1867
- "kind": "VariableDefinition",
1868
- "variable": {
1869
- "kind": "Variable",
1870
- "name": {
1871
- "kind": "Name",
1872
- "value": "data"
1873
- }
1874
- },
1875
- "type": {
1876
- "kind": "NonNullType",
1877
- "type": {
1878
- "kind": "NamedType",
1879
- "name": {
1880
- "kind": "Name",
1881
- "value": "UpdateCollectionInput"
1882
- }
1883
- }
1884
- }
1885
- }
1886
- ],
1887
- "selectionSet": {
1888
- "kind": "SelectionSet",
1889
- "selections": [
1890
- {
1891
- "kind": "Field",
1892
- "name": {
1893
- "kind": "Name",
1894
- "value": "updateCollection"
1895
- },
1896
- "arguments": [
1897
- {
1898
- "kind": "Argument",
1899
- "name": {
1900
- "kind": "Name",
1901
- "value": "data"
1902
- },
1903
- "value": {
1904
- "kind": "Variable",
1905
- "name": {
1906
- "kind": "Name",
1907
- "value": "data"
1908
- }
1909
- }
1910
- }
1911
- ],
1912
- "selectionSet": {
1913
- "kind": "SelectionSet",
1914
- "selections": [
1915
- {
1916
- "kind": "Field",
1917
- "name": {
1918
- "kind": "Name",
1919
- "value": "__typename"
1920
- }
1921
- },
1922
- {
1923
- "kind": "InlineFragment",
1924
- "typeCondition": {
1925
- "kind": "NamedType",
1926
- "name": {
1927
- "kind": "Name",
1928
- "value": "Error"
1929
- }
1930
- },
1931
- "selectionSet": {
1932
- "kind": "SelectionSet",
1933
- "selections": [
1934
- {
1935
- "kind": "Field",
1936
- "name": {
1937
- "kind": "Name",
1938
- "value": "message"
1939
- }
1940
- },
1941
- {
1942
- "kind": "Field",
1943
- "name": {
1944
- "kind": "Name",
1945
- "value": "statusCode"
1946
- }
1947
- },
1948
- {
1949
- "kind": "Field",
1950
- "name": {
1951
- "kind": "Name",
1952
- "value": "timestamp"
1953
- }
1954
- }
1955
- ]
1956
- }
1957
- },
1958
- {
1959
- "kind": "InlineFragment",
1960
- "typeCondition": {
1961
- "kind": "NamedType",
1962
- "name": {
1963
- "kind": "Name",
1964
- "value": "ErrorGeneral"
1965
- }
1966
- },
1967
- "selectionSet": {
1968
- "kind": "SelectionSet",
1969
- "selections": [
1970
- {
1971
- "kind": "Field",
1972
- "name": {
1973
- "kind": "Name",
1974
- "value": "message"
1975
- }
1976
- },
1977
- {
1978
- "kind": "Field",
1979
- "name": {
1980
- "kind": "Name",
1981
- "value": "statusCode"
1982
- }
1983
- },
1984
- {
1985
- "kind": "Field",
1986
- "name": {
1987
- "kind": "Name",
1988
- "value": "timestamp"
1989
- }
1990
- }
1991
- ]
1992
- }
1993
- }
1994
- ]
1995
- }
1996
- }
1997
- ]
1998
- }
1999
- }
2000
- ]
2001
- };
2002
-
2003
- //# sourceMappingURL=api-graphql-types.js.map