@takeshape/schema 9.38.1 → 9.40.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/content-schema-transform.d.ts +1 -1
- package/dist/content-schema-transform.d.ts.map +1 -1
- package/dist/content-schema-transform.js +1 -1
- 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.32.0.d.ts +5 -0
- package/dist/migration/to/v3.32.0.d.ts.map +1 -0
- package/dist/migration/to/v3.32.0.js +107 -0
- package/dist/migration/types.d.ts +1 -3
- package/dist/migration/types.d.ts.map +1 -1
- package/dist/mocks.d.ts +3 -2
- package/dist/mocks.d.ts.map +1 -1
- package/dist/mocks.js +14 -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 +79 -88
- 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 +1 -1
- package/dist/project-schema/v3.31.0.d.ts.map +1 -1
- package/dist/project-schema/v3.32.0.d.ts +1440 -0
- package/dist/project-schema/v3.32.0.d.ts.map +1 -0
- package/dist/project-schema/v3.32.0.js +5 -0
- package/dist/refs.d.ts +20 -1
- package/dist/refs.d.ts.map +1 -1
- package/dist/refs.js +90 -17
- package/dist/schema-util.d.ts +12 -10
- package/dist/schema-util.d.ts.map +1 -1
- package/dist/schema-util.js +31 -23
- 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 +59 -67
- package/dist/schemas/project-schema/v3.31.0.json +1 -4
- package/dist/schemas/project-schema/v3.32.0.json +3081 -0
- package/dist/schemas/project-schema.json +3 -0
- package/dist/template-shapes/templates.js +1 -1
- package/dist/template-shapes/where.js +2 -2
- package/dist/types/types.d.ts +6 -4
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils.d.ts +4 -2
- package/dist/types/utils.d.ts.map +1 -1
- package/dist/types/utils.js +22 -1
- package/dist/util/api-indexing.d.ts +4 -5
- package/dist/util/api-indexing.d.ts.map +1 -1
- package/dist/util/api-indexing.js +25 -16
- package/dist/util/merge.js +1 -1
- package/dist/util/patch-schema.d.ts.map +1 -1
- package/dist/util/patch-schema.js +1 -1
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +97 -31
- package/es/content-schema-transform.js +1 -1
- package/es/migration/index.js +3 -1
- package/es/migration/to/v3.32.0.js +98 -0
- package/es/mocks.js +12 -0
- package/es/project-schema/index.js +3 -1
- package/es/project-schema/migrate.js +5 -1
- package/es/project-schema/v3.32.0.js +1 -0
- package/es/refs.js +78 -17
- package/es/schema-util.js +24 -17
- package/es/schemas/index.js +4 -3
- package/es/schemas/index.ts +4 -2
- package/es/schemas/project-schema/latest.json +59 -67
- package/es/schemas/project-schema/v3.31.0.json +1 -4
- package/es/schemas/project-schema/v3.32.0.json +3081 -0
- package/es/schemas/project-schema.json +3 -0
- package/es/template-shapes/templates.js +2 -2
- package/es/template-shapes/where.js +3 -3
- package/es/types/utils.js +15 -0
- package/es/util/api-indexing.js +23 -16
- package/es/util/merge.js +1 -1
- package/es/util/patch-schema.js +1 -1
- package/es/validate.js +96 -31
- package/examples/latest/betzino.json +1 -1
- package/examples/latest/blog-schema.json +1 -1
- package/examples/latest/brewery-schema.json +1 -1
- package/examples/latest/complex-project-schema.json +1 -1
- package/examples/latest/complex-schema.json +1 -1
- package/examples/latest/fabric-ecommerce.json +1 -1
- package/examples/latest/frank-and-fred-schema.json +1 -1
- package/examples/latest/klirr-schema.json +1 -1
- package/examples/latest/massive-schema.json +1 -1
- package/examples/latest/mill-components-schema.json +1 -1
- package/examples/latest/one-earth.json +1 -1
- package/examples/latest/pet-oneof-array.json +1 -1
- package/examples/latest/post-schema.json +1 -1
- package/examples/latest/pruned-shopify-product-schema.json +1 -1
- package/examples/latest/real-world-schema.json +1 -1
- package/examples/latest/recursive-repeater-schema.json +1 -1
- package/examples/latest/recursive-schema.json +1 -1
- package/examples/latest/rick-and-morty-ast.json +1 -1
- package/examples/latest/rick-and-morty-graphql.json +1 -1
- package/examples/latest/rick-and-morty-rest.json +1 -1
- package/examples/latest/schema-with-repeater-draftjs.json +1 -1
- package/examples/latest/shape-books-v3_2_0.json +1 -1
- package/examples/latest/shape-books.json +1 -1
- package/examples/latest/shopify-lookbook.json +1 -1
- package/examples/latest/shopify-product-2022-07.json +1 -1
- package/examples/latest/shopify-product-2023-04.json +1 -1
- package/examples/latest/shopify-store-with-widget.json +1 -1
- package/examples/latest/stripe-product-runtime-schema.json +22 -23
- package/examples/latest/stripe-starter-resolved.json +1 -1
- package/examples/latest/user-schema-no-required.json +1 -1
- package/examples/latest/user-schema-with-defaults.json +1 -1
- package/package.json +5 -5
|
@@ -29107,5 +29107,5 @@
|
|
|
29107
29107
|
}
|
|
29108
29108
|
}
|
|
29109
29109
|
},
|
|
29110
|
-
"schemaVersion": "3.
|
|
29110
|
+
"schemaVersion": "3.32.0"
|
|
29111
29111
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takeshape/schema",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.40.0",
|
|
4
4
|
"description": "TakeShape Schema",
|
|
5
5
|
"homepage": "https://www.takeshape.io",
|
|
6
6
|
"repository": {
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"p-reduce": "^2.1.0",
|
|
29
29
|
"semver": "^7.3.2",
|
|
30
30
|
"tiny-invariant": "^1.2.0",
|
|
31
|
-
"@takeshape/errors": "9.
|
|
32
|
-
"@takeshape/util": "9.
|
|
33
|
-
"@takeshape/json-schema": "9.
|
|
31
|
+
"@takeshape/errors": "9.40.0",
|
|
32
|
+
"@takeshape/util": "9.40.0",
|
|
33
|
+
"@takeshape/json-schema": "9.40.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@takeshape/json-schema-to-typescript": "^11.0.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"meow": "^9.0.0",
|
|
47
47
|
"p-map": "^5.0.0",
|
|
48
48
|
"shortid": "^2.2.15",
|
|
49
|
-
"@takeshape/typescript-jest-junit-reporter": "9.
|
|
49
|
+
"@takeshape/typescript-jest-junit-reporter": "9.40.0"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=16"
|