@takeshape/schema 11.45.5 → 11.46.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.
Files changed (465) hide show
  1. package/dist/cjs/src/agents.js +6 -6
  2. package/dist/cjs/src/api-version.js +1 -1
  3. package/dist/cjs/src/content-schema-transform.js +12 -12
  4. package/dist/cjs/src/create-input-schema.js +1 -1
  5. package/dist/cjs/src/enum.js +1 -1
  6. package/dist/cjs/src/flatten-templates.js +4 -4
  7. package/dist/cjs/src/get-is-leaf.js +1 -1
  8. package/dist/cjs/src/interfaces.js +11 -9
  9. package/dist/cjs/src/layers/layers.js +11 -5
  10. package/dist/cjs/src/layers/refs.js +3 -3
  11. package/dist/cjs/src/layers/type-utils.js +1 -1
  12. package/dist/cjs/src/migration/index.js +3 -1
  13. package/dist/cjs/src/migration/to/v3.0.0.js +20 -8
  14. package/dist/cjs/src/migration/to/v3.1.0.js +6 -4
  15. package/dist/cjs/src/migration/to/v3.10.0.js +1 -1
  16. package/dist/cjs/src/migration/to/v3.13.0.js +1 -1
  17. package/dist/cjs/src/migration/to/v3.17.0.js +1 -1
  18. package/dist/cjs/src/migration/to/v3.18.0.js +4 -4
  19. package/dist/cjs/src/migration/to/v3.18.1.js +1 -1
  20. package/dist/cjs/src/migration/to/v3.18.2.js +1 -1
  21. package/dist/cjs/src/migration/to/v3.20.0.js +5 -2
  22. package/dist/cjs/src/migration/to/v3.22.0.js +1 -1
  23. package/dist/cjs/src/migration/to/v3.31.0.js +2 -2
  24. package/dist/cjs/src/migration/to/v3.32.0.js +3 -1
  25. package/dist/cjs/src/migration/to/v3.34.0.js +6 -9
  26. package/dist/cjs/src/migration/to/v3.36.0.js +1 -1
  27. package/dist/cjs/src/migration/to/v3.39.0.js +8 -8
  28. package/dist/cjs/src/migration/to/v3.40.0.js +1 -1
  29. package/dist/cjs/src/migration/to/v3.46.0.js +1 -1
  30. package/dist/cjs/src/migration/to/v3.51.0.js +12 -0
  31. package/dist/cjs/src/migration/to/v3.9.0.js +3 -3
  32. package/dist/cjs/src/models/project-schema.js +4 -4
  33. package/dist/cjs/src/models/shape.js +2 -2
  34. package/dist/cjs/src/project-schema/index.js +4 -2
  35. package/dist/cjs/src/project-schema/migrate.js +3 -1
  36. package/dist/cjs/src/project-schema/v3.51.0.js +8 -0
  37. package/dist/cjs/src/refs.js +28 -18
  38. package/dist/cjs/src/relationships.js +25 -20
  39. package/dist/cjs/src/runtime-schema.js +16 -9
  40. package/dist/cjs/src/schema-transform.js +3 -3
  41. package/dist/cjs/src/schema-util.js +38 -30
  42. package/dist/cjs/src/schemas/auth-schemas.json +18 -78
  43. package/dist/cjs/src/schemas/index.js +18 -16
  44. package/dist/cjs/src/schemas/project-schema/experimental.json +7 -20
  45. package/dist/cjs/src/schemas/project-schema/latest.json +166 -566
  46. package/dist/cjs/src/schemas/project-schema/meta-schema-v1.0.0.json +3 -17
  47. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.0.0.json +4 -4
  48. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.1.0.json +4 -4
  49. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.2.0.json +5 -5
  50. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.3.0.json +5 -5
  51. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.4.0.json +11 -43
  52. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.5.0.json +7 -7
  53. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.5.1.json +8 -11
  54. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.6.0.json +8 -11
  55. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.7.0.json +11 -9
  56. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.8.0.json +11 -9
  57. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.9.0.json +24 -22
  58. package/dist/cjs/src/schemas/project-schema/v1.0.0.json +3 -3
  59. package/dist/cjs/src/schemas/project-schema/v3.0.0.json +1 -1
  60. package/dist/cjs/src/schemas/project-schema/v3.1.0.json +2 -2
  61. package/dist/cjs/src/schemas/project-schema/v3.10.0.json +32 -30
  62. package/dist/cjs/src/schemas/project-schema/v3.11.0.json +32 -30
  63. package/dist/cjs/src/schemas/project-schema/v3.12.0.json +33 -36
  64. package/dist/cjs/src/schemas/project-schema/v3.12.1.json +33 -36
  65. package/dist/cjs/src/schemas/project-schema/v3.12.2.json +2122 -2125
  66. package/dist/cjs/src/schemas/project-schema/v3.12.3.json +2175 -2178
  67. package/dist/cjs/src/schemas/project-schema/v3.13.0.json +32 -30
  68. package/dist/cjs/src/schemas/project-schema/v3.14.0.json +32 -30
  69. package/dist/cjs/src/schemas/project-schema/v3.15.0.json +40 -38
  70. package/dist/cjs/src/schemas/project-schema/v3.16.0.json +40 -38
  71. package/dist/cjs/src/schemas/project-schema/v3.17.0.json +47 -39
  72. package/dist/cjs/src/schemas/project-schema/v3.17.1.json +2204 -2196
  73. package/dist/cjs/src/schemas/project-schema/v3.18.0.json +40 -38
  74. package/dist/cjs/src/schemas/project-schema/v3.18.1.json +40 -38
  75. package/dist/cjs/src/schemas/project-schema/v3.18.2.json +40 -38
  76. package/dist/cjs/src/schemas/project-schema/v3.19.0.json +40 -38
  77. package/dist/cjs/src/schemas/project-schema/v3.2.0.json +1 -1
  78. package/dist/cjs/src/schemas/project-schema/v3.20.0.json +40 -38
  79. package/dist/cjs/src/schemas/project-schema/v3.21.0.json +41 -39
  80. package/dist/cjs/src/schemas/project-schema/v3.22.0.json +41 -39
  81. package/dist/cjs/src/schemas/project-schema/v3.23.0.json +43 -43
  82. package/dist/cjs/src/schemas/project-schema/v3.24.0.json +105 -458
  83. package/dist/cjs/src/schemas/project-schema/v3.25.0.json +105 -458
  84. package/dist/cjs/src/schemas/project-schema/v3.26.0.json +107 -466
  85. package/dist/cjs/src/schemas/project-schema/v3.27.0.json +107 -466
  86. package/dist/cjs/src/schemas/project-schema/v3.28.0.json +112 -471
  87. package/dist/cjs/src/schemas/project-schema/v3.29.0.json +112 -471
  88. package/dist/cjs/src/schemas/project-schema/v3.3.0.json +1 -1
  89. package/dist/cjs/src/schemas/project-schema/v3.30.0.json +112 -472
  90. package/dist/cjs/src/schemas/project-schema/v3.31.0.json +112 -486
  91. package/dist/cjs/src/schemas/project-schema/v3.32.0.json +113 -488
  92. package/dist/cjs/src/schemas/project-schema/v3.33.0.json +113 -488
  93. package/dist/cjs/src/schemas/project-schema/v3.34.0.json +113 -488
  94. package/dist/cjs/src/schemas/project-schema/v3.35.0.json +114 -491
  95. package/dist/cjs/src/schemas/project-schema/v3.36.0.json +114 -491
  96. package/dist/cjs/src/schemas/project-schema/v3.37.0.json +118 -511
  97. package/dist/cjs/src/schemas/project-schema/v3.38.0.json +118 -511
  98. package/dist/cjs/src/schemas/project-schema/v3.39.0.json +118 -511
  99. package/dist/cjs/src/schemas/project-schema/v3.4.0.json +1 -1
  100. package/dist/cjs/src/schemas/project-schema/v3.40.0.json +118 -512
  101. package/dist/cjs/src/schemas/project-schema/v3.41.0.json +118 -512
  102. package/dist/cjs/src/schemas/project-schema/v3.42.0.json +118 -512
  103. package/dist/cjs/src/schemas/project-schema/v3.43.0.json +118 -512
  104. package/dist/cjs/src/schemas/project-schema/v3.44.0.json +125 -540
  105. package/dist/cjs/src/schemas/project-schema/v3.45.0.json +128 -554
  106. package/dist/cjs/src/schemas/project-schema/v3.46.0.json +129 -560
  107. package/dist/cjs/src/schemas/project-schema/v3.47.0.json +131 -568
  108. package/dist/cjs/src/schemas/project-schema/v3.48.0.json +132 -572
  109. package/dist/cjs/src/schemas/project-schema/v3.49.0.json +132 -558
  110. package/dist/cjs/src/schemas/project-schema/v3.5.0.json +1 -1
  111. package/dist/cjs/src/schemas/project-schema/v3.5.1.json +1 -1
  112. package/dist/cjs/src/schemas/project-schema/v3.50.0.json +165 -565
  113. package/dist/cjs/src/schemas/project-schema/v3.51.0.json +3320 -0
  114. package/dist/cjs/src/schemas/project-schema/v3.6.0.json +1 -1
  115. package/dist/cjs/src/schemas/project-schema/v3.7.0.json +1 -1
  116. package/dist/cjs/src/schemas/project-schema/v3.8.0.json +1 -1
  117. package/dist/cjs/src/schemas/project-schema/v3.9.0.json +1 -1
  118. package/dist/cjs/src/schemas/project-schema/v4.0.0.json +31 -29
  119. package/dist/cjs/src/schemas/project-schema.json +3 -0
  120. package/dist/cjs/src/schemas/user-schema.json +2 -9
  121. package/dist/cjs/src/service-dependencies.js +15 -9
  122. package/dist/cjs/src/services/services.js +12 -11
  123. package/dist/cjs/src/services/util.js +4 -4
  124. package/dist/cjs/src/template-shapes/templates.js +18 -12
  125. package/dist/cjs/src/template-shapes/where.js +23 -14
  126. package/dist/cjs/src/types/utils.js +3 -3
  127. package/dist/cjs/src/unions.js +6 -8
  128. package/dist/cjs/src/util/api-indexing.js +4 -4
  129. package/dist/cjs/src/util/detect-cycles.js +2 -2
  130. package/dist/cjs/src/util/find-shape-at-path.js +1 -1
  131. package/dist/cjs/src/util/form-config.js +0 -1
  132. package/dist/cjs/src/util/get-conflicting-properties.js +1 -1
  133. package/dist/cjs/src/util/merge.js +22 -13
  134. package/dist/cjs/src/util/patch-schema.js +2 -2
  135. package/dist/cjs/src/util/shapes.js +2 -2
  136. package/dist/cjs/src/validate.js +64 -47
  137. package/dist/cjs/src/workflows.js +4 -4
  138. package/dist/esm/src/agents.js +6 -6
  139. package/dist/esm/src/api-version.js +1 -1
  140. package/dist/esm/src/content-schema-transform.js +12 -12
  141. package/dist/esm/src/create-input-schema.js +1 -1
  142. package/dist/esm/src/enum.js +1 -1
  143. package/dist/esm/src/flatten-templates.js +4 -4
  144. package/dist/esm/src/get-is-leaf.js +1 -1
  145. package/dist/esm/src/interfaces.js +12 -10
  146. package/dist/esm/src/layers/layers.js +12 -6
  147. package/dist/esm/src/layers/refs.js +3 -3
  148. package/dist/esm/src/layers/type-utils.js +1 -1
  149. package/dist/esm/src/migration/index.js +3 -1
  150. package/dist/esm/src/migration/to/v3.0.0.js +20 -8
  151. package/dist/esm/src/migration/to/v3.1.0.js +6 -4
  152. package/dist/esm/src/migration/to/v3.10.0.js +1 -1
  153. package/dist/esm/src/migration/to/v3.13.0.js +1 -1
  154. package/dist/esm/src/migration/to/v3.17.0.js +1 -1
  155. package/dist/esm/src/migration/to/v3.18.0.js +4 -4
  156. package/dist/esm/src/migration/to/v3.18.1.js +1 -1
  157. package/dist/esm/src/migration/to/v3.18.2.js +1 -1
  158. package/dist/esm/src/migration/to/v3.20.0.js +5 -2
  159. package/dist/esm/src/migration/to/v3.22.0.js +1 -1
  160. package/dist/esm/src/migration/to/v3.31.0.js +2 -2
  161. package/dist/esm/src/migration/to/v3.32.0.js +3 -1
  162. package/dist/esm/src/migration/to/v3.34.0.js +6 -9
  163. package/dist/esm/src/migration/to/v3.36.0.js +1 -1
  164. package/dist/esm/src/migration/to/v3.39.0.js +8 -8
  165. package/dist/esm/src/migration/to/v3.40.0.js +1 -1
  166. package/dist/esm/src/migration/to/v3.46.0.js +1 -1
  167. package/dist/esm/src/migration/to/v3.51.0.js +10 -0
  168. package/dist/esm/src/migration/to/v3.9.0.js +3 -3
  169. package/dist/esm/src/mocks.js +1 -1
  170. package/dist/esm/src/models/project-schema.js +4 -4
  171. package/dist/esm/src/models/shape.js +2 -2
  172. package/dist/esm/src/project-schema/index.js +3 -1
  173. package/dist/esm/src/project-schema/migrate.js +4 -2
  174. package/dist/esm/src/project-schema/v3.51.0.js +7 -0
  175. package/dist/esm/src/refs.js +29 -19
  176. package/dist/esm/src/relationships.js +26 -21
  177. package/dist/esm/src/runtime-schema.js +16 -9
  178. package/dist/esm/src/schema-transform.js +3 -3
  179. package/dist/esm/src/schema-util.js +40 -32
  180. package/dist/esm/src/schemas/auth-schemas.json +18 -78
  181. package/dist/esm/src/schemas/index.js +15 -13
  182. package/dist/esm/src/schemas/project-schema/experimental.json +7 -20
  183. package/dist/esm/src/schemas/project-schema/latest.json +166 -566
  184. package/dist/esm/src/schemas/project-schema/meta-schema-v1.0.0.json +3 -17
  185. package/dist/esm/src/schemas/project-schema/meta-schema-v3.0.0.json +4 -4
  186. package/dist/esm/src/schemas/project-schema/meta-schema-v3.1.0.json +4 -4
  187. package/dist/esm/src/schemas/project-schema/meta-schema-v3.2.0.json +5 -5
  188. package/dist/esm/src/schemas/project-schema/meta-schema-v3.3.0.json +5 -5
  189. package/dist/esm/src/schemas/project-schema/meta-schema-v3.4.0.json +11 -43
  190. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.0.json +7 -7
  191. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.1.json +8 -11
  192. package/dist/esm/src/schemas/project-schema/meta-schema-v3.6.0.json +8 -11
  193. package/dist/esm/src/schemas/project-schema/meta-schema-v3.7.0.json +11 -9
  194. package/dist/esm/src/schemas/project-schema/meta-schema-v3.8.0.json +11 -9
  195. package/dist/esm/src/schemas/project-schema/meta-schema-v3.9.0.json +24 -22
  196. package/dist/esm/src/schemas/project-schema/v1.0.0.json +3 -3
  197. package/dist/esm/src/schemas/project-schema/v3.0.0.json +1 -1
  198. package/dist/esm/src/schemas/project-schema/v3.1.0.json +2 -2
  199. package/dist/esm/src/schemas/project-schema/v3.10.0.json +32 -30
  200. package/dist/esm/src/schemas/project-schema/v3.11.0.json +32 -30
  201. package/dist/esm/src/schemas/project-schema/v3.12.0.json +33 -36
  202. package/dist/esm/src/schemas/project-schema/v3.12.1.json +33 -36
  203. package/dist/esm/src/schemas/project-schema/v3.12.2.json +2122 -2125
  204. package/dist/esm/src/schemas/project-schema/v3.12.3.json +2175 -2178
  205. package/dist/esm/src/schemas/project-schema/v3.13.0.json +32 -30
  206. package/dist/esm/src/schemas/project-schema/v3.14.0.json +32 -30
  207. package/dist/esm/src/schemas/project-schema/v3.15.0.json +40 -38
  208. package/dist/esm/src/schemas/project-schema/v3.16.0.json +40 -38
  209. package/dist/esm/src/schemas/project-schema/v3.17.0.json +47 -39
  210. package/dist/esm/src/schemas/project-schema/v3.17.1.json +2204 -2196
  211. package/dist/esm/src/schemas/project-schema/v3.18.0.json +40 -38
  212. package/dist/esm/src/schemas/project-schema/v3.18.1.json +40 -38
  213. package/dist/esm/src/schemas/project-schema/v3.18.2.json +40 -38
  214. package/dist/esm/src/schemas/project-schema/v3.19.0.json +40 -38
  215. package/dist/esm/src/schemas/project-schema/v3.2.0.json +1 -1
  216. package/dist/esm/src/schemas/project-schema/v3.20.0.json +40 -38
  217. package/dist/esm/src/schemas/project-schema/v3.21.0.json +41 -39
  218. package/dist/esm/src/schemas/project-schema/v3.22.0.json +41 -39
  219. package/dist/esm/src/schemas/project-schema/v3.23.0.json +43 -43
  220. package/dist/esm/src/schemas/project-schema/v3.24.0.json +105 -458
  221. package/dist/esm/src/schemas/project-schema/v3.25.0.json +105 -458
  222. package/dist/esm/src/schemas/project-schema/v3.26.0.json +107 -466
  223. package/dist/esm/src/schemas/project-schema/v3.27.0.json +107 -466
  224. package/dist/esm/src/schemas/project-schema/v3.28.0.json +112 -471
  225. package/dist/esm/src/schemas/project-schema/v3.29.0.json +112 -471
  226. package/dist/esm/src/schemas/project-schema/v3.3.0.json +1 -1
  227. package/dist/esm/src/schemas/project-schema/v3.30.0.json +112 -472
  228. package/dist/esm/src/schemas/project-schema/v3.31.0.json +112 -486
  229. package/dist/esm/src/schemas/project-schema/v3.32.0.json +113 -488
  230. package/dist/esm/src/schemas/project-schema/v3.33.0.json +113 -488
  231. package/dist/esm/src/schemas/project-schema/v3.34.0.json +113 -488
  232. package/dist/esm/src/schemas/project-schema/v3.35.0.json +114 -491
  233. package/dist/esm/src/schemas/project-schema/v3.36.0.json +114 -491
  234. package/dist/esm/src/schemas/project-schema/v3.37.0.json +118 -511
  235. package/dist/esm/src/schemas/project-schema/v3.38.0.json +118 -511
  236. package/dist/esm/src/schemas/project-schema/v3.39.0.json +118 -511
  237. package/dist/esm/src/schemas/project-schema/v3.4.0.json +1 -1
  238. package/dist/esm/src/schemas/project-schema/v3.40.0.json +118 -512
  239. package/dist/esm/src/schemas/project-schema/v3.41.0.json +118 -512
  240. package/dist/esm/src/schemas/project-schema/v3.42.0.json +118 -512
  241. package/dist/esm/src/schemas/project-schema/v3.43.0.json +118 -512
  242. package/dist/esm/src/schemas/project-schema/v3.44.0.json +125 -540
  243. package/dist/esm/src/schemas/project-schema/v3.45.0.json +128 -554
  244. package/dist/esm/src/schemas/project-schema/v3.46.0.json +129 -560
  245. package/dist/esm/src/schemas/project-schema/v3.47.0.json +131 -568
  246. package/dist/esm/src/schemas/project-schema/v3.48.0.json +132 -572
  247. package/dist/esm/src/schemas/project-schema/v3.49.0.json +132 -558
  248. package/dist/esm/src/schemas/project-schema/v3.5.0.json +1 -1
  249. package/dist/esm/src/schemas/project-schema/v3.5.1.json +1 -1
  250. package/dist/esm/src/schemas/project-schema/v3.50.0.json +165 -565
  251. package/dist/esm/src/schemas/project-schema/v3.51.0.json +3320 -0
  252. package/dist/esm/src/schemas/project-schema/v3.6.0.json +1 -1
  253. package/dist/esm/src/schemas/project-schema/v3.7.0.json +1 -1
  254. package/dist/esm/src/schemas/project-schema/v3.8.0.json +1 -1
  255. package/dist/esm/src/schemas/project-schema/v3.9.0.json +1 -1
  256. package/dist/esm/src/schemas/project-schema/v4.0.0.json +31 -29
  257. package/dist/esm/src/schemas/project-schema.json +3 -0
  258. package/dist/esm/src/schemas/user-schema.json +2 -9
  259. package/dist/esm/src/service-dependencies.js +17 -11
  260. package/dist/esm/src/services/services.js +12 -11
  261. package/dist/esm/src/services/util.js +4 -4
  262. package/dist/esm/src/template-shapes/templates.js +18 -12
  263. package/dist/esm/src/template-shapes/where.js +24 -15
  264. package/dist/esm/src/types/utils.js +3 -3
  265. package/dist/esm/src/unions.js +6 -8
  266. package/dist/esm/src/util/api-indexing.js +4 -4
  267. package/dist/esm/src/util/detect-cycles.js +2 -2
  268. package/dist/esm/src/util/find-shape-at-path.js +1 -1
  269. package/dist/esm/src/util/form-config.js +0 -1
  270. package/dist/esm/src/util/get-conflicting-properties.js +1 -1
  271. package/dist/esm/src/util/merge.js +23 -14
  272. package/dist/esm/src/util/patch-schema.js +2 -2
  273. package/dist/esm/src/util/shapes.js +2 -2
  274. package/dist/esm/src/validate.js +64 -47
  275. package/dist/esm/src/workflows.js +4 -4
  276. package/dist/types/src/agents.d.ts +1 -1
  277. package/dist/types/src/builtin-schema.d.ts +2 -2
  278. package/dist/types/src/content-schema-transform.d.ts +1 -1
  279. package/dist/types/src/create-input-schema.d.ts +1 -1
  280. package/dist/types/src/enum.d.ts +1 -1
  281. package/dist/types/src/flatten-templates.d.ts +1 -1
  282. package/dist/types/src/layers/layers.d.ts +1 -1
  283. package/dist/types/src/layers/refs.d.ts +1 -1
  284. package/dist/types/src/layers/type-utils.d.ts +1 -1
  285. package/dist/types/src/layers/visitor.d.ts +2 -2
  286. package/dist/types/src/migration/index.d.ts +1 -0
  287. package/dist/types/src/migration/to/v3.17.1.d.ts +1 -1
  288. package/dist/types/src/migration/to/v3.19.0.d.ts +1 -1
  289. package/dist/types/src/migration/to/v3.21.0.d.ts +1 -1
  290. package/dist/types/src/migration/to/v3.22.0.d.ts +1 -1
  291. package/dist/types/src/migration/to/v3.23.0.d.ts +1 -1
  292. package/dist/types/src/migration/to/v3.24.0.d.ts +1 -1
  293. package/dist/types/src/migration/to/v3.25.0.d.ts +1 -1
  294. package/dist/types/src/migration/to/v3.26.0.d.ts +1 -1
  295. package/dist/types/src/migration/to/v3.27.0.d.ts +1 -1
  296. package/dist/types/src/migration/to/v3.28.0.d.ts +1 -1
  297. package/dist/types/src/migration/to/v3.29.0.d.ts +1 -1
  298. package/dist/types/src/migration/to/v3.30.0.d.ts +1 -1
  299. package/dist/types/src/migration/to/v3.31.0.d.ts +1 -1
  300. package/dist/types/src/migration/to/v3.32.0.d.ts +1 -1
  301. package/dist/types/src/migration/to/v3.33.0.d.ts +1 -1
  302. package/dist/types/src/migration/to/v3.34.0.d.ts +1 -1
  303. package/dist/types/src/migration/to/v3.35.0.d.ts +1 -1
  304. package/dist/types/src/migration/to/v3.36.0.d.ts +1 -1
  305. package/dist/types/src/migration/to/v3.37.0.d.ts +1 -1
  306. package/dist/types/src/migration/to/v3.38.0.d.ts +1 -1
  307. package/dist/types/src/migration/to/v3.39.0.d.ts +1 -1
  308. package/dist/types/src/migration/to/v3.40.0.d.ts +1 -1
  309. package/dist/types/src/migration/to/v3.41.0.d.ts +1 -1
  310. package/dist/types/src/migration/to/v3.42.0.d.ts +1 -1
  311. package/dist/types/src/migration/to/v3.43.0.d.ts +1 -1
  312. package/dist/types/src/migration/to/v3.44.0.d.ts +1 -1
  313. package/dist/types/src/migration/to/v3.45.0.d.ts +1 -1
  314. package/dist/types/src/migration/to/v3.46.0.d.ts +1 -1
  315. package/dist/types/src/migration/to/v3.47.0.d.ts +1 -1
  316. package/dist/types/src/migration/to/v3.48.0.d.ts +1 -1
  317. package/dist/types/src/migration/to/v3.49.0.d.ts +1 -1
  318. package/dist/types/src/migration/to/v3.50.0.d.ts +1 -1
  319. package/dist/types/src/migration/to/v3.51.0.d.ts +4 -0
  320. package/dist/types/src/migration/types.d.ts +1 -1
  321. package/dist/types/src/mocks.d.ts +1 -1
  322. package/dist/types/src/models/project-schema.d.ts +3 -3
  323. package/dist/types/src/models/query.d.ts +2 -2
  324. package/dist/types/src/models/service.d.ts +2 -2
  325. package/dist/types/src/models/shape.d.ts +2 -2
  326. package/dist/types/src/project-schema/index.d.ts +4 -1
  327. package/dist/types/src/project-schema/latest.d.ts +28 -10
  328. package/dist/types/src/project-schema/v3.50.0.d.ts +27 -9
  329. package/dist/types/src/project-schema/v3.51.0.d.ts +2189 -0
  330. package/dist/types/src/refs.d.ts +1 -1
  331. package/dist/types/src/relationships.d.ts +2 -2
  332. package/dist/types/src/runtime-schema.d.ts +1 -1
  333. package/dist/types/src/schema-transform.d.ts +1 -1
  334. package/dist/types/src/schema-util.d.ts +2 -2
  335. package/dist/types/src/schemas/index.d.ts +2 -2
  336. package/dist/types/src/service-dependencies.d.ts +2 -2
  337. package/dist/types/src/services/services.d.ts +3 -3
  338. package/dist/types/src/services/util.d.ts +2 -2
  339. package/dist/types/src/template-shapes/index.d.ts +2 -2
  340. package/dist/types/src/template-shapes/names.d.ts +1 -1
  341. package/dist/types/src/template-shapes/types.d.ts +2 -2
  342. package/dist/types/src/template-shapes/where.d.ts +1 -1
  343. package/dist/types/src/types/transforms.d.ts +1 -1
  344. package/dist/types/src/types/types.d.ts +4 -4
  345. package/dist/types/src/types/utils.d.ts +2 -2
  346. package/dist/types/src/unions.d.ts +2 -2
  347. package/dist/types/src/util/ai-tools.d.ts +1 -1
  348. package/dist/types/src/util/api-indexing.d.ts +1 -1
  349. package/dist/types/src/util/detect-cycles.d.ts +1 -1
  350. package/dist/types/src/util/find-shape-at-path.d.ts +1 -1
  351. package/dist/types/src/util/form-config.d.ts +1 -1
  352. package/dist/types/src/util/get-conflicting-properties.d.ts +1 -1
  353. package/dist/types/src/util/get-return-shape.d.ts +1 -1
  354. package/dist/types/src/util/has-arg.d.ts +2 -2
  355. package/dist/types/src/util/merge.d.ts +1 -1
  356. package/dist/types/src/util/patch-schema.d.ts +2 -2
  357. package/dist/types/src/util/shapes.d.ts +1 -1
  358. package/dist/types/src/validate.d.ts +4 -4
  359. package/dist/types/src/workflows.d.ts +1 -1
  360. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  361. package/examples/latest/agent-schema.json +5 -13
  362. package/examples/latest/all-fields-shapes-inline.json +19 -53
  363. package/examples/latest/all-fields-shapes.json +27 -77
  364. package/examples/latest/betzino.json +903 -3140
  365. package/examples/latest/blog-schema.json +9 -29
  366. package/examples/latest/brewery-schema.json +8 -26
  367. package/examples/latest/clear-cache-schema.json +4 -8
  368. package/examples/latest/complex-project-schema.json +99 -360
  369. package/examples/latest/complex-schema.json +487 -1754
  370. package/examples/latest/edit-schema.json +5 -12
  371. package/examples/latest/fabric-ecommerce.json +188 -839
  372. package/examples/latest/frank-and-fred-schema.json +489 -1756
  373. package/examples/latest/klirr-schema.json +683 -2412
  374. package/examples/latest/layers/rick-and-morty-layer.json +12 -33
  375. package/examples/latest/layers/shopify-layer-2023-01.json +2207 -8638
  376. package/examples/latest/layers/shopify-storefront-2023-04.json +403 -1713
  377. package/examples/latest/layers/wordpress-2024-01.json +689 -2744
  378. package/examples/latest/massive-schema.json +132 -585
  379. package/examples/latest/mill-components-schema.json +30 -126
  380. package/examples/latest/nested-shape-arrays.json +8 -20
  381. package/examples/latest/one-earth.json +237 -1114
  382. package/examples/latest/pet-oneof-array.json +8 -23
  383. package/examples/latest/post-schema.json +7 -21
  384. package/examples/latest/pruned-shopify-product-schema.json +186 -831
  385. package/examples/latest/rag-example.json +6 -16
  386. package/examples/latest/real-world-schema.json +15 -57
  387. package/examples/latest/recursive-repeater-schema.json +5 -12
  388. package/examples/latest/recursive-schema.json +5 -12
  389. package/examples/latest/rick-and-morty-ast.json +46 -175
  390. package/examples/latest/rick-and-morty-graphql.json +26 -101
  391. package/examples/latest/rick-and-morty-rest.json +4 -8
  392. package/examples/latest/rick-and-morty-with-indexing.json +6 -14
  393. package/examples/latest/schema-where-filter.json +12 -41
  394. package/examples/latest/schema-with-repeater-draftjs.json +4 -9
  395. package/examples/latest/schema-with-rick-and-morty.json +3 -5
  396. package/examples/latest/shape-books-v3_2_0.json +18 -72
  397. package/examples/latest/shape-books.json +18 -72
  398. package/examples/latest/shape-editor-schema-edited.json +24 -70
  399. package/examples/latest/shape-editor-schema-initial.json +11 -29
  400. package/examples/latest/shapedb-crud-every-prop-type.json +9 -23
  401. package/examples/latest/shopify-lookbook.json +6 -20
  402. package/examples/latest/shopify-product-2022-07.json +727 -3218
  403. package/examples/latest/shopify-product-2023-04.json +1013 -4497
  404. package/examples/latest/shopify-store-with-widget.json +214 -943
  405. package/examples/latest/stripe-product-runtime-schema.json +82 -278
  406. package/examples/latest/stripe-starter-resolved.json +477 -1954
  407. package/examples/latest/user-schema-no-required.json +4 -14
  408. package/examples/latest/user-schema-with-defaults.json +6 -28
  409. package/examples/latest/valvoline-ai-demo.json +18 -70
  410. package/examples/latest/vector-search-schema.json +9 -25
  411. package/examples/source/agent-schema.json +29 -16
  412. package/examples/source/all-fields-shapes-inline.json +21 -30
  413. package/examples/source/all-fields-shapes.json +26 -76
  414. package/examples/source/betzino.json +1501 -4960
  415. package/examples/source/blog-schema.json +1 -1
  416. package/examples/source/brewery-schema.json +1 -1
  417. package/examples/source/clear-cache-schema.json +4 -4
  418. package/examples/source/complex-project-schema.json +196 -688
  419. package/examples/source/edit-schema.json +3 -3
  420. package/examples/source/fabric-ecommerce.json +186 -837
  421. package/examples/source/frank-and-fred-schema.json +1136 -3929
  422. package/examples/source/layers/rick-and-morty-layer.json +10 -31
  423. package/examples/source/layers/shopify-layer-2023-01.json +2205 -8636
  424. package/examples/source/layers/shopify-storefront-2023-04.json +401 -1711
  425. package/examples/source/layers/wordpress-2024-01.json +689 -2743
  426. package/examples/source/massive-schema.json +386 -1455
  427. package/examples/source/nested-shape-arrays.json +12 -12
  428. package/examples/source/pet-oneof-array.json +31 -29
  429. package/examples/source/post-schema.json +1 -1
  430. package/examples/source/pruned-shopify-product-schema.json +184 -829
  431. package/examples/source/rag-example.json +5 -15
  432. package/examples/source/real-world-schema.json +32 -119
  433. package/examples/source/recursive-repeater-schema.json +3 -8
  434. package/examples/source/recursive-schema.json +1 -1
  435. package/examples/source/rick-and-morty-ast.json +66 -251
  436. package/examples/source/rick-and-morty-graphql.json +41 -162
  437. package/examples/source/rick-and-morty-rest.json +24 -6
  438. package/examples/source/rick-and-morty-with-indexing.json +25 -25
  439. package/examples/source/schema-where-filter.json +29 -50
  440. package/examples/source/schema-with-repeater-draftjs.json +9 -31
  441. package/examples/source/schema-with-rick-and-morty.json +4 -4
  442. package/examples/source/shape-books.json +49 -181
  443. package/examples/source/shape-editor-schema-edited.json +22 -68
  444. package/examples/source/shape-editor-schema-initial.json +9 -27
  445. package/examples/source/shapedb-crud-every-prop-type.json +20 -29
  446. package/examples/source/shopify-product-2022-07.json +736 -3261
  447. package/examples/source/shopify-product-2023-04.json +1022 -4540
  448. package/examples/source/shopify-store-with-widget.json +212 -941
  449. package/examples/source/stripe-product-runtime-schema.json +91 -321
  450. package/examples/source/stripe-starter-resolved.json +475 -1952
  451. package/examples/source/user-schema-with-defaults.json +1 -9
  452. package/examples/source/valvoline-ai-demo.json +175 -219
  453. package/examples/source/vector-search-schema.json +37 -38
  454. package/examples/v4_0_0/rick-and-morty-notes/flattened-schema.json +15 -49
  455. package/examples/v4_0_0/rick-and-morty-notes/layers/character-notes.json +8 -8
  456. package/examples/v4_0_0/rick-and-morty-notes/layers/takeshape-builtins.json +1 -3
  457. package/examples/v4_0_0/rick-and-morty-notes/layers/takeshape-static-sites.json +19 -79
  458. package/examples/v4_0_0/rick-and-morty-notes/schema.json +8 -5
  459. package/examples/v4_0_0/shopify-lookbook/flattened-schema.json +190 -851
  460. package/examples/v4_0_0/shopify-lookbook/layers/andrews-store.json +1103 -4431
  461. package/examples/v4_0_0/shopify-lookbook/layers/lookbook.json +64 -56
  462. package/examples/v4_0_0/shopify-lookbook/layers/takeshape-assets.json +1 -4
  463. package/examples/v4_0_0/shopify-lookbook/layers/takeshape-builtins.json +1 -3
  464. package/examples/v4_0_0/shopify-lookbook/schema.json +3 -10
  465. package/package.json +12 -9
