directus-template-cli 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/lib/api.d.ts +1 -0
  2. package/dist/lib/api.js +10 -5
  3. package/oclif.manifest.json +1 -1
  4. package/package.json +10 -9
  5. package/templates/agencyos/README.md +11 -0
  6. package/templates/agencyos/package.json +11 -0
  7. package/templates/agencyos/src/assets/004e37f7-765e-4339-8d44-987729e47898.png +0 -0
  8. package/templates/agencyos/src/assets/08177527-b867-47e9-b5d5-eab146b3cdba.jpg +0 -0
  9. package/templates/agencyos/src/assets/08242513-ca8f-471f-b69b-82703a19d1e5.svg +14 -0
  10. package/templates/agencyos/src/assets/0dfe66dd-ceba-4dca-8907-03b2dda49443.svg +1 -0
  11. package/templates/agencyos/src/assets/12e02b82-b4a4-4aaf-8ca4-e73c20a41c26.jpeg +0 -0
  12. package/templates/agencyos/src/assets/18bf5269-9986-48c7-b607-01b77283df3b.png +0 -0
  13. package/templates/agencyos/src/assets/1f19dd72-a433-481d-9b51-e3cc8e4f33d3.svg +1 -0
  14. package/templates/agencyos/src/assets/1f69c0b8-19b7-49d7-b420-bedad577a079.png +0 -0
  15. package/templates/agencyos/src/assets/270fa8d1-45a3-4fcb-87d2-27a0248f1daf.jpg +0 -0
  16. package/templates/agencyos/src/assets/27f55be1-7ef5-47c4-87ba-ab9a060ab270.jpeg +0 -0
  17. package/templates/agencyos/src/assets/35a67f1b-d401-4300-a503-b8e583186f2a.svg +11 -0
  18. package/templates/agencyos/src/assets/3eff7dc2-445a-47c5-9503-3f600ecdb5c6.jpeg +0 -0
  19. package/templates/agencyos/src/assets/4b31c98e-ec03-4b91-bb18-ef55dd199638.jpg +0 -0
  20. package/templates/agencyos/src/assets/50aa7259-f9ae-4aa5-aea0-f5f698ce3f4f.png +0 -0
  21. package/templates/agencyos/src/assets/643faffb-d41d-48ad-9050-881cf495cbb6.jpg +0 -0
  22. package/templates/agencyos/src/assets/6464e61f-455a-4b47-b623-bb12e5251dfe.jpeg +0 -0
  23. package/templates/agencyos/src/assets/6789bc72-ab83-40bf-8152-d6f2bafbc2a8.png +0 -0
  24. package/templates/agencyos/src/assets/68103296-6634-4d66-918a-04b09afe6621.jpeg +0 -0
  25. package/templates/agencyos/src/assets/690c2042-e3ad-46f4-9cd8-095a7b3a1df7.svg +3 -0
  26. package/templates/agencyos/src/assets/6a1ca349-d7ab-4f43-9284-c61671e145f2.svg +22 -0
  27. package/templates/agencyos/src/assets/6dad2008-3af5-407e-827e-da5744223181.svg +1 -0
  28. package/templates/agencyos/src/assets/7775c53a-6c2c-453d-8c22-8b5445121d10.jpeg +0 -0
  29. package/templates/agencyos/src/assets/7a5b47f6-d648-48f9-bf93-4bfafda48940.png +0 -0
  30. package/templates/agencyos/src/assets/87fc0e81-45e4-4c05-8e9a-8e5c759d7aae.png +0 -0
  31. package/templates/agencyos/src/assets/8f748634-d77b-4985-b27e-7e1f3559881a.jpeg +0 -0
  32. package/templates/agencyos/src/assets/9778a2b4-27de-4035-af5a-f58897578787.png +0 -0
  33. package/templates/agencyos/src/assets/a104c031-6ad2-4148-ace6-052e28cfda0b.svg +1 -0
  34. package/templates/agencyos/src/assets/b3038911-da85-4865-8035-e48522bcbb8c.svg +4 -0
  35. package/templates/agencyos/src/assets/bbc40e9b-c107-49d4-9c4b-05821816d457.jpg +0 -0
  36. package/templates/agencyos/src/assets/c983bd13-da09-4c90-8e65-ae6a92093df8.png +0 -0
  37. package/templates/agencyos/src/assets/d0130348-9ead-49d0-b8e7-871cd43921a0.svg +1 -0
  38. package/templates/agencyos/src/assets/d4fd6edc-4cc5-48c1-8bc7-e646924bbdca.jpeg +0 -0
  39. package/templates/agencyos/src/assets/d598a4c0-4e9a-44a3-a72e-49564e34a432.jpg +0 -0
  40. package/templates/agencyos/src/assets/dfa90758-9700-49e4-8fa2-b6cd074811b7.png +0 -0
  41. package/templates/agencyos/src/assets/e15ca910-1567-4f15-b5a0-b802da67f228.jpg +0 -0
  42. package/templates/agencyos/src/assets/f1693c44-52e4-4fae-a7d2-b3153a34eb72.jpg +0 -0
  43. package/templates/agencyos/src/collections.json +1983 -0
  44. package/templates/agencyos/src/content/block_cardgroup.json +14 -0
  45. package/templates/agencyos/src/content/block_cardgroup_cards.json +1 -0
  46. package/templates/agencyos/src/content/block_cardgroup_posts.json +32 -0
  47. package/templates/agencyos/src/content/block_columns.json +21 -0
  48. package/templates/agencyos/src/content/block_columns_rows.json +47 -0
  49. package/templates/agencyos/src/content/block_cta.json +15 -0
  50. package/templates/agencyos/src/content/block_faqs.json +45 -0
  51. package/templates/agencyos/src/content/block_form.json +26 -0
  52. package/templates/agencyos/src/content/block_gallery.json +14 -0
  53. package/templates/agencyos/src/content/block_gallery_files.json +38 -0
  54. package/templates/agencyos/src/content/block_hero.json +124 -0
  55. package/templates/agencyos/src/content/block_html.json +1 -0
  56. package/templates/agencyos/src/content/block_logocloud.json +13 -0
  57. package/templates/agencyos/src/content/block_logocloud_files.json +56 -0
  58. package/templates/agencyos/src/content/block_quote.json +11 -0
  59. package/templates/agencyos/src/content/block_richtext.json +32 -0
  60. package/templates/agencyos/src/content/block_steps.json +14 -0
  61. package/templates/agencyos/src/content/block_steps_items.json +26 -0
  62. package/templates/agencyos/src/content/block_team.json +8 -0
  63. package/templates/agencyos/src/content/block_testimonials.json +12 -0
  64. package/templates/agencyos/src/content/block_testimonials_items.json +26 -0
  65. package/templates/agencyos/src/content/block_video.json +10 -0
  66. package/templates/agencyos/src/content/blog_settings.json +8 -0
  67. package/templates/agencyos/src/content/categories.json +38 -0
  68. package/templates/agencyos/src/content/chat_config.json +39 -0
  69. package/templates/agencyos/src/content/conversations.json +11 -0
  70. package/templates/agencyos/src/content/events.json +1 -0
  71. package/templates/agencyos/src/content/forms.json +92 -0
  72. package/templates/agencyos/src/content/globals.json +64 -0
  73. package/templates/agencyos/src/content/help_articles.json +152 -0
  74. package/templates/agencyos/src/content/help_collections.json +42 -0
  75. package/templates/agencyos/src/content/help_feedback.json +14 -0
  76. package/templates/agencyos/src/content/inbox.json +1 -0
  77. package/templates/agencyos/src/content/messages.json +1 -0
  78. package/templates/agencyos/src/content/metrics.json +1 -0
  79. package/templates/agencyos/src/content/navigation.json +30 -0
  80. package/templates/agencyos/src/content/navigation_items.json +155 -0
  81. package/templates/agencyos/src/content/pages.json +107 -0
  82. package/templates/agencyos/src/content/pages_blocks.json +310 -0
  83. package/templates/agencyos/src/content/posts.json +110 -0
  84. package/templates/agencyos/src/content/projects.json +70 -0
  85. package/templates/agencyos/src/content/projects_files.json +1 -0
  86. package/templates/agencyos/src/content/projects_settings.json +6 -0
  87. package/templates/agencyos/src/content/redirects.json +12 -0
  88. package/templates/agencyos/src/content/seo.json +497 -0
  89. package/templates/agencyos/src/content/team.json +109 -0
  90. package/templates/agencyos/src/content/testimonials.json +50 -0
  91. package/templates/agencyos/src/dashboards.json +25 -0
  92. package/templates/agencyos/src/fields.json +28516 -0
  93. package/templates/agencyos/src/files.json +830 -0
  94. package/templates/agencyos/src/flows.json +134 -0
  95. package/templates/agencyos/src/folders.json +52 -0
  96. package/templates/agencyos/src/operations.json +214 -0
  97. package/templates/agencyos/src/panels.json +383 -0
  98. package/templates/agencyos/src/permissions.json +1047 -0
  99. package/templates/agencyos/src/presets.json +2213 -0
  100. package/templates/agencyos/src/public-permissions.json +663 -0
  101. package/templates/agencyos/src/roles.json +62 -0
  102. package/templates/agencyos/src/schema/snapshot.json +19519 -0
  103. package/templates/agencyos/src/settings.json +77 -0
  104. package/templates/agencyos/src/users.json +170 -0
