@takeshape/schema 9.36.4 → 9.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builtin-schema.js +20 -20
- package/dist/migration/index.d.ts +1 -0
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +4 -1
- package/dist/migration/to/v3.31.0.d.ts +5 -0
- package/dist/migration/to/v3.31.0.d.ts.map +1 -0
- package/dist/migration/to/v3.31.0.js +53 -0
- package/dist/project-schema/index.d.ts +4 -1
- package/dist/project-schema/index.d.ts.map +1 -1
- package/dist/project-schema/index.js +20 -3
- package/dist/project-schema/latest.d.ts +43 -18
- package/dist/project-schema/latest.d.ts.map +1 -1
- package/dist/project-schema/migrate.d.ts.map +1 -1
- package/dist/project-schema/migrate.js +4 -0
- package/dist/project-schema/v3.31.0.d.ts +1449 -0
- package/dist/project-schema/v3.31.0.d.ts.map +1 -0
- package/dist/project-schema/v3.31.0.js +5 -0
- package/dist/relationships.js +2 -2
- package/dist/schema-util.d.ts +2 -2
- package/dist/schema-util.d.ts.map +1 -1
- package/dist/schema-util.js +12 -12
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +6 -4
- package/dist/schemas/index.ts +4 -2
- package/dist/schemas/project-schema/latest.json +89 -32
- package/dist/schemas/project-schema/v3.31.0.json +3089 -0
- package/dist/schemas/project-schema.json +7 -1
- package/dist/types/types.d.ts +4 -4
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils.d.ts +4 -3
- package/dist/types/utils.d.ts.map +1 -1
- package/dist/types/utils.js +9 -3
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +13 -3
- package/es/builtin-schema.js +20 -20
- package/es/migration/index.js +3 -1
- package/es/migration/to/v3.31.0.js +38 -0
- package/es/project-schema/index.js +3 -1
- package/es/project-schema/migrate.js +5 -1
- package/es/project-schema/v3.31.0.js +1 -0
- package/es/relationships.js +2 -2
- package/es/schema-util.js +12 -12
- package/es/schemas/index.js +4 -3
- package/es/schemas/index.ts +4 -2
- package/es/schemas/project-schema/latest.json +89 -32
- package/es/schemas/project-schema/v3.31.0.json +3089 -0
- package/es/schemas/project-schema.json +7 -1
- package/es/types/utils.js +7 -3
- package/es/validate.js +13 -3
- package/examples/dependencies/stripe-starter-resolved.json +210 -210
- package/examples/latest/betzino.json +4383 -4383
- package/examples/latest/blog-schema.json +49 -49
- package/examples/latest/brewery-schema.json +39 -39
- package/examples/latest/complex-project-schema.json +412 -412
- package/examples/latest/complex-schema.json +1166 -1166
- package/examples/latest/fabric-ecommerce.json +17 -17
- package/examples/latest/frank-and-fred-schema.json +2242 -2242
- package/examples/latest/klirr-schema.json +3254 -3254
- package/examples/latest/massive-schema.json +785 -785
- package/examples/latest/mill-components-schema.json +215 -215
- package/examples/latest/one-earth.json +1394 -1394
- package/examples/latest/pet-oneof-array.json +33 -33
- package/examples/latest/post-schema.json +32 -32
- package/examples/latest/pruned-shopify-product-schema.json +1 -1
- package/examples/latest/real-world-schema.json +94 -94
- package/examples/latest/recursive-repeater-schema.json +17 -17
- package/examples/latest/recursive-schema.json +17 -17
- package/examples/latest/rick-and-morty-ast.json +180 -180
- package/examples/latest/rick-and-morty-graphql.json +133 -133
- package/examples/latest/rick-and-morty-rest.json +1 -1
- package/examples/latest/schema-with-repeater-draftjs.json +48 -48
- package/examples/latest/shape-books-v3_2_0.json +137 -137
- package/examples/latest/shape-books.json +137 -137
- package/examples/latest/shopify-lookbook.json +41 -41
- package/examples/latest/shopify-product-2022-07.json +124 -124
- package/examples/latest/shopify-product-2023-04.json +125 -125
- package/examples/latest/shopify-store-with-widget.json +94 -94
- package/examples/latest/stripe-product-runtime-schema.json +127 -130
- package/examples/latest/stripe-starter-resolved.json +300 -509
- package/examples/latest/user-schema-no-required.json +22 -22
- package/examples/latest/user-schema-with-defaults.json +23 -23
- package/package.json +5 -5
- package/examples/latest/shopify-namespace-schema.json +0 -364
|
@@ -224,8 +224,8 @@
|
|
|
224
224
|
"getGenre": {
|
|
225
225
|
"args": "TSGetArgs<Genre>",
|
|
226
226
|
"resolver": {
|
|
227
|
-
"name": "
|
|
228
|
-
"service": "
|
|
227
|
+
"name": "shapedb:get",
|
|
228
|
+
"service": "shapedb",
|
|
229
229
|
"shapeName": "Genre"
|
|
230
230
|
},
|
|
231
231
|
"shape": "Genre",
|
|
@@ -234,8 +234,8 @@
|
|
|
234
234
|
"getGenreList": {
|
|
235
235
|
"args": "TSListArgs<Genre>",
|
|
236
236
|
"resolver": {
|
|
237
|
-
"name": "
|
|
238
|
-
"service": "
|
|
237
|
+
"name": "shapedb:list",
|
|
238
|
+
"service": "shapedb",
|
|
239
239
|
"shapeName": "Genre"
|
|
240
240
|
},
|
|
241
241
|
"shape": "PaginatedList<Genre>",
|
|
@@ -244,8 +244,8 @@
|
|
|
244
244
|
"getTag": {
|
|
245
245
|
"args": "TSGetArgs<Tag>",
|
|
246
246
|
"resolver": {
|
|
247
|
-
"name": "
|
|
248
|
-
"service": "
|
|
247
|
+
"name": "shapedb:get",
|
|
248
|
+
"service": "shapedb",
|
|
249
249
|
"shapeName": "Tag"
|
|
250
250
|
},
|
|
251
251
|
"shape": "Tag",
|
|
@@ -254,8 +254,8 @@
|
|
|
254
254
|
"getTagList": {
|
|
255
255
|
"args": "TSListArgs<Tag>",
|
|
256
256
|
"resolver": {
|
|
257
|
-
"name": "
|
|
258
|
-
"service": "
|
|
257
|
+
"name": "shapedb:list",
|
|
258
|
+
"service": "shapedb",
|
|
259
259
|
"shapeName": "Tag"
|
|
260
260
|
},
|
|
261
261
|
"shape": "PaginatedList<Tag>",
|
|
@@ -264,8 +264,8 @@
|
|
|
264
264
|
"getPost": {
|
|
265
265
|
"args": "TSGetArgs<Post>",
|
|
266
266
|
"resolver": {
|
|
267
|
-
"name": "
|
|
268
|
-
"service": "
|
|
267
|
+
"name": "shapedb:get",
|
|
268
|
+
"service": "shapedb",
|
|
269
269
|
"shapeName": "Post"
|
|
270
270
|
},
|
|
271
271
|
"shape": "Post",
|
|
@@ -274,8 +274,8 @@
|
|
|
274
274
|
"getPostList": {
|
|
275
275
|
"args": "TSListArgs<Post>",
|
|
276
276
|
"resolver": {
|
|
277
|
-
"name": "
|
|
278
|
-
"service": "
|
|
277
|
+
"name": "shapedb:list",
|
|
278
|
+
"service": "shapedb",
|
|
279
279
|
"shapeName": "Post"
|
|
280
280
|
},
|
|
281
281
|
"shape": "PaginatedList<Post>",
|
|
@@ -284,8 +284,8 @@
|
|
|
284
284
|
"getAuthor": {
|
|
285
285
|
"args": "TSGetArgs<Author>",
|
|
286
286
|
"resolver": {
|
|
287
|
-
"name": "
|
|
288
|
-
"service": "
|
|
287
|
+
"name": "shapedb:get",
|
|
288
|
+
"service": "shapedb",
|
|
289
289
|
"shapeName": "Author"
|
|
290
290
|
},
|
|
291
291
|
"shape": "Author",
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
"getAuthorList": {
|
|
295
295
|
"args": "TSListArgs<Author>",
|
|
296
296
|
"resolver": {
|
|
297
|
-
"name": "
|
|
298
|
-
"service": "
|
|
297
|
+
"name": "shapedb:list",
|
|
298
|
+
"service": "shapedb",
|
|
299
299
|
"shapeName": "Author"
|
|
300
300
|
},
|
|
301
301
|
"shape": "PaginatedList<Author>",
|
|
@@ -304,8 +304,8 @@
|
|
|
304
304
|
"getHomepage": {
|
|
305
305
|
"args": "TSGetSingletonArgs<Homepage>",
|
|
306
306
|
"resolver": {
|
|
307
|
-
"name": "
|
|
308
|
-
"service": "
|
|
307
|
+
"name": "shapedb:get",
|
|
308
|
+
"service": "shapedb",
|
|
309
309
|
"shapeName": "Homepage"
|
|
310
310
|
},
|
|
311
311
|
"shape": "Homepage",
|
|
@@ -314,8 +314,8 @@
|
|
|
314
314
|
"getSiteSettings": {
|
|
315
315
|
"args": "TSGetSingletonArgs<SiteSettings>",
|
|
316
316
|
"resolver": {
|
|
317
|
-
"name": "
|
|
318
|
-
"service": "
|
|
317
|
+
"name": "shapedb:get",
|
|
318
|
+
"service": "shapedb",
|
|
319
319
|
"shapeName": "SiteSettings"
|
|
320
320
|
},
|
|
321
321
|
"shape": "SiteSettings",
|
|
@@ -324,8 +324,8 @@
|
|
|
324
324
|
"getAsset": {
|
|
325
325
|
"args": "TSGetArgs<Asset>",
|
|
326
326
|
"resolver": {
|
|
327
|
-
"name": "
|
|
328
|
-
"service": "
|
|
327
|
+
"name": "shapedb:get",
|
|
328
|
+
"service": "shapedb",
|
|
329
329
|
"shapeName": "Asset"
|
|
330
330
|
},
|
|
331
331
|
"shape": "Asset",
|
|
@@ -334,8 +334,8 @@
|
|
|
334
334
|
"getAssetList": {
|
|
335
335
|
"args": "TSListArgs<Asset>",
|
|
336
336
|
"resolver": {
|
|
337
|
-
"name": "
|
|
338
|
-
"service": "
|
|
337
|
+
"name": "shapedb:list",
|
|
338
|
+
"service": "shapedb",
|
|
339
339
|
"shapeName": "Asset"
|
|
340
340
|
},
|
|
341
341
|
"shape": "PaginatedList<Asset>",
|
|
@@ -344,8 +344,8 @@
|
|
|
344
344
|
"getBook": {
|
|
345
345
|
"args": "TSGetArgs<Book>",
|
|
346
346
|
"resolver": {
|
|
347
|
-
"name": "
|
|
348
|
-
"service": "
|
|
347
|
+
"name": "shapedb:get",
|
|
348
|
+
"service": "shapedb",
|
|
349
349
|
"shapeName": "Book"
|
|
350
350
|
},
|
|
351
351
|
"shape": "Book",
|
|
@@ -354,8 +354,8 @@
|
|
|
354
354
|
"getBookList": {
|
|
355
355
|
"args": "TSListArgs<Book>",
|
|
356
356
|
"resolver": {
|
|
357
|
-
"name": "
|
|
358
|
-
"service": "
|
|
357
|
+
"name": "shapedb:list",
|
|
358
|
+
"service": "shapedb",
|
|
359
359
|
"shapeName": "Book"
|
|
360
360
|
},
|
|
361
361
|
"shape": "PaginatedList<Book>",
|
|
@@ -366,8 +366,8 @@
|
|
|
366
366
|
"updateGenre": {
|
|
367
367
|
"args": "UpdateArgs<Genre>",
|
|
368
368
|
"resolver": {
|
|
369
|
-
"name": "
|
|
370
|
-
"service": "
|
|
369
|
+
"name": "shapedb:update",
|
|
370
|
+
"service": "shapedb",
|
|
371
371
|
"shapeName": "Genre"
|
|
372
372
|
},
|
|
373
373
|
"shape": "UpdateResult<Genre>",
|
|
@@ -376,8 +376,8 @@
|
|
|
376
376
|
"createGenre": {
|
|
377
377
|
"args": "CreateArgs<Genre>",
|
|
378
378
|
"resolver": {
|
|
379
|
-
"name": "
|
|
380
|
-
"service": "
|
|
379
|
+
"name": "shapedb:create",
|
|
380
|
+
"service": "shapedb",
|
|
381
381
|
"shapeName": "Genre"
|
|
382
382
|
},
|
|
383
383
|
"shape": "CreateResult<Genre>",
|
|
@@ -386,8 +386,8 @@
|
|
|
386
386
|
"duplicateGenre": {
|
|
387
387
|
"args": "DuplicateArgs<Genre>",
|
|
388
388
|
"resolver": {
|
|
389
|
-
"name": "
|
|
390
|
-
"service": "
|
|
389
|
+
"name": "shapedb:duplicate",
|
|
390
|
+
"service": "shapedb",
|
|
391
391
|
"shapeName": "Genre"
|
|
392
392
|
},
|
|
393
393
|
"shape": "DuplicateResult<Genre>",
|
|
@@ -396,8 +396,8 @@
|
|
|
396
396
|
"deleteGenre": {
|
|
397
397
|
"args": "DeleteArgs<Genre>",
|
|
398
398
|
"resolver": {
|
|
399
|
-
"name": "
|
|
400
|
-
"service": "
|
|
399
|
+
"name": "shapedb:delete",
|
|
400
|
+
"service": "shapedb",
|
|
401
401
|
"shapeName": "Genre"
|
|
402
402
|
},
|
|
403
403
|
"shape": "DeleteResult<Genre>",
|
|
@@ -406,8 +406,8 @@
|
|
|
406
406
|
"updateTag": {
|
|
407
407
|
"args": "UpdateArgs<Tag>",
|
|
408
408
|
"resolver": {
|
|
409
|
-
"name": "
|
|
410
|
-
"service": "
|
|
409
|
+
"name": "shapedb:update",
|
|
410
|
+
"service": "shapedb",
|
|
411
411
|
"shapeName": "Tag"
|
|
412
412
|
},
|
|
413
413
|
"shape": "UpdateResult<Tag>",
|
|
@@ -416,8 +416,8 @@
|
|
|
416
416
|
"createTag": {
|
|
417
417
|
"args": "CreateArgs<Tag>",
|
|
418
418
|
"resolver": {
|
|
419
|
-
"name": "
|
|
420
|
-
"service": "
|
|
419
|
+
"name": "shapedb:create",
|
|
420
|
+
"service": "shapedb",
|
|
421
421
|
"shapeName": "Tag"
|
|
422
422
|
},
|
|
423
423
|
"shape": "CreateResult<Tag>",
|
|
@@ -426,8 +426,8 @@
|
|
|
426
426
|
"duplicateTag": {
|
|
427
427
|
"args": "DuplicateArgs<Tag>",
|
|
428
428
|
"resolver": {
|
|
429
|
-
"name": "
|
|
430
|
-
"service": "
|
|
429
|
+
"name": "shapedb:duplicate",
|
|
430
|
+
"service": "shapedb",
|
|
431
431
|
"shapeName": "Tag"
|
|
432
432
|
},
|
|
433
433
|
"shape": "DuplicateResult<Tag>",
|
|
@@ -436,8 +436,8 @@
|
|
|
436
436
|
"deleteTag": {
|
|
437
437
|
"args": "DeleteArgs<Tag>",
|
|
438
438
|
"resolver": {
|
|
439
|
-
"name": "
|
|
440
|
-
"service": "
|
|
439
|
+
"name": "shapedb:delete",
|
|
440
|
+
"service": "shapedb",
|
|
441
441
|
"shapeName": "Tag"
|
|
442
442
|
},
|
|
443
443
|
"shape": "DeleteResult<Tag>",
|
|
@@ -446,8 +446,8 @@
|
|
|
446
446
|
"updatePost": {
|
|
447
447
|
"args": "UpdateArgs<Post>",
|
|
448
448
|
"resolver": {
|
|
449
|
-
"name": "
|
|
450
|
-
"service": "
|
|
449
|
+
"name": "shapedb:update",
|
|
450
|
+
"service": "shapedb",
|
|
451
451
|
"shapeName": "Post"
|
|
452
452
|
},
|
|
453
453
|
"shape": "UpdateResult<Post>",
|
|
@@ -456,8 +456,8 @@
|
|
|
456
456
|
"createPost": {
|
|
457
457
|
"args": "CreateArgs<Post>",
|
|
458
458
|
"resolver": {
|
|
459
|
-
"name": "
|
|
460
|
-
"service": "
|
|
459
|
+
"name": "shapedb:create",
|
|
460
|
+
"service": "shapedb",
|
|
461
461
|
"shapeName": "Post"
|
|
462
462
|
},
|
|
463
463
|
"shape": "CreateResult<Post>",
|
|
@@ -466,8 +466,8 @@
|
|
|
466
466
|
"duplicatePost": {
|
|
467
467
|
"args": "DuplicateArgs<Post>",
|
|
468
468
|
"resolver": {
|
|
469
|
-
"name": "
|
|
470
|
-
"service": "
|
|
469
|
+
"name": "shapedb:duplicate",
|
|
470
|
+
"service": "shapedb",
|
|
471
471
|
"shapeName": "Post"
|
|
472
472
|
},
|
|
473
473
|
"shape": "DuplicateResult<Post>",
|
|
@@ -476,8 +476,8 @@
|
|
|
476
476
|
"deletePost": {
|
|
477
477
|
"args": "DeleteArgs<Post>",
|
|
478
478
|
"resolver": {
|
|
479
|
-
"name": "
|
|
480
|
-
"service": "
|
|
479
|
+
"name": "shapedb:delete",
|
|
480
|
+
"service": "shapedb",
|
|
481
481
|
"shapeName": "Post"
|
|
482
482
|
},
|
|
483
483
|
"shape": "DeleteResult<Post>",
|
|
@@ -486,8 +486,8 @@
|
|
|
486
486
|
"updateAuthor": {
|
|
487
487
|
"args": "UpdateArgs<Author>",
|
|
488
488
|
"resolver": {
|
|
489
|
-
"name": "
|
|
490
|
-
"service": "
|
|
489
|
+
"name": "shapedb:update",
|
|
490
|
+
"service": "shapedb",
|
|
491
491
|
"shapeName": "Author"
|
|
492
492
|
},
|
|
493
493
|
"shape": "UpdateResult<Author>",
|
|
@@ -496,8 +496,8 @@
|
|
|
496
496
|
"createAuthor": {
|
|
497
497
|
"args": "CreateArgs<Author>",
|
|
498
498
|
"resolver": {
|
|
499
|
-
"name": "
|
|
500
|
-
"service": "
|
|
499
|
+
"name": "shapedb:create",
|
|
500
|
+
"service": "shapedb",
|
|
501
501
|
"shapeName": "Author"
|
|
502
502
|
},
|
|
503
503
|
"shape": "CreateResult<Author>",
|
|
@@ -506,8 +506,8 @@
|
|
|
506
506
|
"duplicateAuthor": {
|
|
507
507
|
"args": "DuplicateArgs<Author>",
|
|
508
508
|
"resolver": {
|
|
509
|
-
"name": "
|
|
510
|
-
"service": "
|
|
509
|
+
"name": "shapedb:duplicate",
|
|
510
|
+
"service": "shapedb",
|
|
511
511
|
"shapeName": "Author"
|
|
512
512
|
},
|
|
513
513
|
"shape": "DuplicateResult<Author>",
|
|
@@ -516,8 +516,8 @@
|
|
|
516
516
|
"deleteAuthor": {
|
|
517
517
|
"args": "DeleteArgs<Author>",
|
|
518
518
|
"resolver": {
|
|
519
|
-
"name": "
|
|
520
|
-
"service": "
|
|
519
|
+
"name": "shapedb:delete",
|
|
520
|
+
"service": "shapedb",
|
|
521
521
|
"shapeName": "Author"
|
|
522
522
|
},
|
|
523
523
|
"shape": "DeleteResult<Author>",
|
|
@@ -526,8 +526,8 @@
|
|
|
526
526
|
"updateHomepage": {
|
|
527
527
|
"args": "UpdateArgs<Homepage>",
|
|
528
528
|
"resolver": {
|
|
529
|
-
"name": "
|
|
530
|
-
"service": "
|
|
529
|
+
"name": "shapedb:update",
|
|
530
|
+
"service": "shapedb",
|
|
531
531
|
"shapeName": "Homepage"
|
|
532
532
|
},
|
|
533
533
|
"shape": "UpdateResult<Homepage>",
|
|
@@ -536,8 +536,8 @@
|
|
|
536
536
|
"updateSiteSettings": {
|
|
537
537
|
"args": "UpdateArgs<SiteSettings>",
|
|
538
538
|
"resolver": {
|
|
539
|
-
"name": "
|
|
540
|
-
"service": "
|
|
539
|
+
"name": "shapedb:update",
|
|
540
|
+
"service": "shapedb",
|
|
541
541
|
"shapeName": "SiteSettings"
|
|
542
542
|
},
|
|
543
543
|
"shape": "UpdateResult<SiteSettings>",
|
|
@@ -546,8 +546,8 @@
|
|
|
546
546
|
"updateAsset": {
|
|
547
547
|
"args": "UpdateArgs<Asset>",
|
|
548
548
|
"resolver": {
|
|
549
|
-
"name": "
|
|
550
|
-
"service": "
|
|
549
|
+
"name": "shapedb:update",
|
|
550
|
+
"service": "shapedb",
|
|
551
551
|
"shapeName": "Asset"
|
|
552
552
|
},
|
|
553
553
|
"shape": "UpdateResult<Asset>",
|
|
@@ -556,8 +556,8 @@
|
|
|
556
556
|
"createAsset": {
|
|
557
557
|
"args": "CreateArgs<Asset>",
|
|
558
558
|
"resolver": {
|
|
559
|
-
"name": "
|
|
560
|
-
"service": "
|
|
559
|
+
"name": "shapedb:create",
|
|
560
|
+
"service": "shapedb",
|
|
561
561
|
"shapeName": "Asset"
|
|
562
562
|
},
|
|
563
563
|
"shape": "CreateResult<Asset>",
|
|
@@ -566,8 +566,8 @@
|
|
|
566
566
|
"duplicateAsset": {
|
|
567
567
|
"args": "DuplicateArgs<Asset>",
|
|
568
568
|
"resolver": {
|
|
569
|
-
"name": "
|
|
570
|
-
"service": "
|
|
569
|
+
"name": "shapedb:duplicate",
|
|
570
|
+
"service": "shapedb",
|
|
571
571
|
"shapeName": "Asset"
|
|
572
572
|
},
|
|
573
573
|
"shape": "DuplicateResult<Asset>",
|
|
@@ -576,8 +576,8 @@
|
|
|
576
576
|
"deleteAsset": {
|
|
577
577
|
"args": "DeleteArgs<Asset>",
|
|
578
578
|
"resolver": {
|
|
579
|
-
"name": "
|
|
580
|
-
"service": "
|
|
579
|
+
"name": "shapedb:delete",
|
|
580
|
+
"service": "shapedb",
|
|
581
581
|
"shapeName": "Asset"
|
|
582
582
|
},
|
|
583
583
|
"shape": "DeleteResult<Asset>",
|
|
@@ -586,8 +586,8 @@
|
|
|
586
586
|
"updateBook": {
|
|
587
587
|
"args": "UpdateArgs<Book>",
|
|
588
588
|
"resolver": {
|
|
589
|
-
"name": "
|
|
590
|
-
"service": "
|
|
589
|
+
"name": "shapedb:update",
|
|
590
|
+
"service": "shapedb",
|
|
591
591
|
"shapeName": "Book"
|
|
592
592
|
},
|
|
593
593
|
"shape": "UpdateResult<Book>",
|
|
@@ -596,8 +596,8 @@
|
|
|
596
596
|
"createBook": {
|
|
597
597
|
"args": "CreateArgs<Book>",
|
|
598
598
|
"resolver": {
|
|
599
|
-
"name": "
|
|
600
|
-
"service": "
|
|
599
|
+
"name": "shapedb:create",
|
|
600
|
+
"service": "shapedb",
|
|
601
601
|
"shapeName": "Book"
|
|
602
602
|
},
|
|
603
603
|
"shape": "CreateResult<Book>",
|
|
@@ -606,8 +606,8 @@
|
|
|
606
606
|
"duplicateBook": {
|
|
607
607
|
"args": "DuplicateArgs<Book>",
|
|
608
608
|
"resolver": {
|
|
609
|
-
"name": "
|
|
610
|
-
"service": "
|
|
609
|
+
"name": "shapedb:duplicate",
|
|
610
|
+
"service": "shapedb",
|
|
611
611
|
"shapeName": "Book"
|
|
612
612
|
},
|
|
613
613
|
"shape": "DuplicateResult<Book>",
|
|
@@ -616,8 +616,8 @@
|
|
|
616
616
|
"deleteBook": {
|
|
617
617
|
"args": "DeleteArgs<Book>",
|
|
618
618
|
"resolver": {
|
|
619
|
-
"name": "
|
|
620
|
-
"service": "
|
|
619
|
+
"name": "shapedb:delete",
|
|
620
|
+
"service": "shapedb",
|
|
621
621
|
"shapeName": "Book"
|
|
622
622
|
},
|
|
623
623
|
"shape": "DeleteResult<Book>",
|
|
@@ -639,7 +639,7 @@
|
|
|
639
639
|
"type": "string",
|
|
640
640
|
"title": "Title",
|
|
641
641
|
"minLength": 0,
|
|
642
|
-
"@mapping": "
|
|
642
|
+
"@mapping": "shapedb:Genre.SJgZZzJWm"
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
645
|
}
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
"type": "string",
|
|
659
659
|
"title": "Name",
|
|
660
660
|
"minLength": 1,
|
|
661
|
-
"@mapping": "
|
|
661
|
+
"@mapping": "shapedb:Tag.rkZYm41d7"
|
|
662
662
|
}
|
|
663
663
|
},
|
|
664
664
|
"required": [
|
|
@@ -679,12 +679,12 @@
|
|
|
679
679
|
"body": {
|
|
680
680
|
"type": "object",
|
|
681
681
|
"title": "Body",
|
|
682
|
-
"@mapping": "
|
|
682
|
+
"@mapping": "shapedb:Post.rybsZhDU-",
|
|
683
683
|
"@tag": "draftjs"
|
|
684
684
|
},
|
|
685
685
|
"featureImage": {
|
|
686
686
|
"title": "Feature Image",
|
|
687
|
-
"@mapping": "
|
|
687
|
+
"@mapping": "shapedb:Post.BybUznPIW",
|
|
688
688
|
"@backreference": {
|
|
689
689
|
"enabled": true
|
|
690
690
|
},
|
|
@@ -694,8 +694,8 @@
|
|
|
694
694
|
},
|
|
695
695
|
"@args": "TSRelationshipArgs",
|
|
696
696
|
"@resolver": {
|
|
697
|
-
"name": "
|
|
698
|
-
"service": "
|
|
697
|
+
"name": "shapedb:getRelated",
|
|
698
|
+
"service": "shapedb",
|
|
699
699
|
"options": {
|
|
700
700
|
"nullable": true
|
|
701
701
|
}
|
|
@@ -705,11 +705,11 @@
|
|
|
705
705
|
"type": "string",
|
|
706
706
|
"title": "Title",
|
|
707
707
|
"minLength": 1,
|
|
708
|
-
"@mapping": "
|
|
708
|
+
"@mapping": "shapedb:Post.BkJDGhw8W"
|
|
709
709
|
},
|
|
710
710
|
"author": {
|
|
711
711
|
"title": "Author",
|
|
712
|
-
"@mapping": "
|
|
712
|
+
"@mapping": "shapedb:Post.rJgad7TLZ",
|
|
713
713
|
"@backreference": {
|
|
714
714
|
"enabled": true
|
|
715
715
|
},
|
|
@@ -719,8 +719,8 @@
|
|
|
719
719
|
},
|
|
720
720
|
"@args": "TSRelationshipArgs",
|
|
721
721
|
"@resolver": {
|
|
722
|
-
"name": "
|
|
723
|
-
"service": "
|
|
722
|
+
"name": "shapedb:getRelated",
|
|
723
|
+
"service": "shapedb",
|
|
724
724
|
"options": {
|
|
725
725
|
"nullable": true
|
|
726
726
|
}
|
|
@@ -730,11 +730,11 @@
|
|
|
730
730
|
"type": "string",
|
|
731
731
|
"title": "Deck",
|
|
732
732
|
"minLength": 0,
|
|
733
|
-
"@mapping": "
|
|
733
|
+
"@mapping": "shapedb:Post.HkJzKRDUb"
|
|
734
734
|
},
|
|
735
735
|
"tags": {
|
|
736
736
|
"title": "Tags",
|
|
737
|
-
"@mapping": "
|
|
737
|
+
"@mapping": "shapedb:Post.Hkb57EkOQ",
|
|
738
738
|
"items": {
|
|
739
739
|
"@ref": "local:Tag"
|
|
740
740
|
},
|
|
@@ -750,8 +750,8 @@
|
|
|
750
750
|
},
|
|
751
751
|
"@args": "TSRelationshipArgs",
|
|
752
752
|
"@resolver": {
|
|
753
|
-
"name": "
|
|
754
|
-
"service": "
|
|
753
|
+
"name": "shapedb:getRelated",
|
|
754
|
+
"service": "shapedb",
|
|
755
755
|
"options": {
|
|
756
756
|
"nullable": true
|
|
757
757
|
}
|
|
@@ -778,11 +778,11 @@
|
|
|
778
778
|
"type": "string",
|
|
779
779
|
"title": "Name",
|
|
780
780
|
"minLength": 1,
|
|
781
|
-
"@mapping": "
|
|
781
|
+
"@mapping": "shapedb:Author.Hk8NiqwLb"
|
|
782
782
|
},
|
|
783
783
|
"photo": {
|
|
784
784
|
"title": "Photo",
|
|
785
|
-
"@mapping": "
|
|
785
|
+
"@mapping": "shapedb:Author.BkyFrpUcb",
|
|
786
786
|
"@backreference": {
|
|
787
787
|
"enabled": true
|
|
788
788
|
},
|
|
@@ -792,8 +792,8 @@
|
|
|
792
792
|
},
|
|
793
793
|
"@args": "TSRelationshipArgs",
|
|
794
794
|
"@resolver": {
|
|
795
|
-
"name": "
|
|
796
|
-
"service": "
|
|
795
|
+
"name": "shapedb:getRelated",
|
|
796
|
+
"service": "shapedb",
|
|
797
797
|
"options": {
|
|
798
798
|
"nullable": true
|
|
799
799
|
}
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
"biography": {
|
|
803
803
|
"type": "object",
|
|
804
804
|
"title": "Biography",
|
|
805
|
-
"@mapping": "
|
|
805
|
+
"@mapping": "shapedb:Author.S1tvt0Hq-",
|
|
806
806
|
"@tag": "draftjs"
|
|
807
807
|
}
|
|
808
808
|
},
|
|
@@ -827,11 +827,11 @@
|
|
|
827
827
|
"type": "string",
|
|
828
828
|
"title": "Title",
|
|
829
829
|
"minLength": 0,
|
|
830
|
-
"@mapping": "
|
|
830
|
+
"@mapping": "shapedb:Homepage.BJfmu0OIZ"
|
|
831
831
|
},
|
|
832
832
|
"featuredBook": {
|
|
833
833
|
"title": "Featured Book",
|
|
834
|
-
"@mapping": "
|
|
834
|
+
"@mapping": "shapedb:Homepage.r1xPx1OUW",
|
|
835
835
|
"@backreference": {
|
|
836
836
|
"enabled": true
|
|
837
837
|
},
|
|
@@ -841,8 +841,8 @@
|
|
|
841
841
|
},
|
|
842
842
|
"@args": "TSRelationshipArgs",
|
|
843
843
|
"@resolver": {
|
|
844
|
-
"name": "
|
|
845
|
-
"service": "
|
|
844
|
+
"name": "shapedb:getRelated",
|
|
845
|
+
"service": "shapedb",
|
|
846
846
|
"options": {
|
|
847
847
|
"nullable": true
|
|
848
848
|
}
|
|
@@ -850,7 +850,7 @@
|
|
|
850
850
|
},
|
|
851
851
|
"hero": {
|
|
852
852
|
"title": "Hero",
|
|
853
|
-
"@mapping": "
|
|
853
|
+
"@mapping": "shapedb:Homepage.ry4VnCD8W",
|
|
854
854
|
"$ref": "#/shapes/HomepageHero/schema"
|
|
855
855
|
}
|
|
856
856
|
}
|
|
@@ -865,7 +865,7 @@
|
|
|
865
865
|
"properties": {
|
|
866
866
|
"image": {
|
|
867
867
|
"title": "Image",
|
|
868
|
-
"@mapping": "
|
|
868
|
+
"@mapping": "shapedb:HomepageHero.H1vBnAv8-",
|
|
869
869
|
"@backreference": {
|
|
870
870
|
"enabled": true
|
|
871
871
|
},
|
|
@@ -875,8 +875,8 @@
|
|
|
875
875
|
},
|
|
876
876
|
"@args": "TSRelationshipArgs",
|
|
877
877
|
"@resolver": {
|
|
878
|
-
"name": "
|
|
879
|
-
"service": "
|
|
878
|
+
"name": "shapedb:getRelated",
|
|
879
|
+
"service": "shapedb",
|
|
880
880
|
"options": {
|
|
881
881
|
"nullable": true
|
|
882
882
|
}
|
|
@@ -884,7 +884,7 @@
|
|
|
884
884
|
},
|
|
885
885
|
"featuredPost": {
|
|
886
886
|
"title": "Featured Post",
|
|
887
|
-
"@mapping": "
|
|
887
|
+
"@mapping": "shapedb:HomepageHero.SJ1Xo0v8b",
|
|
888
888
|
"@backreference": {
|
|
889
889
|
"enabled": true,
|
|
890
890
|
"name": "heroFeaturedPost"
|
|
@@ -895,8 +895,8 @@
|
|
|
895
895
|
},
|
|
896
896
|
"@args": "TSRelationshipArgs",
|
|
897
897
|
"@resolver": {
|
|
898
|
-
"name": "
|
|
899
|
-
"service": "
|
|
898
|
+
"name": "shapedb:getRelated",
|
|
899
|
+
"service": "shapedb",
|
|
900
900
|
"options": {
|
|
901
901
|
"nullable": true
|
|
902
902
|
}
|
|
@@ -919,7 +919,7 @@
|
|
|
919
919
|
"type": "string",
|
|
920
920
|
"title": "Site Title",
|
|
921
921
|
"minLength": 0,
|
|
922
|
-
"@mapping": "
|
|
922
|
+
"@mapping": "shapedb:SiteSettings.SkVAQA_8Z"
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
925
|
}
|
|
@@ -938,43 +938,43 @@
|
|
|
938
938
|
"type": "string",
|
|
939
939
|
"title": "Path",
|
|
940
940
|
"minLength": 1,
|
|
941
|
-
"@mapping": "
|
|
941
|
+
"@mapping": "shapedb:Asset.Hk6FQuz5"
|
|
942
942
|
},
|
|
943
943
|
"filename": {
|
|
944
944
|
"type": "string",
|
|
945
945
|
"title": "Filename",
|
|
946
946
|
"minLength": 1,
|
|
947
|
-
"@mapping": "
|
|
947
|
+
"@mapping": "shapedb:Asset.H1oYQOM9"
|
|
948
948
|
},
|
|
949
949
|
"description": {
|
|
950
950
|
"type": "string",
|
|
951
951
|
"title": "Description",
|
|
952
|
-
"@mapping": "
|
|
952
|
+
"@mapping": "shapedb:Asset.B1Zsra3fx"
|
|
953
953
|
},
|
|
954
954
|
"caption": {
|
|
955
955
|
"type": "object",
|
|
956
956
|
"title": "Caption",
|
|
957
|
-
"@mapping": "
|
|
957
|
+
"@mapping": "shapedb:Asset.SyWVsd98x",
|
|
958
958
|
"@tag": "draftjs"
|
|
959
959
|
},
|
|
960
960
|
"uploadStatus": {
|
|
961
961
|
"type": "string",
|
|
962
962
|
"title": "Upload status",
|
|
963
|
-
"@mapping": "
|
|
963
|
+
"@mapping": "shapedb:Asset.ByeAYXdG9"
|
|
964
964
|
},
|
|
965
965
|
"mimeType": {
|
|
966
966
|
"type": "string",
|
|
967
967
|
"title": "MIME type",
|
|
968
|
-
"@mapping": "
|
|
968
|
+
"@mapping": "shapedb:Asset.SyCYX_Gq"
|
|
969
969
|
},
|
|
970
970
|
"title": {
|
|
971
971
|
"type": "string",
|
|
972
972
|
"title": "Title",
|
|
973
|
-
"@mapping": "
|
|
973
|
+
"@mapping": "shapedb:Asset.By5tQOMc"
|
|
974
974
|
},
|
|
975
975
|
"authorTag": {
|
|
976
976
|
"title": "Author Tag",
|
|
977
|
-
"@mapping": "
|
|
977
|
+
"@mapping": "shapedb:Asset.SyQiZrgdX",
|
|
978
978
|
"@backreference": {
|
|
979
979
|
"enabled": true
|
|
980
980
|
},
|
|
@@ -984,8 +984,8 @@
|
|
|
984
984
|
},
|
|
985
985
|
"@args": "TSRelationshipArgs",
|
|
986
986
|
"@resolver": {
|
|
987
|
-
"name": "
|
|
988
|
-
"service": "
|
|
987
|
+
"name": "shapedb:getRelated",
|
|
988
|
+
"service": "shapedb",
|
|
989
989
|
"options": {
|
|
990
990
|
"nullable": true
|
|
991
991
|
}
|
|
@@ -994,7 +994,7 @@
|
|
|
994
994
|
"credit": {
|
|
995
995
|
"type": "object",
|
|
996
996
|
"title": "Credit",
|
|
997
|
-
"@mapping": "
|
|
997
|
+
"@mapping": "shapedb:Asset.Skn_i_5Ll",
|
|
998
998
|
"@tag": "draftjs"
|
|
999
999
|
}
|
|
1000
1000
|
},
|
|
@@ -1016,7 +1016,7 @@
|
|
|
1016
1016
|
"properties": {
|
|
1017
1017
|
"author": {
|
|
1018
1018
|
"title": "Author",
|
|
1019
|
-
"@mapping": "
|
|
1019
|
+
"@mapping": "shapedb:Book.BJ7Xn5vLW",
|
|
1020
1020
|
"@backreference": {
|
|
1021
1021
|
"enabled": true,
|
|
1022
1022
|
"name": "authored"
|
|
@@ -1027,8 +1027,8 @@
|
|
|
1027
1027
|
},
|
|
1028
1028
|
"@args": "TSRelationshipArgs",
|
|
1029
1029
|
"@resolver": {
|
|
1030
|
-
"name": "
|
|
1031
|
-
"service": "
|
|
1030
|
+
"name": "shapedb:getRelated",
|
|
1031
|
+
"service": "shapedb",
|
|
1032
1032
|
"options": {
|
|
1033
1033
|
"nullable": true
|
|
1034
1034
|
}
|
|
@@ -1036,7 +1036,7 @@
|
|
|
1036
1036
|
},
|
|
1037
1037
|
"coverImage": {
|
|
1038
1038
|
"title": "Cover Image",
|
|
1039
|
-
"@mapping": "
|
|
1039
|
+
"@mapping": "shapedb:Book.SymsKiD8W",
|
|
1040
1040
|
"@backreference": {
|
|
1041
1041
|
"enabled": true
|
|
1042
1042
|
},
|
|
@@ -1046,8 +1046,8 @@
|
|
|
1046
1046
|
},
|
|
1047
1047
|
"@args": "TSRelationshipArgs",
|
|
1048
1048
|
"@resolver": {
|
|
1049
|
-
"name": "
|
|
1050
|
-
"service": "
|
|
1049
|
+
"name": "shapedb:getRelated",
|
|
1050
|
+
"service": "shapedb",
|
|
1051
1051
|
"options": {
|
|
1052
1052
|
"nullable": true
|
|
1053
1053
|
}
|
|
@@ -1055,7 +1055,7 @@
|
|
|
1055
1055
|
},
|
|
1056
1056
|
"genre": {
|
|
1057
1057
|
"title": "Genre",
|
|
1058
|
-
"@mapping": "
|
|
1058
|
+
"@mapping": "shapedb:Book.B1E4ZMkW7",
|
|
1059
1059
|
"@backreference": {
|
|
1060
1060
|
"enabled": true,
|
|
1061
1061
|
"name": "books"
|
|
@@ -1066,8 +1066,8 @@
|
|
|
1066
1066
|
},
|
|
1067
1067
|
"@args": "TSRelationshipArgs",
|
|
1068
1068
|
"@resolver": {
|
|
1069
|
-
"name": "
|
|
1070
|
-
"service": "
|
|
1069
|
+
"name": "shapedb:getRelated",
|
|
1070
|
+
"service": "shapedb",
|
|
1071
1071
|
"options": {
|
|
1072
1072
|
"nullable": true
|
|
1073
1073
|
}
|
|
@@ -1077,19 +1077,19 @@
|
|
|
1077
1077
|
"type": "string",
|
|
1078
1078
|
"title": "Publish Date",
|
|
1079
1079
|
"format": "date-time",
|
|
1080
|
-
"@mapping": "
|
|
1080
|
+
"@mapping": "shapedb:Book.BJtYLE5PZ"
|
|
1081
1081
|
},
|
|
1082
1082
|
"totalPages": {
|
|
1083
1083
|
"type": "integer",
|
|
1084
1084
|
"title": "Total Pages",
|
|
1085
1085
|
"minimum": 1,
|
|
1086
|
-
"@mapping": "
|
|
1086
|
+
"@mapping": "shapedb:Book.HkDXBoP8W"
|
|
1087
1087
|
},
|
|
1088
1088
|
"title": {
|
|
1089
1089
|
"type": "string",
|
|
1090
1090
|
"title": "Title",
|
|
1091
1091
|
"minLength": 1,
|
|
1092
|
-
"@mapping": "
|
|
1092
|
+
"@mapping": "shapedb:Book.B1An5cwLb"
|
|
1093
1093
|
},
|
|
1094
1094
|
"type": {
|
|
1095
1095
|
"type": "string",
|
|
@@ -1108,12 +1108,12 @@
|
|
|
1108
1108
|
]
|
|
1109
1109
|
}
|
|
1110
1110
|
],
|
|
1111
|
-
"@mapping": "
|
|
1111
|
+
"@mapping": "shapedb:Book.BJM2_ovUZ"
|
|
1112
1112
|
},
|
|
1113
1113
|
"body": {
|
|
1114
1114
|
"type": "object",
|
|
1115
1115
|
"title": "Body",
|
|
1116
|
-
"@mapping": "
|
|
1116
|
+
"@mapping": "shapedb:Book.BJ4ZHov8-",
|
|
1117
1117
|
"@tag": "draftjs"
|
|
1118
1118
|
}
|
|
1119
1119
|
},
|
|
@@ -1124,6 +1124,6 @@
|
|
|
1124
1124
|
}
|
|
1125
1125
|
}
|
|
1126
1126
|
},
|
|
1127
|
-
"schemaVersion": "3.
|
|
1127
|
+
"schemaVersion": "3.31.0",
|
|
1128
1128
|
"services": {}
|
|
1129
1129
|
}
|