@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
@@ -23,9 +23,7 @@
23
23
  }
24
24
  },
25
25
  "defaultLocale": "en",
26
- "locales": [
27
- "en"
28
- ],
26
+ "locales": ["en"],
29
27
  "projectId": "a8b9ea5b-2522-442d-9b68-be0bef4a1a74",
30
28
  "version": 4,
31
29
  "schemaVersion": "3.8.0",
@@ -190,9 +188,7 @@
190
188
  "@tag": "id"
191
189
  }
192
190
  },
193
- "required": [
194
- "id"
195
- ]
191
+ "required": ["id"]
196
192
  },
197
193
  "shape": "Rick_Character"
198
194
  },
@@ -505,9 +501,7 @@
505
501
  "type": "string"
506
502
  }
507
503
  },
508
- "required": [
509
- "id"
510
- ]
504
+ "required": ["id"]
511
505
  }
512
506
  },
513
507
  "TSColorHsl": {
@@ -719,10 +713,7 @@
719
713
  "@workflow": "default"
720
714
  }
721
715
  },
722
- "required": [
723
- "filename",
724
- "path"
725
- ]
716
+ "required": ["filename", "path"]
726
717
  }
727
718
  },
728
719
  "TSStaticSite": {
@@ -756,39 +747,27 @@
756
747
  "@l10n": false,
757
748
  "oneOf": [
758
749
  {
759
- "enum": [
760
- "s3"
761
- ],
750
+ "enum": ["s3"],
762
751
  "title": "S3"
763
752
  },
764
753
  {
765
- "enum": [
766
- "gcs"
767
- ],
754
+ "enum": ["gcs"],
768
755
  "title": "Google Cloud Storage"
769
756
  },
770
757
  {
771
- "enum": [
772
- "ftp"
773
- ],
758
+ "enum": ["ftp"],
774
759
  "title": "FTP Client"
775
760
  },
776
761
  {
777
- "enum": [
778
- "azure"
779
- ],
762
+ "enum": ["azure"],
780
763
  "title": "Azure Storage Account"
781
764
  },
782
765
  {
783
- "enum": [
784
- "netlify"
785
- ],
766
+ "enum": ["netlify"],
786
767
  "title": "Netlify"
787
768
  },
788
769
  {
789
- "enum": [
790
- "vercel"
791
- ],
770
+ "enum": ["vercel"],
792
771
  "title": "Vercel"
793
772
  }
794
773
  ],
@@ -902,11 +881,7 @@
902
881
  "@workflow": "default"
903
882
  }
904
883
  },
905
- "required": [
906
- "title",
907
- "provider",
908
- "destination"
909
- ]
884
+ "required": ["title", "provider", "destination"]
910
885
  }
911
886
  },
912
887
  "TSStaticSiteEnvironmentVariables": {
@@ -1039,9 +1014,7 @@
1039
1014
  "@mapping": "takeshape:local:HomepageHero.H1vBnAv8-",
1040
1015
  "$ref": "#/shapes/TSRelationship/schema",
1041
1016
  "@relationship": {
1042
- "shapeIds": [
1043
- "ASSET"
1044
- ],
1017
+ "shapeIds": ["ASSET"],
1045
1018
  "type": "single"
1046
1019
  }
1047
1020
  },
@@ -1050,9 +1023,7 @@
1050
1023
  "@mapping": "takeshape:local:HomepageHero.SJ1Xo0v8b",
1051
1024
  "$ref": "#/shapes/TSRelationship/schema",
1052
1025
  "@relationship": {
1053
- "shapeIds": [
1054
- "rJoobhv8W"
1055
- ],
1026
+ "shapeIds": ["rJoobhv8W"],
1056
1027
  "type": "single",
1057
1028
  "relatedName": "heroFeaturedPost"
1058
1029
  }
@@ -1269,9 +1240,7 @@
1269
1240
  "$ref": "#/shapes/TSRelationship/schema"
1270
1241
  },
1271
1242
  "@relationship": {
1272
- "shapeIds": [
1273
- "HJMNZ41OQ"
1274
- ],
1243
+ "shapeIds": ["HJMNZ41OQ"],
1275
1244
  "type": "multiple"
1276
1245
  },
1277
1246
  "title": "Tags",
