@takeshape/schema 7.194.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 (312) hide show
  1. package/README.md +5 -0
  2. package/es/api-version.js +21 -0
  3. package/es/auth-schemas.js +0 -0
  4. package/es/builtin-schema.js +590 -0
  5. package/es/content-schema-transform.js +192 -0
  6. package/es/entitlements.js +0 -0
  7. package/es/enum.js +11 -0
  8. package/es/get-is-leaf.js +58 -0
  9. package/es/index.js +25 -0
  10. package/es/migration.js +413 -0
  11. package/es/mocks.js +47 -0
  12. package/es/patterns.js +0 -0
  13. package/es/project-schema/index.js +10 -0
  14. package/es/project-schema/v1.0.0.js +0 -0
  15. package/es/project-schema/v3.0.0.js +0 -0
  16. package/es/project-schema/v3.1.0.js +0 -0
  17. package/es/project-schema/v3.2.0.js +0 -0
  18. package/es/project-schema/v3.3.0.js +0 -0
  19. package/es/project-schema/v3.4.0.js +0 -0
  20. package/es/project-schema/v3.5.0.js +0 -0
  21. package/es/project-schema/v3.5.1.js +0 -0
  22. package/es/project-schema/v3.6.0.js +0 -0
  23. package/es/refs.js +301 -0
  24. package/es/resolvers.js +2 -0
  25. package/es/scalars.js +4 -0
  26. package/es/schema-util.js +1197 -0
  27. package/es/schemas/auth-schemas.json +313 -0
  28. package/es/schemas/project-schema/meta-schema-v1.0.0.json +209 -0
  29. package/es/schemas/project-schema/meta-schema-v3.0.0.json +609 -0
  30. package/es/schemas/project-schema/meta-schema-v3.1.0.json +609 -0
  31. package/es/schemas/project-schema/meta-schema-v3.2.0.json +613 -0
  32. package/es/schemas/project-schema/meta-schema-v3.3.0.json +613 -0
  33. package/es/schemas/project-schema/meta-schema-v3.4.0.json +613 -0
  34. package/es/schemas/project-schema/meta-schema-v3.5.0.json +627 -0
  35. package/es/schemas/project-schema/meta-schema-v3.5.1.json +630 -0
  36. package/es/schemas/project-schema/meta-schema-v3.6.0.json +633 -0
  37. package/es/schemas/project-schema/v1.0.0.json +321 -0
  38. package/es/schemas/project-schema/v3.0.0.json +411 -0
  39. package/es/schemas/project-schema/v3.1.0.json +569 -0
  40. package/es/schemas/project-schema/v3.2.0.json +577 -0
  41. package/es/schemas/project-schema/v3.3.0.json +578 -0
  42. package/es/schemas/project-schema/v3.4.0.json +568 -0
  43. package/es/schemas/project-schema/v3.5.0.json +568 -0
  44. package/es/schemas/project-schema/v3.5.1.json +568 -0
  45. package/es/schemas/project-schema/v3.6.0.json +584 -0
  46. package/es/schemas/project-schema.json +16 -0
  47. package/es/schemas/user-schema.json +58 -0
  48. package/es/services.js +379 -0
  49. package/es/taxonomies.js +55 -0
  50. package/es/template-shapes.js +79 -0
  51. package/es/types.js +202 -0
  52. package/es/unions.js +137 -0
  53. package/es/user-schema.js +0 -0
  54. package/es/util/detect-cycles.js +54 -0
  55. package/es/util/index.js +1 -0
  56. package/es/validate.js +764 -0
  57. package/es/versions.js +4 -0
  58. package/es/workflows.js +69 -0
  59. package/examples/.pnpm-debug.log +20 -0
  60. package/examples/v1_0_0/beer-schema.json +125 -0
  61. package/examples/v1_0_0/blog-schema.json +192 -0
  62. package/examples/v1_0_0/brewery-schema.json +232 -0
  63. package/examples/v1_0_0/complex-project-schema.json +3197 -0
  64. package/examples/v1_0_0/error-schema.json +275 -0
  65. package/examples/v1_0_0/frank-and-fred-schema.json +21387 -0
  66. package/examples/v1_0_0/massive-schema.json +6930 -0
  67. package/examples/v1_0_0/post-schema.json +83 -0
  68. package/examples/v1_0_0/real-world-schema.json +797 -0
  69. package/examples/v1_0_0/recursive-repeater-schema.json +69 -0
  70. package/examples/v1_0_0/recursive-schema.json +79 -0
  71. package/examples/v1_0_0/schema-with-repeater-draftjs.json +292 -0
  72. package/examples/v1_0_0/shape-books.json +797 -0
  73. package/examples/v1_0_0/user-schema-no-required.json +84 -0
  74. package/examples/v1_0_0/user-schema-with-defaults.json +105 -0
  75. package/examples/v1_0_0/user-schema-with-obj-prop.json +92 -0
  76. package/examples/v1_0_0/user-schema.json +87 -0
  77. package/examples/v3_0_0/rick-and-morty-rest.json +62 -0
  78. package/examples/v3_0_0/shopify-lookbook.json +1172 -0
  79. package/examples/v3_0_0/shopify-store-with-widget.json +11323 -0
  80. package/examples/v3_2_0/blog-schema.json +378 -0
  81. package/examples/v3_2_0/brewery-schema.json +385 -0
  82. package/examples/v3_2_0/complex-project-schema.json +3748 -0
  83. package/examples/v3_2_0/frank-and-fred-schema.json +19217 -0
  84. package/examples/v3_2_0/massive-schema.json +6676 -0
  85. package/examples/v3_2_0/pet-oneof-array.json +323 -0
  86. package/examples/v3_2_0/post-schema.json +265 -0
  87. package/examples/v3_2_0/real-world-schema.json +970 -0
  88. package/examples/v3_2_0/recursive-repeater-schema.json +144 -0
  89. package/examples/v3_2_0/recursive-schema.json +151 -0
  90. package/examples/v3_2_0/rick-and-morty-rest.json +65 -0
  91. package/examples/v3_2_0/schema-with-repeater-draftjs.json +381 -0
  92. package/examples/v3_2_0/shape-books.json +1044 -0
  93. package/examples/v3_2_0/shopify-store-with-widget.json +11016 -0
  94. package/examples/v3_2_0/user-schema-no-required.json +174 -0
  95. package/examples/v3_2_0/user-schema-with-defaults.json +187 -0
  96. package/examples/v3_3_0/blog-schema.json +405 -0
  97. package/examples/v3_3_0/brewery-schema.json +406 -0
  98. package/examples/v3_3_0/complex-project-schema.json +4076 -0
  99. package/examples/v3_3_0/frank-and-fred-schema.json +20913 -0
  100. package/examples/v3_3_0/massive-schema.json +7309 -0
  101. package/examples/v3_3_0/pet-oneof-array.json +380 -0
  102. package/examples/v3_3_0/post-schema.json +248 -0
  103. package/examples/v3_3_0/real-world-schema.json +1046 -0
  104. package/examples/v3_3_0/recursive-repeater-schema.json +154 -0
  105. package/examples/v3_3_0/recursive-schema.json +161 -0
  106. package/examples/v3_3_0/rick-and-morty-rest.json +101 -0
  107. package/examples/v3_3_0/schema-with-repeater-draftjs.json +393 -0
  108. package/examples/v3_3_0/shape-books.json +1121 -0
  109. package/examples/v3_3_0/shopify-lookbook.json +1196 -0
  110. package/examples/v3_3_0/shopify-store-with-widget.json +11320 -0
  111. package/examples/v3_3_0/user-schema-no-required.json +185 -0
  112. package/examples/v3_3_0/user-schema-with-defaults.json +210 -0
  113. package/examples/v3_4_0/blog-schema.json +405 -0
  114. package/examples/v3_4_0/brewery-schema.json +406 -0
  115. package/examples/v3_4_0/complex-project-schema.json +4076 -0
  116. package/examples/v3_4_0/frank-and-fred-schema.json +20913 -0
  117. package/examples/v3_4_0/massive-schema.json +7309 -0
  118. package/examples/v3_4_0/pet-oneof-array.json +420 -0
  119. package/examples/v3_4_0/post-schema.json +248 -0
  120. package/examples/v3_4_0/real-world-schema.json +1046 -0
  121. package/examples/v3_4_0/recursive-repeater-schema.json +154 -0
  122. package/examples/v3_4_0/recursive-schema.json +161 -0
  123. package/examples/v3_4_0/rick-and-morty-rest.json +101 -0
  124. package/examples/v3_4_0/schema-with-repeater-draftjs.json +393 -0
  125. package/examples/v3_4_0/shape-books.json +1121 -0
  126. package/examples/v3_4_0/shopify-lookbook.json +1196 -0
  127. package/examples/v3_4_0/shopify-store-with-widget.json +11323 -0
  128. package/examples/v3_4_0/user-schema-no-required.json +185 -0
  129. package/examples/v3_4_0/user-schema-with-defaults.json +210 -0
  130. package/examples/v3_5_0/blog-schema.json +405 -0
  131. package/examples/v3_5_0/brewery-schema.json +406 -0
  132. package/examples/v3_5_0/complex-project-schema.json +4076 -0
  133. package/examples/v3_5_0/frank-and-fred-schema.json +20913 -0
  134. package/examples/v3_5_0/massive-schema.json +7309 -0
  135. package/examples/v3_5_0/pet-oneof-array.json +420 -0
  136. package/examples/v3_5_0/post-schema.json +248 -0
  137. package/examples/v3_5_0/real-world-schema.json +1046 -0
  138. package/examples/v3_5_0/recursive-repeater-schema.json +154 -0
  139. package/examples/v3_5_0/recursive-schema.json +161 -0
  140. package/examples/v3_5_0/rick-and-morty-rest.json +101 -0
  141. package/examples/v3_5_0/schema-with-repeater-draftjs.json +393 -0
  142. package/examples/v3_5_0/shape-books.json +1121 -0
  143. package/examples/v3_5_0/shopify-lookbook.json +1196 -0
  144. package/examples/v3_5_0/shopify-store-with-widget.json +12271 -0
  145. package/examples/v3_5_0/user-schema-no-required.json +185 -0
  146. package/examples/v3_5_0/user-schema-with-defaults.json +210 -0
  147. package/examples/v3_5_1/blog-schema.json +405 -0
  148. package/examples/v3_5_1/brewery-schema.json +406 -0
  149. package/examples/v3_5_1/complex-project-schema.json +4076 -0
  150. package/examples/v3_5_1/frank-and-fred-schema.json +20913 -0
  151. package/examples/v3_5_1/massive-schema.json +7309 -0
  152. package/examples/v3_5_1/pet-oneof-array.json +420 -0
  153. package/examples/v3_5_1/post-schema.json +248 -0
  154. package/examples/v3_5_1/real-world-schema.json +1046 -0
  155. package/examples/v3_5_1/recursive-repeater-schema.json +154 -0
  156. package/examples/v3_5_1/recursive-schema.json +161 -0
  157. package/examples/v3_5_1/rick-and-morty-rest.json +101 -0
  158. package/examples/v3_5_1/schema-with-repeater-draftjs.json +393 -0
  159. package/examples/v3_5_1/shape-books.json +1121 -0
  160. package/examples/v3_5_1/shopify-lookbook.json +1196 -0
  161. package/examples/v3_5_1/shopify-store-with-widget.json +12271 -0
  162. package/examples/v3_5_1/stripe-starter-resolved.json +21419 -0
  163. package/examples/v3_5_1/user-schema-no-required.json +185 -0
  164. package/examples/v3_5_1/user-schema-with-defaults.json +210 -0
  165. package/examples/v3_6_0/blog-schema.json +405 -0
  166. package/examples/v3_6_0/brewery-schema.json +406 -0
  167. package/examples/v3_6_0/complex-project-schema.json +4076 -0
  168. package/examples/v3_6_0/frank-and-fred-schema.json +20913 -0
  169. package/examples/v3_6_0/massive-schema.json +7309 -0
  170. package/examples/v3_6_0/pet-oneof-array.json +420 -0
  171. package/examples/v3_6_0/post-schema.json +248 -0
  172. package/examples/v3_6_0/real-world-schema.json +1046 -0
  173. package/examples/v3_6_0/recursive-repeater-schema.json +154 -0
  174. package/examples/v3_6_0/recursive-schema.json +161 -0
  175. package/examples/v3_6_0/rick-and-morty-rest.json +101 -0
  176. package/examples/v3_6_0/schema-with-repeater-draftjs.json +393 -0
  177. package/examples/v3_6_0/shape-books.json +1121 -0
  178. package/examples/v3_6_0/shopify-lookbook.json +1196 -0
  179. package/examples/v3_6_0/shopify-store-with-widget.json +12271 -0
  180. package/examples/v3_6_0/stripe-starter-resolved.json +21419 -0
  181. package/examples/v3_6_0/user-schema-no-required.json +185 -0
  182. package/examples/v3_6_0/user-schema-with-defaults.json +210 -0
  183. package/lib/api-version.d.ts +6 -0
  184. package/lib/api-version.d.ts.map +1 -0
  185. package/lib/api-version.js +36 -0
  186. package/lib/auth-schemas.d.ts +105 -0
  187. package/lib/auth-schemas.d.ts.map +1 -0
  188. package/lib/auth-schemas.js +1 -0
  189. package/lib/builtin-schema.d.ts +8 -0
  190. package/lib/builtin-schema.d.ts.map +1 -0
  191. package/lib/builtin-schema.js +606 -0
  192. package/lib/content-schema-transform.d.ts +41 -0
  193. package/lib/content-schema-transform.d.ts.map +1 -0
  194. package/lib/content-schema-transform.js +217 -0
  195. package/lib/entitlements.d.ts +1 -0
  196. package/lib/entitlements.d.ts.map +1 -0
  197. package/lib/entitlements.js +1 -0
  198. package/lib/enum.d.ts +3 -0
  199. package/lib/enum.d.ts.map +1 -0
  200. package/lib/enum.js +18 -0
  201. package/lib/get-is-leaf.d.ts +4 -0
  202. package/lib/get-is-leaf.d.ts.map +1 -0
  203. package/lib/get-is-leaf.js +68 -0
  204. package/lib/index.d.ts +27 -0
  205. package/lib/index.d.ts.map +1 -0
  206. package/lib/index.js +359 -0
  207. package/lib/migration.d.ts +55 -0
  208. package/lib/migration.d.ts.map +1 -0
  209. package/lib/migration.js +463 -0
  210. package/lib/mocks.d.ts +13 -0
  211. package/lib/mocks.d.ts.map +1 -0
  212. package/lib/mocks.js +61 -0
  213. package/lib/patterns.d.ts +13 -0
  214. package/lib/patterns.d.ts.map +1 -0
  215. package/lib/patterns.js +1 -0
  216. package/lib/project-schema/index.d.ts +21 -0
  217. package/lib/project-schema/index.d.ts.map +1 -0
  218. package/lib/project-schema/index.js +122 -0
  219. package/lib/project-schema/v1.0.0.d.ts +293 -0
  220. package/lib/project-schema/v1.0.0.d.ts.map +1 -0
  221. package/lib/project-schema/v1.0.0.js +1 -0
  222. package/lib/project-schema/v3.0.0.d.ts +480 -0
  223. package/lib/project-schema/v3.0.0.d.ts.map +1 -0
  224. package/lib/project-schema/v3.0.0.js +1 -0
  225. package/lib/project-schema/v3.1.0.d.ts +623 -0
  226. package/lib/project-schema/v3.1.0.d.ts.map +1 -0
  227. package/lib/project-schema/v3.1.0.js +1 -0
  228. package/lib/project-schema/v3.2.0.d.ts +634 -0
  229. package/lib/project-schema/v3.2.0.d.ts.map +1 -0
  230. package/lib/project-schema/v3.2.0.js +1 -0
  231. package/lib/project-schema/v3.3.0.d.ts +634 -0
  232. package/lib/project-schema/v3.3.0.d.ts.map +1 -0
  233. package/lib/project-schema/v3.3.0.js +1 -0
  234. package/lib/project-schema/v3.4.0.d.ts +626 -0
  235. package/lib/project-schema/v3.4.0.d.ts.map +1 -0
  236. package/lib/project-schema/v3.4.0.js +1 -0
  237. package/lib/project-schema/v3.5.0.d.ts +651 -0
  238. package/lib/project-schema/v3.5.0.d.ts.map +1 -0
  239. package/lib/project-schema/v3.5.0.js +1 -0
  240. package/lib/project-schema/v3.5.1.d.ts +651 -0
  241. package/lib/project-schema/v3.5.1.d.ts.map +1 -0
  242. package/lib/project-schema/v3.5.1.js +1 -0
  243. package/lib/project-schema/v3.6.0.d.ts +660 -0
  244. package/lib/project-schema/v3.6.0.d.ts.map +1 -0
  245. package/lib/project-schema/v3.6.0.js +1 -0
  246. package/lib/refs.d.ts +122 -0
  247. package/lib/refs.d.ts.map +1 -0
  248. package/lib/refs.js +359 -0
  249. package/lib/resolvers.d.ts +4 -0
  250. package/lib/resolvers.d.ts.map +1 -0
  251. package/lib/resolvers.js +10 -0
  252. package/lib/scalars.d.ts +3 -0
  253. package/lib/scalars.d.ts.map +1 -0
  254. package/lib/scalars.js +13 -0
  255. package/lib/schema-util.d.ts +201 -0
  256. package/lib/schema-util.d.ts.map +1 -0
  257. package/lib/schema-util.js +1353 -0
  258. package/lib/schemas/auth-schemas.json +313 -0
  259. package/lib/schemas/project-schema/meta-schema-v1.0.0.json +209 -0
  260. package/lib/schemas/project-schema/meta-schema-v3.0.0.json +609 -0
  261. package/lib/schemas/project-schema/meta-schema-v3.1.0.json +609 -0
  262. package/lib/schemas/project-schema/meta-schema-v3.2.0.json +613 -0
  263. package/lib/schemas/project-schema/meta-schema-v3.3.0.json +613 -0
  264. package/lib/schemas/project-schema/meta-schema-v3.4.0.json +613 -0
  265. package/lib/schemas/project-schema/meta-schema-v3.5.0.json +627 -0
  266. package/lib/schemas/project-schema/meta-schema-v3.5.1.json +630 -0
  267. package/lib/schemas/project-schema/meta-schema-v3.6.0.json +633 -0
  268. package/lib/schemas/project-schema/v1.0.0.json +321 -0
  269. package/lib/schemas/project-schema/v3.0.0.json +411 -0
  270. package/lib/schemas/project-schema/v3.1.0.json +569 -0
  271. package/lib/schemas/project-schema/v3.2.0.json +577 -0
  272. package/lib/schemas/project-schema/v3.3.0.json +578 -0
  273. package/lib/schemas/project-schema/v3.4.0.json +568 -0
  274. package/lib/schemas/project-schema/v3.5.0.json +568 -0
  275. package/lib/schemas/project-schema/v3.5.1.json +568 -0
  276. package/lib/schemas/project-schema/v3.6.0.json +584 -0
  277. package/lib/schemas/project-schema.json +16 -0
  278. package/lib/schemas/user-schema.json +58 -0
  279. package/lib/services.d.ts +71 -0
  280. package/lib/services.d.ts.map +1 -0
  281. package/lib/services.js +413 -0
  282. package/lib/taxonomies.d.ts +16 -0
  283. package/lib/taxonomies.d.ts.map +1 -0
  284. package/lib/taxonomies.js +69 -0
  285. package/lib/template-shapes.d.ts +32 -0
  286. package/lib/template-shapes.d.ts.map +1 -0
  287. package/lib/template-shapes.js +100 -0
  288. package/lib/types.d.ts +187 -0
  289. package/lib/types.d.ts.map +1 -0
  290. package/lib/types.js +289 -0
  291. package/lib/unions.d.ts +29 -0
  292. package/lib/unions.d.ts.map +1 -0
  293. package/lib/unions.js +167 -0
  294. package/lib/user-schema.d.ts +39 -0
  295. package/lib/user-schema.d.ts.map +1 -0
  296. package/lib/user-schema.js +1 -0
  297. package/lib/util/detect-cycles.d.ts +6 -0
  298. package/lib/util/detect-cycles.d.ts.map +1 -0
  299. package/lib/util/detect-cycles.js +61 -0
  300. package/lib/util/index.d.ts +2 -0
  301. package/lib/util/index.d.ts.map +1 -0
  302. package/lib/util/index.js +18 -0
  303. package/lib/validate.d.ts +49 -0
  304. package/lib/validate.d.ts.map +1 -0
  305. package/lib/validate.js +823 -0
  306. package/lib/versions.d.ts +5 -0
  307. package/lib/versions.d.ts.map +1 -0
  308. package/lib/versions.js +14 -0
  309. package/lib/workflows.d.ts +15 -0
  310. package/lib/workflows.d.ts.map +1 -0
  311. package/lib/workflows.js +92 -0
  312. package/package.json +65 -0
