@takeshape/schema 10.19.2 → 10.20.3
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 +1 -0
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +3 -1
- package/dist/migration/to/v3.41.0.d.ts +5 -0
- package/dist/migration/to/v3.41.0.d.ts.map +1 -0
- package/dist/migration/to/v3.41.0.js +16 -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 +17 -3
- package/dist/project-schema/latest.d.ts +2 -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 +3 -0
- package/dist/project-schema/v3.40.0.d.ts +1 -1
- package/dist/project-schema/v3.40.0.d.ts.map +1 -1
- package/dist/project-schema/v3.41.0.d.ts +1531 -0
- package/dist/project-schema/v3.41.0.d.ts.map +1 -0
- package/dist/project-schema/v3.41.0.js +5 -0
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +5 -4
- package/dist/schemas/index.ts +4 -2
- package/dist/schemas/project-schema/latest.json +3 -2
- package/dist/schemas/project-schema/v3.40.0.json +1 -0
- package/dist/schemas/project-schema/v3.41.0.json +3222 -0
- package/dist/schemas/project-schema.json +3 -0
- package/es/migration/index.js +3 -1
- package/es/migration/to/v3.41.0.js +10 -0
- package/es/project-schema/index.js +3 -1
- package/es/project-schema/migrate.js +4 -1
- package/es/project-schema/v3.41.0.js +1 -0
- package/es/schemas/index.js +4 -3
- package/es/schemas/index.ts +4 -2
- package/es/schemas/project-schema/latest.json +3 -2
- package/es/schemas/project-schema/v3.40.0.json +1 -0
- package/es/schemas/project-schema/v3.41.0.json +3222 -0
- package/es/schemas/project-schema.json +3 -0
- package/examples/latest/all-fields-shapes-inline.json +1 -1
- package/examples/latest/all-fields-shapes.json +1 -1
- 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/clear-cache-schema.json +22 -8
- package/examples/latest/complex-project-schema.json +1 -1
- package/examples/latest/complex-schema.json +1 -1
- package/examples/latest/edit-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/nested-shape-arrays.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-where-filter.json +1 -1
- package/examples/latest/schema-with-repeater-draftjs.json +1 -1
- package/examples/latest/schema-with-rick-and-morty.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 +1 -1
- package/examples/latest/shape-editor-schema-initial.json +1 -1
- package/examples/latest/shapedb-crud-every-prop-type.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 +1 -1
- 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 +6 -6
|
@@ -52781,6 +52781,6 @@
|
|
|
52781
52781
|
}
|
|
52782
52782
|
}
|
|
52783
52783
|
},
|
|
52784
|
-
"schemaVersion": "3.
|
|
52784
|
+
"schemaVersion": "3.41.0",
|
|
52785
52785
|
"services": {}
|
|
52786
52786
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"projectId": "projectId",
|
|
3
3
|
"defaultLocale": "en-us",
|
|
4
|
-
"locales": [
|
|
4
|
+
"locales": [
|
|
5
|
+
"en-us"
|
|
6
|
+
],
|
|
5
7
|
"queries": {
|
|
6
8
|
"Graphql_getBook": {
|
|
7
9
|
"resolver": {
|
|
@@ -15,11 +17,21 @@
|
|
|
15
17
|
"args": {
|
|
16
18
|
"type": "object",
|
|
17
19
|
"properties": {
|
|
18
|
-
"_id": {
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
"_id": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"@tag": "id"
|
|
23
|
+
},
|
|
24
|
+
"locale": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"enableLocaleFallback": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"default": true
|
|
30
|
+
}
|
|
21
31
|
},
|
|
22
|
-
"required": [
|
|
32
|
+
"required": [
|
|
33
|
+
"_id"
|
|
34
|
+
]
|
|
23
35
|
},
|
|
24
36
|
"shape": "Graphql_Book"
|
|
25
37
|
}
|
|
@@ -28,7 +40,7 @@
|
|
|
28
40
|
"shapes": {},
|
|
29
41
|
"workflows": {},
|
|
30
42
|
"forms": {},
|
|
31
|
-
"schemaVersion": "3.
|
|
43
|
+
"schemaVersion": "3.41.0",
|
|
32
44
|
"apiVersion": "2",
|
|
33
45
|
"services": {
|
|
34
46
|
"graphql": {
|
|
@@ -43,7 +55,9 @@
|
|
|
43
55
|
"introspectedAt": "2024-04-16T14:07:49.765Z"
|
|
44
56
|
},
|
|
45
57
|
"authentication": "TtyX3hyh1vGt99C5vbcqBujmnM31xU52VFH0pWOIqpL39b6EHW9Onc6g6TA9fr/Qzrc81mwUYrfidN96oT6zn4zsPPhCGLZd1i4HP1O1jIuYAQChAwTgWo8Zw2v30gGg9UJj0ppCNpmHizh6Clw4gkBogaDaAMA=",
|
|
46
|
-
"healthCheck": {
|
|
58
|
+
"healthCheck": {
|
|
59
|
+
"checkName": "graphqlIntrospection"
|
|
60
|
+
}
|
|
47
61
|
}
|
|
48
62
|
}
|
|
49
|
-
}
|
|
63
|
+
}
|
|
@@ -10474,5 +10474,5 @@
|
|
|
10474
10474
|
}
|
|
10475
10475
|
}
|
|
10476
10476
|
},
|
|
10477
|
-
"schemaVersion": "3.
|
|
10477
|
+
"schemaVersion": "3.41.0"
|
|
10478
10478
|
}
|
|
@@ -23446,6 +23446,6 @@
|
|
|
23446
23446
|
}
|
|
23447
23447
|
}
|
|
23448
23448
|
},
|
|
23449
|
-
"schemaVersion": "3.
|
|
23449
|
+
"schemaVersion": "3.41.0",
|
|
23450
23450
|
"services": {}
|
|
23451
23451
|
}
|
|
@@ -35163,6 +35163,6 @@
|
|
|
35163
35163
|
}
|
|
35164
35164
|
}
|
|
35165
35165
|
},
|
|
35166
|
-
"schemaVersion": "3.
|
|
35166
|
+
"schemaVersion": "3.41.0",
|
|
35167
35167
|
"services": {}
|
|
35168
35168
|
}
|
|
@@ -14766,6 +14766,6 @@
|
|
|
14766
14766
|
}
|
|
14767
14767
|
}
|
|
14768
14768
|
},
|
|
14769
|
-
"schemaVersion": "3.
|
|
14769
|
+
"schemaVersion": "3.41.0",
|
|
14770
14770
|
"services": {}
|
|
14771
14771
|
}
|
|
@@ -49144,7 +49144,7 @@
|
|
|
49144
49144
|
}
|
|
49145
49145
|
}
|
|
49146
49146
|
},
|
|
49147
|
-
"schemaVersion": "3.
|
|
49147
|
+
"schemaVersion": "3.41.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.41.0"
|
|
12301
12301
|
}
|
|
@@ -28916,5 +28916,5 @@
|
|
|
28916
28916
|
}
|
|
28917
28917
|
}
|
|
28918
28918
|
},
|
|
28919
|
-
"schemaVersion": "3.
|
|
28919
|
+
"schemaVersion": "3.41.0"
|
|
28920
28920
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takeshape/schema",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.20.3",
|
|
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/
|
|
33
|
-
"@takeshape/
|
|
31
|
+
"@takeshape/errors": "10.20.3",
|
|
32
|
+
"@takeshape/json-schema": "10.20.3",
|
|
33
|
+
"@takeshape/util": "10.20.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@takeshape/json-schema-to-typescript": "^11.0.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"meow": "^9.0.0",
|
|
47
47
|
"p-map": "^5.0.0",
|
|
48
48
|
"shortid": "^2.2.15",
|
|
49
|
-
"@takeshape/
|
|
50
|
-
"@takeshape/
|
|
49
|
+
"@takeshape/typescript-jest-junit-reporter": "10.20.3",
|
|
50
|
+
"@takeshape/infra": "10.20.3"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
53
53
|
"node": ">=18"
|