@@ -1286,9 +1255,7 @@
1286
1255
  "author": {
1287
1256
  "$ref": "#/shapes/TSRelationship/schema",
1288
1257
  "@relationship": {
1289
- "shapeIds": [
1290
- "SJDIicDUZ"
1291
- ],
1258
+ "shapeIds": ["SJDIicDUZ"],
1292
1259
  "type": "single"
1293
1260
  },
1294
1261
  "title": "Author",
@@ -1297,9 +1264,7 @@
1297
1264
  "featureImage": {
1298
1265
  "$ref": "#/shapes/TSRelationship/schema",
1299
1266
  "@relationship": {
1300
- "shapeIds": [
1301
- "ASSET"
1302
- ],
1267
+ "shapeIds": ["ASSET"],
1303
1268
  "type": "single"
1304
1269
  },
1305
1270
  "title": "Feature Image",
@@ -1368,11 +1333,7 @@
1368
1333
  "@workflow": "default"
1369
1334
  }
1370
1335
  },
1371
- "required": [
1372
- "title",
1373
- "slug",
1374
- "featureImage"
1375
- ]
1336
+ "required": ["title", "slug", "featureImage"]
1376
1337
  },
1377
1338
  "workflow": "default"
1378
1339
  },
@@ -1397,9 +1358,7 @@
1397
1358
  "@mapping": "takeshape:local:Author.BkyFrpUcb",
1398
1359
  "$ref": "#/shapes/TSRelationship/schema",
1399
1360
  "@relationship": {
1400
- "shapeIds": [
1401
- "ASSET"
1402
- ],
1361
+ "shapeIds": ["ASSET"],
1403
1362
  "type": "single"
1404
1363
  }
1405
1364
  },
@@ -1473,12 +1432,7 @@
1473
1432
  "@workflow": "default"
1474
1433
  }
1475
1434
  },
1476
- "required": [
1477
- "name",
1478
- "slug",
1479
- "photo",
1480
- "biography"
1481
- ]
1435
+ "required": ["name", "slug", "photo", "biography"]
1482
1436
  }
1483
1437
  },
1484
1438
  "Rick_Character": {
@@ -1548,9 +1502,7 @@
1548
1502
  "description": "Time at which the character was created in the database."
1549
1503
  }
1550
1504
  },
1551
- "required": [
1552
- "episode"
1553
- ]
1505
+ "required": ["episode"]
1554
1506
  }
1555
1507
  },
1556
1508
  "Rick_FilterCharacter": {
@@ -1646,9 +1598,7 @@
1646
1598
  "description": "Time at which the location was created in the database."
1647
1599
  }
1648
1600
  },
1649
- "required": [
1650
- "residents"
1651
- ]
1601
+ "required": ["residents"]
1652
1602
  }
1653
1603
  },
1654
1604
  "Rick_Episode": {
@@ -1693,9 +1643,7 @@
1693
1643
  "description": "Time at which the episode was created in the database."
1694
1644
  }
1695
1645
  },
1696
- "required": [
1697
- "characters"
1698
- ]
1646
+ "required": ["characters"]
1699
1647
  }
1700
1648
  },
1701
1649
  "Rick_Info": {
@@ -1850,14 +1798,7 @@
1850
1798
  },
