@takeshape/schema 11.52.0 → 11.55.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 (1024) hide show
  1. package/dist/__tests__/_examples.test.js +77 -0
  2. package/dist/__tests__/agents.test.js +163 -0
  3. package/dist/__tests__/api-version.test.js +24 -0
  4. package/dist/__tests__/builtin-schema.test.js +18 -0
  5. package/dist/__tests__/content-schema-transform.test.d.ts +1 -0
  6. package/dist/__tests__/content-schema-transform.test.js +522 -0
  7. package/dist/__tests__/create-input-schema.test.d.ts +1 -0
  8. package/dist/__tests__/create-input-schema.test.js +184 -0
  9. package/dist/__tests__/enum.test.d.ts +1 -0
  10. package/dist/__tests__/enum.test.js +36 -0
  11. package/dist/__tests__/flatten-templates.test.d.ts +1 -0
  12. package/dist/__tests__/flatten-templates.test.js +40 -0
  13. package/dist/__tests__/get-is-leaf.test.d.ts +1 -0
  14. package/dist/__tests__/get-is-leaf.test.js +50 -0
  15. package/dist/__tests__/interfaces.test.d.ts +1 -0
  16. package/dist/__tests__/interfaces.test.js +219 -0
  17. package/dist/__tests__/migration.test.d.ts +1 -0
  18. package/dist/__tests__/migration.test.js +34 -0
  19. package/dist/__tests__/mocks.test.d.ts +1 -0
  20. package/dist/__tests__/mocks.test.js +24 -0
  21. package/dist/__tests__/refs.test.d.ts +1 -0
  22. package/dist/__tests__/refs.test.js +752 -0
  23. package/dist/__tests__/relationships.test.d.ts +1 -0
  24. package/dist/__tests__/relationships.test.js +638 -0
  25. package/dist/__tests__/schema-transform.test.d.ts +1 -0
  26. package/dist/__tests__/schema-transform.test.js +205 -0
  27. package/dist/__tests__/schema-util.test.d.ts +1 -0
  28. package/dist/__tests__/schema-util.test.js +1731 -0
  29. package/dist/__tests__/service-dependencies.test.d.ts +1 -0
  30. package/dist/__tests__/service-dependencies.test.js +360 -0
  31. package/dist/__tests__/unions.test.d.ts +1 -0
  32. package/dist/__tests__/unions.test.js +44 -0
  33. package/dist/__tests__/validate.test.d.ts +1 -0
  34. package/dist/__tests__/validate.test.js +1926 -0
  35. package/dist/__tests__/workflows.test.d.ts +3 -0
  36. package/dist/__tests__/workflows.test.js +149 -0
  37. package/dist/agents.d.ts +14 -0
  38. package/dist/auth-schemas.d.ts +125 -0
  39. package/dist/builtin-schema.d.ts +8 -0
  40. package/dist/content-schema-transform.d.ts +35 -0
  41. package/dist/content-schema-transform.js +162 -0
  42. package/dist/create-input-schema.d.ts +9 -0
  43. package/dist/enum.d.ts +2 -0
  44. package/dist/flatten-templates.d.ts +2 -0
  45. package/dist/flatten-templates.js +20 -0
  46. package/dist/get-is-leaf.d.ts +3 -0
  47. package/dist/get-is-leaf.js +56 -0
  48. package/dist/index.d.ts +48 -0
  49. package/dist/index.js +46 -0
  50. package/dist/interfaces.d.ts +12 -0
  51. package/dist/interfaces.js +85 -0
  52. package/dist/layers/__tests__/layers.test.d.ts +1 -0
  53. package/dist/layers/__tests__/layers.test.js +38 -0
  54. package/dist/layers/layers.d.ts +26 -0
  55. package/dist/layers/layers.js +301 -0
  56. package/dist/layers/refs.d.ts +102 -0
  57. package/dist/layers/refs.js +220 -0
  58. package/dist/layers/type-utils.d.ts +59 -0
  59. package/dist/layers/type-utils.js +118 -0
  60. package/dist/layers/visitor.d.ts +5 -0
  61. package/dist/layers/visitor.js +38 -0
  62. package/dist/migration/index.d.ts +64 -0
  63. package/dist/migration/index.js +122 -0
  64. package/dist/migration/to/__tests__/v3.10.0.test.d.ts +1 -0
  65. package/dist/migration/to/__tests__/v3.10.0.test.js +90 -0
  66. package/dist/migration/to/__tests__/v3.12.3.test.d.ts +1 -0
  67. package/dist/migration/to/__tests__/v3.12.3.test.js +103 -0
  68. package/dist/migration/to/__tests__/v3.17.test.d.ts +1 -0
  69. package/dist/migration/to/__tests__/v3.17.test.js +71 -0
  70. package/dist/migration/to/__tests__/v3.34.0.test.d.ts +1 -0
  71. package/dist/migration/to/__tests__/v3.34.0.test.js +240 -0
  72. package/dist/migration/to/__tests__/v3.39.0.test.d.ts +1 -0
  73. package/dist/migration/to/__tests__/v3.39.0.test.js +116 -0
  74. package/dist/migration/to/__tests__/v3.46.0.test.d.ts +1 -0
  75. package/dist/migration/to/__tests__/v3.46.0.test.js +59 -0
  76. package/dist/migration/to/v3.0.0.d.ts +4 -0
  77. package/dist/migration/to/v3.0.0.js +212 -0
  78. package/dist/migration/to/v3.1.0.d.ts +4 -0
  79. package/dist/migration/to/v3.1.0.js +194 -0
  80. package/dist/migration/to/v3.10.0.d.ts +4 -0
  81. package/dist/migration/to/v3.11.0.d.ts +4 -0
  82. package/dist/migration/to/v3.12.0.d.ts +4 -0
  83. package/dist/migration/to/v3.12.1.d.ts +4 -0
  84. package/dist/migration/to/v3.12.2.d.ts +4 -0
  85. package/dist/migration/to/v3.12.3.d.ts +4 -0
  86. package/dist/migration/to/v3.13.0.d.ts +4 -0
  87. package/dist/migration/to/v3.14.0.d.ts +4 -0
  88. package/dist/migration/to/v3.15.0.d.ts +4 -0
  89. package/dist/migration/to/v3.16.0.d.ts +4 -0
  90. package/dist/migration/to/v3.17.0.d.ts +4 -0
  91. package/dist/migration/to/v3.17.1.d.ts +4 -0
  92. package/dist/migration/to/v3.18.0.d.ts +4 -0
  93. package/dist/migration/to/v3.18.1.d.ts +4 -0
  94. package/dist/migration/to/v3.18.2.d.ts +4 -0
  95. package/dist/migration/to/v3.19.0.d.ts +4 -0
  96. package/dist/migration/to/v3.2.0.d.ts +4 -0
  97. package/dist/migration/to/v3.20.0.d.ts +4 -0
  98. package/dist/migration/to/v3.21.0.d.ts +4 -0
  99. package/dist/migration/to/v3.22.0.d.ts +4 -0
  100. package/dist/migration/to/v3.23.0.d.ts +4 -0
  101. package/dist/migration/to/v3.24.0.d.ts +4 -0
  102. package/dist/migration/to/v3.25.0.d.ts +4 -0
  103. package/dist/migration/to/v3.26.0.d.ts +4 -0
  104. package/dist/migration/to/v3.27.0.d.ts +4 -0
  105. package/dist/migration/to/v3.28.0.d.ts +4 -0
  106. package/dist/migration/to/v3.29.0.d.ts +4 -0
  107. package/dist/migration/to/v3.3.0.d.ts +4 -0
  108. package/dist/migration/to/v3.30.0.d.ts +4 -0
  109. package/dist/migration/to/v3.31.0.d.ts +4 -0
  110. package/dist/migration/to/v3.32.0.d.ts +4 -0
  111. package/dist/migration/to/v3.32.0.js +59 -0
  112. package/dist/migration/to/v3.33.0.d.ts +4 -0
  113. package/dist/migration/to/v3.34.0.d.ts +6 -0
  114. package/dist/migration/to/v3.34.0.js +116 -0
  115. package/dist/migration/to/v3.35.0.d.ts +4 -0
  116. package/dist/migration/to/v3.36.0.d.ts +4 -0
  117. package/dist/migration/to/v3.37.0.d.ts +4 -0
  118. package/dist/migration/to/v3.38.0.d.ts +4 -0
  119. package/dist/migration/to/v3.39.0.d.ts +4 -0
  120. package/dist/migration/to/v3.39.0.js +45 -0
  121. package/dist/migration/to/v3.4.0.d.ts +4 -0
  122. package/dist/migration/to/v3.40.0.d.ts +4 -0
  123. package/dist/migration/to/v3.41.0.d.ts +4 -0
  124. package/dist/migration/to/v3.42.0.d.ts +4 -0
  125. package/dist/migration/to/v3.43.0.d.ts +4 -0
  126. package/dist/migration/to/v3.44.0.d.ts +4 -0
  127. package/dist/migration/to/v3.45.0.d.ts +4 -0
  128. package/dist/migration/to/v3.46.0.d.ts +4 -0
  129. package/dist/migration/to/v3.47.0.d.ts +4 -0
  130. package/dist/migration/to/v3.48.0.d.ts +4 -0
  131. package/dist/migration/to/v3.49.0.d.ts +4 -0
  132. package/dist/migration/to/v3.5.0.d.ts +4 -0
  133. package/dist/migration/to/v3.5.1.d.ts +4 -0
  134. package/dist/migration/to/v3.50.0.d.ts +4 -0
  135. package/dist/migration/to/v3.51.0.d.ts +4 -0
  136. package/dist/migration/to/v3.6.0.d.ts +4 -0
  137. package/dist/migration/to/v3.7.0.d.ts +4 -0
  138. package/dist/migration/to/v3.8.0.d.ts +4 -0
  139. package/dist/migration/to/v3.9.0.d.ts +4 -0
  140. package/dist/migration/types.d.ts +19 -0
  141. package/dist/migration/types.js +1 -0
  142. package/dist/mocks.d.ts +13 -0
  143. package/dist/mocks.js +58 -0
  144. package/dist/models/__tests__/project-schema.test.d.ts +1 -0
  145. package/dist/models/__tests__/project-schema.test.js +67 -0
  146. package/dist/models/__tests__/query.test.d.ts +1 -0
  147. package/dist/models/__tests__/query.test.js +27 -0
  148. package/dist/models/__tests__/service.test.d.ts +1 -0
  149. package/dist/models/__tests__/service.test.js +17 -0
  150. package/dist/models/__tests__/shape.test.d.ts +1 -0
  151. package/dist/models/__tests__/shape.test.js +61 -0
  152. package/dist/models/project-schema.d.ts +35 -0
  153. package/dist/models/project-schema.js +92 -0
  154. package/dist/models/query.d.ts +17 -0
  155. package/dist/models/service.d.ts +12 -0
  156. package/dist/models/shape.d.ts +41 -0
  157. package/dist/models/shape.js +85 -0
  158. package/dist/patterns.js +1 -0
  159. package/dist/project-schema/index.d.ts +187 -0
  160. package/dist/project-schema/index.js +75 -0
  161. package/dist/project-schema/migrate.d.ts +4 -0
  162. package/dist/project-schema/migrate.js +194 -0
  163. package/dist/refs.d.ts +226 -0
  164. package/dist/refs.js +608 -0
  165. package/dist/relationships.d.ts +40 -0
  166. package/dist/relationships.js +311 -0
  167. package/dist/runtime-schema.d.ts +5 -0
  168. package/dist/runtime-schema.js +80 -0
  169. package/dist/schema-transform.d.ts +19 -0
  170. package/dist/schema-transform.js +74 -0
  171. package/dist/schema-util.d.ts +210 -0
  172. package/dist/schema-util.js +1077 -0
  173. package/dist/schemas/auth-schemas.json +365 -0
  174. package/dist/schemas/index.js +154 -0
  175. package/dist/service-dependencies.d.ts +13 -0
  176. package/dist/service-dependencies.js +165 -0
  177. package/dist/services/__tests__/services.test.d.ts +1 -0
  178. package/dist/services/__tests__/services.test.js +113 -0
  179. package/dist/services/services.d.ts +31 -0
  180. package/dist/services/services.js +145 -0
  181. package/dist/services/types.js +1 -0
  182. package/dist/services/util.d.ts +16 -0
  183. package/dist/taxonomies.d.ts +15 -0
  184. package/dist/taxonomies.js +24 -0
  185. package/dist/template-shapes/__tests__/index.test.d.ts +1 -0
  186. package/dist/template-shapes/__tests__/index.test.js +40 -0
  187. package/dist/template-shapes/__tests__/names.test.d.ts +1 -0
  188. package/dist/template-shapes/__tests__/names.test.js +19 -0
  189. package/dist/template-shapes/__tests__/templates.test.d.ts +1 -0
  190. package/dist/template-shapes/__tests__/templates.test.js +80 -0
  191. package/dist/template-shapes/__tests__/where.test.d.ts +1 -0
  192. package/dist/template-shapes/__tests__/where.test.js +218 -0
  193. package/dist/template-shapes/index.d.ts +7 -0
  194. package/dist/template-shapes/names.d.ts +10 -0
  195. package/dist/template-shapes/templates.d.ts +32 -0
  196. package/dist/template-shapes/templates.js +319 -0
  197. package/dist/template-shapes/types.d.ts +15 -0
  198. package/dist/template-shapes/where.d.ts +37 -0
  199. package/dist/template-shapes/where.js +402 -0
  200. package/dist/types/__tests__/utils.test.d.ts +1 -0
  201. package/dist/types/__tests__/utils.test.js +159 -0
  202. package/dist/types/index.d.ts +3 -0
  203. package/dist/types/index.js +2 -0
  204. package/dist/types/transforms.d.ts +13 -0
  205. package/dist/types/transforms.js +1 -0
  206. package/dist/types/types.d.ts +211 -0
  207. package/dist/types/utils.d.ts +117 -0
  208. package/dist/types/utils.js +279 -0
  209. package/dist/unions.d.ts +14 -0
  210. package/dist/unions.js +77 -0
  211. package/dist/util/__tests__/api-indexing.test.d.ts +1 -0
  212. package/dist/util/__tests__/api-indexing.test.js +129 -0
  213. package/dist/util/__tests__/detect-cycles.test.d.ts +1 -0
  214. package/dist/util/__tests__/detect-cycles.test.js +193 -0
  215. package/dist/util/__tests__/find-shape-at-path.test.d.ts +1 -0
  216. package/dist/util/__tests__/find-shape-at-path.test.js +41 -0
  217. package/dist/util/__tests__/form-config.test.d.ts +1 -0
  218. package/dist/util/__tests__/form-config.test.js +196 -0
  219. package/dist/util/__tests__/get-return-shape.test.d.ts +1 -0
  220. package/dist/util/__tests__/get-return-shape.test.js +27 -0
  221. package/dist/util/__tests__/has-args.test.d.ts +1 -0
  222. package/dist/util/__tests__/has-args.test.js +46 -0
  223. package/dist/util/__tests__/merge.test.d.ts +1 -0
  224. package/dist/util/__tests__/merge.test.js +1074 -0
  225. package/dist/util/__tests__/patch-schema.test.d.ts +1 -0
  226. package/dist/util/__tests__/patch-schema.test.js +82 -0
  227. package/dist/util/__tests__/shapes.test.d.ts +1 -0
  228. package/dist/util/__tests__/shapes.test.js +30 -0
  229. package/dist/util/ai-tools.d.ts +3 -0
  230. package/dist/util/api-indexing.d.ts +9 -0
  231. package/dist/util/api-indexing.js +57 -0
  232. package/dist/util/detect-cycles.d.ts +7 -0
  233. package/dist/util/detect-cycles.js +45 -0
  234. package/dist/util/find-shape-at-path.d.ts +21 -0
  235. package/dist/util/form-config.d.ts +11 -0
  236. package/dist/util/form-config.js +62 -0
  237. package/dist/util/get-conflicting-properties.d.ts +6 -0
  238. package/dist/util/get-conflicting-properties.js +55 -0
  239. package/dist/util/get-return-shape.d.ts +4 -0
  240. package/dist/util/get-return-shape.js +30 -0
  241. package/dist/util/has-arg.d.ts +4 -0
  242. package/dist/util/has-arg.js +13 -0
  243. package/dist/util/merge.d.ts +15 -0
  244. package/dist/util/merge.js +256 -0
  245. package/dist/util/patch-schema.d.ts +8 -0
  246. package/dist/util/shapes.d.ts +5 -0
  247. package/dist/validate/errors.d.ts +3 -0
  248. package/dist/validate/errors.js +20 -0
  249. package/dist/validate/validate.d.ts +73 -0
  250. package/dist/validate/validate.js +1107 -0
  251. package/dist/versions.d.ts +4 -0
  252. package/dist/versions.js +4 -0
  253. package/dist/workflows.d.ts +14 -0
  254. package/dist/workflows.js +66 -0
  255. package/examples/latest/agent-schema.json +12 -4
  256. package/examples/latest/all-fields-shapes-inline.json +52 -18
  257. package/examples/latest/all-fields-shapes.json +76 -26
  258. package/examples/latest/betzino.json +3139 -902
  259. package/examples/latest/blog-schema.json +28 -8
  260. package/examples/latest/brewery-schema.json +25 -7
  261. package/examples/latest/clear-cache-schema.json +7 -3
  262. package/examples/latest/complex-project-schema.json +359 -98
  263. package/examples/latest/complex-schema.json +1754 -487
  264. package/examples/latest/edit-schema.json +11 -4
  265. package/examples/latest/fabric-ecommerce.json +838 -187
  266. package/examples/latest/frank-and-fred-schema.json +1753 -486
  267. package/examples/latest/klirr-schema.json +2411 -682
  268. package/examples/latest/layers/rick-and-morty-layer.json +32 -11
  269. package/examples/latest/layers/shopify-layer-2023-01.json +8637 -2206
  270. package/examples/latest/layers/shopify-storefront-2023-04.json +1714 -404
  271. package/examples/latest/layers/wordpress-2024-01.json +2746 -691
  272. package/examples/latest/massive-schema.json +584 -131
  273. package/examples/latest/mill-components-schema.json +125 -29
  274. package/examples/latest/nested-shape-arrays.json +19 -7
  275. package/examples/latest/one-earth.json +1113 -236
  276. package/examples/latest/pet-oneof-array.json +22 -7
  277. package/examples/latest/post-schema.json +20 -6
  278. package/examples/latest/pruned-shopify-product-schema.json +830 -185
  279. package/examples/latest/rag-example.json +15 -5
  280. package/examples/latest/real-world-schema.json +56 -14
  281. package/examples/latest/recursive-repeater-schema.json +11 -4
  282. package/examples/latest/recursive-schema.json +11 -4
  283. package/examples/latest/rick-and-morty-ast.json +174 -45
  284. package/examples/latest/rick-and-morty-graphql.json +100 -25
  285. package/examples/latest/rick-and-morty-rest.json +7 -3
  286. package/examples/latest/rick-and-morty-with-indexing.json +13 -5
  287. package/examples/latest/schema-where-filter.json +40 -11
  288. package/examples/latest/schema-with-repeater-draftjs.json +8 -3
  289. package/examples/latest/schema-with-rick-and-morty.json +4 -2
  290. package/examples/latest/shape-books-v3_2_0.json +71 -17
  291. package/examples/latest/shape-books.json +71 -17
  292. package/examples/latest/shape-editor-schema-edited.json +69 -23
  293. package/examples/latest/shape-editor-schema-initial.json +28 -10
  294. package/examples/latest/shapedb-crud-every-prop-type.json +22 -8
  295. package/examples/latest/shopify-lookbook.json +19 -5
  296. package/examples/latest/shopify-product-2022-07.json +3217 -726
  297. package/examples/latest/shopify-product-2023-04.json +4496 -1012
  298. package/examples/latest/shopify-store-with-widget.json +942 -213
  299. package/examples/latest/stripe-product-runtime-schema.json +277 -81
  300. package/examples/latest/stripe-starter-resolved.json +1953 -476
  301. package/examples/latest/user-schema-no-required.json +13 -3
  302. package/examples/latest/user-schema-with-defaults.json +27 -5
  303. package/examples/latest/valvoline-ai-demo.json +69 -17
  304. package/examples/latest/vector-search-schema.json +24 -8
  305. package/package.json +23 -24
  306. package/dist/cjs/package.json +0 -1
  307. package/dist/cjs/src/agents.js +0 -147
  308. package/dist/cjs/src/api-version.js +0 -24
  309. package/dist/cjs/src/auth-schemas.js +0 -8
  310. package/dist/cjs/src/builtin-schema.js +0 -616
  311. package/dist/cjs/src/constants.js +0 -4
  312. package/dist/cjs/src/content-schema-transform.js +0 -175
  313. package/dist/cjs/src/create-input-schema.js +0 -66
  314. package/dist/cjs/src/enum.js +0 -12
  315. package/dist/cjs/src/flatten-templates.js +0 -26
  316. package/dist/cjs/src/get-is-leaf.js +0 -59
  317. package/dist/cjs/src/index.js +0 -62
  318. package/dist/cjs/src/interfaces.js +0 -98
  319. package/dist/cjs/src/layers/layers.js +0 -313
  320. package/dist/cjs/src/layers/refs.js +0 -243
  321. package/dist/cjs/src/layers/type-utils.js +0 -145
  322. package/dist/cjs/src/layers/visitor.js +0 -42
  323. package/dist/cjs/src/migration/index.js +0 -142
  324. package/dist/cjs/src/migration/to/v3.0.0.js +0 -217
  325. package/dist/cjs/src/migration/to/v3.1.0.js +0 -199
  326. package/dist/cjs/src/migration/to/v3.10.0.js +0 -72
  327. package/dist/cjs/src/migration/to/v3.11.0.js +0 -90
  328. package/dist/cjs/src/migration/to/v3.12.0.js +0 -12
  329. package/dist/cjs/src/migration/to/v3.12.1.js +0 -12
  330. package/dist/cjs/src/migration/to/v3.12.2.js +0 -12
  331. package/dist/cjs/src/migration/to/v3.12.3.js +0 -92
  332. package/dist/cjs/src/migration/to/v3.13.0.js +0 -22
  333. package/dist/cjs/src/migration/to/v3.14.0.js +0 -12
  334. package/dist/cjs/src/migration/to/v3.15.0.js +0 -12
  335. package/dist/cjs/src/migration/to/v3.16.0.js +0 -12
  336. package/dist/cjs/src/migration/to/v3.17.0.js +0 -27
  337. package/dist/cjs/src/migration/to/v3.17.1.js +0 -12
  338. package/dist/cjs/src/migration/to/v3.18.0.js +0 -69
  339. package/dist/cjs/src/migration/to/v3.18.1.js +0 -20
  340. package/dist/cjs/src/migration/to/v3.18.2.js +0 -24
  341. package/dist/cjs/src/migration/to/v3.19.0.js +0 -12
  342. package/dist/cjs/src/migration/to/v3.2.0.js +0 -12
  343. package/dist/cjs/src/migration/to/v3.20.0.js +0 -29
  344. package/dist/cjs/src/migration/to/v3.21.0.js +0 -12
  345. package/dist/cjs/src/migration/to/v3.22.0.js +0 -30
  346. package/dist/cjs/src/migration/to/v3.23.0.js +0 -12
  347. package/dist/cjs/src/migration/to/v3.24.0.js +0 -13
  348. package/dist/cjs/src/migration/to/v3.25.0.js +0 -13
  349. package/dist/cjs/src/migration/to/v3.26.0.js +0 -12
  350. package/dist/cjs/src/migration/to/v3.27.0.js +0 -12
  351. package/dist/cjs/src/migration/to/v3.28.0.js +0 -12
  352. package/dist/cjs/src/migration/to/v3.29.0.js +0 -12
  353. package/dist/cjs/src/migration/to/v3.3.0.js +0 -15
  354. package/dist/cjs/src/migration/to/v3.30.0.js +0 -12
  355. package/dist/cjs/src/migration/to/v3.31.0.js +0 -43
  356. package/dist/cjs/src/migration/to/v3.32.0.js +0 -61
  357. package/dist/cjs/src/migration/to/v3.33.0.js +0 -12
  358. package/dist/cjs/src/migration/to/v3.34.0.js +0 -123
  359. package/dist/cjs/src/migration/to/v3.35.0.js +0 -12
  360. package/dist/cjs/src/migration/to/v3.36.0.js +0 -27
  361. package/dist/cjs/src/migration/to/v3.37.0.js +0 -12
  362. package/dist/cjs/src/migration/to/v3.38.0.js +0 -12
  363. package/dist/cjs/src/migration/to/v3.39.0.js +0 -47
  364. package/dist/cjs/src/migration/to/v3.4.0.js +0 -12
  365. package/dist/cjs/src/migration/to/v3.40.0.js +0 -31
  366. package/dist/cjs/src/migration/to/v3.41.0.js +0 -12
  367. package/dist/cjs/src/migration/to/v3.42.0.js +0 -12
  368. package/dist/cjs/src/migration/to/v3.43.0.js +0 -12
  369. package/dist/cjs/src/migration/to/v3.44.0.js +0 -12
  370. package/dist/cjs/src/migration/to/v3.45.0.js +0 -12
  371. package/dist/cjs/src/migration/to/v3.46.0.js +0 -37
  372. package/dist/cjs/src/migration/to/v3.47.0.js +0 -12
  373. package/dist/cjs/src/migration/to/v3.48.0.js +0 -12
  374. package/dist/cjs/src/migration/to/v3.49.0.js +0 -12
  375. package/dist/cjs/src/migration/to/v3.5.0.js +0 -12
  376. package/dist/cjs/src/migration/to/v3.5.1.js +0 -12
  377. package/dist/cjs/src/migration/to/v3.50.0.js +0 -12
  378. package/dist/cjs/src/migration/to/v3.51.0.js +0 -12
  379. package/dist/cjs/src/migration/to/v3.6.0.js +0 -12
  380. package/dist/cjs/src/migration/to/v3.7.0.js +0 -12
  381. package/dist/cjs/src/migration/to/v3.8.0.js +0 -12
  382. package/dist/cjs/src/migration/to/v3.9.0.js +0 -84
  383. package/dist/cjs/src/migration/types.js +0 -2
  384. package/dist/cjs/src/migration/utils.js +0 -10
  385. package/dist/cjs/src/mocks.js +0 -65
  386. package/dist/cjs/src/models/project-schema.js +0 -99
  387. package/dist/cjs/src/models/query.js +0 -35
  388. package/dist/cjs/src/models/service.js +0 -24
  389. package/dist/cjs/src/models/shape.js +0 -89
  390. package/dist/cjs/src/patterns.js +0 -2
  391. package/dist/cjs/src/project-schema/index.js +0 -156
  392. package/dist/cjs/src/project-schema/latest.js +0 -8
  393. package/dist/cjs/src/project-schema/migrate.js +0 -198
  394. package/dist/cjs/src/project-schema/v1.0.0.js +0 -8
  395. package/dist/cjs/src/project-schema/v3.0.0.js +0 -8
  396. package/dist/cjs/src/project-schema/v3.1.0.js +0 -8
  397. package/dist/cjs/src/project-schema/v3.10.0.js +0 -8
  398. package/dist/cjs/src/project-schema/v3.11.0.js +0 -8
  399. package/dist/cjs/src/project-schema/v3.12.0.js +0 -8
  400. package/dist/cjs/src/project-schema/v3.12.1.js +0 -8
  401. package/dist/cjs/src/project-schema/v3.12.2.js +0 -8
  402. package/dist/cjs/src/project-schema/v3.12.3.js +0 -8
  403. package/dist/cjs/src/project-schema/v3.13.0.js +0 -8
  404. package/dist/cjs/src/project-schema/v3.13.1.js +0 -8
  405. package/dist/cjs/src/project-schema/v3.14.0.js +0 -8
  406. package/dist/cjs/src/project-schema/v3.15.0.js +0 -8
  407. package/dist/cjs/src/project-schema/v3.16.0.js +0 -8
  408. package/dist/cjs/src/project-schema/v3.17.0.js +0 -8
  409. package/dist/cjs/src/project-schema/v3.17.1.js +0 -8
  410. package/dist/cjs/src/project-schema/v3.18.0.js +0 -8
  411. package/dist/cjs/src/project-schema/v3.18.1.js +0 -8
  412. package/dist/cjs/src/project-schema/v3.18.2.js +0 -8
  413. package/dist/cjs/src/project-schema/v3.19.0.js +0 -8
  414. package/dist/cjs/src/project-schema/v3.2.0.js +0 -8
  415. package/dist/cjs/src/project-schema/v3.20.0.js +0 -8
  416. package/dist/cjs/src/project-schema/v3.21.0.js +0 -8
  417. package/dist/cjs/src/project-schema/v3.22.0.js +0 -8
  418. package/dist/cjs/src/project-schema/v3.23.0.js +0 -8
  419. package/dist/cjs/src/project-schema/v3.24.0.js +0 -8
  420. package/dist/cjs/src/project-schema/v3.25.0.js +0 -8
  421. package/dist/cjs/src/project-schema/v3.26.0.js +0 -8
  422. package/dist/cjs/src/project-schema/v3.27.0.js +0 -8
  423. package/dist/cjs/src/project-schema/v3.28.0.js +0 -8
  424. package/dist/cjs/src/project-schema/v3.29.0.js +0 -8
  425. package/dist/cjs/src/project-schema/v3.3.0.js +0 -8
  426. package/dist/cjs/src/project-schema/v3.30.0.js +0 -8
  427. package/dist/cjs/src/project-schema/v3.31.0.js +0 -8
  428. package/dist/cjs/src/project-schema/v3.32.0.js +0 -8
  429. package/dist/cjs/src/project-schema/v3.33.0.js +0 -8
  430. package/dist/cjs/src/project-schema/v3.34.0.js +0 -8
  431. package/dist/cjs/src/project-schema/v3.35.0.js +0 -8
  432. package/dist/cjs/src/project-schema/v3.36.0.js +0 -8
  433. package/dist/cjs/src/project-schema/v3.37.0.js +0 -8
  434. package/dist/cjs/src/project-schema/v3.38.0.js +0 -8
  435. package/dist/cjs/src/project-schema/v3.39.0.js +0 -8
  436. package/dist/cjs/src/project-schema/v3.4.0.js +0 -8
  437. package/dist/cjs/src/project-schema/v3.40.0.js +0 -8
  438. package/dist/cjs/src/project-schema/v3.41.0.js +0 -8
  439. package/dist/cjs/src/project-schema/v3.42.0.js +0 -8
  440. package/dist/cjs/src/project-schema/v3.43.0.js +0 -8
  441. package/dist/cjs/src/project-schema/v3.44.0.js +0 -8
  442. package/dist/cjs/src/project-schema/v3.45.0.js +0 -8
  443. package/dist/cjs/src/project-schema/v3.46.0.js +0 -8
  444. package/dist/cjs/src/project-schema/v3.47.0.js +0 -8
  445. package/dist/cjs/src/project-schema/v3.48.0.js +0 -8
  446. package/dist/cjs/src/project-schema/v3.49.0.js +0 -8
  447. package/dist/cjs/src/project-schema/v3.5.0.js +0 -8
  448. package/dist/cjs/src/project-schema/v3.5.1.js +0 -8
  449. package/dist/cjs/src/project-schema/v3.50.0.js +0 -8
  450. package/dist/cjs/src/project-schema/v3.51.0.js +0 -8
  451. package/dist/cjs/src/project-schema/v3.6.0.js +0 -8
  452. package/dist/cjs/src/project-schema/v3.7.0.js +0 -8
  453. package/dist/cjs/src/project-schema/v3.8.0.js +0 -8
  454. package/dist/cjs/src/project-schema/v3.9.0.js +0 -8
  455. package/dist/cjs/src/project-schema/v4.0.0.js +0 -8
  456. package/dist/cjs/src/refs.js +0 -671
  457. package/dist/cjs/src/relationships.js +0 -326
  458. package/dist/cjs/src/runtime-schema.js +0 -88
  459. package/dist/cjs/src/scalars.js +0 -8
  460. package/dist/cjs/src/schema-transform.js +0 -83
  461. package/dist/cjs/src/schema-util.js +0 -1140
  462. package/dist/cjs/src/schemas/auth-schemas.json +0 -313
  463. package/dist/cjs/src/schemas/index.js +0 -162
  464. package/dist/cjs/src/schemas/user-schema.json +0 -51
  465. package/dist/cjs/src/service-dependencies.js +0 -172
  466. package/dist/cjs/src/services/services.js +0 -156
  467. package/dist/cjs/src/services/types.js +0 -2
  468. package/dist/cjs/src/services/util.js +0 -45
  469. package/dist/cjs/src/taxonomies.js +0 -28
  470. package/dist/cjs/src/template-shapes/index.js +0 -37
  471. package/dist/cjs/src/template-shapes/names.js +0 -26
  472. package/dist/cjs/src/template-shapes/templates.js +0 -331
  473. package/dist/cjs/src/template-shapes/types.js +0 -10
  474. package/dist/cjs/src/template-shapes/where.js +0 -414
  475. package/dist/cjs/src/types/index.js +0 -19
  476. package/dist/cjs/src/types/transforms.js +0 -2
  477. package/dist/cjs/src/types/types.js +0 -21
  478. package/dist/cjs/src/types/utils.js +0 -344
  479. package/dist/cjs/src/unions.js +0 -88
  480. package/dist/cjs/src/user-schema.js +0 -8
  481. package/dist/cjs/src/util/ai-tools.js +0 -10
  482. package/dist/cjs/src/util/api-indexing.js +0 -62
  483. package/dist/cjs/src/util/detect-cycles.js +0 -48
  484. package/dist/cjs/src/util/find-shape-at-path.js +0 -57
  485. package/dist/cjs/src/util/form-config.js +0 -66
  486. package/dist/cjs/src/util/get-conflicting-properties.js +0 -58
  487. package/dist/cjs/src/util/get-return-shape.js +0 -34
  488. package/dist/cjs/src/util/has-arg.js +0 -17
  489. package/dist/cjs/src/util/merge.js +0 -269
  490. package/dist/cjs/src/util/patch-schema.js +0 -55
  491. package/dist/cjs/src/util/shapes.js +0 -31
  492. package/dist/cjs/src/validate.js +0 -1140
  493. package/dist/cjs/src/versions.js +0 -8
  494. package/dist/cjs/src/workflows.js +0 -76
  495. package/dist/cjs/tsconfig.cjs.tsbuildinfo +0 -1
  496. package/dist/esm/package.json +0 -1
  497. package/dist/esm/src/content-schema-transform.js +0 -162
  498. package/dist/esm/src/flatten-templates.js +0 -20
  499. package/dist/esm/src/get-is-leaf.js +0 -56
  500. package/dist/esm/src/index.js +0 -46
  501. package/dist/esm/src/interfaces.js +0 -85
  502. package/dist/esm/src/layers/layers.js +0 -301
  503. package/dist/esm/src/layers/refs.js +0 -220
  504. package/dist/esm/src/layers/type-utils.js +0 -118
  505. package/dist/esm/src/layers/visitor.js +0 -38
  506. package/dist/esm/src/migration/index.js +0 -122
  507. package/dist/esm/src/migration/to/v3.0.0.js +0 -212
  508. package/dist/esm/src/migration/to/v3.1.0.js +0 -194
  509. package/dist/esm/src/migration/to/v3.32.0.js +0 -59
  510. package/dist/esm/src/migration/to/v3.34.0.js +0 -116
  511. package/dist/esm/src/migration/to/v3.39.0.js +0 -45
  512. package/dist/esm/src/mocks.js +0 -58
  513. package/dist/esm/src/models/project-schema.js +0 -92
  514. package/dist/esm/src/models/shape.js +0 -85
  515. package/dist/esm/src/project-schema/index.js +0 -138
  516. package/dist/esm/src/project-schema/migrate.js +0 -194
  517. package/dist/esm/src/refs.js +0 -608
  518. package/dist/esm/src/relationships.js +0 -311
  519. package/dist/esm/src/runtime-schema.js +0 -80
  520. package/dist/esm/src/schema-transform.js +0 -74
  521. package/dist/esm/src/schema-util.js +0 -1077
  522. package/dist/esm/src/schemas/auth-schemas.json +0 -313
  523. package/dist/esm/src/schemas/index.js +0 -154
  524. package/dist/esm/src/schemas/project-schema/experimental.json +0 -1101
  525. package/dist/esm/src/schemas/project-schema/latest.json +0 -3320
  526. package/dist/esm/src/schemas/project-schema/meta-schema-v1.0.0.json +0 -193
  527. package/dist/esm/src/schemas/project-schema/meta-schema-v3.0.0.json +0 -608
  528. package/dist/esm/src/schemas/project-schema/meta-schema-v3.1.0.json +0 -608
  529. package/dist/esm/src/schemas/project-schema/meta-schema-v3.2.0.json +0 -612
  530. package/dist/esm/src/schemas/project-schema/meta-schema-v3.3.0.json +0 -612
  531. package/dist/esm/src/schemas/project-schema/meta-schema-v3.4.0.json +0 -637
  532. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.0.json +0 -626
  533. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.1.json +0 -626
  534. package/dist/esm/src/schemas/project-schema/meta-schema-v3.6.0.json +0 -629
  535. package/dist/esm/src/schemas/project-schema/meta-schema-v3.7.0.json +0 -1137
  536. package/dist/esm/src/schemas/project-schema/meta-schema-v3.8.0.json +0 -1137
  537. package/dist/esm/src/schemas/project-schema/meta-schema-v3.9.0.json +0 -1477
  538. package/dist/esm/src/schemas/project-schema/v1.0.0.json +0 -321
  539. package/dist/esm/src/schemas/project-schema/v3.0.0.json +0 -414
  540. package/dist/esm/src/schemas/project-schema/v3.1.0.json +0 -572
  541. package/dist/esm/src/schemas/project-schema/v3.10.0.json +0 -2097
  542. package/dist/esm/src/schemas/project-schema/v3.11.0.json +0 -2141
  543. package/dist/esm/src/schemas/project-schema/v3.12.0.json +0 -2144
  544. package/dist/esm/src/schemas/project-schema/v3.12.1.json +0 -2282
  545. package/dist/esm/src/schemas/project-schema/v3.12.2.json +0 -2304
  546. package/dist/esm/src/schemas/project-schema/v3.12.3.json +0 -2357
  547. package/dist/esm/src/schemas/project-schema/v3.13.0.json +0 -2377
  548. package/dist/esm/src/schemas/project-schema/v3.14.0.json +0 -2385
  549. package/dist/esm/src/schemas/project-schema/v3.15.0.json +0 -2365
  550. package/dist/esm/src/schemas/project-schema/v3.16.0.json +0 -2373
  551. package/dist/esm/src/schemas/project-schema/v3.17.0.json +0 -2378
  552. package/dist/esm/src/schemas/project-schema/v3.17.1.json +0 -2380
  553. package/dist/esm/src/schemas/project-schema/v3.18.0.json +0 -2356
  554. package/dist/esm/src/schemas/project-schema/v3.18.1.json +0 -2357
  555. package/dist/esm/src/schemas/project-schema/v3.18.2.json +0 -2357
  556. package/dist/esm/src/schemas/project-schema/v3.19.0.json +0 -2369
  557. package/dist/esm/src/schemas/project-schema/v3.2.0.json +0 -580
  558. package/dist/esm/src/schemas/project-schema/v3.20.0.json +0 -2369
  559. package/dist/esm/src/schemas/project-schema/v3.21.0.json +0 -2376
  560. package/dist/esm/src/schemas/project-schema/v3.22.0.json +0 -2381
  561. package/dist/esm/src/schemas/project-schema/v3.23.0.json +0 -2456
  562. package/dist/esm/src/schemas/project-schema/v3.24.0.json +0 -2556
  563. package/dist/esm/src/schemas/project-schema/v3.25.0.json +0 -2552
  564. package/dist/esm/src/schemas/project-schema/v3.26.0.json +0 -2599
  565. package/dist/esm/src/schemas/project-schema/v3.27.0.json +0 -2611
  566. package/dist/esm/src/schemas/project-schema/v3.28.0.json +0 -2656
  567. package/dist/esm/src/schemas/project-schema/v3.29.0.json +0 -2670
  568. package/dist/esm/src/schemas/project-schema/v3.3.0.json +0 -581
  569. package/dist/esm/src/schemas/project-schema/v3.30.0.json +0 -2656
  570. package/dist/esm/src/schemas/project-schema/v3.31.0.json +0 -2714
  571. package/dist/esm/src/schemas/project-schema/v3.32.0.json +0 -2708
  572. package/dist/esm/src/schemas/project-schema/v3.33.0.json +0 -2715
  573. package/dist/esm/src/schemas/project-schema/v3.34.0.json +0 -2715
  574. package/dist/esm/src/schemas/project-schema/v3.35.0.json +0 -2748
  575. package/dist/esm/src/schemas/project-schema/v3.36.0.json +0 -2756
  576. package/dist/esm/src/schemas/project-schema/v3.37.0.json +0 -2821
  577. package/dist/esm/src/schemas/project-schema/v3.38.0.json +0 -2819
  578. package/dist/esm/src/schemas/project-schema/v3.39.0.json +0 -2827
  579. package/dist/esm/src/schemas/project-schema/v3.4.0.json +0 -571
  580. package/dist/esm/src/schemas/project-schema/v3.40.0.json +0 -2830
  581. package/dist/esm/src/schemas/project-schema/v3.41.0.json +0 -2830
  582. package/dist/esm/src/schemas/project-schema/v3.42.0.json +0 -2835
  583. package/dist/esm/src/schemas/project-schema/v3.43.0.json +0 -2841
  584. package/dist/esm/src/schemas/project-schema/v3.44.0.json +0 -3013
  585. package/dist/esm/src/schemas/project-schema/v3.45.0.json +0 -3064
  586. package/dist/esm/src/schemas/project-schema/v3.46.0.json +0 -3136
  587. package/dist/esm/src/schemas/project-schema/v3.47.0.json +0 -3189
  588. package/dist/esm/src/schemas/project-schema/v3.48.0.json +0 -3196
  589. package/dist/esm/src/schemas/project-schema/v3.49.0.json +0 -3239
  590. package/dist/esm/src/schemas/project-schema/v3.5.0.json +0 -571
  591. package/dist/esm/src/schemas/project-schema/v3.5.1.json +0 -571
  592. package/dist/esm/src/schemas/project-schema/v3.50.0.json +0 -3320
  593. package/dist/esm/src/schemas/project-schema/v3.51.0.json +0 -3320
  594. package/dist/esm/src/schemas/project-schema/v3.6.0.json +0 -587
  595. package/dist/esm/src/schemas/project-schema/v3.7.0.json +0 -587
  596. package/dist/esm/src/schemas/project-schema/v3.8.0.json +0 -604
  597. package/dist/esm/src/schemas/project-schema/v3.9.0.json +0 -604
  598. package/dist/esm/src/schemas/project-schema/v4.0.0.json +0 -2316
  599. package/dist/esm/src/schemas/project-schema.json +0 -190
  600. package/dist/esm/src/schemas/user-schema.json +0 -51
  601. package/dist/esm/src/service-dependencies.js +0 -165
  602. package/dist/esm/src/services/services.js +0 -145
  603. package/dist/esm/src/taxonomies.js +0 -24
  604. package/dist/esm/src/template-shapes/templates.js +0 -319
  605. package/dist/esm/src/template-shapes/where.js +0 -402
  606. package/dist/esm/src/types/index.js +0 -3
  607. package/dist/esm/src/types/utils.js +0 -279
  608. package/dist/esm/src/unions.js +0 -77
  609. package/dist/esm/src/user-schema.js +0 -7
  610. package/dist/esm/src/util/api-indexing.js +0 -57
  611. package/dist/esm/src/util/detect-cycles.js +0 -45
  612. package/dist/esm/src/util/form-config.js +0 -62
  613. package/dist/esm/src/util/get-conflicting-properties.js +0 -55
  614. package/dist/esm/src/util/get-return-shape.js +0 -30
  615. package/dist/esm/src/util/has-arg.js +0 -13
  616. package/dist/esm/src/util/merge.js +0 -256
  617. package/dist/esm/src/validate.js +0 -1126
  618. package/dist/esm/src/versions.js +0 -4
  619. package/dist/esm/src/workflows.js +0 -66
  620. package/dist/esm/tsconfig.esm.tsbuildinfo +0 -1
  621. package/dist/types/src/agents.d.ts +0 -14
  622. package/dist/types/src/auth-schemas.d.ts +0 -104
  623. package/dist/types/src/builtin-schema.d.ts +0 -8
  624. package/dist/types/src/content-schema-transform.d.ts +0 -35
  625. package/dist/types/src/create-input-schema.d.ts +0 -9
  626. package/dist/types/src/enum.d.ts +0 -2
  627. package/dist/types/src/flatten-templates.d.ts +0 -2
  628. package/dist/types/src/get-is-leaf.d.ts +0 -3
  629. package/dist/types/src/index.d.ts +0 -48
  630. package/dist/types/src/interfaces.d.ts +0 -12
  631. package/dist/types/src/layers/layers.d.ts +0 -26
  632. package/dist/types/src/layers/refs.d.ts +0 -102
  633. package/dist/types/src/layers/type-utils.d.ts +0 -59
  634. package/dist/types/src/layers/visitor.d.ts +0 -5
  635. package/dist/types/src/migration/index.d.ts +0 -64
  636. package/dist/types/src/migration/to/v3.0.0.d.ts +0 -4
  637. package/dist/types/src/migration/to/v3.1.0.d.ts +0 -4
  638. package/dist/types/src/migration/to/v3.10.0.d.ts +0 -4
  639. package/dist/types/src/migration/to/v3.11.0.d.ts +0 -4
  640. package/dist/types/src/migration/to/v3.12.0.d.ts +0 -4
  641. package/dist/types/src/migration/to/v3.12.1.d.ts +0 -4
  642. package/dist/types/src/migration/to/v3.12.2.d.ts +0 -4
  643. package/dist/types/src/migration/to/v3.12.3.d.ts +0 -4
  644. package/dist/types/src/migration/to/v3.13.0.d.ts +0 -4
  645. package/dist/types/src/migration/to/v3.14.0.d.ts +0 -4
  646. package/dist/types/src/migration/to/v3.15.0.d.ts +0 -4
  647. package/dist/types/src/migration/to/v3.16.0.d.ts +0 -4
  648. package/dist/types/src/migration/to/v3.17.0.d.ts +0 -4
  649. package/dist/types/src/migration/to/v3.17.1.d.ts +0 -4
  650. package/dist/types/src/migration/to/v3.18.0.d.ts +0 -4
  651. package/dist/types/src/migration/to/v3.18.1.d.ts +0 -4
  652. package/dist/types/src/migration/to/v3.18.2.d.ts +0 -4
  653. package/dist/types/src/migration/to/v3.19.0.d.ts +0 -4
  654. package/dist/types/src/migration/to/v3.2.0.d.ts +0 -4
  655. package/dist/types/src/migration/to/v3.20.0.d.ts +0 -4
  656. package/dist/types/src/migration/to/v3.21.0.d.ts +0 -4
  657. package/dist/types/src/migration/to/v3.22.0.d.ts +0 -4
  658. package/dist/types/src/migration/to/v3.23.0.d.ts +0 -4
  659. package/dist/types/src/migration/to/v3.24.0.d.ts +0 -4
  660. package/dist/types/src/migration/to/v3.25.0.d.ts +0 -4
  661. package/dist/types/src/migration/to/v3.26.0.d.ts +0 -4
  662. package/dist/types/src/migration/to/v3.27.0.d.ts +0 -4
  663. package/dist/types/src/migration/to/v3.28.0.d.ts +0 -4
  664. package/dist/types/src/migration/to/v3.29.0.d.ts +0 -4
  665. package/dist/types/src/migration/to/v3.3.0.d.ts +0 -4
  666. package/dist/types/src/migration/to/v3.30.0.d.ts +0 -4
  667. package/dist/types/src/migration/to/v3.31.0.d.ts +0 -4
  668. package/dist/types/src/migration/to/v3.32.0.d.ts +0 -4
  669. package/dist/types/src/migration/to/v3.33.0.d.ts +0 -4
  670. package/dist/types/src/migration/to/v3.34.0.d.ts +0 -6
  671. package/dist/types/src/migration/to/v3.35.0.d.ts +0 -4
  672. package/dist/types/src/migration/to/v3.36.0.d.ts +0 -4
  673. package/dist/types/src/migration/to/v3.37.0.d.ts +0 -4
  674. package/dist/types/src/migration/to/v3.38.0.d.ts +0 -4
  675. package/dist/types/src/migration/to/v3.39.0.d.ts +0 -4
  676. package/dist/types/src/migration/to/v3.4.0.d.ts +0 -4
  677. package/dist/types/src/migration/to/v3.40.0.d.ts +0 -4
  678. package/dist/types/src/migration/to/v3.41.0.d.ts +0 -4
  679. package/dist/types/src/migration/to/v3.42.0.d.ts +0 -4
  680. package/dist/types/src/migration/to/v3.43.0.d.ts +0 -4
  681. package/dist/types/src/migration/to/v3.44.0.d.ts +0 -4
  682. package/dist/types/src/migration/to/v3.45.0.d.ts +0 -4
  683. package/dist/types/src/migration/to/v3.46.0.d.ts +0 -4
  684. package/dist/types/src/migration/to/v3.47.0.d.ts +0 -4
  685. package/dist/types/src/migration/to/v3.48.0.d.ts +0 -4
  686. package/dist/types/src/migration/to/v3.49.0.d.ts +0 -4
  687. package/dist/types/src/migration/to/v3.5.0.d.ts +0 -4
  688. package/dist/types/src/migration/to/v3.5.1.d.ts +0 -4
  689. package/dist/types/src/migration/to/v3.50.0.d.ts +0 -4
  690. package/dist/types/src/migration/to/v3.51.0.d.ts +0 -4
  691. package/dist/types/src/migration/to/v3.6.0.d.ts +0 -4
  692. package/dist/types/src/migration/to/v3.7.0.d.ts +0 -4
  693. package/dist/types/src/migration/to/v3.8.0.d.ts +0 -4
  694. package/dist/types/src/migration/to/v3.9.0.d.ts +0 -4
  695. package/dist/types/src/migration/types.d.ts +0 -19
  696. package/dist/types/src/mocks.d.ts +0 -13
  697. package/dist/types/src/models/project-schema.d.ts +0 -35
  698. package/dist/types/src/models/query.d.ts +0 -17
  699. package/dist/types/src/models/service.d.ts +0 -12
  700. package/dist/types/src/models/shape.d.ts +0 -41
  701. package/dist/types/src/project-schema/index.d.ts +0 -187
  702. package/dist/types/src/project-schema/migrate.d.ts +0 -4
  703. package/dist/types/src/refs.d.ts +0 -226
  704. package/dist/types/src/relationships.d.ts +0 -40
  705. package/dist/types/src/runtime-schema.d.ts +0 -5
  706. package/dist/types/src/schema-transform.d.ts +0 -19
  707. package/dist/types/src/schema-util.d.ts +0 -210
  708. package/dist/types/src/service-dependencies.d.ts +0 -13
  709. package/dist/types/src/services/services.d.ts +0 -31
  710. package/dist/types/src/services/util.d.ts +0 -16
  711. package/dist/types/src/taxonomies.d.ts +0 -15
  712. package/dist/types/src/template-shapes/index.d.ts +0 -7
  713. package/dist/types/src/template-shapes/names.d.ts +0 -10
  714. package/dist/types/src/template-shapes/templates.d.ts +0 -32
  715. package/dist/types/src/template-shapes/types.d.ts +0 -15
  716. package/dist/types/src/template-shapes/where.d.ts +0 -37
  717. package/dist/types/src/types/index.d.ts +0 -3
  718. package/dist/types/src/types/transforms.d.ts +0 -13
  719. package/dist/types/src/types/types.d.ts +0 -211
  720. package/dist/types/src/types/utils.d.ts +0 -117
  721. package/dist/types/src/unions.d.ts +0 -14
  722. package/dist/types/src/user-schema.d.ts +0 -38
  723. package/dist/types/src/util/ai-tools.d.ts +0 -3
  724. package/dist/types/src/util/api-indexing.d.ts +0 -9
  725. package/dist/types/src/util/detect-cycles.d.ts +0 -7
  726. package/dist/types/src/util/find-shape-at-path.d.ts +0 -21
  727. package/dist/types/src/util/form-config.d.ts +0 -11
  728. package/dist/types/src/util/get-conflicting-properties.d.ts +0 -6
  729. package/dist/types/src/util/get-return-shape.d.ts +0 -4
  730. package/dist/types/src/util/has-arg.d.ts +0 -4
  731. package/dist/types/src/util/merge.d.ts +0 -15
  732. package/dist/types/src/util/patch-schema.d.ts +0 -8
  733. package/dist/types/src/util/shapes.d.ts +0 -5
  734. package/dist/types/src/validate.d.ts +0 -75
  735. package/dist/types/src/versions.d.ts +0 -4
  736. package/dist/types/src/workflows.d.ts +0 -14
  737. package/dist/types/tsconfig.types.tsbuildinfo +0 -1
  738. /package/dist/{esm/src/migration/types.js → __tests__/_examples.test.d.ts} +0 -0
  739. /package/dist/{esm/src/patterns.js → __tests__/agents.test.d.ts} +0 -0
  740. /package/dist/{esm/src/services/types.js → __tests__/api-version.test.d.ts} +0 -0
  741. /package/dist/{esm/src/types/transforms.js → __tests__/builtin-schema.test.d.ts} +0 -0
  742. /package/dist/{esm/src/agents.js → agents.js} +0 -0
  743. /package/dist/{types/src/api-version.d.ts → api-version.d.ts} +0 -0
  744. /package/dist/{esm/src/api-version.js → api-version.js} +0 -0
  745. /package/dist/{esm/src/auth-schemas.js → auth-schemas.js} +0 -0
  746. /package/dist/{esm/src/builtin-schema.js → builtin-schema.js} +0 -0
  747. /package/dist/{types/src/constants.d.ts → constants.d.ts} +0 -0
  748. /package/dist/{esm/src/constants.js → constants.js} +0 -0
  749. /package/dist/{esm/src/create-input-schema.js → create-input-schema.js} +0 -0
  750. /package/dist/{esm/src/enum.js → enum.js} +0 -0
  751. /package/dist/{esm/src/migration → migration}/to/v3.10.0.js +0 -0
  752. /package/dist/{esm/src/migration → migration}/to/v3.11.0.js +0 -0
  753. /package/dist/{esm/src/migration → migration}/to/v3.12.0.js +0 -0
  754. /package/dist/{esm/src/migration → migration}/to/v3.12.1.js +0 -0
  755. /package/dist/{esm/src/migration → migration}/to/v3.12.2.js +0 -0
  756. /package/dist/{esm/src/migration → migration}/to/v3.12.3.js +0 -0
  757. /package/dist/{esm/src/migration → migration}/to/v3.13.0.js +0 -0
  758. /package/dist/{esm/src/migration → migration}/to/v3.14.0.js +0 -0
  759. /package/dist/{esm/src/migration → migration}/to/v3.15.0.js +0 -0
  760. /package/dist/{esm/src/migration → migration}/to/v3.16.0.js +0 -0
  761. /package/dist/{esm/src/migration → migration}/to/v3.17.0.js +0 -0
  762. /package/dist/{esm/src/migration → migration}/to/v3.17.1.js +0 -0
  763. /package/dist/{esm/src/migration → migration}/to/v3.18.0.js +0 -0
  764. /package/dist/{esm/src/migration → migration}/to/v3.18.1.js +0 -0
  765. /package/dist/{esm/src/migration → migration}/to/v3.18.2.js +0 -0
  766. /package/dist/{esm/src/migration → migration}/to/v3.19.0.js +0 -0
  767. /package/dist/{esm/src/migration → migration}/to/v3.2.0.js +0 -0
  768. /package/dist/{esm/src/migration → migration}/to/v3.20.0.js +0 -0
  769. /package/dist/{esm/src/migration → migration}/to/v3.21.0.js +0 -0
  770. /package/dist/{esm/src/migration → migration}/to/v3.22.0.js +0 -0
  771. /package/dist/{esm/src/migration → migration}/to/v3.23.0.js +0 -0
  772. /package/dist/{esm/src/migration → migration}/to/v3.24.0.js +0 -0
  773. /package/dist/{esm/src/migration → migration}/to/v3.25.0.js +0 -0
  774. /package/dist/{esm/src/migration → migration}/to/v3.26.0.js +0 -0
  775. /package/dist/{esm/src/migration → migration}/to/v3.27.0.js +0 -0
  776. /package/dist/{esm/src/migration → migration}/to/v3.28.0.js +0 -0
  777. /package/dist/{esm/src/migration → migration}/to/v3.29.0.js +0 -0
  778. /package/dist/{esm/src/migration → migration}/to/v3.3.0.js +0 -0
  779. /package/dist/{esm/src/migration → migration}/to/v3.30.0.js +0 -0
  780. /package/dist/{esm/src/migration → migration}/to/v3.31.0.js +0 -0
  781. /package/dist/{esm/src/migration → migration}/to/v3.33.0.js +0 -0
  782. /package/dist/{esm/src/migration → migration}/to/v3.35.0.js +0 -0
  783. /package/dist/{esm/src/migration → migration}/to/v3.36.0.js +0 -0
  784. /package/dist/{esm/src/migration → migration}/to/v3.37.0.js +0 -0
  785. /package/dist/{esm/src/migration → migration}/to/v3.38.0.js +0 -0
  786. /package/dist/{esm/src/migration → migration}/to/v3.4.0.js +0 -0
  787. /package/dist/{esm/src/migration → migration}/to/v3.40.0.js +0 -0
  788. /package/dist/{esm/src/migration → migration}/to/v3.41.0.js +0 -0
  789. /package/dist/{esm/src/migration → migration}/to/v3.42.0.js +0 -0
  790. /package/dist/{esm/src/migration → migration}/to/v3.43.0.js +0 -0
  791. /package/dist/{esm/src/migration → migration}/to/v3.44.0.js +0 -0
  792. /package/dist/{esm/src/migration → migration}/to/v3.45.0.js +0 -0
  793. /package/dist/{esm/src/migration → migration}/to/v3.46.0.js +0 -0
  794. /package/dist/{esm/src/migration → migration}/to/v3.47.0.js +0 -0
  795. /package/dist/{esm/src/migration → migration}/to/v3.48.0.js +0 -0
  796. /package/dist/{esm/src/migration → migration}/to/v3.49.0.js +0 -0
  797. /package/dist/{esm/src/migration → migration}/to/v3.5.0.js +0 -0
  798. /package/dist/{esm/src/migration → migration}/to/v3.5.1.js +0 -0
  799. /package/dist/{esm/src/migration → migration}/to/v3.50.0.js +0 -0
  800. /package/dist/{esm/src/migration → migration}/to/v3.51.0.js +0 -0
  801. /package/dist/{esm/src/migration → migration}/to/v3.6.0.js +0 -0
  802. /package/dist/{esm/src/migration → migration}/to/v3.7.0.js +0 -0
  803. /package/dist/{esm/src/migration → migration}/to/v3.8.0.js +0 -0
  804. /package/dist/{esm/src/migration → migration}/to/v3.9.0.js +0 -0
  805. /package/dist/{types/src/migration → migration}/utils.d.ts +0 -0
  806. /package/dist/{esm/src/migration → migration}/utils.js +0 -0
  807. /package/dist/{esm/src/models → models}/query.js +0 -0
  808. /package/dist/{esm/src/models → models}/service.js +0 -0
  809. /package/dist/{types/src/patterns.d.ts → patterns.d.ts} +0 -0
  810. /package/dist/{types/src/project-schema → project-schema}/latest.d.ts +0 -0
  811. /package/dist/{esm/src/project-schema → project-schema}/latest.js +0 -0
  812. /package/dist/{types/src/project-schema → project-schema}/v1.0.0.d.ts +0 -0
  813. /package/dist/{esm/src/project-schema → project-schema}/v1.0.0.js +0 -0
  814. /package/dist/{types/src/project-schema → project-schema}/v3.0.0.d.ts +0 -0
  815. /package/dist/{esm/src/project-schema → project-schema}/v3.0.0.js +0 -0
  816. /package/dist/{types/src/project-schema → project-schema}/v3.1.0.d.ts +0 -0
  817. /package/dist/{esm/src/project-schema → project-schema}/v3.1.0.js +0 -0
  818. /package/dist/{types/src/project-schema → project-schema}/v3.10.0.d.ts +0 -0
  819. /package/dist/{esm/src/project-schema → project-schema}/v3.10.0.js +0 -0
  820. /package/dist/{types/src/project-schema → project-schema}/v3.11.0.d.ts +0 -0
  821. /package/dist/{esm/src/project-schema → project-schema}/v3.11.0.js +0 -0
  822. /package/dist/{types/src/project-schema → project-schema}/v3.12.0.d.ts +0 -0
  823. /package/dist/{esm/src/project-schema → project-schema}/v3.12.0.js +0 -0
  824. /package/dist/{types/src/project-schema → project-schema}/v3.12.1.d.ts +0 -0
  825. /package/dist/{esm/src/project-schema → project-schema}/v3.12.1.js +0 -0
  826. /package/dist/{types/src/project-schema → project-schema}/v3.12.2.d.ts +0 -0
  827. /package/dist/{esm/src/project-schema → project-schema}/v3.12.2.js +0 -0
  828. /package/dist/{types/src/project-schema → project-schema}/v3.12.3.d.ts +0 -0
  829. /package/dist/{esm/src/project-schema → project-schema}/v3.12.3.js +0 -0
  830. /package/dist/{types/src/project-schema → project-schema}/v3.13.0.d.ts +0 -0
  831. /package/dist/{esm/src/project-schema → project-schema}/v3.13.0.js +0 -0
  832. /package/dist/{types/src/project-schema → project-schema}/v3.13.1.d.ts +0 -0
  833. /package/dist/{esm/src/project-schema → project-schema}/v3.13.1.js +0 -0
  834. /package/dist/{types/src/project-schema → project-schema}/v3.14.0.d.ts +0 -0
  835. /package/dist/{esm/src/project-schema → project-schema}/v3.14.0.js +0 -0
  836. /package/dist/{types/src/project-schema → project-schema}/v3.15.0.d.ts +0 -0
  837. /package/dist/{esm/src/project-schema → project-schema}/v3.15.0.js +0 -0
  838. /package/dist/{types/src/project-schema → project-schema}/v3.16.0.d.ts +0 -0
  839. /package/dist/{esm/src/project-schema → project-schema}/v3.16.0.js +0 -0
  840. /package/dist/{types/src/project-schema → project-schema}/v3.17.0.d.ts +0 -0
  841. /package/dist/{esm/src/project-schema → project-schema}/v3.17.0.js +0 -0
  842. /package/dist/{types/src/project-schema → project-schema}/v3.17.1.d.ts +0 -0
  843. /package/dist/{esm/src/project-schema → project-schema}/v3.17.1.js +0 -0
  844. /package/dist/{types/src/project-schema → project-schema}/v3.18.0.d.ts +0 -0
  845. /package/dist/{esm/src/project-schema → project-schema}/v3.18.0.js +0 -0
  846. /package/dist/{types/src/project-schema → project-schema}/v3.18.1.d.ts +0 -0
  847. /package/dist/{esm/src/project-schema → project-schema}/v3.18.1.js +0 -0
  848. /package/dist/{types/src/project-schema → project-schema}/v3.18.2.d.ts +0 -0
  849. /package/dist/{esm/src/project-schema → project-schema}/v3.18.2.js +0 -0
  850. /package/dist/{types/src/project-schema → project-schema}/v3.19.0.d.ts +0 -0
  851. /package/dist/{esm/src/project-schema → project-schema}/v3.19.0.js +0 -0
  852. /package/dist/{types/src/project-schema → project-schema}/v3.2.0.d.ts +0 -0
  853. /package/dist/{esm/src/project-schema → project-schema}/v3.2.0.js +0 -0
  854. /package/dist/{types/src/project-schema → project-schema}/v3.20.0.d.ts +0 -0
  855. /package/dist/{esm/src/project-schema → project-schema}/v3.20.0.js +0 -0
  856. /package/dist/{types/src/project-schema → project-schema}/v3.21.0.d.ts +0 -0
  857. /package/dist/{esm/src/project-schema → project-schema}/v3.21.0.js +0 -0
  858. /package/dist/{types/src/project-schema → project-schema}/v3.22.0.d.ts +0 -0
  859. /package/dist/{esm/src/project-schema → project-schema}/v3.22.0.js +0 -0
  860. /package/dist/{types/src/project-schema → project-schema}/v3.23.0.d.ts +0 -0
  861. /package/dist/{esm/src/project-schema → project-schema}/v3.23.0.js +0 -0
  862. /package/dist/{types/src/project-schema → project-schema}/v3.24.0.d.ts +0 -0
  863. /package/dist/{esm/src/project-schema → project-schema}/v3.24.0.js +0 -0
  864. /package/dist/{types/src/project-schema → project-schema}/v3.25.0.d.ts +0 -0
  865. /package/dist/{esm/src/project-schema → project-schema}/v3.25.0.js +0 -0
  866. /package/dist/{types/src/project-schema → project-schema}/v3.26.0.d.ts +0 -0
  867. /package/dist/{esm/src/project-schema → project-schema}/v3.26.0.js +0 -0
  868. /package/dist/{types/src/project-schema → project-schema}/v3.27.0.d.ts +0 -0
  869. /package/dist/{esm/src/project-schema → project-schema}/v3.27.0.js +0 -0
  870. /package/dist/{types/src/project-schema → project-schema}/v3.28.0.d.ts +0 -0
  871. /package/dist/{esm/src/project-schema → project-schema}/v3.28.0.js +0 -0
  872. /package/dist/{types/src/project-schema → project-schema}/v3.29.0.d.ts +0 -0
  873. /package/dist/{esm/src/project-schema → project-schema}/v3.29.0.js +0 -0
  874. /package/dist/{types/src/project-schema → project-schema}/v3.3.0.d.ts +0 -0
  875. /package/dist/{esm/src/project-schema → project-schema}/v3.3.0.js +0 -0
  876. /package/dist/{types/src/project-schema → project-schema}/v3.30.0.d.ts +0 -0
  877. /package/dist/{esm/src/project-schema → project-schema}/v3.30.0.js +0 -0
  878. /package/dist/{types/src/project-schema → project-schema}/v3.31.0.d.ts +0 -0
  879. /package/dist/{esm/src/project-schema → project-schema}/v3.31.0.js +0 -0
  880. /package/dist/{types/src/project-schema → project-schema}/v3.32.0.d.ts +0 -0
  881. /package/dist/{esm/src/project-schema → project-schema}/v3.32.0.js +0 -0
  882. /package/dist/{types/src/project-schema → project-schema}/v3.33.0.d.ts +0 -0
  883. /package/dist/{esm/src/project-schema → project-schema}/v3.33.0.js +0 -0
  884. /package/dist/{types/src/project-schema → project-schema}/v3.34.0.d.ts +0 -0
  885. /package/dist/{esm/src/project-schema → project-schema}/v3.34.0.js +0 -0
  886. /package/dist/{types/src/project-schema → project-schema}/v3.35.0.d.ts +0 -0
  887. /package/dist/{esm/src/project-schema → project-schema}/v3.35.0.js +0 -0
  888. /package/dist/{types/src/project-schema → project-schema}/v3.36.0.d.ts +0 -0
  889. /package/dist/{esm/src/project-schema → project-schema}/v3.36.0.js +0 -0
  890. /package/dist/{types/src/project-schema → project-schema}/v3.37.0.d.ts +0 -0
  891. /package/dist/{esm/src/project-schema → project-schema}/v3.37.0.js +0 -0
  892. /package/dist/{types/src/project-schema → project-schema}/v3.38.0.d.ts +0 -0
  893. /package/dist/{esm/src/project-schema → project-schema}/v3.38.0.js +0 -0
  894. /package/dist/{types/src/project-schema → project-schema}/v3.39.0.d.ts +0 -0
  895. /package/dist/{esm/src/project-schema → project-schema}/v3.39.0.js +0 -0
  896. /package/dist/{types/src/project-schema → project-schema}/v3.4.0.d.ts +0 -0
  897. /package/dist/{esm/src/project-schema → project-schema}/v3.4.0.js +0 -0
  898. /package/dist/{types/src/project-schema → project-schema}/v3.40.0.d.ts +0 -0
  899. /package/dist/{esm/src/project-schema → project-schema}/v3.40.0.js +0 -0
  900. /package/dist/{types/src/project-schema → project-schema}/v3.41.0.d.ts +0 -0
  901. /package/dist/{esm/src/project-schema → project-schema}/v3.41.0.js +0 -0
  902. /package/dist/{types/src/project-schema → project-schema}/v3.42.0.d.ts +0 -0
  903. /package/dist/{esm/src/project-schema → project-schema}/v3.42.0.js +0 -0
  904. /package/dist/{types/src/project-schema → project-schema}/v3.43.0.d.ts +0 -0
  905. /package/dist/{esm/src/project-schema → project-schema}/v3.43.0.js +0 -0
  906. /package/dist/{types/src/project-schema → project-schema}/v3.44.0.d.ts +0 -0
  907. /package/dist/{esm/src/project-schema → project-schema}/v3.44.0.js +0 -0
  908. /package/dist/{types/src/project-schema → project-schema}/v3.45.0.d.ts +0 -0
  909. /package/dist/{esm/src/project-schema → project-schema}/v3.45.0.js +0 -0
  910. /package/dist/{types/src/project-schema → project-schema}/v3.46.0.d.ts +0 -0
  911. /package/dist/{esm/src/project-schema → project-schema}/v3.46.0.js +0 -0
  912. /package/dist/{types/src/project-schema → project-schema}/v3.47.0.d.ts +0 -0
  913. /package/dist/{esm/src/project-schema → project-schema}/v3.47.0.js +0 -0
  914. /package/dist/{types/src/project-schema → project-schema}/v3.48.0.d.ts +0 -0
  915. /package/dist/{esm/src/project-schema → project-schema}/v3.48.0.js +0 -0
  916. /package/dist/{types/src/project-schema → project-schema}/v3.49.0.d.ts +0 -0
  917. /package/dist/{esm/src/project-schema → project-schema}/v3.49.0.js +0 -0
  918. /package/dist/{types/src/project-schema → project-schema}/v3.5.0.d.ts +0 -0
  919. /package/dist/{esm/src/project-schema → project-schema}/v3.5.0.js +0 -0
  920. /package/dist/{types/src/project-schema → project-schema}/v3.5.1.d.ts +0 -0
  921. /package/dist/{esm/src/project-schema → project-schema}/v3.5.1.js +0 -0
  922. /package/dist/{types/src/project-schema → project-schema}/v3.50.0.d.ts +0 -0
  923. /package/dist/{esm/src/project-schema → project-schema}/v3.50.0.js +0 -0
  924. /package/dist/{types/src/project-schema → project-schema}/v3.51.0.d.ts +0 -0
  925. /package/dist/{esm/src/project-schema → project-schema}/v3.51.0.js +0 -0
  926. /package/dist/{types/src/project-schema → project-schema}/v3.6.0.d.ts +0 -0
  927. /package/dist/{esm/src/project-schema → project-schema}/v3.6.0.js +0 -0
  928. /package/dist/{types/src/project-schema → project-schema}/v3.7.0.d.ts +0 -0
  929. /package/dist/{esm/src/project-schema → project-schema}/v3.7.0.js +0 -0
  930. /package/dist/{types/src/project-schema → project-schema}/v3.8.0.d.ts +0 -0
  931. /package/dist/{esm/src/project-schema → project-schema}/v3.8.0.js +0 -0
  932. /package/dist/{types/src/project-schema → project-schema}/v3.9.0.d.ts +0 -0
  933. /package/dist/{esm/src/project-schema → project-schema}/v3.9.0.js +0 -0
  934. /package/dist/{types/src/project-schema → project-schema}/v4.0.0.d.ts +0 -0
  935. /package/dist/{esm/src/project-schema → project-schema}/v4.0.0.js +0 -0
  936. /package/dist/{types/src/scalars.d.ts → scalars.d.ts} +0 -0
  937. /package/dist/{esm/src/scalars.js → scalars.js} +0 -0
  938. /package/dist/{types/src/schemas → schemas}/index.d.ts +0 -0
  939. /package/dist/{cjs/src/schemas → schemas}/project-schema/experimental.json +0 -0
  940. /package/dist/{cjs/src/schemas → schemas}/project-schema/latest.json +0 -0
  941. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v1.0.0.json +0 -0
  942. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.0.0.json +0 -0
  943. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.1.0.json +0 -0
  944. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.2.0.json +0 -0
  945. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.3.0.json +0 -0
  946. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.4.0.json +0 -0
  947. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.5.0.json +0 -0
  948. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.5.1.json +0 -0
  949. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.6.0.json +0 -0
  950. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.7.0.json +0 -0
  951. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.8.0.json +0 -0
  952. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.9.0.json +0 -0
  953. /package/dist/{cjs/src/schemas → schemas}/project-schema/v1.0.0.json +0 -0
  954. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.0.0.json +0 -0
  955. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.1.0.json +0 -0
  956. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.10.0.json +0 -0
  957. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.11.0.json +0 -0
  958. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.0.json +0 -0
  959. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.1.json +0 -0
  960. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.2.json +0 -0
  961. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.3.json +0 -0
  962. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.13.0.json +0 -0
  963. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.14.0.json +0 -0
  964. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.15.0.json +0 -0
  965. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.16.0.json +0 -0
  966. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.17.0.json +0 -0
  967. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.17.1.json +0 -0
  968. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.0.json +0 -0
  969. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.1.json +0 -0
  970. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.2.json +0 -0
  971. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.19.0.json +0 -0
  972. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.2.0.json +0 -0
  973. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.20.0.json +0 -0
  974. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.21.0.json +0 -0
  975. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.22.0.json +0 -0
  976. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.23.0.json +0 -0
  977. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.24.0.json +0 -0
  978. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.25.0.json +0 -0
  979. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.26.0.json +0 -0
  980. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.27.0.json +0 -0
  981. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.28.0.json +0 -0
  982. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.29.0.json +0 -0
  983. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.3.0.json +0 -0
  984. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.30.0.json +0 -0
  985. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.31.0.json +0 -0
  986. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.32.0.json +0 -0
  987. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.33.0.json +0 -0
  988. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.34.0.json +0 -0
  989. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.35.0.json +0 -0
  990. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.36.0.json +0 -0
  991. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.37.0.json +0 -0
  992. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.38.0.json +0 -0
  993. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.39.0.json +0 -0
  994. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.4.0.json +0 -0
  995. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.40.0.json +0 -0
  996. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.41.0.json +0 -0
  997. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.42.0.json +0 -0
  998. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.43.0.json +0 -0
  999. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.44.0.json +0 -0
  1000. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.45.0.json +0 -0
  1001. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.46.0.json +0 -0
  1002. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.47.0.json +0 -0
  1003. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.48.0.json +0 -0
  1004. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.49.0.json +0 -0
  1005. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.5.0.json +0 -0
  1006. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.5.1.json +0 -0
  1007. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.50.0.json +0 -0
  1008. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.51.0.json +0 -0
  1009. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.6.0.json +0 -0
  1010. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.7.0.json +0 -0
  1011. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.8.0.json +0 -0
  1012. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.9.0.json +0 -0
  1013. /package/dist/{cjs/src/schemas → schemas}/project-schema/v4.0.0.json +0 -0
  1014. /package/dist/{cjs/src/schemas → schemas}/project-schema.json +0 -0
  1015. /package/dist/{types/src/services → services}/types.d.ts +0 -0
  1016. /package/dist/{esm/src/services → services}/util.js +0 -0
  1017. /package/dist/{esm/src/template-shapes → template-shapes}/index.js +0 -0
  1018. /package/dist/{esm/src/template-shapes → template-shapes}/names.js +0 -0
  1019. /package/dist/{esm/src/template-shapes → template-shapes}/types.js +0 -0
  1020. /package/dist/{esm/src/types → types}/types.js +0 -0
  1021. /package/dist/{esm/src/util → util}/ai-tools.js +0 -0
  1022. /package/dist/{esm/src/util → util}/find-shape-at-path.js +0 -0
  1023. /package/dist/{esm/src/util → util}/patch-schema.js +0 -0
  1024. /package/dist/{esm/src/util → util}/shapes.js +0 -0
