@takeshape/schema 8.47.0 → 8.50.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.
Files changed (74) hide show
  1. package/es/flatten-templates.js +1 -1
  2. package/es/migration/index.js +6 -1
  3. package/es/migration/to/v3.10.0.js +54 -15
  4. package/es/migration/to/v3.12.1.js +10 -0
  5. package/es/project-schema/index.js +1 -0
  6. package/es/project-schema/v3.12.1.js +1 -0
  7. package/es/schemas/index.js +4 -3
  8. package/es/schemas/index.ts +4 -2
  9. package/es/schemas/project-schema/v3.12.1.json +2281 -0
  10. package/es/schemas/project-schema.json +2 -1
  11. package/es/template-shapes/templates.js +1 -1
  12. package/es/template-shapes/where.js +55 -19
  13. package/es/types/utils.js +2 -1
  14. package/es/validate.js +69 -4
  15. package/examples/latest/betzino.json +43364 -0
  16. package/examples/latest/blog-schema.json +1 -1
  17. package/examples/latest/brewery-schema.json +1 -1
  18. package/examples/latest/complex-project-schema.json +1 -1
  19. package/examples/latest/fabric-ecommerce.json +1 -1
  20. package/examples/latest/frank-and-fred-schema.json +1 -1
  21. package/examples/latest/massive-schema.json +1 -1
  22. package/examples/latest/mill-components-schema.json +1 -1
  23. package/examples/latest/pet-oneof-array.json +1 -1
  24. package/examples/latest/post-schema.json +1 -1
  25. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  26. package/examples/latest/real-world-schema.json +1 -1
  27. package/examples/latest/recursive-repeater-schema.json +1 -1
  28. package/examples/latest/recursive-schema.json +1 -1
  29. package/examples/latest/rick-and-morty-ast.json +1 -1
  30. package/examples/latest/rick-and-morty-graphql.json +1 -1
  31. package/examples/latest/rick-and-morty-rest.json +1 -1
  32. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  33. package/examples/latest/shape-books-v3_2_0.json +1 -1
  34. package/examples/latest/shape-books.json +1 -1
  35. package/examples/latest/shopify-lookbook.json +1 -1
  36. package/examples/latest/shopify-store-with-widget.json +1 -1
  37. package/examples/latest/stripe-starter-resolved.json +1 -1
  38. package/examples/latest/user-schema-no-required.json +1 -1
  39. package/examples/latest/user-schema-with-defaults.json +1 -1
  40. package/examples/source/betzino.json +43364 -0
  41. package/lib/flatten-templates.js +1 -1
  42. package/lib/migration/index.d.ts.map +1 -1
  43. package/lib/migration/index.js +6 -0
  44. package/lib/migration/to/v3.10.0.d.ts.map +1 -1
  45. package/lib/migration/to/v3.10.0.js +55 -15
  46. package/lib/migration/to/v3.12.1.d.ts +4 -0
  47. package/lib/migration/to/v3.12.1.d.ts.map +1 -0
  48. package/lib/migration/to/v3.12.1.js +18 -0
  49. package/lib/project-schema/index.d.ts +3 -1
  50. package/lib/project-schema/index.d.ts.map +1 -1
  51. package/lib/project-schema/index.js +28 -15
  52. package/lib/project-schema/latest.d.ts +61 -2
  53. package/lib/project-schema/latest.d.ts.map +1 -1
  54. package/lib/project-schema/v3.12.1.d.ts +1274 -0
  55. package/lib/project-schema/v3.12.1.d.ts.map +1 -0
  56. package/lib/project-schema/v3.12.1.js +5 -0
  57. package/lib/schemas/index.d.ts +2 -2
  58. package/lib/schemas/index.d.ts.map +1 -1
  59. package/lib/schemas/index.js +19 -17
  60. package/lib/schemas/index.ts +4 -2
  61. package/lib/schemas/project-schema/v3.12.1.json +2281 -0
  62. package/lib/schemas/project-schema.json +2 -1
  63. package/lib/template-shapes/templates.js +1 -1
  64. package/lib/template-shapes/where.d.ts +2 -1
  65. package/lib/template-shapes/where.d.ts.map +1 -1
  66. package/lib/template-shapes/where.js +57 -21
  67. package/lib/types/types.d.ts +2 -2
  68. package/lib/types/types.d.ts.map +1 -1
  69. package/lib/types/utils.d.ts +3 -2
  70. package/lib/types/utils.d.ts.map +1 -1
  71. package/lib/types/utils.js +4 -2
  72. package/lib/validate.d.ts.map +1 -1
  73. package/lib/validate.js +70 -4
  74. package/package.json +4 -4
@@ -373,6 +373,6 @@
373
373
  }
374
374
  }
375
375
  },
376
- "schemaVersion": "3.12.0",
376
+ "schemaVersion": "3.12.1",
377
377
  "services": {}
378
378
  }
@@ -378,6 +378,6 @@
378
378
  }
379
379
  }
380
380
  },
381
- "schemaVersion": "3.12.0",
381
+ "schemaVersion": "3.12.1",
382
382
  "services": {}
383
383
  }
@@ -3892,6 +3892,6 @@
3892
3892
  }
3893
3893
  }
3894
3894
  },