@@ -5,9 +5,7 @@
5
5
  "created": "2022-08-30T16:56:17.696Z",
6
6
  "updated": "2022-08-30T16:57:18.934Z",
7
7
  "defaultLocale": "en-us",
8
- "locales": [
9
- "en-us"
10
- ],
8
+ "locales": ["en-us"],
11
9
  "apiVersion": "2",
12
10
  "schemaVersion": "3.19.0",
13
11
  "queries": {
@@ -232,9 +230,7 @@
232
230
  "type": "string"
233
231
  }
234
232
  },
235
- "required": [
236
- "id"
237
- ]
233
+ "required": ["id"]
238
234
  }
239
235
  },
240
236
  "searchAssetIndex": {
@@ -418,9 +414,7 @@
418
414
  "_shapeId": {
419
415
  "type": "string",
420
416
  "title": "Shape Id",
421
- "enum": [
422
- "ASSET"
423
- ]
417
+ "enum": ["ASSET"]
424
418
  },
425
419
  "_id": {
426
420
  "title": "Id",
@@ -499,10 +493,7 @@
499
493
  "@deprecationReason": "Use path instead"
500
494
  }
501
495
  },
502
- "required": [
503
- "filename",
504
- "path"
505
- ]
496
+ "required": ["filename", "path"]
506
497
  }
