@takeshape/schema 11.105.1 → 11.106.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 (89) hide show
  1. package/dist/agents.d.ts +4 -4
  2. package/dist/agents.js +4 -4
  3. package/dist/migration/index.d.ts +1 -0
  4. package/dist/migration/index.js +3 -1
  5. package/dist/migration/to/v3.57.0.d.ts +4 -0
  6. package/dist/migration/to/v3.57.0.js +18 -0
  7. package/dist/migration/types.d.ts +7 -4
  8. package/dist/migration/types.js +3 -3
  9. package/dist/project-schema/index.d.ts +4 -1
  10. package/dist/project-schema/index.js +2 -1
  11. package/dist/project-schema/latest.d.ts +452 -260
  12. package/dist/project-schema/migrate.js +4 -1
  13. package/dist/project-schema/v3.57.0.d.ts +2597 -0
  14. package/dist/project-schema/v3.57.0.js +7 -0
  15. package/dist/refs.js +2 -2
  16. package/dist/schema-util.d.ts +2 -2
  17. package/dist/schemas/index.d.ts +2 -2
  18. package/dist/schemas/index.js +5 -3
  19. package/dist/schemas/project-schema/{experimental.json → experimental-2025-07.json} +1 -2
  20. package/dist/schemas/project-schema/latest.d.ts +180 -0
  21. package/dist/schemas/project-schema/latest.js +11 -0
  22. package/dist/schemas/project-schema/latest.json +1292 -12
  23. package/dist/schemas/project-schema/v3.48.0.json +2 -2
  24. package/dist/schemas/project-schema/v3.49.0.json +2 -2
  25. package/dist/schemas/project-schema/v3.50.0.json +3 -3
  26. package/dist/schemas/project-schema/v3.51.0.json +3 -3
  27. package/dist/schemas/project-schema/v3.52.0.json +3 -3
  28. package/dist/schemas/project-schema/v3.53.0.json +3 -3
  29. package/dist/schemas/project-schema/v3.54.0.json +3 -3
  30. package/dist/schemas/project-schema/v3.55.0.json +3 -3
  31. package/dist/schemas/project-schema/v3.56.0.json +7 -7
  32. package/dist/schemas/project-schema/v3.57.0.json +4810 -0
  33. package/dist/schemas/project-schema.json +3 -0
  34. package/dist/util/mcp.d.ts +1 -1
  35. package/dist/util/mcp.js +2 -2
  36. package/dist/validate/validate.d.ts +2 -1
  37. package/dist/validate/validate.js +15 -13
  38. package/examples/latest/agent-schema.json +174 -176
  39. package/examples/latest/all-fields-shapes-inline.json +1 -1
  40. package/examples/latest/all-fields-shapes.json +1 -1
  41. package/examples/latest/betzino.json +1 -1
  42. package/examples/latest/blog-schema.json +1 -1
  43. package/examples/latest/brewery-schema.json +1 -1
  44. package/examples/latest/clear-cache-schema.json +1 -1
  45. package/examples/latest/complex-project-schema.json +1 -1
  46. package/examples/latest/complex-schema.json +1 -1
  47. package/examples/latest/edit-schema.json +1 -1
  48. package/examples/latest/fabric-ecommerce.json +1 -1
  49. package/examples/latest/frank-and-fred-schema.json +1 -1
  50. package/examples/latest/klirr-schema.json +1 -1
  51. package/examples/latest/layers/rick-and-morty-layer.json +1 -1
  52. package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
  53. package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
  54. package/examples/latest/layers/wordpress-2024-01.json +1 -1
  55. package/examples/latest/massive-schema.json +1 -1
  56. package/examples/latest/mill-components-schema.json +1 -1
  57. package/examples/latest/nested-shape-arrays.json +1 -1
  58. package/examples/latest/one-earth.json +1 -1
  59. package/examples/latest/pet-oneof-array.json +1 -1
  60. package/examples/latest/post-schema.json +1 -1
  61. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  62. package/examples/latest/rag-example.json +1 -1
  63. package/examples/latest/real-world-schema.json +1 -1
  64. package/examples/latest/recursive-repeater-schema.json +1 -1
  65. package/examples/latest/recursive-schema.json +1 -1
  66. package/examples/latest/rick-and-morty-ast.json +1 -1
  67. package/examples/latest/rick-and-morty-graphql.json +1 -1
  68. package/examples/latest/rick-and-morty-rest.json +1 -1
  69. package/examples/latest/rick-and-morty-user-schema.json +1 -1
  70. package/examples/latest/rick-and-morty-with-indexing.json +1 -1
  71. package/examples/latest/schema-where-filter.json +1 -1
  72. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  73. package/examples/latest/schema-with-rick-and-morty.json +1 -1
  74. package/examples/latest/shape-books-v3_2_0.json +1 -1
  75. package/examples/latest/shape-books.json +1 -1
  76. package/examples/latest/shape-editor-schema-edited.json +1 -1
  77. package/examples/latest/shape-editor-schema-initial.json +1 -1
  78. package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
  79. package/examples/latest/shopify-lookbook.json +1 -1
  80. package/examples/latest/shopify-product-2022-07.json +1 -1
  81. package/examples/latest/shopify-product-2023-04.json +1 -1
  82. package/examples/latest/shopify-store-with-widget.json +1 -1
  83. package/examples/latest/stripe-product-runtime-schema.json +1 -1
  84. package/examples/latest/stripe-starter-resolved.json +1 -1
  85. package/examples/latest/user-schema-no-required.json +1 -1
  86. package/examples/latest/user-schema-with-defaults.json +1 -1
  87. package/examples/latest/valvoline-ai-demo.json +1 -1
  88. package/examples/latest/vector-search-schema.json +1 -1
  89. package/package.json +27 -28
