@takeshape/schema 8.17.1 → 8.21.1

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 (117) hide show
  1. package/es/enum.js +1 -1
  2. package/es/get-is-leaf.js +5 -5
  3. package/es/layers/type-utils.js +2 -2
  4. package/es/migration.js +59 -1
  5. package/es/project-schema/index.js +1 -0
  6. package/es/project-schema/v3.10.0.js +1 -0
  7. package/es/refs.js +19 -19
  8. package/es/schema-util.js +11 -7
  9. package/es/schemas/index.js +15 -15
  10. package/es/schemas/index.ts +26 -25
  11. package/es/schemas/project-schema/v3.10.0.json +2091 -0
  12. package/es/schemas/project-schema/v4.0.0.json +8 -6
  13. package/es/schemas/project-schema.json +2 -1
  14. package/es/types/types.js +1 -1
  15. package/es/types/utils.js +20 -19
  16. package/es/util/detect-cycles.js +1 -1
  17. package/es/validate.js +6 -5
  18. package/examples/latest/blog-schema.json +32 -32
  19. package/examples/latest/brewery-schema.json +53 -53
  20. package/examples/latest/complex-project-schema.json +3278 -3278
  21. package/examples/latest/fabric-ecommerce.json +130 -130
  22. package/examples/latest/frank-and-fred-schema.json +15588 -15588
  23. package/examples/latest/massive-schema.json +5836 -5836
  24. package/examples/latest/mill-components-schema.json +876 -876
  25. package/examples/latest/pet-oneof-array.json +77 -77
  26. package/examples/latest/post-schema.json +23 -23
  27. package/examples/latest/pruned-shopify-product-schema.json +19 -19
  28. package/examples/latest/real-world-schema.json +166 -166
  29. package/examples/latest/recursive-repeater-schema.json +14 -14
  30. package/examples/latest/recursive-schema.json +14 -14
  31. package/examples/latest/rick-and-morty-ast.json +1875 -1896
  32. package/examples/latest/rick-and-morty-graphql.json +1093 -1093
  33. package/examples/latest/rick-and-morty-rest.json +20 -20
  34. package/examples/latest/schema-with-repeater-draftjs.json +9 -9
  35. package/examples/latest/shape-books-v3_2_0.json +218 -218
  36. package/examples/latest/shape-books.json +218 -218
  37. package/examples/latest/shopify-lookbook.json +147 -147
  38. package/examples/latest/shopify-store-with-widget.json +10420 -10420
  39. package/examples/latest/stripe-starter-resolved.json +1018 -1018
  40. package/examples/latest/user-schema-no-required.json +19 -19
  41. package/examples/latest/user-schema-with-defaults.json +20 -20
  42. package/examples/source/rick-and-morty-ast.json +0 -21
  43. package/lib/content-schema-transform.d.ts +13 -13
  44. package/lib/content-schema-transform.d.ts.map +1 -1
  45. package/lib/enum.d.ts +2 -2
  46. package/lib/enum.d.ts.map +1 -1
  47. package/lib/enum.js +2 -2
  48. package/lib/get-is-leaf.d.ts +2 -2
  49. package/lib/get-is-leaf.d.ts.map +1 -1
  50. package/lib/get-is-leaf.js +5 -5
  51. package/lib/layers/type-utils.js +1 -1
  52. package/lib/migration.d.ts +6 -5
  53. package/lib/migration.d.ts.map +1 -1
  54. package/lib/migration.js +60 -0
  55. package/lib/project-schema/index.d.ts +3 -1
  56. package/lib/project-schema/index.d.ts.map +1 -1
  57. package/lib/project-schema/index.js +25 -12
  58. package/lib/project-schema/latest.d.ts +260 -238
  59. package/lib/project-schema/latest.d.ts.map +1 -1
  60. package/lib/project-schema/v1.0.0.d.ts +14 -7
  61. package/lib/project-schema/v1.0.0.d.ts.map +1 -1
  62. package/lib/project-schema/v3.0.0.d.ts +24 -25
  63. package/lib/project-schema/v3.0.0.d.ts.map +1 -1
  64. package/lib/project-schema/v3.1.0.d.ts +42 -43
  65. package/lib/project-schema/v3.1.0.d.ts.map +1 -1
  66. package/lib/project-schema/v3.10.0.d.ts +1202 -0
  67. package/lib/project-schema/v3.10.0.d.ts.map +1 -0
  68. package/lib/project-schema/v3.10.0.js +5 -0
  69. package/lib/project-schema/v3.2.0.d.ts +42 -43
  70. package/lib/project-schema/v3.2.0.d.ts.map +1 -1
  71. package/lib/project-schema/v3.3.0.d.ts +42 -43
  72. package/lib/project-schema/v3.3.0.d.ts.map +1 -1
  73. package/lib/project-schema/v3.4.0.d.ts +42 -43
  74. package/lib/project-schema/v3.4.0.d.ts.map +1 -1
  75. package/lib/project-schema/v3.5.0.d.ts +42 -43
  76. package/lib/project-schema/v3.5.0.d.ts.map +1 -1
  77. package/lib/project-schema/v3.5.1.d.ts +42 -43
  78. package/lib/project-schema/v3.5.1.d.ts.map +1 -1
  79. package/lib/project-schema/v3.6.0.d.ts +42 -43
  80. package/lib/project-schema/v3.6.0.d.ts.map +1 -1
  81. package/lib/project-schema/v3.7.0.d.ts +42 -43
  82. package/lib/project-schema/v3.7.0.d.ts.map +1 -1
  83. package/lib/project-schema/v3.8.0.d.ts +42 -43
  84. package/lib/project-schema/v3.8.0.d.ts.map +1 -1
  85. package/lib/project-schema/v3.9.0.d.ts +42 -43
  86. package/lib/project-schema/v3.9.0.d.ts.map +1 -1
  87. package/lib/project-schema/v4.0.0.d.ts +54 -52
  88. package/lib/project-schema/v4.0.0.d.ts.map +1 -1
  89. package/lib/refs.d.ts +8 -8
  90. package/lib/refs.d.ts.map +1 -1
  91. package/lib/refs.js +19 -19
  92. package/lib/schema-util.d.ts +23 -23
  93. package/lib/schema-util.d.ts.map +1 -1
  94. package/lib/schema-util.js +11 -7
  95. package/lib/schemas/index.d.ts +3421 -3420
  96. package/lib/schemas/index.d.ts.map +1 -1
  97. package/lib/schemas/index.js +26 -30
  98. package/lib/schemas/index.ts +26 -25
  99. package/lib/schemas/project-schema/v3.10.0.json +2091 -0
  100. package/lib/schemas/project-schema/v4.0.0.json +8 -6
  101. package/lib/schemas/project-schema.json +2 -1
  102. package/lib/types/types.d.ts +8 -7
  103. package/lib/types/types.d.ts.map +1 -1
  104. package/lib/types/types.js +1 -1
  105. package/lib/types/utils.d.ts +9 -8
  106. package/lib/types/utils.d.ts.map +1 -1
  107. package/lib/types/utils.js +25 -23
  108. package/lib/unions.d.ts +8 -8
  109. package/lib/unions.d.ts.map +1 -1
  110. package/lib/util/detect-cycles.d.ts +2 -2
  111. package/lib/util/detect-cycles.d.ts.map +1 -1
  112. package/lib/util/detect-cycles.js +1 -1
  113. package/lib/validate.d.ts.map +1 -1
  114. package/lib/validate.js +5 -4
  115. package/lib/workflows.d.ts +2 -2
  116. package/lib/workflows.d.ts.map +1 -1
  117. package/package.json +5 -5
@@ -28,1285 +28,1217 @@
28
28
  ],
29
29
  "projectId": "2c8c44e7-9cbc-4a35-9dea-f0cb2ced03a4",
30
30
  "version": 1,