1851
1799
  "TSStaticSite": {
1852
1800
  "default": {
1853
- "order": [
1854
- "title",
1855
- "provider",
1856
- "destination",
1857
- "idKey",
1858
- "secretKey",
1859
- "environmentVariables"
1860
- ],
1801
+ "order": ["title", "provider", "destination", "idKey", "secretKey", "environmentVariables"],
1861
1802
  "properties": {
1862
1803
  "title": {
1863
1804
  "widget": "singleLineText",
@@ -1885,10 +1826,7 @@
1885
1826
  },
1886
1827
  "environmentVariables": {
1887
1828
  "widget": "repeater",
1888
- "order": [
1889
- "name",
1890
- "value"
1891
- ],
1829
+ "order": ["name", "value"],
1892
1830
  "disabled": true,
1893
1831
  "properties": {
1894
1832
  "name": {
@@ -1904,11 +1842,7 @@
1904
1842
  }
1905
1843
  },
1906
1844
  "generalHeader": {
1907
- "order": [
1908
- "title",
1909
- "provider",
1910
- "baseUrl"
1911
- ],
1845
+ "order": ["title", "provider", "baseUrl"],
1912
1846
  "properties": {
1913
1847
  "title": {
1914
1848
  "widget": "singleLineText",
@@ -1925,17 +1859,11 @@
1925
1859
  }
1926
1860
  },
1927
1861
  "generalFooter": {
1928
- "order": [
1929
- "environmentVariables",
1930
- "triggers"
1931
- ],
1862
+ "order": ["environmentVariables", "triggers"],
1932
1863
  "properties": {
1933
1864
  "environmentVariables": {
1934
1865
  "widget": "repeater",
1935
- "order": [
1936
- "name",
1937
- "value"
1938
- ],
1866
+ "order": ["name", "value"],
1939
1867
  "disabled": true,
1940
1868
  "properties": {
1941
1869
  "name": {
@@ -1950,10 +1878,7 @@
1950
1878
  },
1951
1879
  "triggers": {
1952
1880
  "widget": "repeater",
1953
- "order": [
1954
- "contentTypeId",
1955
- "status"
1956
- ],
1881
+ "order": ["contentTypeId", "status"],
1957
1882
  "disabled": true,
1958
1883
  "preview": "siteTriggerPreview",
1959
1884
  "properties": {
@@ -1970,12 +1895,7 @@
1970
1895
  }
1971
1896
  },
1972
1897
  "s3": {
1973
- "order": [
1974
- "destination",
1975
- "idKey",
1976
- "secretKey",
1977
- "privateAcl"
1978
- ],
1898
+ "order": ["destination", "idKey", "secretKey", "privateAcl"],
1979
1899
  "properties": {
1980
1900
  "destination": {
1981
1901
  "widget": "singleLineText",
@@ -2001,12 +1921,7 @@
2001
1921
  }
2002
1922
  },
2003
1923
  "gcs": {
2004
- "order": [
2005
- "destination",
2006
- "idKey",
2007
- "secretKey",
2008
- "privateAcl"
2009
- ],
1924
+ "order": ["destination", "idKey", "secretKey", "privateAcl"],
2010
1925
  "properties": {
2011
1926
  "destination": {
2012
1927
  "widget": "singleLineText",
@@ -2032,11 +1947,7 @@
2032
1947
  }
2033
1948
  },
2034
1949
  "ftp": {
2035
- "order": [
2036
- "destination",
2037
- "idKey",
2038
- "secretKey"
2039
- ],
1950
+ "order": ["destination", "idKey", "secretKey"],
2040
1951
  "properties": {
2041
1952
  "destination": {
2042
1953
  "widget": "singleLineText",
@@ -2057,10 +1968,7 @@
2057
1968
  }
2058
1969
  },
2059
1970
  "azure": {
2060
- "order": [
2061
- "destination",
2062
- "secretKey"
2063
- ],
1971
+ "order": ["destination", "secretKey"],
2064
1972
  "properties": {
2065
1973
  "destination": {
2066
1974
  "widget": "singleLineText",
@@ -2076,9 +1984,7 @@
2076
1984
  }
2077
1985
  },
2078
1986
  "netlify": {
2079
- "order": [
2080
- "destination"
2081
- ],
1987
+ "order": ["destination"],
2082
1988
  "properties": {
2083
1989
  "destination": {
2084
1990
  "widget": "publishTargets",
@@ -2089,9 +1995,7 @@
2089
1995
  }
2090
1996
  },
2091
1997
  "vercel": {
2092
- "order": [
2093
- "destination"
2094
- ],
1998
+ "order": ["destination"],
2095
1999
  "properties": {
2096
2000
  "destination": {
2097
2001
  "widget": "publishTargets",
@@ -2118,16 +2022,10 @@
2118
2022
  }
2119
2023
  },
2120
2024
  "widget": "object",
2121
- "order": [
2122
- "image",
2123
- "featuredPost"
2124
- ]
2025
+ "order": ["image", "featuredPost"]
2125
2026
  }
2126
2027
  },
2127
- "order": [
2128
- "title",
2129
- "hero"
2130
- ]
2028
+ "order": ["title", "hero"]
2131
2029
  }
2132
2030
  },
2133
2031
  "SiteSettings": {
@@ -2137,9 +2035,7 @@
2137
2035
  "widget": "singleLineText"
2138
2036
  }
2139
2037
  },
2140
- "order": [
2141
- "siteTitle"
2142
- ]
2038
+ "order": ["siteTitle"]
2143
2039
  }
2144
2040
  },
2145
2041
  "Tags": {
@@ -2149,9 +2045,7 @@
2149
2045
  "widget": "singleLineText"
2150
2046
  }
2151
2047
  },
2152
- "order": [
2153
- "name"
2154
- ]
2048
+ "order": ["name"]
2155
2049
  }
2156
2050
  },
2157
2051
  "Post": {
@@ -2183,17 +2077,7 @@
2183
2077
  "widget": "wysiwygText"
2184
2078
  }
2185
2079
  },
2186
- "order": [
2187
- "title",
2188
- "slug",
2189
- "characterId",
2190
- "tags",
2191
- "deck",
2192
- "author",
2193
- "featureImage",
2194
- "body",
2195
- "nested"
2196
- ]
2080
+ "order": ["title", "slug", "characterId", "tags", "deck", "author", "featureImage", "body", "nested"]
2197
2081
  }
2198
2082
  },
2199
2083
  "Author": {
@@ -2213,12 +2097,7 @@
2213
2097
  "widget": "singleLineText"
2214
2098
  }
2215
2099
  },
2216
- "order": [
2217
- "name",
2218
- "slug",
2219
- "photo",
2220
- "biography"
2221
- ]
2100
+ "order": ["name", "slug", "photo", "biography"]
2222
2101
  }
