@takeshape/schema 9.46.0 → 9.48.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 (450) hide show
  1. package/dist/content-schema-transform.d.ts +6 -6
  2. package/dist/content-schema-transform.d.ts.map +1 -1
  3. package/dist/create-input-schema.d.ts +2 -2
  4. package/dist/create-input-schema.d.ts.map +1 -1
  5. package/dist/flatten-templates.d.ts +2 -2
  6. package/dist/flatten-templates.d.ts.map +1 -1
  7. package/dist/get-is-leaf.d.ts +2 -2
  8. package/dist/get-is-leaf.d.ts.map +1 -1
  9. package/dist/interfaces.d.ts +6 -6
  10. package/dist/interfaces.d.ts.map +1 -1
  11. package/dist/layers/layers.d.ts +3 -3
  12. package/dist/layers/layers.d.ts.map +1 -1
  13. package/dist/layers/refs.d.ts +4 -4
  14. package/dist/layers/refs.d.ts.map +1 -1
  15. package/dist/migration/index.d.ts +43 -41
  16. package/dist/migration/index.d.ts.map +1 -1
  17. package/dist/migration/index.js +7 -1
  18. package/dist/migration/to/utils/v3.34.0-utils.d.ts +1 -0
  19. package/dist/migration/to/utils/v3.34.0-utils.d.ts.map +1 -0
  20. package/dist/migration/to/utils/v3.34.0-utils.js +1 -0
  21. package/dist/migration/to/v3.0.0.d.ts +2 -2
  22. package/dist/migration/to/v3.0.0.d.ts.map +1 -1
  23. package/dist/migration/to/v3.1.0.d.ts +2 -2
  24. package/dist/migration/to/v3.1.0.d.ts.map +1 -1
  25. package/dist/migration/to/v3.10.0.d.ts +2 -2
  26. package/dist/migration/to/v3.10.0.d.ts.map +1 -1
  27. package/dist/migration/to/v3.11.0.d.ts +2 -2
  28. package/dist/migration/to/v3.11.0.d.ts.map +1 -1
  29. package/dist/migration/to/v3.12.0.d.ts +2 -2
  30. package/dist/migration/to/v3.12.0.d.ts.map +1 -1
  31. package/dist/migration/to/v3.12.1.d.ts +2 -2
  32. package/dist/migration/to/v3.12.1.d.ts.map +1 -1
  33. package/dist/migration/to/v3.12.2.d.ts +2 -2
  34. package/dist/migration/to/v3.12.2.d.ts.map +1 -1
  35. package/dist/migration/to/v3.12.3.d.ts +2 -2
  36. package/dist/migration/to/v3.12.3.d.ts.map +1 -1
  37. package/dist/migration/to/v3.13.0.d.ts +2 -2
  38. package/dist/migration/to/v3.13.0.d.ts.map +1 -1
  39. package/dist/migration/to/v3.14.0.d.ts +2 -2
  40. package/dist/migration/to/v3.14.0.d.ts.map +1 -1
  41. package/dist/migration/to/v3.15.0.d.ts +2 -2
  42. package/dist/migration/to/v3.15.0.d.ts.map +1 -1
  43. package/dist/migration/to/v3.16.0.d.ts +2 -2
  44. package/dist/migration/to/v3.16.0.d.ts.map +1 -1
  45. package/dist/migration/to/v3.17.0.d.ts +2 -2
  46. package/dist/migration/to/v3.17.0.d.ts.map +1 -1
  47. package/dist/migration/to/v3.17.1.d.ts +2 -2
  48. package/dist/migration/to/v3.17.1.d.ts.map +1 -1
  49. package/dist/migration/to/v3.18.0.d.ts +2 -2
  50. package/dist/migration/to/v3.18.0.d.ts.map +1 -1
  51. package/dist/migration/to/v3.18.1.d.ts +2 -2
  52. package/dist/migration/to/v3.18.1.d.ts.map +1 -1
  53. package/dist/migration/to/v3.18.2.d.ts +2 -2
  54. package/dist/migration/to/v3.18.2.d.ts.map +1 -1
  55. package/dist/migration/to/v3.19.0.d.ts +2 -2
  56. package/dist/migration/to/v3.19.0.d.ts.map +1 -1
  57. package/dist/migration/to/v3.2.0.d.ts +2 -2
  58. package/dist/migration/to/v3.2.0.d.ts.map +1 -1
  59. package/dist/migration/to/v3.20.0.d.ts +2 -2
  60. package/dist/migration/to/v3.20.0.d.ts.map +1 -1
  61. package/dist/migration/to/v3.21.0.d.ts +2 -2
  62. package/dist/migration/to/v3.21.0.d.ts.map +1 -1
  63. package/dist/migration/to/v3.22.0.d.ts +2 -2
  64. package/dist/migration/to/v3.22.0.d.ts.map +1 -1
  65. package/dist/migration/to/v3.23.0.d.ts +2 -2
  66. package/dist/migration/to/v3.23.0.d.ts.map +1 -1
  67. package/dist/migration/to/v3.24.0.d.ts +2 -2
  68. package/dist/migration/to/v3.24.0.d.ts.map +1 -1
  69. package/dist/migration/to/v3.25.0.d.ts +2 -2
  70. package/dist/migration/to/v3.25.0.d.ts.map +1 -1
  71. package/dist/migration/to/v3.26.0.d.ts +2 -2
  72. package/dist/migration/to/v3.26.0.d.ts.map +1 -1
  73. package/dist/migration/to/v3.27.0.d.ts +2 -2
  74. package/dist/migration/to/v3.27.0.d.ts.map +1 -1
  75. package/dist/migration/to/v3.28.0.d.ts +2 -2
  76. package/dist/migration/to/v3.28.0.d.ts.map +1 -1
  77. package/dist/migration/to/v3.29.0.d.ts +2 -2
  78. package/dist/migration/to/v3.29.0.d.ts.map +1 -1
  79. package/dist/migration/to/v3.3.0.d.ts +2 -2
  80. package/dist/migration/to/v3.3.0.d.ts.map +1 -1
  81. package/dist/migration/to/v3.30.0.d.ts +2 -2
  82. package/dist/migration/to/v3.30.0.d.ts.map +1 -1
  83. package/dist/migration/to/v3.31.0.d.ts +2 -2
  84. package/dist/migration/to/v3.31.0.d.ts.map +1 -1
  85. package/dist/migration/to/v3.32.0.d.ts +2 -2
  86. package/dist/migration/to/v3.32.0.d.ts.map +1 -1
  87. package/dist/migration/to/v3.33.0.d.ts +2 -2
  88. package/dist/migration/to/v3.33.0.d.ts.map +1 -1
  89. package/dist/migration/to/v3.34.0.d.ts +7 -0
  90. package/dist/migration/to/v3.34.0.d.ts.map +1 -0
  91. package/dist/migration/to/v3.34.0.js +183 -0
  92. package/dist/migration/to/v3.35.0.d.ts +5 -0
  93. package/dist/migration/to/v3.35.0.d.ts.map +1 -0
  94. package/dist/migration/to/v3.35.0.js +18 -0
  95. package/dist/migration/to/v3.4.0.d.ts +2 -2
  96. package/dist/migration/to/v3.4.0.d.ts.map +1 -1
  97. package/dist/migration/to/v3.5.0.d.ts +2 -2
  98. package/dist/migration/to/v3.5.0.d.ts.map +1 -1
  99. package/dist/migration/to/v3.5.1.d.ts +2 -2
  100. package/dist/migration/to/v3.5.1.d.ts.map +1 -1
  101. package/dist/migration/to/v3.6.0.d.ts +2 -2
  102. package/dist/migration/to/v3.6.0.d.ts.map +1 -1
  103. package/dist/migration/to/v3.7.0.d.ts +2 -2
  104. package/dist/migration/to/v3.7.0.d.ts.map +1 -1
  105. package/dist/migration/to/v3.8.0.d.ts +2 -2
  106. package/dist/migration/to/v3.8.0.d.ts.map +1 -1
  107. package/dist/migration/to/v3.9.0.d.ts +2 -2
  108. package/dist/migration/to/v3.9.0.d.ts.map +1 -1
  109. package/dist/migration/types.d.ts +6 -6
  110. package/dist/migration/types.d.ts.map +1 -1
  111. package/dist/mocks.d.ts +5 -5
  112. package/dist/mocks.d.ts.map +1 -1
  113. package/dist/models/project-schema.d.ts +36 -0
  114. package/dist/models/project-schema.d.ts.map +1 -0
  115. package/dist/models/project-schema.js +132 -0
  116. package/dist/models/query.d.ts +18 -0
  117. package/dist/models/query.d.ts.map +1 -0
  118. package/dist/models/query.js +44 -0
  119. package/dist/models/service.d.ts +13 -0
  120. package/dist/models/service.d.ts.map +1 -0
  121. package/dist/models/service.js +34 -0
  122. package/dist/models/shape.d.ts +42 -0
  123. package/dist/models/shape.d.ts.map +1 -0
  124. package/dist/models/shape.js +116 -0
  125. package/dist/project-schema/index.d.ts +95 -89
  126. package/dist/project-schema/index.d.ts.map +1 -1
  127. package/dist/project-schema/index.js +168 -134
  128. package/dist/project-schema/latest.d.ts +145 -126
  129. package/dist/project-schema/latest.d.ts.map +1 -1
  130. package/dist/project-schema/migrate.d.ts +3 -3
  131. package/dist/project-schema/migrate.d.ts.map +1 -1
  132. package/dist/project-schema/migrate.js +52 -44
  133. package/dist/project-schema/v1.0.0.d.ts +13 -13
  134. package/dist/project-schema/v1.0.0.d.ts.map +1 -1
  135. package/dist/project-schema/v3.0.0.d.ts +23 -23
  136. package/dist/project-schema/v3.0.0.d.ts.map +1 -1
  137. package/dist/project-schema/v3.1.0.d.ts +35 -35
  138. package/dist/project-schema/v3.1.0.d.ts.map +1 -1
  139. package/dist/project-schema/v3.10.0.d.ts +104 -104
  140. package/dist/project-schema/v3.10.0.d.ts.map +1 -1
  141. package/dist/project-schema/v3.11.0.d.ts +104 -104
  142. package/dist/project-schema/v3.11.0.d.ts.map +1 -1
  143. package/dist/project-schema/v3.12.0.d.ts +104 -104
  144. package/dist/project-schema/v3.12.0.d.ts.map +1 -1
  145. package/dist/project-schema/v3.12.1.d.ts +110 -110
  146. package/dist/project-schema/v3.12.1.d.ts.map +1 -1
  147. package/dist/project-schema/v3.12.2.d.ts +111 -111
  148. package/dist/project-schema/v3.12.2.d.ts.map +1 -1
  149. package/dist/project-schema/v3.12.3.d.ts +114 -114
  150. package/dist/project-schema/v3.12.3.d.ts.map +1 -1
  151. package/dist/project-schema/v3.13.0.d.ts +115 -115
  152. package/dist/project-schema/v3.13.0.d.ts.map +1 -1
  153. package/dist/project-schema/v3.14.0.d.ts +116 -116
  154. package/dist/project-schema/v3.14.0.d.ts.map +1 -1
  155. package/dist/project-schema/v3.15.0.d.ts +119 -119
  156. package/dist/project-schema/v3.15.0.d.ts.map +1 -1
  157. package/dist/project-schema/v3.16.0.d.ts +119 -119
  158. package/dist/project-schema/v3.16.0.d.ts.map +1 -1
  159. package/dist/project-schema/v3.17.0.d.ts +119 -119
  160. package/dist/project-schema/v3.17.0.d.ts.map +1 -1
  161. package/dist/project-schema/v3.17.1.d.ts +119 -119
  162. package/dist/project-schema/v3.17.1.d.ts.map +1 -1
  163. package/dist/project-schema/v3.18.0.d.ts +117 -117
  164. package/dist/project-schema/v3.18.0.d.ts.map +1 -1
  165. package/dist/project-schema/v3.18.1.d.ts +117 -117
  166. package/dist/project-schema/v3.18.1.d.ts.map +1 -1
  167. package/dist/project-schema/v3.18.2.d.ts +117 -117
  168. package/dist/project-schema/v3.18.2.d.ts.map +1 -1
  169. package/dist/project-schema/v3.19.0.d.ts +117 -117
  170. package/dist/project-schema/v3.19.0.d.ts.map +1 -1
  171. package/dist/project-schema/v3.2.0.d.ts +36 -36
  172. package/dist/project-schema/v3.2.0.d.ts.map +1 -1
  173. package/dist/project-schema/v3.20.0.d.ts +117 -117
  174. package/dist/project-schema/v3.20.0.d.ts.map +1 -1
  175. package/dist/project-schema/v3.21.0.d.ts +117 -117
  176. package/dist/project-schema/v3.21.0.d.ts.map +1 -1
  177. package/dist/project-schema/v3.22.0.d.ts +118 -118
  178. package/dist/project-schema/v3.22.0.d.ts.map +1 -1
  179. package/dist/project-schema/v3.23.0.d.ts +120 -120
  180. package/dist/project-schema/v3.23.0.d.ts.map +1 -1
  181. package/dist/project-schema/v3.24.0.d.ts +120 -120
  182. package/dist/project-schema/v3.24.0.d.ts.map +1 -1
  183. package/dist/project-schema/v3.25.0.d.ts +120 -120
  184. package/dist/project-schema/v3.25.0.d.ts.map +1 -1
  185. package/dist/project-schema/v3.26.0.d.ts +121 -121
  186. package/dist/project-schema/v3.26.0.d.ts.map +1 -1
  187. package/dist/project-schema/v3.27.0.d.ts +122 -122
  188. package/dist/project-schema/v3.27.0.d.ts.map +1 -1
  189. package/dist/project-schema/v3.28.0.d.ts +123 -123
  190. package/dist/project-schema/v3.28.0.d.ts.map +1 -1
  191. package/dist/project-schema/v3.29.0.d.ts +124 -124
  192. package/dist/project-schema/v3.29.0.d.ts.map +1 -1
  193. package/dist/project-schema/v3.3.0.d.ts +36 -36
  194. package/dist/project-schema/v3.3.0.d.ts.map +1 -1
  195. package/dist/project-schema/v3.30.0.d.ts +123 -123
  196. package/dist/project-schema/v3.30.0.d.ts.map +1 -1
  197. package/dist/project-schema/v3.31.0.d.ts +125 -125
  198. package/dist/project-schema/v3.31.0.d.ts.map +1 -1
  199. package/dist/project-schema/v3.32.0.d.ts +124 -124
  200. package/dist/project-schema/v3.32.0.d.ts.map +1 -1
  201. package/dist/project-schema/v3.33.0.d.ts +125 -125
  202. package/dist/project-schema/v3.33.0.d.ts.map +1 -1
  203. package/dist/project-schema/v3.34.0.d.ts +1446 -0
  204. package/dist/project-schema/v3.34.0.d.ts.map +1 -0
  205. package/dist/project-schema/v3.34.0.js +5 -0
  206. package/dist/project-schema/v3.35.0.d.ts +1465 -0
  207. package/dist/project-schema/v3.35.0.d.ts.map +1 -0
  208. package/dist/project-schema/v3.35.0.js +5 -0
  209. package/dist/project-schema/v3.4.0.d.ts +36 -36
  210. package/dist/project-schema/v3.4.0.d.ts.map +1 -1
  211. package/dist/project-schema/v3.5.0.d.ts +36 -36
  212. package/dist/project-schema/v3.5.0.d.ts.map +1 -1
  213. package/dist/project-schema/v3.5.1.d.ts +36 -36
  214. package/dist/project-schema/v3.5.1.d.ts.map +1 -1
  215. package/dist/project-schema/v3.6.0.d.ts +37 -37
  216. package/dist/project-schema/v3.6.0.d.ts.map +1 -1
  217. package/dist/project-schema/v3.7.0.d.ts +37 -37
  218. package/dist/project-schema/v3.7.0.d.ts.map +1 -1
  219. package/dist/project-schema/v3.8.0.d.ts +39 -39
  220. package/dist/project-schema/v3.8.0.d.ts.map +1 -1
  221. package/dist/project-schema/v3.9.0.d.ts +39 -39
  222. package/dist/project-schema/v3.9.0.d.ts.map +1 -1
  223. package/dist/project-schema/v4.0.0.d.ts +113 -113
  224. package/dist/project-schema/v4.0.0.d.ts.map +1 -1
  225. package/dist/refs.d.ts +16 -13
  226. package/dist/refs.d.ts.map +1 -1
  227. package/dist/refs.js +21 -0
  228. package/dist/relationships.d.ts +5 -5
  229. package/dist/relationships.d.ts.map +1 -1
  230. package/dist/schema-util.d.ts +46 -40
  231. package/dist/schema-util.d.ts.map +1 -1
  232. package/dist/schema-util.js +34 -29
  233. package/dist/schemas/index.d.ts +2 -2
  234. package/dist/schemas/index.d.ts.map +1 -1
  235. package/dist/schemas/index.js +8 -4
  236. package/dist/schemas/index.ts +6 -2
  237. package/dist/schemas/project-schema/latest.json +43 -8
  238. package/dist/schemas/project-schema/meta-schema-v3.0.0.json +1 -1
  239. package/dist/schemas/project-schema/meta-schema-v3.1.0.json +1 -1
  240. package/dist/schemas/project-schema/meta-schema-v3.2.0.json +1 -1
  241. package/dist/schemas/project-schema/meta-schema-v3.3.0.json +1 -1
  242. package/dist/schemas/project-schema/meta-schema-v3.4.0.json +1 -1
  243. package/dist/schemas/project-schema/meta-schema-v3.5.0.json +1 -1
  244. package/dist/schemas/project-schema/meta-schema-v3.5.1.json +1 -1
  245. package/dist/schemas/project-schema/meta-schema-v3.6.0.json +1 -1
  246. package/dist/schemas/project-schema/meta-schema-v3.7.0.json +1 -1
  247. package/dist/schemas/project-schema/meta-schema-v3.8.0.json +1 -1
  248. package/dist/schemas/project-schema/meta-schema-v3.9.0.json +1 -1
  249. package/dist/schemas/project-schema/v1.0.0.json +1 -1
  250. package/dist/schemas/project-schema/v3.0.0.json +2 -2
  251. package/dist/schemas/project-schema/v3.1.0.json +4 -4
  252. package/dist/schemas/project-schema/v3.10.0.json +5 -5
  253. package/dist/schemas/project-schema/v3.11.0.json +5 -5
  254. package/dist/schemas/project-schema/v3.12.0.json +5 -5
  255. package/dist/schemas/project-schema/v3.12.1.json +5 -5
  256. package/dist/schemas/project-schema/v3.12.2.json +5 -5
  257. package/dist/schemas/project-schema/v3.12.3.json +5 -5
  258. package/dist/schemas/project-schema/v3.13.0.json +5 -5
  259. package/dist/schemas/project-schema/v3.14.0.json +5 -5
  260. package/dist/schemas/project-schema/v3.15.0.json +5 -5
  261. package/dist/schemas/project-schema/v3.16.0.json +5 -5
  262. package/dist/schemas/project-schema/v3.17.0.json +5 -5
  263. package/dist/schemas/project-schema/v3.17.1.json +5 -5
  264. package/dist/schemas/project-schema/v3.18.0.json +5 -5
  265. package/dist/schemas/project-schema/v3.18.1.json +5 -5
  266. package/dist/schemas/project-schema/v3.18.2.json +5 -5
  267. package/dist/schemas/project-schema/v3.19.0.json +5 -5
  268. package/dist/schemas/project-schema/v3.2.0.json +4 -4
  269. package/dist/schemas/project-schema/v3.20.0.json +5 -5
  270. package/dist/schemas/project-schema/v3.21.0.json +5 -5
  271. package/dist/schemas/project-schema/v3.22.0.json +5 -5
  272. package/dist/schemas/project-schema/v3.23.0.json +5 -5
  273. package/dist/schemas/project-schema/v3.24.0.json +5 -5
  274. package/dist/schemas/project-schema/v3.25.0.json +5 -5
  275. package/dist/schemas/project-schema/v3.26.0.json +6 -6
  276. package/dist/schemas/project-schema/v3.27.0.json +6 -6
  277. package/dist/schemas/project-schema/v3.28.0.json +5 -5
  278. package/dist/schemas/project-schema/v3.29.0.json +5 -5
  279. package/dist/schemas/project-schema/v3.3.0.json +4 -4
  280. package/dist/schemas/project-schema/v3.30.0.json +5 -5
  281. package/dist/schemas/project-schema/v3.31.0.json +6 -6
  282. package/dist/schemas/project-schema/v3.32.0.json +6 -6
  283. package/dist/schemas/project-schema/v3.33.0.json +6 -6
  284. package/dist/schemas/project-schema/v3.34.0.json +3088 -0
  285. package/dist/schemas/project-schema/v3.35.0.json +3123 -0
  286. package/dist/schemas/project-schema/v3.4.0.json +4 -4
  287. package/dist/schemas/project-schema/v3.5.0.json +4 -4
  288. package/dist/schemas/project-schema/v3.5.1.json +4 -4
  289. package/dist/schemas/project-schema/v3.6.0.json +4 -4
  290. package/dist/schemas/project-schema/v3.7.0.json +4 -4
  291. package/dist/schemas/project-schema/v3.8.0.json +4 -4
  292. package/dist/schemas/project-schema/v3.9.0.json +4 -4
  293. package/dist/schemas/project-schema/v4.0.0.json +5 -5
  294. package/dist/schemas/project-schema.json +6 -0
  295. package/dist/services.d.ts +12 -12
  296. package/dist/services.d.ts.map +1 -1
  297. package/dist/services.js +3 -3
  298. package/dist/taxonomies.d.ts +4 -4
  299. package/dist/taxonomies.d.ts.map +1 -1
  300. package/dist/template-shapes/index.d.ts +2 -2
  301. package/dist/template-shapes/index.d.ts.map +1 -1
  302. package/dist/template-shapes/templates.d.ts +21 -21
  303. package/dist/template-shapes/templates.d.ts.map +1 -1
  304. package/dist/template-shapes/types.d.ts +3 -3
  305. package/dist/template-shapes/types.d.ts.map +1 -1
  306. package/dist/template-shapes/where.d.ts +6 -6
  307. package/dist/template-shapes/where.d.ts.map +1 -1
  308. package/dist/types/types.d.ts +10 -9
  309. package/dist/types/types.d.ts.map +1 -1
  310. package/dist/types/utils.d.ts +5 -4
  311. package/dist/types/utils.d.ts.map +1 -1
  312. package/dist/types/utils.js +5 -0
  313. package/dist/unions.d.ts +8 -8
  314. package/dist/unions.d.ts.map +1 -1
  315. package/dist/util/api-indexing.d.ts +4 -4
  316. package/dist/util/api-indexing.d.ts.map +1 -1
  317. package/dist/util/detect-cycles.d.ts +3 -3
  318. package/dist/util/detect-cycles.d.ts.map +1 -1
  319. package/dist/util/find-shape-at-path.d.ts +3 -3
  320. package/dist/util/find-shape-at-path.d.ts.map +1 -1
  321. package/dist/util/form-config.d.ts +3 -3
  322. package/dist/util/form-config.d.ts.map +1 -1
  323. package/dist/util/get-conflicting-properties.d.ts +2 -2
  324. package/dist/util/get-conflicting-properties.d.ts.map +1 -1
  325. package/dist/util/get-return-shape.d.ts +4 -2
  326. package/dist/util/get-return-shape.d.ts.map +1 -1
  327. package/dist/util/get-return-shape.js +5 -0
  328. package/dist/util/has-arg.d.ts +2 -2
  329. package/dist/util/has-arg.d.ts.map +1 -1
  330. package/dist/util/merge.d.ts +3 -3
  331. package/dist/util/merge.d.ts.map +1 -1
  332. package/dist/util/patch-schema.d.ts +2 -2
  333. package/dist/util/patch-schema.d.ts.map +1 -1
  334. package/dist/validate.d.ts +3 -3
  335. package/dist/validate.d.ts.map +1 -1
  336. package/dist/validate.js +84 -5
  337. package/dist/workflows.d.ts +3 -3
  338. package/dist/workflows.d.ts.map +1 -1
  339. package/es/migration/index.js +5 -1
  340. package/es/migration/to/utils/v3.34.0-utils.js +0 -0
  341. package/es/migration/to/v3.34.0.js +161 -0
  342. package/es/migration/to/v3.35.0.js +10 -0
  343. package/es/models/project-schema.js +116 -0
  344. package/es/models/query.js +35 -0
  345. package/es/models/service.js +25 -0
  346. package/es/models/shape.js +105 -0
  347. package/es/project-schema/index.js +48 -44
  348. package/es/project-schema/migrate.js +53 -45
  349. package/es/project-schema/v3.34.0.js +1 -0
  350. package/es/project-schema/v3.35.0.js +1 -0
  351. package/es/refs.js +15 -0
  352. package/es/schema-util.js +32 -29
  353. package/es/schemas/index.js +5 -3
  354. package/es/schemas/index.ts +6 -2
  355. package/es/schemas/project-schema/latest.json +43 -8
  356. package/es/schemas/project-schema/meta-schema-v3.0.0.json +1 -1
  357. package/es/schemas/project-schema/meta-schema-v3.1.0.json +1 -1
  358. package/es/schemas/project-schema/meta-schema-v3.2.0.json +1 -1
  359. package/es/schemas/project-schema/meta-schema-v3.3.0.json +1 -1
  360. package/es/schemas/project-schema/meta-schema-v3.4.0.json +1 -1
  361. package/es/schemas/project-schema/meta-schema-v3.5.0.json +1 -1
  362. package/es/schemas/project-schema/meta-schema-v3.5.1.json +1 -1
  363. package/es/schemas/project-schema/meta-schema-v3.6.0.json +1 -1
  364. package/es/schemas/project-schema/meta-schema-v3.7.0.json +1 -1
  365. package/es/schemas/project-schema/meta-schema-v3.8.0.json +1 -1
  366. package/es/schemas/project-schema/meta-schema-v3.9.0.json +1 -1
  367. package/es/schemas/project-schema/v1.0.0.json +1 -1
  368. package/es/schemas/project-schema/v3.0.0.json +2 -2
  369. package/es/schemas/project-schema/v3.1.0.json +4 -4
  370. package/es/schemas/project-schema/v3.10.0.json +5 -5
  371. package/es/schemas/project-schema/v3.11.0.json +5 -5
  372. package/es/schemas/project-schema/v3.12.0.json +5 -5
  373. package/es/schemas/project-schema/v3.12.1.json +5 -5
  374. package/es/schemas/project-schema/v3.12.2.json +5 -5
  375. package/es/schemas/project-schema/v3.12.3.json +5 -5
  376. package/es/schemas/project-schema/v3.13.0.json +5 -5
  377. package/es/schemas/project-schema/v3.14.0.json +5 -5
  378. package/es/schemas/project-schema/v3.15.0.json +5 -5
  379. package/es/schemas/project-schema/v3.16.0.json +5 -5
  380. package/es/schemas/project-schema/v3.17.0.json +5 -5
  381. package/es/schemas/project-schema/v3.17.1.json +5 -5
  382. package/es/schemas/project-schema/v3.18.0.json +5 -5
  383. package/es/schemas/project-schema/v3.18.1.json +5 -5
  384. package/es/schemas/project-schema/v3.18.2.json +5 -5
  385. package/es/schemas/project-schema/v3.19.0.json +5 -5
  386. package/es/schemas/project-schema/v3.2.0.json +4 -4
  387. package/es/schemas/project-schema/v3.20.0.json +5 -5
  388. package/es/schemas/project-schema/v3.21.0.json +5 -5
  389. package/es/schemas/project-schema/v3.22.0.json +5 -5
  390. package/es/schemas/project-schema/v3.23.0.json +5 -5
  391. package/es/schemas/project-schema/v3.24.0.json +5 -5
  392. package/es/schemas/project-schema/v3.25.0.json +5 -5
  393. package/es/schemas/project-schema/v3.26.0.json +6 -6
  394. package/es/schemas/project-schema/v3.27.0.json +6 -6
  395. package/es/schemas/project-schema/v3.28.0.json +5 -5
  396. package/es/schemas/project-schema/v3.29.0.json +5 -5
  397. package/es/schemas/project-schema/v3.3.0.json +4 -4
  398. package/es/schemas/project-schema/v3.30.0.json +5 -5
  399. package/es/schemas/project-schema/v3.31.0.json +6 -6
  400. package/es/schemas/project-schema/v3.32.0.json +6 -6
  401. package/es/schemas/project-schema/v3.33.0.json +6 -6
  402. package/es/schemas/project-schema/v3.34.0.json +3088 -0
  403. package/es/schemas/project-schema/v3.35.0.json +3123 -0
  404. package/es/schemas/project-schema/v3.4.0.json +4 -4
  405. package/es/schemas/project-schema/v3.5.0.json +4 -4
  406. package/es/schemas/project-schema/v3.5.1.json +4 -4
  407. package/es/schemas/project-schema/v3.6.0.json +4 -4
  408. package/es/schemas/project-schema/v3.7.0.json +4 -4
  409. package/es/schemas/project-schema/v3.8.0.json +4 -4
  410. package/es/schemas/project-schema/v3.9.0.json +4 -4
  411. package/es/schemas/project-schema/v4.0.0.json +5 -5
  412. package/es/schemas/project-schema.json +6 -0
  413. package/es/services.js +3 -3
  414. package/es/types/utils.js +3 -0
  415. package/es/util/get-return-shape.js +3 -0
  416. package/es/validate.js +85 -6
  417. package/examples/latest/betzino.json +2012 -1756
  418. package/examples/latest/blog-schema.json +1 -1
  419. package/examples/latest/brewery-schema.json +31 -26
  420. package/examples/latest/complex-project-schema.json +645 -480
  421. package/examples/latest/complex-schema.json +866 -671
  422. package/examples/latest/fabric-ecommerce.json +7 -38
  423. package/examples/latest/frank-and-fred-schema.json +866 -671
  424. package/examples/latest/klirr-schema.json +1641 -1264
  425. package/examples/latest/massive-schema.json +897 -681
  426. package/examples/latest/mill-components-schema.json +1 -1
  427. package/examples/latest/one-earth.json +3012 -2462
  428. package/examples/latest/pet-oneof-array.json +1 -1
  429. package/examples/latest/post-schema.json +1 -1
  430. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  431. package/examples/latest/real-world-schema.json +19 -14
  432. package/examples/latest/recursive-repeater-schema.json +1 -1
  433. package/examples/latest/recursive-schema.json +1 -1
  434. package/examples/latest/rick-and-morty-ast.json +39 -226
  435. package/examples/latest/rick-and-morty-graphql.json +35 -222
  436. package/examples/latest/rick-and-morty-rest.json +1 -1
  437. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  438. package/examples/latest/shape-books-v3_2_0.json +19 -14
  439. package/examples/latest/shape-books.json +19 -14
  440. package/examples/latest/shape-editor-schema-edited.json +1 -1
  441. package/examples/latest/shape-editor-schema-initial.json +2 -2
  442. package/examples/latest/shopify-lookbook.json +9 -39
  443. package/examples/latest/shopify-product-2022-07.json +21 -213
  444. package/examples/latest/shopify-product-2023-04.json +21 -213
  445. package/examples/latest/shopify-store-with-widget.json +97 -360
  446. package/examples/latest/stripe-product-runtime-schema.json +21 -213
  447. package/examples/latest/stripe-starter-resolved.json +21 -213
  448. package/examples/latest/user-schema-no-required.json +1 -1
  449. package/examples/latest/user-schema-with-defaults.json +1 -1
  450. package/package.json +5 -5
