directus-template-cli 0.1.0 → 0.1.2

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 (111) hide show
  1. package/README.md +2 -2
  2. package/dist/commands/apply.js +3 -1
  3. package/dist/lib/load/load-flows.js +1 -1
  4. package/dist/lib/load/load-schema.js +1 -1
  5. package/oclif.manifest.json +1 -1
  6. package/package.json +3 -3
  7. package/templates/website/README.md +15 -0
  8. package/templates/website/package.json +11 -0
  9. package/templates/website/src/assets/004e37f7-765e-4339-8d44-987729e47898.png +0 -0
  10. package/templates/website/src/assets/008b1c0e-bdd3-4c5f-a029-b9c07582a42d.jpg +0 -0
  11. package/templates/website/src/assets/08177527-b867-47e9-b5d5-eab146b3cdba.jpg +0 -0
  12. package/templates/website/src/assets/0dfe66dd-ceba-4dca-8907-03b2dda49443.svg +1 -0
  13. package/templates/website/src/assets/12e02b82-b4a4-4aaf-8ca4-e73c20a41c26.jpeg +0 -0
  14. package/templates/website/src/assets/18bf5269-9986-48c7-b607-01b77283df3b.png +0 -0
  15. package/templates/website/src/assets/1f19dd72-a433-481d-9b51-e3cc8e4f33d3.svg +1 -0
  16. package/templates/website/src/assets/270fa8d1-45a3-4fcb-87d2-27a0248f1daf.jpg +0 -0
  17. package/templates/website/src/assets/27f55be1-7ef5-47c4-87ba-ab9a060ab270.jpeg +0 -0
  18. package/templates/website/src/assets/284c190b-0ebb-4b3e-847d-c260b793b77c.png +0 -0
  19. package/templates/website/src/assets/35a67f1b-d401-4300-a503-b8e583186f2a.svg +11 -0
  20. package/templates/website/src/assets/3ac899c4-4bf9-4733-b2c4-b259c69faf46.png +0 -0
  21. package/templates/website/src/assets/3eff7dc2-445a-47c5-9503-3f600ecdb5c6.jpeg +0 -0
  22. package/templates/website/src/assets/40a0a417-231e-4819-86bf-66e96ec64852.svg +3 -0
  23. package/templates/website/src/assets/45140116-7656-4226-99b6-fd750722a083.svg +3 -0
  24. package/templates/website/src/assets/4b31c98e-ec03-4b91-bb18-ef55dd199638.jpg +0 -0
  25. package/templates/website/src/assets/57c6e801-9ba1-46eb-beb7-96cf7c497c92.svg +1 -0
  26. package/templates/website/src/assets/643faffb-d41d-48ad-9050-881cf495cbb6.jpg +0 -0
  27. package/templates/website/src/assets/6464e61f-455a-4b47-b623-bb12e5251dfe.jpeg +0 -0
  28. package/templates/website/src/assets/68103296-6634-4d66-918a-04b09afe6621.jpeg +0 -0
  29. package/templates/website/src/assets/68ee3ce3-bc8e-4901-b3a6-8a23afda0fa0.jpg +0 -0
  30. package/templates/website/src/assets/6dad2008-3af5-407e-827e-da5744223181.svg +1 -0
  31. package/templates/website/src/assets/72eea8c7-72fe-4ef2-9e57-524f7cb886a4.jpg +0 -0
  32. package/templates/website/src/assets/72f6f5a0-9a07-422f-b82f-b9e295ce5afa.svg +4 -0
  33. package/templates/website/src/assets/7775c53a-6c2c-453d-8c22-8b5445121d10.jpeg +0 -0
  34. package/templates/website/src/assets/7834aacc-d78c-4a55-ba92-d7b5d74188c1.png +0 -0
  35. package/templates/website/src/assets/7a5b47f6-d648-48f9-bf93-4bfafda48940.png +0 -0
  36. package/templates/website/src/assets/7c04cbdd-4b48-41aa-94d7-fc7c17373b1a.png +0 -0
  37. package/templates/website/src/assets/82b872b1-ff96-4af6-b7f1-878e60c3c448.png +0 -0
  38. package/templates/website/src/assets/840ec616-acad-412e-be79-485a702f9a55.svg +1 -0
  39. package/templates/website/src/assets/87fc0e81-45e4-4c05-8e9a-8e5c759d7aae.png +0 -0
  40. package/templates/website/src/assets/8bc1e7b3-b795-46af-bac4-34f7d90b902f.JPG +0 -0
  41. package/templates/website/src/assets/8f748634-d77b-4985-b27e-7e1f3559881a.jpeg +0 -0
  42. package/templates/website/src/assets/9778a2b4-27de-4035-af5a-f58897578787.png +0 -0
  43. package/templates/website/src/assets/a104c031-6ad2-4148-ace6-052e28cfda0b.svg +1 -0
  44. package/templates/website/src/assets/b626a403-5f09-4463-9715-44b2bd34eb26.jpg +0 -0
  45. package/templates/website/src/assets/c38f6e9e-7bb5-46c7-8266-b27ab96a1282.png +0 -0
  46. package/templates/website/src/assets/c983bd13-da09-4c90-8e65-ae6a92093df8.png +0 -0
  47. package/templates/website/src/assets/d0130348-9ead-49d0-b8e7-871cd43921a0.svg +1 -0
  48. package/templates/website/src/assets/d304528e-9000-4530-92cf-bb04891e8d5d.jpg +0 -0
  49. package/templates/website/src/assets/d4fd6edc-4cc5-48c1-8bc7-e646924bbdca.jpeg +0 -0
  50. package/templates/website/src/assets/d598a4c0-4e9a-44a3-a72e-49564e34a432.jpg +0 -0
  51. package/templates/website/src/assets/dfa90758-9700-49e4-8fa2-b6cd074811b7.png +0 -0
  52. package/templates/website/src/assets/e15ca910-1567-4f15-b5a0-b802da67f228.jpg +0 -0
  53. package/templates/website/src/assets/ea18cbf2-3c4f-488b-a68c-2d3a64cc9137.png +0 -0
  54. package/templates/website/src/assets/eb8e4c86-92ac-4697-9634-2e376f5d6015.png +0 -0
  55. package/templates/website/src/assets/f1693c44-52e4-4fae-a7d2-b3153a34eb72.jpg +0 -0
  56. package/templates/website/src/collections.json +1788 -0
  57. package/templates/website/src/content/block_cardgroup.json +26 -0
  58. package/templates/website/src/content/block_cardgroup_cards.json +1 -0
  59. package/templates/website/src/content/block_cardgroup_posts.json +32 -0
  60. package/templates/website/src/content/block_columns.json +21 -0
  61. package/templates/website/src/content/block_columns_rows.json +47 -0
  62. package/templates/website/src/content/block_cta.json +15 -0
  63. package/templates/website/src/content/block_faqs.json +45 -0
  64. package/templates/website/src/content/block_form.json +26 -0
  65. package/templates/website/src/content/block_gallery.json +15 -0
  66. package/templates/website/src/content/block_gallery_files.json +38 -0
  67. package/templates/website/src/content/block_hero.json +145 -0
  68. package/templates/website/src/content/block_html.json +1 -0
  69. package/templates/website/src/content/block_logocloud.json +16 -0
  70. package/templates/website/src/content/block_logocloud_files.json +44 -0
  71. package/templates/website/src/content/block_quote.json +11 -0
  72. package/templates/website/src/content/block_richtext.json +32 -0
  73. package/templates/website/src/content/block_steps.json +14 -0
  74. package/templates/website/src/content/block_steps_items.json +26 -0
  75. package/templates/website/src/content/block_team.json +8 -0
  76. package/templates/website/src/content/block_testimonials.json +13 -0
  77. package/templates/website/src/content/block_testimonials_items.json +26 -0
  78. package/templates/website/src/content/block_video.json +10 -0
  79. package/templates/website/src/content/blog_settings.json +8 -0
  80. package/templates/website/src/content/categories.json +38 -0
  81. package/templates/website/src/content/events.json +1 -0
  82. package/templates/website/src/content/forms.json +92 -0
  83. package/templates/website/src/content/globals.json +57 -0
  84. package/templates/website/src/content/inbox.json +21 -0
  85. package/templates/website/src/content/metrics.json +1 -0
  86. package/templates/website/src/content/navigation.json +30 -0
  87. package/templates/website/src/content/navigation_items.json +140 -0
  88. package/templates/website/src/content/pages.json +123 -0
  89. package/templates/website/src/content/pages_blocks.json +310 -0
  90. package/templates/website/src/content/posts.json +120 -0
  91. package/templates/website/src/content/projects.json +48 -0
  92. package/templates/website/src/content/projects_files.json +44 -0
  93. package/templates/website/src/content/projects_settings.json +6 -0
  94. package/templates/website/src/content/redirects.json +12 -0
  95. package/templates/website/src/content/seo.json +278 -0
  96. package/templates/website/src/content/team.json +132 -0
  97. package/templates/website/src/content/testimonials.json +66 -0
  98. package/templates/website/src/dashboards.json +38 -0
  99. package/templates/website/src/fields.json +27761 -0
  100. package/templates/website/src/files.json +1100 -0
  101. package/templates/website/src/flows.json +131 -0
  102. package/templates/website/src/folders.json +52 -0
  103. package/templates/website/src/operations.json +214 -0
  104. package/templates/website/src/panels.json +433 -0
  105. package/templates/website/src/permissions.json +1556 -0
  106. package/templates/website/src/presets.json +1254 -0
  107. package/templates/website/src/public-permissions.json +511 -0
  108. package/templates/website/src/roles.json +70 -0
  109. package/templates/website/src/schema/snapshot.json +17018 -0
  110. package/templates/website/src/settings.json +66 -0
  111. package/templates/website/src/users.json +194 -0