2223
2102
  }
2224
2103
  },
@@ -2236,4 +2115,4 @@
2236
2115
  }
2237
2116
  }
2238
2117
  }
2239
- }
2118
+ }
@@ -13,8 +13,8 @@
13
13
  "resolver": {
14
14
  "name": "rest:get",
15
15
  "service": "rick-n-morty",
16
- "argsMapping": {"pathParams.id": [["get", {"path": "args.id"}]]},
17
- "options": {"path": "character/{id}"}
16
+ "argsMapping": { "pathParams.id": [["get", { "path": "args.id" }]] },
17
+ "options": { "path": "character/{id}" }
18
18
  },
19
19
  "description": "Returns a list Author in natural order.",
20
20
  "args": "Rnm_GetCharacterArgs"
@@ -28,7 +28,13 @@
28
28
  "title": "Rnm_GetCharacterArgs",
29
29
  "schema": {
30
30
  "type": "object",
31
- "properties": {"id": {"type": "string", "title": "Id", "@mapping": "rick-n-morty:character.id"}},
31
+ "properties": {
32
+ "id": {
33
+ "type": "string",
34
+ "title": "Id",
35
+ "@mapping": "rick-n-morty:character.id"
36
+ }
37
+ },
32
38
  "required": ["id"]
33
39
  }
34
40
  },
@@ -39,9 +45,21 @@
39
45
  "schema": {
40
46
  "type": "object",
41
47
  "properties": {
42
- "id": {"type": "string", "title": "Id", "@mapping": "rick-n-morty:character.id"},
43
- "name": {"type": "string", "title": "Name", "@mapping": "rick-n-morty:character.name"},
44
- "status": {"type": "string", "title": "Status", "@mapping": "rick-n-morty:character.status"}
48
+ "id": {
49
+ "type": "string",
50
+ "title": "Id",
51
+ "@mapping": "rick-n-morty:character.id"
52
+ },
53
+ "name": {
54
+ "type": "string",
55
+ "title": "Name",
56
+ "@mapping": "rick-n-morty:character.name"
57
+ },
58
+ "status": {
59
+ "type": "string",
60
+ "title": "Status",
61
+ "@mapping": "rick-n-morty:character.status"
62
+ }
45
63
  }
46
64
  }
47
65
  }
@@ -9,7 +9,7 @@
9
9
  "shapeName": "RickAndMorty_Character",
10
10
  "name": "takeshape:queryApiIndex",
11
11
  "service": "takeshape",
12
- "options": {"indexedShape": "RickAndMorty_Character"}
12
+ "options": { "indexedShape": "RickAndMorty_Character" }
13
13
  },
14
14
  "description": "Fetch RickAndMorty_Character data from the API Index.",
15
15
  "args": "TSListArgs<RickAndMorty_Character>"
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "args": {
24
24
  "type": "object",
25
- "properties": {"id": {"type": "string", "@tag": "id"}},
25
+ "properties": { "id": { "type": "string", "@tag": "id" } },
26
26
  "required": ["id"]
27
27
  },
28
28
  "shape": "RickAndMorty_Character"
@@ -33,7 +33,7 @@
33
33
  "shapeName": "RickAndMorty_Episode",
34
34
  "name": "takeshape:queryApiIndex",
35
35
  "service": "takeshape",
36
- "options": {"indexedShape": "RickAndMorty_Episode"}
36
+ "options": { "indexedShape": "RickAndMorty_Episode" }
37
37
  },
