@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,970 @@
1
+ {
2
+ "$schema": "http://takeshape.io/schemas/project-schema#",
3
+ "version": 1,
4
+ "author": "<userId>",
5
+ "apiVersion": "2",
6
+ "projectId": "project-id",
7
+ "defaultLocale": "en-us",
8
+ "locales": ["en-us"],
9
+ "workflows": {},
10
+ "queries": {
11
+ "getBeer": {
12
+ "shape": "Beer",
13
+ "resolver": {
14
+ "name": "takeshape:get",
15
+ "service": "takeshape:local",
16
+ "options": {
17
+ "model": "Beer"
18
+ }
19
+ },
20
+ "description": "Get a Beer by ID",
21
+ "args": "TSGetArgs<Beer>"
22
+ },
23
+ "getBeerList": {
24
+ "shape": "PaginatedList<Beer>",
25
+ "resolver": {
26
+ "name": "takeshape:list",
27
+ "service": "takeshape:local",
28
+ "options": {
29
+ "model": "Beer"
30
+ }
31
+ },
32
+ "description": "Returns a list Beer in natural order.",
33
+ "args": "TSListArgs<Beer>"
34
+ },
35
+ "getPost": {
36
+ "shape": "Post",
37
+ "resolver": {
38
+ "name": "takeshape:get",
39
+ "service": "takeshape:local",
40
+ "options": {
41
+ "model": "Post"
42
+ }
43
+ },
44
+ "description": "Get a Post by ID",
45
+ "args": "TSGetArgs<Post>"
46
+ },
47
+ "getPostList": {
48
+ "shape": "PaginatedList<Post>",
49
+ "resolver": {
50
+ "name": "takeshape:list",
51
+ "service": "takeshape:local",
52
+ "options": {
53
+ "model": "Post"
54
+ }
55
+ },
56
+ "description": "Returns a list Post in natural order.",
57
+ "args": "TSListArgs<Post>"
58
+ },
59
+ "getHomepage": {
60
+ "shape": "Homepage",
61
+ "resolver": {
62
+ "name": "takeshape:get",
63
+ "service": "takeshape:local",
64
+ "options": {
65
+ "model": "Homepage"
66
+ }
67
+ },
68
+ "description": "Get a Homepage by ID",
69
+ "args": "TSGetSingletonArgs<Homepage>"
70
+ },
71
+ "getAsset": {
72
+ "shape": "Asset",
73
+ "resolver": {
74
+ "name": "takeshape:get",
75
+ "service": "takeshape:local",
76
+ "options": {
77
+ "model": "Asset"
78
+ }
79
+ },
80
+ "description": "Get a Asset by ID",
81
+ "args": "TSGetArgs<Asset>"
82
+ },
83
+ "getAssetList": {
84
+ "shape": "PaginatedList<Asset>",
85
+ "resolver": {
86
+ "name": "takeshape:list",
87
+ "service": "takeshape:local",
88
+ "options": {
89
+ "model": "Asset"
90
+ }
91
+ },
92
+ "description": "Returns a list Asset in natural order.",
93
+ "args": "TSListArgs<Asset>"
94
+ },
95
+ "getTsStaticSite": {
96
+ "shape": "TsStaticSite",
97
+ "resolver": {
98
+ "name": "takeshape:get",
99
+ "service": "takeshape:local",
100
+ "options": {
101
+ "model": "TsStaticSite"
102
+ }
103
+ },
104
+ "description": "Get a TsStaticSite by ID",
105
+ "args": "TSGetArgs<TsStaticSite>"
106
+ },
107
+ "getTsStaticSiteList": {
108
+ "shape": "PaginatedList<TsStaticSite>",
109
+ "resolver": {
110
+ "name": "takeshape:list",
111
+ "service": "takeshape:local",
112
+ "options": {
113
+ "model": "TsStaticSite"
114
+ }
115
+ },
116
+ "description": "Returns a list TsStaticSite in natural order.",
117
+ "args": "TSListArgs<TsStaticSite>"
118
+ }
119
+ },
120
+ "mutations": {
121
+ "updateBeer": {
122
+ "shape": "UpdateResult<Beer>",
123
+ "resolver": {
124
+ "name": "takeshape:update",
125
+ "service": "takeshape:local",
126
+ "options": {
127
+ "model": "Beer"
128
+ }
129
+ },
130
+ "description": "Update Beer",
131
+ "args": "UpdateArgs<Beer>"
132
+ },
133
+ "createBeer": {
134
+ "shape": "CreateResult<Beer>",
135
+ "resolver": {
136
+ "name": "takeshape:create",
137
+ "service": "takeshape:local",
138
+ "options": {
139
+ "model": "Beer"
140
+ }
141
+ },
142
+ "description": "Create Beer",
143
+ "args": "CreateArgs<Beer>"
144
+ },
145
+ "duplicateBeer": {
146
+ "shape": "DuplicateResult<Beer>",
147
+ "resolver": {
148
+ "name": "takeshape:duplicate",
149
+ "service": "takeshape:local",
150
+ "options": {
151
+ "model": "Beer"
152
+ }
153
+ },
154
+ "description": "Duplicate Beer",
155
+ "args": "DuplicateArgs<Beer>"
156
+ },
157
+ "deleteBeer": {
158
+ "shape": "DeleteResult<Beer>",
159
+ "resolver": {
160
+ "name": "takeshape:delete",
161
+ "service": "takeshape:local",
162
+ "options": {
163
+ "model": "Beer"
164
+ }
165
+ },
166
+ "description": "Delete Beer",
167
+ "args": "DeleteArgs<Beer>"
168
+ },
169
+ "updatePost": {
170
+ "shape": "UpdateResult<Post>",
171
+ "resolver": {
172
+ "name": "takeshape:update",
173
+ "service": "takeshape:local",
174
+ "options": {
175
+ "model": "Post"
176
+ }
177
+ },
178
+ "description": "Update Post",
179
+ "args": "UpdateArgs<Post>"
180
+ },
181
+ "createPost": {
182
+ "shape": "CreateResult<Post>",
183
+ "resolver": {
184
+ "name": "takeshape:create",
185
+ "service": "takeshape:local",
186
+ "options": {
187
+ "model": "Post"
188
+ }
189
+ },
190
+ "description": "Create Post",
191
+ "args": "CreateArgs<Post>"
192
+ },
193
+ "duplicatePost": {
194
+ "shape": "DuplicateResult<Post>",
195
+ "resolver": {
196
+ "name": "takeshape:duplicate",
197
+ "service": "takeshape:local",
198
+ "options": {
199
+ "model": "Post"
200
+ }
201
+ },
202
+ "description": "Duplicate Post",
203
+ "args": "DuplicateArgs<Post>"
204
+ },
205
+ "deletePost": {
206
+ "shape": "DeleteResult<Post>",
207
+ "resolver": {
208
+ "name": "takeshape:delete",
209
+ "service": "takeshape:local",
210
+ "options": {
211
+ "model": "Post"
212
+ }
213
+ },
214
+ "description": "Delete Post",
215
+ "args": "DeleteArgs<Post>"
216
+ },
217
+ "updateHomepage": {
218
+ "shape": "UpdateResult<Homepage>",
219
+ "resolver": {
220
+ "name": "takeshape:update",
221
+ "service": "takeshape:local",
222
+ "options": {
223
+ "model": "Homepage"
224
+ }
225
+ },
226
+ "description": "Update Homepage",
227
+ "args": "UpdateArgs<Homepage>"
228
+ },
229
+ "updateAsset": {
230
+ "shape": "UpdateResult<Asset>",
231
+ "resolver": {
232
+ "name": "takeshape:update",
233
+ "service": "takeshape:local",
234
+ "options": {
235
+ "model": "Asset"
236
+ }
237
+ },
238
+ "description": "Update Asset",
239
+ "args": "UpdateArgs<Asset>"
240
+ },
241
+ "createAsset": {
242
+ "shape": "CreateResult<Asset>",
243
+ "resolver": {
244
+ "name": "takeshape:create",
245
+ "service": "takeshape:local",
246
+ "options": {
247
+ "model": "Asset"
248
+ }
249
+ },
250
+ "description": "Create Asset",
251
+ "args": "CreateArgs<Asset>"
252
+ },
253
+ "duplicateAsset": {
254
+ "shape": "DuplicateResult<Asset>",
255
+ "resolver": {
256
+ "name": "takeshape:duplicate",
257
+ "service": "takeshape:local",
258
+ "options": {
259
+ "model": "Asset"
260
+ }
261
+ },
262
+ "description": "Duplicate Asset",
263
+ "args": "DuplicateArgs<Asset>"
264
+ },
265
+ "deleteAsset": {
266
+ "shape": "DeleteResult<Asset>",
267
+ "resolver": {
268
+ "name": "takeshape:delete",
269
+ "service": "takeshape:local",
270
+ "options": {
271
+ "model": "Asset"
272
+ }
273
+ },
274
+ "description": "Delete Asset",
275
+ "args": "DeleteArgs<Asset>"
276
+ },
277
+ "updateTsStaticSite": {
278
+ "shape": "UpdateResult<TsStaticSite>",
279
+ "resolver": {
280
+ "name": "takeshape:update",
281
+ "service": "takeshape:local",
282
+ "options": {
283
+ "model": "TsStaticSite"
284
+ }
285
+ },
286
+ "description": "Update TsStaticSite",
287
+ "args": "UpdateArgs<TsStaticSite>"
288
+ },
289
+ "createTsStaticSite": {
290
+ "shape": "CreateResult<TsStaticSite>",
291
+ "resolver": {
292
+ "name": "takeshape:create",
293
+ "service": "takeshape:local",
294
+ "options": {
295
+ "model": "TsStaticSite"
296
+ }
297
+ },
298
+ "description": "Create TsStaticSite",
299
+ "args": "CreateArgs<TsStaticSite>"
300
+ },
301
+ "duplicateTsStaticSite": {
302
+ "shape": "DuplicateResult<TsStaticSite>",
303
+ "resolver": {
304
+ "name": "takeshape:duplicate",
305
+ "service": "takeshape:local",
306
+ "options": {
307
+ "model": "TsStaticSite"
308
+ }
309
+ },
310
+ "description": "Duplicate TsStaticSite",
311
+ "args": "DuplicateArgs<TsStaticSite>"
312
+ },
313
+ "deleteTsStaticSite": {
314
+ "shape": "DeleteResult<TsStaticSite>",
315
+ "resolver": {
316
+ "name": "takeshape:delete",
317
+ "service": "takeshape:local",
318
+ "options": {
319
+ "model": "TsStaticSite"
320
+ }
321
+ },
322
+ "description": "Delete TsStaticSite",
323
+ "args": "DeleteArgs<TsStaticSite>"
324
+ }
325
+ },
326
+ "schemaVersion": "3.2.0",
327
+ "created": "2016-06-21T15:16:19.051Z",
328
+ "updated": "2016-06-21T15:16:19.051Z",
329
+ "shapes": {
330
+ "Beer": {
331
+ "id": "ry9SoTEGl",
332
+ "name": "Beer",
333
+ "title": "Beer",
334
+ "model": {
335
+ "type": "multiple"
336
+ },
337
+ "schema": {
338
+ "type": "object",
339
+ "properties": {
340
+ "_enabled": {
341
+ "type": "boolean",
342
+ "title": "Enabled"
343
+ },
344
+ "name": {
345
+ "type": "string",
346
+ "title": "Name",
347
+ "description": "Very impressive very important",
348
+ "minLength": 1,
349
+ "@mapping": "takeshape:local:Beer.rk-Vsa4Gl"
350
+ },
351
+ "about": {
352
+ "type": "object",
353
+ "title": "About",
354
+ "@mapping": "takeshape:local:Beer.S1p2CYznZ",
355
+ "@tag": "draftjs"
356
+ },
357
+ "_updatedAt": {
358
+ "type": "string",
359
+ "title": "Updated Date",
360
+ "format": "date-time"
361
+ },
362
+ "_contentTypeId": {
363
+ "type": "string",
364
+ "title": "Content Type Id"
365
+ },
366
+ "dropdown": {
367
+ "type": "string",
368
+ "title": "Dropdown",
369
+ "oneOf": [
370
+ {
371
+ "title": "Option 1",
372
+ "enum": ["option1"]
373
+ },
374
+ {
375
+ "title": "Option 2",
376
+ "enum": ["option2"]
377
+ }
378
+ ],
379
+ "@mapping": "takeshape:local:Beer.SylJmaIVz"
380
+ },
381
+ "_enabledAt": {
382
+ "type": "string",
383
+ "title": "Enabled Date",
384
+ "format": "date-time"
385
+ },
386
+ "similarBeers": {
387
+ "title": "Similar Beers",
388
+ "@mapping": "takeshape:local:Beer.ry5xpLhoZ",
389
+ "type": "array",
390
+ "items": {
391
+ "$ref": "#/shapes/TSRelationship/schema"
392
+ },
393
+ "@relationship": {
394
+ "shapeIds": ["ry9SoTEGl"],
395
+ "type": "multiple"
396
+ }
397
+ },
398
+ "_version": {
399
+ "type": "integer",
400
+ "title": "Version"
401
+ },
402
+ "_id": {
403
+ "type": "string",
404
+ "title": "Id"
405
+ },
406
+ "image": {
407
+ "title": "Image",
408
+ "description": "An image",
409
+ "@mapping": "takeshape:local:Beer.S15VspNMl",
410
+ "$ref": "#/shapes/TSRelationship/schema",
411
+ "@relationship": {
412
+ "shapeIds": ["ASSET"],
413
+ "type": "single"
414
+ }
415
+ },
416
+ "_createdAt": {
417
+ "type": "string",
418
+ "title": "Created Date",
419
+ "format": "date-time"
420
+ },
421
+ "publishDate": {
422
+ "type": "string",
423
+ "title": "Publish Date",
424
+ "format": "date-time",
425
+ "@mapping": "takeshape:local:Beer.Hy8mZOdZf"
426
+ },
427
+ "_contentTypeName": {
428
+ "type": "string",
429
+ "title": "Content Type Name"
430
+ }
431
+ },
432
+ "required": ["name", "image"]
433
+ }
434
+ },
435
+ "Post": {
436
+ "id": "r1wsT6Efx",
437
+ "name": "Post",
438
+ "title": "Post",
439
+ "model": {
440
+ "type": "multiple"
441
+ },
442
+ "schema": {
443
+ "type": "object",
444
+ "properties": {
445
+ "body": {
446
+ "type": "array",
447
+ "title": "Body",
448
+ "description": "A Repeater",
449
+ "items": {
450
+ "$ref": "#/shapes/PostBody/schema"
451
+ },
452
+ "@mapping": "takeshape:local:Post.BkVCpTNzg"
453
+ },
454
+ "_enabled": {
455
+ "type": "boolean",
456
+ "title": "Enabled"
457
+ },
458
+ "_updatedAt": {
459
+ "type": "string",
460
+ "title": "Updated Date",
461
+ "format": "date-time"
462
+ },
463
+ "_contentTypeId": {
464
+ "type": "string",
465
+ "title": "Content Type Id"
466
+ },
467
+ "dropdown": {
468
+ "type": "string",
469
+ "title": "Dropdown",
470
+ "oneOf": [
471
+ {
472
+ "title": "Option 1",
473
+ "enum": ["option1"]
474
+ },
475
+ {
476
+ "title": "Option 2",
477
+ "enum": ["option2"]
478
+ },
479
+ {
480
+ "title": "ooo",
481
+ "enum": ["alowo"]
482
+ }
483
+ ],
484
+ "@mapping": "takeshape:local:Post.B1MWaFTjl"
485
+ },
486
+ "_enabledAt": {
487
+ "type": "string",
488
+ "title": "Enabled Date",
489
+ "format": "date-time"
490
+ },
491
+ "title": {
492
+ "type": "string",
493
+ "title": "Title",
494
+ "minLength": 0,
495
+ "pattern": "^[\\S\\s]*?$",
496
+ "@mapping": "takeshape:local:Post.BJ-jTTNMg"
497
+ },
498
+ "content": {
499
+ "type": "object",
500
+ "title": "Content",
501
+ "@mapping": "takeshape:local:Post.rkFtL3Yil",
502
+ "@tag": "draftjs"
503
+ },
504
+ "_version": {
505
+ "type": "integer",
506
+ "title": "Version"
507
+ },
508
+ "_id": {
509
+ "type": "string",
510
+ "title": "Id"
511
+ },
512
+ "relatedBeer": {
513
+ "title": "Related Beer",
514
+ "@mapping": "takeshape:local:Post.B1fAr2Yjx",
515
+ "type": "array",
516
+ "items": {
517
+ "$ref": "#/shapes/TSRelationship/schema"
518
+ },
519
+ "@relationship": {
520
+ "shapeIds": ["ry9SoTEGl"],
521
+ "type": "multiple",
522
+ "relatedName": "relatedPosts"
523
+ }
524
+ },
525
+ "_createdAt": {
526
+ "type": "string",
527
+ "title": "Created Date",
528
+ "format": "date-time"
529
+ },
530
+ "_contentTypeName": {
531
+ "type": "string",
532
+ "title": "Content Type Name"
533
+ }
534
+ }
535
+ }
536
+ },
537
+ "PostBody": {
538
+ "id": "BkVCpTNzg",
539
+ "name": "PostBody",
540
+ "title": "Post Body",
541
+ "schema": {
542
+ "type": "object",
543
+ "properties": {
544
+ "image": {
545
+ "title": "Image",
546
+ "description": "An image",
547
+ "@mapping": "takeshape:local:PostBody.rJg1ATEMg",
548
+ "$ref": "#/shapes/TSRelationship/schema",
549
+ "@relationship": {
550
+ "shapeIds": ["ASSET"],
551
+ "type": "single"
552
+ }
553
+ },
554
+ "text": {
555
+ "type": "string",
556
+ "title": "Text",
557
+ "description": "A Markdown text editor.",
558
+ "minLength": 0,
559
+ "@mapping": "takeshape:local:PostBody.BJjAT6VMg"
560
+ }
561
+ }
562
+ }
563
+ },
564
+ "Homepage": {
565
+ "id": "Hyb-2VRYl",
566
+ "name": "Homepage",
567
+ "title": "Homepage",
568
+ "model": {
569
+ "type": "single"
570
+ },
571
+ "schema": {
572
+ "type": "object",
573
+ "properties": {
574
+ "_enabled": {
575
+ "type": "boolean",
576
+ "title": "Enabled"
577
+ },
578
+ "heading": {
579
+ "type": "string",
580
+ "title": "Heading",
581
+ "minLength": 0,
582
+ "@mapping": "takeshape:local:Homepage.H1nl2NRFe"
583
+ },
584
+ "_updatedAt": {
585
+ "type": "string",
586
+ "title": "Updated Date",
587
+ "format": "date-time"
588
+ },
589
+ "_contentTypeId": {
590
+ "type": "string",
591
+ "title": "Content Type Id"
592
+ },
593
+ "_enabledAt": {
594
+ "type": "string",
595
+ "title": "Enabled Date",
596
+ "format": "date-time"
597
+ },
598
+ "relationship": {
599
+ "title": "Relationship",
600
+ "@mapping": "takeshape:local:Homepage.HkiM6FO3x",
601
+ "type": "array",
602
+ "items": {
603
+ "$ref": "#/shapes/TSRelationship/schema"
604
+ },
605
+ "@relationship": {
606
+ "shapeIds": ["ry9SoTEGl", "r1wsT6Efx"],
607
+ "type": "multiple"
608
+ }
609
+ },
610
+ "_version": {
611
+ "type": "integer",
612
+ "title": "Version"
613
+ },
614
+ "_id": {
615
+ "type": "string",
616
+ "title": "Id"
617
+ },
618
+ "_createdAt": {
619
+ "type": "string",
620
+ "title": "Created Date",
621
+ "format": "date-time"
622
+ },
623
+ "_contentTypeName": {
624
+ "type": "string",
625
+ "title": "Content Type Name"
626
+ }
627
+ }
628
+ }
629
+ },
630
+ "Asset": {
631
+ "id": "ASSET",
632
+ "name": "Asset",
633
+ "title": "Asset",
634
+ "model": {
635
+ "type": "multiple"
636
+ },
637
+ "schema": {
638
+ "type": "object",
639
+ "properties": {
640
+ "_enabled": {
641
+ "type": "boolean",
642
+ "title": "Enabled"
643
+ },
644
+ "caption": {
645
+ "type": "object",
646
+ "title": "Caption",
647
+ "@mapping": "takeshape:local:Asset.SyWVsd98x",
648
+ "@tag": "draftjs"
649
+ },
650
+ "filename": {
651
+ "type": "string",
652
+ "title": "Filename",
653
+ "@mapping": "takeshape:local:Asset.H1oYQOM9"
654
+ },
655
+ "mimeType": {
656
+ "type": "string",
657
+ "title": "MIME type",
658
+ "@mapping": "takeshape:local:Asset.SyCYX_Gq"
659
+ },
660
+ "_updatedAt": {
661
+ "type": "string",
662
+ "title": "Updated Date",
663
+ "format": "date-time"
664
+ },
665
+ "_contentTypeId": {
666
+ "type": "string",
667
+ "title": "Content Type Id"
668
+ },
669
+ "uploadStatus": {
670
+ "type": "string",
671
+ "title": "Upload status",
672
+ "@mapping": "takeshape:local:Asset.ByeAYXdG9"
673
+ },
674
+ "_enabledAt": {
675
+ "type": "string",
676
+ "title": "Enabled Date",
677
+ "format": "date-time"
678
+ },
679
+ "title": {
680
+ "type": "string",
681
+ "title": "Title",
682
+ "@mapping": "takeshape:local:Asset.By5tQOMc"
683
+ },
684
+ "credit": {
685
+ "type": "object",
686
+ "title": "Credit",
687
+ "@mapping": "takeshape:local:Asset.Skn_i_5Ll",
688
+ "@tag": "draftjs"
689
+ },
690
+ "_version": {
691
+ "type": "integer",
692
+ "title": "Version"
693
+ },
694
+ "_id": {
695
+ "type": "string",
696
+ "title": "Id"
697
+ },
698
+ "_createdAt": {
699
+ "type": "string",
700
+ "title": "Created Date",
701
+ "format": "date-time"
702
+ },
703
+ "description": {
704
+ "type": "string",
705
+ "title": "Description",
706
+ "@mapping": "takeshape:local:Asset.B1Zsra3fx"
707
+ },
708
+ "path": {
709
+ "type": "string",
710
+ "title": "s3 key",
711
+ "@mapping": "takeshape:local:Asset.Hk6FQuz5"
712
+ },
713
+ "_contentTypeName": {
714
+ "type": "string",
715
+ "title": "Content Type Name"
716
+ }
717
+ },
718
+ "required": ["filename", "path"]
719
+ }
720
+ },
721
+ "TsStaticSite": {
722
+ "id": "SITE",
723
+ "name": "TsStaticSite",
724
+ "title": "Static Site",
725
+ "model": {
726
+ "type": "multiple"
727
+ },
728
+ "schema": {
729
+ "type": "object",
730
+ "properties": {
731
+ "_enabled": {
732
+ "type": "boolean",
733
+ "title": "Enabled"
734
+ },
735
+ "environmentVariables": {
736
+ "type": "array",
737
+ "title": "Environment Variables",
738
+ "items": {
739
+ "$ref": "#/shapes/TsStaticSiteEnvironmentVariables/schema"
740
+ },
741
+ "@mapping": "takeshape:local:TsStaticSite.9fj4UiNxY"
742
+ },
743
+ "idKey": {
744
+ "type": "string",
745
+ "title": "Id Key",
746
+ "minLength": 1,
747
+ "@mapping": "takeshape:local:TsStaticSite.SyRhi8_me"
748
+ },
749
+ "destination": {
750
+ "type": "string",
751
+ "title": "Destination",
752
+ "@mapping": "takeshape:local:TsStaticSite.Hk6TsIdXl"
753
+ },
754
+ "_updatedAt": {
755
+ "type": "string",
756
+ "title": "Updated Date",
757
+ "format": "date-time"
758
+ },
759
+ "secretKey": {
760
+ "type": "string",
761
+ "title": "Secret Key",
762
+ "@sensitive": true,
763
+ "minLength": 1,
764
+ "@mapping": "takeshape:local:TsStaticSite.BkIajLdXl"
765
+ },
766
+ "_contentTypeId": {
767
+ "type": "string",
768
+ "title": "Content Type Id"
769
+ },
770
+ "provider": {
771
+ "type": "string",
772
+ "default": "s3",
773
+ "title": "Provider",
774
+ "oneOf": [
775
+ {
776
+ "enum": ["s3"],
777
+ "title": "S3"
778
+ },
779
+ {
780
+ "enum": ["gcs"],
781
+ "title": "Google Cloud Storage"
782
+ },
783
+ {
784
+ "enum": ["ftp"],
785
+ "title": "FTP Client"
786
+ }
787
+ ],
788
+ "@mapping": "takeshape:local:TsStaticSite.SkwbT2hqe"
789
+ },
790
+ "_enabledAt": {
791
+ "type": "string",
792
+ "title": "Enabled Date",
793
+ "format": "date-time"
794
+ },
795
+ "title": {
796
+ "type": "string",
797
+ "title": "Title",
798
+ "@mapping": "takeshape:local:TsStaticSite.Ski9jLuXg"
799
+ },
800
+ "_version": {
801
+ "type": "integer",
802
+ "title": "Version"
803
+ },
804
+ "_id": {
805
+ "type": "string",
806
+ "title": "Id"
807
+ },
808
+ "_createdAt": {
809
+ "type": "string",
810
+ "title": "Created Date",
811
+ "format": "date-time"
812
+ },
813
+ "_contentTypeName": {
814
+ "type": "string",
815
+ "title": "Content Type Name"
816
+ }
817
+ },
818
+ "required": ["title", "provider", "destination", "idKey", "secretKey"]
819
+ }
820
+ },
821
+ "TsStaticSiteEnvironmentVariables": {
822
+ "id": "9fj4UiNxY",
823
+ "name": "TsStaticSiteEnvironmentVariables",
824
+ "title": "Static Site EnvironmentVariables",
825
+ "schema": {
826
+ "type": "object",
827
+ "properties": {
828
+ "name": {
829
+ "type": "string",
830
+ "title": "Name",
831
+ "@mapping": "takeshape:local:TsStaticSiteEnvironmentVariables.J8sbHgfdI"
832
+ },
833
+ "value": {
834
+ "type": "string",
835
+ "title": "Value",
836
+ "@mapping": "takeshape:local:TsStaticSiteEnvironmentVariables.ndhh88DvG"
837
+ }
838
+ }
839
+ }
840
+ }
841
+ },
842
+ "forms": {
843
+ "Beer": {
844
+ "default": {
845
+ "properties": {
846
+ "name": {
847
+ "widget": "singleLineText"
848
+ },
849
+ "publishDate": {
850
+ "widget": "datetime"
851
+ },
852
+ "about": {
853
+ "widget": "wysiwygText"
854
+ },
855
+ "image": {
856
+ "widget": "image"
857
+ },
858
+ "similarBeers": {
859
+ "widget": "relationship"
860
+ },
861
+ "dropdown": {
862
+ "widget": "dropdown"
863
+ }
864
+ },
865
+ "order": ["name", "image", "publishDate", "about", "similarBeers", "dropdown"]
866
+ }
867
+ },
868
+ "Post": {
869
+ "default": {
870
+ "properties": {
871
+ "relatedBeer": {
872
+ "widget": "relationship"
873
+ },
874
+ "body": {
875
+ "properties": {
876
+ "image": {
877
+ "widget": "image"
878
+ },
879
+ "text": {
880
+ "widget": "markdownText"
881
+ }
882
+ },
883
+ "widget": "repeater",
884
+ "order": ["image", "text"]
885
+ },
886
+ "title": {
887
+ "widget": "singleLineText"
888
+ },
889
+ "content": {
890
+ "widget": "wysiwygText"
891
+ },
892
+ "dropdown": {
893
+ "widget": "dropdown"
894
+ }
895
+ },
896
+ "order": ["title", "content", "dropdown", "relatedBeer", "body"]
897
+ }
898
+ },
899
+ "Homepage": {
900
+ "default": {
901
+ "properties": {
902
+ "relationship": {
903
+ "widget": "relationship"
904
+ },
905
+ "heading": {
906
+ "widget": "singleLineText"
907
+ }
908
+ },
909
+ "order": ["heading", "relationship"]
910
+ }
911
+ },
912
+ "Asset": {
913
+ "default": {
914
+ "order": ["title", "description", "caption", "credit"],
915
+ "properties": {
916
+ "title": {
917
+ "widget": "singleLineText"
918
+ },
919
+ "description": {
920
+ "widget": "paragraphText"
921
+ },
922
+ "caption": {
923
+ "widget": "wysiwygSingleLineText"
924
+ },
925
+ "credit": {
926
+ "widget": "wysiwygSingleLineText"
927
+ }
928
+ }
929
+ }
930
+ },
931
+ "TsStaticSite": {
932
+ "default": {
933
+ "order": ["title", "provider", "destination", "idKey", "secretKey", "environmentVariables"],
934
+ "properties": {
935
+ "title": {
936
+ "widget": "singleLineText"
937
+ },
938
+ "provider": {
939
+ "widget": "dropdown"
940
+ },
941
+ "destination": {
942
+ "widget": "singleLineText",
943
+ "instructions": "Deployment Bucket or FTP Host"
944
+ },
945
+ "idKey": {
946
+ "widget": "singleLineText",
947
+ "instructions": "AWS Access Key ID or Google Cloud Storage Client Email or FTP Username"
948
+ },
949
+ "secretKey": {
950
+ "widget": "sensitiveField",
951
+ "instructions": "AWS Secret Access Key or Google Cloud Storage Private Key or FTP Password",
952
+ "multiline": true
953
+ },
954
+ "environmentVariables": {
955
+ "widget": "repeater",
956
+ "order": ["name", "value"],
957
+ "properties": {
958
+ "name": {
959
+ "widget": "singleLineText"
960
+ },
961
+ "value": {
962
+ "widget": "singleLineText"
963
+ }
964
+ }
965
+ }
966
+ }
967
+ }
968
+ }
969
+ }
970
+ }