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