3895
- "schemaVersion": "3.12.0",
3895
+ "schemaVersion": "3.12.1",
3896
3896
  "services": {}
3897
3897
  }
@@ -10516,5 +10516,5 @@
10516
10516
  }
10517
10517
  }
10518
10518
  },
10519
- "schemaVersion": "3.12.0"
10519
+ "schemaVersion": "3.12.1"
10520
10520
  }
@@ -19833,6 +19833,6 @@
19833
19833
  }
19834
19834
  }
19835
19835
  },
19836
- "schemaVersion": "3.12.0",
19836
+ "schemaVersion": "3.12.1",
19837
19837
  "services": {}
19838
19838
  }
@@ -7021,6 +7021,6 @@
7021
7021
  }
7022
7022
  }
7023
7023
  },
7024
- "schemaVersion": "3.12.0",
7024
+ "schemaVersion": "3.12.1",
7025
7025
  "services": {}
7026
7026
  }
@@ -1787,6 +1787,6 @@
1787
1787
  }
1788
1788
  }
1789
1789
  },
1790
- "schemaVersion": "3.12.0",
1790
+ "schemaVersion": "3.12.1",
1791
1791
  "services": {}
1792
1792
  }
@@ -404,6 +404,6 @@
404
404
  }
405
405
  }
406
406
  },
407
- "schemaVersion": "3.12.0",
407
+ "schemaVersion": "3.12.1",
408
408
  "services": {}
409
409
  }
@@ -220,6 +220,6 @@
220
220
  }
221
221
  }
222
222
  },
223
- "schemaVersion": "3.12.0",
223
+ "schemaVersion": "3.12.1",
224
224
  "services": {}
225
225
  }
@@ -9760,5 +9760,5 @@
9760
9760
  }
9761
9761
  }
9762
9762
  },
9763
- "schemaVersion": "3.12.0"
9763
+ "schemaVersion": "3.12.1"
9764
9764
  }
@@ -990,6 +990,6 @@
990
990
  }
991
991
  }
992
992
  },
993
- "schemaVersion": "3.12.0",
993
+ "schemaVersion": "3.12.1",
994
994
  "services": {}
995
995
  }
@@ -138,6 +138,6 @@
138
138
  }
139
139
  }
140
140
  },
141
- "schemaVersion": "3.12.0",
141
+ "schemaVersion": "3.12.1",
142
142
  "services": {}
143
143
  }
@@ -145,6 +145,6 @@
145
145
  }
146
146
  }
147
147
  },
148
- "schemaVersion": "3.12.0",
148
+ "schemaVersion": "3.12.1",
149
149
  "services": {}
150
150
  }
@@ -2673,5 +2673,5 @@
2673
2673
  }
2674
2674
  }
2675
2675
  },
2676
- "schemaVersion": "3.12.0"
2676
+ "schemaVersion": "3.12.1"
2677
2677
  }
@@ -2198,5 +2198,5 @@
2198
2198
  }
2199
2199
  }
2200
2200
  },
2201
- "schemaVersion": "3.12.0"
2201
+ "schemaVersion": "3.12.1"
2202
2202
  }
@@ -96,5 +96,5 @@
96
96
  }
97
97
  }
98
98
  },
99
- "schemaVersion": "3.12.0"
99
+ "schemaVersion": "3.12.1"
100
100
  }
@@ -377,6 +377,6 @@
377
377
  }
378
378
  }
379
379
  },
380
- "schemaVersion": "3.12.0",
380
+ "schemaVersion": "3.12.1",
381
381
  "services": {}
382
382
  }
@@ -1077,6 +1077,6 @@
1077
1077
  }
1078
1078
  }
1079
1079
  },
1080
- "schemaVersion": "3.12.0",
1080
+ "schemaVersion": "3.12.1",
1081
1081
  "services": {}
1082
1082
  }
@@ -1037,6 +1037,6 @@
1037
1037
  }
1038
1038
  }
1039
1039
  },
1040
- "schemaVersion": "3.12.0",
1040
+ "schemaVersion": "3.12.1",
1041
1041
  "services": {}
1042
1042
  }
@@ -1176,5 +1176,5 @@
1176
1176
  }
1177
1177
  }
1178
1178
  },
1179
- "schemaVersion": "3.12.0"
1179
+ "schemaVersion": "3.12.1"
1180
1180
  }
@@ -12534,5 +12534,5 @@
12534
12534
  }
12535
12535
  }
12536
12536
  },
12537
- "schemaVersion": "3.12.0"
12537
+ "schemaVersion": "3.12.1"
12538
12538
  }
@@ -29312,5 +29312,5 @@
29312
29312
  }
29313
29313
  }
29314
29314
  },
29315
- "schemaVersion": "3.12.0"
29315
+ "schemaVersion": "3.12.1"
29316
29316
  }
@@ -169,6 +169,6 @@
169
169
  }
170
170
  }
171
171
  },
172
- "schemaVersion": "3.12.0",
172
+ "schemaVersion": "3.12.1",
173
173
  "services": {}
174
174
  }
@@ -194,6 +194,6 @@
194
194
  }
195
195
  }
196
196
  },
197
- "schemaVersion": "3.12.0",
197
+ "schemaVersion": "3.12.1",
198
198
  "services": {}
199
199
  }