@takeshape/schema 11.52.0 → 11.55.0

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