@@ -14766,6 +14766,6 @@
14766
14766
  }
14767
14767
  }
14768
14768
  },
14769
- "schemaVersion": "3.56.0",
14769
+ "schemaVersion": "3.57.0",
14770
14770
  "services": {}
14771
14771
  }
@@ -388,6 +388,6 @@
388
388
  }
389
389
  }
390
390
  },
391
- "schemaVersion": "3.56.0",
391
+ "schemaVersion": "3.57.0",
392
392
  "services": {}
393
393
  }
@@ -226,6 +226,6 @@
226
226
  }
227
227
  }
228
228
  },
229
- "schemaVersion": "3.56.0",
229
+ "schemaVersion": "3.57.0",
230
230
  "services": {}
231
231
  }
@@ -9756,5 +9756,5 @@
9756
9756
  }
9757
9757
  }
9758
9758
  },
9759
- "schemaVersion": "3.56.0"
9759
+ "schemaVersion": "3.57.0"
9760
9760
  }
@@ -279,6 +279,6 @@
279
279
  }
280
280
  }
281
281
  },
282
- "schemaVersion": "3.56.0",
282
+ "schemaVersion": "3.57.0",
283
283
  "apiVersion": "2"
284
284
  }
@@ -806,6 +806,6 @@
806
806
  }
807
807
  }
808
808
  },
809
- "schemaVersion": "3.56.0",
809
+ "schemaVersion": "3.57.0",
810
810
  "services": {}
811
811
  }
@@ -142,6 +142,6 @@
142
142
  }
143
143
  }
144
144
  },
145
- "schemaVersion": "3.56.0",
145
+ "schemaVersion": "3.57.0",
146
146
  "services": {}
147
147
  }
@@ -149,6 +149,6 @@
149
149
  }
150
150
  }
151
151
  },
152
- "schemaVersion": "3.56.0",
152
+ "schemaVersion": "3.57.0",
153
153
  "services": {}
154
154
  }
@@ -2633,5 +2633,5 @@
2633
2633
  }
2634
2634
  }
2635
2635
  },
2636
- "schemaVersion": "3.56.0"
2636
+ "schemaVersion": "3.57.0"
2637
2637
  }
@@ -2105,5 +2105,5 @@
2105
2105
  }
2106
2106
  }
2107
2107
  },
2108
- "schemaVersion": "3.56.0"
2108
+ "schemaVersion": "3.57.0"
2109
2109
  }
@@ -91,5 +91,5 @@
91
91
  }
92
92
  }
93
93
  },
94
- "schemaVersion": "3.56.0"
94
+ "schemaVersion": "3.57.0"
95
95
  }
@@ -119,7 +119,7 @@
119
119
  }
120
120
  }
121
121
  },
122
- "schemaVersion": "3.56.0",
122
+ "schemaVersion": "3.57.0",
123
123
  "apiVersion": "2",
