@takeshape/schema 9.36.3 → 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
|
@@ -163,8 +163,8 @@
|
|
|
163
163
|
"getProduct": {
|
|
164
164
|
"args": "TSGetArgs<Product>",
|
|
165
165
|
"resolver": {
|
|
166
|
-
"name": "
|
|
167
|
-
"service": "
|
|
166
|
+
"name": "shapedb:get",
|
|
167
|
+
"service": "shapedb",
|
|
168
168
|
"shapeName": "Product"
|
|
169
169
|
},
|
|
170
170
|
"shape": "Product",
|
|
@@ -173,8 +173,8 @@
|
|
|
173
173
|
"getProductList": {
|
|
174
174
|
"args": "TSListArgs<Product>",
|
|
175
175
|
"resolver": {
|
|
176
|
-
"name": "
|
|
177
|
-
"service": "
|
|
176
|
+
"name": "shapedb:list",
|
|
177
|
+
"service": "shapedb",
|
|
178
178
|
"shapeName": "Product"
|
|
179
179
|
},
|
|
180
180
|
"shape": "PaginatedList<Product>",
|
|
@@ -312,8 +312,8 @@
|
|
|
312
312
|
]
|
|
313
313
|
]
|
|
314
314
|
},
|
|
315
|
-
"name": "
|
|
316
|
-
"service": "
|
|
315
|
+
"name": "shapedb:update",
|
|
316
|
+
"service": "shapedb",
|
|
317
317
|
"shapeName": "Product"
|
|
318
318
|
},
|
|
319
319
|
{
|
|
@@ -564,8 +564,8 @@
|
|
|
564
564
|
]
|
|
565
565
|
]
|
|
566
566
|
},
|
|
567
|
-
"name": "
|
|
568
|
-
"service": "
|
|
567
|
+
"name": "shapedb:create",
|
|
568
|
+
"service": "shapedb",
|
|
569
569
|
"shapeName": "Product"
|
|
570
570
|
},
|
|
571
571
|
{
|
|
@@ -581,8 +581,8 @@
|
|
|
581
581
|
]
|
|
582
582
|
]
|
|
583
583
|
},
|
|
584
|
-
"name": "
|
|
585
|
-
"service": "
|
|
584
|
+
"name": "shapedb:create",
|
|
585
|
+
"service": "shapedb",
|
|
586
586
|
"shapeName": "Product"
|
|
587
587
|
}
|
|
588
588
|
],
|
|
@@ -609,8 +609,8 @@
|
|
|
609
609
|
"duplicateProduct": {
|
|
610
610
|
"args": "DuplicateArgs<Product>",
|
|
611
611
|
"resolver": {
|
|
612
|
-
"name": "
|
|
613
|
-
"service": "
|
|
612
|
+
"name": "shapedb:duplicate",
|
|
613
|
+
"service": "shapedb",
|
|
614
614
|
"shapeName": "Product"
|
|
615
615
|
},
|
|
616
616
|
"shape": "DuplicateResult<Product>",
|
|
@@ -619,8 +619,8 @@
|
|
|
619
619
|
"deleteProduct": {
|
|
620
620
|
"args": "DeleteArgs<Product>",
|
|
621
621
|
"resolver": {
|
|
622
|
-
"name": "
|
|
623
|
-
"service": "
|
|
622
|
+
"name": "shapedb:delete",
|
|
623
|
+
"service": "shapedb",
|
|
624
624
|
"shapeName": "Product"
|
|
625
625
|
},
|
|
626
626
|
"shape": "DeleteResult<Product>",
|
|
@@ -728,7 +728,7 @@
|
|
|
728
728
|
"title": "Name",
|
|
729
729
|
"type": "string",
|
|
730
730
|
"description": "Initialized with title from shopify",
|
|
731
|
-
"@mapping": "
|
|
731
|
+
"@mapping": "shapedb:Product.UAPS1KwbxZ"
|
|
732
732
|
},
|
|
733
733
|
"shopifyProduct": {
|
|
734
734
|
"@ref": "michaels-store-takeshape:Product",
|
|
@@ -751,7 +751,7 @@
|
|
|
751
751
|
},
|
|
752
752
|
"shopifyProductId": {
|
|
753
753
|
"type": "string",
|
|
754
|
-
"@mapping": "
|
|
754
|
+
"@mapping": "shapedb:Product.shopifyProductId",
|
|
755
755
|
"title": "shopify product",
|
|
756
756
|
"minLength": 1,
|
|
757
757
|
"pattern": "(^gid://shopify/Product/\\d+$)"
|
|
@@ -10505,5 +10505,5 @@
|
|
|
10505
10505
|
}
|
|
10506
10506
|
}
|
|
10507
10507
|
},
|
|
10508
|
-
"schemaVersion": "3.
|
|
10508
|
+
"schemaVersion": "3.31.0"
|
|
10509
10509
|
}
|