@takeshape/schema 8.17.1 → 8.21.1
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/es/enum.js +1 -1
- package/es/get-is-leaf.js +5 -5
- package/es/layers/type-utils.js +2 -2
- package/es/migration.js +59 -1
- package/es/project-schema/index.js +1 -0
- package/es/project-schema/v3.10.0.js +1 -0
- package/es/refs.js +19 -19
- package/es/schema-util.js +11 -7
- package/es/schemas/index.js +15 -15
- package/es/schemas/index.ts +26 -25
- package/es/schemas/project-schema/v3.10.0.json +2091 -0
- package/es/schemas/project-schema/v4.0.0.json +8 -6
- package/es/schemas/project-schema.json +2 -1
- package/es/types/types.js +1 -1
- package/es/types/utils.js +20 -19
- package/es/util/detect-cycles.js +1 -1
- package/es/validate.js +6 -5
- package/examples/latest/blog-schema.json +32 -32
- package/examples/latest/brewery-schema.json +53 -53
- package/examples/latest/complex-project-schema.json +3278 -3278
- package/examples/latest/fabric-ecommerce.json +130 -130
- package/examples/latest/frank-and-fred-schema.json +15588 -15588
- package/examples/latest/massive-schema.json +5836 -5836
- package/examples/latest/mill-components-schema.json +876 -876
- package/examples/latest/pet-oneof-array.json +77 -77
- package/examples/latest/post-schema.json +23 -23
- package/examples/latest/pruned-shopify-product-schema.json +19 -19
- package/examples/latest/real-world-schema.json +166 -166
- package/examples/latest/recursive-repeater-schema.json +14 -14
- package/examples/latest/recursive-schema.json +14 -14
- package/examples/latest/rick-and-morty-ast.json +1875 -1896
- package/examples/latest/rick-and-morty-graphql.json +1093 -1093
- package/examples/latest/rick-and-morty-rest.json +20 -20
- package/examples/latest/schema-with-repeater-draftjs.json +9 -9
- package/examples/latest/shape-books-v3_2_0.json +218 -218
- package/examples/latest/shape-books.json +218 -218
- package/examples/latest/shopify-lookbook.json +147 -147
- package/examples/latest/shopify-store-with-widget.json +10420 -10420
- package/examples/latest/stripe-starter-resolved.json +1018 -1018
- package/examples/latest/user-schema-no-required.json +19 -19
- package/examples/latest/user-schema-with-defaults.json +20 -20
- package/examples/source/rick-and-morty-ast.json +0 -21
- package/lib/content-schema-transform.d.ts +13 -13
- package/lib/content-schema-transform.d.ts.map +1 -1
- package/lib/enum.d.ts +2 -2
- package/lib/enum.d.ts.map +1 -1
- package/lib/enum.js +2 -2
- package/lib/get-is-leaf.d.ts +2 -2
- package/lib/get-is-leaf.d.ts.map +1 -1
- package/lib/get-is-leaf.js +5 -5
- package/lib/layers/type-utils.js +1 -1
- package/lib/migration.d.ts +6 -5
- package/lib/migration.d.ts.map +1 -1
- package/lib/migration.js +60 -0
- package/lib/project-schema/index.d.ts +3 -1
- package/lib/project-schema/index.d.ts.map +1 -1
- package/lib/project-schema/index.js +25 -12
- package/lib/project-schema/latest.d.ts +260 -238
- package/lib/project-schema/latest.d.ts.map +1 -1
- package/lib/project-schema/v1.0.0.d.ts +14 -7
- package/lib/project-schema/v1.0.0.d.ts.map +1 -1
- package/lib/project-schema/v3.0.0.d.ts +24 -25
- package/lib/project-schema/v3.0.0.d.ts.map +1 -1
- package/lib/project-schema/v3.1.0.d.ts +42 -43
- package/lib/project-schema/v3.1.0.d.ts.map +1 -1
- package/lib/project-schema/v3.10.0.d.ts +1202 -0
- package/lib/project-schema/v3.10.0.d.ts.map +1 -0
- package/lib/project-schema/v3.10.0.js +5 -0
- package/lib/project-schema/v3.2.0.d.ts +42 -43
- package/lib/project-schema/v3.2.0.d.ts.map +1 -1
- package/lib/project-schema/v3.3.0.d.ts +42 -43
- package/lib/project-schema/v3.3.0.d.ts.map +1 -1
- package/lib/project-schema/v3.4.0.d.ts +42 -43
- package/lib/project-schema/v3.4.0.d.ts.map +1 -1
- package/lib/project-schema/v3.5.0.d.ts +42 -43
- package/lib/project-schema/v3.5.0.d.ts.map +1 -1
- package/lib/project-schema/v3.5.1.d.ts +42 -43
- package/lib/project-schema/v3.5.1.d.ts.map +1 -1
- package/lib/project-schema/v3.6.0.d.ts +42 -43
- package/lib/project-schema/v3.6.0.d.ts.map +1 -1
- package/lib/project-schema/v3.7.0.d.ts +42 -43
- package/lib/project-schema/v3.7.0.d.ts.map +1 -1
- package/lib/project-schema/v3.8.0.d.ts +42 -43
- package/lib/project-schema/v3.8.0.d.ts.map +1 -1
- package/lib/project-schema/v3.9.0.d.ts +42 -43
- package/lib/project-schema/v3.9.0.d.ts.map +1 -1
- package/lib/project-schema/v4.0.0.d.ts +54 -52
- package/lib/project-schema/v4.0.0.d.ts.map +1 -1
- package/lib/refs.d.ts +8 -8
- package/lib/refs.d.ts.map +1 -1
- package/lib/refs.js +19 -19
- package/lib/schema-util.d.ts +23 -23
- package/lib/schema-util.d.ts.map +1 -1
- package/lib/schema-util.js +11 -7
- package/lib/schemas/index.d.ts +3421 -3420
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +26 -30
- package/lib/schemas/index.ts +26 -25
- package/lib/schemas/project-schema/v3.10.0.json +2091 -0
- package/lib/schemas/project-schema/v4.0.0.json +8 -6
- package/lib/schemas/project-schema.json +2 -1
- package/lib/types/types.d.ts +8 -7
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/types.js +1 -1
- package/lib/types/utils.d.ts +9 -8
- package/lib/types/utils.d.ts.map +1 -1
- package/lib/types/utils.js +25 -23
- package/lib/unions.d.ts +8 -8
- package/lib/unions.d.ts.map +1 -1
- package/lib/util/detect-cycles.d.ts +2 -2
- package/lib/util/detect-cycles.d.ts.map +1 -1
- package/lib/util/detect-cycles.js +1 -1
- package/lib/validate.d.ts.map +1 -1
- package/lib/validate.js +5 -4
- package/lib/workflows.d.ts +2 -2
- package/lib/workflows.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -9,6 +9,19 @@
|
|
|
9
9
|
"en-us"
|
|
10
10
|
],
|
|
11
11
|
"workflows": {},
|
|
12
|
+
"created": "2016-06-21T15:16:19.051Z",
|
|
13
|
+
"updated": "2016-06-21T15:16:19.051Z",
|
|
14
|
+
"forms": {
|
|
15
|
+
"Post": {
|
|
16
|
+
"default": {
|
|
17
|
+
"order": [
|
|
18
|
+
"title",
|
|
19
|
+
"relatedPost"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"dataKey": "supersecret",
|
|
12
25
|
"queries": {
|
|
13
26
|
"getPost": {
|
|
14
27
|
"shape": "Post",
|
|
@@ -73,9 +86,6 @@
|
|
|
73
86
|
"args": "DeleteArgs<Post>"
|
|
74
87
|
}
|
|
75
88
|
},
|
|
76
|
-
"schemaVersion": "3.9.0",
|
|
77
|
-
"created": "2016-06-21T15:16:19.051Z",
|
|
78
|
-
"updated": "2016-06-21T15:16:19.051Z",
|
|
79
89
|
"shapes": {
|
|
80
90
|
"Post": {
|
|
81
91
|
"id": "<postContentTypeId>",
|
|
@@ -135,15 +145,5 @@
|
|
|
135
145
|
}
|
|
136
146
|
}
|
|
137
147
|
},
|
|
138
|
-
"
|
|
139
|
-
"Post": {
|
|
140
|
-
"default": {
|
|
141
|
-
"order": [
|
|
142
|
-
"title",
|
|
143
|
-
"relatedPost"
|
|
144
|
-
]
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"dataKey": "supersecret"
|
|
148
|
+
"schemaVersion": "3.10.0"
|
|
149
149
|
}
|