124
124
  "services": {
125
125
  "rick": {
@@ -198,7 +198,7 @@
198
198
  },
199
199
  "workflows": {},
200
200
  "forms": {},
201
- "schemaVersion": "3.56.0",
201
+ "schemaVersion": "3.57.0",
202
202
  "apiVersion": "2",
203
203
  "services": {
204
204
  "rick-and-morty": {
@@ -428,7 +428,7 @@
428
428
  }
429
429
  }
430
430
  },
431
- "schemaVersion": "3.56.0",
431
+ "schemaVersion": "3.57.0",
432
432
  "apiVersion": "2",
433
433
  "services": {
434
434
  "rick-and-morty": {
@@ -397,6 +397,6 @@
397
397
  }
398
398
  }
399
399
  },
400
- "schemaVersion": "3.56.0",
400
+ "schemaVersion": "3.57.0",
401
401
  "services": {}
402
402
  }
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "workflows": {},
44
44
  "forms": {},
45
- "schemaVersion": "3.56.0",
45
+ "schemaVersion": "3.57.0",
46
46
  "apiVersion": "2",
47
47
  "services": {
48
48
  "rick-and-morty": {
@@ -1129,6 +1129,6 @@
1129
1129
  }
1130
1130
  }
1131
1131
  },
1132
- "schemaVersion": "3.56.0",
1132
+ "schemaVersion": "3.57.0",
1133
1133
  "services": {}
1134
1134
  }
@@ -1129,6 +1129,6 @@
1129
1129
  }
1130
1130
  }
1131
1131
  },
1132
- "schemaVersion": "3.56.0",
1132
+ "schemaVersion": "3.57.0",
1133
1133
  "services": {}
1134
1134
  }
@@ -1004,6 +1004,6 @@
1004
1004
  }
1005
1005
  }
1006
1006
  },
1007
- "schemaVersion": "3.56.0",
1007
+ "schemaVersion": "3.57.0",
1008
1008
  "apiVersion": "2"
1009
1009
  }
@@ -406,6 +406,6 @@
406
406
  }
407
407
  }
408
408
  },
409
- "schemaVersion": "3.56.0",
409
+ "schemaVersion": "3.57.0",
410
410
  "apiVersion": "2"
411
411
  }
@@ -271,6 +271,6 @@
271
271
  }
272
272
  }
273
273
  },
274
- "schemaVersion": "3.56.0",
274
+ "schemaVersion": "3.57.0",
275
275
  "apiVersion": "2"
276
276
  }
@@ -1147,5 +1147,5 @@
1147
1147
  }
1148
1148
  }
1149
1149
  },
1150
- "schemaVersion": "3.56.0"
1150
+ "schemaVersion": "3.57.0"
1151
1151
  }
@@ -5,7 +5,7 @@
5
5
  "en-us"
6
6
  ],
7
7
  "apiVersion": "2",
8
- "schemaVersion": "3.56.0",
8
+ "schemaVersion": "3.57.0",
9
9
  "queries": {
10
10
  "getAsset": {
11
11
  "shape": "Asset",
@@ -49144,7 +49144,7 @@
49144
49144
  }
49145
49145
  }
49146
49146
  },
49147
- "schemaVersion": "3.56.0",
49147
+ "schemaVersion": "3.57.0",
49148
49148
  "apiVersion": "2",
49149
49149
  "services": {
49150
49150
  "shopify": {
@@ -12297,5 +12297,5 @@
12297
12297
  }
12298
12298
  }
12299
12299
  },
12300
- "schemaVersion": "3.56.0"
12300
+ "schemaVersion": "3.57.0"
12301
12301
  }
@@ -5,7 +5,7 @@
5
5
  "en-us"
6
6
  ],
7
7
  "apiVersion": "2",
8
- "schemaVersion": "3.56.0",
8
+ "schemaVersion": "3.57.0",
9
9
  "queries": {
10
10
  "getAsset": {
11
11
  "shape": "Asset",
@@ -28916,5 +28916,5 @@
28916
28916
  }
28917
28917
  }
28918
28918
  },
28919
- "schemaVersion": "3.56.0"
28919
+ "schemaVersion": "3.57.0"
28920
28920
  }
@@ -165,6 +165,6 @@
165
165
  }
166
166
  }
167
167
  },
168
- "schemaVersion": "3.56.0",
168
+ "schemaVersion": "3.57.0",
169
169
  "services": {}
170
170
  }
@@ -190,6 +190,6 @@
190
190
  }
191
191
  }
192
192
  },
193
- "schemaVersion": "3.56.0",
193
+ "schemaVersion": "3.57.0",
194
194
  "services": {}