507
498
  },
508
499
  "TSRelationship": {
@@ -526,9 +517,7 @@
526
517
  "type": "string"
527
518
  }
528
519
  },
529
- "required": [
530
- "id"
531
- ]
520
+ "required": ["id"]
532
521
  }
533
522
  },
534
523
  "TSStaticSite": {
@@ -562,39 +551,27 @@
562
551
  "@l10n": false,
563
552
  "oneOf": [
564
553
  {
565
- "enum": [
566
- "s3"
567
- ],
554
+ "enum": ["s3"],
568
555
  "title": "S3"
569
556
  },
570
557
  {
571
- "enum": [
572
- "gcs"
573
- ],
558
+ "enum": ["gcs"],
574
559
  "title": "Google Cloud Storage"
575
560
  },
576
561
  {
577
- "enum": [
578
- "ftp"
579
- ],
562
+ "enum": ["ftp"],
580
563
  "title": "FTP Client"
581
564
  },
582
565
  {
583
- "enum": [
584
- "azure"
585
- ],
566
+ "enum": ["azure"],
586
567
  "title": "Azure Storage Account"
587
568
  },
588
569
  {
589
- "enum": [
590
- "netlify"
591
- ],
570
+ "enum": ["netlify"],
592
571
  "title": "Netlify"
593
572
  },
594
573
  {
595
- "enum": [
596
- "vercel"
597
- ],
574
+ "enum": ["vercel"],
598
575
  "title": "Vercel"
599
576
  }
600
577
  ],
@@ -654,9 +631,7 @@
654
631
  "_shapeId": {
655
632
  "type": "string",
656
633
  "title": "Shape Id",
657
- "enum": [
658
- "SITE"
659
- ]
634
+ "enum": ["SITE"]
660
635
  },
661
636
  "_id": {
662
637
  "title": "Id",
@@ -729,11 +704,7 @@
729
704
  "type": "string"
730
705
  }
731
706
  },
