@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,634 @@
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 ArgsV3_2_0 = string | ContentObjectSchemaV3_2_0;
7
+ export declare type ContentObjectSchemaV3_2_0 = AllOfSchemaV3_2_0 | OneOfSchemaV3_2_0 | RefSchemaV3_2_0 | RefSchemaLegacyV3_2_0 | ObjectSchemaV3_2_0 | ArraySchemaV3_2_0;
8
+ export declare type ObjectSchemaV3_2_0 = ContentSchemaV3_2_0 & {
9
+ type: string;
10
+ properties: {
11
+ [k: string]: ContentSchemaV3_2_0;
12
+ };
13
+ [k: string]: any;
14
+ };
15
+ /**
16
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
17
+ * via the `definition` "fieldMapping".
18
+ */
19
+ export declare type FieldMappingV3_2_0 = string | string[];
20
+ /**
21
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
22
+ * via the `definition` "resolver".
23
+ */
24
+ export declare type ResolverV3_2_0 = BasicResolverV3_2_0 | ComposeResolverV3_2_0;
25
+ /**
26
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
27
+ * via the `definition` "directiveConfig".
28
+ */
29
+ export declare type DirectiveConfigV3_2_0 = [string, DirectiveOptionsV3_2_0];
30
+ /**
31
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
32
+ * via the `definition` "arraySchema".
33
+ */
34
+ export declare type ArraySchemaV3_2_0 = ContentSchemaV3_2_0 & {
35
+ type: string;
36
+ items: ContentObjectSchemaV3_2_0;
37
+ [k: string]: any;
38
+ };
39
+ /**
40
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
41
+ * via the `definition` "returnShape".
42
+ */
43
+ export declare type ReturnShapeV3_2_0 = string | ArraySchemaV3_2_0;
44
+ export declare type ModelTypeV3_2_0 = 'single' | 'multiple' | 'taxonomy';
45
+ export declare type StepsV3_2_0 = WorkflowStepV3_2_0[];
46
+ /**
47
+ * The general type of this service, specifying how and where it will be utilized.
48
+ *
49
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
50
+ * via the `definition` "serviceType".
51
+ */
52
+ export declare type ServiceTypeV3_2_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'unknown';
53
+ /**
54
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
55
+ * via the `definition` "shapeWithObjectSchema".
56
+ */
57
+ export declare type ShapeWithObjectSchemaV3_2_0 = ShapeV3_2_0 & {
58
+ schema: ObjectSchemaV3_2_0;
59
+ };
60
+ /**
61
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
62
+ * via the `definition` "searchParamsAuthentication".
63
+ */
64
+ export declare type SearchParamsAuthenticationV3_2_0 = {
65
+ name: string;
66
+ value: string;
67
+ }[];
68
+ /**
69
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
70
+ * via the `definition` "serviceAuthentication".
71
+ */
72
+ export declare type ServiceAuthenticationV3_2_0 = OAuth2AuthenticationV3_2_0 | OAuth2BearerAuthenticationV3_2_0 | BearerAuthenticationV3_2_0 | BasicAuthenticationV3_2_0 | SearchParamsAuthenticationV3_2_0 | CustomAuthenticationV3_2_0;
73
+ /**
74
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
75
+ * via the `definition` "anyServiceConfig".
76
+ */
77
+ export declare type AnyServiceConfigV3_2_0 = StoredServiceConfigV3_2_0 | ServiceConfigV3_2_0;
78
+ export interface ProjectSchemaV3_2_0 {
79
+ $schema?: string;
80
+ /**
81
+ * This is the revision number of your schema. Every time your project schema is updated, this value should be incremented.
82
+ */
83
+ version: number;
84
+ /**
85
+ * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
86
+ */
87
+ apiVersion: string;
88
+ /**
89
+ * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
90
+ */
91
+ schemaVersion: '3.2.0';
92
+ /**
93
+ * The ID of the TakeShape project this schema belongs to.
94
+ */
95
+ projectId: string;
96
+ /**
97
+ * The ID of the TakeShape user who created the schema.
98
+ */
99
+ author?: string;
100
+ /**
101
+ * The date the schema was created
102
+ */
103
+ created: string;
104
+ /**
105
+ * The date the schema was last updated
106
+ */
107
+ updated: string;
108
+ deactivated?: number;
109
+ /**
110
+ * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
111
+ */
112
+ defaultLocale: string;
113
+ locales: string[];
114
+ queries: QueryMapV3_2_0;
115
+ mutations: QueryMapV3_2_0;
116
+ shapes: ShapeMapV3_2_0;
117
+ forms?: FormMapV3_2_0;
118
+ workflows: WorkflowMapV3_2_0;
119
+ dataKey?: string;
120
+ services?: StoredServiceMapV3_2_0;
121
+ }
122
+ export interface QueryMapV3_2_0 {
123
+ [k: string]: QueryV3_2_0;
124
+ }
125
+ /**
126
+ * This interface was referenced by `QueryMapV3_2_0`'s JSON-Schema definition
127
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
128
+ */
129
+ export interface QueryV3_2_0 {
130
+ args?: ArgsV3_2_0;
131
+ resolver: ResolverV3_2_0;
132
+ shape: ReturnShapeV3_2_0;
133
+ /**
134
+ * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
135
+ */
136
+ description?: string;
137
+ [k: string]: any;
138
+ }
139
+ export interface AllOfSchemaV3_2_0 {
140
+ allOf: (RefSchemaV3_2_0 | RefSchemaLegacyV3_2_0 | ObjectSchemaV3_2_0)[];
141
+ }
142
+ /**
143
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
144
+ * via the `definition` "refSchema".
145
+ */
146
+ export interface RefSchemaV3_2_0 {
147
+ /**
148
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
149
+ * via the `definition` "ref".
150
+ */
151
+ '@ref': string;
152
+ [k: string]: any;
153
+ }
154
+ /**
155
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
156
+ * via the `definition` "refSchemaLegacy".
157
+ */
158
+ export interface RefSchemaLegacyV3_2_0 {
159
+ /**
160
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
161
+ * via the `definition` "ref".
162
+ */
163
+ $ref: string;
164
+ [k: string]: any;
165
+ }
166
+ export interface ContentSchemaV3_2_0 {
167
+ $id?: string;
168
+ $schema?: string;
169
+ $ref?: string;
170
+ $comment?: string;
171
+ title?: string;
172
+ description?: string;
173
+ default?: any;
174
+ readOnly?: boolean;
175
+ examples?: any[];
176
+ multipleOf?: number;
177
+ maximum?: number;
178
+ exclusiveMaximum?: number;
179
+ minimum?: number;
180
+ exclusiveMinimum?: number;
181
+ /**
182
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
183
+ * via the `definition` "nonNegativeInteger".
184
+ */
185
+ maxLength?: number;
186
+ /**
187
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
188
+ * via the `definition` "nonNegativeIntegerDefault0".
189
+ */
190
+ minLength?: number;
191
+ pattern?: string;
192
+ additionalItems?: ContentSchemaV3_2_0;
193
+ items?: ContentSchemaV3_2_0;
194
+ /**
195
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
196
+ * via the `definition` "nonNegativeInteger".
197
+ */
198
+ maxItems?: number;
199
+ /**
200
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
201
+ * via the `definition` "nonNegativeIntegerDefault0".
202
+ */
203
+ minItems?: number;
204
+ uniqueItems?: boolean;
205
+ contains?: ContentSchemaV3_2_0;
206
+ /**
207
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
208
+ * via the `definition` "nonNegativeInteger".
209
+ */
210
+ maxProperties?: number;
211
+ /**
212
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
213
+ * via the `definition` "nonNegativeIntegerDefault0".
214
+ */
215
+ minProperties?: number;
216
+ /**
217
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
218
+ * via the `definition` "stringArray".
219
+ */
220
+ required?: string[];
221
+ additionalProperties?: ContentSchemaV3_2_0;
222
+ definitions?: {
223
+ [k: string]: ContentSchemaV3_2_0;
224
+ };
225
+ properties?: {
226
+ [k: string]: ContentSchemaV3_2_0;
227
+ };
228
+ patternProperties?: {
229
+ [k: string]: ContentSchemaV3_2_0;
230
+ };
231
+ dependencies?: {
232
+ [k: string]: ContentSchemaV3_2_0 | string[];
233
+ };
234
+ propertyNames?: ContentSchemaV3_2_0;
235
+ const?: any;
236
+ enum?: any[];
237
+ type?: ('array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string') | ('array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string')[];
238
+ format?: string;
239
+ contentMediaType?: string;
240
+ contentEncoding?: string;
241
+ if?: ContentSchemaV3_2_0;
242
+ then?: ContentSchemaV3_2_0;
243
+ else?: ContentSchemaV3_2_0;
244
+ /**
245
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
246
+ * via the `definition` "schemaArray".
247
+ */
248
+ allOf?: ContentSchemaV3_2_0[];
249
+ /**
250
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
251
+ * via the `definition` "schemaArray".
252
+ */
253
+ anyOf?: ContentSchemaV3_2_0[];
254
+ /**
255
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
256
+ * via the `definition` "schemaArray".
257
+ */
258
+ oneOf?: ContentSchemaV3_2_0[];
259
+ not?: ContentSchemaV3_2_0;
260
+ '@relationship'?: RelationshipV3_2_0;
261
+ '@syncLocaleStructure'?: boolean;
262
+ '@sensitive'?: boolean;
263
+ '@draftjs'?: boolean;
264
+ '@l10n'?: boolean;
265
+ '@key'?: string;
266
+ '@workflow'?: string;
267
+ '@mapping'?: FieldMappingV3_2_0;
268
+ '@tag'?: string;
269
+ '@tags'?: string[];
270
+ '@deprecationReason'?: string;
271
+ '@user'?: boolean;
272
+ '@args'?: ArgsV3_2_0;
273
+ '@resolver'?: ResolverV3_2_0;
274
+ /**
275
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
276
+ * via the `definition` "ref".
277
+ */
278
+ '@ref'?: string;
279
+ value?: string;
280
+ }
281
+ /**
282
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
283
+ * via the `definition` "relationship".
284
+ */
285
+ export interface RelationshipV3_2_0 {
286
+ shapeIds: string[];
287
+ type?: string;
288
+ relatedName?: string;
289
+ }
290
+ /**
291
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
292
+ * via the `definition` "basicResolver".
293
+ */
294
+ export interface BasicResolverV3_2_0 {
295
+ if?: string;
296
+ id?: string;
297
+ /**
298
+ * The name of the built-in resolver your query or mutation should use.
299
+ */
300
+ name: string;
301
+ /**
302
+ * 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.
303
+ */
304
+ service: string;
305
+ /**
306
+ * Maps a query's input args to the input expected by the service's endpoint.
307
+ */
308
+ argsMapping?: DirectiveMapV3_2_0 | DirectiveConfigV3_2_0[];
309
+ /**
310
+ * Maps a service endpoint's response results to the expected shape of the query's response.
311
+ */
312
+ resultsMapping?: DirectiveMapV3_2_0 | DirectiveConfigV3_2_0[];
313
+ options?: {
314
+ model?: string;
315
+ [k: string]: any;
316
+ };
317
+ }
318
+ /**
319
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
320
+ * via the `definition` "directiveMap".
321
+ */
322
+ export interface DirectiveMapV3_2_0 {
323
+ /**
324
+ * This interface was referenced by `DirectiveMapV3_2_0`'s JSON-Schema definition
325
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
326
+ */
327
+ [k: string]: DirectiveConfigV3_2_0[];
328
+ }
329
+ export interface DirectiveOptionsV3_2_0 {
330
+ [k: string]: any;
331
+ }
332
+ /**
333
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
334
+ * via the `definition` "composeResolver".
335
+ */
336
+ export interface ComposeResolverV3_2_0 {
337
+ compose: BasicResolverV3_2_0[];
338
+ resultsMapping?: DirectiveMapV3_2_0 | DirectiveConfigV3_2_0[];
339
+ }
340
+ /**
341
+ * This interface was referenced by `ContentSchemaV3_2_0`'s JSON-Schema
342
+ * via the `definition` "oneOfSchema".
343
+ */
344
+ export interface OneOfSchemaV3_2_0 {
345
+ oneOf: (RefSchemaV3_2_0 | RefSchemaLegacyV3_2_0 | ObjectSchemaV3_2_0)[];
346
+ }
347
+ /**
348
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
349
+ * via the `definition` "shapeMap".
350
+ */
351
+ export interface ShapeMapV3_2_0 {
352
+ [k: string]: ShapeV3_2_0;
353
+ }
354
+ /**
355
+ * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
356
+ *
357
+ * This interface was referenced by `ShapeMapV3_2_0`'s JSON-Schema definition
358
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
359
+ *
360
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
361
+ * via the `definition` "shape".
362
+ */
363
+ export interface ShapeV3_2_0 {
364
+ /**
365
+ * 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
366
+ */
367
+ name: string;
368
+ /**
369
+ * 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.
370
+ */
371
+ id: string;
372
+ /**
373
+ * The human-readable name for a Shape for use in a UI.
374
+ */
375
+ title: string;
376
+ description?: string;
377
+ /**
378
+ * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
379
+ */
380
+ model?: {
381
+ type: ModelTypeV3_2_0;
382
+ };
383
+ workflow?: string;
384
+ schema: ContentObjectSchemaV3_2_0;
385
+ [k: string]: any;
386
+ }
387
+ /**
388
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
389
+ * via the `definition` "formMap".
390
+ */
391
+ export interface FormMapV3_2_0 {
392
+ [k: string]: FormsConfigV3_2_0;
393
+ }
394
+ /**
395
+ * This interface was referenced by `FormMapV3_2_0`'s JSON-Schema definition
396
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
397
+ *
398
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
399
+ * via the `definition` "formsConfig".
400
+ */
401
+ export interface FormsConfigV3_2_0 {
402
+ default: FormConfigV3_2_0;
403
+ [k: string]: FormConfigV3_2_0;
404
+ }
405
+ /**
406
+ * This interface was referenced by `FormsConfigV3_2_0`'s JSON-Schema definition
407
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
408
+ *
409
+ * This interface was referenced by `undefined`'s JSON-Schema definition
410
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
411
+ *
412
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
413
+ * via the `definition` "formConfig".
414
+ */
415
+ export interface FormConfigV3_2_0 {
416
+ [k: string]: any;
417
+ }
418
+ /**
419
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
420
+ * via the `definition` "workflowMap".
421
+ */
422
+ export interface WorkflowMapV3_2_0 {
423
+ [k: string]: WorkflowV3_2_0;
424
+ }
425
+ /**
426
+ * This interface was referenced by `WorkflowMapV3_2_0`'s JSON-Schema definition
427
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
428
+ *
429
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
430
+ * via the `definition` "workflow".
431
+ */
432
+ export interface WorkflowV3_2_0 {
433
+ /**
434
+ * machine-readable id
435
+ */
436
+ name: string;
437
+ /**
438
+ * Human-readable id for use in the UI
439
+ */
440
+ title: string;
441
+ steps: StepsV3_2_0;
442
+ [k: string]: any;
443
+ }
444
+ /**
445
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
446
+ * via the `definition` "workflowStep".
447
+ */
448
+ export interface WorkflowStepV3_2_0 {
449
+ /**
450
+ * machine-readable slug
451
+ */
452
+ name: string;
453
+ /**
454
+ * Human-readable id for use in the UI
455
+ */
456
+ title: string;
457
+ description?: string;
458
+ /**
459
+ * Hex color code
460
+ */
461
+ color: string;
462
+ /**
463
+ * Value to indicate whether items in the state should be returned in list queries
464
+ */
465
+ live: boolean;
466
+ /**
467
+ * machine-readable id
468
+ */
469
+ key: string;
470
+ }
471
+ /**
472
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
473
+ * via the `definition` "storedServiceMap".
474
+ */
475
+ export interface StoredServiceMapV3_2_0 {
476
+ [k: string]: StoredServiceConfigV3_2_0;
477
+ }
478
+ /**
479
+ * This interface was referenced by `StoredServiceMapV3_2_0`'s JSON-Schema definition
480
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
481
+ *
482
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
483
+ * via the `definition` "storedServiceConfig".
484
+ */
485
+ export interface StoredServiceConfigV3_2_0 {
486
+ /**
487
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
488
+ */
489
+ id: string;
490
+ /**
491
+ * Human-readable name for this service.
492
+ */
493
+ title: string;
494
+ /**
495
+ * The service provider id.
496
+ */
497
+ provider: string;
498
+ /**
499
+ * A namespace to use for the imported types tied to this service.
500
+ */
501
+ namespace?: string;
502
+ serviceType: ServiceTypeV3_2_0;
503
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'none' | 'unknown';
504
+ authentication?: string;
505
+ webhookId?: string;
506
+ /**
507
+ * Configuration options passed to and handled by the provider.
508
+ */
509
+ options?: {
510
+ /**
511
+ * This interface was referenced by `undefined`'s JSON-Schema definition
512
+ * via the `patternProperty` "[a-zA-Z][a-zA-Z0-9]*".
513
+ */
514
+ [k: string]: string;
515
+ };
516
+ }
517
+ /**
518
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
519
+ * via the `definition` "formScalarConfig".
520
+ */
521
+ export interface FormScalarConfigV3_2_0 {
522
+ widget: string;
523
+ }
524
+ /**
525
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
526
+ * via the `definition` "formObjectConfig".
527
+ */
528
+ export interface FormObjectConfigV3_2_0 {
529
+ widget?: string;
530
+ order?: string[];
531
+ properties?: {
532
+ [k: string]: FormConfigV3_2_0;
533
+ };
534
+ }
535
+ /**
536
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
537
+ * via the `definition` "formArrayConfig".
538
+ */
539
+ export interface FormArrayConfigV3_2_0 {
540
+ widget: string;
541
+ items: FormConfigV3_2_0;
542
+ }
543
+ /**
544
+ * For use with a custom auth handler on a service provider.
545
+ *
546
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
547
+ * via the `definition` "customAuthentication".
548
+ */
549
+ export interface CustomAuthenticationV3_2_0 {
550
+ [k: string]: any;
551
+ }
552
+ /**
553
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
554
+ * via the `definition` "bearerAuthentication".
555
+ */
556
+ export interface BearerAuthenticationV3_2_0 {
557
+ token?: string;
558
+ prefix?: string;
559
+ header?: string;
560
+ }
561
+ /**
562
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
563
+ * via the `definition` "oauth2BearerAuthentication".
564
+ */
565
+ export interface OAuth2BearerAuthenticationV3_2_0 {
566
+ token?: string;
567
+ prefix?: string;
568
+ header?: string;
569
+ scope?: string;
570
+ expiresAt?: string;
571
+ }
572
+ /**
573
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
574
+ * via the `definition` "basicAuthentication".
575
+ */
576
+ export interface BasicAuthenticationV3_2_0 {
577
+ username?: string;
578
+ password?: string;
579
+ useIso8859?: boolean;
580
+ }
581
+ /**
582
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
583
+ * via the `definition` "oauth2Authentication".
584
+ */
585
+ export interface OAuth2AuthenticationV3_2_0 {
586
+ grantType?: 'authorizationCode' | 'clientCredentials';
587
+ authorizationUrl?: string;
588
+ accessTokenUrl?: string;
589
+ clientId?: string;
590
+ clientSecret?: string;
591
+ scope?: string;
592
+ usePkce?: boolean;
593
+ redirectUrl?: string;
594
+ headerPrefix?: string;
595
+ audience?: string;
596
+ resource?: string;
597
+ }
598
+ /**
599
+ * This interface was referenced by `ProjectSchemaV3_2_0`'s JSON-Schema
600
+ * via the `definition` "serviceConfig".
601
+ */
602
+ export interface ServiceConfigV3_2_0 {
603
+ /**
604
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
605
+ */
606
+ id: string;
607
+ /**
608
+ * Human-readable name for this service.
609
+ */
610
+ title: string;
611
+ /**
612
+ * The service provider id.
613
+ */
614
+ provider: string;
615
+ /**
616
+ * A namespace to use for the imported types tied to this service.
617
+ */
618
+ namespace?: string;
619
+ serviceType: ServiceTypeV3_2_0;
620
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'none' | 'unknown';
621
+ authentication?: ServiceAuthenticationV3_2_0;
622
+ webhookId?: string;
623
+ /**
624
+ * Configuration options passed to and handled by the provider.
625
+ */
626
+ options?: {
627
+ /**
628
+ * This interface was referenced by `undefined`'s JSON-Schema definition
629
+ * via the `patternProperty` "[a-zA-Z][a-zA-Z0-9]*".
630
+ */
631
+ [k: string]: string;
632
+ };
633
+ }
634
+ //# sourceMappingURL=v3.2.0.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v3.2.0.d.ts","sourceRoot":"","sources":["../../../src/project-schema/v3.2.0.ts"],"names":[],"mappings":"AACA;;;;GAIG;AAEH,oBAAY,UAAU,GAAG,MAAM,GAAG,yBAAyB,CAAC;AAC5D,oBAAY,yBAAyB,GACjC,iBAAiB,GACjB,iBAAiB,GACjB,eAAe,GACf,qBAAqB,GACrB,kBAAkB,GAClB,iBAAiB,CAAC;AACtB,oBAAY,kBAAkB,GAAG,mBAAmB,GAAG;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE;QACV,CAAC,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC;KAClC,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB,CAAC;AACF;;;GAGG;AACH,oBAAY,kBAAkB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AACnD;;;GAGG;AACH,oBAAY,cAAc,GAAG,mBAAmB,GAAG,qBAAqB,CAAC;AACzE;;;GAGG;AACH,oBAAY,qBAAqB,GAAG,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;AACrE;;;GAGG;AACH,oBAAY,iBAAiB,GAAG,mBAAmB,GAAG;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,yBAAyB,CAAC;IACjC,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB,CAAC;AACF;;;GAGG;AACH,oBAAY,iB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