@@ -41,6 +41,7 @@ exports.getServiceIdFieldName = getServiceIdFieldName;
41
41
  exports.getServiceInfo = getServiceInfo;
42
42
  exports.getShape = getShape;
43
43
  exports.getShapeById = getShapeById;
44
+ exports.getShapeByRef = getShapeByRef;
44
45
  exports.getShapeDependencies = getShapeDependencies;
45
46
  exports.getShapeQueriesAndMutations = getShapeQueriesAndMutations;
46
47
  exports.getShapesById = getShapesById;
@@ -548,6 +549,10 @@ function getShapeById(projectSchema, shapeId) {
548
549
  return (0, _find.default)(projectSchema.shapes, shape => shape.id === shapeId);
549
550
  }
550
551
 
552
+ function getShapeByRef(projectSchema, shapeRef) {
553
+ return (0, _refs.refItemToShape)(projectSchema, (0, _refs.atRefToRefItem)(projectSchema, shapeRef));
554
+ }
555
+
551
556
  function ensureShapeById(projectSchema, shapeId) {
552
557
  const shape = getShapeById(projectSchema, shapeId);
553
558
 
@@ -1174,47 +1179,47 @@ exports.createSchemaPropertyList = createSchemaPropertyList;
1174
1179
  function isShape(shapeOrSchema) {
1175
1180
  return 'schema' in shapeOrSchema;
1176
1181
  }
1177
- /**
1178
- * Creates a schema property accessor, allowing you to safely access schema
1179
- * properties.
1180
- */
1181
1182
 
1183
+ class SchemaPropertyAccessor {
1184
+ constructor(context, shapeOrSchema) {
1185
+ const propSchema = isShape(shapeOrSchema) ? shapeOrSchema.schema : shapeOrSchema;
1186
+ this.schema = (0, _refs.dereferenceSchema)(context, propSchema, isShape(shapeOrSchema) ? ['shapes', shapeOrSchema.name] : undefined);
1187
+ this.entries = (0, _utils.isObjectSchema)(this.schema) ? Object.entries(this.schema.properties) : [];
1188
+ this.properties = new Map(this.entries);
1189
+ }
1182
1190
 
1183
- const createSchemaPropertyAccessor = (0, _curry.default)((context, shapeOrSchema) => {
1184
- const propSchema = isShape(shapeOrSchema) ? shapeOrSchema.schema : shapeOrSchema;
1185
- const schema = (0, _refs.dereferenceSchema)(context, propSchema, isShape(shapeOrSchema) ? ['shapes', shapeOrSchema.name] : undefined);
1186
- const propertyIterator = new Map((0, _utils.isObjectSchema)(schema) ? Object.entries(schema.properties) : undefined);
1187
-
1188
- const _getValue = propertyName => {
1189
- return propertyIterator.get(propertyName);
1190
- };
1191
+ getValue(propertyName) {
1192
+ return this.properties.get(propertyName);
1193
+ }
1191
1194
 
1192
- const _findValue = predicate => {
1193
- var _Array$from$find;
1195
+ findValue(predicate) {
1196
+ var _this$entries$find;
1194
1197
 
1195
- return (_Array$from$find = Array.from(propertyIterator).find(predicate)) === null || _Array$from$find === void 0 ? void 0 : _Array$from$find[1];
1196
- };
1198
+ return (_this$entries$find = this.entries.find(predicate)) === null || _this$entries$find === void 0 ? void 0 : _this$entries$find[1];
1199
+ }
1197
1200
 
1198
- const _findName = predicate => {
1199
- var _Array$from$find2;
1201
+ findName(predicate) {
1202
+ var _this$entries$find2;
1200
1203
 
1201
- return (_Array$from$find2 = Array.from(propertyIterator).find(predicate)) === null || _Array$from$find2 === void 0 ? void 0 : _Array$from$find2[0];
1202
- };
1204
+ return (_this$entries$find2 = this.entries.find(predicate)) === null || _this$entries$find2 === void 0 ? void 0 : _this$entries$find2[0];
1205
+ }
1203
1206
 
1204
- const _getKey = propertyName => {
1205
- const value = propertyIterator.get(propertyName);
1207
+ getKey(propertyName) {
1208
+ const value = this.properties.get(propertyName);
1206
1209
 
1207
1210
  if (value) {
1208
1211
  return getStorageKey(value);
1209
1212
  }
1210
- };
1213
+ }
1211
1214
 
1212
- return {
1213
- getValue: _getValue,
1214
- findValue: _findValue,
1215
- findName: _findName,
1216
- getKey: _getKey
1217
- };
1215
+ }
1216
+
1217
+ /**
1218
+ * Creates a schema property accessor, allowing you to safely access schema
1219
+ * properties.
1220
+ */
1221
+ const createSchemaPropertyAccessor = (0, _curry.default)((context, shapeOrSchema) => {
1222
+ return new SchemaPropertyAccessor(context, shapeOrSchema);
1218
1223
  });
1219
1224
  exports.createSchemaPropertyAccessor = createSchemaPropertyAccessor;
1220
1225
 
@@ -1,5 +1,5 @@
1
- export declare const CURRENT_SCHEMA_VERSION = "3.33.0";
1
+ export declare const CURRENT_SCHEMA_VERSION = "3.35.0";
2
2
  export { default as anyProjectSchema } from './project-schema.json';
3
- export { default as latestSchemaJson } from './project-schema/v3.33.0.json';
3
+ export { default as latestSchemaJson } from './project-schema/v3.35.0.json';
4
4
  export declare const allProjectSchemas: any[];
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,sBAAsB,WAAW,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AAwD1E,eAAO,MAAM,iBAAiB,OAwD7B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,sBAAsB,WAAW,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AA0D1E,eAAO,MAAM,iBAAiB,OA0D7B,CAAC"}
@@ -19,7 +19,7 @@ Object.defineProperty(exports, "latestSchemaJson", {
19
19
 
20
20
  var _projectSchema = _interopRequireDefault(require("./project-schema.json"));
21
21
 
22
- var _v = _interopRequireDefault(require("./project-schema/v3.33.0.json"));
22
+ var _v = _interopRequireDefault(require("./project-schema/v3.35.0.json"));
23
23
 
24
24
  var _metaSchemaV = _interopRequireDefault(require("./project-schema/meta-schema-v1.0.0.json"));
25
25
 
@@ -127,12 +127,16 @@ var _v41 = _interopRequireDefault(require("./project-schema/v3.31.0.json"));
127
127
 
128
128
  var _v42 = _interopRequireDefault(require("./project-schema/v3.32.0.json"));
129
129
 
130
- var _v43 = _interopRequireDefault(require("./project-schema/v4.0.0.json"));
130
+ var _v43 = _interopRequireDefault(require("./project-schema/v3.33.0.json"));
131
+
132
+ var _v44 = _interopRequireDefault(require("./project-schema/v3.34.0.json"));
133
+
134
+ var _v45 = _interopRequireDefault(require("./project-schema/v4.0.0.json"));
131
135
 
132
136
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
133
137
 
134
138
  // This file is generated by "pnpm json2ts"
135
- const CURRENT_SCHEMA_VERSION = '3.33.0';
139
+ const CURRENT_SCHEMA_VERSION = '3.35.0';
136
140
  exports.CURRENT_SCHEMA_VERSION = CURRENT_SCHEMA_VERSION;
137
- const allProjectSchemas = [_metaSchemaV.default, _v2.default, _metaSchemaV2.default, _v3.default, _metaSchemaV3.default, _v4.default, _metaSchemaV4.default, _v5.default, _metaSchemaV5.default, _v6.default, _metaSchemaV6.default, _v7.default, _metaSchemaV7.default, _v8.default, _metaSchemaV8.default, _v9.default, _metaSchemaV9.default, _v10.default, _metaSchemaV10.default, _v11.default, _metaSchemaV11.default, _v12.default, _metaSchemaV12.default, _v13.default, _v14.default, _v15.default, _v16.default, _v17.default, _v18.default, _v19.default, _v20.default, _v21.default, _v22.default, _v23.default, _v24.default, _v25.default, _v26.default, _v27.default, _v28.default, _v29.default, _v30.default, _v31.default, _v32.default, _v33.default, _v34.default, _v35.default, _v36.default, _v37.default, _v38.default, _v39.default, _v40.default, _v41.default, _v42.default, _v.default, _v43.default];
141
+ const allProjectSchemas = [_metaSchemaV.default, _v2.default, _metaSchemaV2.default, _v3.default, _metaSchemaV3.default, _v4.default, _metaSchemaV4.default, _v5.default, _metaSchemaV5.default, _v6.default, _metaSchemaV6.default, _v7.default, _metaSchemaV7.default, _v8.default, _metaSchemaV8.default, _v9.default, _metaSchemaV9.default, _v10.default, _metaSchemaV10.default, _v11.default, _metaSchemaV11.default, _v12.default, _metaSchemaV12.default, _v13.default, _v14.default, _v15.default, _v16.default, _v17.default, _v18.default, _v19.default, _v20.default, _v21.default, _v22.default, _v23.default, _v24.default, _v25.default, _v26.default, _v27.default, _v28.default, _v29.default, _v30.default, _v31.default, _v32.default, _v33.default, _v34.default, _v35.default, _v36.default, _v37.default, _v38.default, _v39.default, _v40.default, _v41.default, _v42.default, _v43.default, _v44.default, _v.default, _v45.default];
138
142
  exports.allProjectSchemas = allProjectSchemas;
@@ -1,7 +1,7 @@
1
1
  // This file is generated by "pnpm json2ts"
2
- export const CURRENT_SCHEMA_VERSION = '3.33.0';
2
+ export const CURRENT_SCHEMA_VERSION = '3.35.0';
3
3
  export {default as anyProjectSchema} from './project-schema.json';
4
- export {default as latestSchemaJson} from './project-schema/v3.33.0.json';
4
+ export {default as latestSchemaJson} from './project-schema/v3.35.0.json';
5
5
  import metaSchemaV1_0_0 from './project-schema/meta-schema-v1.0.0.json';
6
6
  import projectSchemaV1_0_0 from './project-schema/v1.0.0.json';
7
7
  import metaSchemaV3_0_0 from './project-schema/meta-schema-v3.0.0.json';
@@ -56,6 +56,8 @@ import projectSchemaV3_30_0 from './project-schema/v3.30.0.json';
56
56
  import projectSchemaV3_31_0 from './project-schema/v3.31.0.json';
57
57
  import projectSchemaV3_32_0 from './project-schema/v3.32.0.json';
58
58
  import projectSchemaV3_33_0 from './project-schema/v3.33.0.json';
59
+ import projectSchemaV3_34_0 from './project-schema/v3.34.0.json';
60
+ import projectSchemaV3_35_0 from './project-schema/v3.35.0.json';
59
61
  import projectSchemaV4_0_0 from './project-schema/v4.0.0.json';
60
62
  export const allProjectSchemas = [
61
63
  metaSchemaV1_0_0,
@@ -112,5 +114,7 @@ export const allProjectSchemas = [
112
114
  projectSchemaV3_31_0,
113
115
  projectSchemaV3_32_0,
114
116
  projectSchemaV3_33_0,
117
+ projectSchemaV3_34_0,
118
+ projectSchemaV3_35_0,
115
119
  projectSchemaV4_0_0
116
120
  ];
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://schema.takeshape.io/project-schema/v3.33.0#",
4
- "title": "Project Schema",
3
+ "$id": "https://schema.takeshape.io/project-schema/v3.35.0#",
4
+ "title": "Project Schema JSON",
5
5
  "definitions": {
6
6
  "schemaArray": {
7
7
  "title": "Schema Array",
@@ -1766,7 +1766,7 @@
1766
1766
  "additionalProperties": false
1767
1767
  },
1768
1768
  "query": {
1769
- "title": "Query",
1769
+ "title": "Query JSON",
1770
1770
  "type": "object",
1771
1771
  "properties": {
1772
1772
  "args": {
@@ -2008,7 +2008,7 @@
2008
2008
  "additionalProperties": false
2009
2009
  },
2010
2010
  "shape": {
2011
- "title": "Shape",
2011
+ "title": "Shape JSON",
2012
2012
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services",
2013
2013
  "type": "object",
2014
2014
  "properties": {
@@ -2067,6 +2067,9 @@
2067
2067
  "loaders": {
2068
2068
  "$ref": "#/definitions/shapeLoaders"
2069
2069
  },
2070
+ "joins": {
2071
+ "$ref": "#/definitions/shapeJoins"
2072
+ },
2070
2073
  "cache": {
2071
2074
  "$ref": "#/definitions/shapeCacheConfig"
2072
2075
  },
@@ -2149,6 +2152,38 @@
2149
2152
  "enabled"
2150
2153
  ]
2151
2154
  },
2155
+ "shapeJoin": {
2156
+ "title": "ShapeJoin",
2157
+ "type": "object",
2158
+ "properties": {
2159
+ "resolver": {
2160
+ "oneOf": [
2161
+ {
2162
+ "$ref": "#/definitions/delegateResolver"
2163
+ },
2164
+ {
2165
+ "$ref": "#/definitions/shapedbResolver"
2166
+ }
2167
+ ]
2168
+ },
2169
+ "dependencies": {
2170
+ "type": "string"
2171
+ }
2172
+ },
2173
+ "required": [
2174
+ "resolver"
2175
+ ],
2176
+ "additionalProperties": false
2177
+ },
2178
+ "shapeJoins": {
2179
+ "title": "ShapeJoins",
2180
+ "type": "object",
2181
+ "patternProperties": {
2182
+ "[:0-9A-Za-z_-]+": {
2183
+ "$ref": "#/definitions/shapeJoin"
2184
+ }
2185
+ }
2186
+ },
2152
2187
  "shapeLoaders": {
2153
2188
  "title": "ShapeLoaders",
2154
2189
  "type": "object",
@@ -2826,7 +2861,7 @@
2826
2861
  "additionalProperties": false
2827
2862
  },
2828
2863
  "storedServiceConfig": {
2829
- "title": "Stored Service Config",
2864
+ "title": "Service Config JSON",
2830
2865
  "type": "object",
2831
2866
  "properties": {
2832
2867
  "id": {
@@ -2894,7 +2929,7 @@
2894
2929
  ]
2895
2930
  },
2896
2931
  "storedServiceMap": {
2897
- "title": "Stored Service Map",
2932
+ "title": "Service Map JSON",
2898
2933
  "type": "object",
2899
2934
  "patternProperties": {
2900
2935
  "[0-9A-Za-z_-]+": {
@@ -3018,7 +3053,7 @@
3018
3053
  "schemaVersion": {
3019
3054
  "type": "string",
3020
3055
  "enum": [
3021
- "3.33.0"
3056
+ "3.35.0"
3022
3057
  ],
3023
3058
  "description": "The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format."
3024
3059
  },
@@ -3085,4 +3120,4 @@
3085
3120
  "mutations",
3086
3121
  "workflows"
3087
3122
  ]
3088
- }
3123
+ }
@@ -348,7 +348,7 @@
348
348
  "type": "string"
349
349
  },
350
350
  "query": {
351
- "title": "Query",
351
+ "title": "Query JSON",
352
352
  "type": "object",
353
353
  "properties": {
354
354
  "args": {
@@ -348,7 +348,7 @@
348
348
  "type": "string"
349
349
  },
350
350
  "query": {
351
- "title": "Query",
351
+ "title": "Query JSON",
352
352
  "type": "object",
353
353
  "properties": {
354
354
  "args": {
@@ -352,7 +352,7 @@
352
352
  "type": "string"
353
353
  },
354
354
  "query": {
355
- "title": "Query",
355
+ "title": "Query JSON",
356
356
  "type": "object",
357
357
  "properties": {
358
358
  "args": {
@@ -352,7 +352,7 @@
352
352
  "type": "string"
353
353
  },
354
354
  "query": {
355
- "title": "Query",
355
+ "title": "Query JSON",
356
356
  "type": "object",
357
357
  "properties": {
358
358
  "args": {
@@ -406,7 +406,7 @@
406
406
  "type": "string"
407
407
  },
408
408
  "query": {
409
- "title": "Query",
409
+ "title": "Query JSON",
410
410
  "type": "object",
411
411
  "properties": {
412
412
  "args": {
@@ -366,7 +366,7 @@
366
366
  "type": "string"
367
367
  },
368
368
  "query": {
369
- "title": "Query",
369
+ "title": "Query JSON",
370
370
  "type": "object",
371
371
  "properties": {
372
372
  "args": {
@@ -366,7 +366,7 @@
366
366
  "type": "string"
367
367
  },
368
368
  "query": {
369
- "title": "Query",
369
+ "title": "Query JSON",
370
370
  "type": "object",
371
371
  "properties": {
372
372
  "args": {
@@ -366,7 +366,7 @@
366
366
  "type": "string"
367
367
  },
368
368
  "query": {
369
- "title": "Query",
369
+ "title": "Query JSON",
370
370
  "type": "object",
371
371
  "properties": {
372
372
  "args": {
@@ -872,7 +872,7 @@
872
872
  "type": "string"
873
873
  },
874
874
  "query": {
875
- "title": "Query",
875
+ "title": "Query JSON",
876
876
  "type": "object",
877
877
  "properties": {
878
878
  "args": {
@@ -872,7 +872,7 @@
872
872
  "type": "string"
873
873
  },
874
874
  "query": {
875
- "title": "Query",
875
+ "title": "Query JSON",
876
876
  "type": "object",
877
877
  "properties": {
878
878
  "args": {
@@ -1212,7 +1212,7 @@
1212
1212
  "type": "string"
1213
1213
  },
1214
1214
  "query": {
1215
- "title": "Query",
1215
+ "title": "Query JSON",
1216
1216
  "type": "object",
1217
1217
  "properties": {
1218
1218
  "args": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://schema.takeshape.io/project-schema/v1.0.0#",
4
- "title": "Project Schema",
4
+ "title": "Project Schema JSON",
5
5
  "definitions": {
6
6
  "encryptedGraphqlServiceConfig": {
7
7
  "title": "Encrypted GraphQL Service Config",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://schema.takeshape.io/project-schema/v3.0.0#",
4
- "title": "Project Schema",
4
+ "title": "Project Schema JSON",
5
5
  "definitions": {
6
6
  "encryptedGraphqlServiceConfig": {
7
7
  "title": "Encrypted GraphQL Service Config",
@@ -204,7 +204,7 @@
204
204
  "required": ["default"]
205
205
  },
206
206
  "shape": {
207
- "title": "Shape",
207
+ "title": "Shape JSON",
208
208
  "type": "object",
209
209
  "properties": {
210
210
  "name": {
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://schema.takeshape.io/project-schema/v3.1.0#",
4
- "title": "Project Schema",
4
+ "title": "Project Schema JSON",
5
5
  "definitions": {
6
6
  "shape": {
7
- "title": "Shape",
7
+ "title": "Shape JSON",
8
8
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services",
9
9
  "type": "object",
10
10
  "properties": {
@@ -314,7 +314,7 @@
314
314
  "additionalProperties": false
315
315
  },
316
316
  "storedServiceConfig": {
317
- "title": "Stored Service Config",
317
+ "title": "Service Config JSON",
318
318
  "type": "object",
319
319
  "properties": {
320
320
  "id": {
@@ -371,7 +371,7 @@
371
371
  ]
372
372
  },
373
373
  "storedServiceMap": {
374
- "title": "Stored Service Map",
374
+ "title": "Service Map JSON",
375
375
  "type": "object",
376
376
  "patternProperties": {
377
377
  "[0-9A-Za-z_-]+": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://schema.takeshape.io/project-schema/v3.10.0#",
4
- "title": "Project Schema",
4
+ "title": "Project Schema JSON",
5
5
  "definitions": {
6
6
  "schemaArray": {
7
7
  "title": "Schema Array",
@@ -1289,7 +1289,7 @@
1289
1289
  "type": "string"
1290
1290
  },
1291
1291
  "query": {
1292
- "title": "Query",
1292
+ "title": "Query JSON",
1293
1293
  "type": "object",
1294
1294
  "properties": {
1295
1295
  "args": {
@@ -1493,7 +1493,7 @@
1493
1493
  "additionalProperties": false
1494
1494
  },
1495
1495
  "shape": {
1496
- "title": "Shape",
1496
+ "title": "Shape JSON",
1497
1497
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services",
1498
1498
  "type": "object",
1499
1499
  "properties": {
@@ -1836,7 +1836,7 @@
1836
1836
  "additionalProperties": false
1837
1837
  },
1838
1838
  "storedServiceConfig": {
1839
- "title": "Stored Service Config",
1839
+ "title": "Service Config JSON",
1840
1840
  "type": "object",
1841
1841
  "properties": {
1842
1842
  "id": {
@@ -1888,7 +1888,7 @@
1888
1888
  ]
1889
1889
  },
1890
1890
  "storedServiceMap": {
1891
- "title": "Stored Service Map",
1891
+ "title": "Service Map JSON",
1892
1892
  "type": "object",
1893
1893
  "patternProperties": {
1894
1894
  "[0-9A-Za-z_-]+": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://schema.takeshape.io/project-schema/v3.11.0#",
4
- "title": "Project Schema",
4
+ "title": "Project Schema JSON",
5
5
  "definitions": {
6
6
  "schemaArray": {
7
7
  "title": "Schema Array",
@@ -1289,7 +1289,7 @@
1289
1289
  "type": "string"
1290
1290
  },
1291
1291
  "query": {
1292
- "title": "Query",
1292
+ "title": "Query JSON",
1293
1293
  "type": "object",
1294
1294
  "properties": {
1295
1295
  "args": {
@@ -1493,7 +1493,7 @@
1493
1493
  "additionalProperties": false
1494
1494
  },
1495
1495
  "shape": {
1496
- "title": "Shape",
1496
+ "title": "Shape JSON",
1497
1497
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services",
1498
1498
  "type": "object",
1499
1499
  "properties": {
@@ -1880,7 +1880,7 @@
1880
1880
  "additionalProperties": false
1881
1881
  },
1882
1882
  "storedServiceConfig": {
1883
- "title": "Stored Service Config",
1883
+ "title": "Service Config JSON",
1884
1884
  "type": "object",
1885
1885
  "properties": {
1886
1886
  "id": {
@@ -1932,7 +1932,7 @@
1932
1932
  ]
1933
1933
  },
1934
1934
  "storedServiceMap": {
1935
- "title": "Stored Service Map",
1935
+ "title": "Service Map JSON",
1936
1936
  "type": "object",
1937
1937
  "patternProperties": {
1938
1938
  "[0-9A-Za-z_-]+": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://schema.takeshape.io/project-schema/v3.12.0#",
4
- "title": "Project Schema",
4
+ "title": "Project Schema JSON",
5
5
  "definitions": {
6
6
  "schemaArray": {
7
7
  "title": "Schema Array",
@@ -1297,7 +1297,7 @@
1297
1297
  "type": "string"
1298
1298
  },
1299
1299
  "query": {
1300
- "title": "Query",
1300
+ "title": "Query JSON",
1301
1301
  "type": "object",
1302
1302
  "properties": {
1303
1303
  "args": {
@@ -1501,7 +1501,7 @@
1501
1501
  "additionalProperties": false
1502
1502
  },
1503
1503
  "shape": {
1504
- "title": "Shape",
1504
+ "title": "Shape JSON",
1505
1505
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services",
1506
1506
  "type": "object",
1507
1507
  "properties": {
@@ -1888,7 +1888,7 @@
1888
1888
  "additionalProperties": false
1889
1889
  },
1890
1890
  "storedServiceConfig": {
1891
- "title": "Stored Service Config",
1891
+ "title": "Service Config JSON",
1892
1892
  "type": "object",
1893
1893
  "properties": {
1894
1894
  "id": {
@@ -1940,7 +1940,7 @@
1940
1940
  ]
1941
1941
  },
1942
1942
  "storedServiceMap": {
1943
- "title": "Stored Service Map",
1943
+ "title": "Service Map JSON",
1944
1944
  "type": "object",
1945
1945
  "patternProperties": {
1946
1946
  "[0-9A-Za-z_-]+": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://schema.takeshape.io/project-schema/v3.12.1#",
4
- "title": "Project Schema",
4
+ "title": "Project Schema JSON",
5
5
  "definitions": {
6
6
  "schemaArray": {
7
7
  "title": "Schema Array",
@@ -1297,7 +1297,7 @@
1297
1297
  "type": "string"
1298
1298
  },
1299
1299
  "query": {
1300
- "title": "Query",
1300
+ "title": "Query JSON",
1301
1301
  "type": "object",
1302
1302
  "properties": {
1303
1303
  "args": {
@@ -1501,7 +1501,7 @@
1501
1501
  "additionalProperties": false
1502
1502
  },
1503
1503
  "shape": {
1504
- "title": "Shape",
1504
+ "title": "Shape JSON",
1505
1505
  "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services",
1506
1506
  "type": "object",
1507
1507
  "properties": {
@@ -2026,7 +2026,7 @@
2026
2026
  "additionalProperties": false
2027
2027
  },
2028
2028
  "storedServiceConfig": {
2029
- "title": "Stored Service Config",
2029
+ "title": "Service Config JSON",
2030
2030
  "type": "object",
2031
2031
  "properties": {
2032
2032
  "id": {
@@ -2078,7 +2078,7 @@
2078
2078
  ]
2079
2079
  },
2080
2080
  "storedServiceMap": {
2081
- "title": "Stored Service Map",
2081
+ "title": "Service Map JSON",
2082
2082
  "type": "object",
2083
2083
  "patternProperties": {
2084
2084
  "[0-9A-Za-z_-]+": {