732
- "required": [
733
- "title",
734
- "provider",
735
- "destination"
736
- ]
707
+ "required": ["title", "provider", "destination"]
737
708
  }
738
709
  },
739
710
  "TSStaticSiteEnvironmentVariables": {
@@ -794,11 +765,7 @@
794
765
  "type": "string"
795
766
  }
796
767
  },
797
- "required": [
798
- "id",
799
- "email",
800
- "fullName"
801
- ]
768
+ "required": ["id", "email", "fullName"]
802
769
  }
803
770
  },
804
771
  "Stripe_ListProductsResponse": {
@@ -821,9 +788,7 @@
821
788
  },
822
789
  "object": {
823
790
  "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
824
- "enum": [
825
- "list"
826
- ]
791
+ "enum": ["list"]
827
792
  },
828
793
  "url": {
829
794
  "description": "The URL where this list can be accessed.",
@@ -897,9 +862,7 @@
897
862
  },
898
863
  "object": {
899
864
  "description": "String representing the object's type. Objects of the same type share the same value.",
900
- "enum": [
901
- "product"
902
- ]
865
+ "enum": ["product"]
903
866
  },
904
867
  "package_dimensions": {
905
868
  "@ref": "stripe:PackageDimensions"
@@ -945,9 +908,7 @@
945
908
  "_shapeId": {
946
909
  "type": "string",
947
910
  "title": "Shape Id",
948
- "enum": [
949
- "Stripe_Product"
950
- ]
911
+ "enum": ["Stripe_Product"]
951
912
  },
952
913
  "_id": {
953
914
  "title": "Id",
@@ -967,9 +928,7 @@
967
928
  "type": "string"
968
929
  }
969
930
  },