@@ -0,0 +1,383 @@
1
+ [
2
+ {
3
+ "id": "1479ba5f-eebf-4f3f-b9bb-fbe6c409b376",
4
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
5
+ "name": null,
6
+ "icon": null,
7
+ "color": null,
8
+ "show_header": false,
9
+ "note": null,
10
+ "type": "label",
11
+ "position_x": 1,
12
+ "position_y": 3,
13
+ "width": 30,
14
+ "height": 6,
15
+ "options": {
16
+ "text": "Content Workflow",
17
+ "color": "#18222F"
18
+ },
19
+ "date_created": "2023-06-14T10:24:23.478Z",
20
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
21
+ },
22
+ {
23
+ "id": "2565b21e-cfed-417a-a21b-f5520be8707f",
24
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
25
+ "name": "",
26
+ "icon": null,
27
+ "color": null,
28
+ "show_header": false,
29
+ "note": null,
30
+ "type": "label",
31
+ "position_x": 1,
32
+ "position_y": 41,
33
+ "width": 30,
34
+ "height": 6,
35
+ "options": {
36
+ "text": "Alerts",
37
+ "color": "#E35169"
38
+ },
39
+ "date_created": "2023-06-14T10:24:23.690Z",
40
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
41
+ },
42
+ {
43
+ "id": "3987050b-48e4-41a6-9a31-c8fc388160a4",
44
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
45
+ "name": "Posts In Review",
46
+ "icon": "preview",
47
+ "color": "#FFA439",
48
+ "show_header": true,
49
+ "note": null,
50
+ "type": "list",
51
+ "position_x": 1,
52
+ "position_y": 30,
53
+ "width": 30,
54
+ "height": 9,
55
+ "options": {
56
+ "collection": "posts",
57
+ "displayTemplate": "{{title}} - {{author.avatar}} {{author.first_name}} {{author.last_name}}",
58
+ "filter": {
59
+ "_and": [
60
+ {
61
+ "status": {
62
+ "_eq": "in_review"
63
+ }
64
+ }
65
+ ]
66
+ },
67
+ "limit": 10,
68
+ "linkToItem": true
69
+ },
70
+ "date_created": "2023-06-14T10:24:23.784Z",
71
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
72
+ },
73
+ {
74
+ "id": "5d0adedb-c78e-44c2-b43a-f50b2526dd32",
75
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
76
+ "name": "Date To",
77
+ "icon": "date_range",
78
+ "color": "#A2B5CD",
79
+ "show_header": true,
80
+ "note": null,
81
+ "type": "variable",
82
+ "position_x": 16,
83
+ "position_y": 9,
84
+ "width": 15,
85
+ "height": 6,
86
+ "options": {
87
+ "field": "date_to",
88
+ "type": "dateTime",
89
+ "inter": "datetime",
90
+ "defaultValue": "{{$NOW}}",
91
+ "options": {
92
+ "use24": false
93
+ }
94
+ },
95
+ "date_created": "2023-06-14T10:24:23.994Z",
96
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
97
+ },
98
+ {
99
+ "id": "6210699c-365d-4715-9d3f-1cd91bf86145",
100
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
101
+ "name": "In Review",
102
+ "icon": null,
103
+ "color": "#FFC23B",
104
+ "show_header": true,
105
+ "note": null,
106
+ "type": "metric",
107
+ "position_x": 11,
108
+ "position_y": 24,
109
+ "width": 10,
110
+ "height": 6,
111
+ "options": {
112
+ "collection": "posts",
113
+ "field": "id",
114
+ "function": "count",
115
+ "filter": {
116
+ "_and": [
117
+ {
118
+ "status": {
119
+ "_eq": "in_review"
120
+ }
121
+ }
122
+ ]
123
+ },
124
+ "conditionalFormatting": [
125
+ {
126
+ "operator": ">=",
127
+ "value": 0,
128
+ "color": "#FFC23B"
129
+ }
130
+ ]
131
+ },
132
+ "date_created": "2023-06-14T10:24:24.089Z",
133
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
134
+ },
135
+ {
136
+ "id": "69b49682-9dd8-49e0-bed1-7151beb4be96",
137
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
138
+ "name": "Posts Missing Thumbnail",
139
+ "icon": "warning",
140
+ "color": "#E35169",
141
+ "show_header": true,
142
+ "note": "These posts are missing a thumbnail image.",
143
+ "type": "list",
144
+ "position_x": 16,
145
+ "position_y": 65,
146
+ "width": 15,
147
+ "height": 18,
148
+ "options": {
149
+ "collection": "posts",
150
+ "linkToItem": true,
151
+ "filter": {
152
+ "_and": [
153
+ {
154
+ "image": {
155
+ "id": {
156
+ "_null": true
157
+ }
158
+ }
159
+ }
160
+ ]
161
+ },
162
+ "sortField": null,
163
+ "displayTemplate": "{{title}}",
164
+ "limit": -1
165
+ },
166
+ "date_created": "2023-06-14T10:24:24.195Z",
167
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
168
+ },
169
+ {
170
+ "id": "926a7632-c7f3-4da7-bc61-c6d4fb4fe900",
171
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
172
+ "name": "Published Over Time",
173
+ "icon": null,
174
+ "color": "#FF99DD",
175
+ "show_header": true,
176
+ "note": null,
177
+ "type": "time-series",
178
+ "position_x": 1,
179
+ "position_y": 15,
180
+ "width": 30,
181
+ "height": 9,
182
+ "options": {
183
+ "collection": "posts",
184
+ "function": "count",
185
+ "dateField": "date_published",
186
+ "range": "3 months",
187
+ "precision": "day",
188
+ "valueField": "id",
189
+ "color": "#FF99DD"
190
+ },
191
+ "date_created": "2023-06-14T10:24:24.291Z",
192
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
193
+ },
194
+ {
195
+ "id": "bab08465-6abb-43ac-9ce0-c2b65b8a12b5",
196
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
197
+ "name": "Pages Missing SEO Data",
198
+ "icon": "warning",
199
+ "color": "#E35169",
200
+ "show_header": true,
201
+ "note": "These pages are missing SEO Title or Meta Description",
202
+ "type": "list",
203
+ "position_x": 1,
204
+ "position_y": 47,
205
+ "width": 15,
206
+ "height": 18,
207
+ "options": {
208
+ "collection": "pages",
209
+ "linkToItem": true,
210
+ "filter": {
211
+ "_and": [
212
+ {
213
+ "_or": [
214
+ {
215
+ "seo": {
216
+ "title": {
217
+ "_empty": true
218
+ }
219
+ }
220
+ },
221
+ {
222
+ "seo": {
223
+ "meta_description": {
224
+ "_empty": true
225
+ }
226
+ }
227
+ }
228
+ ]
229
+ }
230
+ ]
231
+ },
232
+ "sortField": "title",
233
+ "displayTemplate": "{{title}}",
234
+ "limit": -1
235
+ },
236
+ "date_created": "2023-06-14T10:24:24.387Z",
237
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
238
+ },
239
+ {
240
+ "id": "c7963278-b862-4ded-954e-019ebf88271a",
241
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
242
+ "name": "Posts Missing SEO Data",
243
+ "icon": "warning",
244
+ "color": "#E35169",
245
+ "show_header": true,
246
+ "note": "These posts are missing SEO Title or Meta Description",
247
+ "type": "list",
248
+ "position_x": 16,
249
+ "position_y": 47,
250
+ "width": 15,
251
+ "height": 18,
252
+ "options": {
253
+ "collection": "posts",
254
+ "linkToItem": true,
255
+ "filter": {
256
+ "_and": [
257
+ {
258
+ "_or": [
259
+ {
260
+ "seo": {
261
+ "title": {
262
+ "_empty": true
263
+ }
264
+ }
265
+ },
266
+ {
267
+ "seo": {
268
+ "meta_description": {
269
+ "_empty": true
270
+ }
271
+ }
272
+ }
273
+ ]
274
+ }
275
+ ]
276
+ },
277
+ "sortField": null,
278
+ "displayTemplate": "{{title}}",
279
+ "limit": -1
280
+ },
281
+ "date_created": "2023-06-14T10:24:24.486Z",
282
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
283
+ },
284
+ {
285
+ "id": "c92b79b3-2bc5-4be7-b83e-95c588463d3c",
286
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
287
+ "name": "Date From",
288
+ "icon": "date_range",
289
+ "color": "#A2B5CD",
290
+ "show_header": true,
291
+ "note": null,
292
+ "type": "variable",
293
+ "position_x": 1,
294
+ "position_y": 9,
295
+ "width": 15,
296
+ "height": 6,
297
+ "options": {
298
+ "field": "date_from",
299
+ "type": "dateTime",
300
+ "inter": "datetime",
301
+ "defaultValue": "2023-01-01T12:00:00",
302
+ "options": {
303
+ "use24": false
304
+ }
305
+ },
306
+ "date_created": "2023-06-14T10:24:24.587Z",
307
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
308
+ },
309
+ {
310
+ "id": "e85f38ea-8eb7-4b28-a877-39dda66140c6",
311
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
312
+ "name": "Draft",
313
+ "icon": null,
314
+ "color": "#A2B5CD",
315
+ "show_header": true,
316
+ "note": null,
317
+ "type": "metric",
318
+ "position_x": 1,
319
+ "position_y": 24,
320
+ "width": 10,
321
+ "height": 6,
322
+ "options": {
323
+ "collection": "posts",
324
+ "field": "id",
325
+ "function": "count",
326
+ "filter": {
327
+ "_and": [
328
+ {
329
+ "status": {
330
+ "_eq": "draft"
331
+ }
332
+ }
333
+ ]
334
+ },
335
+ "conditionalFormatting": [
336
+ {
337
+ "operator": ">=",
338
+ "value": 0,
339
+ "color": "#A2B5CD"
340
+ }
341
+ ]
342
+ },
343
+ "date_created": "2023-06-14T10:24:24.691Z",
344
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
345
+ },
346
+ {
347
+ "id": "e99840a1-d366-40ae-94ce-84f963191322",
348
+ "dashboard": "013b1a80-b551-475a-bbd8-119f1e1e9134",
349
+ "name": "Published",
350
+ "icon": null,
351
+ "color": "#2ECDA7",
352
+ "show_header": true,
353
+ "note": null,
354
+ "type": "metric",
355
+ "position_x": 21,
356
+ "position_y": 24,
357
+ "width": 10,
358
+ "height": 6,
359
+ "options": {
360
+ "collection": "posts",
361
+ "field": "id",
362
+ "function": "count",
363
+ "filter": {
364
+ "_and": [
365
+ {
366
+ "status": {
367
+ "_eq": "published"
368
+ }
369
+ }
370
+ ]
371
+ },
372
+ "conditionalFormatting": [
373
+ {
374
+ "operator": ">=",
375
+ "value": 0,
376
+ "color": "#2ECDA7"
377
+ }
378
+ ]
379
+ },
380
+ "date_created": "2023-06-14T10:24:24.791Z",
381
+ "user_created": "18910817-e86f-4193-a194-1fb62a8c626d"
382
+ }
383
+ ]