@takeshape/schema 11.52.0 → 11.56.1

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