970
- "required": [
971
- "value"
972
- ],
931
+ "required": ["value"],
973
932
  "additionalProperties": false
974
933
  }
975
934
  },
@@ -986,10 +945,7 @@
986
945
  },
987
946
  "billing_scheme": {
988
947
  "description": "Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `unit_amount` or `unit_amount_decimal`) will be charged per unit in `quantity` (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes.",
989
- "enum": [
990
- "per_unit",
991
- "tiered"
992
- ]
948
+ "enum": ["per_unit", "tiered"]
993
949
  },
994
950
  "created": {
995
951
  "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
@@ -1032,9 +988,7 @@
1032
988
  },
1033
989
  "object": {
1034
990
  "description": "String representing the object's type. Objects of the same type share the same value.",
1035
- "enum": [
1036
- "price"
1037
- ]
991
+ "enum": ["price"]
1038
992
  },
1039
993
  "product": {
1040
994
  "oneOf": [
@@ -1058,12 +1012,7 @@
1058
1012
  },
1059
1013
  "tax_behavior": {
1060
1014
  "description": "Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.",
1061
- "enum": [
1062
- "exclusive",
1063
- "inclusive",
1064
- "unspecified",
1065
- null
1066
- ]
1015
+ "enum": ["exclusive", "inclusive", "unspecified", null]
1067
1016
  },
1068
1017
  "tiers": {
1069
1018
  "description": "Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.",
@@ -1074,21 +1023,14 @@
1074
1023
  },
1075
1024
  "tiers_mode": {
1076
1025
  "description": "Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows.",
1077
- "enum": [
1078
- "graduated",
1079
- "volume",
1080
- null
1081
- ]
1026
+ "enum": ["graduated", "volume", null]
1082
1027
  },
1083
1028
  "transform_quantity": {
1084
1029
  "@ref": "stripe:TransformQuantity"
1085
1030
  },
1086
1031
  "type": {
1087
1032
  "description": "One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.",
1088
- "enum": [
1089
- "one_time",
1090
- "recurring"
1091
- ]
1033
+ "enum": ["one_time", "recurring"]
1092
1034
  },
1093
1035
  "unit_amount": {
1094
1036
  "description": "The unit amount in %s to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.",
@@ -1152,9 +1094,7 @@
1152
1094
  },
1153
1095
  "object": {
1154
1096
  "description": "String representing the object's type. Objects of the same type share the same value.",
1155
- "enum": [
1156
- "tax_code"
1157
- ]
1097
+ "enum": ["tax_code"]
1158
1098
  }
1159
1099
  }