38
38
  "description": "Fetch RickAndMorty_Episode data from the API Index.",
39
39
  "args": "TSListArgs<RickAndMorty_Episode>"
@@ -47,8 +47,8 @@
47
47
  "args": {
48
48
  "type": "object",
49
49
  "properties": {
50
- "page": {"type": "integer"},
51
- "filter": {"@ref": "rick-and-morty:FilterEpisode"}
50
+ "page": { "type": "integer" },
51
+ "filter": { "@ref": "rick-and-morty:FilterEpisode" }
52
52
  }
53
53
  },
54
54
  "shape": "RickAndMorty_Episodes"
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "args": {
63
63
  "type": "object",
64
- "properties": {"id": {"type": "string", "@tag": "id"}},
64
+ "properties": { "id": { "type": "string", "@tag": "id" } },
65
65
  "required": ["id"]
66
66
  },
67
67
  "shape": "RickAndMorty_Episode"
@@ -75,11 +75,17 @@
75
75
  "args": {
76
76
  "type": "object",
77
77
  "properties": {
78
- "ids": {"type": "array", "items": {"type": "string", "@tag": "id"}}
78
+ "ids": {
79
+ "type": "array",
80
+ "items": { "type": "string", "@tag": "id" }
81
+ }
79
82
  },
80
83
  "required": ["ids"]
81
84
  },
82
- "shape": {"type": "array", "items": {"@ref": "rick-and-morty:Character"}}
85
+ "shape": {
86
+ "type": "array",
87
+ "items": { "@ref": "rick-and-morty:Character" }
88
+ }
83
89
  }
84
90
  },
85
91
  "mutations": {},
@@ -90,18 +96,15 @@
90
96
  "title": "Rick And Morty Character",
91
97
  "cache": {
92
98
  "enabled": true,
93
- "triggers": [{"type": "schedule", "loader": "list", "interval": 1440}],
94
- "fragment": {"maxDepth": 2}
99
+ "triggers": [{ "type": "schedule", "loader": "list", "interval": 1440 }],
100
+ "fragment": { "maxDepth": 2 }
95
101
  },
96
102
  "loaders": {
97
- "list": {"query": "rick-and-morty:Query.charactersByIds"},
98
- "get": {"query": "rick-and-morty:Query.character"}
103
+ "list": { "query": "rick-and-morty:Query.charactersByIds" },
104
+ "get": { "query": "rick-and-morty:Query.character" }
99
105
  },
100
106
  "schema": {
101
- "extends": [
102
- {"@ref": "rick-and-morty:Character"},
103
- {"type": "object", "properties": {}}
104
- ]
107
+ "extends": [{ "@ref": "rick-and-morty:Character" }, { "type": "object", "properties": {} }]
105
108
  }
106
109
  },
107
110
  "RickAndMorty_Episode": {
@@ -110,18 +113,15 @@
110
113
  "title": "Rick And Morty Episode",
111
114
  "cache": {
112
115
  "enabled": true,
113
- "triggers": [{"type": "schedule", "loader": "list", "interval": 1440}],
114
- "fragment": {"maxDepth": 2}
116
+ "triggers": [{ "type": "schedule", "loader": "list", "interval": 1440 }],
117
+ "fragment": { "maxDepth": 2 }
115
118
  },
116
119
  "loaders": {
117
- "list": {"query": "rick-and-morty:Query.episodes"},
118
- "get": {"query": "rick-and-morty:Query.episode"}
120
+ "list": { "query": "rick-and-morty:Query.episodes" },
121
+ "get": { "query": "rick-and-morty:Query.episode" }
119
122
  },
120
123
  "schema": {
121
- "extends": [
122
- {"@ref": "rick-and-morty:Episode"},
123
- {"type": "object", "properties": {}}
124
- ]
124
+ "extends": [{ "@ref": "rick-and-morty:Episode" }, { "type": "object", "properties": {} }]
125
125
  }
126
126
  }
127
127
  },
@@ -141,7 +141,7 @@
141
141
  "endpoint": "https://rickandmortyapi.com/graphql",
142
142
  "introspectedAt": "2024-04-23T12:51:27.796Z"
143
143
  },
144
- "healthCheck": {"checkName": "graphqlIntrospection"}
144
+ "healthCheck": { "checkName": "graphqlIntrospection" }
145
145
  }
146
146
  }
147
147
  }