@@ -0,0 +1,131 @@
1
+ [
2
+ {
3
+ "id": "0f8ea882-219d-4823-bb80-bc725d280c3a",
4
+ "name": "Deploy Site",
5
+ "icon": "send",
6
+ "color": "#18222F",
7
+ "description": "Start a new build for the website.",
8
+ "status": "active",
9
+ "trigger": "manual",
10
+ "accountability": "all",
11
+ "options": {
12
+ "collections": [
13
+ "globals"
14
+ ]
15
+ },
16
+ "operation": "5575a3f6-761b-4ee1-8dd5-a147c417b036",
17
+ "date_created": "2023-03-14T19:34:07.582Z",
18
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339",
19
+ "operations": [
20
+ "40fd454c-a438-47bb-9bc5-399d1fffd562",
21
+ "5575a3f6-761b-4ee1-8dd5-a147c417b036",
22
+ "70242292-da15-47fc-8ec8-edc40d192410",
23
+ "a207e95a-65b9-488e-ac1f-3fbabb01446c"
24
+ ]
25
+ },
26
+ {
27
+ "id": "9347fb19-b41f-4cf7-9da2-0b95d556df79",
28
+ "name": "Generate Social Image",
29
+ "icon": "image_search",
30
+ "color": "#FF99DD",
31
+ "description": "Generate a social image dynamically for an item in a collection.",
32
+ "status": "active",
33
+ "trigger": "manual",
34
+ "accountability": "all",
35
+ "options": {
36
+ "collections": [
37
+ "posts"
38
+ ]
39
+ },
40
+ "operation": "841c6842-97c9-475f-aa38-f7b4f6ab71dc",
41
+ "date_created": "2023-03-18T04:11:46.922Z",
42
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339",
43
+ "operations": [
44
+ "841c6842-97c9-475f-aa38-f7b4f6ab71dc",
45
+ "bd1bc17d-729b-4849-8c51-f677aaaeaf93"
46
+ ]
47
+ },
48
+ {
49
+ "id": "ac372072-30ff-4806-91cc-a6ade72e6636",
50
+ "name": "Create SEO Item",
51
+ "icon": "saved_search",
52
+ "color": "#FF99DD",
53
+ "description": "This flow creates a matching item in the seo collection whenever an item in a trigger collection is created.",
54
+ "status": "active",
55
+ "trigger": "event",
56
+ "accountability": "all",
57
+ "options": {
58
+ "type": "action",
59
+ "scope": [
60
+ "items.create"
61
+ ],
62
+ "collections": [
63
+ "pages",
64
+ "posts",
65
+ "projects",
66
+ "categories"
67
+ ]
68
+ },
69
+ "operation": "a7a66ae8-47ad-4d7a-97d3-e27f8c52241b",
70
+ "date_created": "2023-03-13T15:33:05.758Z",
71
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339",
72
+ "operations": [
73
+ "a7a66ae8-47ad-4d7a-97d3-e27f8c52241b"
74
+ ]
75
+ },
76
+ {
77
+ "id": "b94189fe-0d20-4611-88a1-dd7b5d419b35",
78
+ "name": "Slugify",
79
+ "icon": "bolt",
80
+ "color": null,
81
+ "description": "Generate slugs for 'pages', 'posts,",
82
+ "status": "active",
83
+ "trigger": "event",
84
+ "accountability": "all",
85
+ "options": {
86
+ "type": "action",
87
+ "scope": [
88
+ "items.create"
89
+ ],
90
+ "collections": [
91
+ "pages",
92
+ "posts",
93
+ "projects",
94
+ "categories"
95
+ ]
96
+ },
97
+ "operation": "1d167b20-13af-4f0b-afe1-a4c4d8971654",
98
+ "date_created": "2022-12-08T13:25:19.549Z",
99
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339",
100
+ "operations": [
101
+ "1d167b20-13af-4f0b-afe1-a4c4d8971654",
102
+ "adcc6c22-a63a-46dc-8f1c-cb0b997a3106"
103
+ ]
104
+ },
105
+ {
106
+ "id": "c29208b0-4187-4af0-83a3-1bea7e30e12c",
107
+ "name": "Post Approval",
108
+ "icon": "mark_email_read",
109
+ "color": "#FF99DD",
110
+ "description": "Send email when posts are ready for review.",
111
+ "status": "active",
112
+ "trigger": "event",
113
+ "accountability": "all",
114
+ "options": {
115
+ "type": "action",
116
+ "scope": [
117
+ "items.update"
118
+ ],
119
+ "collections": [
120
+ "posts"
121
+ ]
122
+ },
123
+ "operation": "aa70c7bb-cb61-417f-9110-468d79b4849b",
124
+ "date_created": "2023-03-20T21:02:00.274Z",
125
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339",
126
+ "operations": [
127
+ "aa70c7bb-cb61-417f-9110-468d79b4849b",
128
+ "d1bfebad-1335-4a63-b9cb-f2e705244738"
129
+ ]
130
+ }
131
+ ]
@@ -0,0 +1,52 @@
1
+ [
2
+ {
3
+ "id": "179227d0-058e-4087-929c-0f99b23e379b",
4
+ "name": "posts",
5
+ "parent": null
6
+ },
7
+ {
8
+ "id": "315fb3aa-1092-4317-ae23-ecba6d2a373e",
9
+ "name": "illustrations",
10
+ "parent": null
11
+ },
12
+ {
13
+ "id": "38637388-36d5-46df-b8a0-ca6ffd6525ef",
14
+ "name": "social images",
15
+ "parent": null
16
+ },
17
+ {
18
+ "id": "527a526e-5344-49b1-87c9-42c47ff8e775",
19
+ "name": "projects",
20
+ "parent": null
21
+ },
22
+ {
23
+ "id": "8cddc78f-7c57-4b11-bb8b-5ffa9130f04a",
24
+ "name": "logos",
25
+ "parent": null
26
+ },
27
+ {
28
+ "id": "a6b2ccad-383c-4ba4-9975-61ef2a4087ec",
29
+ "name": "team",
30
+ "parent": null
31
+ },
32
+ {
33
+ "id": "d0f67ad6-abbb-45d6-8d3e-b499a4c74d80",
34
+ "name": "private",
35
+ "parent": null
36
+ },
37
+ {
38
+ "id": "d15ae303-4717-48f4-b8da-b9fa6d711f86",
39
+ "name": "branding",
40
+ "parent": null
41
+ },
42
+ {
43
+ "id": "ed033970-538d-4034-9a70-332e90104178",
44
+ "name": "pages",
45
+ "parent": null
46
+ },
47
+ {
48
+ "id": "f123c546-cde3-41f8-9375-1321a65d6564",
49
+ "name": "testimonials",
50
+ "parent": null
51
+ }
52
+ ]
@@ -0,0 +1,214 @@
1
+ [
2
+ {
3
+ "id": "1d167b20-13af-4f0b-afe1-a4c4d8971654",
4
+ "name": "Slug Me",
5
+ "key": "slug_me",
6
+ "type": "exec",
7
+ "position_x": 19,
8
+ "position_y": 1,
9
+ "options": {
10
+ "code": "module.exports = async function (data) {\n\t// Index data to get the string you want to slugify\n\t// Assign it to the \"text\" var below.\n\tconst text = data.$trigger.payload.title;\n\n\tconst slug = text\n\t\t.toLowerCase()\n\t\t.trim()\n\t\t.replace(/[^\\w\\s-]/g, '')\n\t\t.replace(/[\\s_-]+/g, '-')\n\t\t.replace(/^-+|-+$/g, '');\n\n\treturn slug;\n};\n"
11
+ },
12
+ "resolve": "adcc6c22-a63a-46dc-8f1c-cb0b997a3106",
13
+ "reject": null,
14
+ "flow": "b94189fe-0d20-4611-88a1-dd7b5d419b35",
15
+ "date_created": "2022-12-08T13:26:41.714Z",
16
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339"
17
+ },
18
+ {
19
+ "id": "40fd454c-a438-47bb-9bc5-399d1fffd562",
20
+ "name": "Check Build Hook",
21
+ "key": "check_build_hook",
22
+ "type": "exec",
23
+ "position_x": 37,
24
+ "position_y": 1,
25
+ "options": {
26
+ "code": "module.exports = async function(data) {\n\tconst build_hook_url = data.read_globals[0].build_hook_url\n if (!build_hook_url) throw new Error('Missing build hook url')\n return build_hook_url\n}"
27
+ },
28
+ "resolve": "a207e95a-65b9-488e-ac1f-3fbabb01446c",
29
+ "reject": "70242292-da15-47fc-8ec8-edc40d192410",
30
+ "flow": "0f8ea882-219d-4823-bb80-bc725d280c3a",
31
+ "date_created": "2023-03-14T19:50:49.570Z",
32
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339"
33
+ },
34
+ {
35
+ "id": "5575a3f6-761b-4ee1-8dd5-a147c417b036",
36
+ "name": "Read Globals",
37
+ "key": "read_globals",
38
+ "type": "item-read",
39
+ "position_x": 19,
40
+ "position_y": 1,
41
+ "options": {
42
+ "collection": "globals"
43
+ },
44
+ "resolve": "40fd454c-a438-47bb-9bc5-399d1fffd562",
45
+ "reject": null,
46
+ "flow": "0f8ea882-219d-4823-bb80-bc725d280c3a",
47
+ "date_created": "2023-03-14T19:48:14.050Z",
48
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339"
49
+ },
50
+ {
51
+ "id": "70242292-da15-47fc-8ec8-edc40d192410",
52
+ "name": "Log Error",
53
+ "key": "log_error",
54
+ "type": "log",
55
+ "position_x": 55,
56
+ "position_y": 17,
57
+ "options": {
58
+ "message": "Missing build hook URL"
59
+ },
60
+ "resolve": null,
61
+ "reject": null,
62
+ "flow": "0f8ea882-219d-4823-bb80-bc725d280c3a",
63
+ "date_created": "2023-03-14T19:54:10.485Z",
64
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339"
65
+ },
66
+ {
67
+ "id": "841c6842-97c9-475f-aa38-f7b4f6ab71dc",
68
+ "name": "Get Post",
69
+ "key": "get_post",
70
+ "type": "item-read",
71
+ "position_x": 19,
72
+ "position_y": 1,
73
+ "options": {
74
+ "collection": "posts",
75
+ "key": "{{$trigger.body.keys}}",
76
+ "permissions": "$full"
77
+ },
78
+ "resolve": "bd1bc17d-729b-4849-8c51-f677aaaeaf93",
79
+ "reject": null,
80
+ "flow": "9347fb19-b41f-4cf7-9da2-0b95d556df79",
81
+ "date_created": "2023-03-18T04:14:39.574Z",
82
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339"
83
+ },
84
+ {
85
+ "id": "a207e95a-65b9-488e-ac1f-3fbabb01446c",
86
+ "name": "Call Build Hook",
87
+ "key": "call_build_hook",
88
+ "type": "request",
89
+ "position_x": 55,
90
+ "position_y": 1,
91
+ "options": {
92
+ "method": "POST",
93
+ "url": "{{check_build_hook}}"
94
+ },
95
+ "resolve": null,
96
+ "reject": null,
97
+ "flow": "0f8ea882-219d-4823-bb80-bc725d280c3a",
98
+ "date_created": "2023-03-14T19:35:40.424Z",
99
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339"
100
+ },
101
+ {
102
+ "id": "a7a66ae8-47ad-4d7a-97d3-e27f8c52241b",
103
+ "name": "Update Trigger Item",
104
+ "key": "update_trigger_item",
105
+ "type": "item-update",
106
+ "position_x": 20,
107
+ "position_y": 1,
108
+ "options": {
109
+ "collection": "{{$trigger.collection}}",
110
+ "key": [
111
+ "{{$trigger.key}}"
112
+ ],
113
+ "payload": {
114
+ "seo": {
115
+ "title": "{{$trigger.payload.title}}",
116
+ "meta_description": "{{$trigger.payload.summary}}"
117
+ }
118
+ }
119
+ },
120
+ "resolve": null,
121
+ "reject": null,
122
+ "flow": "ac372072-30ff-4806-91cc-a6ade72e6636",
123
+ "date_created": "2023-03-13T15:36:50.213Z",
124
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339"
125
+ },
126
+ {
127
+ "id": "aa70c7bb-cb61-417f-9110-468d79b4849b",
128
+ "name": "Check Status",
129
+ "key": "check_status",
130
+ "type": "condition",
131
+ "position_x": 19,
132
+ "position_y": 1,
133
+ "options": {
134
+ "filter": {
135
+ "$trigger": {
136
+ "payload": {
137
+ "status": {
138
+ "_eq": "in_review"
139
+ }
140
+ }
141
+ }
142
+ }
143
+ },
144
+ "resolve": "d1bfebad-1335-4a63-b9cb-f2e705244738",
145
+ "reject": null,
146
+ "flow": "c29208b0-4187-4af0-83a3-1bea7e30e12c",
147
+ "date_created": "2023-03-20T21:02:41.499Z",
148
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339"
149
+ },
150
+ {
151
+ "id": "adcc6c22-a63a-46dc-8f1c-cb0b997a3106",
152
+ "name": "Update Slug",
153
+ "key": "update_slug",
154
+ "type": "item-update",
155
+ "position_x": 37,
156
+ "position_y": 1,
157
+ "options": {
158
+ "collection": "{{$trigger.collection}}",
159
+ "key": "{{$trigger.key}}",
160
+ "payload": {
161
+ "slug": "{{ slug_me }}"
162
+ }
163
+ },
164
+ "resolve": null,
165
+ "reject": null,
166
+ "flow": "b94189fe-0d20-4611-88a1-dd7b5d419b35",
167
+ "date_created": "2022-12-08T13:26:41.703Z",
168
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339"
169
+ },
170
+ {
171
+ "id": "bd1bc17d-729b-4849-8c51-f677aaaeaf93",
172
+ "name": "Generate Image",
173
+ "key": "generate_image",
174
+ "type": "request",
175
+ "position_x": 37,
176
+ "position_y": 1,
177
+ "options": {
178
+ "url": "https://agency-os.vercel.app/api/image",
179
+ "headers": [
180
+ {
181
+ "header": "Accept",
182
+ "value": "application/json"
183
+ }
184
+ ],
185
+ "method": "POST",
186
+ "body": "{\n\"id\": \"{{get_post.id}}\",\n\"slug\": \"{{get_post.slug}}\",\n\"seo\": \"{{get_post.seo}}\",\n\"url\": \"https://agency-os.vercel.app/_media/posts/{{get_post.slug}}\"\n}"
187
+ },
188
+ "resolve": null,
189
+ "reject": null,
190
+ "flow": "9347fb19-b41f-4cf7-9da2-0b95d556df79",
191
+ "date_created": "2023-03-18T04:20:02.820Z",
192
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339"
193
+ },
194
+ {
195
+ "id": "d1bfebad-1335-4a63-b9cb-f2e705244738",
196
+ "name": "Send Email",
197
+ "key": "send_email",
198
+ "type": "mail",
199
+ "position_x": 37,
200
+ "position_y": 1,
201
+ "options": {
202
+ "to": [
203
+ "bryant@directus.io"
204
+ ],
205
+ "subject": "New post is ready to review",
206
+ "body": "Hello Team,\n\nThe following article has been submitted for your review. Please log in, and either approve this content or provide feedback for necessary improvements.\n\nhttps://nuxt-starter.directus.app/admin/posts/{{$trigger.keys[0]}}\n\nBest,\n\n//"
207
+ },
208
+ "resolve": null,
209
+ "reject": null,
210
+ "flow": "c29208b0-4187-4af0-83a3-1bea7e30e12c",
211
+ "date_created": "2023-03-20T21:02:41.486Z",
212
+ "user_created": "9fdd1ca5-982e-422d-bced-640e3a98a339"
213
+ }
214
+ ]