1160
1100
  }
@@ -1199,9 +1139,7 @@
1199
1139
  },
1200
1140
  "object": {
1201
1141
  "description": "String representing the object's type. Objects of the same type share the same value.",
1202
- "enum": [
1203
- "product"
1204
- ]
1142
+ "enum": ["product"]
1205
1143
  }
1206
1144
  }
1207
1145
  }
@@ -1215,22 +1153,11 @@
1215
1153
  "properties": {
1216
1154
  "aggregate_usage": {
1217
1155
  "description": "Specifies a usage aggregation strategy for prices of `usage_type=metered`. Allowed values are `sum` for summing up all usage during a period, `last_during_period` for using the last usage record reported within a period, `last_ever` for using the last usage record ever (across period bounds) or `max` which uses the usage record with the maximum reported usage during a period. Defaults to `sum`.",
1218
- "enum": [
1219
- "last_during_period",
1220
- "last_ever",
1221
- "max",
1222
- "sum",
1223
- null
1224
- ]
1156
+ "enum": ["last_during_period", "last_ever", "max", "sum", null]
1225
1157
  },
1226
1158
  "interval": {
1227
1159
  "description": "The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.",
1228
- "enum": [
1229
- "day",
1230
- "month",
1231
- "week",
1232
- "year"
1233
- ]
1160
+ "enum": ["day", "month", "week", "year"]
1234
1161
  },
1235
1162
  "interval_count": {
1236
1163
  "description": "The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.",
@@ -1238,10 +1165,7 @@
1238
1165
  },
1239
1166
  "usage_type": {
1240
1167
  "description": "Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`.",
1241
- "enum": [
1242
- "licensed",
1243
- "metered"
1244
- ]
1168
+ "enum": ["licensed", "metered"]
1245
1169
  }
1246
1170
  }
1247
1171
  }
@@ -1291,10 +1215,7 @@
1291
1215
  },
1292
1216
  "round": {
1293
1217
  "description": "After division, either round the result `up` or `down`.",
1294
- "enum": [
1295
- "down",
1296
- "up"
1297
- ]
1218
+ "enum": ["down", "up"]
1298
1219
  }
1299
1220
  }
1300
1221
  }
@@ -1326,9 +1247,7 @@
1326
1247
  "default": true
1327
1248
  }
1328
1249
  },
1329
- "required": [
1330
- "_id"
1331
- ]
1250
+ "required": ["_id"]
1332
1251
  }
1333
1252
  },
1334
1253
  "TSWhereAssetInput": {
@@ -1636,10 +1555,7 @@
1636
1555
  "description": "\"asc\" for ascending or \"desc\" for descending"
1637
1556
  }
1638
1557
  },
1639
- "required": [
1640
- "field",
1641
- "order"
1642
- ]
1558
+ "required": ["field", "order"]
1643
1559
  }
1644
1560
  },
1645
1561
  "AssetTSListArgs": {
@@ -1707,10 +1623,7 @@
1707
1623
  "type": "integer"
1708
1624
  }
1709
1625
  },
1710
- "required": [
1711
- "items",
1712
- "total"
1713
- ]
1626
+ "required": ["items", "total"]
1714
1627
  }
1715
1628
  },
1716
1629
  "TSStaticSiteTSGetArgs": {
@@ -1731,9 +1644,7 @@
1731
1644
  "default": true
1732
1645
  }
1733
1646
  },
1734
- "required": [
1735
- "_id"
1736
- ]
1647
+ "required": ["_id"]
1737
1648
  }
1738
1649
  },
1739
1650
  "TSWhereTSStaticSiteInput": {
@@ -1929,10 +1840,7 @@
1929
1840
  "type": "integer"
1930
1841
  }
1931
1842
  },
1932
- "required": [
1933
- "items",
1934
- "total"
1935
- ]
1843
+ "required": ["items", "total"]
1936
1844
  }
1937
1845
  },
1938
1846
  "AssetTSSearchArgs": {
@@ -1995,10 +1903,7 @@
1995
1903
  "type": "integer"
1996
1904
  }
1997
1905
  },
1998
- "required": [
1999
- "results",
2000
- "total"
2001
- ]
1906
+ "required": ["results", "total"]
2002
1907
  },
2003
1908
  "description": "Asset search results"
2004
1909
  },
@@ -2062,10 +1967,7 @@
2062
1967
  "type": "integer"
2063
1968
  }
2064
1969
  },
2065
- "required": [
2066
- "results",
2067
- "total"
2068
- ]
1970
+ "required": ["results", "total"]
2069
1971
  },
2070
1972
  "description": "TSStaticSite search results"
2071
1973
  },
@@ -2561,10 +2463,7 @@
2561
2463
  "type": "integer"
2562
2464
  }
2563
2465
  },
2564
- "required": [
2565
- "results",
2566
- "total"
2567
- ]
2466
+ "required": ["results", "total"]
2568
2467
  },
2569
2468
  "description": "TSSearchable search results"
2570
2469
  },
@@ -2640,9 +2539,7 @@
2640
2539
  "_shapeId": {
2641
2540
  "type": "string",
2642
2541
  "title": "Shape Id",
2643
- "enum": [
2644
- "ASSET"
2645
- ]
2542
+ "enum": ["ASSET"]
2646
2543
  },
2647
2544
  "_version": {
2648
2545
  "title": "Version",
@@ -2717,9 +2614,7 @@
2717
2614
  "@deprecationReason": "Use path instead"
2718
2615
  }