195
195
  }
@@ -1630,6 +1630,6 @@
1630
1630
  }
1631
1631
  }
1632
1632
  },
1633
- "schemaVersion": "3.56.0",
1633
+ "schemaVersion": "3.57.0",
1634
1634
  "apiVersion": "2"
1635
1635
  }
@@ -434,7 +434,7 @@
434
434
  }
435
435
  }
436
436
  },
437
- "schemaVersion": "3.56.0",
437
+ "schemaVersion": "3.57.0",
438
438
  "apiVersion": "2",
439
439
  "services": {
440
440
  "openai": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeshape/schema",
3
- "version": "11.105.1",
3
+ "version": "11.106.1",
4
4
  "description": "TakeShape Schema",
5
5
  "homepage": "https://www.takeshape.io",
6
6
  "repository": {
@@ -25,9 +25,7 @@
25
25
  "./schemas/*.json": {
26
26
  "default": "./src/schemas/*.json"
27
27
  },
28
- "./project-schema/*.json": {
29
- "default": "./src/schemas/project-schema/*.json"
30
- },
28
+ "./project-schema/*": "./dist/schemas/project-schema/*",
31
29
  "./examples/source/*.json": {
32
30
  "default": "./examples/source/*.json"
33
31
  },
@@ -46,38 +44,39 @@
46
44
  "examples"
47
45
  ],
48
46
  "dependencies": {
49
- "@jsep-plugin/object": "^1.2.2",
47
+ "@jsep-plugin/object": "1.2.2",
50
48
  "ajv": "8.13.0",
51
49
  "ajv-formats": "3.0.1",
52
- "blueimp-md5": "^2.10.0",
53
- "jsep": "^1.4.0",
54
- "jsonpath-plus": "^10.0.1",
50
+ "blueimp-md5": "2.18.0",
51
+ "jsep": "1.4.0",
52
+ "jsonpath-plus": "10.0.1",
55
53
  "lodash": "4.17.21",
56
- "minimatch": "^3.0.4",
57
- "p-map": "^4.0.0",
58
- "p-reduce": "^2.1.0",
59
- "semver": "^7.3.2",
60
- "tiny-invariant": "^1.2.0",
61
- "@takeshape/errors": "11.105.1",
62
- "@takeshape/json-schema": "11.105.1",
63
- "@takeshape/util": "11.105.1"
54
+ "minimatch": "3.1.2",
55
+ "p-map": "4.0.0",
56
+ "p-reduce": "2.1.0",
57
+ "semver": "7.7.2",
58
+ "tiny-invariant": "1.3.3",
59
+ "@takeshape/errors": "11.106.1",
60
+ "@takeshape/json-schema": "11.106.1",
61
+ "@takeshape/util": "11.106.1"
64
62
  },
65
63
  "devDependencies": {
66
- "@takeshape/json-schema-to-typescript": "^11.0.0",
67
- "@types/blueimp-md5": "^2.7.0",
68
- "@types/glob": "^7.1.3",
69
- "@types/json-schema": "^7.0.7",
64
+ "@takeshape/json-schema-to-typescript": "11.0.0",
65
+ "@types/blueimp-md5": "2.7.0",
66
+ "@types/glob": "7.2.0",
67
+ "@types/json-schema": "7.0.15",
70
68
  "@types/lodash": "4.17.20",
71
- "@types/minimatch": "^3.0.3",
72
- "@types/semver": "^7.1.0",
73
- "@types/shortid": "^0.0.29",
69
+ "@types/minimatch": "3.0.5",
70
+ "@types/semver": "7.5.8",
71
+ "@types/shortid": "0.0.29",
74
72
  "ai": "4.1.54",
75
- "fast-xml-parser": "^4.1.1",
76
- "fs-extra": "^8.1.0",
77
- "glob": "^7.1.6",
78
- "json-schema-to-ts": "^3.1.1",
73
+ "fast-xml-parser": "4.4.1",
74
+ "fs-extra": "8.1.0",
75
+ "glob": "7.2.3",
76
+ "json-schema-to-ts": "3.1.1",
79
77
  "shortid": "2.2.16",
80
- "@takeshape/infra": "11.105.1"
78
+ "@takeshape/logger": "11.106.1",
79
+ "@takeshape/infra": "11.106.1"
81
80
  },
82
81
  "engines": {
83
82
  "node": ">=22"