31
- "schemaVersion": "3.9.0",
32
- "queries": {
33
- "getAsset": {
34
- "shape": "Asset",
35
- "resolver": {
36
- "name": "takeshape:get",
37
- "service": "takeshape:local",
38
- "options": {},
39
- "shapeName": "Asset"
40
- },
41
- "description": "Get a Asset by ID",
42
- "args": "TSGetArgs<Asset>"
43
- },
44
- "getAssetList": {
45
- "shape": "PaginatedList<Asset>",
46
- "resolver": {
47
- "name": "takeshape:list",
48
- "service": "takeshape:local",
49
- "options": {},
50
- "shapeName": "Asset"
51
- },
52
- "description": "Returns a list Asset in natural order.",
53
- "args": "TSListArgs<Asset>"
54
- },
55
- "getTsStaticSite": {
56
- "shape": "TsStaticSite",
57
- "resolver": {
58
- "name": "takeshape:get",
59
- "service": "takeshape:local",
60
- "options": {},
61
- "shapeName": "TsStaticSite"
62
- },
63
- "description": "Get a TsStaticSite by ID",
64
- "args": "TSGetArgs<TsStaticSite>"
65
- },
66
- "getTsStaticSiteList": {
67
- "shape": "PaginatedList<TsStaticSite>",
68
- "resolver": {
69
- "name": "takeshape:list",
70
- "service": "takeshape:local",
71
- "options": {},
72
- "shapeName": "TsStaticSite"
73
- },
74
- "description": "Returns a list TsStaticSite in natural order.",
75
- "args": "TSListArgs<TsStaticSite>"
76
- },
77
- "getGenre": {
78
- "shape": "Genre",
79
- "resolver": {
80
- "name": "takeshape:get",
81
- "service": "takeshape:local",
82
- "options": {},
83
- "shapeName": "Genre"
84
- },
85
- "description": "Get a Genre by ID",
86
- "args": "TSGetArgs<Genre>"
87
- },
88
- "getGenreList": {
89
- "shape": "PaginatedList<Genre>",
90
- "resolver": {
91
- "name": "takeshape:list",
92
- "service": "takeshape:local",
93
- "options": {},
94
- "shapeName": "Genre"
95
- },
96
- "description": "Returns a list Genre in natural order.",
97
- "args": "TSListArgs<Genre>"
98
- },
99
- "getTag": {
100
- "shape": "Tag",
101
- "resolver": {
102
- "name": "takeshape:get",
103
- "service": "takeshape:local",
104
- "options": {},
105
- "shapeName": "Tag"
106
- },
107
- "description": "Get a Tag by ID",
108
- "args": "TSGetArgs<Tag>"
109
- },
110
- "getTagList": {
111
- "shape": "PaginatedList<Tag>",
112
- "resolver": {
113
- "name": "takeshape:list",
114
- "service": "takeshape:local",
115
- "options": {},
116
- "shapeName": "Tag"
117
- },
118
- "description": "Returns a list Tag in natural order.",
119
- "args": "TSListArgs<Tag>"
120
- },
121
- "getPost": {
122
- "shape": "Post",
123
- "resolver": {
124
- "name": "takeshape:get",
125
- "service": "takeshape:local",
126
- "options": {},
127
- "shapeName": "Post"
128
- },
129
- "description": "Get a Post by ID",
130
- "args": "TSGetArgs<Post>"
131
- },
132
- "getPostList": {
133
- "shape": "PaginatedList<Post>",
134
- "resolver": {
135
- "name": "takeshape:list",
136
- "service": "takeshape:local",
137
- "options": {},
138
- "shapeName": "Post"
139
- },
140
- "description": "Returns a list Post in natural order.",
141
- "args": "TSListArgs<Post>"
142
- },
143
- "getAuthor": {
144
- "shape": "Author",
145
- "resolver": {
146
- "name": "takeshape:get",
147
- "service": "takeshape:local",
148
- "options": {},
149
- "shapeName": "Author"
150
- },
151
- "description": "Get a Author by ID",
152
- "args": "TSGetArgs<Author>"
153
- },
154
- "getAuthorList": {
155
- "shape": "PaginatedList<Author>",
156
- "resolver": {
157
- "name": "takeshape:list",
158
- "service": "takeshape:local",
159
- "options": {},
160
- "shapeName": "Author"
161
- },
162
- "description": "Returns a list Author in natural order.",
163
- "args": "TSListArgs<Author>"
164
- },
165
- "getHomepage": {
166
- "shape": "Homepage",
167
- "resolver": {
168
- "name": "takeshape:get",
169
- "service": "takeshape:local",
170
- "options": {},
171
- "shapeName": "Homepage"
172
- },
173
- "description": "Get a Homepage by ID",
174
- "args": "TSGetSingletonArgs<Homepage>"
175
- },
176
- "getSiteSettings": {
177
- "shape": "SiteSettings",
178
- "resolver": {
179
- "name": "takeshape:get",
180
- "service": "takeshape:local",
181
- "options": {},
182
- "shapeName": "SiteSettings"
183
- },
184
- "description": "Get a SiteSettings by ID",
185
- "args": "TSGetSingletonArgs<SiteSettings>"
186
- },
187
- "getBook": {
188
- "shape": "Book",
189
- "resolver": {
190
- "name": "takeshape:get",
191
- "service": "takeshape:local",
192
- "options": {},
193
- "shapeName": "Book"
194
- },
195
- "description": "Get a Book by ID",
196
- "args": "TSGetArgs<Book>"
197
- },
198
- "getBookList": {
199
- "shape": "PaginatedList<Book>",
200
- "resolver": {
201
- "name": "takeshape:list",
202
- "service": "takeshape:local",
203
- "options": {},
204
- "shapeName": "Book"
205
- },
206
- "description": "Returns a list Book in natural order.",
207
- "args": "TSListArgs<Book>"
208
- },
209
- "Rick_character": {
210
- "resolver": {
211
- "name": "graphql:query",
212
- "service": "rick-and-morty",
213
- "options": {},
214
- "fieldName": "character"
215
- },
216
- "args": {
217
- "type": "object",
31
+ "created": "2017-07-13T19:16:10.801Z",
32
+ "updated": "2021-01-22T23:29:35.102Z",
33
+ "forms": {
34
+ "Asset": {
35
+ "default": {
218
36
  "properties": {
219
- "id": {
220
- "type": "string",
221
- "@tag": "id"
37
+ "path": {
38
+ "widget": "singleLineText",
39
+ "disabled": true
40
+ },
41
+ "filename": {
42
+ "widget": "singleLineText",
43
+ "disabled": true
44
+ },
45
+ "description": {
46
+ "widget": "paragraphText",
47
+ "disabled": true
48
+ },
49
+ "caption": {
50
+ "widget": "wysiwygSingleLineText",
51
+ "disabled": true
52
+ },
53
+ "uploadStatus": {
54
+ "widget": "singleLineText",
55
+ "disabled": true
56
+ },
57
+ "mimeType": {
58
+ "widget": "singleLineText",
59
+ "disabled": true
60
+ },
61
+ "title": {
62
+ "widget": "singleLineText",
63
+ "disabled": true
64
+ },
65
+ "authorTag": {
66
+ "widget": "relationship"
67
+ },
68
+ "credit": {
69
+ "widget": "wysiwygSingleLineText",
70
+ "disabled": true
71
+ },
72
+ "sourceUrl": {
73
+ "widget": "singleLineText",
74
+ "disabled": true
222
75
  }
223
76
  },
224
- "required": [
225
- "id"
77
+ "order": [
78
+ "title",
79
+ "authorTag",
80
+ "description",
81
+ "caption",
82
+ "credit",
83
+ "filename",
84
+ "path",
85
+ "mimeType",
86
+ "uploadStatus",
87
+ "sourceUrl"
226
88
  ]
227
- },
228
- "shape": "Rick_Character"
89
+ }
229
90
  },
230
- "Rick_characters": {
231
- "resolver": {
232
- "name": "graphql:query",
233
- "service": "rick-and-morty",
234
- "options": {},
235
- "fieldName": "characters"
236
- },
237
- "args": {
238
- "type": "object",
91
+ "TsStaticSite": {
92
+ "default": {
93
+ "order": [
94
+ "title",
95
+ "provider",
96
+ "destination",
97
+ "idKey",
98
+ "secretKey",
99
+ "environmentVariables"
100
+ ],
239
101
  "properties": {
240
- "page": {
241
- "type": "integer"
102
+ "title": {
103
+ "widget": "singleLineText",
104
+ "disabled": true
242
105
  },
243
- "filter": {
244
- "$ref": "#/shapes/Rick_FilterCharacter/schema"
106
+ "provider": {
107
+ "widget": "dropdown",
108
+ "disabled": true
109
+ },
110
+ "destination": {
111
+ "widget": "singleLineText",
112
+ "instructions": "Deployment Bucket or FTP Host",
113
+ "disabled": true
114
+ },
115
+ "idKey": {
116
+ "widget": "singleLineText",
117
+ "instructions": "AWS Access Key ID or Google Cloud Storage Client Email or FTP Username",
118
+ "disabled": true
119
+ },
120
+ "secretKey": {
121
+ "widget": "sensitiveField",
122
+ "instructions": "AWS Secret Access Key or Google Cloud Storage Private Key or FTP Password",
123
+ "multiline": true,
124
+ "disabled": true
125
+ },
126
+ "environmentVariables": {
127
+ "widget": "repeater",
128
+ "order": [
129
+ "name",
130
+ "value"
131
+ ],
132
+ "disabled": true,
133
+ "properties": {
134
+ "name": {
135
+ "widget": "singleLineText",
136
+ "disabled": true
137
+ },
138
+ "value": {
139
+ "widget": "singleLineText",
140
+ "disabled": true
141
+ }
142
+ }
245
143
  }
246
144
  }
247
145
  },
248
- "shape": "Rick_Characters"
249
- }
250
- },
251
- "mutations": {
252
- "updateAsset": {
253
- "shape": "UpdateResult<Asset>",
254
- "resolver": {
255
- "name": "takeshape:update",
256
- "service": "takeshape:local",
257
- "options": {},
258
- "shapeName": "Asset"
146
+ "generalHeader": {
147
+ "order": [
148
+ "title",
149
+ "provider",
150
+ "baseUrl"
151
+ ],
152
+ "properties": {
153
+ "title": {
154
+ "widget": "singleLineText",
155
+ "disabled": true
156
+ },
157
+ "provider": {
158
+ "widget": "dropdown",
159
+ "disabled": true
160
+ },
161
+ "baseUrl": {
162
+ "widget": "singleLineText",
163
+ "disabled": true
164
+ }
165
+ }
259
166
  },
260
- "description": "Update Asset",
261
- "args": "UpdateArgs<Asset>"
262
- },
263
- "createAsset": {
264
- "shape": "CreateResult<Asset>",
265
- "resolver": {
266
- "name": "takeshape:create",
267
- "service": "takeshape:local",
268
- "options": {},
269
- "shapeName": "Asset"
167
+ "generalFooter": {
168
+ "order": [
169
+ "environmentVariables",
170
+ "triggers"
171
+ ],
172
+ "properties": {
173
+ "environmentVariables": {
174
+ "widget": "repeater",
175
+ "order": [
176
+ "name",
177
+ "value"
178
+ ],
179
+ "disabled": true,
180
+ "properties": {
181
+ "name": {
182
+ "widget": "singleLineText",
183
+ "disabled": true
184
+ },
185
+ "value": {
186
+ "widget": "singleLineText",
187
+ "disabled": true
188
+ }
189
+ }
190
+ },
191
+ "triggers": {
192
+ "widget": "repeater",
193
+ "order": [
194
+ "contentTypeId",
195
+ "status"
196
+ ],
197
+ "disabled": true,
198
+ "preview": "siteTriggerPreview",
199
+ "properties": {
200
+ "contentTypeId": {
201
+ "widget": "dropdown",
202
+ "disabled": true
203
+ },
204
+ "status": {
205
+ "widget": "dropdown",
206
+ "disabled": true
207
+ }
208
+ }
209
+ }
210
+ }
270
211
  },
271
- "description": "Create Asset",
272
- "args": "CreateArgs<Asset>"
273
- },
274
- "duplicateAsset": {
275
- "shape": "DuplicateResult<Asset>",
276
- "resolver": {
277
- "name": "takeshape:duplicate",
278
- "service": "takeshape:local",
279
- "options": {},
280
- "shapeName": "Asset"
212
+ "s3": {
213
+ "order": [
214
+ "destination",
215
+ "idKey",
216
+ "secretKey",
217
+ "privateAcl"
218
+ ],
219
+ "properties": {
220
+ "destination": {
221
+ "widget": "singleLineText",
222
+ "instructions": "Deployment Bucket Name",
223
+ "disabled": true
224
+ },
225
+ "idKey": {
226
+ "widget": "singleLineText",
227
+ "instructions": "AWS Access Key ID",
228
+ "disabled": true
229
+ },
230
+ "secretKey": {
231
+ "widget": "sensitiveField",
232
+ "instructions": "AWS Secret Access Key",
233
+ "multiline": true,
234
+ "disabled": true
235
+ },
236
+ "privateAcl": {
237
+ "widget": "checkbox",
238
+ "instructions": "Disable public access to deployed files. This is useful when fronting S3 with CloudFront or with \"Block All Public Access\"",
239
+ "disabled": true
240
+ }
241
+ }
281
242
  },
282
- "description": "Duplicate Asset",
283
- "args": "DuplicateArgs<Asset>"
284
- },
285
- "deleteAsset": {
286
- "shape": "DeleteResult<Asset>",
287
- "resolver": {
288
- "name": "takeshape:delete",
289
- "service": "takeshape:local",
290
- "options": {},
291
- "shapeName": "Asset"
243
+ "gcs": {
244
+ "order": [
245
+ "destination",
246
+ "idKey",
247
+ "secretKey",
248
+ "privateAcl"
249
+ ],
250
+ "properties": {
251
+ "destination": {
252
+ "widget": "singleLineText",
253
+ "instructions": "Deployment Bucket Name",
254
+ "disabled": true
255
+ },
256
+ "idKey": {
257
+ "widget": "singleLineText",
258
+ "instructions": "Google Cloud Storage Client Email",
259
+ "disabled": true
260
+ },
261
+ "secretKey": {
262
+ "widget": "sensitiveField",
263
+ "instructions": "Google Cloud Storage Private Key",
264
+ "multiline": true,
265
+ "disabled": true
266
+ },
267
+ "privateAcl": {
268
+ "widget": "checkbox",
269
+ "instructions": "Disable public access to deployed files.",
270
+ "disabled": true
271
+ }
272
+ }
292
273
  },
293
- "description": "Delete Asset",
294
- "args": "DeleteArgs<Asset>"
295
- },
296
- "updateTsStaticSite": {
297
- "shape": "UpdateResult<TsStaticSite>",
298
- "resolver": {
299
- "name": "takeshape:update",
300
- "service": "takeshape:local",
301
- "options": {},
302
- "shapeName": "TsStaticSite"
274
+ "ftp": {
275
+ "order": [
276
+ "destination",
277
+ "idKey",
278
+ "secretKey"
279
+ ],
280
+ "properties": {
281
+ "destination": {
282
+ "widget": "singleLineText",
283
+ "instructions": "FTP Host",
284
+ "disabled": true
285
+ },
286
+ "idKey": {
287
+ "widget": "singleLineText",
288
+ "instructions": "FTP Username",
289
+ "disabled": true
290
+ },
291
+ "secretKey": {
292
+ "widget": "sensitiveField",
293
+ "instructions": "FTP Password",
294
+ "multiline": true,
295
+ "disabled": true
296
+ }
297
+ }
303
298
  },
304
- "description": "Update TsStaticSite",
305
- "args": "UpdateArgs<TsStaticSite>"
299
+ "azure": {
300
+ "order": [
301
+ "destination",
302
+ "secretKey"
303
+ ],
304
+ "properties": {
305
+ "destination": {
306
+ "widget": "singleLineText",
307
+ "instructions": "Storage Account Name",
308
+ "disabled": true
309
+ },
310
+ "secretKey": {
311
+ "widget": "sensitiveField",
312
+ "instructions": "Access key",
313
+ "multiline": true,
314
+ "disabled": true
315
+ }
316
+ }
317
+ },
318
+ "netlify": {
319
+ "order": [
320
+ "destination"
321
+ ],
322
+ "properties": {
323
+ "destination": {
324
+ "widget": "publishTargets",
325
+ "itemTemplate": "siteDropdownItem",
326
+ "instructions": "Choose existing or create a new site.",
327
+ "disabled": true
328
+ }
329
+ }
330
+ },
331
+ "vercel": {
332
+ "order": [
333
+ "destination"
334
+ ],
335
+ "properties": {
336
+ "destination": {
337
+ "widget": "publishTargets",
338
+ "itemTemplate": "siteDropdownItem",
339
+ "instructions": "Choose existing or create a new project.",
340
+ "disabled": true
341
+ }
342
+ }
343
+ }
306
344
  },
307
- "createTsStaticSite": {
308
- "shape": "CreateResult<TsStaticSite>",
345
+ "Genre": {
346
+ "default": {
347
+ "properties": {
348
+ "title": {
349
+ "widget": "singleLineText"
350
+ }
351
+ },
352
+ "order": [
353
+ "title"
354
+ ]
355
+ }
356
+ },
357
+ "Tag": {
358
+ "default": {
359
+ "properties": {
360
+ "name": {
361
+ "widget": "singleLineText"
362
+ }
363
+ },
364
+ "order": [
365
+ "name"
366
+ ]
367
+ }
368
+ },
369
+ "Post": {
370
+ "default": {
371
+ "properties": {
372
+ "body": {
373
+ "widget": "wysiwygText"
374
+ },
375
+ "featureImage": {
376
+ "widget": "image"
377
+ },
378
+ "title": {
379
+ "widget": "singleLineText"
380
+ },
381
+ "author": {
382
+ "widget": "relationship"
383
+ },
384
+ "deck": {
385
+ "widget": "paragraphText"
386
+ },
387
+ "tags": {
388
+ "widget": "relationship"
389
+ }
390
+ },
391
+ "order": [
392
+ "title",
393
+ "deck",
394
+ "tags",
395
+ "author",
396
+ "featureImage",
397
+ "body"
398
+ ]
399
+ }
400
+ },
401
+ "Author": {
402
+ "default": {
403
+ "properties": {
404
+ "name": {
405
+ "widget": "singleLineText"
406
+ },
407
+ "photo": {
408
+ "widget": "image"
409
+ },
410
+ "biography": {
411
+ "widget": "wysiwygText"
412
+ }
413
+ },
414
+ "order": [
415
+ "name",
416
+ "photo",
417
+ "biography"
418
+ ]
419
+ }
420
+ },
421
+ "Homepage": {
422
+ "default": {
423
+ "properties": {
424
+ "title": {
425
+ "widget": "singleLineText"
426
+ },
427
+ "featuredBook": {
428
+ "widget": "relationship"
429
+ },
430
+ "hero": {
431
+ "properties": {
432
+ "image": {
433
+ "widget": "image"
434
+ },
435
+ "featuredPost": {
436
+ "widget": "relationship"
437
+ }
438
+ },
439
+ "widget": "object",
440
+ "order": [
441
+ "image",
442
+ "featuredPost"
443
+ ]
444
+ }
445
+ },
446
+ "order": [
447
+ "title",
448
+ "hero",
449
+ "featuredBook"
450
+ ]
451
+ }
452
+ },
453
+ "SiteSettings": {
454
+ "default": {
455
+ "properties": {
456
+ "siteTitle": {
457
+ "widget": "singleLineText"
458
+ }
459
+ },
460
+ "order": [
461
+ "siteTitle"
462
+ ]
463
+ }
464
+ },
465
+ "Book": {
466
+ "default": {
467
+ "properties": {
468
+ "title": {
469
+ "widget": "singleLineText"
470
+ },
471
+ "rickAndMortyCharacterId": {
472
+ "widget": "singleLineText"
473
+ },
474
+ "genre": {
475
+ "widget": "relationship"
476
+ },
477
+ "publishDate": {
478
+ "widget": "datetime"
479
+ },
480
+ "coverImage": {
481
+ "widget": "image"
482
+ },
483
+ "author": {
484
+ "widget": "relationship"
485
+ },
486
+ "totalPages": {
487
+ "widget": "number"
488
+ },
489
+ "type": {
490
+ "widget": "dropdown"
491
+ },
492
+ "body": {
493
+ "widget": "wysiwygText"
494
+ }
495
+ },
496
+ "order": [
497
+ "title",
498
+ "rickAndMortyCharacterId",
499
+ "genre",
500
+ "publishDate",
501
+ "coverImage",
502
+ "author",
503
+ "totalPages",
504
+ "type",
505
+ "body"
506
+ ]
507
+ }
508
+ }
509
+ },
510
+ "services": {
511
+ "rick-and-morty": {
512
+ "id": "rick-and-morty",
513
+ "title": "Rick And Morty",
514
+ "namespace": "Rick",
515
+ "serviceType": "rest",
516
+ "provider": "generic",
517
+ "authenticationType": "none",
518
+ "options": {
519
+ "endpoint": "https://rickandmortyapi.com/api"
520
+ }
521
+ }
522
+ },
523
+ "dataKey": "secret",
524
+ "queries": {
525
+ "getAsset": {
526
+ "shape": "Asset",
309
527
  "resolver": {
310
- "name": "takeshape:create",
528
+ "name": "takeshape:get",
311
529
  "service": "takeshape:local",
312
530
  "options": {},
313
- "shapeName": "TsStaticSite"
531
+ "shapeName": "Asset"
314
532
  },
315
- "description": "Create TsStaticSite",
316
- "args": "CreateArgs<TsStaticSite>"
533
+ "description": "Get a Asset by ID",
534
+ "args": "TSGetArgs<Asset>"
317
535
  },
318
- "duplicateTsStaticSite": {
319
- "shape": "DuplicateResult<TsStaticSite>",
536
+ "getAssetList": {
537
+ "shape": "PaginatedList<Asset>",
320
538
  "resolver": {
321
- "name": "takeshape:duplicate",
539
+ "name": "takeshape:list",
322
540
  "service": "takeshape:local",
323
541
  "options": {},
324
- "shapeName": "TsStaticSite"
542
+ "shapeName": "Asset"
325
543
  },
326
- "description": "Duplicate TsStaticSite",
327
- "args": "DuplicateArgs<TsStaticSite>"
544
+ "description": "Returns a list Asset in natural order.",
545
+ "args": "TSListArgs<Asset>"
328
546
  },
329
- "deleteTsStaticSite": {
330
- "shape": "DeleteResult<TsStaticSite>",
547
+ "getTsStaticSite": {
548
+ "shape": "TsStaticSite",
331
549
  "resolver": {
332
- "name": "takeshape:delete",
550
+ "name": "takeshape:get",
333
551
  "service": "takeshape:local",
334
552
  "options": {},
335
553
  "shapeName": "TsStaticSite"
336
554
  },
337
- "description": "Delete TsStaticSite",
338
- "args": "DeleteArgs<TsStaticSite>"
555
+ "description": "Get a TsStaticSite by ID",
556
+ "args": "TSGetArgs<TsStaticSite>"
339
557
  },
340
- "updateGenre": {
341
- "shape": "UpdateResult<Genre>",
558
+ "getTsStaticSiteList": {
559
+ "shape": "PaginatedList<TsStaticSite>",
342
560
  "resolver": {
343
- "name": "takeshape:update",
561
+ "name": "takeshape:list",
344
562
  "service": "takeshape:local",
345
563
  "options": {},
346
- "shapeName": "Genre"
564
+ "shapeName": "TsStaticSite"
347
565
  },
348
- "description": "Update Genre",
349
- "args": "UpdateArgs<Genre>"
566
+ "description": "Returns a list TsStaticSite in natural order.",
567
+ "args": "TSListArgs<TsStaticSite>"
350
568
  },
351
- "createGenre": {
352
- "shape": "CreateResult<Genre>",
569
+ "getGenre": {
570
+ "shape": "Genre",
353
571
  "resolver": {
354
- "name": "takeshape:create",
572
+ "name": "takeshape:get",
355
573
  "service": "takeshape:local",
356
574
  "options": {},
357
575
  "shapeName": "Genre"
358
576
  },
359
- "description": "Create Genre",
360
- "args": "CreateArgs<Genre>"
577
+ "description": "Get a Genre by ID",
578
+ "args": "TSGetArgs<Genre>"
361
579
  },
362
- "duplicateGenre": {
363
- "shape": "DuplicateResult<Genre>",
580
+ "getGenreList": {
581
+ "shape": "PaginatedList<Genre>",
364
582
  "resolver": {
365
- "name": "takeshape:duplicate",
583
+ "name": "takeshape:list",
366
584
  "service": "takeshape:local",
367
585
  "options": {},
368
586
  "shapeName": "Genre"
369
587
  },
370
- "description": "Duplicate Genre",
371
- "args": "DuplicateArgs<Genre>"
588
+ "description": "Returns a list Genre in natural order.",
589
+ "args": "TSListArgs<Genre>"
372
590
  },
373
- "deleteGenre": {
374
- "shape": "DeleteResult<Genre>",
591
+ "getTag": {
592
+ "shape": "Tag",
375
593
  "resolver": {
376
- "name": "takeshape:delete",
594
+ "name": "takeshape:get",
377
595
  "service": "takeshape:local",
378
596
  "options": {},
379
- "shapeName": "Genre"
597
+ "shapeName": "Tag"
380
598
  },
381
- "description": "Delete Genre",
382
- "args": "DeleteArgs<Genre>"
599
+ "description": "Get a Tag by ID",
600
+ "args": "TSGetArgs<Tag>"
383
601
  },
384
- "updateTag": {
385
- "shape": "UpdateResult<Tag>",
602
+ "getTagList": {
603
+ "shape": "PaginatedList<Tag>",
386
604
  "resolver": {
387
- "name": "takeshape:update",
605
+ "name": "takeshape:list",
388
606
  "service": "takeshape:local",
389
607
  "options": {},
390
608
  "shapeName": "Tag"
391
609
  },
392
- "description": "Update Tag",
393
- "args": "UpdateArgs<Tag>"
610
+ "description": "Returns a list Tag in natural order.",
611
+ "args": "TSListArgs<Tag>"
394
612
  },
395
- "createTag": {
396
- "shape": "CreateResult<Tag>",
613
+ "getPost": {
614
+ "shape": "Post",
397
615
  "resolver": {
398
- "name": "takeshape:create",
616
+ "name": "takeshape:get",
399
617
  "service": "takeshape:local",
400
618
  "options": {},
401
- "shapeName": "Tag"
619
+ "shapeName": "Post"
402
620
  },
403
- "description": "Create Tag",
404
- "args": "CreateArgs<Tag>"
621
+ "description": "Get a Post by ID",
622
+ "args": "TSGetArgs<Post>"
405
623
  },
406
- "duplicateTag": {
407
- "shape": "DuplicateResult<Tag>",
624
+ "getPostList": {
625
+ "shape": "PaginatedList<Post>",
408
626
  "resolver": {
409
- "name": "takeshape:duplicate",
627
+ "name": "takeshape:list",
410
628
  "service": "takeshape:local",
411
629
  "options": {},
412
- "shapeName": "Tag"
630
+ "shapeName": "Post"
413
631
  },
414
- "description": "Duplicate Tag",
415
- "args": "DuplicateArgs<Tag>"
632
+ "description": "Returns a list Post in natural order.",
633
+ "args": "TSListArgs<Post>"
416
634
  },
417
- "deleteTag": {
418
- "shape": "DeleteResult<Tag>",
635
+ "getAuthor": {
636
+ "shape": "Author",
419
637
  "resolver": {
420
- "name": "takeshape:delete",
638
+ "name": "takeshape:get",
421
639
  "service": "takeshape:local",
422
640
  "options": {},
423
- "shapeName": "Tag"
641
+ "shapeName": "Author"
424
642
  },
425
- "description": "Delete Tag",
426
- "args": "DeleteArgs<Tag>"
643
+ "description": "Get a Author by ID",
644
+ "args": "TSGetArgs<Author>"
427
645
  },
428
- "updatePost": {
429
- "shape": "UpdateResult<Post>",
646
+ "getAuthorList": {
647
+ "shape": "PaginatedList<Author>",
430
648
  "resolver": {
431
- "name": "takeshape:update",
649
+ "name": "takeshape:list",
432
650
  "service": "takeshape:local",
433
651
  "options": {},
434
- "shapeName": "Post"
652
+ "shapeName": "Author"
435
653
  },
436
- "description": "Update Post",
437
- "args": "UpdateArgs<Post>"
654
+ "description": "Returns a list Author in natural order.",
655
+ "args": "TSListArgs<Author>"
438
656
  },
439
- "createPost": {
440
- "shape": "CreateResult<Post>",
657
+ "getHomepage": {
658
+ "shape": "Homepage",
441
659
  "resolver": {
442
- "name": "takeshape:create",
660
+ "name": "takeshape:get",
443
661
  "service": "takeshape:local",
444
662
  "options": {},
445
- "shapeName": "Post"
663
+ "shapeName": "Homepage"
446
664
  },
447
- "description": "Create Post",
448
- "args": "CreateArgs<Post>"
665
+ "description": "Get a Homepage by ID",
666
+ "args": "TSGetSingletonArgs<Homepage>"
449
667
  },
450
- "duplicatePost": {
451
- "shape": "DuplicateResult<Post>",
668
+ "getSiteSettings": {
669
+ "shape": "SiteSettings",
452
670
  "resolver": {
453
- "name": "takeshape:duplicate",
671
+ "name": "takeshape:get",
454
672
  "service": "takeshape:local",
455
673
  "options": {},
456
- "shapeName": "Post"
674
+ "shapeName": "SiteSettings"
457
675
  },
458
- "description": "Duplicate Post",
459
- "args": "DuplicateArgs<Post>"
676
+ "description": "Get a SiteSettings by ID",
677
+ "args": "TSGetSingletonArgs<SiteSettings>"
460
678
  },
461
- "deletePost": {
462
- "shape": "DeleteResult<Post>",
679
+ "getBook": {
680
+ "shape": "Book",
463
681
  "resolver": {
464
- "name": "takeshape:delete",
682
+ "name": "takeshape:get",
465
683
  "service": "takeshape:local",
466
684
  "options": {},
467
- "shapeName": "Post"
685
+ "shapeName": "Book"
468
686
  },
469
- "description": "Delete Post",
470
- "args": "DeleteArgs<Post>"
687
+ "description": "Get a Book by ID",
688
+ "args": "TSGetArgs<Book>"
471
689
  },
472
- "updateAuthor": {
473
- "shape": "UpdateResult<Author>",
690
+ "getBookList": {
691
+ "shape": "PaginatedList<Book>",
474
692
  "resolver": {
475
- "name": "takeshape:update",
693
+ "name": "takeshape:list",
476
694
  "service": "takeshape:local",
477
695
  "options": {},
478
- "shapeName": "Author"
696
+ "shapeName": "Book"
479
697
  },
480
- "description": "Update Author",
481
- "args": "UpdateArgs<Author>"
698
+ "description": "Returns a list Book in natural order.",
699
+ "args": "TSListArgs<Book>"
482
700
  },
483
- "createAuthor": {
484
- "shape": "CreateResult<Author>",
701
+ "Rick_character": {
485
702
  "resolver": {
486
- "name": "takeshape:create",
487
- "service": "takeshape:local",
703
+ "name": "graphql:query",
704
+ "service": "rick-and-morty",
488
705
  "options": {},
489
- "shapeName": "Author"
706
+ "fieldName": "character"
490
707
  },
491
- "description": "Create Author",
492
- "args": "CreateArgs<Author>"
708
+ "args": {
709
+ "type": "object",
710
+ "properties": {
711
+ "id": {
712
+ "type": "string",
713
+ "@tag": "id"
714
+ }
715
+ },
716
+ "required": [
717
+ "id"
718
+ ]
719
+ },
720
+ "shape": "Rick_Character"
493
721
  },
494
- "duplicateAuthor": {
495
- "shape": "DuplicateResult<Author>",
722
+ "Rick_characters": {
496
723
  "resolver": {
497
- "name": "takeshape:duplicate",
724
+ "name": "graphql:query",
725
+ "service": "rick-and-morty",
726
+ "options": {},
727
+ "fieldName": "characters"
728
+ },
729
+ "args": {
730
+ "type": "object",
731
+ "properties": {
732
+ "page": {
733
+ "type": "integer"
734
+ },
735
+ "filter": {
736
+ "$ref": "#/shapes/Rick_FilterCharacter/schema"
737
+ }
738
+ }
739
+ },
740
+ "shape": "Rick_Characters"
741
+ }
742
+ },
743
+ "mutations": {
744
+ "updateAsset": {
745
+ "shape": "UpdateResult<Asset>",
746
+ "resolver": {
747
+ "name": "takeshape:update",
498
748
  "service": "takeshape:local",
499
749
  "options": {},
500
- "shapeName": "Author"
750
+ "shapeName": "Asset"
501
751
  },
502
- "description": "Duplicate Author",
503
- "args": "DuplicateArgs<Author>"
752
+ "description": "Update Asset",
753
+ "args": "UpdateArgs<Asset>"
504
754
  },
505
- "deleteAuthor": {
506
- "shape": "DeleteResult<Author>",
755
+ "createAsset": {
756
+ "shape": "CreateResult<Asset>",
507
757
  "resolver": {
508
- "name": "takeshape:delete",
758
+ "name": "takeshape:create",
509
759
  "service": "takeshape:local",
510
760
  "options": {},
511
- "shapeName": "Author"
761
+ "shapeName": "Asset"
512
762
  },
513
- "description": "Delete Author",
514
- "args": "DeleteArgs<Author>"
763
+ "description": "Create Asset",
764
+ "args": "CreateArgs<Asset>"
515
765
  },
516
- "updateHomepage": {
517
- "shape": "UpdateResult<Homepage>",
766
+ "duplicateAsset": {
767
+ "shape": "DuplicateResult<Asset>",
518
768
  "resolver": {
519
- "name": "takeshape:update",
769
+ "name": "takeshape:duplicate",
520
770
  "service": "takeshape:local",
521
771
  "options": {},
522
- "shapeName": "Homepage"
772
+ "shapeName": "Asset"
523
773
  },
524
- "description": "Update Homepage",
525
- "args": "UpdateArgs<Homepage>"
774
+ "description": "Duplicate Asset",
775
+ "args": "DuplicateArgs<Asset>"
526
776
  },
527
- "updateSiteSettings": {
528
- "shape": "UpdateResult<SiteSettings>",
777
+ "deleteAsset": {
778
+ "shape": "DeleteResult<Asset>",
529
779
  "resolver": {
530
- "name": "takeshape:update",
780
+ "name": "takeshape:delete",
531
781
  "service": "takeshape:local",
532
782
  "options": {},
533
- "shapeName": "SiteSettings"
783
+ "shapeName": "Asset"
534
784
  },
535
- "description": "Update SiteSettings",
536
- "args": "UpdateArgs<SiteSettings>"
785
+ "description": "Delete Asset",
786
+ "args": "DeleteArgs<Asset>"
537
787
  },
538
- "updateBook": {
539
- "shape": "UpdateResult<Book>",
788
+ "updateTsStaticSite": {
789
+ "shape": "UpdateResult<TsStaticSite>",
540
790
  "resolver": {
541
791
  "name": "takeshape:update",
542
792
  "service": "takeshape:local",
543
793
  "options": {},
544
- "shapeName": "Book"
794
+ "shapeName": "TsStaticSite"
545
795
  },
546
- "description": "Update Book",
547
- "args": "UpdateArgs<Book>"
796
+ "description": "Update TsStaticSite",
797
+ "args": "UpdateArgs<TsStaticSite>"
548
798
  },
549
- "createBook": {
550
- "shape": "CreateResult<Book>",
799
+ "createTsStaticSite": {
800
+ "shape": "CreateResult<TsStaticSite>",
551
801
  "resolver": {
552
802
  "name": "takeshape:create",
553
803
  "service": "takeshape:local",
554
804
  "options": {},
555
- "shapeName": "Book"
805
+ "shapeName": "TsStaticSite"
556
806
  },
557
- "description": "Create Book",
558
- "args": "CreateArgs<Book>"
807
+ "description": "Create TsStaticSite",
808
+ "args": "CreateArgs<TsStaticSite>"
559
809
  },
560
- "duplicateBook": {
561
- "shape": "DuplicateResult<Book>",
810
+ "duplicateTsStaticSite": {
811
+ "shape": "DuplicateResult<TsStaticSite>",
562
812
  "resolver": {
563
813
  "name": "takeshape:duplicate",
564
814
  "service": "takeshape:local",
565
815
  "options": {},
566
- "shapeName": "Book"
816
+ "shapeName": "TsStaticSite"
567
817
  },
568
- "description": "Duplicate Book",
569
- "args": "DuplicateArgs<Book>"
818
+ "description": "Duplicate TsStaticSite",
819
+ "args": "DuplicateArgs<TsStaticSite>"
570
820
  },
571
- "deleteBook": {
572
- "shape": "DeleteResult<Book>",
821
+ "deleteTsStaticSite": {
822
+ "shape": "DeleteResult<TsStaticSite>",
573
823
  "resolver": {
574
824
  "name": "takeshape:delete",
575
825
  "service": "takeshape:local",
576
826
  "options": {},
577
- "shapeName": "Book"
827
+ "shapeName": "TsStaticSite"
578
828
  },
579
- "description": "Delete Book",
580
- "args": "DeleteArgs<Book>"
581
- }
582
- },
583
- "created": "2017-07-13T19:16:10.801Z",
584
- "updated": "2021-01-22T23:29:35.102Z",
585
- "shapes": {
586
- "TSRelationship": {
587
- "id": "TSRelationship",
588
- "name": "TSRelationship",
589
- "title": "Relationship",
590
- "schema": {
591
- "type": "object",
592
- "properties": {
593
- "shapeId": {
594
- "type": "string"
595
- },
596
- "contentTypeId": {
597
- "type": "string",
598
- "@deprecationReason": "Use shapeId instead"
599
- },
600
- "id": {
601
- "type": "string"
602
- }
603
- },
604
- "required": [
605
- "id"
606
- ]
607
- }
829
+ "description": "Delete TsStaticSite",
830
+ "args": "DeleteArgs<TsStaticSite>"
608
831
  },
609
- "TSColorHsl": {
610
- "id": "TSColorHsl",
611
- "name": "TSColorHsl",
612
- "title": "Color Hsl",
613
- "schema": {
614
- "type": "object",
615
- "properties": {
616
- "h": {
617
- "type": "number"
618
- },
619
- "a": {
620
- "type": "number"
621
- },
622
- "s": {
623
- "type": "number"
624
- },
625
- "l": {
626
- "type": "number"
627
- }
628
- }
629
- }
832
+ "updateGenre": {
833
+ "shape": "UpdateResult<Genre>",
834
+ "resolver": {
835
+ "name": "takeshape:update",
836
+ "service": "takeshape:local",
837
+ "options": {},
838
+ "shapeName": "Genre"
839
+ },
840
+ "description": "Update Genre",
841
+ "args": "UpdateArgs<Genre>"
630
842
  },
631
- "TSColorHsv": {
632
- "id": "TSColorHsv",
633
- "name": "TSColorHsv",
634
- "title": "Color Hsv",
635
- "schema": {
636
- "type": "object",
637
- "properties": {
638
- "h": {
639
- "type": "number"
640
- },
641
- "a": {
642
- "type": "number"
643
- },
644
- "s": {
645
- "type": "number"
646
- },
647
- "v": {
648
- "type": "number"
649
- }
650
- }
651
- }
843
+ "createGenre": {
844
+ "shape": "CreateResult<Genre>",
845
+ "resolver": {
846
+ "name": "takeshape:create",
847
+ "service": "takeshape:local",
848
+ "options": {},
849
+ "shapeName": "Genre"
850
+ },
851
+ "description": "Create Genre",
852
+ "args": "CreateArgs<Genre>"
652
853
  },
653
- "TSColorRgb": {
654
- "id": "TSColorRgb",
655
- "name": "TSColorRgb",
656
- "title": "Color Rgb",
657
- "schema": {
658
- "type": "object",
659
- "properties": {
660
- "a": {
661
- "type": "number"
662
- },
663
- "b": {
664
- "type": "number"
665
- },
666
- "r": {
667
- "type": "number"
668
- },
669
- "g": {
670
- "type": "number"
671
- }
672
- }
673
- }
854
+ "duplicateGenre": {
855
+ "shape": "DuplicateResult<Genre>",
856
+ "resolver": {
857
+ "name": "takeshape:duplicate",
858
+ "service": "takeshape:local",
859
+ "options": {},
860
+ "shapeName": "Genre"
861
+ },
862
+ "description": "Duplicate Genre",
863
+ "args": "DuplicateArgs<Genre>"
674
864
  },
675
- "TSColor": {
676
- "id": "TSColor",
677
- "name": "TSColor",
678
- "title": "Color",
679
- "schema": {
680
- "type": "object",
681
- "properties": {
682
- "hex": {
683
- "type": "string"
684
- },
685
- "hsl": {
686
- "$ref": "#/shapes/TSColorHsl/schema"
687
- },
688
- "hsv": {
689
- "$ref": "#/shapes/TSColorHsv/schema"
690
- },
691
- "rgb": {
692
- "$ref": "#/shapes/TSColorRgb/schema"
693
- }
694
- }
695
- }
865
+ "deleteGenre": {
866
+ "shape": "DeleteResult<Genre>",
867
+ "resolver": {
868
+ "name": "takeshape:delete",
869
+ "service": "takeshape:local",
870
+ "options": {},
871
+ "shapeName": "Genre"
872
+ },
873
+ "description": "Delete Genre",
874
+ "args": "DeleteArgs<Genre>"
696
875
  },
697
- "Asset": {
698
- "id": "ASSET",
699
- "name": "Asset",
700
- "title": "Asset",
701
- "model": {
702
- "type": "multiple"
876
+ "updateTag": {
877
+ "shape": "UpdateResult<Tag>",
878
+ "resolver": {
879
+ "name": "takeshape:update",
880
+ "service": "takeshape:local",
881
+ "options": {},
882
+ "shapeName": "Tag"
703
883
  },
704
- "schema": {
705
- "type": "object",
706
- "properties": {
707
- "path": {
708
- "type": "string",
709
- "title": "Path",
710
- "@l10n": false,
711
- "minLength": 1,
712
- "@mapping": "takeshape:local:Asset.Hk6FQuz5"
713
- },
714
- "filename": {
715
- "type": "string",
716
- "title": "Filename",
717
- "@l10n": false,
718
- "minLength": 1,
719
- "@mapping": "takeshape:local:Asset.H1oYQOM9"
720
- },
721
- "description": {
722
- "type": "string",
723
- "title": "Description",
724
- "@mapping": "takeshape:local:Asset.B1Zsra3fx"
725
- },
726
- "caption": {
727
- "type": "object",
728
- "title": "Caption",
729
- "@mapping": "takeshape:local:Asset.SyWVsd98x",
730
- "@tag": "draftjs"
731
- },
732
- "uploadStatus": {
733
- "type": "string",
734
- "title": "Upload status",
735
- "@l10n": false,
736
- "@mapping": "takeshape:local:Asset.ByeAYXdG9"
737
- },
738
- "mimeType": {
739
- "type": "string",
740
- "title": "MIME type",
741
- "@l10n": false,
742
- "@mapping": "takeshape:local:Asset.SyCYX_Gq"
743
- },
744
- "title": {
745
- "type": "string",
746
- "title": "Title",
747
- "@mapping": "takeshape:local:Asset.By5tQOMc"
748
- },
749
- "authorTag": {
750
- "title": "Author Tag",
751
- "@mapping": "takeshape:local:Asset.SyQiZrgdX",
752
- "$ref": "#/shapes/TSRelationship/schema",
753
- "@relationship": {
754
- "shapeIds": [
755
- "SJDIicDUZ"
756
- ],
757
- "type": "single"
758
- }
759
- },
760
- "credit": {
761
- "type": "object",
762
- "title": "Credit",
763
- "@mapping": "takeshape:local:Asset.Skn_i_5Ll",
764
- "@tag": "draftjs"
765
- },
766
- "sourceUrl": {
767
- "type": "string",
768
- "title": "Source URL",
769
- "@l10n": false,
770
- "@mapping": "takeshape:local:Asset.SJXSidnXE"
771
- },
772
- "_id": {
773
- "title": "Id",
774
- "type": "string"
775
- },
776
- "_version": {
777
- "title": "Version",
778
- "type": "integer"
779
- },
780
- "_shapeId": {
781
- "title": "Shape Id",
782
- "type": "string"
783
- },
784
- "_shapeName": {
785
- "title": "Shape Name",
786
- "type": "string"
787
- },
788
- "_createdAt": {
789
- "title": "Created",
790
- "type": "string",
791
- "format": "date-time"
792
- },
793
- "_createdBy": {
794
- "title": "Created By",
795
- "type": "string",
796
- "@user": true
797
- },
798
- "_updatedAt": {
799
- "title": "Updated",
800
- "type": "string",
801
- "format": "date-time"
802
- },
803
- "_updatedBy": {
804
- "title": "Updated By",
805
- "type": "string",
806
- "@user": true
807
- },
808
- "_schemaVersion": {
809
- "title": "Schema Version",
810
- "type": "number"
811
- },
812
- "_enabled": {
813
- "title": "Enabled",
814
- "type": "boolean",
815
- "@deprecationReason": "Use _status instead"
816
- },
817
- "_enabledAt": {
818
- "title": "Enabled Date",
819
- "type": "string",
820
- "format": "date-time",
821
- "@deprecationReason": "Use a custom date field instead"
822
- },
823
- "_status": {
824
- "type": "string",
825
- "title": "Status",
826
- "oneOf": [
827
- {
828
- "enum": [
829
- "r1uCfi4ZL",
830
- "disabled"
831
- ],
832
- "title": "Disabled"
833
- },
834
- {
835
- "enum": [
836
- "rkhRGs4WL",
837
- "enabled"
838
- ],
839
- "title": "Enabled"
840
- }
841
- ],
842
- "@workflow": "default"
843
- }
844
- },
845
- "required": [
846
- "filename",
847
- "path"
848
- ]
849
- }
884
+ "description": "Update Tag",
885
+ "args": "UpdateArgs<Tag>"
850
886
  },
851
- "TsStaticSite": {
852
- "id": "SITE",
853
- "name": "TsStaticSite",
854
- "title": "Static Site",
855
- "model": {
856
- "type": "multiple"
887
+ "createTag": {
888
+ "shape": "CreateResult<Tag>",
889
+ "resolver": {
890
+ "name": "takeshape:create",
891
+ "service": "takeshape:local",
892
+ "options": {},
893
+ "shapeName": "Tag"
857
894
  },
858
- "schema": {
859
- "type": "object",
860
- "properties": {
861
- "title": {
862
- "type": "string",
863
- "title": "Title",
864
- "@l10n": false,
865
- "minLength": 1,
866
- "@mapping": "takeshape:local:TsStaticSite.Ski9jLuXg"
867
- },
868
- "baseUrl": {
869
- "type": "string",
870
- "title": "Base URL",
871
- "@l10n": false,
872
- "minLength": 1,
873
- "@mapping": "takeshape:local:TsStaticSite.Bk3tNmrfE"
874
- },
875
- "provider": {
876
- "type": "string",
877
- "default": "s3",
878
- "title": "Provider",
879
- "@l10n": false,
880
- "oneOf": [
881
- {
882
- "enum": [
883
- "s3"
884
- ],
885
- "title": "S3"
886
- },
887
- {
888
- "enum": [
889
- "gcs"
890
- ],
891
- "title": "Google Cloud Storage"
892
- },
893
- {
894
- "enum": [
895
- "ftp"
896
- ],
897
- "title": "FTP Client"
898
- },
899
- {
900
- "enum": [
901
- "azure"
902
- ],
903
- "title": "Azure Storage Account"
904
- },
905
- {
906
- "enum": [
907
- "netlify"
908
- ],
909
- "title": "Netlify"
910
- },
911
- {
912
- "enum": [
913
- "vercel"
914
- ],
915
- "title": "Vercel"
916
- }
917
- ],
918
- "@mapping": "takeshape:local:TsStaticSite.SkwbT2hqe"
919
- },
920
- "idKey": {
921
- "type": "string",
922
- "title": "Id Key",
923
- "@l10n": false,
924
- "minLength": 1,
925
- "@mapping": "takeshape:local:TsStaticSite.SyRhi8_me"
926
- },
927
- "secretKey": {
928
- "type": "string",
929
- "title": "Secret Key",
930
- "@l10n": false,
931
- "@sensitive": true,
932
- "minLength": 1,
933
- "@mapping": "takeshape:local:TsStaticSite.BkIajLdXl"
934
- },
935
- "destination": {
936
- "type": "string",
937
- "title": "Destination",
938
- "@l10n": false,
939
- "minLength": 1,
940
- "@mapping": "takeshape:local:TsStaticSite.Hk6TsIdXl"
941
- },
942
- "privateAcl": {
943
- "type": "boolean",
944
- "title": "Private ACL",
945
- "@l10n": false,
946
- "@mapping": "takeshape:local:TsStaticSite.ByFe48wWU"
947
- },
948
- "environmentVariables": {
949
- "type": "array",
950
- "title": "Environment Variables",
951
- "@l10n": false,
952
- "items": {
953
- "$ref": "#/shapes/TsStaticSiteEnvironmentVariables/schema"
954
- },
955
- "@mapping": "takeshape:local:TsStaticSite.9fj4UiNxY"
956
- },
957
- "triggers": {
958
- "type": "array",
959
- "title": "Publish Triggers",
960
- "@l10n": false,
961
- "items": {
962
- "$ref": "#/shapes/TsStaticSiteTriggers/schema"
963
- }
964
- },
965
- "templateHash": {
966
- "type": "string",
967
- "title": "Template Hash",
968
- "@l10n": false,
969
- "@mapping": "takeshape:local:TsStaticSite.S1QA3GYI8"
970
- },
971
- "_id": {
972
- "title": "Id",
973
- "type": "string"
974
- },
975
- "_version": {
976
- "title": "Version",
977
- "type": "integer"
978
- },
979
- "_shapeId": {
980
- "title": "Shape Id",
981
- "type": "string"
982
- },
983
- "_shapeName": {
984
- "title": "Shape Name",
985
- "type": "string"
986
- },
987
- "_createdAt": {
988
- "title": "Created",
989
- "type": "string",
990
- "format": "date-time"
991
- },
992
- "_createdBy": {
993
- "title": "Created By",
994
- "type": "string",
995
- "@user": true
996
- },
997
- "_updatedAt": {
998
- "title": "Updated",
999
- "type": "string",
1000
- "format": "date-time"
1001
- },
1002
- "_updatedBy": {
1003
- "title": "Updated By",
1004
- "type": "string",
1005
- "@user": true
1006
- },
1007
- "_schemaVersion": {
1008
- "title": "Schema Version",
1009
- "type": "number"
1010
- },
1011
- "_enabled": {
1012
- "title": "Enabled",
1013
- "type": "boolean",
1014
- "@deprecationReason": "Use _status instead"
895
+ "description": "Create Tag",
896
+ "args": "CreateArgs<Tag>"
897
+ },
898
+ "duplicateTag": {
899
+ "shape": "DuplicateResult<Tag>",
900
+ "resolver": {
901
+ "name": "takeshape:duplicate",
902
+ "service": "takeshape:local",
903
+ "options": {},
904
+ "shapeName": "Tag"
905
+ },
906
+ "description": "Duplicate Tag",
907
+ "args": "DuplicateArgs<Tag>"
908
+ },
909
+ "deleteTag": {
910
+ "shape": "DeleteResult<Tag>",
911
+ "resolver": {
912
+ "name": "takeshape:delete",
913
+ "service": "takeshape:local",
914
+ "options": {},
915
+ "shapeName": "Tag"
916
+ },
917
+ "description": "Delete Tag",
918
+ "args": "DeleteArgs<Tag>"
919
+ },
920
+ "updatePost": {
921
+ "shape": "UpdateResult<Post>",
922
+ "resolver": {
923
+ "name": "takeshape:update",
924
+ "service": "takeshape:local",
925
+ "options": {},
926
+ "shapeName": "Post"
927
+ },
928
+ "description": "Update Post",
929
+ "args": "UpdateArgs<Post>"
930
+ },
931
+ "createPost": {
932
+ "shape": "CreateResult<Post>",
933
+ "resolver": {
934
+ "name": "takeshape:create",
935
+ "service": "takeshape:local",
936
+ "options": {},
937
+ "shapeName": "Post"
938
+ },
939
+ "description": "Create Post",
940
+ "args": "CreateArgs<Post>"
941
+ },
942
+ "duplicatePost": {
943
+ "shape": "DuplicateResult<Post>",
944
+ "resolver": {
945
+ "name": "takeshape:duplicate",
946
+ "service": "takeshape:local",
947
+ "options": {},
948
+ "shapeName": "Post"
949
+ },
950
+ "description": "Duplicate Post",
951
+ "args": "DuplicateArgs<Post>"
952
+ },
953
+ "deletePost": {
954
+ "shape": "DeleteResult<Post>",
955
+ "resolver": {
956
+ "name": "takeshape:delete",
957
+ "service": "takeshape:local",
958
+ "options": {},
959
+ "shapeName": "Post"
960
+ },
961
+ "description": "Delete Post",
962
+ "args": "DeleteArgs<Post>"
963
+ },
964
+ "updateAuthor": {
965
+ "shape": "UpdateResult<Author>",
966
+ "resolver": {
967
+ "name": "takeshape:update",
968
+ "service": "takeshape:local",
969
+ "options": {},
970
+ "shapeName": "Author"
971
+ },
972
+ "description": "Update Author",
973
+ "args": "UpdateArgs<Author>"
974
+ },
975
+ "createAuthor": {
976
+ "shape": "CreateResult<Author>",
977
+ "resolver": {
978
+ "name": "takeshape:create",
979
+ "service": "takeshape:local",
980
+ "options": {},
981
+ "shapeName": "Author"
982
+ },
983
+ "description": "Create Author",
984
+ "args": "CreateArgs<Author>"
985
+ },
986
+ "duplicateAuthor": {
987
+ "shape": "DuplicateResult<Author>",
988
+ "resolver": {
989
+ "name": "takeshape:duplicate",
990
+ "service": "takeshape:local",
991
+ "options": {},
992
+ "shapeName": "Author"
993
+ },
994
+ "description": "Duplicate Author",
995
+ "args": "DuplicateArgs<Author>"
996
+ },
997
+ "deleteAuthor": {
998
+ "shape": "DeleteResult<Author>",
999
+ "resolver": {
1000
+ "name": "takeshape:delete",
1001
+ "service": "takeshape:local",
1002
+ "options": {},
1003
+ "shapeName": "Author"
1004
+ },
1005
+ "description": "Delete Author",
1006
+ "args": "DeleteArgs<Author>"
1007
+ },
1008
+ "updateHomepage": {
1009
+ "shape": "UpdateResult<Homepage>",
1010
+ "resolver": {
1011
+ "name": "takeshape:update",
1012
+ "service": "takeshape:local",
1013
+ "options": {},
1014
+ "shapeName": "Homepage"
1015
+ },
1016
+ "description": "Update Homepage",
1017
+ "args": "UpdateArgs<Homepage>"
1018
+ },
1019
+ "updateSiteSettings": {
1020
+ "shape": "UpdateResult<SiteSettings>",
1021
+ "resolver": {
1022
+ "name": "takeshape:update",
1023
+ "service": "takeshape:local",
1024
+ "options": {},
1025
+ "shapeName": "SiteSettings"
1026
+ },
1027
+ "description": "Update SiteSettings",
1028
+ "args": "UpdateArgs<SiteSettings>"
1029
+ },
1030
+ "updateBook": {
1031
+ "shape": "UpdateResult<Book>",
1032
+ "resolver": {
1033
+ "name": "takeshape:update",
1034
+ "service": "takeshape:local",
1035
+ "options": {},
1036
+ "shapeName": "Book"
1037
+ },
1038
+ "description": "Update Book",
1039
+ "args": "UpdateArgs<Book>"
1040
+ },
1041
+ "createBook": {
1042
+ "shape": "CreateResult<Book>",
1043
+ "resolver": {
1044
+ "name": "takeshape:create",
1045
+ "service": "takeshape:local",
1046
+ "options": {},
1047
+ "shapeName": "Book"
1048
+ },
1049
+ "description": "Create Book",
1050
+ "args": "CreateArgs<Book>"
1051
+ },
1052
+ "duplicateBook": {
1053
+ "shape": "DuplicateResult<Book>",
1054
+ "resolver": {
1055
+ "name": "takeshape:duplicate",
1056
+ "service": "takeshape:local",
1057
+ "options": {},
1058
+ "shapeName": "Book"
1059
+ },
1060
+ "description": "Duplicate Book",
1061
+ "args": "DuplicateArgs<Book>"
1062
+ },
1063
+ "deleteBook": {
1064
+ "shape": "DeleteResult<Book>",
1065
+ "resolver": {
1066
+ "name": "takeshape:delete",
1067
+ "service": "takeshape:local",
1068
+ "options": {},
1069
+ "shapeName": "Book"
1070
+ },
1071
+ "description": "Delete Book",
1072
+ "args": "DeleteArgs<Book>"
1073
+ }
1074
+ },
1075
+ "shapes": {
1076
+ "TSRelationship": {
1077
+ "id": "TSRelationship",
1078
+ "name": "TSRelationship",
1079
+ "title": "Relationship",
1080
+ "schema": {
1081
+ "type": "object",
1082
+ "properties": {
1083
+ "shapeId": {
1084
+ "type": "string"
1015
1085
  },
1016
- "_enabledAt": {
1017
- "title": "Enabled Date",
1086
+ "contentTypeId": {
1018
1087
  "type": "string",
1019
- "format": "date-time",
1020
- "@deprecationReason": "Use a custom date field instead"
1088
+ "@deprecationReason": "Use shapeId instead"
1021
1089
  },
1022
- "_status": {
1023
- "type": "string",
1024
- "title": "Status",
1025
- "oneOf": [
1026
- {
1027
- "enum": [
1028
- "r1uCfi4ZL",
1029
- "disabled"
1030
- ],
1031
- "title": "Disabled"
1032
- },
1033
- {
1034
- "enum": [
1035
- "rkhRGs4WL",
1036
- "enabled"
1037
- ],
1038
- "title": "Enabled"
1039
- }
1040
- ],
1041
- "@workflow": "default"
1090
+ "id": {
1091
+ "type": "string"
1042
1092
  }
1043
1093
  },
1044
1094
  "required": [
1045
- "title",
1046
- "provider",
1047
- "destination"
1095
+ "id"
1048
1096
  ]
1049
1097
  }
1050
1098
  },
1051
- "TsStaticSiteEnvironmentVariables": {
1052
- "id": "9fj4UiNxY",
1053
- "name": "TsStaticSiteEnvironmentVariables",
1054
- "title": "Static Site EnvironmentVariables",
1099
+ "TSColorHsl": {
1100
+ "id": "TSColorHsl",
1101
+ "name": "TSColorHsl",
1102
+ "title": "Color Hsl",
1055
1103
  "schema": {
1056
1104
  "type": "object",
1057
1105
  "properties": {
1058
- "name": {
1059
- "type": "string",
1060
- "title": "Name",
1061
- "@mapping": "takeshape:local:TsStaticSite.J8sbHgfdI"
1106
+ "h": {
1107
+ "type": "number"
1062
1108
  },
1063
- "value": {
1064
- "type": "string",
1065
- "title": "Value",
1066
- "@mapping": "takeshape:local:TsStaticSite.ndhh88DvG"
1067
- }
1068
- }
1069
- }
1070
- },
1071
- "TsStaticSiteTriggers": {
1072
- "id": "TsStaticSiteTriggers",
1073
- "name": "TsStaticSiteTriggers",
1074
- "title": "Static Site Triggers",
1075
- "schema": {
1076
- "type": "object",
1077
- "properties": {
1078
- "contentTypeId": {
1079
- "type": "string",
1080
- "title": "Content Type"
1109
+ "a": {
1110
+ "type": "number"
1081
1111
  },
1082
- "status": {
1083
- "type": "string",
1084
- "title": "Workflow Status"
1112
+ "s": {
1113
+ "type": "number"
1114
+ },
1115
+ "l": {
1116
+ "type": "number"
1085
1117
  }
1086
1118
  }
1087
1119
  }
1088
1120
  },
1089
- "Genre": {
1090
- "id": "rJ9bZzk-m",
1091
- "name": "Genre",
1092
- "title": "Genre",
1093
- "model": {
1094
- "type": "taxonomy"
1095
- },
1121
+ "TSColorHsv": {
1122
+ "id": "TSColorHsv",
1123
+ "name": "TSColorHsv",
1124
+ "title": "Color Hsv",
1096
1125
  "schema": {
1097
1126
  "type": "object",
1098
1127
  "properties": {
1099
- "title": {
1100
- "type": "string",
1101
- "title": "Title",
1102
- "minLength": 0,
1103
- "@mapping": "takeshape:local:Genre.SJgZZzJWm"
1104
- },
1105
- "_id": {
1106
- "title": "Id",
1107
- "type": "string"
1108
- },
1109
- "_version": {
1110
- "title": "Version",
1111
- "type": "integer"
1112
- },
1113
- "_shapeId": {
1114
- "title": "Shape Id",
1115
- "type": "string"
1116
- },
1117
- "_shapeName": {
1118
- "title": "Shape Name",
1119
- "type": "string"
1120
- },
1121
- "_createdAt": {
1122
- "title": "Created",
1123
- "type": "string",
1124
- "format": "date-time"
1125
- },
1126
- "_createdBy": {
1127
- "title": "Created By",
1128
- "type": "string",
1129
- "@user": true
1130
- },
1131
- "_updatedAt": {
1132
- "title": "Updated",
1133
- "type": "string",
1134
- "format": "date-time"
1135
- },
1136
- "_updatedBy": {
1137
- "title": "Updated By",
1138
- "type": "string",
1139
- "@user": true
1140
- },
1141
- "_schemaVersion": {
1142
- "title": "Schema Version",
1128
+ "h": {
1143
1129
  "type": "number"
1144
1130
  },
1145
- "_enabled": {
1146
- "title": "Enabled",
1147
- "type": "boolean",
1148
- "@deprecationReason": "Use _status instead"
1131
+ "a": {
1132
+ "type": "number"
1149
1133
  },
1150
- "_enabledAt": {
1151
- "title": "Enabled Date",
1152
- "type": "string",
1153
- "format": "date-time",
1154
- "@deprecationReason": "Use a custom date field instead"
1134
+ "s": {
1135
+ "type": "number"
1155
1136
  },
1156
- "_status": {
1157
- "type": "string",
1158
- "title": "Status",
1159
- "oneOf": [
1160
- {
1161
- "enum": [
1162
- "r1uCfi4ZL",
1163
- "disabled"
1164
- ],
1165
- "title": "Disabled"
1166
- },
1167
- {
1168
- "enum": [
1169
- "rkhRGs4WL",
1170
- "enabled"
1171
- ],
1172
- "title": "Enabled"
1173
- }
1174
- ],
1175
- "@workflow": "default"
1137
+ "v": {
1138
+ "type": "number"
1176
1139
  }
1177
1140
  }
1178
1141
  }
1179
1142
  },
1180
- "Tag": {
1181
- "id": "rJBYXVyuQ",
1182
- "name": "Tag",
1183
- "title": "Tag",
1184
- "model": {
1185
- "type": "taxonomy"
1186
- },
1143
+ "TSColorRgb": {
1144
+ "id": "TSColorRgb",
1145
+ "name": "TSColorRgb",
1146
+ "title": "Color Rgb",
1187
1147
  "schema": {
1188
1148
  "type": "object",
1189
1149
  "properties": {
1190
- "name": {
1191
- "type": "string",
1192
- "title": "Name",
1193
- "minLength": 1,
1194
- "@mapping": "takeshape:local:Tag.rkZYm41d7"
1195
- },
1196
- "_id": {
1197
- "title": "Id",
1198
- "type": "string"
1199
- },
1200
- "_version": {
1201
- "title": "Version",
1202
- "type": "integer"
1203
- },
1204
- "_shapeId": {
1205
- "title": "Shape Id",
1206
- "type": "string"
1207
- },
1208
- "_shapeName": {
1209
- "title": "Shape Name",
1210
- "type": "string"
1211
- },
1212
- "_createdAt": {
1213
- "title": "Created",
1214
- "type": "string",
1215
- "format": "date-time"
1216
- },
1217
- "_createdBy": {
1218
- "title": "Created By",
1219
- "type": "string",
1220
- "@user": true
1150
+ "a": {
1151
+ "type": "number"
1221
1152
  },
1222
- "_updatedAt": {
1223
- "title": "Updated",
1224
- "type": "string",
1225
- "format": "date-time"
1153
+ "b": {
1154
+ "type": "number"
1226
1155
  },
1227
- "_updatedBy": {
1228
- "title": "Updated By",
1229
- "type": "string",
1230
- "@user": true
1156
+ "r": {
1157
+ "type": "number"
1231
1158
  },
1232
- "_schemaVersion": {
1233
- "title": "Schema Version",
1159
+ "g": {
1234
1160
  "type": "number"
1161
+ }
1162
+ }
1163
+ }
1164
+ },
1165
+ "TSColor": {
1166
+ "id": "TSColor",
1167
+ "name": "TSColor",
1168
+ "title": "Color",
1169
+ "schema": {
1170
+ "type": "object",
1171
+ "properties": {
1172
+ "hex": {
1173
+ "type": "string"
1235
1174
  },
1236
- "_enabled": {
1237
- "title": "Enabled",
1238
- "type": "boolean",
1239
- "@deprecationReason": "Use _status instead"
1175
+ "hsl": {
1176
+ "$ref": "#/shapes/TSColorHsl/schema"
1240
1177
  },
1241
- "_enabledAt": {
1242
- "title": "Enabled Date",
1243
- "type": "string",
1244
- "format": "date-time",
1245
- "@deprecationReason": "Use a custom date field instead"
1178
+ "hsv": {
1179
+ "$ref": "#/shapes/TSColorHsv/schema"
1246
1180
  },
1247
- "_status": {
1248
- "type": "string",
1249
- "title": "Status",
1250
- "oneOf": [
1251
- {
1252
- "enum": [
1253
- "r1uCfi4ZL",
1254
- "disabled"
1255
- ],
1256
- "title": "Disabled"
1257
- },
1258
- {
1259
- "enum": [
1260
- "rkhRGs4WL",
1261
- "enabled"
1262
- ],
1263
- "title": "Enabled"
1264
- }
1265
- ],
1266
- "@workflow": "default"
1181
+ "rgb": {
1182
+ "$ref": "#/shapes/TSColorRgb/schema"
1267
1183
  }
1268
- },
1269
- "required": [
1270
- "name"
1271
- ]
1184
+ }
1272
1185
  }
1273
1186
  },
1274
- "Post": {
1275
- "id": "rJoobhv8W",
1276
- "name": "Post",
1277
- "title": "Post",
1187
+ "Asset": {
1188
+ "id": "ASSET",
1189
+ "name": "Asset",
1190
+ "title": "Asset",
1278
1191
  "model": {
1279
1192
  "type": "multiple"
1280
1193
  },
1281
1194
  "schema": {
1282
1195
  "type": "object",
1283
1196
  "properties": {
1284
- "body": {
1197
+ "path": {
1198
+ "type": "string",
1199
+ "title": "Path",
1200
+ "@l10n": false,
1201
+ "minLength": 1,
1202
+ "@mapping": "takeshape:local:Asset.Hk6FQuz5"
1203
+ },
1204
+ "filename": {
1205
+ "type": "string",
1206
+ "title": "Filename",
1207
+ "@l10n": false,
1208
+ "minLength": 1,
1209
+ "@mapping": "takeshape:local:Asset.H1oYQOM9"
1210
+ },
1211
+ "description": {
1212
+ "type": "string",
1213
+ "title": "Description",
1214
+ "@mapping": "takeshape:local:Asset.B1Zsra3fx"
1215
+ },
1216
+ "caption": {
1285
1217
  "type": "object",
1286
- "title": "Body",
1287
- "@mapping": "takeshape:local:Post.rybsZhDU-",
1218
+ "title": "Caption",
1219
+ "@mapping": "takeshape:local:Asset.SyWVsd98x",
1288
1220
  "@tag": "draftjs"
1289
1221
  },
1290
- "featureImage": {
1291
- "title": "Feature Image",
1292
- "@mapping": "takeshape:local:Post.BybUznPIW",
1293
- "$ref": "#/shapes/TSRelationship/schema",
1294
- "@relationship": {
1295
- "shapeIds": [
1296
- "ASSET"
1297
- ],
1298
- "type": "single"
1299
- }
1222
+ "uploadStatus": {
1223
+ "type": "string",
1224
+ "title": "Upload status",
1225
+ "@l10n": false,
1226
+ "@mapping": "takeshape:local:Asset.ByeAYXdG9"
1227
+ },
1228
+ "mimeType": {
1229
+ "type": "string",
1230
+ "title": "MIME type",
1231
+ "@l10n": false,
1232
+ "@mapping": "takeshape:local:Asset.SyCYX_Gq"
1300
1233
  },
1301
1234
  "title": {
1302
1235
  "type": "string",
1303
1236
  "title": "Title",
1304
- "minLength": 1,
1305
- "@mapping": "takeshape:local:Post.BkJDGhw8W"
1237
+ "@mapping": "takeshape:local:Asset.By5tQOMc"
1306
1238
  },
1307
- "author": {
1308
- "title": "Author",
1309
- "@mapping": "takeshape:local:Post.rJgad7TLZ",
1239
+ "authorTag": {
1240
+ "title": "Author Tag",
1241
+ "@mapping": "takeshape:local:Asset.SyQiZrgdX",
1310
1242
  "$ref": "#/shapes/TSRelationship/schema",
1311
1243
  "@relationship": {
1312
1244
  "shapeIds": [
@@ -1315,25 +1247,17 @@
1315
1247
  "type": "single"
1316
1248
  }
1317
1249
  },
1318
- "deck": {
1319
- "type": "string",
1320
- "title": "Deck",
1321
- "minLength": 0,
1322
- "@mapping": "takeshape:local:Post.HkJzKRDUb"
1250
+ "credit": {
1251
+ "type": "object",
1252
+ "title": "Credit",
1253
+ "@mapping": "takeshape:local:Asset.Skn_i_5Ll",
1254
+ "@tag": "draftjs"
1323
1255
  },
1324
- "tags": {
1325
- "title": "Tags",
1326
- "@mapping": "takeshape:local:Post.Hkb57EkOQ",
1327
- "type": "array",
1328
- "items": {
1329
- "$ref": "#/shapes/TSRelationship/schema"
1330
- },
1331
- "@relationship": {
1332
- "shapeIds": [
1333
- "rJBYXVyuQ"
1334
- ],
1335
- "type": "multiple"
1336
- }
1256
+ "sourceUrl": {
1257
+ "type": "string",
1258
+ "title": "Source URL",
1259
+ "@l10n": false,
1260
+ "@mapping": "takeshape:local:Asset.SJXSidnXE"
1337
1261
  },
1338
1262
  "_id": {
1339
1263
  "title": "Id",
@@ -1409,43 +1333,130 @@
1409
1333
  }
1410
1334
  },
1411
1335
  "required": [
1412
- "title",
1413
- "featureImage"
1336
+ "filename",
1337
+ "path"
1414
1338
  ]
1415
1339
  }
1416
1340
  },
1417
- "Author": {
1418
- "id": "SJDIicDUZ",
1419
- "name": "Author",
1420
- "title": "Author",
1341
+ "TsStaticSite": {
1342
+ "id": "SITE",
1343
+ "name": "TsStaticSite",
1344
+ "title": "Static Site",
1421
1345
  "model": {
1422
- "type": "taxonomy"
1346
+ "type": "multiple"
1423
1347
  },
1424
1348
  "schema": {
1425
1349
  "type": "object",
1426
1350
  "properties": {
1427
- "name": {
1351
+ "title": {
1428
1352
  "type": "string",
1429
- "title": "Name",
1353
+ "title": "Title",
1354
+ "@l10n": false,
1430
1355
  "minLength": 1,
1431
- "@mapping": "takeshape:local:Author.Hk8NiqwLb"
1356
+ "@mapping": "takeshape:local:TsStaticSite.Ski9jLuXg"
1432
1357
  },
1433
- "photo": {
1434
- "title": "Photo",
1435
- "@mapping": "takeshape:local:Author.BkyFrpUcb",
1436
- "$ref": "#/shapes/TSRelationship/schema",
1437
- "@relationship": {
1438
- "shapeIds": [
1439
- "ASSET"
1440
- ],
1441
- "type": "single"
1358
+ "baseUrl": {
1359
+ "type": "string",
1360
+ "title": "Base URL",
1361
+ "@l10n": false,
1362
+ "minLength": 1,
1363
+ "@mapping": "takeshape:local:TsStaticSite.Bk3tNmrfE"
1364
+ },
1365
+ "provider": {
1366
+ "type": "string",
1367
+ "default": "s3",
1368
+ "title": "Provider",
1369
+ "@l10n": false,
1370
+ "oneOf": [
1371
+ {
1372
+ "enum": [
1373
+ "s3"
1374
+ ],
1375
+ "title": "S3"
1376
+ },
1377
+ {
1378
+ "enum": [
1379
+ "gcs"
1380
+ ],
1381
+ "title": "Google Cloud Storage"
1382
+ },
1383
+ {
1384
+ "enum": [
1385
+ "ftp"
1386
+ ],
1387
+ "title": "FTP Client"
1388
+ },
1389
+ {
1390
+ "enum": [
1391
+ "azure"
1392
+ ],
1393
+ "title": "Azure Storage Account"
1394
+ },
1395
+ {
1396
+ "enum": [
1397
+ "netlify"
1398
+ ],
1399
+ "title": "Netlify"
1400
+ },
1401
+ {
1402
+ "enum": [
1403
+ "vercel"
1404
+ ],
1405
+ "title": "Vercel"
1406
+ }
1407
+ ],
1408
+ "@mapping": "takeshape:local:TsStaticSite.SkwbT2hqe"
1409
+ },
1410
+ "idKey": {
1411
+ "type": "string",
1412
+ "title": "Id Key",
1413
+ "@l10n": false,
1414
+ "minLength": 1,
1415
+ "@mapping": "takeshape:local:TsStaticSite.SyRhi8_me"
1416
+ },
1417
+ "secretKey": {
1418
+ "type": "string",
1419
+ "title": "Secret Key",
1420
+ "@l10n": false,
1421
+ "@sensitive": true,
1422
+ "minLength": 1,
1423
+ "@mapping": "takeshape:local:TsStaticSite.BkIajLdXl"
1424
+ },
1425
+ "destination": {
1426
+ "type": "string",
1427
+ "title": "Destination",
1428
+ "@l10n": false,
1429
+ "minLength": 1,
1430
+ "@mapping": "takeshape:local:TsStaticSite.Hk6TsIdXl"
1431
+ },
1432
+ "privateAcl": {
1433
+ "type": "boolean",
1434
+ "title": "Private ACL",
1435
+ "@l10n": false,
1436
+ "@mapping": "takeshape:local:TsStaticSite.ByFe48wWU"
1437
+ },
1438
+ "environmentVariables": {
1439
+ "type": "array",
1440
+ "title": "Environment Variables",
1441
+ "@l10n": false,
1442
+ "items": {
1443
+ "$ref": "#/shapes/TsStaticSiteEnvironmentVariables/schema"
1444
+ },
1445
+ "@mapping": "takeshape:local:TsStaticSite.9fj4UiNxY"
1446
+ },
1447
+ "triggers": {
1448
+ "type": "array",
1449
+ "title": "Publish Triggers",
1450
+ "@l10n": false,
1451
+ "items": {
1452
+ "$ref": "#/shapes/TsStaticSiteTriggers/schema"
1442
1453
  }
1443
1454
  },
1444
- "biography": {
1445
- "type": "object",
1446
- "title": "Biography",
1447
- "@mapping": "takeshape:local:Author.S1tvt0Hq-",
1448
- "@tag": "draftjs"
1455
+ "templateHash": {
1456
+ "type": "string",
1457
+ "title": "Template Hash",
1458
+ "@l10n": false,
1459
+ "@mapping": "takeshape:local:TsStaticSite.S1QA3GYI8"
1449
1460
  },
1450
1461
  "_id": {
1451
1462
  "title": "Id",
@@ -1521,18 +1532,56 @@
1521
1532
  }
1522
1533
  },
1523
1534
  "required": [
1524
- "name",
1525
- "photo",
1526
- "biography"
1535
+ "title",
1536
+ "provider",
1537
+ "destination"
1527
1538
  ]
1528
1539
  }
1529
1540
  },
1530
- "Homepage": {
1531
- "id": "H1TFgJdIb",
1532
- "name": "Homepage",
1533
- "title": "Homepage",
1541
+ "TsStaticSiteEnvironmentVariables": {
1542
+ "id": "9fj4UiNxY",
1543
+ "name": "TsStaticSiteEnvironmentVariables",
1544
+ "title": "Static Site EnvironmentVariables",
1545
+ "schema": {
1546
+ "type": "object",
1547
+ "properties": {
1548
+ "name": {
1549
+ "type": "string",
1550
+ "title": "Name",
1551
+ "@mapping": "takeshape:local:TsStaticSite.J8sbHgfdI"
1552
+ },
1553
+ "value": {
1554
+ "type": "string",
1555
+ "title": "Value",
1556
+ "@mapping": "takeshape:local:TsStaticSite.ndhh88DvG"
1557
+ }
1558
+ }
1559
+ }
1560
+ },
1561
+ "TsStaticSiteTriggers": {
1562
+ "id": "TsStaticSiteTriggers",
1563
+ "name": "TsStaticSiteTriggers",
1564
+ "title": "Static Site Triggers",
1565
+ "schema": {
1566
+ "type": "object",
1567
+ "properties": {
1568
+ "contentTypeId": {
1569
+ "type": "string",
1570
+ "title": "Content Type"
1571
+ },
1572
+ "status": {
1573
+ "type": "string",
1574
+ "title": "Workflow Status"
1575
+ }
1576
+ }
1577
+ }
1578
+ },
1579
+ "Genre": {
1580
+ "id": "rJ9bZzk-m",
1581
+ "name": "Genre",
1582
+ "title": "Genre",
1534
1583
  "model": {
1535
- "type": "single"
1584
+ "type": "taxonomy"
1536
1585
  },
1537
1586
  "schema": {
1538
1587
  "type": "object",
@@ -1541,23 +1590,7 @@
1541
1590
  "type": "string",
1542
1591
  "title": "Title",
1543
1592
  "minLength": 0,
1544
- "@mapping": "takeshape:local:Homepage.BJfmu0OIZ"
1545
- },
1546
- "featuredBook": {
1547
- "title": "Featured Book",
1548
- "@mapping": "takeshape:local:Homepage.r1xPx1OUW",
1549
- "$ref": "#/shapes/TSRelationship/schema",
1550
- "@relationship": {
1551
- "shapeIds": [
1552
- "r166qcP8Z"
1553
- ],
1554
- "type": "single"
1555
- }
1556
- },
1557
- "hero": {
1558
- "title": "Hero",
1559
- "@mapping": "takeshape:local:Homepage.ry4VnCD8W",
1560
- "$ref": "#/shapes/HomepageHero/schema"
1593
+ "@mapping": "takeshape:local:Genre.SJgZZzJWm"
1561
1594
  },
1562
1595
  "_id": {
1563
1596
  "title": "Id",
@@ -1634,54 +1667,21 @@
1634
1667
  }
1635
1668
  }
1636
1669
  },
1637
- "HomepageHero": {
1638
- "id": "ry4VnCD8W",
1639
- "name": "HomepageHero",
1640
- "title": "Homepage Hero",
1641
- "schema": {
1642
- "type": "object",
1643
- "properties": {
1644
- "image": {
1645
- "title": "Image",
1646
- "@mapping": "takeshape:local:HomepageHero.H1vBnAv8-",
1647
- "$ref": "#/shapes/TSRelationship/schema",
1648
- "@relationship": {
1649
- "shapeIds": [
1650
- "ASSET"
1651
- ],
1652
- "type": "single"
1653
- }
1654
- },
1655
- "featuredPost": {
1656
- "title": "Featured Post",
1657
- "@mapping": "takeshape:local:HomepageHero.SJ1Xo0v8b",
1658
- "$ref": "#/shapes/TSRelationship/schema",
1659
- "@relationship": {
1660
- "shapeIds": [
1661
- "rJoobhv8W"
1662
- ],
1663
- "type": "single",
1664
- "relatedName": "heroFeaturedPost"
1665
- }
1666
- }
1667
- }
1668
- }
1669
- },
1670
- "SiteSettings": {
1671
- "id": "Skp0mAuUb",
1672
- "name": "SiteSettings",
1673
- "title": "Site Settings",
1670
+ "Tag": {
1671
+ "id": "rJBYXVyuQ",
1672
+ "name": "Tag",
1673
+ "title": "Tag",
1674
1674
  "model": {
1675
- "type": "single"
1675
+ "type": "taxonomy"
1676
1676
  },
1677
1677
  "schema": {
1678
1678
  "type": "object",
1679
1679
  "properties": {
1680
- "siteTitle": {
1680
+ "name": {
1681
1681
  "type": "string",
1682
- "title": "Site Title",
1683
- "minLength": 0,
1684
- "@mapping": "takeshape:local:SiteSettings.SkVAQA_8Z"
1682
+ "title": "Name",
1683
+ "minLength": 1,
1684
+ "@mapping": "takeshape:local:Tag.rkZYm41d7"
1685
1685
  },
1686
1686
  "_id": {
1687
1687
  "title": "Id",
@@ -1755,138 +1755,75 @@
1755
1755
  ],
1756
1756
  "@workflow": "default"
1757
1757
  }
1758
- }
1758
+ },
1759
+ "required": [
1760
+ "name"
1761
+ ]
1759
1762
  }
1760
1763
  },
1761
- "Book": {
1762
- "id": "r166qcP8Z",
1763
- "name": "Book",
1764
- "title": "Book",
1764
+ "Post": {
1765
+ "id": "rJoobhv8W",
1766
+ "name": "Post",
1767
+ "title": "Post",
1765
1768
  "model": {
1766
1769
  "type": "multiple"
1767
1770
  },
1768
- "resolvers": {
1769
- "rick-and-morty:Character": {
1770
- "mesh": {
1771
- "name": "graphql:query",
1772
- "service": "rick-and-morty",
1773
- "options": {
1774
- "fieldName": "character"
1775
- },
1776
- "argsMapping": {
1777
- "id": [
1778
- [
1779
- "jsonPath",
1780
- {
1781
- "path": "$.source.rickAndMortyCharacterId"
1782
- }
1783
- ]
1784
- ]
1785
- }
1786
- }
1787
- }
1788
- },
1789
1771
  "schema": {
1790
1772
  "type": "object",
1791
1773
  "properties": {
1792
- "title": {
1793
- "minLength": 1,
1794
- "type": "string",
1795
- "title": "Title",
1796
- "@mapping": "takeshape:local:Book.B1An5cwLb"
1797
- },
1798
- "rickAndMortyCharacterId": {
1799
- "type": "string",
1800
- "minLength": 0,
1801
- "description": "",
1802
- "title": "Rick and Morty Character Id",
1803
- "@mapping": "takeshape:local:Book.Tjcu80z08"
1804
- },
1805
- "rickAndMortyCharacterName": {
1806
- "type": "string",
1807
- "minLength": 0,
1808
- "description": "",
1809
- "title": "Rick and Morty Character Name",
1810
- "@mapping": "rick-and-morty:Character.name"
1811
- },
1812
- "rickAndMortyEpisode": {
1813
- "type": "array",
1814
- "items": {
1815
- "@ref": "rick-and-morty:Episode"
1816
- },
1817
- "@mapping": "rick-and-morty:Character.episode"
1818
- },
1819
- "genre": {
1820
- "$ref": "#/shapes/TSRelationship/schema",
1821
- "@relationship": {
1822
- "shapeIds": [
1823
- "rJ9bZzk-m"
1824
- ],
1825
- "type": "single",
1826
- "relatedName": "books"
1827
- },
1828
- "title": "Genre",
1829
- "@mapping": "takeshape:local:Book.B1E4ZMkW7"
1830
- },
1831
- "publishDate": {
1832
- "format": "date-time",
1833
- "type": "string",
1834
- "title": "Publish Date",
1835
- "@mapping": "takeshape:local:Book.BJtYLE5PZ"
1774
+ "body": {
1775
+ "type": "object",
1776
+ "title": "Body",
1777
+ "@mapping": "takeshape:local:Post.rybsZhDU-",
1778
+ "@tag": "draftjs"
1836
1779
  },
1837
- "coverImage": {
1780
+ "featureImage": {
1781
+ "title": "Feature Image",
1782
+ "@mapping": "takeshape:local:Post.BybUznPIW",
1838
1783
  "$ref": "#/shapes/TSRelationship/schema",
1839
1784
  "@relationship": {
1840
1785
  "shapeIds": [
1841
1786
  "ASSET"
1842
1787
  ],
1843
1788
  "type": "single"
1844
- },
1845
- "title": "Cover Image",
1846
- "@mapping": "takeshape:local:Book.SymsKiD8W"
1847
- },
1848
- "author": {
1849
- "$ref": "#/shapes/TSRelationship/schema",
1850
- "@relationship": {
1851
- "shapeIds": [
1852
- "SJDIicDUZ"
1853
- ],
1854
- "type": "single",
1855
- "relatedName": "authored"
1856
- },
1857
- "title": "Author",
1858
- "@mapping": "takeshape:local:Book.BJ7Xn5vLW"
1859
- },
1860
- "totalPages": {
1861
- "minimum": 1,
1862
- "type": "integer",
1863
- "title": "Total Pages",
1864
- "@mapping": "takeshape:local:Book.HkDXBoP8W"
1789
+ }
1865
1790
  },
1866
- "type": {
1791
+ "title": {
1867
1792
  "type": "string",
1868
- "oneOf": [
1869
- {
1870
- "title": "Hardcover",
1871
- "enum": [
1872
- "hardcover"
1873
- ]
1874
- },
1875
- {
1876
- "title": "Paperback",
1877
- "enum": [
1878
- "paperback"
1879
- ]
1880
- }
1881
- ],
1882
- "title": "Type",
1883
- "@mapping": "takeshape:local:Book.BJM2_ovUZ"
1793
+ "title": "Title",
1794
+ "minLength": 1,
1795
+ "@mapping": "takeshape:local:Post.BkJDGhw8W"
1796
+ },
1797
+ "author": {
1798
+ "title": "Author",
1799
+ "@mapping": "takeshape:local:Post.rJgad7TLZ",
1800
+ "$ref": "#/shapes/TSRelationship/schema",
1801
+ "@relationship": {
1802
+ "shapeIds": [
1803
+ "SJDIicDUZ"
1804
+ ],
1805
+ "type": "single"
1806
+ }
1884
1807
  },
1885
- "body": {
1886
- "type": "object",
1887
- "@tag": "draftjs",
1888
- "title": "Body",
1889
- "@mapping": "takeshape:local:Book.BJ4ZHov8-"
1808
+ "deck": {
1809
+ "type": "string",
1810
+ "title": "Deck",
1811
+ "minLength": 0,
1812
+ "@mapping": "takeshape:local:Post.HkJzKRDUb"
1813
+ },
1814
+ "tags": {
1815
+ "title": "Tags",
1816
+ "@mapping": "takeshape:local:Post.Hkb57EkOQ",
1817
+ "type": "array",
1818
+ "items": {
1819
+ "$ref": "#/shapes/TSRelationship/schema"
1820
+ },
1821
+ "@relationship": {
1822
+ "shapeIds": [
1823
+ "rJBYXVyuQ"
1824
+ ],
1825
+ "type": "multiple"
1826
+ }
1890
1827
  },
1891
1828
  "_id": {
1892
1829
  "title": "Id",
@@ -1963,736 +1900,778 @@
1963
1900
  },
1964
1901
  "required": [
1965
1902
  "title",
1966
- "author"
1903
+ "featureImage"
1967
1904
  ]
1968
- },
1969
- "workflow": "default"
1905
+ }
1970
1906
  },
1971
- "Rick_Episode": {
1972
- "name": "Rick_Episode",
1973
- "title": "Rick_Episode",
1974
- "id": "rickEpisode",
1907
+ "Author": {
1908
+ "id": "SJDIicDUZ",
1909
+ "name": "Author",
1910
+ "title": "Author",
1911
+ "model": {
1912
+ "type": "taxonomy"
1913
+ },
1975
1914
  "schema": {
1976
1915
  "type": "object",
1977
1916
  "properties": {
1978
- "id": {
1979
- "type": "string",
1980
- "@tag": "id",
1981
- "@mapping": "rick-and-morty:Rick_Episode.id",
1982
- "description": "The id of the episode."
1983
- },
1984
1917
  "name": {
1985
1918
  "type": "string",
1986
- "@mapping": "rick-and-morty:Rick_Episode.name",
1987
- "description": "The name of the episode."
1988
- },
1989
- "air_date": {
1990
- "type": "string",
1991
- "@mapping": "rick-and-morty:Rick_Episode.air_date",
1992
- "description": "The air date of the episode."
1919
+ "title": "Name",
1920
+ "minLength": 1,
1921
+ "@mapping": "takeshape:local:Author.Hk8NiqwLb"
1993
1922
  },
1994
- "episode": {
1995
- "type": "string",
1996
- "@mapping": "rick-and-morty:Rick_Episode.episode",
1997
- "description": "The code of the episode."
1923
+ "photo": {
1924
+ "title": "Photo",
1925
+ "@mapping": "takeshape:local:Author.BkyFrpUcb",
1926
+ "$ref": "#/shapes/TSRelationship/schema",
1927
+ "@relationship": {
1928
+ "shapeIds": [
1929
+ "ASSET"
1930
+ ],
1931
+ "type": "single"
1932
+ }
1998
1933
  },
1999
- "characters": {
2000
- "type": "array",
2001
- "items": {
2002
- "$ref": "#/shapes/Rick_Character/schema"
2003
- },
2004
- "@mapping": "rick-and-morty:Rick_Episode.characters",
2005
- "description": "List of characters who have been seen in the episode."
1934
+ "biography": {
1935
+ "type": "object",
1936
+ "title": "Biography",
1937
+ "@mapping": "takeshape:local:Author.S1tvt0Hq-",
1938
+ "@tag": "draftjs"
2006
1939
  },
2007
- "created": {
2008
- "type": "string",
2009
- "@mapping": "rick-and-morty:Rick_Episode.created",
2010
- "description": "Time at which the episode was created in the database."
2011
- }
2012
- }
2013
- }
2014
- },
2015
- "Rick_Character": {
2016
- "name": "Rick_Character",
2017
- "title": "Rick_Character",
2018
- "id": "rickCharacter",
2019
- "schema": {
2020
- "type": "object",
2021
- "properties": {
2022
- "id": {
2023
- "type": "string",
2024
- "@tag": "id",
2025
- "@mapping": "rick-and-morty:Rick_Character.id",
2026
- "description": "The id of the character."
1940
+ "_id": {
1941
+ "title": "Id",
1942
+ "type": "string"
2027
1943
  },
2028
- "name": {
2029
- "type": "string",
2030
- "@mapping": "rick-and-morty:Rick_Character.name",
2031
- "description": "The name of the character."
1944
+ "_version": {
1945
+ "title": "Version",
1946
+ "type": "integer"
2032
1947
  },
2033
- "status": {
2034
- "type": "string",
2035
- "@mapping": "rick-and-morty:Rick_Character.status",
2036
- "description": "The status of the character ('Alive', 'Dead' or 'unknown')."
1948
+ "_shapeId": {
1949
+ "title": "Shape Id",
1950
+ "type": "string"
2037
1951
  },
2038
- "species": {
2039
- "type": "string",
2040
- "@mapping": "rick-and-morty:Rick_Character.species",
2041
- "description": "The species of the character."
1952
+ "_shapeName": {
1953
+ "title": "Shape Name",
1954
+ "type": "string"
2042
1955
  },
2043
- "type": {
1956
+ "_createdAt": {
1957
+ "title": "Created",
2044
1958
  "type": "string",
2045
- "@mapping": "rick-and-morty:Rick_Character.type",
2046
- "description": "The type or subspecies of the character."
1959
+ "format": "date-time"
2047
1960
  },
2048
- "gender": {
1961
+ "_createdBy": {
1962
+ "title": "Created By",
2049
1963
  "type": "string",
2050
- "@mapping": "rick-and-morty:Rick_Character.gender",
2051
- "description": "The gender of the character ('Female', 'Male', 'Genderless' or 'unknown')."
2052
- },
2053
- "origin": {
2054
- "$ref": "#/shapes/Rick_Location/schema",
2055
- "description": "The character's origin location"
2056
- },
2057
- "location": {
2058
- "$ref": "#/shapes/Rick_Location/schema",
2059
- "description": "The character's last known location"
1964
+ "@user": true
2060
1965
  },
2061
- "image": {
1966
+ "_updatedAt": {
1967
+ "title": "Updated",
2062
1968
  "type": "string",
2063
- "@mapping": "rick-and-morty:Rick_Character.image",
2064
- "description": "Link to the character's image.\nAll images are 300x300px and most are medium shots or portraits since they are intended to be used as avatars."
2065
- },
2066
- "episode": {
2067
- "type": "array",
2068
- "items": {
2069
- "$ref": "#/shapes/Rick_Episode/schema"
2070
- },
2071
- "@mapping": "rick-and-morty:Rick_Character.episode",
2072
- "description": "Episodes in which this character appeared."
1969
+ "format": "date-time"
2073
1970
  },
2074
- "created": {
2075
- "type": "string",
2076
- "@mapping": "rick-and-morty:Rick_Character.created",
2077
- "description": "Time at which the character was created in the database."
2078
- }
2079
- }
2080
- }
2081
- },
2082
- "Rick_FilterCharacter": {
2083
- "name": "Rick_FilterCharacter",
2084
- "title": "Rick_FilterCharacter",
2085
- "id": "rickFilterCharacter",
2086
- "schema": {
2087
- "type": "object",
2088
- "properties": {
2089
- "name": {
1971
+ "_updatedBy": {
1972
+ "title": "Updated By",
2090
1973
  "type": "string",
2091
- "@mapping": "rick-and-morty:Rick_FilterCharacter.name"
1974
+ "@user": true
2092
1975
  },
2093
- "status": {
2094
- "type": "string",
2095
- "@mapping": "rick-and-morty:Rick_FilterCharacter.status"
1976
+ "_schemaVersion": {
1977
+ "title": "Schema Version",
1978
+ "type": "number"
2096
1979
  },
2097
- "species": {
2098
- "type": "string",
2099
- "@mapping": "rick-and-morty:Rick_FilterCharacter.species"
1980
+ "_enabled": {
1981
+ "title": "Enabled",
1982
+ "type": "boolean",
1983
+ "@deprecationReason": "Use _status instead"
2100
1984
  },
2101
- "type": {
1985
+ "_enabledAt": {
1986
+ "title": "Enabled Date",
2102
1987
  "type": "string",
2103
- "@mapping": "rick-and-morty:Rick_FilterCharacter.type"
1988
+ "format": "date-time",
1989
+ "@deprecationReason": "Use a custom date field instead"
2104
1990
  },
2105
- "gender": {
1991
+ "_status": {
2106
1992
  "type": "string",
2107
- "@mapping": "rick-and-morty:Rick_FilterCharacter.gender"
2108
- }
2109
- }
2110
- }
2111
- },
2112
- "Rick_Characters": {
2113
- "name": "Rick_Characters",
2114
- "title": "Rick_Characters",
2115
- "id": "rickCharacters",
2116
- "schema": {
2117
- "type": "object",
2118
- "properties": {
2119
- "info": {
2120
- "$ref": "#/shapes/Rick_Info/schema"
2121
- },
2122
- "results": {
2123
- "type": "array",
2124
- "items": {
2125
- "$ref": "#/shapes/Rick_Character/schema"
2126
- },
2127
- "@mapping": "rick-and-morty:Rick_Characters.results"
1993
+ "title": "Status",
1994
+ "oneOf": [
1995
+ {
1996
+ "enum": [
1997
+ "r1uCfi4ZL",
1998
+ "disabled"
1999
+ ],
2000
+ "title": "Disabled"
2001
+ },
2002
+ {
2003
+ "enum": [
2004
+ "rkhRGs4WL",
2005
+ "enabled"
2006
+ ],
2007
+ "title": "Enabled"
2008
+ }
2009
+ ],
2010
+ "@workflow": "default"
2128
2011
  }
2129
- }
2012
+ },
2013
+ "required": [
2014
+ "name",
2015
+ "photo",
2016
+ "biography"
2017
+ ]
2130
2018
  }
2131
2019
  },
2132
- "Rick_Location": {
2133
- "name": "Rick_Location",
2134
- "title": "Rick_Location",
2135
- "id": "rickLocation",
2020
+ "Homepage": {
2021
+ "id": "H1TFgJdIb",
2022
+ "name": "Homepage",
2023
+ "title": "Homepage",
2024
+ "model": {
2025
+ "type": "single"
2026
+ },
2136
2027
  "schema": {
2137
2028
  "type": "object",
2138
2029
  "properties": {
2139
- "id": {
2030
+ "title": {
2140
2031
  "type": "string",
2141
- "@tag": "id",
2142
- "@mapping": "rick-and-morty:Rick_Location.id",
2143
- "description": "The id of the location."
2032
+ "title": "Title",
2033
+ "minLength": 0,
2034
+ "@mapping": "takeshape:local:Homepage.BJfmu0OIZ"
2144
2035
  },
2145
- "name": {
2036
+ "featuredBook": {
2037
+ "title": "Featured Book",
2038
+ "@mapping": "takeshape:local:Homepage.r1xPx1OUW",
2039
+ "$ref": "#/shapes/TSRelationship/schema",
2040
+ "@relationship": {
2041
+ "shapeIds": [
2042
+ "r166qcP8Z"
2043
+ ],
2044
+ "type": "single"
2045
+ }
2046
+ },
2047
+ "hero": {
2048
+ "title": "Hero",
2049
+ "@mapping": "takeshape:local:Homepage.ry4VnCD8W",
2050
+ "$ref": "#/shapes/HomepageHero/schema"
2051
+ },
2052
+ "_id": {
2053
+ "title": "Id",
2054
+ "type": "string"
2055
+ },
2056
+ "_version": {
2057
+ "title": "Version",
2058
+ "type": "integer"
2059
+ },
2060
+ "_shapeId": {
2061
+ "title": "Shape Id",
2062
+ "type": "string"
2063
+ },
2064
+ "_shapeName": {
2065
+ "title": "Shape Name",
2066
+ "type": "string"
2067
+ },
2068
+ "_createdAt": {
2069
+ "title": "Created",
2146
2070
  "type": "string",
2147
- "@mapping": "rick-and-morty:Rick_Location.name",
2148
- "description": "The name of the location."
2071
+ "format": "date-time"
2149
2072
  },
2150
- "type": {
2073
+ "_createdBy": {
2074
+ "title": "Created By",
2151
2075
  "type": "string",
2152
- "@mapping": "rick-and-morty:Rick_Location.type",
2153
- "description": "The type of the location."
2076
+ "@user": true
2154
2077
  },
2155
- "dimension": {
2078
+ "_updatedAt": {
2079
+ "title": "Updated",
2156
2080
  "type": "string",
2157
- "@mapping": "rick-and-morty:Rick_Location.dimension",
2158
- "description": "The dimension in which the location is located."
2081
+ "format": "date-time"
2159
2082
  },
2160
- "residents": {
2161
- "type": "array",
2162
- "items": {
2163
- "$ref": "#/shapes/Rick_Character/schema"
2164
- },
2165
- "@mapping": "rick-and-morty:Rick_Location.residents",
2166
- "description": "List of characters who have been last seen in the location."
2083
+ "_updatedBy": {
2084
+ "title": "Updated By",
2085
+ "type": "string",
2086
+ "@user": true
2167
2087
  },
2168
- "created": {
2088
+ "_schemaVersion": {
2089
+ "title": "Schema Version",
2090
+ "type": "number"
2091
+ },
2092
+ "_enabled": {
2093
+ "title": "Enabled",
2094
+ "type": "boolean",
2095
+ "@deprecationReason": "Use _status instead"
2096
+ },
2097
+ "_enabledAt": {
2098
+ "title": "Enabled Date",
2169
2099
  "type": "string",
2170
- "@mapping": "rick-and-morty:Rick_Location.created",
2171
- "description": "Time at which the location was created in the database."
2100
+ "format": "date-time",
2101
+ "@deprecationReason": "Use a custom date field instead"
2102
+ },
2103
+ "_status": {
2104
+ "type": "string",
2105
+ "title": "Status",
2106
+ "oneOf": [
2107
+ {
2108
+ "enum": [
2109
+ "r1uCfi4ZL",
2110
+ "disabled"
2111
+ ],
2112
+ "title": "Disabled"
2113
+ },
2114
+ {
2115
+ "enum": [
2116
+ "rkhRGs4WL",
2117
+ "enabled"
2118
+ ],
2119
+ "title": "Enabled"
2120
+ }
2121
+ ],
2122
+ "@workflow": "default"
2172
2123
  }
2173
2124
  }
2174
2125
  }
2175
2126
  },
2176
- "Rick_Info": {
2177
- "name": "Rick_Info",
2178
- "title": "Rick_Info",
2179
- "id": "rickInfo",
2127
+ "HomepageHero": {
2128
+ "id": "ry4VnCD8W",
2129
+ "name": "HomepageHero",
2130
+ "title": "Homepage Hero",
2180
2131
  "schema": {
2181
2132
  "type": "object",
2182
2133
  "properties": {
2183
- "count": {
2184
- "type": "integer",
2185
- "@mapping": "rick-and-morty:Rick_Info.count",
2186
- "description": "The length of the response."
2187
- },
2188
- "pages": {
2189
- "type": "integer",
2190
- "@mapping": "rick-and-morty:Rick_Info.pages",
2191
- "description": "The amount of pages."
2192
- },
2193
- "next": {
2194
- "type": "integer",
2195
- "@mapping": "rick-and-morty:Rick_Info.next",
2196
- "description": "Number of the next page (if it exists)"
2134
+ "image": {
2135
+ "title": "Image",
2136
+ "@mapping": "takeshape:local:HomepageHero.H1vBnAv8-",
2137
+ "$ref": "#/shapes/TSRelationship/schema",
2138
+ "@relationship": {
2139
+ "shapeIds": [
2140
+ "ASSET"
2141
+ ],
2142
+ "type": "single"
2143
+ }
2197
2144
  },
2198
- "prev": {
2199
- "type": "integer",
2200
- "@mapping": "rick-and-morty:Rick_Info.prev",
2201
- "description": "Number of the previous page (if it exists)"
2145
+ "featuredPost": {
2146
+ "title": "Featured Post",
2147
+ "@mapping": "takeshape:local:HomepageHero.SJ1Xo0v8b",
2148
+ "$ref": "#/shapes/TSRelationship/schema",
2149
+ "@relationship": {
2150
+ "shapeIds": [
2151
+ "rJoobhv8W"
2152
+ ],
2153
+ "type": "single",
2154
+ "relatedName": "heroFeaturedPost"
2155
+ }
2202
2156
  }
2203
2157
  }
2204
2158
  }
2205
- }
2206
- },
2207
- "forms": {
2208
- "Asset": {
2209
- "default": {
2159
+ },
2160
+ "SiteSettings": {
2161
+ "id": "Skp0mAuUb",
2162
+ "name": "SiteSettings",
2163
+ "title": "Site Settings",
2164
+ "model": {
2165
+ "type": "single"
2166
+ },
2167
+ "schema": {
2168
+ "type": "object",
2210
2169
  "properties": {
2211
- "path": {
2212
- "widget": "singleLineText",
2213
- "disabled": true
2214
- },
2215
- "filename": {
2216
- "widget": "singleLineText",
2217
- "disabled": true
2218
- },
2219
- "description": {
2220
- "widget": "paragraphText",
2221
- "disabled": true
2222
- },
2223
- "caption": {
2224
- "widget": "wysiwygSingleLineText",
2225
- "disabled": true
2226
- },
2227
- "uploadStatus": {
2228
- "widget": "singleLineText",
2229
- "disabled": true
2230
- },
2231
- "mimeType": {
2232
- "widget": "singleLineText",
2233
- "disabled": true
2234
- },
2235
- "title": {
2236
- "widget": "singleLineText",
2237
- "disabled": true
2238
- },
2239
- "authorTag": {
2240
- "widget": "relationship"
2170
+ "siteTitle": {
2171
+ "type": "string",
2172
+ "title": "Site Title",
2173
+ "minLength": 0,
2174
+ "@mapping": "takeshape:local:SiteSettings.SkVAQA_8Z"
2241
2175
  },
2242
- "credit": {
2243
- "widget": "wysiwygSingleLineText",
2244
- "disabled": true
2176
+ "_id": {
2177
+ "title": "Id",
2178
+ "type": "string"
2245
2179
  },
2246
- "sourceUrl": {
2247
- "widget": "singleLineText",
2248
- "disabled": true
2249
- }
2250
- },
2251
- "order": [
2252
- "title",
2253
- "authorTag",
2254
- "description",
2255
- "caption",
2256
- "credit",
2257
- "filename",
2258
- "path",
2259
- "mimeType",
2260
- "uploadStatus",
2261
- "sourceUrl"
2262
- ]
2263
- }
2264
- },
2265
- "TsStaticSite": {
2266
- "default": {
2267
- "order": [
2268
- "title",
2269
- "provider",
2270
- "destination",
2271
- "idKey",
2272
- "secretKey",
2273
- "environmentVariables"
2274
- ],
2275
- "properties": {
2276
- "title": {
2277
- "widget": "singleLineText",
2278
- "disabled": true
2180
+ "_version": {
2181
+ "title": "Version",
2182
+ "type": "integer"
2279
2183
  },
2280
- "provider": {
2281
- "widget": "dropdown",
2282
- "disabled": true
2184
+ "_shapeId": {
2185
+ "title": "Shape Id",
2186
+ "type": "string"
2283
2187
  },
2284
- "destination": {
2285
- "widget": "singleLineText",
2286
- "instructions": "Deployment Bucket or FTP Host",
2287
- "disabled": true
2188
+ "_shapeName": {
2189
+ "title": "Shape Name",
2190
+ "type": "string"
2288
2191
  },
2289
- "idKey": {
2290
- "widget": "singleLineText",
2291
- "instructions": "AWS Access Key ID or Google Cloud Storage Client Email or FTP Username",
2292
- "disabled": true
2192
+ "_createdAt": {
2193
+ "title": "Created",
2194
+ "type": "string",
2195
+ "format": "date-time"
2293
2196
  },
2294
- "secretKey": {
2295
- "widget": "sensitiveField",
2296
- "instructions": "AWS Secret Access Key or Google Cloud Storage Private Key or FTP Password",
2297
- "multiline": true,
2298
- "disabled": true
2197
+ "_createdBy": {
2198
+ "title": "Created By",
2199
+ "type": "string",
2200
+ "@user": true
2299
2201
  },
2300
- "environmentVariables": {
2301
- "widget": "repeater",
2302
- "order": [
2303
- "name",
2304
- "value"
2305
- ],
2306
- "disabled": true,
2307
- "properties": {
2308
- "name": {
2309
- "widget": "singleLineText",
2310
- "disabled": true
2202
+ "_updatedAt": {
2203
+ "title": "Updated",
2204
+ "type": "string",
2205
+ "format": "date-time"
2206
+ },
2207
+ "_updatedBy": {
2208
+ "title": "Updated By",
2209
+ "type": "string",
2210
+ "@user": true
2211
+ },
2212
+ "_schemaVersion": {
2213
+ "title": "Schema Version",
2214
+ "type": "number"
2215
+ },
2216
+ "_enabled": {
2217
+ "title": "Enabled",
2218
+ "type": "boolean",
2219
+ "@deprecationReason": "Use _status instead"
2220
+ },
2221
+ "_enabledAt": {
2222
+ "title": "Enabled Date",
2223
+ "type": "string",
2224
+ "format": "date-time",
2225
+ "@deprecationReason": "Use a custom date field instead"
2226
+ },
2227
+ "_status": {
2228
+ "type": "string",
2229
+ "title": "Status",
2230
+ "oneOf": [
2231
+ {
2232
+ "enum": [
2233
+ "r1uCfi4ZL",
2234
+ "disabled"
2235
+ ],
2236
+ "title": "Disabled"
2311
2237
  },
2312
- "value": {
2313
- "widget": "singleLineText",
2314
- "disabled": true
2238
+ {
2239
+ "enum": [
2240
+ "rkhRGs4WL",
2241
+ "enabled"
2242
+ ],
2243
+ "title": "Enabled"
2315
2244
  }
2316
- }
2245
+ ],
2246
+ "@workflow": "default"
2317
2247
  }
2318
2248
  }
2249
+ }
2250
+ },
2251
+ "Book": {
2252
+ "id": "r166qcP8Z",
2253
+ "name": "Book",
2254
+ "title": "Book",
2255
+ "model": {
2256
+ "type": "multiple"
2319
2257
  },
2320
- "generalHeader": {
2321
- "order": [
2322
- "title",
2323
- "provider",
2324
- "baseUrl"
2325
- ],
2258
+ "workflow": "default",
2259
+ "schema": {
2260
+ "type": "object",
2326
2261
  "properties": {
2327
2262
  "title": {
2328
- "widget": "singleLineText",
2329
- "disabled": true
2263
+ "minLength": 1,
2264
+ "type": "string",
2265
+ "title": "Title",
2266
+ "@mapping": "takeshape:local:Book.B1An5cwLb"
2330
2267
  },
2331
- "provider": {
2332
- "widget": "dropdown",
2333
- "disabled": true
2268
+ "rickAndMortyCharacterId": {
2269
+ "type": "string",
2270
+ "minLength": 0,
2271
+ "description": "",
2272
+ "title": "Rick and Morty Character Id",
2273
+ "@mapping": "takeshape:local:Book.Tjcu80z08"
2334
2274
  },
2335
- "baseUrl": {
2336
- "widget": "singleLineText",
2337
- "disabled": true
2338
- }
2339
- }
2340
- },
2341
- "generalFooter": {
2342
- "order": [
2343
- "environmentVariables",
2344
- "triggers"
2345
- ],
2346
- "properties": {
2347
- "environmentVariables": {
2348
- "widget": "repeater",
2349
- "order": [
2350
- "name",
2351
- "value"
2352
- ],
2353
- "disabled": true,
2354
- "properties": {
2355
- "name": {
2356
- "widget": "singleLineText",
2357
- "disabled": true
2358
- },
2359
- "value": {
2360
- "widget": "singleLineText",
2361
- "disabled": true
2362
- }
2363
- }
2275
+ "rickAndMortyCharacterName": {
2276
+ "type": "string",
2277
+ "minLength": 0,
2278
+ "description": "",
2279
+ "title": "Rick and Morty Character Name",
2280
+ "@mapping": "rick-and-morty:Character.name"
2364
2281
  },
2365
- "triggers": {
2366
- "widget": "repeater",
2367
- "order": [
2368
- "contentTypeId",
2369
- "status"
2370
- ],
2371
- "disabled": true,
2372
- "preview": "siteTriggerPreview",
2373
- "properties": {
2374
- "contentTypeId": {
2375
- "widget": "dropdown",
2376
- "disabled": true
2282
+ "rickAndMortyEpisode": {
2283
+ "type": "array",
2284
+ "items": {
2285
+ "@ref": "rick-and-morty:Episode"
2286
+ },
2287
+ "@mapping": "rick-and-morty:Character.episode"
2288
+ },
2289
+ "genre": {
2290
+ "$ref": "#/shapes/TSRelationship/schema",
2291
+ "@relationship": {
2292
+ "shapeIds": [
2293
+ "rJ9bZzk-m"
2294
+ ],
2295
+ "type": "single",
2296
+ "relatedName": "books"
2297
+ },
2298
+ "title": "Genre",
2299
+ "@mapping": "takeshape:local:Book.B1E4ZMkW7"
2300
+ },
2301
+ "publishDate": {
2302
+ "format": "date-time",
2303
+ "type": "string",
2304
+ "title": "Publish Date",
2305
+ "@mapping": "takeshape:local:Book.BJtYLE5PZ"
2306
+ },
2307
+ "coverImage": {
2308
+ "$ref": "#/shapes/TSRelationship/schema",
2309
+ "@relationship": {
2310
+ "shapeIds": [
2311
+ "ASSET"
2312
+ ],
2313
+ "type": "single"
2314
+ },
2315
+ "title": "Cover Image",
2316
+ "@mapping": "takeshape:local:Book.SymsKiD8W"
2317
+ },
2318
+ "author": {
2319
+ "$ref": "#/shapes/TSRelationship/schema",
2320
+ "@relationship": {
2321
+ "shapeIds": [
2322
+ "SJDIicDUZ"
2323
+ ],
2324
+ "type": "single",
2325
+ "relatedName": "authored"
2326
+ },
2327
+ "title": "Author",
2328
+ "@mapping": "takeshape:local:Book.BJ7Xn5vLW"
2329
+ },
2330
+ "totalPages": {
2331
+ "minimum": 1,
2332
+ "type": "integer",
2333
+ "title": "Total Pages",
2334
+ "@mapping": "takeshape:local:Book.HkDXBoP8W"
2335
+ },
2336
+ "type": {
2337
+ "type": "string",
2338
+ "oneOf": [
2339
+ {
2340
+ "title": "Hardcover",
2341
+ "enum": [
2342
+ "hardcover"
2343
+ ]
2377
2344
  },
2378
- "status": {
2379
- "widget": "dropdown",
2380
- "disabled": true
2345
+ {
2346
+ "title": "Paperback",
2347
+ "enum": [
2348
+ "paperback"
2349
+ ]
2381
2350
  }
2382
- }
2383
- }
2384
- }
2385
- },
2386
- "s3": {
2387
- "order": [
2388
- "destination",
2389
- "idKey",
2390
- "secretKey",
2391
- "privateAcl"
2392
- ],
2393
- "properties": {
2394
- "destination": {
2395
- "widget": "singleLineText",
2396
- "instructions": "Deployment Bucket Name",
2397
- "disabled": true
2351
+ ],
2352
+ "title": "Type",
2353
+ "@mapping": "takeshape:local:Book.BJM2_ovUZ"
2354
+ },
2355
+ "body": {
2356
+ "type": "object",
2357
+ "@tag": "draftjs",
2358
+ "title": "Body",
2359
+ "@mapping": "takeshape:local:Book.BJ4ZHov8-"
2398
2360
  },
2399
- "idKey": {
2400
- "widget": "singleLineText",
2401
- "instructions": "AWS Access Key ID",
2402
- "disabled": true
2361
+ "_id": {
2362
+ "title": "Id",
2363
+ "type": "string"
2403
2364
  },
2404
- "secretKey": {
2405
- "widget": "sensitiveField",
2406
- "instructions": "AWS Secret Access Key",
2407
- "multiline": true,
2408
- "disabled": true
2365
+ "_version": {
2366
+ "title": "Version",
2367
+ "type": "integer"
2409
2368
  },
2410
- "privateAcl": {
2411
- "widget": "checkbox",
2412
- "instructions": "Disable public access to deployed files. This is useful when fronting S3 with CloudFront or with \"Block All Public Access\"",
2413
- "disabled": true
2414
- }
2415
- }
2416
- },
2417
- "gcs": {
2418
- "order": [
2419
- "destination",
2420
- "idKey",
2421
- "secretKey",
2422
- "privateAcl"
2423
- ],
2424
- "properties": {
2425
- "destination": {
2426
- "widget": "singleLineText",
2427
- "instructions": "Deployment Bucket Name",
2428
- "disabled": true
2369
+ "_shapeId": {
2370
+ "title": "Shape Id",
2371
+ "type": "string"
2429
2372
  },
2430
- "idKey": {
2431
- "widget": "singleLineText",
2432
- "instructions": "Google Cloud Storage Client Email",
2433
- "disabled": true
2373
+ "_shapeName": {
2374
+ "title": "Shape Name",
2375
+ "type": "string"
2434
2376
  },
2435
- "secretKey": {
2436
- "widget": "sensitiveField",
2437
- "instructions": "Google Cloud Storage Private Key",
2438
- "multiline": true,
2439
- "disabled": true
2377
+ "_createdAt": {
2378
+ "title": "Created",
2379
+ "type": "string",
2380
+ "format": "date-time"
2440
2381
  },
2441
- "privateAcl": {
2442
- "widget": "checkbox",
2443
- "instructions": "Disable public access to deployed files.",
2444
- "disabled": true
2445
- }
2446
- }
2447
- },
2448
- "ftp": {
2449
- "order": [
2450
- "destination",
2451
- "idKey",
2452
- "secretKey"
2453
- ],
2454
- "properties": {
2455
- "destination": {
2456
- "widget": "singleLineText",
2457
- "instructions": "FTP Host",
2458
- "disabled": true
2382
+ "_createdBy": {
2383
+ "title": "Created By",
2384
+ "type": "string",
2385
+ "@user": true
2459
2386
  },
2460
- "idKey": {
2461
- "widget": "singleLineText",
2462
- "instructions": "FTP Username",
2463
- "disabled": true
2387
+ "_updatedAt": {
2388
+ "title": "Updated",
2389
+ "type": "string",
2390
+ "format": "date-time"
2464
2391
  },
2465
- "secretKey": {
2466
- "widget": "sensitiveField",
2467
- "instructions": "FTP Password",
2468
- "multiline": true,
2469
- "disabled": true
2470
- }
2471
- }
2472
- },
2473
- "azure": {
2474
- "order": [
2475
- "destination",
2476
- "secretKey"
2477
- ],
2478
- "properties": {
2479
- "destination": {
2480
- "widget": "singleLineText",
2481
- "instructions": "Storage Account Name",
2482
- "disabled": true
2392
+ "_updatedBy": {
2393
+ "title": "Updated By",
2394
+ "type": "string",
2395
+ "@user": true
2483
2396
  },
2484
- "secretKey": {
2485
- "widget": "sensitiveField",
2486
- "instructions": "Access key",
2487
- "multiline": true,
2488
- "disabled": true
2489
- }
2490
- }
2491
- },
2492
- "netlify": {
2493
- "order": [
2494
- "destination"
2495
- ],
2496
- "properties": {
2497
- "destination": {
2498
- "widget": "publishTargets",
2499
- "itemTemplate": "siteDropdownItem",
2500
- "instructions": "Choose existing or create a new site.",
2501
- "disabled": true
2502
- }
2503
- }
2504
- },
2505
- "vercel": {
2506
- "order": [
2507
- "destination"
2508
- ],
2509
- "properties": {
2510
- "destination": {
2511
- "widget": "publishTargets",
2512
- "itemTemplate": "siteDropdownItem",
2513
- "instructions": "Choose existing or create a new project.",
2514
- "disabled": true
2515
- }
2516
- }
2517
- }
2518
- },
2519
- "Genre": {
2520
- "default": {
2521
- "properties": {
2522
- "title": {
2523
- "widget": "singleLineText"
2397
+ "_schemaVersion": {
2398
+ "title": "Schema Version",
2399
+ "type": "number"
2400
+ },
2401
+ "_enabled": {
2402
+ "title": "Enabled",
2403
+ "type": "boolean",
2404
+ "@deprecationReason": "Use _status instead"
2405
+ },
2406
+ "_enabledAt": {
2407
+ "title": "Enabled Date",
2408
+ "type": "string",
2409
+ "format": "date-time",
2410
+ "@deprecationReason": "Use a custom date field instead"
2411
+ },
2412
+ "_status": {
2413
+ "type": "string",
2414
+ "title": "Status",
2415
+ "oneOf": [
2416
+ {
2417
+ "enum": [
2418
+ "r1uCfi4ZL",
2419
+ "disabled"
2420
+ ],
2421
+ "title": "Disabled"
2422
+ },
2423
+ {
2424
+ "enum": [
2425
+ "rkhRGs4WL",
2426
+ "enabled"
2427
+ ],
2428
+ "title": "Enabled"
2429
+ }
2430
+ ],
2431
+ "@workflow": "default"
2524
2432
  }
2525
2433
  },
2526
- "order": [
2527
- "title"
2434
+ "required": [
2435
+ "title",
2436
+ "author"
2528
2437
  ]
2529
2438
  }
2530
2439
  },
2531
- "Tag": {
2532
- "default": {
2440
+ "Rick_Episode": {
2441
+ "name": "Rick_Episode",
2442
+ "title": "Rick_Episode",
2443
+ "id": "rickEpisode",
2444
+ "schema": {
2445
+ "type": "object",
2533
2446
  "properties": {
2447
+ "id": {
2448
+ "type": "string",
2449
+ "@tag": "id",
2450
+ "@mapping": "rick-and-morty:Rick_Episode.id",
2451
+ "description": "The id of the episode."
2452
+ },
2534
2453
  "name": {
2535
- "widget": "singleLineText"
2454
+ "type": "string",
2455
+ "@mapping": "rick-and-morty:Rick_Episode.name",
2456
+ "description": "The name of the episode."
2457
+ },
2458
+ "air_date": {
2459
+ "type": "string",
2460
+ "@mapping": "rick-and-morty:Rick_Episode.air_date",
2461
+ "description": "The air date of the episode."
2462
+ },
2463
+ "episode": {
2464
+ "type": "string",
2465
+ "@mapping": "rick-and-morty:Rick_Episode.episode",
2466
+ "description": "The code of the episode."
2467
+ },
2468
+ "characters": {
2469
+ "type": "array",
2470
+ "items": {
2471
+ "$ref": "#/shapes/Rick_Character/schema"
2472
+ },
2473
+ "@mapping": "rick-and-morty:Rick_Episode.characters",
2474
+ "description": "List of characters who have been seen in the episode."
2475
+ },
2476
+ "created": {
2477
+ "type": "string",
2478
+ "@mapping": "rick-and-morty:Rick_Episode.created",
2479
+ "description": "Time at which the episode was created in the database."
2536
2480
  }
2537
- },
2538
- "order": [
2539
- "name"
2540
- ]
2481
+ }
2541
2482
  }
2542
2483
  },
2543
- "Post": {
2544
- "default": {
2484
+ "Rick_Character": {
2485
+ "name": "Rick_Character",
2486
+ "title": "Rick_Character",
2487
+ "id": "rickCharacter",
2488
+ "schema": {
2489
+ "type": "object",
2545
2490
  "properties": {
2546
- "body": {
2547
- "widget": "wysiwygText"
2491
+ "id": {
2492
+ "type": "string",
2493
+ "@tag": "id",
2494
+ "@mapping": "rick-and-morty:Rick_Character.id",
2495
+ "description": "The id of the character."
2496
+ },
2497
+ "name": {
2498
+ "type": "string",
2499
+ "@mapping": "rick-and-morty:Rick_Character.name",
2500
+ "description": "The name of the character."
2548
2501
  },
2549
- "featureImage": {
2550
- "widget": "image"
2502
+ "status": {
2503
+ "type": "string",
2504
+ "@mapping": "rick-and-morty:Rick_Character.status",
2505
+ "description": "The status of the character ('Alive', 'Dead' or 'unknown')."
2551
2506
  },
2552
- "title": {
2553
- "widget": "singleLineText"
2507
+ "species": {
2508
+ "type": "string",
2509
+ "@mapping": "rick-and-morty:Rick_Character.species",
2510
+ "description": "The species of the character."
2554
2511
  },
2555
- "author": {
2556
- "widget": "relationship"
2512
+ "type": {
2513
+ "type": "string",
2514
+ "@mapping": "rick-and-morty:Rick_Character.type",
2515
+ "description": "The type or subspecies of the character."
2557
2516
  },
2558
- "deck": {
2559
- "widget": "paragraphText"
2517
+ "gender": {
2518
+ "type": "string",
2519
+ "@mapping": "rick-and-morty:Rick_Character.gender",
2520
+ "description": "The gender of the character ('Female', 'Male', 'Genderless' or 'unknown')."
2560
2521
  },
2561
- "tags": {
2562
- "widget": "relationship"
2522
+ "origin": {
2523
+ "$ref": "#/shapes/Rick_Location/schema",
2524
+ "description": "The character's origin location"
2525
+ },
2526
+ "location": {
2527
+ "$ref": "#/shapes/Rick_Location/schema",
2528
+ "description": "The character's last known location"
2529
+ },
2530
+ "image": {
2531
+ "type": "string",
2532
+ "@mapping": "rick-and-morty:Rick_Character.image",
2533
+ "description": "Link to the character's image.\nAll images are 300x300px and most are medium shots or portraits since they are intended to be used as avatars."
2534
+ },
2535
+ "episode": {
2536
+ "type": "array",
2537
+ "items": {
2538
+ "$ref": "#/shapes/Rick_Episode/schema"
2539
+ },
2540
+ "@mapping": "rick-and-morty:Rick_Character.episode",
2541
+ "description": "Episodes in which this character appeared."
2542
+ },
2543
+ "created": {
2544
+ "type": "string",
2545
+ "@mapping": "rick-and-morty:Rick_Character.created",
2546
+ "description": "Time at which the character was created in the database."
2563
2547
  }
2564
- },
2565
- "order": [
2566
- "title",
2567
- "deck",
2568
- "tags",
2569
- "author",
2570
- "featureImage",
2571
- "body"
2572
- ]
2548
+ }
2573
2549
  }
2574
2550
  },
2575
- "Author": {
2576
- "default": {
2551
+ "Rick_FilterCharacter": {
2552
+ "name": "Rick_FilterCharacter",
2553
+ "title": "Rick_FilterCharacter",
2554
+ "id": "rickFilterCharacter",
2555
+ "schema": {
2556
+ "type": "object",
2577
2557
  "properties": {
2578
2558
  "name": {
2579
- "widget": "singleLineText"
2559
+ "type": "string",
2560
+ "@mapping": "rick-and-morty:Rick_FilterCharacter.name"
2580
2561
  },
2581
- "photo": {
2582
- "widget": "image"
2562
+ "status": {
2563
+ "type": "string",
2564
+ "@mapping": "rick-and-morty:Rick_FilterCharacter.status"
2583
2565
  },
2584
- "biography": {
2585
- "widget": "wysiwygText"
2586
- }
2587
- },
2588
- "order": [
2589
- "name",
2590
- "photo",
2591
- "biography"
2592
- ]
2593
- }
2594
- },
2595
- "Homepage": {
2596
- "default": {
2597
- "properties": {
2598
- "title": {
2599
- "widget": "singleLineText"
2566
+ "species": {
2567
+ "type": "string",
2568
+ "@mapping": "rick-and-morty:Rick_FilterCharacter.species"
2600
2569
  },
2601
- "featuredBook": {
2602
- "widget": "relationship"
2570
+ "type": {
2571
+ "type": "string",
2572
+ "@mapping": "rick-and-morty:Rick_FilterCharacter.type"
2603
2573
  },
2604
- "hero": {
2605
- "properties": {
2606
- "image": {
2607
- "widget": "image"
2608
- },
2609
- "featuredPost": {
2610
- "widget": "relationship"
2611
- }
2612
- },
2613
- "widget": "object",
2614
- "order": [
2615
- "image",
2616
- "featuredPost"
2617
- ]
2574
+ "gender": {
2575
+ "type": "string",
2576
+ "@mapping": "rick-and-morty:Rick_FilterCharacter.gender"
2618
2577
  }
2619
- },
2620
- "order": [
2621
- "title",
2622
- "hero",
2623
- "featuredBook"
2624
- ]
2578
+ }
2625
2579
  }
2626
2580
  },
2627
- "SiteSettings": {
2628
- "default": {
2581
+ "Rick_Characters": {
2582
+ "name": "Rick_Characters",
2583
+ "title": "Rick_Characters",
2584
+ "id": "rickCharacters",
2585
+ "schema": {
2586
+ "type": "object",
2629
2587
  "properties": {
2630
- "siteTitle": {
2631
- "widget": "singleLineText"
2588
+ "info": {
2589
+ "$ref": "#/shapes/Rick_Info/schema"
2590
+ },
2591
+ "results": {
2592
+ "type": "array",
2593
+ "items": {
2594
+ "$ref": "#/shapes/Rick_Character/schema"
2595
+ },
2596
+ "@mapping": "rick-and-morty:Rick_Characters.results"
2632
2597
  }
2633
- },
2634
- "order": [
2635
- "siteTitle"
2636
- ]
2598
+ }
2637
2599
  }
2638
2600
  },
2639
- "Book": {
2640
- "default": {
2601
+ "Rick_Location": {
2602
+ "name": "Rick_Location",
2603
+ "title": "Rick_Location",
2604
+ "id": "rickLocation",
2605
+ "schema": {
2606
+ "type": "object",
2641
2607
  "properties": {
2642
- "title": {
2643
- "widget": "singleLineText"
2608
+ "id": {
2609
+ "type": "string",
2610
+ "@tag": "id",
2611
+ "@mapping": "rick-and-morty:Rick_Location.id",
2612
+ "description": "The id of the location."
2644
2613
  },
2645
- "rickAndMortyCharacterId": {
2646
- "widget": "singleLineText"
2614
+ "name": {
2615
+ "type": "string",
2616
+ "@mapping": "rick-and-morty:Rick_Location.name",
2617
+ "description": "The name of the location."
2647
2618
  },
2648
- "genre": {
2649
- "widget": "relationship"
2619
+ "type": {
2620
+ "type": "string",
2621
+ "@mapping": "rick-and-morty:Rick_Location.type",
2622
+ "description": "The type of the location."
2650
2623
  },
2651
- "publishDate": {
2652
- "widget": "datetime"
2624
+ "dimension": {
2625
+ "type": "string",
2626
+ "@mapping": "rick-and-morty:Rick_Location.dimension",
2627
+ "description": "The dimension in which the location is located."
2653
2628
  },
2654
- "coverImage": {
2655
- "widget": "image"
2629
+ "residents": {
2630
+ "type": "array",
2631
+ "items": {
2632
+ "$ref": "#/shapes/Rick_Character/schema"
2633
+ },
2634
+ "@mapping": "rick-and-morty:Rick_Location.residents",
2635
+ "description": "List of characters who have been last seen in the location."
2656
2636
  },
2657
- "author": {
2658
- "widget": "relationship"
2637
+ "created": {
2638
+ "type": "string",
2639
+ "@mapping": "rick-and-morty:Rick_Location.created",
2640
+ "description": "Time at which the location was created in the database."
2641
+ }
2642
+ }
2643
+ }
2644
+ },
2645
+ "Rick_Info": {
2646
+ "name": "Rick_Info",
2647
+ "title": "Rick_Info",
2648
+ "id": "rickInfo",
2649
+ "schema": {
2650
+ "type": "object",
2651
+ "properties": {
2652
+ "count": {
2653
+ "type": "integer",
2654
+ "@mapping": "rick-and-morty:Rick_Info.count",
2655
+ "description": "The length of the response."
2659
2656
  },
2660
- "totalPages": {
2661
- "widget": "number"
2657
+ "pages": {
2658
+ "type": "integer",
2659
+ "@mapping": "rick-and-morty:Rick_Info.pages",
2660
+ "description": "The amount of pages."
2662
2661
  },
2663
- "type": {
2664
- "widget": "dropdown"
2662
+ "next": {
2663
+ "type": "integer",
2664
+ "@mapping": "rick-and-morty:Rick_Info.next",
2665
+ "description": "Number of the next page (if it exists)"
2665
2666
  },
2666
- "body": {
2667
- "widget": "wysiwygText"
2667
+ "prev": {
2668
+ "type": "integer",
2669
+ "@mapping": "rick-and-morty:Rick_Info.prev",
2670
+ "description": "Number of the previous page (if it exists)"
2668
2671
  }
2669
- },
2670
- "order": [
2671
- "title",
2672
- "rickAndMortyCharacterId",
2673
- "genre",
2674
- "publishDate",
2675
- "coverImage",
2676
- "author",
2677
- "totalPages",
2678
- "type",
2679
- "body"
2680
- ]
2681
- }
2682
- }
2683
- },
2684
- "services": {
2685
- "rick-and-morty": {
2686
- "id": "rick-and-morty",
2687
- "title": "Rick And Morty",
2688
- "namespace": "Rick",
2689
- "serviceType": "rest",
2690
- "provider": "generic",
2691
- "authenticationType": "none",
2692
- "options": {
2693
- "endpoint": "https://rickandmortyapi.com/api"
2672
+ }
2694
2673
  }
2695
2674
  }
2696
2675
  },
2697
- "dataKey": "secret"
2698
- }
2676
+ "schemaVersion": "3.10.0"
2677
+ }