2719
2616
  },
2720
- "required": [
2721
- "_id"
2722
- ]
2617
+ "required": ["_id"]
2723
2618
  },
2724
2619
  "description": "update Asset input"
2725
2620
  },
@@ -2750,9 +2645,7 @@
2750
2645
  "default": true
2751
2646
  }
2752
2647
  },
2753
- "required": [
2754
- "input"
2755
- ]
2648
+ "required": ["input"]
2756
2649
  }
2757
2650
  },
2758
2651
  "ContentStructureInput": {
@@ -2774,9 +2667,7 @@
2774
2667
  }
2775
2668
  }
2776
2669
  },
2777
- "required": [
2778
- "path"
2779
- ]
2670
+ "required": ["path"]
2780
2671
  },
2781
2672
  "description": "Describes a structural update to an array of data."
2782
2673
  },
@@ -2864,9 +2755,7 @@
2864
2755
  "_shapeId": {
2865
2756
  "type": "string",
2866
2757
  "title": "Shape Id",
2867
- "enum": [
2868
- "ASSET"
2869
- ]
2758
+ "enum": ["ASSET"]
2870
2759
  },
2871
2760
  "_id": {
2872
2761
  "title": "Id",
@@ -2945,10 +2834,7 @@
2945
2834
  "@deprecationReason": "Use path instead"
2946
2835
  }
2947
2836
  },
2948
- "required": [
2949
- "filename",
2950
- "path"
2951
- ]
2837
+ "required": ["filename", "path"]
2952
2838
  },
2953
2839
  "description": "create Asset input"
2954
2840
  },
@@ -2966,9 +2852,7 @@
2966
2852
  "type": "string"
2967
2853
  }
2968
2854
  },
2969
- "required": [
2970
- "input"
2971
- ]
2855
+ "required": ["input"]
2972
2856
  }
2973
2857
  },
2974
2858
  "CreateAssetResult": {
@@ -3059,9 +2943,7 @@
3059
2943
  "_shapeId": {
3060
2944
  "type": "string",
3061
2945
  "title": "Shape Id",
3062
- "enum": [
3063
- "ASSET"
3064
- ]
2946
+ "enum": ["ASSET"]
3065
2947
  },
3066
2948
  "_version": {
3067
2949
  "title": "Version",
@@ -3136,9 +3018,7 @@
3136
3018
  "@deprecationReason": "Use path instead"
3137
3019
  }
3138
3020
  },
3139
- "required": [
3140
- "_id"
3141
- ]
3021
+ "required": ["_id"]
3142
3022
  },
3143
3023
  "description": "duplicate Asset input"
3144
3024
  },
@@ -3163,9 +3043,7 @@
3163
3043
  "default": true
3164
3044
  }
3165
3045
  },
3166
- "required": [
3167
- "input"
3168
- ]
3046
+ "required": ["input"]
3169
3047
  }
3170
3048
  },
3171
3049
  "DuplicateAssetResult": {
@@ -3195,9 +3073,7 @@
3195
3073
  "type": "string"
3196
3074
  }
3197
3075
  },
3198
- "required": [
3199
- "_id"
3200
- ]
3076
+ "required": ["_id"]
3201
3077
  },
3202
3078
  "description": "delete Asset input"
3203
3079
  },
@@ -3215,9 +3091,7 @@
3215
3091
  "type": "string"
3216
3092
  }
3217
3093
  },
3218
- "required": [
3219
- "input"
3220
- ]
3094
+ "required": ["input"]
3221
3095
  }
3222
3096
  },
3223
3097
  "DeleteAssetResult": {
@@ -3267,39 +3141,27 @@
3267
3141
  "@l10n": false,
3268
3142
  "oneOf": [
3269
3143
  {
3270
- "enum": [
3271
- "s3"
3272
- ],
3144
+ "enum": ["s3"],
3273
3145
  "title": "S3"
3274
3146
  },
3275
3147
  {
3276
- "enum": [
3277
- "gcs"
3278
- ],
3148
+ "enum": ["gcs"],
3279
3149
  "title": "Google Cloud Storage"
3280
3150
  },
3281
3151
  {
3282
- "enum": [
3283
- "ftp"
3284
- ],
3152
+ "enum": ["ftp"],
3285
3153
  "title": "FTP Client"
3286
3154
  },
3287
3155
  {
3288
- "enum": [
3289
- "azure"
3290
- ],
3156
+ "enum": ["azure"],
3291
3157
  "title": "Azure Storage Account"
3292
3158
  },
3293
3159
  {
3294
- "enum": [
3295
- "netlify"
3296
- ],
3160
+ "enum": ["netlify"],
3297
3161
  "title": "Netlify"
3298
3162
  },
3299
3163
  {
3300
- "enum": [
3301
- "vercel"
3302
- ],
3164
+ "enum": ["vercel"],
3303
3165
  "title": "Vercel"
3304
3166
  }
3305
3167
  ],
@@ -3359,9 +3221,7 @@
3359
3221
  "_shapeId": {
3360
3222
  "type": "string",
3361
3223
  "title": "Shape Id",
3362
- "enum": [
3363
- "SITE"
3364
- ]
3224
+ "enum": ["SITE"]
3365
3225
  },
3366
3226
  "_version": {
3367
3227
  "title": "Version",
@@ -3430,9 +3290,7 @@
3430
3290
  "type": "string"
3431
3291
  }
3432
3292
  },
3433
- "required": [
3434
- "_id"
3435
- ]
3293
+ "required": ["_id"]
3436
3294
  },
3437
3295
  "description": "update TSStaticSite input"
3438
3296
  },
@@ -3463,9 +3321,7 @@
3463
3321
  "default": true
3464
3322
  }
3465
3323
  },
3466
- "required": [
3467
- "input"
3468
- ]
3324
+ "required": ["input"]
3469
3325
  }
3470
3326
  },
3471
3327
  "TSStaticSiteEnvironmentVariablesInput": {
@@ -3550,39 +3406,27 @@
3550
3406
  "@l10n": false,
3551
3407
  "oneOf": [
3552
3408
  {
3553
- "enum": [
3554
- "s3"
3555
- ],
3409
+ "enum": ["s3"],
3556
3410
  "title": "S3"
3557
3411
  },
3558
3412
  {
3559
- "enum": [
3560
- "gcs"
3561
- ],
3413
+ "enum": ["gcs"],
3562
3414
  "title": "Google Cloud Storage"
3563
3415
  },
3564
3416
  {
3565
- "enum": [
3566
- "ftp"
3567
- ],
3417
+ "enum": ["ftp"],
3568
3418
  "title": "FTP Client"
3569
3419
  },
3570
3420
  {
3571
- "enum": [
3572
- "azure"
3573
- ],
3421
+ "enum": ["azure"],
3574
3422
  "title": "Azure Storage Account"
3575
3423
  },
3576
3424
  {
3577
- "enum": [
3578
- "netlify"
3579
- ],
3425
+ "enum": ["netlify"],
3580
3426
  "title": "Netlify"
3581
3427
  },
3582
3428
  {
3583
- "enum": [
3584
- "vercel"
3585
- ],
3429
+ "enum": ["vercel"],
3586
3430
  "title": "Vercel"
3587
3431
  }
3588
3432
  ],
@@ -3642,9 +3486,7 @@
3642
3486
  "_shapeId": {
3643
3487
  "type": "string",
3644
3488
  "title": "Shape Id",
3645
- "enum": [
3646
- "SITE"
3647
- ]
3489
+ "enum": ["SITE"]
3648
3490
  },
3649
3491
  "_id": {
3650
3492
  "title": "Id",
@@ -3717,11 +3559,7 @@
3717
3559
  "type": "string"
3718
3560
  }
3719
3561
  },
3720
- "required": [
3721
- "title",
3722
- "provider",
3723
- "destination"
3724
- ]
3562
+ "required": ["title", "provider", "destination"]
3725
3563
  },
3726
3564
  "description": "create TSStaticSite input"
3727
3565
  },
@@ -3739,9 +3577,7 @@
3739
3577
  "type": "string"
