@takeshape/schema 9.51.5 → 9.55.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/migration/index.d.ts +2 -0
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +7 -1
- package/dist/migration/to/v3.36.0.d.ts +5 -0
- package/dist/migration/to/v3.36.0.d.ts.map +1 -0
- package/dist/migration/to/v3.36.0.js +36 -0
- package/dist/migration/to/v3.37.0.d.ts +5 -0
- package/dist/migration/to/v3.37.0.d.ts.map +1 -0
- package/dist/migration/to/v3.37.0.js +18 -0
- package/dist/project-schema/index.d.ts +7 -1
- package/dist/project-schema/index.d.ts.map +1 -1
- package/dist/project-schema/index.js +37 -3
- package/dist/project-schema/latest.d.ts +60 -2
- 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 +8 -0
- package/dist/project-schema/v3.36.0.d.ts +1471 -0
- package/dist/project-schema/v3.36.0.d.ts.map +1 -0
- package/dist/project-schema/v3.36.0.js +5 -0
- package/dist/project-schema/v3.37.0.d.ts +1523 -0
- package/dist/project-schema/v3.37.0.d.ts.map +1 -0
- package/dist/project-schema/v3.37.0.js +5 -0
- package/dist/schema-util.d.ts +3 -3
- package/dist/schema-util.d.ts.map +1 -1
- package/dist/schema-util.js +7 -4
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +8 -4
- package/dist/schemas/index.ts +6 -2
- package/dist/schemas/project-schema/latest.json +90 -2
- package/dist/schemas/project-schema/v3.36.0.json +3131 -0
- package/dist/schemas/project-schema/v3.37.0.json +3211 -0
- package/dist/schemas/project-schema.json +6 -0
- package/dist/types/types.d.ts +2 -0
- package/dist/types/types.d.ts.map +1 -1
- package/es/migration/index.js +5 -1
- package/es/migration/to/v3.36.0.js +26 -0
- package/es/migration/to/v3.37.0.js +10 -0
- package/es/project-schema/index.js +5 -1
- package/es/project-schema/migrate.js +9 -1
- package/es/project-schema/v3.36.0.js +1 -0
- package/es/project-schema/v3.37.0.js +1 -0
- package/es/schema-util.js +7 -4
- package/es/schemas/index.js +5 -3
- package/es/schemas/index.ts +6 -2
- package/es/schemas/project-schema/latest.json +90 -2
- package/es/schemas/project-schema/v3.36.0.json +3131 -0
- package/es/schemas/project-schema/v3.37.0.json +3211 -0
- package/es/schemas/project-schema.json +6 -0
- 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/edit-schema.json +21 -8
- 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/shape-editor-schema-edited.json +2 -2
- package/examples/latest/shape-editor-schema-initial.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 +3 -2
- package/examples/latest/stripe-starter-resolved.json +3 -2
- 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
|
@@ -135,6 +135,12 @@
|
|
|
135
135
|
{
|
|
136
136
|
"$ref": "https://schema.takeshape.io/project-schema/v3.35.0#"
|
|
137
137
|
},
|
|
138
|
+
{
|
|
139
|
+
"$ref": "https://schema.takeshape.io/project-schema/v3.36.0#"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"$ref": "https://schema.takeshape.io/project-schema/v3.37.0#"
|
|
143
|
+
},
|
|
138
144
|
{
|
|
139
145
|
"$ref": "https://schema.takeshape.io/project-schema/v4.0.0#"
|
|
140
146
|
}
|
|
@@ -52781,6 +52781,6 @@
|
|
|
52781
52781
|
}
|
|
52782
52782
|
}
|
|
52783
52783
|
},
|
|
52784
|
-
"schemaVersion": "3.
|
|
52784
|
+
"schemaVersion": "3.37.0",
|
|
52785
52785
|
"services": {}
|
|
52786
52786
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"projectId": "project-id",
|
|
3
3
|
"defaultLocale": "en-us",
|
|
4
|
-
"locales": [
|
|
4
|
+
"locales": [
|
|
5
|
+
"en-us"
|
|
6
|
+
],
|
|
5
7
|
"queries": {
|
|
6
8
|
"getSimpleModelShape": {
|
|
7
9
|
"shape": "SimpleModelShape",
|
|
@@ -31,7 +33,9 @@
|
|
|
31
33
|
"id": "rs0QQJm8l",
|
|
32
34
|
"name": "SimpleModelShape",
|
|
33
35
|
"title": "Simple Model Shape",
|
|
34
|
-
"model": {
|
|
36
|
+
"model": {
|
|
37
|
+
"type": "single"
|
|
38
|
+
},
|
|
35
39
|
"workflow": "exampleWorkflow",
|
|
36
40
|
"schema": {
|
|
37
41
|
"type": "object",
|
|
@@ -47,7 +51,9 @@
|
|
|
47
51
|
"title": "Object"
|
|
48
52
|
}
|
|
49
53
|
},
|
|
50
|
-
"required": [
|
|
54
|
+
"required": [
|
|
55
|
+
"object"
|
|
56
|
+
]
|
|
51
57
|
}
|
|
52
58
|
}
|
|
53
59
|
},
|
|
@@ -77,13 +83,20 @@
|
|
|
77
83
|
"SimpleModelShape": {
|
|
78
84
|
"default": {
|
|
79
85
|
"properties": {
|
|
80
|
-
"string": {
|
|
81
|
-
|
|
86
|
+
"string": {
|
|
87
|
+
"widget": "singleLineText"
|
|
88
|
+
},
|
|
89
|
+
"object": {
|
|
90
|
+
"widget": "shapeObject"
|
|
91
|
+
}
|
|
82
92
|
},
|
|
83
|
-
"order": [
|
|
93
|
+
"order": [
|
|
94
|
+
"string",
|
|
95
|
+
"object"
|
|
96
|
+
]
|
|
84
97
|
}
|
|
85
98
|
}
|
|
86
99
|
},
|
|
87
|
-
"schemaVersion": "3.
|
|
100
|
+
"schemaVersion": "3.37.0",
|
|
88
101
|
"apiVersion": "2"
|
|
89
|
-
}
|
|
102
|
+
}
|
|
@@ -10474,5 +10474,5 @@
|
|
|
10474
10474
|
}
|
|
10475
10475
|
}
|
|
10476
10476
|
},
|
|
10477
|
-
"schemaVersion": "3.
|
|
10477
|
+
"schemaVersion": "3.37.0"
|
|
10478
10478
|
}
|
|
@@ -23446,6 +23446,6 @@
|
|
|
23446
23446
|
}
|
|
23447
23447
|
}
|
|
23448
23448
|
},
|
|
23449
|
-
"schemaVersion": "3.
|
|
23449
|
+
"schemaVersion": "3.37.0",
|
|
23450
23450
|
"services": {}
|
|
23451
23451
|
}
|
|
@@ -35163,6 +35163,6 @@
|
|
|
35163
35163
|
}
|
|
35164
35164
|
}
|
|
35165
35165
|
},
|
|
35166
|
-
"schemaVersion": "3.
|
|
35166
|
+
"schemaVersion": "3.37.0",
|
|
35167
35167
|
"services": {}
|
|
35168
35168
|
}
|
|
@@ -14766,6 +14766,6 @@
|
|
|
14766
14766
|
}
|
|
14767
14767
|
}
|
|
14768
14768
|
},
|
|
14769
|
-
"schemaVersion": "3.
|
|
14769
|
+
"schemaVersion": "3.37.0",
|
|
14770
14770
|
"services": {}
|
|
14771
14771
|
}
|
|
@@ -49144,7 +49144,7 @@
|
|
|
49144
49144
|
}
|
|
49145
49145
|
}
|
|
49146
49146
|
},
|
|
49147
|
-
"schemaVersion": "3.
|
|
49147
|
+
"schemaVersion": "3.37.0",
|
|
49148
49148
|
"apiVersion": "2",
|
|
49149
49149
|
"services": {
|
|
49150
49150
|
"shopify": {
|
|
@@ -12297,5 +12297,5 @@
|
|
|
12297
12297
|
}
|
|
12298
12298
|
}
|
|
12299
12299
|
},
|
|
12300
|
-
"schemaVersion": "3.
|
|
12300
|
+
"schemaVersion": "3.37.0"
|
|
12301
12301
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"en-us"
|
|
6
6
|
],
|
|
7
7
|
"apiVersion": "2",
|
|
8
|
-
"schemaVersion": "3.
|
|
8
|
+
"schemaVersion": "3.37.0",
|
|
9
9
|
"queries": {
|
|
10
10
|
"getAsset": {
|
|
11
11
|
"shape": "Asset",
|
|
@@ -4220,7 +4220,8 @@
|
|
|
4220
4220
|
"options": {
|
|
4221
4221
|
"endpoint": "https://api.stripe.com/",
|
|
4222
4222
|
"spec": "https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json",
|
|
4223
|
-
"useRestfulNames": true
|
|
4223
|
+
"useRestfulNames": true,
|
|
4224
|
+
"transformVersion": "1.0.0"
|
|
4224
4225
|
}
|
|
4225
4226
|
}
|
|
4226
4227
|
}
|
|
@@ -202,7 +202,8 @@
|
|
|
202
202
|
"authentication": "abc",
|
|
203
203
|
"options": {
|
|
204
204
|
"endpoint": "https://api.stripe.com/",
|
|
205
|
-
"spec": "https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json"
|
|
205
|
+
"spec": "https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json",
|
|
206
|
+
"transformVersion": "1.0.0"
|
|
206
207
|
}
|
|
207
208
|
}
|
|
208
209
|
},
|
|
@@ -28915,5 +28916,5 @@
|
|
|
28915
28916
|
}
|
|
28916
28917
|
}
|
|
28917
28918
|
},
|
|
28918
|
-
"schemaVersion": "3.
|
|
28919
|
+
"schemaVersion": "3.37.0"
|
|
28919
28920
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takeshape/schema",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.55.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/
|
|
32
|
-
"@takeshape/util": "9.
|
|
33
|
-
"@takeshape/
|
|
31
|
+
"@takeshape/errors": "9.55.0",
|
|
32
|
+
"@takeshape/util": "9.55.0",
|
|
33
|
+
"@takeshape/json-schema": "9.55.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.55.0"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=16"
|