@@ -1,2841 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://schema.takeshape.io/project-schema/v3.43.0#",
4
- "title": "Project Schema JSON",
5
- "definitions": {
6
- "schemaArray": {
7
- "title": "Schema Array",
8
- "type": "array",
9
- "minItems": 1,
10
- "items": {
11
- "$ref": "#/definitions/propertySchema"
12
- }
13
- },
14
- "nonNegativeInteger": {
15
- "title": "Non Negative Integer",
16
- "type": "integer",
17
- "minimum": 0
18
- },
19
- "nonNegativeIntegerDefault0": {
20
- "title": "Non Negative Integer Default 0",
21
- "allOf": [
22
- {
23
- "$ref": "#/definitions/nonNegativeInteger"
24
- },
25
- {
26
- "default": 0
27
- }
28
- ]
29
- },
30
- "simpleTypes": {
31
- "title": "Simple Types",
32
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
33
- },
34
- "stringArray": {
35
- "title": "String Array",
36
- "type": "array",
37
- "items": {
38
- "type": "string"
39
- },
40
- "uniqueItems": true,
41
- "default": []
42
- },
43
- "backreference": {
44
- "title": "Back Reference",
45
- "description": "A configuration object for a reverse reference in a relationship.",
46
- "type": "object",
47
- "properties": {
48
- "enabled": {
49
- "type": "boolean"
50
- },
51
- "name": {
52
- "type": "string",
53
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$"
54
- }
55
- },
56
- "additionalProperties": false,
57
- "required": ["enabled"]
58
- },
59
- "mappingString": {
60
- "title": "Mapping String",
61
- "type": "string",
62
- "pattern": "^[\\w-]+(?::[\\w-]+)+(?:\\.[\\w%-]+)+$"
63
- },
64
- "fieldMapping": {
65
- "title": "Field Mapping",
66
- "oneOf": [
67
- {
68
- "$ref": "#/definitions/mappingString"
69
- },
70
- {
71
- "type": "array",
72
- "items": {
73
- "$ref": "#/definitions/mappingString"
74
- }
75
- }
76
- ]
77
- },
78
- "refSchema": {
79
- "title": "Ref Schema",
80
- "type": "object",
81
- "properties": {
82
- "@ref": {
83
- "$ref": "#/definitions/ref"
84
- }
85
- },
86
- "required": ["@ref"]
87
- },
88
- "refSchemaLegacy": {
89
- "title": "Ref Schema Legacy",
90
- "type": "object",
91
- "properties": {
92
- "$ref": {
93
- "$ref": "#/definitions/ref"
94
- }
95
- },
96
- "required": ["$ref"]
97
- },
98
- "shapeSchemaEnum": {
99
- "title": "Shape Schema Enum",
100
- "type": "object",
101
- "properties": {
102
- "enum": {
103
- "type": "array",
104
- "minItems": 1,
105
- "uniqueItems": true
106
- }
107
- },
108
- "additionalProperties": false,
109
- "required": ["enum"]
110
- },
111
- "objectSchema": {
112
- "title": "Object Schema",
113
- "type": "object",
114
- "allOf": [
115
- {
116
- "$ref": "#/definitions/propertySchema"
117
- },
118
- {
119
- "properties": {
120
- "type": {
121
- "type": "string",
122
- "const": "object"
123
- },
124
- "properties": {
125
- "type": "object",
126
- "additionalProperties": {
127
- "$ref": "#/definitions/propertySchema"
128
- }
129
- }
130
- },
131
- "required": ["type", "properties"]
132
- }
133
- ]
134
- },
135
- "returnShapeArraySchema": {
136
- "title": "Return Shape Array Schema",
137
- "type": "object",
138
- "allOf": [
139
- {
140
- "$ref": "#/definitions/propertySchema"
141
- },
142
- {
143
- "properties": {
144
- "type": {
145
- "type": "string",
146
- "const": "array"
147
- },
148
- "items": {
149
- "oneOf": [
150
- {
151
- "$ref": "#/definitions/refSchema"
152
- },
153
- {
154
- "type": "object",
155
- "properties": {
156
- "type": {
157
- "enum": ["boolean", "integer", "number", "string", "object"]
158
- }
159
- },
160
- "required": ["type"]
161
- }
162
- ]
163
- }
164
- },
165
- "required": ["type", "items"]
166
- }
167
- ]
168
- },
169
- "objectOrRefArray": {
170
- "title": "ObjectOrRefArray",
171
- "type": "array",
172
- "items": {
173
- "oneOf": [
174
- {
175
- "$ref": "#/definitions/refSchema"
176
- },
177
- {
178
- "$ref": "#/definitions/refSchemaLegacy"
179
- },
180
- {
181
- "$ref": "#/definitions/objectSchema"
182
- }
183
- ],
184
- "unevaluatedProperties": true
185
- }
186
- },
187
- "shapeSchemaAllOf": {
188
- "title": "Shape Schema All Of",
189
- "type": "object",
190
- "properties": {
191
- "allOf": {
192
- "$ref": "#/definitions/objectOrRefArray"
193
- }
194
- },
195
- "required": ["allOf"],
196
- "additionalProperties": false
197
- },
198
- "allOfSchema": {
199
- "title": "AllOfSchema",
200
- "allOf": [
201
- {
202
- "$ref": "#/definitions/propertySchema"
203
- },
204
- {
205
- "type": "object",
206
- "properties": {
207
- "allOf": {
208
- "$ref": "#/definitions/objectOrRefArray"
209
- }
210
- },
211
- "required": ["allOf"]
212
- }
213
- ]
214
- },
215
- "shapeSchemaExtends": {
216
- "title": "ShapeSchemaExtends",
217
- "type": "object",
218
- "properties": {
219
- "extends": {
220
- "$ref": "#/definitions/objectOrRefArray"
221
- }
222
- },
223
- "required": ["extends"],
224
- "additionalProperties": false
225
- },
226
- "extendsSchema": {
227
- "title": "ExtendsSchema",
228
- "allOf": [
229
- {
230
- "$ref": "#/definitions/propertySchema"
231
- },
232
- {
233
- "type": "object",
234
- "properties": {
235
- "extends": {
236
- "$ref": "#/definitions/objectOrRefArray"
237
- }
238
- },
239
- "required": ["extends"]
240
- }
241
- ]
242
- },
243
- "shapeSchemaOneOf": {
244
- "title": "Shape Schema One Of",
245
- "type": "object",
246
- "properties": {
247
- "oneOf": {
248
- "$ref": "#/definitions/objectOrRefArray"
249
- }
250
- },
251
- "required": ["oneOf"],
252
- "additionalProperties": false
253
- },
254
- "oneOfSchema": {
255
- "title": "OneOfSchema",
256
- "allOf": [
257
- {
258
- "$ref": "#/definitions/propertySchema"
259
- },
260
- {
261
- "type": "object",
262
- "properties": {
263
- "oneOf": {
264
- "$ref": "#/definitions/objectOrRefArray"
265
- }
266
- },
267
- "required": ["oneOf"],
268
- "additionalProperties": false
269
- }
270
- ]
271
- },
272
- "shapeSchemaAny": {
273
- "type": "object",
274
- "title": "ShapeSchemaAny",
275
- "additionalProperties": false
276
- },
277
- "shapeSchema": {
278
- "title": "Shape Schema",
279
- "type": "object",
280
- "oneOf": [
281
- {
282
- "$ref": "#/definitions/shapeSchemaAllOf"
283
- },
284
- {
285
- "$ref": "#/definitions/shapeSchemaExtends"
286
- },
287
- {
288
- "$ref": "#/definitions/shapeSchemaOneOf"
289
- },
290
- {
291
- "$ref": "#/definitions/shapeSchemaEnum"
292
- },
293
- {
294
- "$ref": "#/definitions/objectSchema"
295
- },
296
- {
297
- "$ref": "#/definitions/shapeSchemaAny"
298
- }
299
- ]
300
- },
301
- "queryMap": {
302
- "title": "Query Map",
303
- "type": "object",
304
- "patternProperties": {
305
- "^[0-9A-Za-z_]+$": {
306
- "$ref": "#/definitions/query"
307
- }
308
- },
309
- "additionalProperties": false
310
- },
311
- "args": {
312
- "title": "Args",
313
- "oneOf": [
314
- {
315
- "type": "string"
316
- },
317
- {
318
- "$ref": "#/definitions/objectSchema"
319
- }
320
- ]
321
- },
322
- "returnShape": {
323
- "title": "Return Shape",
324
- "oneOf": [
325
- {
326
- "type": "string"
327
- },
328
- {
329
- "$ref": "#/definitions/returnShapeArraySchema"
330
- }
331
- ]
332
- },
333
- "directiveConfigItem": {
334
- "title": "Directive Config Item",
335
- "description": "A tuple with a string directive name, and options to pass to the directive",
336
- "type": "array",
337
- "items": [
338
- {
339
- "title": "Directive Name",
340
- "type": "string"
341
- },
342
- {
343
- "title": "Directive Options",
344
- "type": "object",
345
- "propertyNames": {
346
- "pattern": "[0-9A-Za-z_-]+"
347
- }
348
- }
349
- ]
350
- },
351
- "parameterSerializeStyleOptions": {
352
- "title": "Parameter Serialize Style Options",
353
- "description": "All possible options for the more specific ParameterSerializeStyleOptions types.",
354
- "type": "object",
355
- "properties": {
356
- "style": {
357
- "type": "string",
358
- "enum": ["simple", "label", "matrix", "form", "spaceDelimited", "pipeDelimited", "deepObject", "none"]
359
- },
360
- "explode": {
361
- "type": "boolean"
362
- },
363
- "allowEmptyValue": {
364
- "type": "boolean"
365
- },
366
- "allowReserved": {
367
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
368
- "type": "boolean"
369
- },
370
- "skipEncoding": {
371
- "type": "boolean"
372
- }
373
- },
374
- "required": ["style"],
375
- "additionalProperties": false
376
- },
377
- "parameterSerializeStyleOptionsForPathParams": {
378
- "title": "Parameter Serialize Style Options For Path Params",
379
- "description": "Options to be passed to the serialization routine.",
380
- "type": "object",
381
- "properties": {
382
- "style": {
383
- "type": "string",
384
- "enum": ["simple", "label", "matrix", "none"]
385
- },
386
- "explode": {
387
- "type": "boolean"
388
- },
389
- "allowEmptyValue": {
390
- "type": "boolean"
391
- },
392
- "allowReserved": {
393
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
394
- "type": "boolean"
395
- },
396
- "skipEncoding": {
397
- "type": "boolean"
398
- }
399
- },
400
- "required": ["style"],
401
- "additionalProperties": false
402
- },
403
- "parameterSerializeStyleOptionsForSearchParams": {
404
- "title": "Parameter Serialize Style Options For Search Params",
405
- "description": "Options to be passed to the serialization routine.",
406
- "type": "object",
407
- "properties": {
408
- "style": {
409
- "type": "string",
410
- "enum": ["form", "spaceDelimited", "pipeDelimited", "deepObject", "none"]
411
- },
412
- "explode": {
413
- "type": "boolean"
414
- },
415
- "allowEmptyValue": {
416
- "type": "boolean"
417
- },
418
- "allowReserved": {
419
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
420
- "type": "boolean"
421
- },
422
- "skipEncoding": {
423
- "type": "boolean"
424
- }
425
- },
426
- "required": ["style"],
427
- "additionalProperties": false
428
- },
429
- "parameterSerializeStyleOptionsForHeaders": {
430
- "title": "Parameter Serialize Style Options For Headers",
431
- "description": "Options to be passed to the serialization routine.",
432
- "type": "object",
433
- "properties": {
434
- "style": {
435
- "type": "string",
436
- "enum": ["simple", "none"]
437
- },
438
- "explode": {
439
- "type": "boolean"
440
- }
441
- },
442
- "required": ["style"],
443
- "additionalProperties": false
444
- },
445
- "parameterSerializeContentOptions": {
446
- "title": "Parameter Serialize Content Options",
447
- "description": "Options to be passed to the serialization routine.",
448
- "type": "object",
449
- "properties": {
450
- "contentType": {
451
- "type": "string"
452
- },
453
- "allowReserved": {
454
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
455
- "type": "boolean"
456
- },
457
- "skipEncoding": {
458
- "type": "boolean"
459
- },
460
- "options": {
461
- "description": "Options to be passed directly to the content serializer library. Valid options depend upon your contentType.",
462
- "type": "object"
463
- }
464
- },
465
- "required": ["contentType"],
466
- "additionalProperties": false
467
- },
468
- "parameterSerializeOptions": {
469
- "title": "Parameter Serialize Options",
470
- "description": "Options to be passed to the serialization routine.",
471
- "type": "object",
472
- "oneOf": [
473
- {
474
- "$ref": "#/definitions/parameterSerializeStyleOptions"
475
- },
476
- {
477
- "$ref": "#/definitions/parameterSerializeContentOptions"
478
- }
479
- ]
480
- },
481
- "parameterSerializeConfig": {
482
- "title": "Parameter Serialize Config",
483
- "description": "All possible options for the more specific ParameterSerializeConfig types.",
484
- "type": "object",
485
- "properties": {
486
- "content": {
487
- "$ref": "#/definitions/parameterSerializeContentOptions"
488
- },
489
- "defaults": {
490
- "$ref": "#/definitions/parameterSerializeOptions"
491
- },
492
- "paths": {
493
- "type": "object",
494
- "patternProperties": {
495
- "^[^\\n\\r]*$": {
496
- "$ref": "#/definitions/parameterSerializeOptions"
497
- }
498
- }
499
- }
500
- },
501
- "additionalProperties": false
502
- },
503
- "parameterSerializeConfigForBody": {
504
- "title": "Parameter Serialize Config For Body",
505
- "description": "Top-level paths to use serialization options for.",
506
- "type": "object",
507
- "properties": {
508
- "content": {
509
- "$ref": "#/definitions/parameterSerializeContentOptions"
510
- }
511
- },
512
- "additionalProperties": false
513
- },
514
- "parameterSerializeConfigForPathParams": {
515
- "title": "Parameter Serialize Config For Path Params",
516
- "description": "Top-level paths to use path params serialization options for.",
517
- "type": "object",
518
- "properties": {
519
- "template": {
520
- "description": "For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'",
521
- "type": "string"
522
- },
523
- "defaults": {
524
- "oneOf": [
525
- {
526
- "$ref": "#/definitions/parameterSerializeStyleOptionsForPathParams"
527
- },
528
- {
529
- "$ref": "#/definitions/parameterSerializeContentOptions"
530
- }
531
- ]
532
- },
533
- "paths": {
534
- "type": "object",
535
- "patternProperties": {
536
- "^[^\\n\\r]*$": {
537
- "oneOf": [
538
- {
539
- "$ref": "#/definitions/parameterSerializeStyleOptionsForPathParams"
540
- },
541
- {
542
- "$ref": "#/definitions/parameterSerializeContentOptions"
543
- }
544
- ]
545
- }
546
- }
547
- }
548
- },
549
- "required": ["template"],
550
- "additionalProperties": false
551
- },
552
- "parameterSerializeConfigForSearchParams": {
553
- "title": "Parameter Serialize Config For Search Params",
554
- "description": "Top-level paths to use search params serialization options for.",
555
- "type": "object",
556
- "properties": {
557
- "defaults": {
558
- "oneOf": [
559
- {
560
- "$ref": "#/definitions/parameterSerializeStyleOptionsForSearchParams"
561
- },
562
- {
563
- "$ref": "#/definitions/parameterSerializeContentOptions"
564
- }
565
- ]
566
- },
567
- "paths": {
568
- "type": "object",
569
- "patternProperties": {
570
- "^[^\\n\\r]*$": {
571
- "oneOf": [
572
- {
573
- "$ref": "#/definitions/parameterSerializeStyleOptionsForSearchParams"
574
- },
575
- {
576
- "$ref": "#/definitions/parameterSerializeContentOptions"
577
- }
578
- ]
579
- }
580
- }
581
- }
582
- },
583
- "additionalProperties": false
584
- },
585
- "parameterSerializeConfigForHeaders": {
586
- "title": "Parameter Serialize Config For Headers",
587
- "description": "Top-level paths to use headers serialization options for.",
588
- "type": "object",
589
- "properties": {
590
- "defaults": {
591
- "oneOf": [
592
- {
593
- "$ref": "#/definitions/parameterSerializeStyleOptionsForHeaders"
594
- },
595
- {
596
- "$ref": "#/definitions/parameterSerializeContentOptions"
597
- }
598
- ]
599
- },
600
- "paths": {
601
- "type": "object",
602
- "patternProperties": {
603
- "^[^\\n\\r]*$": {
604
- "oneOf": [
605
- {
606
- "$ref": "#/definitions/parameterSerializeStyleOptionsForHeaders"
607
- },
608
- {
609
- "$ref": "#/definitions/parameterSerializeContentOptions"
610
- }
611
- ]
612
- }
613
- }
614
- }
615
- },
616
- "additionalProperties": false
617
- },
618
- "parameterOpNested": {
619
- "title": "Parameter Op Nested",
620
- "description": "An object describing an operation to generate a parameter, using a nested OpList.",
621
- "type": "object",
622
- "properties": {
623
- "path": {
624
- "description": "A path to the parameter for this operation.",
625
- "type": "string",
626
- "minLength": 1,
627
- "pattern": "^[^\\n\\r]*$"
628
- },
629
- "op": {
630
- "description": "A mode for this parameter's operation.",
631
- "type": "string",
632
- "enum": ["set", "concat", "extend", "remove"]
633
- },
634
- "ops": {
635
- "description": "A nested op list.",
636
- "$ref": "#/definitions/parameterOpList"
637
- }
638
- },
639
- "required": ["path", "ops"],
640
- "additionalProperties": false
641
- },
642
- "parameterOpValue": {
643
- "title": "Parameter Op Value",
644
- "description": "An object describing an operation to generate a parameter using a value.",
645
- "type": "object",
646
- "properties": {
647
- "path": {
648
- "description": "A path to the parameter for this operation.",
649
- "type": "string",
650
- "minLength": 1,
651
- "pattern": "^[^\\n\\r]*$"
652
- },
653
- "op": {
654
- "description": "A mode for this parameter's operation.",
655
- "type": "string",
656
- "enum": ["set", "concat", "extend", "remove"]
657
- },
658
- "value": {
659
- "description": "A value to set directly at this path.",
660
- "type": ["number", "string", "boolean", "object", "array", "null"]
661
- }
662
- },
663
- "required": ["path", "value"],
664
- "additionalProperties": false
665
- },
666
- "parameterOpMapping": {
667
- "title": "Parameter Op Mapping",
668
- "description": "An object describing an operation to generate a parameter using a mapping.",
669
- "type": "object",
670
- "properties": {
671
- "path": {
672
- "description": "A path to the parameter for this operation.",
673
- "type": "string",
674
- "minLength": 1,
675
- "pattern": "^[^\\n\\r]*$"
676
- },
677
- "op": {
678
- "description": "A mode for this parameter's operation.",
679
- "type": "string",
680
- "enum": ["set", "concat", "extend", "remove"]
681
- },
682
- "mapping": {
683
- "description": "Either a valid JSONPath or a directive pipeline to evaluate against the query context.",
684
- "oneOf": [
685
- {
686
- "type": "string",
687
- "minLength": 1
688
- },
689
- {
690
- "$ref": "#/definitions/directiveConfig"
691
- }
692
- ]
693
- }
694
- },
695
- "required": ["path", "mapping"],
696
- "additionalProperties": false
697
- },
698
- "parameterOpOp": {
699
- "title": "Parameter Op Op",
700
- "description": "An object describing an operation to generate a parameter using a mapping.",
701
- "type": "object",
702
- "properties": {
703
- "path": {
704
- "description": "A path to the parameter for this operation.",
705
- "type": "string",
706
- "minLength": 1,
707
- "pattern": "^[^\\n\\r]*$"
708
- },
709
- "op": {
710
- "description": "A mode for this parameter's operation.",
711
- "type": "string",
712
- "enum": ["set", "concat", "extend", "remove"]
713
- }
714
- },
715
- "required": ["path", "op"],
716
- "additionalProperties": false
717
- },
718
- "parameterOp": {
719
- "title": "Parameter Op",
720
- "description": "An object describing an operation to generate a parameter.",
721
- "oneOf": [
722
- {
723
- "$ref": "#/definitions/parameterOpNested"
724
- },
725
- {
726
- "$ref": "#/definitions/parameterOpValue"
727
- },
728
- {
729
- "$ref": "#/definitions/parameterOpMapping"
730
- },
731
- {
732
- "$ref": "#/definitions/parameterOpOp"
733
- }
734
- ]
735
- },
736
- "parameterOpList": {
737
- "title": "Parameter Op List",
738
- "type": "array",
739
- "items": {
740
- "$ref": "#/definitions/parameterOp"
741
- },
742
- "minItems": 1
743
- },
744
- "parameterConfig": {
745
- "title": "Parameter Config",
746
- "description": "All possible options for the more specific ParameterConfig types.",
747
- "type": "object",
748
- "properties": {
749
- "ops": {
750
- "$ref": "#/definitions/parameterOpList"
751
- },
752
- "serialize": {
753
- "$ref": "#/definitions/parameterSerializeConfig"
754
- }
755
- },
756
- "required": ["ops"],
757
- "additionalProperties": false
758
- },
759
- "parameterConfigForBody": {
760
- "title": "Parameter Config For Body",
761
- "type": "object",
762
- "properties": {
763
- "ops": {
764
- "$ref": "#/definitions/parameterOpList"
765
- },
766
- "serialize": {
767
- "$ref": "#/definitions/parameterSerializeConfigForBody"
768
- }
769
- },
770
- "required": ["ops"],
771
- "additionalProperties": false
772
- },
773
- "parameterConfigForPathParams": {
774
- "title": "Parameter Config For Path Params",
775
- "type": "object",
776
- "properties": {
777
- "ops": {
778
- "$ref": "#/definitions/parameterOpList"
779
- },
780
- "serialize": {
781
- "$ref": "#/definitions/parameterSerializeConfigForPathParams"
782
- }
783
- },
784
- "required": ["ops", "serialize"],
785
- "additionalProperties": false
786
- },
787
- "parameterConfigForAwsLambda": {
788
- "title": "ParameterConfigForAwsLambda",
789
- "type": "object",
790
- "properties": {
791
- "ops": {
792
- "$ref": "#/definitions/parameterOpList"
793
- },
794
- "serialize": {
795
- "$ref": "#/definitions/parameterSerializeConfigForPathParams"
796
- }
797
- },
798
- "required": ["ops", "serialize"],
799
- "additionalProperties": false
800
- },
801
- "parameterConfigForSearchParams": {
802
- "title": "Parameter Config For Search Params",
803
- "type": "object",
804
- "properties": {
805
- "ops": {
806
- "$ref": "#/definitions/parameterOpList"
807
- },
808
- "serialize": {
809
- "$ref": "#/definitions/parameterSerializeConfigForSearchParams"
810
- }
811
- },
812
- "required": ["ops"],
813
- "additionalProperties": false
814
- },
815
- "parameterConfigForHeaders": {
816
- "title": "Parameter Config For Headers",
817
- "type": "object",
818
- "properties": {
819
- "ops": {
820
- "$ref": "#/definitions/parameterOpList"
821
- },
822
- "serialize": {
823
- "$ref": "#/definitions/parameterSerializeConfigForHeaders"
824
- }
825
- },
826
- "required": ["ops"],
827
- "additionalProperties": false
828
- },
829
- "parameterConfigForJson": {
830
- "title": "Parameter Config For Json",
831
- "type": "object",
832
- "properties": {
833
- "ops": {
834
- "$ref": "#/definitions/parameterOpList"
835
- }
836
- },
837
- "required": ["ops"],
838
- "additionalProperties": false
839
- },
840
- "directiveConfig": {
841
- "title": "Directive Config",
842
- "description": "An array of individual directive config items to process in order",
843
- "type": "array",
844
- "items": {
845
- "$ref": "#/definitions/directiveConfigItem"
846
- },
847
- "minItems": 1
848
- },
849
- "directiveMappingMap": {
850
- "title": "Directive Mapping Map",
851
- "description": "An map of object keys / key paths to directive configs",
852
- "type": "object",
853
- "patternProperties": {
854
- "[0-9A-Za-z_-]+": {
855
- "$ref": "#/definitions/directiveConfig"
856
- }
857
- }
858
- },
859
- "directiveMappingArrayItem": {
860
- "title": "Directive Mapping Array Item",
861
- "description": "A tuple with a string key and a directive config to evaluate",
862
- "type": "array",
863
- "items": [
864
- {
865
- "type": "string"
866
- },
867
- {
868
- "$ref": "#/definitions/directiveConfig"
869
- }
870
- ]
871
- },
872
- "directiveMappingArray": {
873
- "title": "Directive Mapping Array",
874
- "description": "An array of key / value or directive config tuples",
875
- "type": "array",
876
- "items": {
877
- "$ref": "#/definitions/directiveMappingArrayItem"
878
- }
879
- },
880
- "basicResolver": {
881
- "title": "BasicResolver",
882
- "description": "A single resolver, can be composed with the ComposeResolver.",
883
- "discriminator": {
884
- "propertyName": "name"
885
- },
886
- "oneOf": [
887
- {
888
- "$ref": "#/definitions/utilResolver"
889
- },
890
- {
891
- "$ref": "#/definitions/delegateResolver"
892
- },
893
- {
894
- "$ref": "#/definitions/takeshapeResolver"
895
- },
896
- {
897
- "$ref": "#/definitions/shapedbResolver"
898
- },
899
- {
900
- "$ref": "#/definitions/shapedbResolverShapeNameNotRequired"
901
- },
902
- {
903
- "$ref": "#/definitions/graphqlResolver"
904
- },
905
- {
906
- "$ref": "#/definitions/restResolver"
907
- },
908
- {
909
- "$ref": "#/definitions/awsLambdaResolver"
910
- },
911
- {
912
- "$ref": "#/definitions/salsifyResolver"
913
- }
914
- ]
915
- },
916
- "serviceResolver": {
917
- "title": "ServiceResolver",
918
- "description": "A resolver which references a specific service",
919
- "discriminator": {
920
- "propertyName": "name"
921
- },
922
- "oneOf": [
923
- {
924
- "$ref": "#/definitions/takeshapeResolver"
925
- },
926
- {
927
- "$ref": "#/definitions/shapedbResolverShapeNameNotRequired"
928
- },
929
- {
930
- "$ref": "#/definitions/shapedbResolver"
931
- },
932
- {
933
- "$ref": "#/definitions/graphqlResolver"
934
- },
935
- {
936
- "$ref": "#/definitions/restResolver"
937
- },
938
- {
939
- "$ref": "#/definitions/awsLambdaResolver"
940
- }
941
- ]
942
- },
943
- "argsMapping": {
944
- "title": "ArgsMapping",
945
- "description": "Maps a query's input args to the input expected by the service's endpoint.",
946
- "oneOf": [
947
- {
948
- "$ref": "#/definitions/directiveMappingMap"
949
- },
950
- {
951
- "$ref": "#/definitions/directiveConfig"
952
- }
953
- ]
954
- },
955
- "searchParamsMapping": {
956
- "title": "SearchParamsMapping",
957
- "description": "Set or evaluate directives to generate searchParams for the service endpoint.",
958
- "$ref": "#/definitions/directiveMappingArray"
959
- },
960
- "resultsMapping": {
961
- "title": "ResultsMapping",
962
- "description": "Maps a service endpoint's response results to the expected shape of the query's response.",
963
- "oneOf": [
964
- {
965
- "$ref": "#/definitions/directiveMappingMap"
966
- },
967
- {
968
- "$ref": "#/definitions/directiveConfig"
969
- }
970
- ]
971
- },
972
- "utilResolver": {
973
- "title": "UtilResolver",
974
- "type": "object",
975
- "properties": {
976
- "if": {
977
- "type": "string"
978
- },
979
- "id": {
980
- "type": "string",
981
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
982
- },
983
- "name": {
984
- "title": "UtilResolverName",
985
- "type": "string",
986
- "description": "Name of the resolver function.",
987
- "enum": ["util:noop", "util:wrap"]
988
- },
989
- "options": {
990
- "title": "UtilResolverOptions",
991
- "type": "object",
992
- "additionalProperties": true
993
- },
994
- "args": {
995
- "description": "Mapping and serialization configuration for args.",
996
- "$ref": "#/definitions/parameterConfigForJson"
997
- },
998
- "results": {
999
- "description": "Mapping configuration for the results of this resolver step.",
1000
- "$ref": "#/definitions/parameterConfigForJson"
1001
- },
1002
- "argsMapping": {
1003
- "$ref": "#/definitions/argsMapping"
1004
- },
1005
- "resultsMapping": {
1006
- "$ref": "#/definitions/resultsMapping"
1007
- }
1008
- },
1009
- "required": ["name"],
1010
- "additionalProperties": false
1011
- },
1012
- "delegateResolver": {
1013
- "title": "DelegateResolver",
1014
- "type": "object",
1015
- "properties": {
1016
- "if": {
1017
- "type": "string"
1018
- },
1019
- "id": {
1020
- "type": "string",
1021
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1022
- },
1023
- "name": {
1024
- "title": "Delegate Resolver Name",
1025
- "type": "string",
1026
- "description": "Name of the resolver function.",
1027
- "enum": ["delegate"]
1028
- },
1029
- "options": {
1030
- "title": "DelegateResolverOptions",
1031
- "type": "object",
1032
- "additionalProperties": true
1033
- },
1034
- "argsMapping": {
1035
- "$ref": "#/definitions/argsMapping"
1036
- },
1037
- "resultsMapping": {
1038
- "$ref": "#/definitions/resultsMapping"
1039
- },
1040
- "to": {
1041
- "description": "A ref to a query/mutation/property to delegate to.",
1042
- "type": "string",
1043
- "minLength": 1
1044
- },
1045
- "args": {
1046
- "description": "Mapping and serialization configuration for args.",
1047
- "$ref": "#/definitions/parameterConfigForJson"
1048
- },
1049
- "results": {
1050
- "description": "Mapping configuration for the results of this resolver step.",
1051
- "$ref": "#/definitions/parameterConfigForJson"
1052
- }
1053
- },
1054
- "required": ["name", "to"],
1055
- "additionalProperties": false
1056
- },
1057
- "salsifyResolver": {
1058
- "title": "SalsifyResolver",
1059
- "type": "object",
1060
- "properties": {
1061
- "if": {
1062
- "type": "string"
1063
- },
1064
- "id": {
1065
- "type": "string",
1066
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1067
- },
1068
- "name": {
1069
- "title": "Salsify Resolver Name",
1070
- "type": "string",
1071
- "description": "Name of the resolver function.",
1072
- "enum": ["salsify:listChannelProducts"]
1073
- },
1074
- "service": {
1075
- "type": "string",
1076
- "description": "Configuration for a service to use with this resolver."
1077
- },
1078
- "options": {
1079
- "title": "SalsifyResolverOptions",
1080
- "type": "object",
1081
- "additionalProperties": true
1082
- },
1083
- "args": {
1084
- "description": "Mapping and serialization configuration for args.",
1085
- "$ref": "#/definitions/parameterConfigForJson"
1086
- },
1087
- "results": {
1088
- "description": "Mapping configuration for the results of this resolver step.",
1089
- "$ref": "#/definitions/parameterConfigForJson"
1090
- },
1091
- "argsMapping": {
1092
- "$ref": "#/definitions/argsMapping"
1093
- },
1094
- "resultsMapping": {
1095
- "$ref": "#/definitions/resultsMapping"
1096
- }
1097
- },
1098
- "required": ["name", "service"],
1099
- "additionalProperties": false
1100
- },
1101
- "shapedbResolver": {
1102
- "title": "ShapedbResolver",
1103
- "type": "object",
1104
- "properties": {
1105
- "if": {
1106
- "type": "string"
1107
- },
1108
- "id": {
1109
- "type": "string",
1110
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1111
- },
1112
- "name": {
1113
- "title": "ShapedbResolverName",
1114
- "type": "string",
1115
- "description": "Name of the resolver function.",
1116
- "enum": [
1117
- "shapedb:get",
1118
- "shapedb:create",
1119
- "shapedb:update",
1120
- "shapedb:delete",
1121
- "shapedb:duplicate",
1122
- "shapedb:find"
1123
- ]
1124
- },
1125
- "service": {
1126
- "type": "string",
1127
- "description": "Internal service identifier.",
1128
- "enum": ["shapedb"]
1129
- },
1130
- "options": {
1131
- "title": "ShapedbResolverOptions",
1132
- "type": "object",
1133
- "additionalProperties": true
1134
- },
1135
- "argsMapping": {
1136
- "$ref": "#/definitions/argsMapping"
1137
- },
1138
- "resultsMapping": {
1139
- "$ref": "#/definitions/resultsMapping"
1140
- },
1141
- "shapeName": {
1142
- "description": "A Shape name for the resolver to use.",
1143
- "type": "string",
1144
- "minLength": 1
1145
- },
1146
- "args": {
1147
- "description": "Mapping and serialization configuration for args.",
1148
- "$ref": "#/definitions/parameterConfigForJson"
1149
- },
1150
- "results": {
1151
- "description": "Mapping configuration for the results of this resolver step.",
1152
- "$ref": "#/definitions/parameterConfigForJson"
1153
- }
1154
- },
1155
- "required": ["name", "service", "shapeName"],
1156
- "additionalProperties": false
1157
- },
1158
- "shapedbResolverShapeNameNotRequired": {
1159
- "title": "ShapedbResolverShapeNameNotRequired",
1160
- "type": "object",
1161
- "properties": {
1162
- "if": {
1163
- "type": "string"
1164
- },
1165
- "id": {
1166
- "type": "string",
1167
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1168
- },
1169
- "name": {
1170
- "title": "ShapedbResolverShapeNameNotRequiredName",
1171
- "type": "string",
1172
- "description": "Name of the resolver function.",
1173
- "enum": ["shapedb:list", "shapedb:taxonomySuggest", "shapedb:getRelated"]
1174
- },
1175
- "service": {
1176
- "type": "string",
1177
- "description": "Internal service identifier.",
1178
- "enum": ["shapedb"]
1179
- },
1180
- "options": {
1181
- "title": "ShapedbResolverShapeNameNotRequiredOptions",
1182
- "type": "object",
1183
- "additionalProperties": true
1184
- },
1185
- "shapeName": {
1186
- "description": "An optional Shape name for the resolver.",
1187
- "type": "string",
1188
- "minLength": 1
1189
- },
1190
- "args": {
1191
- "description": "Mapping and serialization configuration for args.",
1192
- "$ref": "#/definitions/parameterConfigForJson"
1193
- },
1194
- "results": {
1195
- "description": "Mapping configuration for the results of this resolver step.",
1196
- "$ref": "#/definitions/parameterConfigForJson"
1197
- },
1198
- "argsMapping": {
1199
- "$ref": "#/definitions/argsMapping"
1200
- },
1201
- "resultsMapping": {
1202
- "$ref": "#/definitions/resultsMapping"
1203
- }
1204
- },
1205
- "required": ["name", "service"],
1206
- "additionalProperties": false
1207
- },
1208
- "takeshapeResolver": {
1209
- "title": "TakeshapeResolver",
1210
- "type": "object",
1211
- "properties": {
1212
- "if": {
1213
- "type": "string"
1214
- },
1215
- "id": {
1216
- "type": "string",
1217
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1218
- },
1219
- "name": {
1220
- "title": "TakeshapeResolverName",
1221
- "type": "string",
1222
- "description": "Name of the resolver function.",
1223
- "enum": ["takeshape:getUser", "takeshape:search", "takeshape:vectorSearch", "takeshape:queryApiIndex"]
1224
- },
1225
- "service": {
1226
- "type": "string",
1227
- "description": "Internal service identifier.",
1228
- "enum": ["takeshape"]
1229
- },
1230
- "options": {
1231
- "title": "TakeshapeResolverOptions",
1232
- "type": "object",
1233
- "additionalProperties": true
1234
- },
1235
- "shapeName": {
1236
- "description": "An optional Shape name for the resolver.",
1237
- "type": "string",
1238
- "minLength": 1
1239
- },
1240
- "args": {
1241
- "description": "Mapping and serialization configuration for args.",
1242
- "$ref": "#/definitions/parameterConfigForJson"
1243
- },
1244
- "results": {
1245
- "description": "Mapping configuration for the results of this resolver step.",
1246
- "$ref": "#/definitions/parameterConfigForJson"
1247
- },
1248
- "argsMapping": {
1249
- "$ref": "#/definitions/argsMapping"
1250
- },
1251
- "resultsMapping": {
1252
- "$ref": "#/definitions/resultsMapping"
1253
- }
1254
- },
1255
- "required": ["name", "service"],
1256
- "additionalProperties": false
1257
- },
1258
- "graphqlResolver": {
1259
- "title": "GraphqlResolver",
1260
- "type": "object",
1261
- "properties": {
1262
- "if": {
1263
- "type": "string"
1264
- },
1265
- "id": {
1266
- "type": "string",
1267
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1268
- },
1269
- "name": {
1270
- "title": "GraphqlResolverName",
1271
- "type": "string",
1272
- "description": "Name of the resolver function.",
1273
- "enum": ["graphql:query", "graphql:mutation", "shopify:bulkQuery"]
1274
- },
1275
- "service": {
1276
- "type": "string",
1277
- "description": "Configuration for a service to use with this resolver."
1278
- },
1279
- "argsMapping": {
1280
- "$ref": "#/definitions/argsMapping"
1281
- },
1282
- "resultsMapping": {
1283
- "$ref": "#/definitions/resultsMapping"
1284
- },
1285
- "options": {
1286
- "title": "GraphqlResolverOptions",
1287
- "type": "object",
1288
- "properties": {
1289
- "selectionSet": {
1290
- "type": "string"
1291
- },
1292
- "unboxParentSelectionSet": {
1293
- "type": "boolean"
1294
- },
1295
- "ignoreErrors": {
1296
- "type": "boolean"
1297
- },
1298
- "skipWhenMissingArgs": {
1299
- "type": "boolean"
1300
- },
1301
- "ttl": {
1302
- "type": "number"
1303
- },
1304
- "timeout": {
1305
- "type": "number"
1306
- },
1307
- "allowStream": {
1308
- "type": "boolean"
1309
- },
1310
- "retry": {
1311
- "oneOf": [
1312
- {
1313
- "type": "number"
1314
- },
1315
- {
1316
- "type": "object"
1317
- }
1318
- ]
1319
- }
1320
- },
1321
- "additionalProperties": true
1322
- },
1323
- "fieldName": {
1324
- "description": "A fieldname to use in queries.",
1325
- "type": "string"
1326
- },
1327
- "headers": {
1328
- "description": "Mapping and serialization configuration for headers.",
1329
- "$ref": "#/definitions/parameterConfigForHeaders"
1330
- },
1331
- "searchParams": {
1332
- "description": "Mapping and serialization configuration for searchParams.",
1333
- "$ref": "#/definitions/parameterConfigForSearchParams"
1334
- },
1335
- "args": {
1336
- "description": "Mapping and serialization configuration for args.",
1337
- "$ref": "#/definitions/parameterConfigForJson"
1338
- },
1339
- "results": {
1340
- "description": "Mapping configuration for the results of this resolver step.",
1341
- "$ref": "#/definitions/parameterConfigForJson"
1342
- }
1343
- },
1344
- "required": ["name", "service", "fieldName"],
1345
- "additionalProperties": false
1346
- },
1347
- "restResolver": {
1348
- "title": "RestResolver",
1349
- "type": "object",
1350
- "properties": {
1351
- "if": {
1352
- "type": "string"
1353
- },
1354
- "id": {
1355
- "type": "string",
1356
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1357
- },
1358
- "name": {
1359
- "title": "RestResolverName",
1360
- "type": "string",
1361
- "description": "Name of the resolver function.",
1362
- "enum": ["rest:get", "rest:head", "rest:post", "rest:put", "rest:patch", "rest:delete"]
1363
- },
1364
- "service": {
1365
- "type": "string",
1366
- "description": "Configuration for a service to use with this resolver."
1367
- },
1368
- "argsMapping": {
1369
- "$ref": "#/definitions/argsMapping"
1370
- },
1371
- "searchParamsMapping": {
1372
- "$ref": "#/definitions/searchParamsMapping"
1373
- },
1374
- "resultsMapping": {
1375
- "$ref": "#/definitions/resultsMapping"
1376
- },
1377
- "options": {
1378
- "title": "RestResolverOptions",
1379
- "type": "object",
1380
- "properties": {
1381
- "trailingSlash": {
1382
- "type": "boolean"
1383
- },
1384
- "allowStream": {
1385
- "type": "boolean"
1386
- },
1387
- "ttl": {
1388
- "type": "number"
1389
- },
1390
- "timeout": {
1391
- "type": "number"
1392
- },
1393
- "retry": {
1394
- "oneOf": [
1395
- {
1396
- "type": "number"
1397
- },
1398
- {
1399
- "type": "object"
1400
- }
1401
- ]
1402
- }
1403
- },
1404
- "additionalProperties": true
1405
- },
1406
- "body": {
1407
- "description": "Mapping and serialization configuration for a request body.",
1408
- "$ref": "#/definitions/parameterConfigForBody"
1409
- },
1410
- "form": {
1411
- "description": "Mapping and serialization configuration for form data.",
1412
- "$ref": "#/definitions/parameterConfigForSearchParams"
1413
- },
1414
- "headers": {
1415
- "description": "Mapping and serialization configuration for headers.",
1416
- "$ref": "#/definitions/parameterConfigForHeaders"
1417
- },
1418
- "json": {
1419
- "description": "Mapping and serialization configuration for a json request body.",
1420
- "$ref": "#/definitions/parameterConfigForJson"
1421
- },
1422
- "path": {
1423
- "description": "Mapping and serialization configuration for the path, or a simple string.",
1424
- "oneOf": [
1425
- {
1426
- "$ref": "#/definitions/parameterConfigForPathParams"
1427
- },
1428
- {
1429
- "type": "string"
1430
- }
1431
- ]
1432
- },
1433
- "searchParams": {
1434
- "description": "Mapping and serialization configuration for searchParams.",
1435
- "$ref": "#/definitions/parameterConfigForSearchParams"
1436
- },
1437
- "args": {
1438
- "description": "Mapping and serialization configuration for args.",
1439
- "$ref": "#/definitions/parameterConfigForJson"
1440
- },
1441
- "results": {
1442
- "description": "Mapping configuration for the results of this resolver step.",
1443
- "$ref": "#/definitions/parameterConfigForJson"
1444
- }
1445
- },
1446
- "required": ["name", "service", "path"],
1447
- "additionalProperties": false
1448
- },
1449
- "awsLambdaResolver": {
1450
- "title": "AwsLambdaResolver",
1451
- "type": "object",
1452
- "properties": {
1453
- "if": {
1454
- "type": "string"
1455
- },
1456
- "id": {
1457
- "type": "string",
1458
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1459
- },
1460
- "name": {
1461
- "title": "AwsLambdaResolverName",
1462
- "type": "string",
1463
- "description": "Name of the resolver function.",
1464
- "enum": ["awsLambda:invoke"]
1465
- },
1466
- "service": {
1467
- "type": "string",
1468
- "description": "Configuration for a service to use with this resolver."
1469
- },
1470
- "options": {
1471
- "title": "AwsLambdaResolverOptions",
1472
- "type": "object",
1473
- "additionalProperties": true
1474
- },
1475
- "payload": {
1476
- "description": "Mapping configuration the Payload.",
1477
- "$ref": "#/definitions/parameterConfigForJson"
1478
- },
1479
- "functionName": {
1480
- "description": "Mapping configuration for the FunctionName.",
1481
- "oneOf": [
1482
- {
1483
- "type": "string"
1484
- },
1485
- {
1486
- "$ref": "#/definitions/parameterConfigForAwsLambda"
1487
- }
1488
- ]
1489
- },
1490
- "clientContext": {
1491
- "description": "Mapping configuration for the ClientContext.",
1492
- "$ref": "#/definitions/parameterConfigForJson"
1493
- },
1494
- "args": {
1495
- "description": "Mapping and serialization configuration for args.",
1496
- "$ref": "#/definitions/parameterConfigForJson"
1497
- },
1498
- "results": {
1499
- "description": "Mapping configuration for the results of this resolver step.",
1500
- "$ref": "#/definitions/parameterConfigForJson"
1501
- },
1502
- "argsMapping": {
1503
- "$ref": "#/definitions/argsMapping"
1504
- },
1505
- "searchParamsMapping": {
1506
- "description": "Set or evaluate directives to generate searchParams for the service endpoint.",
1507
- "$ref": "#/definitions/searchParamsMapping"
1508
- },
1509
- "resultsMapping": {
1510
- "$ref": "#/definitions/resultsMapping"
1511
- }
1512
- },
1513
- "required": ["name", "service", "functionName"],
1514
- "additionalProperties": false
1515
- },
1516
- "composeResolver": {
1517
- "title": "ComposeResolver",
1518
- "type": "object",
1519
- "properties": {
1520
- "compose": {
1521
- "type": "array",
1522
- "items": {
1523
- "$ref": "#/definitions/basicResolver"
1524
- }
1525
- },
1526
- "resultsMapping": {
1527
- "oneOf": [
1528
- {
1529
- "$ref": "#/definitions/directiveMappingMap"
1530
- },
1531
- {
1532
- "$ref": "#/definitions/directiveConfig"
1533
- }
1534
- ]
1535
- },
1536
- "results": {
1537
- "description": "Mapping configuration for final query results.",
1538
- "$ref": "#/definitions/parameterConfigForJson"
1539
- }
1540
- },
1541
- "required": ["compose"],
1542
- "additionalProperties": false
1543
- },
1544
- "resolver": {
1545
- "title": "Resolver",
1546
- "oneOf": [
1547
- {
1548
- "$ref": "#/definitions/basicResolver"
1549
- },
1550
- {
1551
- "$ref": "#/definitions/composeResolver"
1552
- }
1553
- ]
1554
- },
1555
- "dependencies": {
1556
- "title": "Dependencies",
1557
- "type": "string"
1558
- },
1559
- "ref": {
1560
- "title": "Ref",
1561
- "type": "string"
1562
- },
1563
- "indexed": {
1564
- "title": "Indexed",
1565
- "type": "object",
1566
- "properties": {
1567
- "nested": {
1568
- "type": "boolean"
1569
- }
1570
- },
1571
- "additionalProperties": false
1572
- },
1573
- "graphql": {
1574
- "title": "GraphQLConfig",
1575
- "type": "object",
1576
- "properties": {
1577
- "json": {
1578
- "type": "boolean"
1579
- }
1580
- },
1581
- "additionalProperties": false
1582
- },
1583
- "query": {
1584
- "title": "Query JSON",
1585
- "type": "object",
1586
- "properties": {
1587
- "args": {
1588
- "description": "The args field specifies the name of a Shape for the input arguments required by your resolver.",
1589
- "$ref": "#/definitions/args"
1590
- },
1591
- "resolver": {
1592
- "description": "Configures the resolver for your query or mutation.",
1593
- "$ref": "#/definitions/resolver"
1594
- },
1595
- "shape": {
1596
- "$ref": "#/definitions/returnShape",
1597
- "description": "Specifies which shape is returned by the query or mutation. The shape can refer to a shape in the schema's \"shapes\" object or a shape that's available on a service schema."
1598
- },
1599
- "description": {
1600
- "type": "string",
1601
- "description": "Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs."
1602
- }
1603
- },
1604
- "required": ["resolver", "shape"],
1605
- "additionalProperties": false
1606
- },
1607
- "propertySchema": {
1608
- "title": "PropertySchema",
1609
- "type": "object",
1610
- "properties": {
1611
- "$ref": {
1612
- "type": "string",
1613
- "format": "uri-reference"
1614
- },
1615
- "title": {
1616
- "type": "string"
1617
- },
1618
- "description": {
1619
- "type": "string"
1620
- },
1621
- "default": {},
1622
- "readOnly": {
1623
- "type": "boolean",
1624
- "default": false
1625
- },
1626
- "multipleOf": {
1627
- "type": "number",
1628
- "exclusiveMinimum": 0
1629
- },
1630
- "maximum": {
1631
- "type": "number"
1632
- },
1633
- "exclusiveMaximum": {
1634
- "type": "number"
1635
- },
1636
- "minimum": {
1637
- "type": "number"
1638
- },
1639
- "exclusiveMinimum": {
1640
- "type": "number"
1641
- },
1642
- "maxLength": {
1643
- "$ref": "#/definitions/nonNegativeInteger"
1644
- },
1645
- "minLength": {
1646
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
1647
- },
1648
- "pattern": {
1649
- "type": "string",
1650
- "format": "regex"
1651
- },
1652
- "additionalItems": {
1653
- "$ref": "#/definitions/propertySchema"
1654
- },
1655
- "items": {
1656
- "$ref": "#/definitions/propertySchema"
1657
- },
1658
- "maxItems": {
1659
- "$ref": "#/definitions/nonNegativeInteger"
1660
- },
1661
- "minItems": {
1662
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
1663
- },
1664
- "uniqueItems": {
1665
- "type": "boolean",
1666
- "default": false
1667
- },
1668
- "contains": {
1669
- "$ref": "#/definitions/propertySchema"
1670
- },
1671
- "maxProperties": {
1672
- "$ref": "#/definitions/nonNegativeInteger"
1673
- },
1674
- "minProperties": {
1675
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
1676
- },
1677
- "required": {
1678
- "$ref": "#/definitions/stringArray"
1679
- },
1680
- "additionalProperties": {
1681
- "oneOf": [
1682
- {
1683
- "$ref": "#/definitions/propertySchema"
1684
- },
1685
- {
1686
- "enum": [false]
1687
- }
1688
- ]
1689
- },
1690
- "definitions": {
1691
- "type": "object",
1692
- "additionalProperties": {
1693
- "$ref": "#/definitions/propertySchema"
1694
- },
1695
- "default": {}
1696
- },
1697
- "properties": {
1698
- "type": "object",
1699
- "additionalProperties": {
1700
- "$ref": "#/definitions/propertySchema"
1701
- },
1702
- "default": {}
1703
- },
1704
- "const": {},
1705
- "enum": {
1706
- "type": "array",
1707
- "minItems": 1,
1708
- "uniqueItems": true
1709
- },
1710
- "type": {
1711
- "anyOf": [
1712
- {
1713
- "$ref": "#/definitions/simpleTypes"
1714
- },
1715
- {
1716
- "type": "array",
1717
- "items": {
1718
- "$ref": "#/definitions/simpleTypes"
1719
- },
1720
- "minItems": 1,
1721
- "uniqueItems": true
1722
- }
1723
- ]
1724
- },
1725
- "format": {
1726
- "type": "string"
1727
- },
1728
- "contentMediaType": {
1729
- "type": "string"
1730
- },
1731
- "contentEncoding": {
1732
- "type": "string"
1733
- },
1734
- "allOf": {
1735
- "$ref": "#/definitions/schemaArray"
1736
- },
1737
- "discriminator": {
1738
- "type": "object",
1739
- "properties": {
1740
- "propertyName": {
1741
- "type": "string"
1742
- }
1743
- }
1744
- },
1745
- "oneOf": {
1746
- "$ref": "#/definitions/schemaArray"
1747
- },
1748
- "extends": {
1749
- "$ref": "#/definitions/objectOrRefArray"
1750
- },
1751
- "@backreference": {
1752
- "$ref": "#/definitions/backreference"
1753
- },
1754
- "@input": {
1755
- "description": "A PropertySchema providing an alternative shape for a GraphQL input type.",
1756
- "$ref": "#/definitions/propertySchema"
1757
- },
1758
- "@output": {
1759
- "description": "A PropertySchema which is original output.",
1760
- "$ref": "#/definitions/propertySchema"
1761
- },
1762
- "@syncLocaleStructure": {
1763
- "type": "boolean"
1764
- },
1765
- "@sensitive": {
1766
- "type": "boolean"
1767
- },
1768
- "@draftjs": {
1769
- "type": "boolean"
1770
- },
1771
- "@l10n": {
1772
- "type": "boolean"
1773
- },
1774
- "@key": {
1775
- "type": "string",
1776
- "pattern": "^[-_a-zA-Z0-9]+$"
1777
- },
1778
- "@workflow": {
1779
- "type": "string"
1780
- },
1781
- "@mapping": {
1782
- "$ref": "#/definitions/fieldMapping"
1783
- },
1784
- "@tag": {
1785
- "type": "string"
1786
- },
1787
- "@tags": {
1788
- "type": "array",
1789
- "items": {
1790
- "type": "string"
1791
- }
1792
- },
1793
- "@deprecationReason": {
1794
- "type": "string"
1795
- },
1796
- "@args": {
1797
- "$ref": "#/definitions/args"
1798
- },
1799
- "@resolver": {
1800
- "$ref": "#/definitions/resolver"
1801
- },
1802
- "@dependencies": {
1803
- "$ref": "#/definitions/dependencies"
1804
- },
1805
- "@ref": {
1806
- "$ref": "#/definitions/ref"
1807
- },
1808
- "@derivedFrom": {
1809
- "type": "string"
1810
- },
1811
- "@indexed": {
1812
- "$ref": "#/definitions/indexed"
1813
- },
1814
- "@graphql": {
1815
- "$ref": "#/definitions/graphql"
1816
- }
1817
- },
1818
- "additionalProperties": false
1819
- },
1820
- "shape": {
1821
- "title": "Shape JSON",
1822
- "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",
1823
- "type": "object",
1824
- "properties": {
1825
- "name": {
1826
- "type": "string",
1827
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
1828
- "description": "The Pascal-cased human-readable id for a Shape. This value should match the shape's key in the shapes object. This value is used in @ref and @mapping annotations"
1829
- },
1830
- "id": {
1831
- "type": "string",
1832
- "pattern": "[0-9A-Za-z_-]+",
1833
- "description": "The machine-readable id for a Shape which should never change. When using TakeShape's built-in database to store Shape data, this value is used database as a stable \"table name\" and changing it will result in orphaning that data."
1834
- },
1835
- "title": {
1836
- "type": "string",
1837
- "description": "The human-readable name for a Shape for use in a UI."
1838
- },
1839
- "description": {
1840
- "type": "string"
1841
- },
1842
- "type": {
1843
- "enum": ["interface", "input", "output"]
1844
- },
1845
- "interfaces": {
1846
- "type": "array",
1847
- "items": {
1848
- "type": "string"
1849
- }
1850
- },
1851
- "model": {
1852
- "description": "Specifying a model type allows Shape data to be stored in TakeShape's built-in database",
1853
- "type": "object",
1854
- "properties": {
1855
- "type": {
1856
- "title": "Model Type",
1857
- "type": "string",
1858
- "enum": ["single", "multiple", "taxonomy"]
1859
- }
1860
- },
1861
- "required": ["type"],
1862
- "additionalProperties": false
1863
- },
1864
- "workflow": {
1865
- "type": "string"
1866
- },
1867
- "loaders": {
1868
- "$ref": "#/definitions/shapeLoaders"
1869
- },
1870
- "joins": {
1871
- "$ref": "#/definitions/shapeJoins"
1872
- },
1873
- "cache": {
1874
- "$ref": "#/definitions/shapeCacheConfig"
1875
- },
1876
- "schema": {
1877
- "$ref": "#/definitions/shapeSchema"
1878
- }
1879
- },
1880
- "required": ["name", "title", "id", "schema"],
1881
- "additionalProperties": false
1882
- },
1883
- "shapeWithObjectSchema": {
1884
- "title": "Shape With Object Schema",
1885
- "type": "object",
1886
- "allOf": [
1887
- {
1888
- "$ref": "#/definitions/shape"
1889
- },
1890
- {
1891
- "type": "object",
1892
- "properties": {
1893
- "schema": {
1894
- "$ref": "#/definitions/objectSchema"
1895
- }
1896
- },
1897
- "required": ["schema"],
1898
- "additionalProperties": false
1899
- }
1900
- ]
1901
- },
1902
- "shapeMap": {
1903
- "title": "Shape Map",
1904
- "type": "object",
1905
- "patternProperties": {
1906
- "^[0-9A-Za-z_]+$": {
1907
- "$ref": "#/definitions/shape"
1908
- }
1909
- },
1910
- "additionalProperties": false
1911
- },
1912
- "formMap": {
1913
- "title": "Form Map",
1914
- "type": "object",
1915
- "patternProperties": {
1916
- "[0-9A-Za-z_-]+": {
1917
- "$ref": "#/definitions/formsConfig"
1918
- }
1919
- }
1920
- },
1921
- "shapeCacheConfig": {
1922
- "title": "ShapeCacheConfig",
1923
- "type": "object",
1924
- "properties": {
1925
- "enabled": {
1926
- "type": "boolean"
1927
- },
1928
- "idField": {
1929
- "type": "string"
1930
- },
1931
- "searchSummaryField": {
1932
- "type": "string"
1933
- },
1934
- "fragment": {
1935
- "$ref": "#/definitions/cachedFragmentConfig"
1936
- },
1937
- "triggers": {
1938
- "type": "array",
1939
- "items": {
1940
- "$ref": "#/definitions/cacheTriggerConfig"
1941
- }
1942
- },
1943
- "maxAge": {
1944
- "description": "Number of seconds this Shape should be cached. Default 0.",
1945
- "type": "number",
1946
- "minimum": 0
1947
- }
1948
- },
1949
- "additionalProperties": false,
1950
- "required": ["enabled"]
1951
- },
1952
- "shapeJoin": {
1953
- "title": "ShapeJoin",
1954
- "type": "object",
1955
- "properties": {
1956
- "resolver": {
1957
- "oneOf": [
1958
- {
1959
- "$ref": "#/definitions/delegateResolver"
1960
- },
1961
- {
1962
- "$ref": "#/definitions/shapedbResolver"
1963
- }
1964
- ]
1965
- },
1966
- "dependencies": {
1967
- "type": "string"
1968
- }
1969
- },
1970
- "required": ["resolver"],
1971
- "additionalProperties": false
1972
- },
1973
- "shapeJoins": {
1974
- "title": "ShapeJoins",
1975
- "type": "object",
1976
- "patternProperties": {
1977
- "[:0-9A-Za-z_-]+": {
1978
- "$ref": "#/definitions/shapeJoin"
1979
- }
1980
- }
1981
- },
1982
- "shapeLoaders": {
1983
- "title": "ShapeLoaders",
1984
- "type": "object",
1985
- "properties": {
1986
- "list": {
1987
- "oneOf": [
1988
- {
1989
- "$ref": "#/definitions/storedListQueryLoaderConfig"
1990
- },
1991
- {
1992
- "type": "array",
1993
- "items": {
1994
- "$ref": "#/definitions/storedListQueryLoaderConfig"
1995
- }
1996
- }
1997
- ]
1998
- },
1999
- "get": {
2000
- "$ref": "#/definitions/getQueryLoaderConfig"
2001
- }
2002
- },
2003
- "additionalProperties": false,
2004
- "required": ["list"]
2005
- },
2006
- "cachedFragmentConfig": {
2007
- "title": "Cached Fragment Config",
2008
- "type": "object",
2009
- "properties": {
2010
- "ignoreFields": {
2011
- "type": "array",
2012
- "items": {
2013
- "type": "string"
2014
- }
2015
- },
2016
- "maxDepth": {
2017
- "type": "number"
2018
- },
2019
- "selectionSet": {
2020
- "type": "string"
2021
- },
2022
- "includeDeprecated": {
2023
- "type": "boolean"
2024
- }
2025
- },
2026
- "additionalProperties": false
2027
- },
2028
- "listQueryLoaderConfig": {
2029
- "title": "ListQueryLoaderConfig",
2030
- "type": "object",
2031
- "properties": {
2032
- "query": {
2033
- "type": "string"
2034
- },
2035
- "args": {
2036
- "type": "object",
2037
- "additionalProperties": true
2038
- },
2039
- "pagination": {
2040
- "$ref": "#/definitions/paginationConfig"
2041
- }
2042
- },
2043
- "additionalProperties": false,
2044
- "required": ["query"]
2045
- },
2046
- "storedListQueryLoaderConfig": {
2047
- "title": "StoredListQueryLoaderConfig",
2048
- "type": "object",
2049
- "properties": {
2050
- "query": {
2051
- "type": "string"
2052
- },
2053
- "args": {
2054
- "oneOf": [
2055
- {
2056
- "type": "object",
2057
- "additionalProperties": true
2058
- },
2059
- {
2060
- "type": "array",
2061
- "items": {
2062
- "type": "object",
2063
- "additionalProperties": true
2064
- }
2065
- }
2066
- ]
2067
- },
2068
- "pagination": {
2069
- "$ref": "#/definitions/paginationConfig"
2070
- }
2071
- },
2072
- "additionalProperties": false,
2073
- "required": ["query"]
2074
- },
2075
- "getQueryLoaderConfig": {
2076
- "title": "GetQueryLoaderConfig",
2077
- "type": "object",
2078
- "properties": {
2079
- "query": {
2080
- "type": "string"
2081
- },
2082
- "args": {
2083
- "type": "object",
2084
- "additionalProperties": true
2085
- },
2086
- "idArg": {
2087
- "type": "string"
2088
- }
2089
- },
2090
- "additionalProperties": false,
2091
- "required": ["query"]
2092
- },
2093
- "paginationConfig": {
2094
- "title": "Pagination Config",
2095
- "oneOf": [
2096
- {
2097
- "$ref": "#/definitions/paginationCursorConfig"
2098
- },
2099
- {
2100
- "$ref": "#/definitions/paginationPageConfig"
2101
- },
2102
- {
2103
- "$ref": "#/definitions/paginationOffsetConfig"
2104
- }
2105
- ]
2106
- },
2107
- "paginationCursorConfig": {
2108
- "title": "Pagination Cursor Config",
2109
- "type": "object",
2110
- "properties": {
2111
- "type": {
2112
- "type": "string",
2113
- "enum": ["cursor"]
2114
- },
2115
- "cursorArg": {
2116
- "type": "string"
2117
- },
2118
- "cursorPath": {
2119
- "type": "string"
2120
- },
2121
- "pageSize": {
2122
- "type": "number"
2123
- },
2124
- "pageSizeArg": {
2125
- "type": "string"
2126
- },
2127
- "hasMorePath": {
2128
- "type": "string"
2129
- },
2130
- "itemsPath": {
2131
- "type": "string"
2132
- }
2133
- },
2134
- "additionalProperties": false,
2135
- "required": ["type", "cursorArg", "cursorPath", "pageSizeArg", "hasMorePath", "itemsPath"]
2136
- },
2137
- "paginationPageConfig": {
2138
- "title": "Pagination Page Config",
2139
- "type": "object",
2140
- "properties": {
2141
- "type": {
2142
- "type": "string",
2143
- "enum": ["page"]
2144
- },
2145
- "pageArg": {
2146
- "type": "string"
2147
- },
2148
- "pageSize": {
2149
- "type": "number"
2150
- },
2151
- "pageSizeArg": {
2152
- "type": "string"
2153
- },
2154
- "itemsPath": {
2155
- "type": "string"
2156
- },
2157
- "pageTotalPath": {
2158
- "type": "string"
2159
- }
2160
- },
2161
- "additionalProperties": false,
2162
- "required": ["type", "pageArg", "itemsPath", "pageTotalPath"]
2163
- },
2164
- "paginationOffsetConfig": {
2165
- "title": "Pagination Offset Config",
2166
- "type": "object",
2167
- "properties": {
2168
- "type": {
2169
- "type": "string",
2170
- "enum": ["offset"]
2171
- },
2172
- "offsetArg": {
2173
- "type": "string"
2174
- },
2175
- "pageSize": {
2176
- "type": "number"
2177
- },
2178
- "pageSizeArg": {
2179
- "type": "string"
2180
- },
2181
- "itemsPath": {
2182
- "type": "string"
2183
- },
2184
- "itemTotalPath": {
2185
- "type": "string"
2186
- }
2187
- },
2188
- "additionalProperties": false,
2189
- "required": ["type", "offsetArg", "itemsPath", "itemTotalPath"]
2190
- },
2191
- "cacheTriggerConfig": {
2192
- "title": "CacheTriggerConfig",
2193
- "oneOf": [
2194
- {
2195
- "$ref": "#/definitions/cacheScheduleTriggerConfig"
2196
- },
2197
- {
2198
- "$ref": "#/definitions/cacheWebhookTriggerConfig"
2199
- }
2200
- ]
2201
- },
2202
- "cacheScheduleTriggerConfig": {
2203
- "title": "CacheScheduleTriggerConfig",
2204
- "type": "object",
2205
- "properties": {
2206
- "type": {
2207
- "type": "string",
2208
- "enum": ["schedule"]
2209
- },
2210
- "loader": {
2211
- "enum": ["get", "list"]
2212
- },
2213
- "interval": {
2214
- "type": "number"
2215
- }
2216
- },
2217
- "additionalProperties": false,
2218
- "required": ["type", "loader", "interval"]
2219
- },
2220
- "cacheWebhookTriggerConfig": {
2221
- "title": "CacheWebhookTriggerConfig",
2222
- "type": "object",
2223
- "properties": {
2224
- "type": {
2225
- "type": "string",
2226
- "enum": ["webhook"]
2227
- },
2228
- "loader": {
2229
- "enum": ["get", "list"]
2230
- },
2231
- "service": {
2232
- "type": "string"
2233
- },
2234
- "events": {
2235
- "type": "array",
2236
- "items": {
2237
- "type": "string"
2238
- }
2239
- }
2240
- },
2241
- "additionalProperties": false,
2242
- "required": ["type", "loader", "service", "events"]
2243
- },
2244
- "formScalarConfig": {
2245
- "title": "Form Scalar Config",
2246
- "type": "object",
2247
- "properties": {
2248
- "widget": {
2249
- "type": "string"
2250
- }
2251
- },
2252
- "additionalProperties": false,
2253
- "required": ["widget"]
2254
- },
2255
- "formObjectConfig": {
2256
- "title": "Form Object Config",
2257
- "type": "object",
2258
- "properties": {
2259
- "widget": {
2260
- "type": "string"
2261
- },
2262
- "order": {
2263
- "type": "array",
2264
- "items": {
2265
- "type": "string"
2266
- }
2267
- },
2268
- "properties": {
2269
- "patternProperties": {
2270
- "[0-9A-Za-z_-]+": {
2271
- "$ref": "#/definitions/formConfig"
2272
- }
2273
- }
2274
- }
2275
- },
2276
- "additionalProperties": false
2277
- },
2278
- "formArrayConfig": {
2279
- "title": "Form Array Config",
2280
- "type": "object",
2281
- "properties": {
2282
- "widget": {
2283
- "type": "string"
2284
- },
2285
- "items": {
2286
- "$ref": "#/definitions/formConfig"
2287
- }
2288
- },
2289
- "additionalProperties": false,
2290
- "required": ["widget", "items"]
2291
- },
2292
- "customAuthentication": {
2293
- "title": "Custom Authentication",
2294
- "description": "For use with a custom auth handler on a service provider.",
2295
- "type": "object",
2296
- "properties": {
2297
- "type": {
2298
- "type": "string",
2299
- "enum": ["custom"]
2300
- }
2301
- },
2302
- "additionalProperties": true,
2303
- "required": ["type"]
2304
- },
2305
- "searchParamsAuthentication": {
2306
- "title": "Search Params Authentication",
2307
- "type": "object",
2308
- "properties": {
2309
- "type": {
2310
- "type": "string",
2311
- "enum": ["searchParams"]
2312
- },
2313
- "params": {
2314
- "type": "array",
2315
- "items": {
2316
- "properties": {
2317
- "name": {
2318
- "type": "string"
2319
- },
2320
- "value": {
2321
- "type": "string"
2322
- }
2323
- },
2324
- "required": ["name", "value"],
2325
- "additionalProperties": false
2326
- }
2327
- }
2328
- },
2329
- "additionalProperties": false,
2330
- "required": ["type", "params"]
2331
- },
2332
- "bearerAuthentication": {
2333
- "title": "Bearer Authentication",
2334
- "type": "object",
2335
- "properties": {
2336
- "type": {
2337
- "type": "string",
2338
- "enum": ["bearer"]
2339
- },
2340
- "token": {
2341
- "type": "string"
2342
- },
2343
- "prefix": {
2344
- "type": "string"
2345
- },
2346
- "header": {
2347
- "type": "string"
2348
- }
2349
- },
2350
- "additionalProperties": false,
2351
- "required": ["type", "token"]
2352
- },
2353
- "oauth2BearerAuthentication": {
2354
- "title": "OAuth 2 Bearer Authentication",
2355
- "type": "object",
2356
- "properties": {
2357
- "type": {
2358
- "type": "string",
2359
- "enum": ["oauth2Bearer"]
2360
- },
2361
- "token": {
2362
- "type": "string"
2363
- },
2364
- "prefix": {
2365
- "type": "string"
2366
- },
2367
- "header": {
2368
- "type": "string"
2369
- },
2370
- "scope": {
2371
- "type": "string"
2372
- },
2373
- "expiresAt": {
2374
- "type": "string"
2375
- }
2376
- },
2377
- "additionalProperties": false,
2378
- "required": ["type", "token"]
2379
- },
2380
- "basicAuthentication": {
2381
- "title": "Basic Authentication",
2382
- "type": "object",
2383
- "properties": {
2384
- "type": {
2385
- "type": "string",
2386
- "enum": ["basic"]
2387
- },
2388
- "username": {
2389
- "type": "string"
2390
- },
2391
- "password": {
2392
- "type": "string"
2393
- },
2394
- "useIso8859": {
2395
- "type": "boolean"
2396
- }
2397
- },
2398
- "additionalProperties": false,
2399
- "required": ["type", "username", "password"]
2400
- },
2401
- "oauth2Authentication": {
2402
- "title": "OAuth 2 Authentication",
2403
- "type": "object",
2404
- "properties": {
2405
- "type": {
2406
- "type": "string",
2407
- "enum": ["oauth2"]
2408
- },
2409
- "grantType": {
2410
- "type": "string",
2411
- "enum": ["authorizationCode", "clientCredentials"]
2412
- },
2413
- "authorizationUrl": {
2414
- "type": "string"
2415
- },
2416
- "accessTokenUrl": {
2417
- "type": "string"
2418
- },
2419
- "clientId": {
2420
- "type": "string"
2421
- },
2422
- "clientSecret": {
2423
- "type": "string"
2424
- },
2425
- "scope": {
2426
- "type": "string"
2427
- },
2428
- "usePkce": {
2429
- "type": "boolean"
2430
- },
2431
- "redirectUrl": {
2432
- "type": "string"
2433
- },
2434
- "headerPrefix": {
2435
- "type": "string"
2436
- },
2437
- "audience": {
2438
- "type": "string"
2439
- },
2440
- "resource": {
2441
- "type": "string"
2442
- }
2443
- },
2444
- "additionalProperties": false,
2445
- "required": ["type", "grantType", "clientId"]
2446
- },
2447
- "awsAuthentication": {
2448
- "title": "AWS Authentication",
2449
- "type": "object",
2450
- "properties": {
2451
- "type": {
2452
- "type": "string",
2453
- "enum": ["aws"]
2454
- },
2455
- "awsAccessKeyId": {
2456
- "type": "string"
2457
- },
2458
- "awsSecretAccessKey": {
2459
- "type": "string"
2460
- }
2461
- },
2462
- "additionalProperties": false,
2463
- "required": ["type", "awsAccessKeyId", "awsSecretAccessKey"]
2464
- },
2465
- "serviceAuthentication": {
2466
- "title": "Service Authentication",
2467
- "oneOf": [
2468
- {
2469
- "$ref": "#/definitions/oauth2Authentication"
2470
- },
2471
- {
2472
- "$ref": "#/definitions/oauth2BearerAuthentication"
2473
- },
2474
- {
2475
- "$ref": "#/definitions/bearerAuthentication"
2476
- },
2477
- {
2478
- "$ref": "#/definitions/basicAuthentication"
2479
- },
2480
- {
2481
- "$ref": "#/definitions/searchParamsAuthentication"
2482
- },
2483
- {
2484
- "$ref": "#/definitions/awsAuthentication"
2485
- },
2486
- {
2487
- "$ref": "#/definitions/customAuthentication"
2488
- }
2489
- ]
2490
- },
2491
- "serviceHealthCheck": {
2492
- "title": "Service Health Check",
2493
- "description": "Configuration for ping health checks.",
2494
- "type": "object",
2495
- "properties": {
2496
- "checkName": {
2497
- "title": "Check Name",
2498
- "description": "The name of a health check to run",
2499
- "type": "string",
2500
- "enum": ["graphqlIntrospection", "ping", "none"]
2501
- },
2502
- "endpoint": {
2503
- "title": "Endpoint",
2504
- "description": "The endpoint to use when checking the service health.",
2505
- "type": "string"
2506
- },
2507
- "requestMethod": {
2508
- "title": "Request Method",
2509
- "description": "A custom method to use for the health check request.",
2510
- "type": "string",
2511
- "enum": ["GET", "POST", "PUT", "PATCH", "DELETE"]
2512
- },
2513
- "requestHeaders": {
2514
- "title": "Request Headers",
2515
- "description": "Any custom headers to set with the health check request.",
2516
- "type": "object",
2517
- "propertyNames": {
2518
- "pattern": "[0-9A-Za-z_-]+"
2519
- }
2520
- },
2521
- "requestSearchParams": {
2522
- "title": "Request Search Params",
2523
- "description": "Any custom search params to set with the health check request.",
2524
- "type": "object",
2525
- "propertyNames": {
2526
- "pattern": "[0-9A-Za-z_-]+"
2527
- }
2528
- },
2529
- "requestBody": {
2530
- "title": "Request Body",
2531
- "description": "A custom body to send along with the ping request.",
2532
- "type": "string"
2533
- },
2534
- "requestBodyFormat": {
2535
- "title": "Request Body Format",
2536
- "description": "A custom body to send along with the ping request.",
2537
- "type": "string",
2538
- "enum": ["string", "form", "json"]
2539
- },
2540
- "requestTimeout": {
2541
- "title": "Request Timeout",
2542
- "description": "The amount of time to wait when receiving a response from the health check, in seconds.",
2543
- "type": "number",
2544
- "minimum": 2,
2545
- "maximum": 60
2546
- },
2547
- "healthyResponseStatusCode": {
2548
- "title": "Healthy Response Status Code",
2549
- "description": "The response status code that qualifies as healthy.",
2550
- "type": "number",
2551
- "minimum": 200,
2552
- "maximum": 399
2553
- }
2554
- },
2555
- "required": ["checkName"],
2556
- "additionalProperties": false
2557
- },
2558
- "serviceType": {
2559
- "title": "Service Type",
2560
- "description": "The general type of this service, specifying how and where it will be utilized.",
2561
- "type": "string",
2562
- "enum": ["deployment", "authentication", "takeshape", "rest", "graphql", "openapi", "aws", "unknown"]
2563
- },
2564
- "serviceConfig": {
2565
- "title": "Service Config",
2566
- "type": "object",
2567
- "properties": {
2568
- "id": {
2569
- "type": "string",
2570
- "description": "Machine-readable identifier, should typically be the same as the property name on the services object."
2571
- },
2572
- "title": {
2573
- "type": "string",
2574
- "description": "Human-readable name for this service."
2575
- },
2576
- "provider": {
2577
- "description": "The service provider id.",
2578
- "type": "string"
2579
- },
2580
- "namespace": {
2581
- "type": "string",
2582
- "description": "A namespace to use for the imported types tied to this service."
2583
- },
2584
- "serviceType": {
2585
- "$ref": "#/definitions/serviceType"
2586
- },
2587
- "authenticationType": {
2588
- "type": "string",
2589
- "enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
2590
- },
2591
- "authentication": {
2592
- "$ref": "#/definitions/serviceAuthentication"
2593
- },
2594
- "healthCheck": {
2595
- "$ref": "#/definitions/serviceHealthCheck"
2596
- },
2597
- "webhookId": {
2598
- "type": "string"
2599
- },
2600
- "options": {
2601
- "type": "object",
2602
- "description": "Configuration options passed to and handled by the provider."
2603
- }
2604
- },
2605
- "required": ["id", "title", "provider", "serviceType", "authenticationType"],
2606
- "additionalProperties": false
2607
- },
2608
- "storedServiceConfig": {
2609
- "title": "Service Config JSON",
2610
- "type": "object",
2611
- "properties": {
2612
- "id": {
2613
- "type": "string",
2614
- "description": "Machine-readable identifier, should typically be the same as the property name on the services object."
2615
- },
2616
- "title": {
2617
- "type": "string",
2618
- "description": "Human-readable name for this service."
2619
- },
2620
- "provider": {
2621
- "type": "string",
2622
- "description": "The service provider id."
2623
- },
2624
- "namespace": {
2625
- "type": "string",
2626
- "description": "A namespace to use for the imported types tied to this service."
2627
- },
2628
- "serviceType": {
2629
- "$ref": "#/definitions/serviceType"
2630
- },
2631
- "authenticationType": {
2632
- "type": "string",
2633
- "enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
2634
- },
2635
- "authentication": {
2636
- "type": "string"
2637
- },
2638
- "healthCheck": {
2639
- "$ref": "#/definitions/serviceHealthCheck"
2640
- },
2641
- "webhookId": {
2642
- "type": "string"
2643
- },
2644
- "options": {
2645
- "type": "object",
2646
- "description": "Configuration options passed to and handled by the provider."
2647
- }
2648
- },
2649
- "required": ["id", "title", "provider", "serviceType", "authenticationType"],
2650
- "additionalProperties": false
2651
- },
2652
- "anyServiceConfig": {
2653
- "title": "Any Service Config",
2654
- "oneOf": [
2655
- {
2656
- "$ref": "#/definitions/storedServiceConfig"
2657
- },
2658
- {
2659
- "$ref": "#/definitions/serviceConfig"
2660
- }
2661
- ]
2662
- },
2663
- "storedServiceMap": {
2664
- "title": "Service Map JSON",
2665
- "type": "object",
2666
- "patternProperties": {
2667
- "[0-9A-Za-z_-]+": {
2668
- "$ref": "#/definitions/storedServiceConfig"
2669
- }
2670
- }
2671
- },
2672
- "workflowStep": {
2673
- "title": "Workflow Step",
2674
- "type": "object",
2675
- "properties": {
2676
- "name": {
2677
- "type": "string",
2678
- "title": "Name",
2679
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
2680
- "description": "machine-readable slug"
2681
- },
2682
- "title": {
2683
- "title": "Title",
2684
- "type": "string",
2685
- "description": "Human-readable id for use in the UI"
2686
- },
2687
- "description": {
2688
- "title": "Description",
2689
- "type": "string"
2690
- },
2691
- "color": {
2692
- "title": "Color",
2693
- "type": "string",
2694
- "description": "Hex color code"
2695
- },
2696
- "live": {
2697
- "title": "Live",
2698
- "type": "boolean",
2699
- "description": "Value to indicate whether items in the state should be returned in list queries"
2700
- },
2701
- "key": {
2702
- "title": "Key",
2703
- "type": "string",
2704
- "description": "machine-readable id"
2705
- }
2706
- },
2707
- "required": ["name", "title", "color", "live", "key"],
2708
- "additionalProperties": false
2709
- },
2710
- "workflow": {
2711
- "title": "Workflow",
2712
- "type": "object",
2713
- "properties": {
2714
- "name": {
2715
- "type": "string",
2716
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
2717
- "description": "machine-readable id"
2718
- },
2719
- "title": {
2720
- "type": "string",
2721
- "title": "Workflow Name",
2722
- "minLength": 1,
2723
- "description": "Human-readable id for use in the UI"
2724
- },
2725
- "steps": {
2726
- "type": "array",
2727
- "title": "Steps",
2728
- "items": {
2729
- "$ref": "#/definitions/workflowStep"
2730
- },
2731
- "minItems": 1
2732
- }
2733
- },
2734
- "required": ["name", "title", "steps"]
2735
- },
2736
- "workflowMap": {
2737
- "title": "Workflow Map",
2738
- "type": "object",
2739
- "patternProperties": {
2740
- "[0-9A-Za-z_-]+": {
2741
- "$ref": "#/definitions/workflow"
2742
- }
2743
- }
2744
- },
2745
- "formConfig": {
2746
- "title": "Form Config",
2747
- "type": "object"
2748
- },
2749
- "formsConfig": {
2750
- "title": "Forms Config",
2751
- "type": "object",
2752
- "properties": {
2753
- "default": {
2754
- "$ref": "#/definitions/formConfig"
2755
- }
2756
- },
2757
- "patternProperties": {
2758
- "[0-9A-Za-z_-]+": {
2759
- "$ref": "#/definitions/formConfig"
2760
- }
2761
- },
2762
- "required": ["default"]
2763
- }
2764
- },
2765
- "properties": {
2766
- "$schema": {
2767
- "type": "string"
2768
- },
2769
- "apiVersion": {
2770
- "type": "string",
2771
- "description": "The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints."
2772
- },
2773
- "schemaVersion": {
2774
- "type": "string",
2775
- "enum": ["3.43.0"],
2776
- "description": "The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format."
2777
- },
2778
- "projectId": {
2779
- "type": "string",
2780
- "description": "The ID of the TakeShape project this schema belongs to."
2781
- },
2782
- "author": {
2783
- "type": "string",
2784
- "description": "The ID of the TakeShape user who created the schema."
2785
- },
2786
- "deactivated": {
2787
- "type": "number"
2788
- },
2789
- "defaultLocale": {
2790
- "type": "string",
2791
- "minLength": 1,
2792
- "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2,3})?$",
2793
- "description": "The locale that should be preferred when creating new Shape items. This must be an entry in the locales array."
2794
- },
2795
- "locales": {
2796
- "type": "array",
2797
- "minItems": 1,
2798
- "items": {
2799
- "type": "string",
2800
- "minLength": 1,
2801
- "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2,3})?$"
2802
- }
2803
- },
2804
- "queries": {
2805
- "$ref": "#/definitions/queryMap",
2806
- "description": "Queries map directly to queries your project's GraphQL API"
2807
- },
2808
- "mutations": {
2809
- "$ref": "#/definitions/queryMap",
2810
- "description": "Mutations map directly to mutations your project's GraphQL API"
2811
- },
2812
- "shapes": {
2813
- "$ref": "#/definitions/shapeMap",
2814
- "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."
2815
- },
2816
- "forms": {
2817
- "$ref": "#/definitions/formMap",
2818
- "description": "Forms define a visual interface for editing Shapes in the TakeShape UI."
2819
- },
2820
- "workflows": {
2821
- "$ref": "#/definitions/workflowMap",
2822
- "description": "Workflows describe the status of a shape item. Every schema starts with a default workflow with two steps, Disabled and Enabled"
2823
- },
2824
- "services": {
2825
- "$ref": "#/definitions/storedServiceMap",
2826
- "description": "By connecting new Services to your project schema, you can add shapes, queries, and mutations from 3rd party sources to your API in TakeShape. This allows you to mesh together exactly the API you need to interact with all of the services your app or business depends upon. Services use an encrypted configuration to keep auth tokens secret. For this reason, services can only be added to a schema through the web client or through the Admin API."
2827
- }
2828
- },
2829
- "additionalProperties": false,
2830
- "required": [
2831
- "projectId",
2832
- "apiVersion",
2833
- "schemaVersion",
2834
- "defaultLocale",
2835
- "locales",
2836
- "shapes",
2837
- "queries",
2838
- "mutations",
2839
- "workflows"
2840
- ]
2841
- }