3740
3578
  }
3741
3579
  },
3742
- "required": [
3743
- "input"
3744
- ]
3580
+ "required": ["input"]
3745
3581
  }
3746
3582
  },
3747
3583
  "CreateTSStaticSiteResult": {
@@ -3791,39 +3627,27 @@
3791
3627
  "@l10n": false,
3792
3628
  "oneOf": [
3793
3629
  {
3794
- "enum": [
3795
- "s3"
3796
- ],
3630
+ "enum": ["s3"],
3797
3631
  "title": "S3"
3798
3632
  },
3799
3633
  {
3800
- "enum": [
3801
- "gcs"
3802
- ],
3634
+ "enum": ["gcs"],
3803
3635
  "title": "Google Cloud Storage"
3804
3636
  },
3805
3637
  {
3806
- "enum": [
3807
- "ftp"
3808
- ],
3638
+ "enum": ["ftp"],
3809
3639
  "title": "FTP Client"
3810
3640
  },
3811
3641
  {
3812
- "enum": [
3813
- "azure"
3814
- ],
3642
+ "enum": ["azure"],
3815
3643
  "title": "Azure Storage Account"
3816
3644
  },
3817
3645
  {
3818
- "enum": [
3819
- "netlify"
3820
- ],
3646
+ "enum": ["netlify"],
3821
3647
  "title": "Netlify"
3822
3648
  },
3823
3649
  {
3824
- "enum": [
3825
- "vercel"
3826
- ],
3650
+ "enum": ["vercel"],
3827
3651
  "title": "Vercel"
3828
3652
  }
3829
3653
  ],
@@ -3883,9 +3707,7 @@
3883
3707
  "_shapeId": {
3884
3708
  "type": "string",
3885
3709
  "title": "Shape Id",
3886
- "enum": [
3887
- "SITE"
3888
- ]
3710
+ "enum": ["SITE"]
3889
3711
  },
3890
3712
  "_version": {
3891
3713
  "title": "Version",
@@ -3954,9 +3776,7 @@
3954
3776
  "type": "string"
3955
3777
  }
3956
3778
  },
3957
- "required": [
3958
- "_id"
3959
- ]
3779
+ "required": ["_id"]
3960
3780
  },
3961
3781
  "description": "duplicate TSStaticSite input"
3962
3782
  },
@@ -3981,9 +3801,7 @@
3981
3801
  "default": true
3982
3802
  }
3983
3803
  },
3984
- "required": [
3985
- "input"
3986
- ]
3804
+ "required": ["input"]
3987
3805
  }
3988
3806
  },
3989
3807
  "DuplicateTSStaticSiteResult": {
@@ -4013,9 +3831,7 @@
4013
3831
  "type": "string"
4014
3832
  }
4015
3833
  },
4016
- "required": [
4017
- "_id"
4018
- ]
3834
+ "required": ["_id"]
4019
3835
  },
4020
3836
  "description": "delete TSStaticSite input"
4021
3837
  },
@@ -4033,9 +3849,7 @@
4033
3849
  "type": "string"
4034
3850
  }
4035
3851
  },
4036
- "required": [
4037
- "input"
4038
- ]
3852
+ "required": ["input"]
4039
3853
  }
4040
3854
  },
4041
3855
  "DeleteTSStaticSiteResult": {
@@ -4133,14 +3947,7 @@
4133
3947
  },
4134
3948
  "TSStaticSite": {
4135
3949
  "default": {
4136
- "order": [
4137
- "title",
4138
- "provider",
4139
- "destination",
4140
- "idKey",
4141
- "secretKey",
4142
- "environmentVariables"
4143
- ],
3950
+ "order": ["title", "provider", "destination", "idKey", "secretKey", "environmentVariables"],
4144
3951
  "properties": {
4145
3952
  "title": {
4146
3953
  "widget": "singleLineText",
@@ -4168,10 +3975,7 @@
4168
3975
  },
4169
3976
  "environmentVariables": {
4170
3977
  "widget": "repeater",
4171
- "order": [
4172
- "name",
4173
- "value"
4174
- ],
3978
+ "order": ["name", "value"],
4175
3979
  "disabled": true,
4176
3980
  "properties": {
4177
3981
  "name": {
@@ -4187,11 +3991,7 @@
4187
3991
  }
4188
3992
  },
4189
3993
  "generalHeader": {
4190
- "order": [
4191
- "title",
4192
- "provider",
4193
- "baseUrl"
4194
- ],
3994
+ "order": ["title", "provider", "baseUrl"],
4195
3995
  "properties": {
4196
3996
  "title": {
4197
3997
  "widget": "singleLineText",
@@ -4208,17 +4008,11 @@
4208
4008
  }
4209
4009
  },
4210
4010
  "generalFooter": {
4211
- "order": [
4212
- "environmentVariables",
4213
- "triggers"
4214
- ],
4011
+ "order": ["environmentVariables", "triggers"],
4215
4012
  "properties": {
4216
4013
  "environmentVariables": {
4217
4014
  "widget": "repeater",
4218
- "order": [
4219
- "name",
4220
- "value"
4221
- ],
4015
+ "order": ["name", "value"],
4222
4016
  "disabled": true,
4223
4017
  "properties": {
4224
4018
  "name": {
@@ -4233,10 +4027,7 @@
4233
4027
  },
4234
4028
  "triggers": {
4235
4029
  "widget": "repeater",
4236
- "order": [
4237
- "contentTypeId",
4238
- "status"
4239
- ],
4030
+ "order": ["contentTypeId", "status"],
4240
4031
  "disabled": true,
4241
4032
  "preview": "siteTriggerPreview",
4242
4033
  "properties": {
@@ -4253,12 +4044,7 @@
4253
4044
  }
4254
4045
  },
4255
4046
  "s3": {
4256
- "order": [
4257
- "destination",
4258
- "idKey",
4259
- "secretKey",
4260
- "privateAcl"
4261
- ],
4047
+ "order": ["destination", "idKey", "secretKey", "privateAcl"],
4262
4048
  "properties": {
4263
4049
  "destination": {
4264
4050
  "widget": "singleLineText",
@@ -4284,12 +4070,7 @@
4284
4070
  }
4285
4071
  },
4286
4072
  "gcs": {
4287
- "order": [
4288
- "destination",
4289
- "idKey",
4290
- "secretKey",
4291
- "privateAcl"
4292
- ],
4073
+ "order": ["destination", "idKey", "secretKey", "privateAcl"],
4293
4074
  "properties": {
4294
4075
  "destination": {
4295
4076
  "widget": "singleLineText",
@@ -4315,11 +4096,7 @@
4315
4096
  }
4316
4097
  },
4317
4098
  "ftp": {
4318
- "order": [
4319
- "destination",
4320
- "idKey",
4321
- "secretKey"
4322
- ],
4099
+ "order": ["destination", "idKey", "secretKey"],
4323
4100
  "properties": {
4324
4101
  "destination": {
4325
4102
  "widget": "singleLineText",
@@ -4340,10 +4117,7 @@
4340
4117
  }
4341
4118
  },
4342
4119
  "azure": {
4343
- "order": [
4344
- "destination",
4345
- "secretKey"
4346
- ],
4120
+ "order": ["destination", "secretKey"],
4347
4121
  "properties": {
4348
4122
  "destination": {
4349
4123
  "widget": "singleLineText",
@@ -4359,9 +4133,7 @@
4359
4133
  }
4360
4134
  },
4361
4135
  "netlify": {
4362
- "order": [
4363
- "destination"
4364
- ],
4136
+ "order": ["destination"],
4365
4137
  "properties": {
4366
4138
  "destination": {
4367
4139
  "widget": "publishTargets",
@@ -4372,9 +4144,7 @@
4372
4144
  }
4373
4145
  },
4374
4146
  "vercel": {
4375
- "order": [
4376
- "destination"
4377
- ],
4147
+ "order": ["destination"],
4378
4148
  "properties": {
4379
4149
  "destination": {
4380
4150
  "widget": "publishTargets",
@@ -4423,4 +4193,4 @@
4423
4193
  ]
4424
4194
  }
4425
4195
  }
4426
- }
4196
+ }