@@ -0,0 +1,660 @@
1
+ /**
2
+ * This file was automatically generated by json-schema-to-typescript.
3
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
+ * and run json-schema-to-typescript to regenerate this file.
5
+ */
6
+ export declare type Args = string | ContentObjectSchema;
7
+ export declare type ContentObjectSchema = AllOfSchema | OneOfSchema | RefSchema | RefSchemaLegacy | ObjectSchema | ArraySchema;
8
+ export declare type ObjectSchema = ContentSchema & {
9
+ type: string;
10
+ properties: {
11
+ [k: string]: ContentSchema;
12
+ };
13
+ [k: string]: any;
14
+ };
15
+ /**
16
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
17
+ * via the `definition` "fieldMapping".
18
+ */
19
+ export declare type FieldMapping = string | string[];
20
+ /**
21
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
22
+ * via the `definition` "resolver".
23
+ */
24
+ export declare type Resolver = BasicResolver | ComposeResolver;
25
+ /**
26
+ * A tuple with a string directive name, and options to pass to the directive
27
+ *
28
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
29
+ * via the `definition` "directiveConfigItem".
30
+ */
31
+ export declare type DirectiveConfigItem = [string, DirectiveOptions];
32
+ /**
33
+ * An array of individual directive config items to process in order
34
+ *
35
+ * This interface was referenced by `DirectiveMappingMap`'s JSON-Schema definition
36
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
37
+ *
38
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
39
+ * via the `definition` "directiveConfig".
40
+ */
41
+ export declare type DirectiveConfig = DirectiveConfigItem[];
42
+ /**
43
+ * A tuple with a string key and a directive config to evaluate
44
+ *
45
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
46
+ * via the `definition` "directiveMappingArrayItem".
47
+ */
48
+ export declare type DirectiveMappingArrayItem = [string, DirectiveConfig];
49
+ /**
50
+ * An array of key / value or directive config tuples
51
+ *
52
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
53
+ * via the `definition` "directiveMappingArray".
54
+ */
55
+ export declare type DirectiveMappingArray = DirectiveMappingArrayItem[];
56
+ /**
57
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
58
+ * via the `definition` "arraySchema".
59
+ */
60
+ export declare type ArraySchema = ContentSchema & {
61
+ type: string;
62
+ items: ContentObjectSchema;
63
+ [k: string]: any;
64
+ };
65
+ /**
66
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
67
+ * via the `definition` "returnShape".
68
+ */
69
+ export declare type ReturnShape = string | ArraySchema;
70
+ export declare type ModelType = 'single' | 'multiple' | 'taxonomy';
71
+ export declare type Steps = WorkflowStep[];
72
+ /**
73
+ * The general type of this service, specifying how and where it will be utilized.
74
+ *
75
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
76
+ * via the `definition` "serviceType".
77
+ */
78
+ export declare type ServiceType = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
79
+ /**
80
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
81
+ * via the `definition` "shapeWithObjectSchema".
82
+ */
83
+ export declare type ShapeWithObjectSchema = Shape & {
84
+ schema: ObjectSchema;
85
+ };
86
+ /**
87
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
88
+ * via the `definition` "searchParamsAuthentication".
89
+ */
90
+ export declare type SearchParamsAuthentication = {
91
+ name: string;
92
+ value: string;
93
+ }[];
94
+ /**
95
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
96
+ * via the `definition` "serviceAuthentication".
97
+ */
98
+ export declare type ServiceAuthentication = OAuth2Authentication | OAuth2BearerAuthentication | BearerAuthentication | BasicAuthentication | SearchParamsAuthentication | AWSAuthentication | CustomAuthentication;
99
+ /**
100
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
101
+ * via the `definition` "anyServiceConfig".
102
+ */
103
+ export declare type AnyServiceConfig = StoredServiceConfig | ServiceConfig;
104
+ export interface ProjectSchema {
105
+ $schema?: string;
106
+ /**
107
+ * This is the revision number of your schema. Every time your project schema is updated, this value should be incremented.
108
+ */
109
+ version: number;
110
+ /**
111
+ * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
112
+ */
113
+ apiVersion: string;
114
+ /**
115
+ * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
116
+ */
117
+ schemaVersion: '3.6.0';
118
+ /**
119
+ * The ID of the TakeShape project this schema belongs to.
120
+ */
121
+ projectId: string;
122
+ /**
123
+ * The ID of the TakeShape user who created the schema.
124
+ */
125
+ author?: string;
126
+ /**
127
+ * The date the schema was created
128
+ */
129
+ created: string;
130
+ /**
131
+ * The date the schema was last updated
132
+ */
133
+ updated: string;
134
+ deactivated?: number;
135
+ /**
136
+ * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
137
+ */
138
+ defaultLocale: string;
139
+ locales: string[];
140
+ queries: QueryMap;
141
+ mutations: QueryMap;
142
+ shapes: ShapeMap;
143
+ forms?: FormMap;
144
+ workflows: WorkflowMap;
145
+ dataKey: string;
146
+ services?: StoredServiceMap;
147
+ }
148
+ export interface QueryMap {
149
+ [k: string]: Query;
150
+ }
151
+ /**
152
+ * This interface was referenced by `QueryMap`'s JSON-Schema definition
153
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
154
+ */
155
+ export interface Query {
156
+ args?: Args;
157
+ resolver: Resolver;
158
+ shape: ReturnShape;
159
+ /**
160
+ * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
161
+ */
162
+ description?: string;
163
+ [k: string]: any;
164
+ }
165
+ export interface AllOfSchema {
166
+ allOf: (RefSchema | RefSchemaLegacy | ObjectSchema)[];
167
+ }
168
+ /**
169
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
170
+ * via the `definition` "refSchema".
171
+ */
172
+ export interface RefSchema {
173
+ /**
174
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
175
+ * via the `definition` "ref".
176
+ */
177
+ '@ref': string;
178
+ [k: string]: any;
179
+ }
180
+ /**
181
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
182
+ * via the `definition` "refSchemaLegacy".
183
+ */
184
+ export interface RefSchemaLegacy {
185
+ /**
186
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
187
+ * via the `definition` "ref".
188
+ */
189
+ $ref: string;
190
+ [k: string]: any;
191
+ }
192
+ export interface ContentSchema {
193
+ $id?: string;
194
+ $schema?: string;
195
+ $ref?: string;
196
+ $comment?: string;
197
+ title?: string;
198
+ description?: string;
199
+ default?: any;
200
+ readOnly?: boolean;
201
+ examples?: any[];
202
+ multipleOf?: number;
203
+ maximum?: number;
204
+ exclusiveMaximum?: number;
205
+ minimum?: number;
206
+ exclusiveMinimum?: number;
207
+ /**
208
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
209
+ * via the `definition` "nonNegativeInteger".
210
+ */
211
+ maxLength?: number;
212
+ /**
213
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
214
+ * via the `definition` "nonNegativeIntegerDefault0".
215
+ */
216
+ minLength?: number;
217
+ pattern?: string;
218
+ additionalItems?: ContentSchema;
219
+ items?: ContentSchema;
220
+ /**
221
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
222
+ * via the `definition` "nonNegativeInteger".
223
+ */
224
+ maxItems?: number;
225
+ /**
226
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
227
+ * via the `definition` "nonNegativeIntegerDefault0".
228
+ */
229
+ minItems?: number;
230
+ uniqueItems?: boolean;
231
+ contains?: ContentSchema;
232
+ /**
233
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
234
+ * via the `definition` "nonNegativeInteger".
235
+ */
236
+ maxProperties?: number;
237
+ /**
238
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
239
+ * via the `definition` "nonNegativeIntegerDefault0".
240
+ */
241
+ minProperties?: number;
242
+ /**
243
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
244
+ * via the `definition` "stringArray".
245
+ */
246
+ required?: string[];
247
+ additionalProperties?: ContentSchema | false;
248
+ definitions?: {
249
+ [k: string]: ContentSchema;
250
+ };
251
+ properties?: {
252
+ [k: string]: ContentSchema;
253
+ };
254
+ patternProperties?: {
255
+ [k: string]: ContentSchema;
256
+ };
257
+ dependencies?: {
258
+ [k: string]: ContentSchema | string[];
259
+ };
260
+ propertyNames?: ContentSchema;
261
+ const?: any;
262
+ enum?: any[];
263
+ type?: ('array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string') | ('array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string')[];
264
+ format?: string;
265
+ contentMediaType?: string;
266
+ contentEncoding?: string;
267
+ if?: ContentSchema;
268
+ then?: ContentSchema;
269
+ else?: ContentSchema;
270
+ /**
271
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
272
+ * via the `definition` "schemaArray".
273
+ */
274
+ allOf?: ContentSchema[];
275
+ /**
276
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
277
+ * via the `definition` "schemaArray".
278
+ */
279
+ anyOf?: ContentSchema[];
280
+ /**
281
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
282
+ * via the `definition` "schemaArray".
283
+ */
284
+ oneOf?: ContentSchema[];
285
+ not?: ContentSchema;
286
+ '@relationship'?: Relationship;
287
+ '@syncLocaleStructure'?: boolean;
288
+ '@sensitive'?: boolean;
289
+ '@draftjs'?: boolean;
290
+ '@l10n'?: boolean;
291
+ '@key'?: string;
292
+ '@workflow'?: string;
293
+ '@mapping'?: FieldMapping;
294
+ '@tag'?: string;
295
+ '@tags'?: string[];
296
+ '@deprecationReason'?: string;
297
+ '@user'?: boolean;
298
+ '@args'?: Args;
299
+ '@resolver'?: Resolver;
300
+ /**
301
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
302
+ * via the `definition` "ref".
303
+ */
304
+ '@ref'?: string;
305
+ '@derivedFrom'?: string;
306
+ value?: string;
307
+ }
308
+ /**
309
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
310
+ * via the `definition` "relationship".
311
+ */
312
+ export interface Relationship {
313
+ shapeIds: string[];
314
+ type?: string;
315
+ relatedName?: string;
316
+ }
317
+ /**
318
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
319
+ * via the `definition` "basicResolver".
320
+ */
321
+ export interface BasicResolver {
322
+ if?: string;
323
+ id?: string;
324
+ /**
325
+ * The name of the built-in resolver your query or mutation should use.
326
+ */
327
+ name: string;
328
+ /**
329
+ * Specifies the service configuration the resolver should use, identified by a connected service's slug. This configuration contains the endpoint and authentication necessary to make API calls.
330
+ */
331
+ service: string;
332
+ /**
333
+ * Maps a query's input args to the input expected by the service's endpoint.
334
+ */
335
+ argsMapping?: DirectiveMappingMap | DirectiveConfig;
336
+ searchParamsMapping?: DirectiveMappingArray;
337
+ /**
338
+ * Maps a service endpoint's response results to the expected shape of the query's response.
339
+ */
340
+ resultsMapping?: DirectiveMappingMap | DirectiveConfig;
341
+ options?: {
342
+ model?: string;
343
+ [k: string]: any;
344
+ };
345
+ }
346
+ /**
347
+ * An map of object keys / key paths to directive configs
348
+ *
349
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
350
+ * via the `definition` "directiveMappingMap".
351
+ */
352
+ export interface DirectiveMappingMap {
353
+ [k: string]: DirectiveConfig;
354
+ }
355
+ export interface DirectiveOptions {
356
+ [k: string]: any;
357
+ }
358
+ /**
359
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
360
+ * via the `definition` "composeResolver".
361
+ */
362
+ export interface ComposeResolver {
363
+ compose: BasicResolver[];
364
+ resultsMapping?: DirectiveMappingMap | DirectiveConfig;
365
+ }
366
+ /**
367
+ * This interface was referenced by `ContentSchema`'s JSON-Schema
368
+ * via the `definition` "oneOfSchema".
369
+ */
370
+ export interface OneOfSchema {
371
+ oneOf: (RefSchema | RefSchemaLegacy | ObjectSchema)[];
372
+ }
373
+ /**
374
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
375
+ * via the `definition` "shapeMap".
376
+ */
377
+ export interface ShapeMap {
378
+ [k: string]: Shape;
379
+ }
380
+ /**
381
+ * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
382
+ *
383
+ * This interface was referenced by `ShapeMap`'s JSON-Schema definition
384
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
385
+ *
386
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
387
+ * via the `definition` "shape".
388
+ */
389
+ export interface Shape {
390
+ /**
391
+ * 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
392
+ */
393
+ name: string;
394
+ /**
395
+ * 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.
396
+ */
397
+ id: string;
398
+ /**
399
+ * The human-readable name for a Shape for use in a UI.
400
+ */
401
+ title: string;
402
+ description?: string;
403
+ /**
404
+ * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
405
+ */
406
+ model?: {
407
+ type: ModelType;
408
+ };
409
+ workflow?: string;
410
+ schema: ContentObjectSchema;
411
+ [k: string]: any;
412
+ }
413
+ /**
414
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
415
+ * via the `definition` "formMap".
416
+ */
417
+ export interface FormMap {
418
+ [k: string]: FormsConfig;
419
+ }
420
+ /**
421
+ * This interface was referenced by `FormMap`'s JSON-Schema definition
422
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
423
+ *
424
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
425
+ * via the `definition` "formsConfig".
426
+ */
427
+ export interface FormsConfig {
428
+ default: FormConfig;
429
+ [k: string]: FormConfig;
430
+ }
431
+ /**
432
+ * This interface was referenced by `FormsConfig`'s JSON-Schema definition
433
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
434
+ *
435
+ * This interface was referenced by `undefined`'s JSON-Schema definition
436
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
437
+ *
438
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
439
+ * via the `definition` "formConfig".
440
+ */
441
+ export interface FormConfig {
442
+ [k: string]: any;
443
+ }
444
+ /**
445
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
446
+ * via the `definition` "workflowMap".
447
+ */
448
+ export interface WorkflowMap {
449
+ [k: string]: Workflow;
450
+ }
451
+ /**
452
+ * This interface was referenced by `WorkflowMap`'s JSON-Schema definition
453
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
454
+ *
455
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
456
+ * via the `definition` "workflow".
457
+ */
458
+ export interface Workflow {
459
+ /**
460
+ * machine-readable id
461
+ */
462
+ name: string;
463
+ /**
464
+ * Human-readable id for use in the UI
465
+ */
466
+ title: string;
467
+ steps: Steps;
468
+ [k: string]: any;
469
+ }
470
+ /**
471
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
472
+ * via the `definition` "workflowStep".
473
+ */
474
+ export interface WorkflowStep {
475
+ /**
476
+ * machine-readable slug
477
+ */
478
+ name: string;
479
+ /**
480
+ * Human-readable id for use in the UI
481
+ */
482
+ title: string;
483
+ description?: string;
484
+ /**
485
+ * Hex color code
486
+ */
487
+ color: string;
488
+ /**
489
+ * Value to indicate whether items in the state should be returned in list queries
490
+ */
491
+ live: boolean;
492
+ /**
493
+ * machine-readable id
494
+ */
495
+ key: string;
496
+ }
497
+ /**
498
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
499
+ * via the `definition` "storedServiceMap".
500
+ */
501
+ export interface StoredServiceMap {
502
+ [k: string]: StoredServiceConfig;
503
+ }
504
+ /**
505
+ * This interface was referenced by `StoredServiceMap`'s JSON-Schema definition
506
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
507
+ *
508
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
509
+ * via the `definition` "storedServiceConfig".
510
+ */
511
+ export interface StoredServiceConfig {
512
+ /**
513
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
514
+ */
515
+ id: string;
516
+ /**
517
+ * Human-readable name for this service.
518
+ */
519
+ title: string;
520
+ /**
521
+ * The service provider id.
522
+ */
523
+ provider: string;
524
+ /**
525
+ * A namespace to use for the imported types tied to this service.
526
+ */
527
+ namespace?: string;
528
+ serviceType: ServiceType;
529
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
530
+ authentication?: string;
531
+ webhookId?: string;
532
+ /**
533
+ * Configuration options passed to and handled by the provider.
534
+ */
535
+ options?: {
536
+ [k: string]: any;
537
+ };
538
+ }
539
+ /**
540
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
541
+ * via the `definition` "formScalarConfig".
542
+ */
543
+ export interface FormScalarConfig {
544
+ widget: string;
545
+ }
546
+ /**
547
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
548
+ * via the `definition` "formObjectConfig".
549
+ */
550
+ export interface FormObjectConfig {
551
+ widget?: string;
552
+ order?: string[];
553
+ properties?: {
554
+ [k: string]: FormConfig;
555
+ };
556
+ }
557
+ /**
558
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
559
+ * via the `definition` "formArrayConfig".
560
+ */
561
+ export interface FormArrayConfig {
562
+ widget: string;
563
+ items: FormConfig;
564
+ }
565
+ /**
566
+ * For use with a custom auth handler on a service provider.
567
+ *
568
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
569
+ * via the `definition` "customAuthentication".
570
+ */
571
+ export interface CustomAuthentication {
572
+ [k: string]: any;
573
+ }
574
+ /**
575
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
576
+ * via the `definition` "bearerAuthentication".
577
+ */
578
+ export interface BearerAuthentication {
579
+ token?: string;
580
+ prefix?: string;
581
+ header?: string;
582
+ }
583
+ /**
584
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
585
+ * via the `definition` "oauth2BearerAuthentication".
586
+ */
587
+ export interface OAuth2BearerAuthentication {
588
+ token?: string;
589
+ prefix?: string;
590
+ header?: string;
591
+ scope?: string;
592
+ expiresAt?: string;
593
+ }
594
+ /**
595
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
596
+ * via the `definition` "basicAuthentication".
597
+ */
598
+ export interface BasicAuthentication {
599
+ username?: string;
600
+ password?: string;
601
+ useIso8859?: boolean;
602
+ }
603
+ /**
604
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
605
+ * via the `definition` "oauth2Authentication".
606
+ */
607
+ export interface OAuth2Authentication {
608
+ grantType?: 'authorizationCode' | 'clientCredentials';
609
+ authorizationUrl?: string;
610
+ accessTokenUrl?: string;
611
+ clientId?: string;
612
+ clientSecret?: string;
613
+ scope?: string;
614
+ usePkce?: boolean;
615
+ redirectUrl?: string;
616
+ headerPrefix?: string;
617
+ audience?: string;
618
+ resource?: string;
619
+ }
620
+ /**
621
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
622
+ * via the `definition` "awsAuthentication".
623
+ */
624
+ export interface AWSAuthentication {
625
+ awsAccessKeyId?: string;
626
+ awsSecretAccessKey?: string;
627
+ }
628
+ /**
629
+ * This interface was referenced by `ProjectSchema`'s JSON-Schema
630
+ * via the `definition` "serviceConfig".
631
+ */
632
+ export interface ServiceConfig {
633
+ /**
634
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
635
+ */
636
+ id: string;
637
+ /**
638
+ * Human-readable name for this service.
639
+ */
640
+ title: string;
641
+ /**
642
+ * The service provider id.
643
+ */
644
+ provider: string;
645
+ /**
646
+ * A namespace to use for the imported types tied to this service.
647
+ */
648
+ namespace?: string;
649
+ serviceType: ServiceType;
650
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
651
+ authentication?: ServiceAuthentication;
652
+ webhookId?: string;
653
+ /**
654
+ * Configuration options passed to and handled by the provider.
655
+ */
656
+ options?: {
657
+ [k: string]: any;
658
+ };
659
+ }
660
+ //# sourceMappingURL=v3.6.0.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v3.6.0.d.ts","sourceRoot":"","sources":["../../../src/project-schema/v3.6.0.ts"],"names":[],"mappings":"AACA;;;;GAIG;AAEH,oBAAY,IAAI,GAAG,MAAM,GAAG,mBAAmB,CAAC;AAChD,oBAAY,mBAAmB,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,eAAe,GAAG,YAAY,GAAG,WAAW,CAAC;AACvH,oBAAY,YAAY,GAAG,aAAa,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE;QACV,CAAC,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;KAC5B,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB,CAAC;AACF;;;GAGG;AACH,oBAAY,YAAY,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAC7C;;;GAGG;AACH,oBAAY,QAAQ,GAAG,aAAa,GAAG,eAAe,CAAC;AACvD;;;;;GAKG;AACH,oBAAY,mBAAmB,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAC7D;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