@directus/app 9.12.2 → 9.13.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 (470) hide show
  1. package/dist/assets/{@directus_extensions-sdk.016f1070.entry.js → @directus_extensions-sdk.c2d0f9e8.entry.js} +1 -1
  2. package/dist/assets/accounts.6a41a439.js +1 -0
  3. package/dist/assets/{active-line.ff3bc705.js → active-line.85f931be.js} +1 -1
  4. package/dist/assets/activity-log.2f462c6d.js +1 -0
  5. package/dist/assets/activity.737e1d30.js +80 -0
  6. package/dist/assets/{apl.cc4825c6.js → apl.cef44fca.js} +1 -1
  7. package/dist/assets/ar-SA.1270865d.js +1 -0
  8. package/dist/assets/architecture.19f588c9.js +1 -0
  9. package/dist/assets/{asciiarmor.30bbdfc8.js → asciiarmor.0a6d46c1.js} +1 -1
  10. package/dist/assets/{asn.1.499e838e.js → asn.1.8af7db88.js} +1 -1
  11. package/dist/assets/{asterisk.a2fa7dc3.js → asterisk.133eb9d4.js} +1 -1
  12. package/dist/assets/authentication.77ec921a.js +73 -0
  13. package/dist/assets/{autorefresh.d36f34c8.js → autorefresh.8c3a7c64.js} +1 -1
  14. package/dist/assets/aws.f94e1168.js +1 -0
  15. package/dist/assets/backing-directus.16949f6d.js +1 -0
  16. package/dist/assets/bg-BG.375ca1ae.js +1 -0
  17. package/dist/assets/bn-IN.4127b7a4.js +1 -0
  18. package/dist/assets/{br-FR.1ad76918.js → br-FR.73a7f62b.js} +1 -1
  19. package/dist/assets/{brainfuck.dab31c46.js → brainfuck.bb0a1793.js} +1 -1
  20. package/dist/assets/{ca-ES.365a1fc4.js → ca-ES.3340d7d5.js} +1 -1
  21. package/dist/assets/cli.18caf1f2.js +19 -0
  22. package/dist/assets/cli.774a4996.js +4 -0
  23. package/dist/assets/{clike.7aacd908.js → clike.264a24b6.js} +1 -1
  24. package/dist/assets/{clojure.c8d9937a.js → clojure.5be5870c.js} +1 -1
  25. package/dist/assets/cloudron.3b183977.js +1 -0
  26. package/dist/assets/{cmake.e0408576.js → cmake.361bb9df.js} +1 -1
  27. package/dist/assets/{cobol.86241640.js → cobol.2e771d85.js} +1 -1
  28. package/dist/assets/codebase-overview.d6365b1a.js +1 -0
  29. package/dist/assets/{coffeescript.6090d9e8.js → coffeescript.132c432c.js} +1 -1
  30. package/dist/assets/collections.5ec4ec4a.js +2 -0
  31. package/dist/assets/collections.e66dacd4.js +106 -0
  32. package/dist/assets/{commonlisp.eb3c5619.js → commonlisp.87c850aa.js} +1 -1
  33. package/dist/assets/config-options.5b139611.js +138 -0
  34. package/dist/assets/content.0fca8e70.js +1 -0
  35. package/dist/assets/creating-extensions.09899f65.js +11 -0
  36. package/dist/assets/{crystal.01db8e68.js → crystal.8b2d4939.js} +1 -1
  37. package/dist/assets/cs-CZ.678bc13f.js +1 -0
  38. package/dist/assets/{css.b1894218.js → css.1e9857ce.js} +1 -1
  39. package/dist/assets/{cypher.c0cbf899.js → cypher.aefea96e.js} +1 -1
  40. package/dist/assets/{d.54d4201d.js → d.38a2fd63.js} +1 -1
  41. package/dist/assets/{da-DK.88f53a7d.js → da-DK.8db961d3.js} +1 -1
  42. package/dist/assets/{dart.2218881c.js → dart.4d90eff6.js} +1 -1
  43. package/dist/assets/data-model.98153925.js +1 -0
  44. package/dist/assets/data-sharing.06e8a06f.js +1 -0
  45. package/dist/assets/de-DE.a45e2867.js +1 -0
  46. package/dist/assets/{diff.d7f03886.js → diff.f2ea9976.js} +1 -1
  47. package/dist/assets/digitalocean-app-platform.7da3c7a1.js +3 -0
  48. package/dist/assets/display-templates.cd179d19.js +1 -0
  49. package/dist/assets/displays.1ee1f2b5.js +49 -0
  50. package/dist/assets/{django.913379d3.js → django.fce1ee6c.js} +1 -1
  51. package/dist/assets/{docker.e1bb4205.js → docker.7318105b.js} +6 -6
  52. package/dist/assets/{dockerfile.9c7cf88b.js → dockerfile.10fea9a2.js} +1 -1
  53. package/dist/assets/documentation.ec08e64e.js +1 -0
  54. package/dist/assets/{dtd.dbc97bdb.js → dtd.c67f9501.js} +1 -1
  55. package/dist/assets/{dylan.0c2df43b.js → dylan.9c7c8fbb.js} +1 -1
  56. package/dist/assets/{ebnf.4c778620.js → ebnf.5893ba11.js} +1 -1
  57. package/dist/assets/{ecl.778611ac.js → ecl.666cf005.js} +1 -1
  58. package/dist/assets/{eiffel.2a73cd14.js → eiffel.1ff51078.js} +1 -1
  59. package/dist/assets/{elm.90002323.js → elm.3c43bbde.js} +1 -1
  60. package/dist/assets/email-templates.bc7359ba.js +2 -0
  61. package/dist/assets/{en-CA.58d818b8.js → en-CA.d2451b87.js} +1 -1
  62. package/dist/assets/{en-GB.74320d21.js → en-GB.e362e116.js} +1 -1
  63. package/dist/assets/endpoints.a283ab67.js +27 -0
  64. package/dist/assets/{erlang.c8e3989e.js → erlang.cfe0d25f.js} +1 -1
  65. package/dist/assets/es-419.d7e63f16.js +1 -0
  66. package/dist/assets/es-CL.7fd46c95.js +1 -0
  67. package/dist/assets/es-ES.90a08b21.js +1 -0
  68. package/dist/assets/es-MX.778b926c.js +1 -0
  69. package/dist/assets/{et-EE.9e35920e.js → et-EE.5321add1.js} +1 -1
  70. package/dist/assets/extensions.a51d3924.js +12 -0
  71. package/dist/assets/{fa-IR.f3dc75f9.js → fa-IR.a346165e.js} +1 -1
  72. package/dist/assets/{factor.a2db9c26.js → factor.eb880fb0.js} +1 -1
  73. package/dist/assets/faq.7bde76ae.js +2 -0
  74. package/dist/assets/{fcl.02d85986.js → fcl.a70b3450.js} +1 -1
  75. package/dist/assets/{fi-FI.42afdce0.js → fi-FI.14cee6db.js} +1 -1
  76. package/dist/assets/fields.1f2e77de.js +135 -0
  77. package/dist/assets/file-library.3626307c.js +1 -0
  78. package/dist/assets/files.e045e557.js +189 -0
  79. package/dist/assets/filter-rules.247581e5.js +76 -0
  80. package/dist/assets/filters.43e74661.js +1 -0
  81. package/dist/assets/flows.323ce75f.js +15 -0
  82. package/dist/assets/{flows.22228af1.js → flows.5f5e16d5.js} +23 -23
  83. package/dist/assets/{folders.0024d3d3.js → folders.56c9a624.js} +20 -20
  84. package/dist/assets/{forth.725698ea.js → forth.127a7f69.js} +1 -1
  85. package/dist/assets/{fortran.e9ba7b47.js → fortran.64d2bcc8.js} +1 -1
  86. package/dist/assets/{fr-CA.caa3fc8d.js → fr-CA.7669aed8.js} +1 -1
  87. package/dist/assets/{fr-FR.615da1bd.js → fr-FR.49507672.js} +1 -1
  88. package/dist/assets/{gas.25b17a72.js → gas.b5ddd39d.js} +1 -1
  89. package/dist/assets/gcp.aab7b77c.js +60 -0
  90. package/dist/assets/{gfm.a7b6e273.js → gfm.0e5a0d37.js} +1 -1
  91. package/dist/assets/{gherkin.1db310b6.js → gherkin.ca9beebc.js} +1 -1
  92. package/dist/assets/github-ci.fbe7bc68.js +2 -0
  93. package/dist/assets/glossary.321fe2e7.js +1 -0
  94. package/dist/assets/glossary.8e8d2e42.js +1 -0
  95. package/dist/assets/{go.a0c64ca2.js → go.601cf92f.js} +1 -1
  96. package/dist/assets/{groovy.b0ac2a1f.js → groovy.106b0e1b.js} +1 -1
  97. package/dist/assets/{haml.233c9608.js → haml.8a27bb91.js} +1 -1
  98. package/dist/assets/{handlebars.b13fc00f.js → handlebars.7edaa076.js} +1 -1
  99. package/dist/assets/{haskell-literate.af8f88ee.js → haskell-literate.c5a1599c.js} +1 -1
  100. package/dist/assets/{haskell.adcf73db.js → haskell.499e9d63.js} +1 -1
  101. package/dist/assets/{haxe.f1a75c2e.js → haxe.6103069d.js} +1 -1
  102. package/dist/assets/{hi-IN.36e79faa.js → hi-IN.1abc0fe8.js} +1 -1
  103. package/dist/assets/hooks.c8418066.js +60 -0
  104. package/dist/assets/{hr-HR.b1e41c07.js → hr-HR.5e9128d0.js} +1 -1
  105. package/dist/assets/{htmlembedded.145e9718.js → htmlembedded.57ac5929.js} +1 -1
  106. package/dist/assets/{htmlmixed.6794685c.js → htmlmixed.be98881c.js} +1 -1
  107. package/dist/assets/{http.5bb61ef1.js → http.4229d6d3.js} +1 -1
  108. package/dist/assets/{hu-HU.9c7ec38f.js → hu-HU.edf3e061.js} +1 -1
  109. package/dist/assets/id-ID.5d8e082c.js +1 -0
  110. package/dist/assets/{idl.f52ce6c3.js → idl.1baa44ef.js} +1 -1
  111. package/dist/assets/{iis.109e5a8a.js → iis.5653e9da.js} +2 -2
  112. package/dist/assets/import-export.c48e51e7.js +2 -0
  113. package/dist/assets/{index.d8fe2ade.js → index.06b1bc9f.js} +1 -1
  114. package/dist/assets/{index.2ec06d14.js → index.0b12fa24.js} +1 -1
  115. package/dist/assets/{index.a40592f5.js → index.0ec094a3.js} +1 -1
  116. package/dist/assets/{index.10f90411.js → index.15a6b55f.js} +1 -1
  117. package/dist/assets/{index.663b73a9.js → index.16d5015d.js} +1 -1
  118. package/dist/assets/{index.a8aa4628.js → index.178f5aaf.js} +1 -1
  119. package/dist/assets/{index.627523d7.js → index.1a744da7.js} +1 -1
  120. package/dist/assets/{index.14c720ba.js → index.204d0697.js} +1 -1
  121. package/dist/assets/{index.c6e501ec.js → index.219a17f2.js} +1 -1
  122. package/dist/assets/{index.6f0b7179.js → index.28cc485f.js} +1 -1
  123. package/dist/assets/{index.d0fe3776.js → index.29e951ca.js} +1 -1
  124. package/dist/assets/{index.85b9f847.js → index.2c806494.js} +1 -1
  125. package/dist/assets/{index.cc6496a8.js → index.2d502598.js} +1 -1
  126. package/dist/assets/{index.cda6c2d6.js → index.3142cfab.js} +1 -1
  127. package/dist/assets/{index.cef58c9b.js → index.33ca7318.js} +1 -1
  128. package/dist/assets/{index.b702042e.js → index.360682df.js} +1 -1
  129. package/dist/assets/{index.af021d8a.js → index.3651f13c.js} +1 -1
  130. package/dist/assets/{index.e3dcc63c.js → index.3db870b4.js} +1 -1
  131. package/dist/assets/{index.98713a56.js → index.3f26bd55.js} +1 -1
  132. package/dist/assets/{index.9b60cfa4.js → index.3f629050.js} +1 -1
  133. package/dist/assets/{index.63d1f569.js → index.3fcf2822.js} +1 -1
  134. package/dist/assets/{index.55a12dfb.js → index.4ae9df91.js} +1 -1
  135. package/dist/assets/{index.1b44d300.js → index.4d0c9d2f.js} +1 -1
  136. package/dist/assets/{index.2598f40b.js → index.5073c294.js} +1 -1
  137. package/dist/assets/{index.a9b73f2c.js → index.528b0171.js} +1 -1
  138. package/dist/assets/{index.98ee194a.js → index.530b8f76.js} +1 -1
  139. package/dist/assets/{index.4fbaebb7.js → index.57201b30.js} +1 -1
  140. package/dist/assets/{index.d9285c22.js → index.577a0434.js} +1 -1
  141. package/dist/assets/{index.4ef25ded.js → index.58506149.js} +1 -1
  142. package/dist/assets/{index.6bebaca7.js → index.59759bad.js} +1 -1
  143. package/dist/assets/{index.3eda79ec.js → index.5d2a1255.js} +1 -1
  144. package/dist/assets/{index.bce5f50d.js → index.5ef47d94.js} +1 -1
  145. package/dist/assets/{index.a9faa4e8.js → index.656a3daa.js} +1 -1
  146. package/dist/assets/{index.93059741.js → index.67e35129.js} +1 -1
  147. package/dist/assets/{index.402d83c0.js → index.6fe4b726.js} +1 -1
  148. package/dist/assets/{index.77260d1d.js → index.7011d0c4.js} +1 -1
  149. package/dist/assets/{index.ef3faba8.js → index.708c2587.js} +1 -1
  150. package/dist/assets/{index.7fe984e4.js → index.731ea486.js} +1 -1
  151. package/dist/assets/{index.7f906cfe.js → index.7b6f6a30.js} +1 -1
  152. package/dist/assets/{index.16acfb90.js → index.7bfaf022.js} +1 -1
  153. package/dist/assets/{index.5c54c17f.js → index.7ccfac4f.js} +1 -1
  154. package/dist/assets/{index.60d33aa1.js → index.7d3af32f.js} +1 -1
  155. package/dist/assets/{index.c9fb33ab.js → index.7efa08a7.js} +1 -1
  156. package/dist/assets/{index.3d4cd218.js → index.83254b8b.js} +1 -1
  157. package/dist/assets/index.876852bd.entry.js +3402 -0
  158. package/dist/assets/{index.1a65b37a.js → index.8d2db40f.js} +1 -1
  159. package/dist/assets/index.9001e465.css +1 -0
  160. package/dist/assets/{index.a71fa74c.js → index.91fa7a8d.js} +1 -1
  161. package/dist/assets/{index.8493b2e7.js → index.9459ab09.js} +1 -1
  162. package/dist/assets/{index.d653bbf2.js → index.94d7ade8.js} +1 -1
  163. package/dist/assets/{index.55cf7b0a.js → index.9ac418f5.js} +1 -1
  164. package/dist/assets/{index.0295bc4b.js → index.9c5a0589.js} +1 -1
  165. package/dist/assets/{index.20b34242.js → index.9dd4ba15.js} +1 -1
  166. package/dist/assets/{index.5f5bf5b9.js → index.9f4f31bb.js} +1 -1
  167. package/dist/assets/{index.28aa754b.js → index.9fa88e82.js} +1 -1
  168. package/dist/assets/{index.b5ed5076.js → index.9fd2f4fc.js} +1 -1
  169. package/dist/assets/{index.94cf6fb4.js → index.9ff8ac88.js} +1 -1
  170. package/dist/assets/{index.e6715953.js → index.a22ebf71.js} +1 -1
  171. package/dist/assets/{index.fa57ca3f.js → index.aadb91bf.js} +1 -1
  172. package/dist/assets/{index.ee22568a.js → index.b0a109be.js} +1 -1
  173. package/dist/assets/{index.2926879f.js → index.b107abb9.js} +1 -1
  174. package/dist/assets/{index.7fd5e2a0.js → index.b6f0287a.js} +1 -1
  175. package/dist/assets/{index.0e101049.js → index.b7cd48a8.js} +1 -1
  176. package/dist/assets/{index.b67f8116.js → index.bfffbb2b.js} +1 -1
  177. package/dist/assets/{index.b43832c6.js → index.c83f5be4.js} +1 -1
  178. package/dist/assets/{index.d060d5f6.js → index.c8cd968e.js} +1 -1
  179. package/dist/assets/{index.ebb444cf.js → index.cb9930fe.js} +1 -1
  180. package/dist/assets/{index.56188e3b.js → index.cf04970d.js} +1 -1
  181. package/dist/assets/{index.43fa9898.js → index.d0c387c9.js} +1 -1
  182. package/dist/assets/{index.bfd23a9c.js → index.d2a1f961.js} +1 -1
  183. package/dist/assets/{index.456ff0bd.js → index.d2cb8f46.js} +1 -1
  184. package/dist/assets/{index.c35b11e6.js → index.d7109bf7.js} +1 -1
  185. package/dist/assets/{index.a5d15d7f.js → index.da530994.js} +1 -1
  186. package/dist/assets/{index.a3e085ea.js → index.dbfcc1a7.js} +1 -1
  187. package/dist/assets/{index.399c0d62.js → index.dd1b70ed.js} +1 -1
  188. package/dist/assets/{index.4100d6f0.js → index.e29b1e2d.js} +1 -1
  189. package/dist/assets/{index.c2e6211e.js → index.e3eade04.js} +1 -1
  190. package/dist/assets/{index.07257d01.js → index.e65177c5.js} +1 -1
  191. package/dist/assets/{index.4e2109fe.js → index.e6925009.js} +1 -1
  192. package/dist/assets/{index.175a81f8.js → index.e7f7c63b.js} +1 -1
  193. package/dist/assets/{index.c5266851.js → index.f03e3a04.js} +1 -1
  194. package/dist/assets/{index.8a9f2874.js → index.f2b97e8c.js} +1 -1
  195. package/dist/assets/{index.7249f524.js → index.f73d801d.js} +1 -1
  196. package/dist/assets/{input-rich-text-html.817ccf8b.css → input-rich-text-html.05181995.css} +1 -1
  197. package/dist/assets/{input-rich-text-html.e9e92552.js → input-rich-text-html.ec8448e4.js} +3 -3
  198. package/dist/assets/insights.91323cd9.js +2 -0
  199. package/dist/assets/installation.52e4ff88.js +1 -0
  200. package/dist/assets/interfaces.3a13d91e.js +46 -0
  201. package/dist/assets/introduction.651560f1.js +1 -0
  202. package/dist/assets/introduction.8442768e.js +4 -0
  203. package/dist/assets/introduction.8fbc61cf.js +1 -0
  204. package/dist/assets/{introduction.2e6f5c1d.js → introduction.a7d534ac.js} +7 -7
  205. package/dist/assets/it-IT.558525d2.js +1 -0
  206. package/dist/assets/items.21c2f5c1.js +1 -0
  207. package/dist/assets/{items.4205dfa0.js → items.89e120a5.js} +27 -27
  208. package/dist/assets/ja-JP.84597497.js +1 -0
  209. package/dist/assets/{javascript-hint.d8a99d8e.js → javascript-hint.7c0e2348.js} +1 -1
  210. package/dist/assets/{javascript.357d6ab4.js → javascript.549d0ba4.js} +1 -1
  211. package/dist/assets/{jinja2.64181acd.js → jinja2.5aada9b5.js} +1 -1
  212. package/dist/assets/{jsx.ba14fb9d.js → jsx.560c7673.js} +1 -1
  213. package/dist/assets/{julia.06a9ee42.js → julia.4b70a3c2.js} +1 -1
  214. package/dist/assets/layouts.1ab2977a.js +1 -0
  215. package/dist/assets/layouts.ec7b7659.js +54 -0
  216. package/dist/assets/{livescript.687f6ca6.js → livescript.c54303a1.js} +1 -1
  217. package/dist/assets/localization.7df8d876.js +1 -0
  218. package/dist/assets/{lt-LT.772aac6e.js → lt-LT.7c7364ab.js} +1 -1
  219. package/dist/assets/{lua.40597bfe.js → lua.eee6a1df.js} +1 -1
  220. package/dist/assets/manual.1cafb3c9.js +10 -0
  221. package/dist/assets/{mark-selection.feeab6e5.js → mark-selection.c75b2260.js} +1 -1
  222. package/dist/assets/{match-highlighter.8afd3316.js → match-highlighter.06888b25.js} +1 -1
  223. package/dist/assets/{mathematica.6569f1d2.js → mathematica.836a919a.js} +1 -1
  224. package/dist/assets/{mbox.d8c16b77.js → mbox.a18f3acd.js} +1 -1
  225. package/dist/assets/migrations.48bae78b.js +19 -0
  226. package/dist/assets/{mirc.5f909857.js → mirc.8d633a4c.js} +1 -1
  227. package/dist/assets/{mllike.393c4525.js → mllike.ee0a0e4e.js} +1 -1
  228. package/dist/assets/{modelica.1180cc4d.js → modelica.806d9c14.js} +1 -1
  229. package/dist/assets/modules.ba273153.js +69 -0
  230. package/dist/assets/{mscgen.429d47df.js → mscgen.81143483.js} +1 -1
  231. package/dist/assets/{multiplex.23c498d1.js → multiplex.b5f6827f.js} +1 -1
  232. package/dist/assets/{mumps.f94bba13.js → mumps.af4fdb4c.js} +1 -1
  233. package/dist/assets/{nginx.72bf7bab.js → nginx.a80ef11d.js} +1 -1
  234. package/dist/assets/{nl-NL.b57de112.js → nl-NL.e22dd4e0.js} +1 -1
  235. package/dist/assets/{no-NO.79458b78.js → no-NO.6edd4997.js} +1 -1
  236. package/dist/assets/notifications.1e1cfcf8.js +153 -0
  237. package/dist/assets/{nsis.68fe2711.js → nsis.6c7c39d8.js} +1 -1
  238. package/dist/assets/{ntriples.964a7402.js → ntriples.9c907279.js} +1 -1
  239. package/dist/assets/{octave.26aad7e7.js → octave.1e59cd30.js} +1 -1
  240. package/dist/assets/operations.054152be.js +1 -0
  241. package/dist/assets/{operations.22151874.js → operations.cd009c46.js} +21 -21
  242. package/dist/assets/{overlay.b4b97f23.js → overlay.c92748f5.js} +1 -1
  243. package/dist/assets/overview.70f19d6e.js +1 -0
  244. package/dist/assets/overview.a1ad38f6.js +1 -0
  245. package/dist/assets/overview.b5ff02e8.js +1 -0
  246. package/dist/assets/{oz.1076911f.js → oz.fccca05b.js} +1 -1
  247. package/dist/assets/panels.a7ccfe62.js +65 -0
  248. package/dist/assets/{pascal.8ad1e64f.js → pascal.ba64f8f0.js} +1 -1
  249. package/dist/assets/{pegjs.c362f9d1.js → pegjs.6dfcd58b.js} +1 -1
  250. package/dist/assets/{perl.afe37b4f.js → perl.0e74be0a.js} +1 -1
  251. package/dist/assets/{permissions.f84f8d42.js → permissions.7a7896f5.js} +19 -19
  252. package/dist/assets/{php.2fcb5b78.js → php.d233db82.js} +1 -1
  253. package/dist/assets/{pig.1047d3c6.js → pig.21e0eb3e.js} +1 -1
  254. package/dist/assets/{pinia.256cc3da.entry.js → pinia.10afb35e.entry.js} +1 -1
  255. package/dist/assets/pl-PL.88defd20.js +1 -0
  256. package/dist/assets/plesk.e70d310e.js +27 -0
  257. package/dist/assets/{powershell.a493c1a9.js → powershell.da69d4e0.js} +1 -1
  258. package/dist/assets/presets-bookmarks.03f2cacf.js +1 -0
  259. package/dist/assets/{presets.b1e8b6c1.js → presets.78562380.js} +20 -20
  260. package/dist/assets/project-settings.1ca9f129.js +1 -0
  261. package/dist/assets/projects.8310e11a.js +1 -0
  262. package/dist/assets/{properties.2ccd56b8.js → properties.a4628831.js} +1 -1
  263. package/dist/assets/{protobuf.a0e463a0.js → protobuf.f0f96141.js} +1 -1
  264. package/dist/assets/pt-BR.70dc0b86.js +1 -0
  265. package/dist/assets/{pt-PT.c28534a0.js → pt-PT.011f0864.js} +1 -1
  266. package/dist/assets/{pug.3909bb70.js → pug.3fee26d4.js} +1 -1
  267. package/dist/assets/{puppet.298e3717.js → puppet.60ebf719.js} +1 -1
  268. package/dist/assets/{python.099f62ce.js → python.a209d75c.js} +1 -1
  269. package/dist/assets/{q.64763e8e.js → q.9bc79202.js} +1 -1
  270. package/dist/assets/query.23aa38a2.js +152 -0
  271. package/dist/assets/quickstart.2ad94821.js +20 -0
  272. package/dist/assets/quickstart.59a0c62f.js +9 -0
  273. package/dist/assets/{r.f2c0470b.js → r.73746445.js} +1 -1
  274. package/dist/assets/relations.c6b50878.js +115 -0
  275. package/dist/assets/relationships.7a08adb6.js +55 -0
  276. package/dist/assets/resources.a731a4ac.js +1 -0
  277. package/dist/assets/revisions.69b22e98.js +40 -0
  278. package/dist/assets/{ro-RO.5161835a.js → ro-RO.335d3129.js} +1 -1
  279. package/dist/assets/roles.caf226aa.js +171 -0
  280. package/dist/assets/{rpm.cf84a89e.js → rpm.b64d60a3.js} +1 -1
  281. package/dist/assets/{rst.26def927.js → rst.d4af1cd8.js} +1 -1
  282. package/dist/assets/{ru-RU.94a64be6.js → ru-RU.2ccef41d.js} +1 -1
  283. package/dist/assets/{ruby.5fdee9b4.js → ruby.a80f4c3d.js} +1 -1
  284. package/dist/assets/running-locally.0df06054.js +26 -0
  285. package/dist/assets/{runtime-core.esm-bundler.b1f35d24.js → runtime-core.esm-bundler.e6808e6c.js} +0 -0
  286. package/dist/assets/{rust.ab31720a.js → rust.899c7d8f.js} +1 -1
  287. package/dist/assets/{sas.d35671d3.js → sas.41f29cd7.js} +1 -1
  288. package/dist/assets/{sass.be16b14c.js → sass.1d8f58d7.js} +1 -1
  289. package/dist/assets/{scheme.da057889.js → scheme.2ab5ffc7.js} +1 -1
  290. package/dist/assets/{sdk.12cd7974.js → sdk.482f914b.js} +41 -41
  291. package/dist/assets/security.e53645ff.js +1 -0
  292. package/dist/assets/{server.9f12ae3e.js → server.c899d180.js} +12 -12
  293. package/dist/assets/settings.2dce0b3a.js +51 -0
  294. package/dist/assets/settings.3849af9a.js +1 -0
  295. package/dist/assets/{shell.ba07ff2f.js → shell.a3cecf64.js} +1 -1
  296. package/dist/assets/{show-hint.4c3405db.js → show-hint.3f4ba8eb.js} +1 -1
  297. package/dist/assets/{sieve.9a88af42.js → sieve.f25d24f4.js} +1 -1
  298. package/dist/assets/{simple.306c97cf.js → simple.c984322a.js} +1 -1
  299. package/dist/assets/{sl-SI.719d987e.js → sl-SI.e8321ed4.js} +1 -1
  300. package/dist/assets/{slim.11e72018.js → slim.3db1f064.js} +1 -1
  301. package/dist/assets/{smalltalk.802facc0.js → smalltalk.f551ff39.js} +1 -1
  302. package/dist/assets/{smarty.410c0c8d.js → smarty.afd9c30f.js} +1 -1
  303. package/dist/assets/{solr.43e14cbf.js → solr.c9696404.js} +1 -1
  304. package/dist/assets/{soy.18418f41.js → soy.1a041a45.js} +1 -1
  305. package/dist/assets/{sparql.5169332f.js → sparql.8928a4e7.js} +1 -1
  306. package/dist/assets/{spreadsheet.2a7e9b13.js → spreadsheet.b508d495.js} +1 -1
  307. package/dist/assets/{sql.53c1d1ba.js → sql.ca615946.js} +1 -1
  308. package/dist/assets/{sr-CS.c513578f.js → sr-CS.4de79c8e.js} +1 -1
  309. package/dist/assets/{sso-examples.b52061be.js → sso-examples.b4ec54d6.js} +12 -12
  310. package/dist/assets/sso.83af860e.js +22 -0
  311. package/dist/assets/{stex.7c4e0033.js → stex.49bcb53e.js} +1 -1
  312. package/dist/assets/{stylus.dfe1c737.js → stylus.861b3b1d.js} +1 -1
  313. package/dist/assets/support.ec8c583f.js +1 -0
  314. package/dist/assets/{sv-SE.a70fd097.js → sv-SE.0f875403.js} +1 -1
  315. package/dist/assets/{swift.e9cb43f5.js → swift.3f2d8cb3.js} +1 -1
  316. package/dist/assets/{tcl.7cc3bef5.js → tcl.cd07bc30.js} +1 -1
  317. package/dist/assets/teams.cd070396.js +1 -0
  318. package/dist/assets/{textile.353c8497.js → textile.a63fbf58.js} +1 -1
  319. package/dist/assets/{th-TH.bdbc4a8c.js → th-TH.2ebd6079.js} +1 -1
  320. package/dist/assets/themes.6b4fa5ad.js +5 -0
  321. package/dist/assets/{tiddlywiki.f4ebe8db.js → tiddlywiki.f2f348c0.js} +1 -1
  322. package/dist/assets/{tiki.95dd78e4.js → tiki.ba369f07.js} +1 -1
  323. package/dist/assets/{toml.f50bb93a.js → toml.31bb978b.js} +1 -1
  324. package/dist/assets/{tornado.3e0cfd8c.js → tornado.1777e143.js} +1 -1
  325. package/dist/assets/{tr-TR.d7a7361f.js → tr-TR.bf97340d.js} +1 -1
  326. package/dist/assets/translation-strings.20caaf44.js +1 -0
  327. package/dist/assets/translations.b0669f1b.js +1 -0
  328. package/dist/assets/triggers.ef2f026f.js +1 -0
  329. package/dist/assets/{troff.a2834e8f.js → troff.1d83c4c6.js} +1 -1
  330. package/dist/assets/{ttcn-cfg.447f138c.js → ttcn-cfg.7fa2f9b9.js} +1 -1
  331. package/dist/assets/{ttcn.7d877404.js → ttcn.5f856a38.js} +1 -1
  332. package/dist/assets/{turtle.3b4898fd.js → turtle.3c6fdbbb.js} +1 -1
  333. package/dist/assets/{twig.53dd7cbe.js → twig.542faf41.js} +1 -1
  334. package/dist/assets/ubuntu.d721892a.js +11 -0
  335. package/dist/assets/uk-UA.3d9cc5ac.js +1 -0
  336. package/dist/assets/upgrades-migrations.7ca77eae.js +1 -0
  337. package/dist/assets/{use-sync.c0f4dfab.js → use-sync.a493fd37.js} +1 -1
  338. package/dist/assets/user-directory.1e43d57c.js +1 -0
  339. package/dist/assets/users-roles-permissions.298f1d29.js +1 -0
  340. package/dist/assets/users.c27bf116.js +252 -0
  341. package/dist/assets/{utilities.26e6a9e8.js → utilities.5c027346.js} +12 -12
  342. package/dist/assets/{vb.c3313898.js → vb.660ea551.js} +1 -1
  343. package/dist/assets/{vbscript.0b106bed.js → vbscript.8d60ba84.js} +1 -1
  344. package/dist/assets/{velocity.c20bb29d.js → velocity.2c820c8c.js} +1 -1
  345. package/dist/assets/{verilog.2f6698b4.js → verilog.a6d857f3.js} +1 -1
  346. package/dist/assets/{vhdl.6127eef7.js → vhdl.1739da74.js} +1 -1
  347. package/dist/assets/{vi-VN.7478a743.js → vi-VN.7aaf0f64.js} +1 -1
  348. package/dist/assets/{vue-i18n.ecb0af35.entry.js → vue-i18n.540626ab.entry.js} +1 -1
  349. package/dist/assets/{vue-router.8987d576.entry.js → vue-router.3ef5d657.entry.js} +1 -1
  350. package/dist/assets/{vue.1f4d921a.entry.js → vue.2ddff80c.entry.js} +1 -1
  351. package/dist/assets/{vue.bb756ea0.js → vue.6a736ef9.js} +1 -1
  352. package/dist/assets/{vue.runtime.esm-bundler.ac4ff7af.js → vue.runtime.esm-bundler.f4ce1cef.js} +1 -1
  353. package/dist/assets/{wast.66661aa3.js → wast.4a6e6c0b.js} +1 -1
  354. package/dist/assets/{webhooks.4eeecb7d.js → webhooks.c44db11b.js} +19 -19
  355. package/dist/assets/webhooks.dcb64844.js +1 -0
  356. package/dist/assets/{webidl.0a42319e.js → webidl.92e5974e.js} +1 -1
  357. package/dist/assets/{xquery.44dd200c.js → xquery.2e4160b5.js} +1 -1
  358. package/dist/assets/{yacas.6f3863db.js → yacas.3afca2ee.js} +1 -1
  359. package/dist/assets/{yaml-frontmatter.42fca60b.js → yaml-frontmatter.312d62d5.js} +1 -1
  360. package/dist/assets/{yaml.d85fc2b2.js → yaml.71c2f2cd.js} +1 -1
  361. package/dist/assets/{z80.2bbe85a7.js → z80.e076e688.js} +1 -1
  362. package/dist/assets/zh-CN.d7b18680.js +1 -0
  363. package/dist/assets/zh-TW.4802ae81.js +1 -0
  364. package/dist/index.html +8 -8
  365. package/package.json +9 -7
  366. package/dist/assets/accounts.08433099.js +0 -1
  367. package/dist/assets/activity-log.496fa2f2.css +0 -1
  368. package/dist/assets/activity-log.fd558c9b.js +0 -1
  369. package/dist/assets/activity.0def80ca.js +0 -80
  370. package/dist/assets/ar-SA.1a6c2c65.js +0 -1
  371. package/dist/assets/architecture.6e6f13a7.js +0 -1
  372. package/dist/assets/authentication.a6f04750.js +0 -73
  373. package/dist/assets/aws.3b1c64af.js +0 -1
  374. package/dist/assets/backing-directus.0003d237.js +0 -1
  375. package/dist/assets/bg-BG.749c86ae.js +0 -1
  376. package/dist/assets/bn-IN.1385676c.js +0 -1
  377. package/dist/assets/cli.5153aa86.js +0 -4
  378. package/dist/assets/cli.e8e2526b.js +0 -19
  379. package/dist/assets/cloudron.53c430b8.js +0 -1
  380. package/dist/assets/codebase-overview.e9df94fc.js +0 -1
  381. package/dist/assets/collections.2453db3a.js +0 -106
  382. package/dist/assets/collections.aa896b3f.js +0 -2
  383. package/dist/assets/config-options.b1233b4b.js +0 -138
  384. package/dist/assets/content.1b1e95cf.js +0 -1
  385. package/dist/assets/creating-extensions.bfd7c57c.js +0 -11
  386. package/dist/assets/cs-CZ.6910228b.js +0 -1
  387. package/dist/assets/data-model.0e360572.js +0 -1
  388. package/dist/assets/data-sharing.da96e52e.js +0 -1
  389. package/dist/assets/de-DE.a4271e4f.js +0 -1
  390. package/dist/assets/digitalocean-app-platform.3412cb40.js +0 -3
  391. package/dist/assets/display-templates.915c0c5b.js +0 -1
  392. package/dist/assets/displays.99989c6d.js +0 -49
  393. package/dist/assets/documentation.788d4998.js +0 -1
  394. package/dist/assets/email-templates.1f5ac335.js +0 -2
  395. package/dist/assets/endpoints.aaac7c81.js +0 -27
  396. package/dist/assets/es-419.aa0bf259.js +0 -1
  397. package/dist/assets/es-CL.e42c6c3c.js +0 -1
  398. package/dist/assets/es-ES.5c7e9438.js +0 -1
  399. package/dist/assets/es-MX.b9c72674.js +0 -1
  400. package/dist/assets/extensions.34c12005.js +0 -12
  401. package/dist/assets/faq.89e68608.js +0 -2
  402. package/dist/assets/fields.54985585.js +0 -135
  403. package/dist/assets/file-library.b55c53fe.js +0 -1
  404. package/dist/assets/files.064d5a35.js +0 -187
  405. package/dist/assets/filter-rules.aec0af01.js +0 -76
  406. package/dist/assets/filters.3db1b044.js +0 -1
  407. package/dist/assets/flows.3ea1b90f.js +0 -15
  408. package/dist/assets/gcp.627205b5.js +0 -60
  409. package/dist/assets/github-ci.abd39dcc.js +0 -2
  410. package/dist/assets/glossary.312e2401.js +0 -1
  411. package/dist/assets/glossary.75ca2027.js +0 -1
  412. package/dist/assets/hooks.eda18b02.js +0 -60
  413. package/dist/assets/id-ID.a0052c00.js +0 -1
  414. package/dist/assets/import-export.3da878a4.js +0 -2
  415. package/dist/assets/index.133de9ba.entry.js +0 -3406
  416. package/dist/assets/index.ef58525d.css +0 -1
  417. package/dist/assets/insights.c8ed7c1c.js +0 -1
  418. package/dist/assets/installation.78c6d9f6.js +0 -1
  419. package/dist/assets/interfaces.9e145c45.js +0 -46
  420. package/dist/assets/introduction.78a2a844.js +0 -4
  421. package/dist/assets/introduction.8a589eb0.js +0 -1
  422. package/dist/assets/introduction.fd7c08ac.js +0 -1
  423. package/dist/assets/it-IT.7b7f58ec.js +0 -1
  424. package/dist/assets/items.64ed9295.js +0 -1
  425. package/dist/assets/ja-JP.819a38cf.js +0 -1
  426. package/dist/assets/layouts.3c14b583.js +0 -54
  427. package/dist/assets/layouts.ca8afd39.js +0 -1
  428. package/dist/assets/localization.374b7427.js +0 -1
  429. package/dist/assets/manual.ab601c95.js +0 -10
  430. package/dist/assets/migrations.8989fedc.js +0 -19
  431. package/dist/assets/modules.17c944d1.js +0 -69
  432. package/dist/assets/notifications.33c688c9.js +0 -153
  433. package/dist/assets/operations.50a08aae.js +0 -1
  434. package/dist/assets/overview.3436365c.js +0 -1
  435. package/dist/assets/overview.623fafba.js +0 -1
  436. package/dist/assets/overview.dbebe94a.js +0 -1
  437. package/dist/assets/panels.385b173a.js +0 -65
  438. package/dist/assets/pl-PL.7e448fa9.js +0 -1
  439. package/dist/assets/plesk.f7e3d5ef.js +0 -27
  440. package/dist/assets/presets-bookmarks.1b8ec70c.js +0 -1
  441. package/dist/assets/project-settings.d32669a9.js +0 -1
  442. package/dist/assets/projects.bb50c3df.js +0 -1
  443. package/dist/assets/pt-BR.2d6fa7cc.js +0 -1
  444. package/dist/assets/query.dbe0b56d.js +0 -152
  445. package/dist/assets/quickstart.01824cc9.js +0 -9
  446. package/dist/assets/quickstart.4d7c7736.js +0 -20
  447. package/dist/assets/relations.d29aa86d.js +0 -115
  448. package/dist/assets/relationships.c9c5db8a.js +0 -55
  449. package/dist/assets/resources.00028bf0.js +0 -1
  450. package/dist/assets/revisions.2898106e.js +0 -40
  451. package/dist/assets/roles.9fec37da.js +0 -171
  452. package/dist/assets/running-locally.811d0dcc.js +0 -26
  453. package/dist/assets/security.8e2a8a41.js +0 -1
  454. package/dist/assets/settings.149d1dff.js +0 -1
  455. package/dist/assets/settings.28abc1f0.js +0 -51
  456. package/dist/assets/sso.64b2717b.js +0 -22
  457. package/dist/assets/support.94e3734b.js +0 -1
  458. package/dist/assets/teams.9ff14f8f.js +0 -1
  459. package/dist/assets/themes.df7ec485.js +0 -5
  460. package/dist/assets/translations.5191ab7c.js +0 -1
  461. package/dist/assets/triggers.1f1ace5f.js +0 -1
  462. package/dist/assets/ubuntu.f4c21886.js +0 -11
  463. package/dist/assets/uk-UA.473dd1c9.js +0 -1
  464. package/dist/assets/upgrades-migrations.15498a47.js +0 -1
  465. package/dist/assets/user-directory.47c8beb2.js +0 -1
  466. package/dist/assets/users-roles-permissions.005388fa.js +0 -1
  467. package/dist/assets/users.84251ab9.js +0 -252
  468. package/dist/assets/webhooks.61b11e7d.js +0 -1
  469. package/dist/assets/zh-CN.c51e7308.js +0 -1
  470. package/dist/assets/zh-TW.8ef6cec8.js +0 -1
@@ -0,0 +1,76 @@
1
+ import{a as e,o as u,b as i,w as s,g as t,e as d,B as l}from"./runtime-core.esm-bundler.e6808e6c.js";const c={class:"markdown-body"},h=t("blockquote",null,[t("p",null,[l("Permissions, validation, and the API\u2019s "),t("code",null,"filter"),l(" parameter all rely on a specific JSON structure to define their rules. This page describes the syntax for creating flat, relational, or complex filter rules.")])],-1),p=t("p",null,[t("div",{class:"table-of-contents"},[t("ul",null,[t("li",null,[t("a",{href:"#syntax"},"Syntax")]),t("li",null,[t("a",{href:"#filter-operators"},"Filter Operators")]),t("li",null,[t("a",{href:"#relational"},"Relational")]),t("li",null,[t("a",{href:"#logical-operators"},"Logical Operators")]),t("li",null,[t("a",{href:"#dynamic-variables"},"Dynamic Variables")])])])],-1),_=t("h2",{id:"syntax"},[l("Syntax "),t("a",{class:"header-anchor",href:"#syntax"},"#")],-1),f=t("ul",null,[t("li",null,[t("strong",null,"Field"),l(" \u2014 Any valid root field, "),t("a",{href:"#relational"},"relational field"),l(", or "),t("a",{href:"#logical-operators"},"logical operator")]),t("li",null,[t("strong",null,"Operator"),l(" \u2014 Any valid "),t("a",{href:"#filter-operators"},"filter operator")]),t("li",null,[t("strong",null,"Value"),l(" \u2014 Any valid static value, or "),t("a",{href:"#dynamic-variables"},"dynamic variable")])],-1),g=t("pre",null,[t("code",null,`{
2
+ <field>: {
3
+ <operator>: <value>
4
+ }
5
+ }
6
+ `)],-1),m=t("h3",{id:"examples"},[l("Examples "),t("a",{class:"header-anchor",href:"#examples"},"#")],-1),y=t("pre",null,[t("code",{class:"language-json"},[l(`{
7
+ `),t("span",{class:"hljs-attr"},'"title"'),l(`: {
8
+ `),t("span",{class:"hljs-attr"},'"_contains"'),l(": "),t("span",{class:"hljs-string"},'"Directus"'),l(`
9
+ }
10
+ }
11
+ `)])],-1),b=t("pre",null,[t("code",{class:"language-json"},[l(`{
12
+ `),t("span",{class:"hljs-attr"},'"owner"'),l(`: {
13
+ `),t("span",{class:"hljs-attr"},'"_eq"'),l(": "),t("span",{class:"hljs-string"},'"$CURRENT_USER"'),l(`
14
+ }
15
+ }
16
+ `)])],-1),v=t("pre",null,[t("code",{class:"language-json"},[l(`{
17
+ `),t("span",{class:"hljs-attr"},'"datetime"'),l(`: {
18
+ `),t("span",{class:"hljs-attr"},'"_lte"'),l(": "),t("span",{class:"hljs-string"},'"$NOW"'),l(`
19
+ }
20
+ }
21
+ `)])],-1),j=t("h2",{id:"filter-operators"},[l("Filter Operators "),t("a",{class:"header-anchor",href:"#filter-operators"},"#")],-1),R=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,[l("Operator Title "),t("em",null,"(in app)")]),t("th",null,"Operator"),t("th",null,"Description")])]),t("tbody",null,[t("tr",null,[t("td",null,"Equals"),t("td",null,[t("code",null,"_eq")]),t("td",null,"Equal to")]),t("tr",null,[t("td",null,"Doesn\u2019t equal"),t("td",null,[t("code",null,"_neq")]),t("td",null,"Not equal to")]),t("tr",null,[t("td",null,"Less than"),t("td",null,[t("code",null,"_lt")]),t("td",null,"Less than")]),t("tr",null,[t("td",null,"Less than or equal to"),t("td",null,[t("code",null,"_lte")]),t("td",null,"Less than or equal to")]),t("tr",null,[t("td",null,"Greater than"),t("td",null,[t("code",null,"_gt")]),t("td",null,"Greater than")]),t("tr",null,[t("td",null,"Greater than or equal to"),t("td",null,[t("code",null,"_gte")]),t("td",null,"Greater than or equal to")]),t("tr",null,[t("td",null,"Is one of"),t("td",null,[t("code",null,"_in")]),t("td",null,"Matches any of the values")]),t("tr",null,[t("td",null,"Is not one of"),t("td",null,[t("code",null,"_nin")]),t("td",null,"Doesn\u2019t match any of the values")]),t("tr",null,[t("td",null,"Is null"),t("td",null,[t("code",null,"_null")]),t("td",null,[l("Is "),t("code",null,"null")])]),t("tr",null,[t("td",null,"Isn\u2019t null"),t("td",null,[t("code",null,"_nnull")]),t("td",null,[l("Is not "),t("code",null,"null")])]),t("tr",null,[t("td",null,"Contains"),t("td",null,[t("code",null,"_contains")]),t("td",null,"Contains the substring")]),t("tr",null,[t("td",null,"Doesn\u2019t contain"),t("td",null,[t("code",null,"_ncontains")]),t("td",null,"Doesn\u2019t contain the substring")]),t("tr",null,[t("td",null,"Starts with"),t("td",null,[t("code",null,"_starts_with")]),t("td",null,"Starts with")]),t("tr",null,[t("td",null,"Doesn\u2019t start with"),t("td",null,[t("code",null,"_nstarts_with")]),t("td",null,"Doesn\u2019t start with")]),t("tr",null,[t("td",null,"Ends with"),t("td",null,[t("code",null,"_ends_with")]),t("td",null,"Ends with")]),t("tr",null,[t("td",null,"Doesn\u2019t end with"),t("td",null,[t("code",null,"_nends_with")]),t("td",null,"Doesn\u2019t end with")]),t("tr",null,[t("td",null,"Is between"),t("td",null,[t("code",null,"_between")]),t("td",null,"Is between two values (inclusive)")]),t("tr",null,[t("td",null,"Isn\u2019t between"),t("td",null,[t("code",null,"_nbetween")]),t("td",null,"Is not between two values (inclusive)")]),t("tr",null,[t("td",null,"Is empty"),t("td",null,[t("code",null,"_empty")]),t("td",null,[l("Is empty ("),t("code",null,"null"),l(" or falsy)")])]),t("tr",null,[t("td",null,"Isn\u2019t empty"),t("td",null,[t("code",null,"_nempty")]),t("td",null,[l("Is not empty ("),t("code",null,"null"),l(" or falsy)")])]),t("tr",null,[t("td",null,"Intersects"),t("td",null,[t("code",null,"_intersects"),l(),t("sup",null,"[1]")]),t("td",null,"Value intersects a given point")]),t("tr",null,[t("td",null,"Doesn\u2019t intersect"),t("td",null,[t("code",null,"_nintersects"),l(),t("sup",null,"[1]")]),t("td",null,"Value does not intersect a given point")]),t("tr",null,[t("td",null,"Intersects Bounding box"),t("td",null,[t("code",null,"_intersects_bbox"),l(),t("sup",null,"[1]")]),t("td",null,"Value is in a bounding box")]),t("tr",null,[t("td",null,"Doesn\u2019t intersect bounding box"),t("td",null,[t("code",null,"_nintersects_bbox"),l(),t("sup",null,"[1]")]),t("td",null,"Value is not in a bounding box")])])],-1),w=t("p",null,[l("The following operator has no Title on the Filter Interface as it is "),t("strong",null,"only available in validation permissions"),l(":")],-1),x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Operator"),t("th",null,"Description")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"_regex"),l(),t("sup",null,"[2]")]),t("td",null,"Field has to match regex")])])],-1),E=t("sup",null,"[1]",-1),N=l(" Only available on Geometry types.\\ "),O=t("sup",null,"[2]",-1),I=l(' JavaScript "flavor" regex. Make sure to escape backslashes. '),T=t("h2",{id:"relational"},[l("Relational "),t("a",{class:"header-anchor",href:"#relational"},"#")],-1),q=t("p",null,[l("You can target related values by nesting field names. For example, if you have a relational Many-to-One "),t("code",null,"author"),l(" field, you can set a rule for the "),t("code",null,"author.name"),l(" field using the following syntax.")],-1),D=t("pre",null,[t("code",{class:"language-json"},[l(`{
22
+ `),t("span",{class:"hljs-attr"},'"author"'),l(`: {
23
+ `),t("span",{class:"hljs-attr"},'"name"'),l(`: {
24
+ `),t("span",{class:"hljs-attr"},'"_eq"'),l(": "),t("span",{class:"hljs-string"},'"Rijk van Zanten"'),l(`
25
+ }
26
+ }
27
+ }
28
+ `)])],-1),U=t("h2",{id:"logical-operators"},[l("Logical Operators "),t("a",{class:"header-anchor",href:"#logical-operators"},"#")],-1),F=t("p",null,[l("You can nest or group multiple rules using the "),t("code",null,"_and"),l(" or "),t("code",null,"_or"),l(" logical operators. Each logical operator holds an array of Filter Rules, allowing for more complex filtering. Also note in the example that Logical Operators can be sub-nested into Logical Operators. However, they cannot be sub-nested into Filter Rules.")],-1),$=t("pre",null,[t("code",{class:"language-json"},[l(`{
29
+ `),t("span",{class:"hljs-attr"},'"_or"'),l(`: [
30
+ {
31
+ `),t("span",{class:"hljs-attr"},'"_and"'),l(`: [
32
+ {
33
+ `),t("span",{class:"hljs-attr"},'"user_created"'),l(`: {
34
+ `),t("span",{class:"hljs-attr"},'"_eq"'),l(": "),t("span",{class:"hljs-string"},'"$CURRENT_USER"'),l(`
35
+ }
36
+ },
37
+ {
38
+ `),t("span",{class:"hljs-attr"},'"status"'),l(`: {
39
+ `),t("span",{class:"hljs-attr"},'"_in"'),l(": ["),t("span",{class:"hljs-string"},'"published"'),l(", "),t("span",{class:"hljs-string"},'"draft"'),l(`]
40
+ }
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ `),t("span",{class:"hljs-attr"},'"_and"'),l(`: [
46
+ {
47
+ `),t("span",{class:"hljs-attr"},'"user_created"'),l(`: {
48
+ `),t("span",{class:"hljs-attr"},'"_neq"'),l(": "),t("span",{class:"hljs-string"},'"$CURRENT_USER"'),l(`
49
+ }
50
+ },
51
+ {
52
+ `),t("span",{class:"hljs-attr"},'"status"'),l(`: {
53
+ `),t("span",{class:"hljs-attr"},'"_in"'),l(": ["),t("span",{class:"hljs-string"},'"published"'),l(`]
54
+ }
55
+ }
56
+ ]
57
+ }
58
+ ]
59
+ }
60
+ `)])],-1),C=t("h3",{id:"some-vs-none-in-one-to-many"},[l("Some vs None in One-to-Many "),t("a",{class:"header-anchor",href:"#some-vs-none-in-one-to-many"},"#")],-1),S=t("p",null,"When applying filters to a one-to-many field, Directus will default to a \u201Csome\u201D search, for example in:",-1),k=t("pre",null,[t("code",{class:"language-json"},[l(`{
61
+ `),t("span",{class:"hljs-attr"},'"categories"'),l(`: {
62
+ `),t("span",{class:"hljs-attr"},'"name"'),l(`: {
63
+ `),t("span",{class:"hljs-attr"},'"_eq"'),l(": "),t("span",{class:"hljs-string"},'"Recipe"'),l(`
64
+ }
65
+ }
66
+ }
67
+ `)])],-1),L=t("p",null,[l("the top level parent will be returned if "),t("em",null,"one of"),l(" the categories has the name "),t("code",null,"Recipe"),l(". This behavior can be overridden by using the explicit "),t("code",null,"_some"),l(" and "),t("code",null,"_none"),l(" operators, for example:")],-1),V=t("pre",null,[t("code",{class:"language-json"},[l(`{
68
+ `),t("span",{class:"hljs-attr"},'"categories"'),l(`: {
69
+ `),t("span",{class:"hljs-attr"},'"_none"'),l(`: {
70
+ `),t("span",{class:"hljs-attr"},'"name"'),l(`: {
71
+ `),t("span",{class:"hljs-attr"},'"_eq"'),l(": "),t("span",{class:"hljs-string"},'"Recipe"'),l(`
72
+ }
73
+ }
74
+ }
75
+ }
76
+ `)])],-1),W=t("p",null,"will fetch all parent items that don\u2019t have the category \u201CRecipe\u201D",-1),A=t("h2",{id:"dynamic-variables"},[l("Dynamic Variables "),t("a",{class:"header-anchor",href:"#dynamic-variables"},"#")],-1),B=t("p",null,[l("In addition to static values, you can also filter against "),t("em",null,"dynamic"),l(" values using the following variables.")],-1),G=t("ul",null,[t("li",null,[t("code",null,"$CURRENT_USER"),l(" \u2014 The primary key of the currently authenticated user")]),t("li",null,[t("code",null,"$CURRENT_ROLE"),l(" \u2014 The primary key of the role for the currently authenticated user")]),t("li",null,[t("code",null,"$NOW"),l(" \u2014 The current timestamp")]),t("li",null,[t("code",null,"$NOW(<adjustment>)"),l(" - The current timestamp plus/minus a given distance, for example "),t("code",null,"$NOW(-1 year)"),l(", "),t("code",null,"$NOW(+2 hours)")])],-1),M={class:"tip hint"},P=t("div",{class:"hint-title"},"Functions",-1),Y=l("You can also use "),J=l("Function Parameters"),z=l(" when building Filters."),H=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Nested User / Role variables in Permissions"),t("p",null,[l("When configuring permissions, "),t("code",null,"$CURRENT_USER"),l(" and "),t("code",null,"$CURRENT_ROLE"),l(" allow you to specify any (nested) field under the current user/role as well as the root ID. For example: "),t("code",null,"$CURRENT_ROLE.name"),l(" or "),t("code",null,"$CURRENT_USER.avatar.filesize"),l(". This includes custom fields that were added to the directus_users/directus_roles tables.")]),t("p",null,"Note: This feature is only available for permissions, validation, and presets. Regular filters and conditional fields currently only support the root ID.")],-1),tt="Filter Rules",lt=!1,nt={name:"filter-rules",setup(Z,{expose:a}){const n={title:"Filter Rules",modularExtension:!1};return a({frontmatter:n}),(K,Q)=>{const o=e("router-link"),r=e("docs-wrapper");return u(),i(r,{frontmatter:n},{default:s(()=>[t("div",c,[h,p,_,f,g,m,y,b,v,j,R,w,x,E,N,O,I,T,q,D,U,F,$,C,S,k,L,V,W,A,B,G,t("div",M,[P,t("p",null,[Y,d(o,{to:"/docs/reference/query/#functions"},{default:s(()=>[J]),_:1}),z])]),H])]),_:1})}}};export{nt as default,lt as modularExtension,tt as title};
@@ -0,0 +1 @@
1
+ import{a as n,o as d,b as c,w as o,g as e,e as i,B as t}from"./runtime-core.esm-bundler.e6808e6c.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"Filters allow you to conditionally select Items from a Collection. Use-cases include customizing Item search results, restricting Item access permissions for specific Users or Roles, building dashboard analytics with the Insights module, and more.")],-1),_=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/filters-20220303A.webp",alt:"Filters"})],-1),p=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#how-it-works"},"How it Works")]),e("li",null,[e("a",{href:"#and%2For-groups"},"AND/OR Groups")]),e("li",null,[e("a",{href:"#dynamic-variables"},"Dynamic Variables")]),e("li",null,[e("a",{href:"#filtering-by-related-collections"},"Filtering by Related Collections")]),e("li",null,[e("a",{href:"#unfilterable-fields"},"Unfilterable Fields")]),e("li",null,[e("a",{href:"#extensibility-options"},"Extensibility Options")]),e("li",null,[e("a",{href:"#more-help"},"More Help")])])])],-1),f={class:"warning hint"},m=e("div",{class:"hint-title"},"There Are Two Filters Documents",-1),y=t("This page is a non-technical guide to using Filters. For more technical info, see "),g=t("Filter-Rules"),b=t("."),w=e("h2",{id:"how-it-works"},[t("How it Works "),e("a",{class:"header-anchor",href:"#how-it-works"},"#")],-1),F={class:"tip hint"},v=e("div",{class:"hint-title"},"Assumed Knowledge",-1),A=t("Filters are intuitive to use, but get quite nuanced as complexity increases. In order to use Filters effectively, you will need to understand the Field "),k=t("(aka "),C=t("data model"),O=t(")"),x=t(" being filtered as well as any relevant "),R=t("Users, Roles and Permissions"),D=t("."),N=t("A basic filter is composed of 3 parts: A "),G=e("strong",null,"Field",-1),I=t(" from the Collection being Filtered, a logical "),V=t("Operator"),E=t(", and some specified "),H=e("strong",null,"Value",-1),T=t(" to filter for within each Item\u2019s Field."),U=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/how-filters-work-20220303A.mp4",type:"video/mp4"})],-1),W=e("ol",{start:"2"},[e("li",null,[t("Click "),e("span",{mi:"",icon:""},"filter_list"),t(" or "),e("strong",null,"\u201CAdd Filter\u201D"),t(".")]),e("li",null,"Select the Field to filter by."),e("li",null,"Select the Operator as desired."),e("li",null,"Define the Value to filter for.")],-1),S=e("p",null,[t("From here, you can set multiple Filters at once, filter by "),e("a",{href:"#filtering-by-related-collections"},"Fields in related Collections"),t(", set Values with "),e("a",{href:"#dynamic-variables"},"Dynamic Variables"),t(", as well as apply "),e("a",{href:"#and-or-groups"},"AND/OR Groups"),t(".")],-1),B={class:"tip hint"},$=e("div",{class:"hint-title"},"Operators",-1),j=t("The Field type will determine the kinds of Operators that can be used on it. In fact, some Fields cannot be filtered at all (read more in "),P=e("a",{href:"#unfilterable-fields"},"Unfilterable Fields",-1),q=t("). Once a Field is selected, the permitted operators will automatically display. An exhaustive list of Operators and what they do can be found in the more technical "),L=t("Filter Rules"),M=t(" document."),Y=e("h2",{id:"and%2For-groups"},[t("AND/OR Groups "),e("a",{class:"header-anchor",href:"#and%2For-groups"},"#")],-1),z=e("p",null,[e("code",null,"AND"),t(" Groups give the option to filter for Items that meet "),e("em",null,"all of several criteria"),t(". On the other hand, "),e("code",null,"OR"),t(" Groups filter for Items that meet "),e("em",null,"any one of several criteria"),t(".")],-1),K=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/and-or-groups-20220303A.webp",alt:"AND/OR Groups"})],-1),J=e("ol",null,[e("li",null,"Click \u201CAdd Filter\u201D."),e("li",null,"Click \u201CAnd/OR Group\u201D at the very top of the dropdown menu."),e("li",null,[t("Click the AND/OR text to toggle: "),e("ul",null,[e("li",null,[e("code",null,"AND"),t(" \u2013 Selects Items that meet every single criteria.")]),e("li",null,[e("code",null,"OR"),t(" \u2013 Selects Items that meet one of several criteria.")])])]),e("li",null,"Click \u201CAdd Filter\u201D again."),e("li",null,"Configure the Field, Operator, and Value as desired."),e("li",null,[t("Click and hold "),e("span",{mi:"",icon:""},"drag_indicator"),t(" to drag a Filter and nest it under an AND/OR Group.")])],-1),Q=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Why do we need AND Groups?"),e("p",null,[t("Filters actually default to "),e("code",null,"AND"),t(" Group behavior automatically. However, when Filters are nested inside of an OR Group, they of course switch to "),e("code",null,"OR"),t(" Group behavior. So an AND Group is necessary in cases where you want to meet multiple conditions inside of OR Groups.")])],-1),X=e("h2",{id:"dynamic-variables"},[t("Dynamic Variables "),e("a",{class:"header-anchor",href:"#dynamic-variables"},"#")],-1),Z=e("p",null,"The following video shows how to filter for Blog posts written within the past 60 days.",-1),ee=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/dynamic-variables-20220307A.mp4",type:"video/mp4"})],-1),te=t("The following Dynamic Variables are built into Directus to make Filtering easier: "),oe=e("code",null,"$CURRENT_USER",-1),le=t(", "),ie=e("code",null,"$CURRENT_ROLE",-1),se=t(", "),ne=e("code",null,"$NOW",-1),re=t(" and "),ae=e("code",null,"$NOW(<adjustment>)",-1),de=t(". For more information, please see the Dynamic Variables section in "),ce=t("Filter Rules"),ue=t("."),he=e("h2",{id:"filtering-by-related-collections"},[t("Filtering by Related Collections "),e("a",{class:"header-anchor",href:"#filtering-by-related-collections"},"#")],-1),_e=e("p",null,[t("You may need to run filters on one Collection "),e("em",null,"based on information in another related Collection"),t(". Here are a few examples of when that might happen:")],-1),pe=e("ul",null,[e("li",null,[t("Book authors that also wrote screenplays (filters "),e("code",null,"authors"),t(", uses "),e("code",null,"screenplays"),t(").")]),e("li",null,[t("Products with a 5 star customer review (filters "),e("code",null,"products"),t(", uses "),e("code",null,"reviews"),t(").")]),e("li",null,[t("Accounts with active user login within the last 12 months (filters "),e("code",null,"accounts"),t(", uses "),e("code",null,"logins"),t(").")])],-1),fe=e("p",null,[t("This can span across any number of relationally linked Collections. For example, you could filter for customers that bought rock songs, where the "),e("code",null,"customers"),t(" and "),e("code",null,"genres"),t(" Collections are linked by "),e("code",null,"customers"),t(" -> "),e("code",null,"invoices"),t(" -> "),e("code",null,"invoice-items"),t(" -> "),e("code",null,"tracks"),t(" -> "),e("code",null,"genres"),t(".")],-1),me=t("You will notice a "),ye=e("span",{mi:"",icon:""},"chevron_right",-1),ge=t(" icon beside relational Fields. When you click on any "),be=t("Alias"),we=t(" Field, all the Fields for that associated Collection pop down. If you select one of these Fields, you can run Filters on the current Collection by Field values in a related Collection."),Fe=e("p",null,"Here are step-by-step instructions on how to filter by Fields in other Collections:",-1),ve=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/filtering-by-related-collections-20220303A.mp4",type:"video/mp4"})],-1),Ae=e("ol",null,[e("li",null,"Click \u201CAdd Filter\u201D."),e("li",null,"Click the desired relational Field. This will pop down and display the related Collection Fields."),e("li",null,"Select a Field from this related Collection."),e("li",null,"Set the Operator and Value as desired.")],-1),ke=e("h2",{id:"unfilterable-fields"},[t("Unfilterable Fields "),e("a",{class:"header-anchor",href:"#unfilterable-fields"},"#")],-1),Ce=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/unfilterable-fields-20220303A.webp",alt:"Unfilterable Fields"})],-1),Oe=e("p",null,[t("Not all Fields can be filtered. As seen above in "),e("a",{href:"#filtering-by-related-collections"},"Filtering by Related Collections"),t(", Alias Fields cannot be filtered; they instead provide a dropdown menu to access Fields from a related Collection. Additionally, the \u201CPresentation\u201D and \u201CGroup\u201D Fields cannot be filtered at all and will not appear as an option in Filters.")],-1),xe=e("h2",{id:"extensibility-options"},[t("Extensibility Options "),e("a",{class:"header-anchor",href:"#extensibility-options"},"#")],-1),Re=e("p",null,"Directus Core is completely open-source, modular and extensible. Extensions allow you to expand or modify any part of Directus to fit your needs. Here are some great resources to get started down that track.",-1),De=t("Extensions > Introduction"),Ne=t("Extensions > Creating Extensions"),Ge=t("Contributing > Introduction"),Ie=t("Contributing > Codebase Overview"),Ve=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Accelerated Development"),e("p",null,[t("Working on an enterprise project and looking to outsource or financially sponsor the development of a Shares extension? Contact "),e("a",{href:"https://directus.io/contact/",target:"_blank",rel:"noopener noreferrer"},"our team")])],-1),Ee=e("h2",{id:"more-help"},[t("More Help "),e("a",{class:"header-anchor",href:"#more-help"},"#")],-1),He=e("p",null,[t("Looking for technical support for your non-enterprise project? Chat with thousands of engineers within our growing "),e("a",{href:"https://discord.com/invite/directus",target:"_blank",rel:"noopener noreferrer"},"Community on Discord")],-1),Be="Filters",$e=!1,je={name:"filters",setup(Te,{expose:r}){const s={title:"Filters",modularExtension:!1};return r({frontmatter:s}),(Ue,We)=>{const l=n("router-link"),a=n("docs-wrapper");return d(),c(a,{frontmatter:s},{default:o(()=>[e("div",u,[h,_,p,e("div",f,[m,e("p",null,[y,i(l,{to:"/docs/reference/filter-rules/"},{default:o(()=>[g]),_:1}),b])]),w,e("div",F,[v,e("p",null,[A,e("em",null,[k,i(l,{to:"/docs/configuration/data-model/"},{default:o(()=>[C]),_:1}),O]),x,i(l,{to:"/docs/configuration/users-roles-permissions.md"},{default:o(()=>[R]),_:1}),D])]),e("p",null,[N,G,I,i(l,{to:"/docs/reference/filter-rules/#filter-operators"},{default:o(()=>[V]),_:1}),E,H,T]),U,W,S,e("div",B,[$,e("p",null,[j,P,q,i(l,{to:"/docs/reference/filter-rules/#filter-operators"},{default:o(()=>[L]),_:1}),M])]),Y,z,K,J,Q,X,Z,ee,e("p",null,[te,oe,le,ie,se,ne,re,ae,de,i(l,{to:"/docs/reference/filter-rules/"},{default:o(()=>[ce]),_:1}),ue]),he,_e,pe,fe,e("p",null,[me,ye,ge,i(l,{to:"/docs/getting-started/glossary/#alias"},{default:o(()=>[be]),_:1}),we]),Fe,ve,Ae,ke,Ce,Oe,xe,Re,e("ul",null,[e("li",null,[i(l,{to:"/docs/extensions/introduction/"},{default:o(()=>[De]),_:1})]),e("li",null,[i(l,{to:"/docs/extensions/creating-extensions/"},{default:o(()=>[Ne]),_:1})]),e("li",null,[i(l,{to:"/docs/contributing/introduction/"},{default:o(()=>[Ge]),_:1})]),e("li",null,[i(l,{to:"/docs/contributing/codebase-overview/"},{default:o(()=>[Ie]),_:1})])]),Ve,Ee,He])]),_:1})}}};export{je as default,$e as modularExtension,Be as title};
@@ -0,0 +1,15 @@
1
+ import{a as l,o as c,b as d,w as o,g as e,e as n,B as t}from"./runtime-core.esm-bundler.e6808e6c.js";const h={class:"markdown-body"},_=e("blockquote",null,[e("p",null,"Flows enable custom, event-driven data processing and task automation within Directus. Each Flow is composed of one Trigger, followed by a series of Operations.")],-1),u=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#what's-a-flow%3F"},"What's a Flow?")]),e("li",null,[e("a",{href:"#create-a-flow"},"Create a Flow")]),e("li",null,[e("a",{href:"#the-flow-object"},"The Flow Object")]),e("li",null,[e("a",{href:"#logs"},"Logs")])])])],-1),p={class:"tip hint"},w=e("div",{class:"hint-title"},"Learn More",-1),f=t("There is also dedicated API documentation on "),g=t("Flows"),m=t(" and "),b=t("Operations"),O=t("."),y=e("h2",{id:"what%E2%80%99s-a-flow%3F"},[t("What\u2019s a Flow? "),e("a",{class:"header-anchor",href:"#what%E2%80%99s-a-flow%3F"},"#")],-1),F=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/flows/flows-20220603A/whats-a-flow-20220603A.webp",alt:"What's a Flow?"})],-1),v=t("Each Flow begins with one Trigger, which defines the actions that start the Flow. Triggers can be an event or action within the app, an incoming webhook, a cron job, or a manual click of a button. Please see the documentation on "),j=t("Triggers"),k=t(" for more details."),T=t("Operations are the actions performed after the Trigger. An operation can be creating new Items in a Collection, sending off emails, pushing "),A=e("em",null,"in-app",-1),x=t(" notifications, or sending webhooks, just to name a few. You can even set up divergent chains of Flow Operations, which execute conditionally, based on whether one Operation passed or failed. A "),C=t("console log"),S=t(" is also included to help design and troubleshoot your Flows and ensure data is passed on as intended. Check out the documentation on "),P=t("Operations"),N=t(" for more details."),E=e("p",null,[t("Once a Flow is triggered, Directus creates a "),e("a",{href:"#the-flow-object"},"Flow Object"),t(", which stores data from the Trigger event. As each Operation in the flow executes, the data generated is added onto this Flow Object, and every Operation in a Flow has access to it.")],-1),$=e("h2",{id:"create-a-flow"},[t("Create a Flow "),e("a",{class:"header-anchor",href:"#create-a-flow"},"#")],-1),D=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"Create a Flow"},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/flows/flows/flows-20220603A/create-a-flow-20220603A.mp4",type:"video/mp4"})],-1),L=e("p",null,"To create a Flow, follow these steps:",-1),V=e("li",null,[t("Navigate to "),e("strong",null,"\u201CSettings > Flows\u201D"),t(" and click "),e("span",{mi:"",btn:""},"add"),t(" in the Page Header. A side menu will appear.")],-1),W=e("li",null,[t("Under "),e("strong",null,"Flow Setup"),t(", fill in a name for the Flow."),e("br"),t(" Optional: Set a status, material icon, description or color to help remember the Flow.")],-1),B=t("Select your "),J=e("strong",null,"Activity and Logs Tracking",-1),G=t(" preference as desired."),H=e("br",null,null,-1),I=t(" To learn more, please see "),Y=t("Activity"),q=t(" and "),M=t("Logs"),K=t("."),R=t("Click "),U=e("span",{mi:"",btn:""},"arrow_forward",-1),z=t(" to navigate to "),Q=e("strong",null,"Trigger Setup",-1),X=t(", select a "),Z=t("Trigger"),ee=t(" type and configure as desired."),te=e("li",null,[t("Click "),e("span",{mi:"",btn:""},"done"),t(" in the Menu Header to be taken to the Flow Grid Area."),e("br"),t(" You\u2019ll see the Trigger Panel on the Flow Grid.")],-1),oe=e("li",null,[t("On the Trigger Panel, click "),e("span",{mi:""},"add"),t(" and the "),e("strong",null,"Create Operation"),t(" side menu will open.")],-1),se=t("Choose a name and the "),ne=t("Operation"),ae=t(" type, and configure as desired."),le=e("br",null,null,-1),ie=t(" Directus will convert the unique name into an Operation Key, used on the "),re=e("a",{href:"#the-flow-object"},"Flow Object",-1),ce=t("."),de=e("br",null,null,-1),he=t(" If you don\u2019t choose a name, the system will auto-generate a name and key."),_e=e("li",null,[t("Next, click "),e("span",{mi:"",btn:""},"done"),t(" in the Page Header to confirm your choices and return to the Flow Grid Area.")],-1),ue=e("li",null,[t("On the newly created Operation Panel: "),e("ul",null,[e("li",null,[t("Click "),e("span",{mi:"",icon:""},"add"),t(" to add an Operation to follow the successful execution of the current Operation.")]),e("li",null,[t("Click "),e("span",{mi:"",icon:""},"remove"),t(" to add an Operation should the current Operation fail.")])])],-1),pe=e("li",null,"Repeat steps 8-10 to add to your Flow.",-1),we=e("li",null,[e("strong",null,"Optional:"),t(" To edit a Trigger or Operation Panel, click "),e("span",{mi:"",icon:""},"edit"),t(" and make any necessary edits.")],-1),fe=e("li",null,[e("strong",null,"Optional:"),t(" To delete an Operation Panel, click "),e("span",{mi:"",icon:""},"more_vert"),t(" then "),e("span",{mi:"",icon:"",dngr:""},"delete"),t(".")],-1),ge=e("h2",{id:"the-flow-object"},[t("The Flow Object "),e("a",{class:"header-anchor",href:"#the-flow-object"},"#")],-1),me=e("p",null,"When a Flow is triggered, Directus creates a JSON object to store all data generated within the Flow. When you create an Operation, this generates a key that appends to the Flow Object when the Operation executes. The key is used to add the associated Operation\u2019s data onto the Flows Object. As each Operation in the Flow executes, it has access to the Flow Object and therefore the data generated from preceding Operations.",-1),be=e("p",null,[t("The following JSON object is a simple example of a Flow with two Operations. The "),e("code",null,"$trigger"),t(", "),e("code",null,"$last"),t(", and "),e("code",null,"$accountability"),t(" keys are included on every Flow. An Operation key will be generated for each Operation that executes successfully.")],-1),Oe=e("pre",null,[e("code",{class:"language-JSON"},[t(`{
2
+ `),e("span",{class:"hljs-attr"},'"$trigger"'),t(": {}, "),e("span",{class:"hljs-comment"},"// Data generated by the Flow's Trigger."),t(`
3
+ `),e("span",{class:"hljs-attr"},'"$last"'),t(": "),e("span",{class:"hljs-literal"},"null"),t(", "),e("span",{class:"hljs-comment"},"// Data from the last Operation in the flow, for easy access!"),t(`
4
+ `),e("span",{class:"hljs-attr"},'"$accountability"'),t(": {}, "),e("span",{class:"hljs-comment"},"// Provides details on who/what tripped the Trigger and generated this Flow Object."),t(`
5
+ `),e("span",{class:"hljs-attr"},'"operation_key"'),t(": { "),e("span",{class:"hljs-comment"},"// The data (if any) generated by the first Operation."),t(`
6
+ `),e("span",{class:"hljs-attr"},'"some_nested_key"'),t(": "),e("span",{class:"hljs-string"},'"Some nested value."'),t(`,
7
+ },
8
+ `),e("span",{class:"hljs-attr"},'"operation_key_2"'),t(": "),e("span",{class:"hljs-literal"},"null"),t(", "),e("span",{class:"hljs-comment"},"// Value is null if no data was generated during an Operation."),t(`
9
+ }
10
+ `)])],-1),ye=e("h3",{id:"flow-variables"},[t("Flow Variables "),e("a",{class:"header-anchor",href:"#flow-variables"},"#")],-1),Fe=e("p",null,"The Flow Object keys serve as variables that allow data access from every Flow Operation. Variables must be passed using the following double-moustache syntax. You can even use dot-notation to extract sub-nested values.",-1),ve=e("pre",null,[e("code",{class:"language-JSON"},[t(`{
11
+ `),e("span",{class:"hljs-attr"},'"operation_key_3"'),t(`: {
12
+ `),e("span",{class:"hljs-attr"},'"user"'),t(": "),e("span",{class:"hljs-string"},'"{{ $accountability.user }}"'),t(`,
13
+ }
14
+ }
15
+ `)])],-1),je=e("h2",{id:"logs"},[t("Logs "),e("a",{class:"header-anchor",href:"#logs"},"#")],-1),ke=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/flows/flows/flows-20220603A/logs-20220603A.mp4",type:"video/mp4"})],-1),Te=e("p",null,"Accessible from the Sidebar, Logs store information for each Flow execution. Each log will display information from Triggers as well as each Operation in the Flow.",-1),Pe="Flows",Ne=!1,Ee={name:"flows",setup(Ae,{expose:i}){const a={title:"Flows",modularExtension:!1};return i({frontmatter:a}),(xe,Ce)=>{const s=l("router-link"),r=l("docs-wrapper");return c(),d(r,{frontmatter:a},{default:o(()=>[e("div",h,[_,u,e("div",p,[w,e("p",null,[f,n(s,{to:"/docs/reference/system/flows"},{default:o(()=>[g]),_:1}),m,n(s,{to:"/docs/reference/system/operations"},{default:o(()=>[b]),_:1}),O])]),y,F,e("p",null,[v,n(s,{to:"/docs/configuration/flows/triggers"},{default:o(()=>[j]),_:1}),k]),e("p",null,[T,A,x,n(s,{to:"/docsconfiguration/flows/operations/#log-to-console"},{default:o(()=>[C]),_:1}),S,n(s,{to:"/docs/configuration/flows/operations"},{default:o(()=>[P]),_:1}),N]),E,$,D,L,e("ol",null,[V,W,e("li",null,[B,J,G,H,I,n(s,{to:"/docs/reference/system/activity/"},{default:o(()=>[Y]),_:1}),q,n(s,{to:"/docs/#logs"},{default:o(()=>[M]),_:1}),K]),e("li",null,[R,U,z,Q,X,n(s,{to:"/docsconfiguration/flows/triggers"},{default:o(()=>[Z]),_:1}),ee]),te,oe,e("li",null,[se,n(s,{to:"/docsconfiguration/flows/operations"},{default:o(()=>[ne]),_:1}),ae,le,ie,re,ce,de,he]),_e,ue,pe,we,fe]),ge,me,be,Oe,ye,Fe,ve,je,ke,Te])]),_:1})}}};export{Ee as default,Ne as modularExtension,Pe as title};
@@ -1,4 +1,4 @@
1
- import{a as n,o as h,b as d,w as a,g as s,e as l,B as e}from"./runtime-core.esm-bundler.b1f35d24.js";var o={};const i={class:"markdown-body"},p=s("div",{class:"two-up"},[s("div",{class:"left"},[s("blockquote",null,[s("p",null,"Flows enable custom, event-driven data processing and task automation within Directus.")])]),s("div",{class:"right"},[s("p",null,[s("div",{class:"table-of-contents"},[s("ul",null,[s("li",null,[s("a",{href:"#the-flow-object"},"The Flow Object")]),s("li",null,[s("a",{href:"#list-flows"},"List Flows")]),s("li",null,[s("a",{href:"#retrieve-a-flow"},"Retrieve a flow")]),s("li",null,[s("a",{href:"#create-a-flow"},"Create a Flow")]),s("li",null,[s("a",{href:"#create-multiple-flows"},"Create Multiple Flows")]),s("li",null,[s("a",{href:"#update-a-flow"},"Update a Flow")]),s("li",null,[s("a",{href:"#update-multiple-flows"},"Update Multiple Flows")]),s("li",null,[s("a",{href:"#delete-a-flow"},"Delete a Flow")]),s("li",null,[s("a",{href:"#delete-multiple-flows"},"Delete Multiple Flows")]),s("li",null,[s("a",{href:"#flow-with-get-webhook-trigger"},"Flow with GET webhook trigger")]),s("li",null,[s("a",{href:"#flow-with-post-webhook-trigger"},"Flow with POST webhook trigger")])])])])])],-1),u=s("hr",null,null,-1),f=s("h2",{id:"the-flow-object"},[e("The Flow Object "),s("a",{class:"header-anchor",href:"#the-flow-object"},"#")],-1),_={class:"two-up"},g={class:"left"},w={class:"definitions"},m=s("p",null,[s("code",{class:""},"id"),e(),s("strong",null,"uuid"),s("br"),e(" Primary key of the flow.")],-1),j=s("p",null,[s("code",{class:""},"name"),e(),s("strong",null,"string"),s("br"),e(" Name for the flow.")],-1),y=s("p",null,[s("code",{class:""},"icon"),e(),s("strong",null,"string"),s("br"),e(" Icon displayed in the Admin App for the flow.")],-1),b=s("p",null,[s("code",{class:""},"color"),e(),s("strong",null,"string"),s("br"),e(" Color of the icon displayed in the Admin App for the flow.")],-1),q=s("p",null,[s("code",{class:""},"note"),e(),s("strong",null,"text"),s("br"),e(" Short description displayed in the Admin App.")],-1),x=s("p",null,[s("code",{class:""},"status"),e(),s("strong",null,"string"),s("br"),e(" Current status of the flow. One of "),s("code",{class:""},"active"),e(", "),s("code",{class:""},"inactive"),e(". Defaults to "),s("code",{class:""},"active"),e(" when not specified.")],-1),v=s("p",null,[s("code",{class:""},"trigger"),e(),s("strong",null,"string"),s("br"),e(" Type of trigger for the flow. One of "),s("code",{class:""},"hook"),e(", "),s("code",{class:""},"webhook"),e(", "),s("code",{class:""},"operation"),e(", "),s("code",{class:""},"schedule"),e(", "),s("code",{class:""},"manual"),e(".")],-1),E=s("p",null,[s("code",{class:""},"options"),e(),s("strong",null,"json"),s("br"),e(" Options of the selected trigger for the flow.")],-1),T=s("p",null,[s("code",{class:""},"accountability"),e(),s("strong",null,"string"),s("br"),e(" The permission used during the flow. One of "),s("code",{class:""},"$public"),e(", "),s("code",{class:""},"$trigger"),e(", "),s("code",{class:""},"$full"),e(", or UUID of a role.")],-1),k=s("p",null,[s("code",{class:""},"date_created"),e(),s("strong",null,"timestamp"),s("br"),e(" Timestamp in ISO8601 when the flow was created.")],-1),P=s("code",{class:""},"user_created",-1),S=e(),R=s("strong",null,"many-to-one",-1),F=s("br",null,null,-1),A=e(" The user who created the flow. Many-to-one to "),O=e("users"),D=e("."),I=s("p",null,[s("code",{class:""},"operation"),e(),s("strong",null,"string"),s("br"),e(" UUID of the operation connected to the trigger in the flow.")],-1),M=s("div",{class:"right"},[s("pre",null,[s("code",{class:"language-json"},[e(`{
1
+ import{a as o,o as c,b as d,w as l,g as s,e as a,B as e}from"./runtime-core.esm-bundler.e6808e6c.js";const i={class:"markdown-body"},p=s("div",{class:"two-up"},[s("div",{class:"left"},[s("blockquote",null,[s("p",null,"Flows enable custom, event-driven data processing and task automation within Directus.")])]),s("div",{class:"right"},[s("p",null,[s("div",{class:"table-of-contents"},[s("ul",null,[s("li",null,[s("a",{href:"#the-flow-object"},"The Flow Object")]),s("li",null,[s("a",{href:"#list-flows"},"List Flows")]),s("li",null,[s("a",{href:"#retrieve-a-flow"},"Retrieve a flow")]),s("li",null,[s("a",{href:"#create-a-flow"},"Create a Flow")]),s("li",null,[s("a",{href:"#create-multiple-flows"},"Create Multiple Flows")]),s("li",null,[s("a",{href:"#update-a-flow"},"Update a Flow")]),s("li",null,[s("a",{href:"#update-multiple-flows"},"Update Multiple Flows")]),s("li",null,[s("a",{href:"#delete-a-flow"},"Delete a Flow")]),s("li",null,[s("a",{href:"#delete-multiple-flows"},"Delete Multiple Flows")]),s("li",null,[s("a",{href:"#flow-with-get-webhook-trigger"},"Flow with GET webhook trigger")]),s("li",null,[s("a",{href:"#flow-with-post-webhook-trigger"},"Flow with POST webhook trigger")])])])])])],-1),u=s("hr",null,null,-1),f=s("h2",{id:"the-flow-object"},[e("The Flow Object "),s("a",{class:"header-anchor",href:"#the-flow-object"},"#")],-1),_={class:"two-up"},g={class:"left"},w={class:"definitions"},m=s("p",null,[s("code",null,"id"),e(),s("strong",null,"uuid"),s("br"),e(" Primary key of the flow.")],-1),j=s("p",null,[s("code",null,"name"),e(),s("strong",null,"string"),s("br"),e(" Name for the flow.")],-1),y=s("p",null,[s("code",null,"icon"),e(),s("strong",null,"string"),s("br"),e(" Icon displayed in the Admin App for the flow.")],-1),b=s("p",null,[s("code",null,"color"),e(),s("strong",null,"string"),s("br"),e(" Color of the icon displayed in the Admin App for the flow.")],-1),q=s("p",null,[s("code",null,"note"),e(),s("strong",null,"text"),s("br"),e(" Short description displayed in the Admin App.")],-1),x=s("p",null,[s("code",null,"status"),e(),s("strong",null,"string"),s("br"),e(" Current status of the flow. One of "),s("code",null,"active"),e(", "),s("code",null,"inactive"),e(". Defaults to "),s("code",null,"active"),e(" when not specified.")],-1),v=s("p",null,[s("code",null,"trigger"),e(),s("strong",null,"string"),s("br"),e(" Type of trigger for the flow. One of "),s("code",null,"hook"),e(", "),s("code",null,"webhook"),e(", "),s("code",null,"operation"),e(", "),s("code",null,"schedule"),e(", "),s("code",null,"manual"),e(".")],-1),E=s("p",null,[s("code",null,"options"),e(),s("strong",null,"json"),s("br"),e(" Options of the selected trigger for the flow.")],-1),T=s("p",null,[s("code",null,"accountability"),e(),s("strong",null,"string"),s("br"),e(" The permission used during the flow. One of "),s("code",null,"$public"),e(", "),s("code",null,"$trigger"),e(", "),s("code",null,"$full"),e(", or UUID of a role.")],-1),k=s("p",null,[s("code",null,"date_created"),e(),s("strong",null,"timestamp"),s("br"),e(" Timestamp in ISO8601 when the flow was created.")],-1),P=s("code",null,"user_created",-1),S=e(),R=s("strong",null,"many-to-one",-1),F=s("br",null,null,-1),A=e(" The user who created the flow. Many-to-one to "),O=e("users"),D=e("."),I=s("p",null,[s("code",null,"operation"),e(),s("strong",null,"string"),s("br"),e(" UUID of the operation connected to the trigger in the flow.")],-1),M=s("div",{class:"right"},[s("pre",null,[s("code",{class:"language-json"},[e(`{
2
2
  `),s("span",{class:"hljs-attr"},'"id"'),e(": "),s("span",{class:"hljs-string"},'"2fab3b9d-0543-4b87-8a30-3c5ee66fedf1"'),e(`,
3
3
  `),s("span",{class:"hljs-attr"},'"name"'),e(": "),s("span",{class:"hljs-string"},'"My Flow"'),e(`,
4
4
  `),s("span",{class:"hljs-attr"},'"icon"'),e(": "),s("span",{class:"hljs-string"},'"bolt"'),e(`,
@@ -11,10 +11,10 @@ import{a as n,o as h,b as d,w as a,g as s,e as l,B as e}from"./runtime-core.esm-
11
11
  `),s("span",{class:"hljs-attr"},'"user_created"'),e(": "),s("span",{class:"hljs-string"},'"12e62fd0-29c7-4fd3-b3d3-c7a39933e8af"'),e(`,
12
12
  `),s("span",{class:"hljs-attr"},'"operation"'),e(": "),s("span",{class:"hljs-string"},'"92e82998-e421-412f-a513-13701e83e4ce"'),e(`
13
13
  }
14
- `)])])],-1),C=s("hr",null,null,-1),L=s("h2",{id:"list-flows"},[e("List Flows "),s("a",{class:"header-anchor",href:"#list-flows"},"#")],-1),G=s("p",null,"List all flows that exist in Directus.",-1),Q={class:"two-up"},U={class:"left"},B=s("h3",{id:"query-parameters"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),H=e("Supports all "),N=e("global query parameters"),$=e("."),V=s("h3",{id:"returns"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns"},"#")],-1),Z=e("An array of up to "),z=e("limit"),J=e(),K=s("a",{href:"#the-flow-object"},"flow objects",-1),W=e(". If no items are available, data will be an empty array."),X={class:"right"},Y=s("h3",{id:"rest-api"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api"},"#")],-1),ss=s("pre",null,[s("code",{class:""},`GET /flows
14
+ `)])])],-1),C=s("hr",null,null,-1),L=s("h2",{id:"list-flows"},[e("List Flows "),s("a",{class:"header-anchor",href:"#list-flows"},"#")],-1),G=s("p",null,"List all flows that exist in Directus.",-1),Q={class:"two-up"},U={class:"left"},B=s("h3",{id:"query-parameters"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),H=e("Supports all "),N=e("global query parameters"),$=e("."),V=s("h3",{id:"returns"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns"},"#")],-1),Z=e("An array of up to "),z=e("limit"),J=e(),K=s("a",{href:"#the-flow-object"},"flow objects",-1),W=e(". If no items are available, data will be an empty array."),X={class:"right"},Y=s("h3",{id:"rest-api"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api"},"#")],-1),ss=s("pre",null,[s("code",null,`GET /flows
15
15
  SEARCH /flows
16
- `)],-1),es=e("Learn more about SEARCH ->"),as=s("h3",{id:"graphql"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql"},"#")],-1),ts=s("pre",null,[s("code",{class:""},`POST /graphql/system
17
- `)],-1),ls=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
16
+ `)],-1),es=e("Learn more about SEARCH ->"),ls=s("h3",{id:"graphql"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql"},"#")],-1),ts=s("pre",null,[s("code",null,`POST /graphql/system
17
+ `)],-1),as=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
18
18
  flows: [directus_flows]
19
19
  }
20
20
  `)])],-1),ns=s("h5",{id:"example"},[e("Example "),s("a",{class:"header-anchor",href:"#example"},"#")],-1),os=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
@@ -24,9 +24,9 @@ SEARCH /flows
24
24
  status
25
25
  }
26
26
  }
27
- `)])],-1),rs=s("hr",null,null,-1),cs=s("h2",{id:"retrieve-a-flow"},[e("Retrieve a flow "),s("a",{class:"header-anchor",href:"#retrieve-a-flow"},"#")],-1),hs=s("p",null,"List an existing flow by primary key.",-1),ds={class:"two-up"},is={class:"left"},ps=s("h3",{id:"query-parameters-2"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-2"},"#")],-1),us=e("Supports all "),fs=e("global query parameters"),_s=e("."),gs=s("h3",{id:"returns-2"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-2"},"#")],-1),ws=s("p",null,[e("Returns the requested "),s("a",{href:"#the-flow-object"},"flow object"),e(".")],-1),ms=s("div",{class:"right"},[s("h3",{id:"rest-api-2"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),s("pre",null,[s("code",{class:""},`GET /flows/:id
28
- `)]),s("h5",{id:"example-2"},[e("Example "),s("a",{class:"header-anchor",href:"#example-2"},"#")]),s("pre",null,[s("code",{class:""},`GET /flows/2fc325fb-299b-4d20-a9e7-a34349dee8b2
29
- `)]),s("h3",{id:"graphql-2"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-2"},"#")]),s("pre",null,[s("code",{class:""},`POST /graphql/system
27
+ `)])],-1),rs=s("hr",null,null,-1),hs=s("h2",{id:"retrieve-a-flow"},[e("Retrieve a flow "),s("a",{class:"header-anchor",href:"#retrieve-a-flow"},"#")],-1),cs=s("p",null,"List an existing flow by primary key.",-1),ds={class:"two-up"},is={class:"left"},ps=s("h3",{id:"query-parameters-2"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-2"},"#")],-1),us=e("Supports all "),fs=e("global query parameters"),_s=e("."),gs=s("h3",{id:"returns-2"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-2"},"#")],-1),ws=s("p",null,[e("Returns the requested "),s("a",{href:"#the-flow-object"},"flow object"),e(".")],-1),ms=s("div",{class:"right"},[s("h3",{id:"rest-api-2"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),s("pre",null,[s("code",null,`GET /flows/:id
28
+ `)]),s("h5",{id:"example-2"},[e("Example "),s("a",{class:"header-anchor",href:"#example-2"},"#")]),s("pre",null,[s("code",null,`GET /flows/2fc325fb-299b-4d20-a9e7-a34349dee8b2
29
+ `)]),s("h3",{id:"graphql-2"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-2"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
30
30
  `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
31
31
  flows_by_id(id:`),s("span",{class:"hljs-literal"}," ID"),e(`!): directus_flows
32
32
  }
@@ -37,7 +37,7 @@ SEARCH /flows
37
37
  status
38
38
  }
39
39
  }
40
- `)])])],-1),js=s("hr",null,null,-1),ys=s("h2",{id:"create-a-flow"},[e("Create a Flow "),s("a",{class:"header-anchor",href:"#create-a-flow"},"#")],-1),bs=s("p",null,"Create a new flow.",-1),qs={class:"two-up"},xs={class:"left"},vs=s("h3",{id:"query-parameters-3"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-3"},"#")],-1),Es=e("Supports all "),Ts=e("global query parameters"),ks=e("."),Ps=s("h3",{id:"request-body"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body"},"#")],-1),Ss=s("p",null,[e("A partial "),s("a",{href:"#the-flow-object"},"flow object"),e(".")],-1),Rs=s("h3",{id:"returns-3"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-3"},"#")],-1),Fs=s("p",null,[e("Returns the "),s("a",{href:"#the-flow-object"},"flow object"),e(" for the created flow.")],-1),As=s("div",{class:"right"},[s("h3",{id:"rest-api-3"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),s("pre",null,[s("code",{class:""},`POST /flows
40
+ `)])])],-1),js=s("hr",null,null,-1),ys=s("h2",{id:"create-a-flow"},[e("Create a Flow "),s("a",{class:"header-anchor",href:"#create-a-flow"},"#")],-1),bs=s("p",null,"Create a new flow.",-1),qs={class:"two-up"},xs={class:"left"},vs=s("h3",{id:"query-parameters-3"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-3"},"#")],-1),Es=e("Supports all "),Ts=e("global query parameters"),ks=e("."),Ps=s("h3",{id:"request-body"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body"},"#")],-1),Ss=s("p",null,[e("A partial "),s("a",{href:"#the-flow-object"},"flow object"),e(".")],-1),Rs=s("h3",{id:"returns-3"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-3"},"#")],-1),Fs=s("p",null,[e("Returns the "),s("a",{href:"#the-flow-object"},"flow object"),e(" for the created flow.")],-1),As=s("div",{class:"right"},[s("h3",{id:"rest-api-3"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),s("pre",null,[s("code",null,`POST /flows
41
41
  `)]),s("h5",{id:"example-4"},[e("Example "),s("a",{class:"header-anchor",href:"#example-4"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// POST /flows"),e(`
42
42
 
43
43
  {
@@ -45,7 +45,7 @@ SEARCH /flows
45
45
  `),s("span",{class:"hljs-attr"},'"status"'),e(": "),s("span",{class:"hljs-string"},'"active"'),e(`,
46
46
  `),s("span",{class:"hljs-attr"},'"trigger"'),e(": "),s("span",{class:"hljs-string"},'"manual"'),e(`
47
47
  }
48
- `)])]),s("h3",{id:"graphql-3"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-3"},"#")]),s("pre",null,[s("code",{class:""},`POST /graphql/system
48
+ `)])]),s("h3",{id:"graphql-3"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-3"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
49
49
  `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
50
50
  create_flows_item(data: create_directus_flows_input!): directus_flows
51
51
  }
@@ -56,7 +56,7 @@ SEARCH /flows
56
56
  status
57
57
  }
58
58
  }
59
- `)])])],-1),Os=s("hr",null,null,-1),Ds=s("h2",{id:"create-multiple-flows"},[e("Create Multiple Flows "),s("a",{class:"header-anchor",href:"#create-multiple-flows"},"#")],-1),Is=s("p",null,"Create multiple new flows.",-1),Ms={class:"two-up"},Cs={class:"left"},Ls=s("h3",{id:"query-parameters-4"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-4"},"#")],-1),Gs=e("Supports all "),Qs=e("global query parameters"),Us=e("."),Bs=s("h3",{id:"request-body-2"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-2"},"#")],-1),Hs=s("p",null,[e("An array of partial "),s("a",{href:"#the-flow-object"},"flow objects"),e(".")],-1),Ns=s("h3",{id:"returns-4"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-4"},"#")],-1),$s=s("p",null,[e("Returns the "),s("a",{href:"#the-flow-object"},"flow object"),e(" for the created flow.")],-1),Vs=s("div",{class:"right"},[s("h3",{id:"rest-api-4"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-4"},"#")]),s("pre",null,[s("code",{class:""},`POST /flows
59
+ `)])])],-1),Os=s("hr",null,null,-1),Ds=s("h2",{id:"create-multiple-flows"},[e("Create Multiple Flows "),s("a",{class:"header-anchor",href:"#create-multiple-flows"},"#")],-1),Is=s("p",null,"Create multiple new flows.",-1),Ms={class:"two-up"},Cs={class:"left"},Ls=s("h3",{id:"query-parameters-4"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-4"},"#")],-1),Gs=e("Supports all "),Qs=e("global query parameters"),Us=e("."),Bs=s("h3",{id:"request-body-2"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-2"},"#")],-1),Hs=s("p",null,[e("An array of partial "),s("a",{href:"#the-flow-object"},"flow objects"),e(".")],-1),Ns=s("h3",{id:"returns-4"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-4"},"#")],-1),$s=s("p",null,[e("Returns the "),s("a",{href:"#the-flow-object"},"flow object"),e(" for the created flow.")],-1),Vs=s("div",{class:"right"},[s("h3",{id:"rest-api-4"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-4"},"#")]),s("pre",null,[s("code",null,`POST /flows
60
60
  `)]),s("h5",{id:"example-6"},[e("Example "),s("a",{class:"header-anchor",href:"#example-6"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// POST /flows"),e(`
61
61
 
62
62
  [
@@ -71,7 +71,7 @@ SEARCH /flows
71
71
  `),s("span",{class:"hljs-attr"},'"trigger"'),e(": "),s("span",{class:"hljs-string"},'"webhook"'),e(`
72
72
  }
73
73
  ]
74
- `)])]),s("h3",{id:"graphql-4"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-4"},"#")]),s("pre",null,[s("code",{class:""},`POST /graphql/system
74
+ `)])]),s("h3",{id:"graphql-4"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-4"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
75
75
  `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
76
76
  create_flows_items(data: [create_directus_flows_input!]!): [directus_flows]
77
77
  }
@@ -95,13 +95,13 @@ SEARCH /flows
95
95
  status
96
96
  }
97
97
  }
98
- `)])])],-1),Zs=s("hr",null,null,-1),zs=s("h2",{id:"update-a-flow"},[e("Update a Flow "),s("a",{class:"header-anchor",href:"#update-a-flow"},"#")],-1),Js=s("p",null,"Update an existing flow.",-1),Ks={class:"two-up"},Ws={class:"left"},Xs=s("h3",{id:"query-parameters-5"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-5"},"#")],-1),Ys=e("Supports all "),se=e("global query parameters"),ee=e("."),ae=s("h3",{id:"request-body-3"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-3"},"#")],-1),te=s("p",null,[e("A partial "),s("a",{href:"#the-flow-object"},"flow object"),e(".")],-1),le=s("h3",{id:"returns-5"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-5"},"#")],-1),ne=s("p",null,[e("Returns the "),s("a",{href:"#the-flow-object"},"flow object"),e(" for the updated flow.")],-1),oe=s("div",{class:"right"},[s("h3",{id:"rest-api-5"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-5"},"#")]),s("pre",null,[s("code",{class:""},`PATCH /flows/:id
98
+ `)])])],-1),Zs=s("hr",null,null,-1),zs=s("h2",{id:"update-a-flow"},[e("Update a Flow "),s("a",{class:"header-anchor",href:"#update-a-flow"},"#")],-1),Js=s("p",null,"Update an existing flow.",-1),Ks={class:"two-up"},Ws={class:"left"},Xs=s("h3",{id:"query-parameters-5"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-5"},"#")],-1),Ys=e("Supports all "),se=e("global query parameters"),ee=e("."),le=s("h3",{id:"request-body-3"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-3"},"#")],-1),te=s("p",null,[e("A partial "),s("a",{href:"#the-flow-object"},"flow object"),e(".")],-1),ae=s("h3",{id:"returns-5"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-5"},"#")],-1),ne=s("p",null,[e("Returns the "),s("a",{href:"#the-flow-object"},"flow object"),e(" for the updated flow.")],-1),oe=s("div",{class:"right"},[s("h3",{id:"rest-api-5"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-5"},"#")]),s("pre",null,[s("code",null,`PATCH /flows/:id
99
99
  `)]),s("h5",{id:"example-8"},[e("Example "),s("a",{class:"header-anchor",href:"#example-8"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// PATCH /flows/2fc325fb-299b-4d20-a9e7-a34349dee8b2"),e(`
100
100
 
101
101
  {
102
102
  `),s("span",{class:"hljs-attr"},'"name"'),e(": "),s("span",{class:"hljs-string"},'"My Updated Flow"'),e(`
103
103
  }
104
- `)])]),s("h3",{id:"graphql-5"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-5"},"#")]),s("pre",null,[s("code",{class:""},`POST /graphql/system
104
+ `)])]),s("h3",{id:"graphql-5"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-5"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
105
105
  `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
106
106
  update_flows_item(id:`),s("span",{class:"hljs-literal"}," ID"),e(`!, data: update_directus_flows_input): directus_flows
107
107
  }
@@ -111,7 +111,7 @@ SEARCH /flows
111
111
  name
112
112
  }
113
113
  }
114
- `)])])],-1),re=s("hr",null,null,-1),ce=s("h2",{id:"update-multiple-flows"},[e("Update Multiple Flows "),s("a",{class:"header-anchor",href:"#update-multiple-flows"},"#")],-1),he=s("p",null,"Update multiple existing flows.",-1),de={class:"two-up"},ie={class:"left"},pe=s("h3",{id:"query-parameters-6"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-6"},"#")],-1),ue=e("Supports all "),fe=e("global query parameters"),_e=e("."),ge=s("h3",{id:"request-body-4"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-4"},"#")],-1),we=s("div",{class:"definitions"},[s("p",null,[s("code",{class:""},"keys"),e(),s("strong",null,"Required"),s("br"),e(" Array of primary keys of the flows you\u2019d like to update.")]),s("p",null,[s("code",{class:""},"data"),e(),s("strong",null,"Required"),s("br"),e(" Any of "),s("a",{href:"#the-flow-object"},"the flow object"),e("\u2019s properties.")])],-1),me=s("h3",{id:"returns-6"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-6"},"#")],-1),je=s("p",null,[e("Returns the "),s("a",{href:"#the-flow-object"},"flow objects"),e(" for the updated flows.")],-1),ye=s("div",{class:"right"},[s("h3",{id:"rest-api-6"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),s("pre",null,[s("code",{class:""},`PATCH /flows
114
+ `)])])],-1),re=s("hr",null,null,-1),he=s("h2",{id:"update-multiple-flows"},[e("Update Multiple Flows "),s("a",{class:"header-anchor",href:"#update-multiple-flows"},"#")],-1),ce=s("p",null,"Update multiple existing flows.",-1),de={class:"two-up"},ie={class:"left"},pe=s("h3",{id:"query-parameters-6"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-6"},"#")],-1),ue=e("Supports all "),fe=e("global query parameters"),_e=e("."),ge=s("h3",{id:"request-body-4"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-4"},"#")],-1),we=s("div",{class:"definitions"},[s("p",null,[s("code",null,"keys"),e(),s("strong",null,"Required"),s("br"),e(" Array of primary keys of the flows you\u2019d like to update.")]),s("p",null,[s("code",null,"data"),e(),s("strong",null,"Required"),s("br"),e(" Any of "),s("a",{href:"#the-flow-object"},"the flow object"),e("\u2019s properties.")])],-1),me=s("h3",{id:"returns-6"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-6"},"#")],-1),je=s("p",null,[e("Returns the "),s("a",{href:"#the-flow-object"},"flow objects"),e(" for the updated flows.")],-1),ye=s("div",{class:"right"},[s("h3",{id:"rest-api-6"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),s("pre",null,[s("code",null,`PATCH /flows
115
115
  `)]),s("h5",{id:"example-10"},[e("Example "),s("a",{class:"header-anchor",href:"#example-10"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// PATCH /flows"),e(`
116
116
 
117
117
  {
@@ -120,7 +120,7 @@ SEARCH /flows
120
120
  `),s("span",{class:"hljs-attr"},'"status"'),e(": "),s("span",{class:"hljs-string"},'"inactive"'),e(`
121
121
  }
122
122
  }
123
- `)])]),s("h3",{id:"graphql-6"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-6"},"#")]),s("pre",null,[s("code",{class:""},`POST /graphql/system
123
+ `)])]),s("h3",{id:"graphql-6"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-6"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
124
124
  `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
125
125
  update_flows_items(ids: `),s("span",{class:"hljs-literal"},"[ID"),e(`!]!, data: update_directus_flows_input): [directus_flows]
126
126
  }
@@ -134,9 +134,9 @@ SEARCH /flows
134
134
  status
135
135
  }
136
136
  }
137
- `)])])],-1),be=s("hr",null,null,-1),qe=s("h2",{id:"delete-a-flow"},[e("Delete a Flow "),s("a",{class:"header-anchor",href:"#delete-a-flow"},"#")],-1),xe=s("p",null,"Delete an existing flow.",-1),ve=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"returns-7"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-7"},"#")]),s("p",null,"Empty body.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-7"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-7"},"#")]),s("pre",null,[s("code",{class:""},`DELETE /flows/:id
138
- `)]),s("h5",{id:"example-12"},[e("Example "),s("a",{class:"header-anchor",href:"#example-12"},"#")]),s("pre",null,[s("code",{class:""},`DELETE /flows/12204ee2-2c82-4d9a-b044-2f4842a11dba
139
- `)]),s("h3",{id:"graphql-7"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-7"},"#")]),s("pre",null,[s("code",{class:""},`POST /graphql/system
137
+ `)])])],-1),be=s("hr",null,null,-1),qe=s("h2",{id:"delete-a-flow"},[e("Delete a Flow "),s("a",{class:"header-anchor",href:"#delete-a-flow"},"#")],-1),xe=s("p",null,"Delete an existing flow.",-1),ve=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"returns-7"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-7"},"#")]),s("p",null,"Empty body.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-7"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-7"},"#")]),s("pre",null,[s("code",null,`DELETE /flows/:id
138
+ `)]),s("h5",{id:"example-12"},[e("Example "),s("a",{class:"header-anchor",href:"#example-12"},"#")]),s("pre",null,[s("code",null,`DELETE /flows/12204ee2-2c82-4d9a-b044-2f4842a11dba
139
+ `)]),s("h3",{id:"graphql-7"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-7"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
140
140
  `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
141
141
  delete_flows_item(id:`),s("span",{class:"hljs-literal"}," ID"),e(`!): delete_one
142
142
  }
@@ -145,10 +145,10 @@ SEARCH /flows
145
145
  id
146
146
  }
147
147
  }
148
- `)])])])],-1),Ee=s("hr",null,null,-1),Te=s("h2",{id:"delete-multiple-flows"},[e("Delete Multiple Flows "),s("a",{class:"header-anchor",href:"#delete-multiple-flows"},"#")],-1),ke=s("p",null,"Delete multiple existing flows.",-1),Pe=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"request-body-5"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-5"},"#")]),s("p",null,"An array of flows primary keys"),s("h3",{id:"returns-8"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-8"},"#")]),s("p",null,"Empty body.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-8"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-8"},"#")]),s("pre",null,[s("code",{class:""},`DELETE /flows
148
+ `)])])])],-1),Ee=s("hr",null,null,-1),Te=s("h2",{id:"delete-multiple-flows"},[e("Delete Multiple Flows "),s("a",{class:"header-anchor",href:"#delete-multiple-flows"},"#")],-1),ke=s("p",null,"Delete multiple existing flows.",-1),Pe=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"request-body-5"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-5"},"#")]),s("p",null,"An array of flows primary keys"),s("h3",{id:"returns-8"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-8"},"#")]),s("p",null,"Empty body.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-8"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-8"},"#")]),s("pre",null,[s("code",null,`DELETE /flows
149
149
  `)]),s("h5",{id:"example-14"},[e("Example "),s("a",{class:"header-anchor",href:"#example-14"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// DELETE /flows"),e(`
150
150
  [`),s("span",{class:"hljs-string"},'"25821236-8c2a-4f89-8fdc-c7d01f35877d"'),e(", "),s("span",{class:"hljs-string"},'"02b9486e-4273-4fd5-b94b-e18fd923d1ed"'),e(", "),s("span",{class:"hljs-string"},'"7d62f1e9-a83f-407b-84f8-1c184f014501"'),e(`]
151
- `)])]),s("h3",{id:"graphql-8"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-8"},"#")]),s("pre",null,[s("code",{class:""},`POST /graphql/system
151
+ `)])]),s("h3",{id:"graphql-8"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-8"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
152
152
  `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
153
153
  delete_flows_items(ids: `),s("span",{class:"hljs-literal"},"[ID"),e(`!]!): delete_many
154
154
  }
@@ -163,10 +163,10 @@ SEARCH /flows
163
163
  ids
164
164
  }
165
165
  }
166
- `)])])])],-1),Se=s("h2",{id:"flow-with-get-webhook-trigger"},[e("Flow with GET webhook trigger "),s("a",{class:"header-anchor",href:"#flow-with-get-webhook-trigger"},"#")],-1),Re=s("p",null,"Start a flow with GET webhook trigger.",-1),Fe=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"returns-9"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-9"},"#")]),s("p",null,"Result of the flow, if any.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-9"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-9"},"#")]),s("pre",null,[s("code",{class:""},`GET /flows/trigger/:flow_uuid
166
+ `)])])])],-1),Se=s("h2",{id:"flow-with-get-webhook-trigger"},[e("Flow with GET webhook trigger "),s("a",{class:"header-anchor",href:"#flow-with-get-webhook-trigger"},"#")],-1),Re=s("p",null,"Start a flow with GET webhook trigger.",-1),Fe=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"returns-9"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-9"},"#")]),s("p",null,"Result of the flow, if any.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-9"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-9"},"#")]),s("pre",null,[s("code",null,`GET /flows/trigger/:flow_uuid
167
167
  `)]),s("h5",{id:"example-16"},[e("Example "),s("a",{class:"header-anchor",href:"#example-16"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// GET /flows/trigger/202a940b-a00b-47df-b832-369c53f13122"),e(`
168
168
  `),s("span",{class:"hljs-comment"},"// Payload here"),e(`
169
- `)])])])],-1),Ae=s("h2",{id:"flow-with-post-webhook-trigger"},[e("Flow with POST webhook trigger "),s("a",{class:"header-anchor",href:"#flow-with-post-webhook-trigger"},"#")],-1),Oe=s("p",null,"Start a flow with POST webhook trigger.",-1),De=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"request-body-6"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-6"},"#")]),s("p",null,"Payload for the POST request."),s("h3",{id:"returns-10"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-10"},"#")]),s("p",null,"Result of the flow, if any.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-10"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-10"},"#")]),s("pre",null,[s("code",{class:""},`POST /flows/trigger/:flow_uuid
169
+ `)])])])],-1),Ae=s("h2",{id:"flow-with-post-webhook-trigger"},[e("Flow with POST webhook trigger "),s("a",{class:"header-anchor",href:"#flow-with-post-webhook-trigger"},"#")],-1),Oe=s("p",null,"Start a flow with POST webhook trigger.",-1),De=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"request-body-6"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-6"},"#")]),s("p",null,"Payload for the POST request."),s("h3",{id:"returns-10"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-10"},"#")]),s("p",null,"Result of the flow, if any.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-10"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-10"},"#")]),s("pre",null,[s("code",null,`POST /flows/trigger/:flow_uuid
170
170
  `)]),s("h5",{id:"example-17"},[e("Example "),s("a",{class:"header-anchor",href:"#example-17"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// POST /flows/trigger/202a940b-a00b-47df-b832-369c53f13122"),e(`
171
171
  `),s("span",{class:"hljs-comment"},"// Payload here"),e(`
172
- `)])])])],-1),Ie={title:"Flows",modularExtension:!1,pageClass:"page-reference"},Me={name:"flows",setup(Ce,{expose:r}){return r({frontmatter:{title:"Flows",modularExtension:!1,pageClass:"page-reference"}}),(Le,Ge)=>{const t=n("router-link"),c=n("docswrapper");return h(),d(c,{frontmatter:Ie},{default:a(()=>[s("div",i,[p,u,f,s("div",_,[s("div",g,[s("div",w,[m,j,y,b,q,x,v,E,T,k,s("p",null,[P,S,R,F,A,l(t,{to:"/docs/reference/system/users/#the-users-object"},{default:a(()=>[O]),_:1}),D]),I])]),M]),C,L,G,s("div",Q,[s("div",U,[B,s("p",null,[H,l(t,{to:"/docs/reference/query"},{default:a(()=>[N]),_:1}),$]),V,s("p",null,[Z,l(t,{to:"/docs/reference/query/#limit"},{default:a(()=>[z]),_:1}),J,K,W])]),s("div",X,[Y,ss,s("p",null,[l(t,{to:"/docs/reference/introduction/#search-http-method"},{default:a(()=>[es]),_:1})]),as,ts,ls,ns,os])]),rs,cs,hs,s("div",ds,[s("div",is,[ps,s("p",null,[us,l(t,{to:"/docs/reference/query"},{default:a(()=>[fs]),_:1}),_s]),gs,ws]),ms]),js,ys,bs,s("div",qs,[s("div",xs,[vs,s("p",null,[Es,l(t,{to:"/docs/reference/query"},{default:a(()=>[Ts]),_:1}),ks]),Ps,Ss,Rs,Fs]),As]),Os,Ds,Is,s("div",Ms,[s("div",Cs,[Ls,s("p",null,[Gs,l(t,{to:"/docs/reference/query"},{default:a(()=>[Qs]),_:1}),Us]),Bs,Hs,Ns,$s]),Vs]),Zs,zs,Js,s("div",Ks,[s("div",Ws,[Xs,s("p",null,[Ys,l(t,{to:"/docs/reference/query"},{default:a(()=>[se]),_:1}),ee]),ae,te,le,ne]),oe]),re,ce,he,s("div",de,[s("div",ie,[pe,s("p",null,[ue,l(t,{to:"/docs/reference/query"},{default:a(()=>[fe]),_:1}),_e]),ge,we,me,je]),ye]),be,qe,xe,ve,Ee,Te,ke,Pe,Se,Re,Fe,Ae,Oe,De])]),_:1})}}};typeof o=="function"&&o(Me);export{Me as default,Ie as frontmatter};
172
+ `)])])])],-1),Ge="Flows",Qe=!1,Ue="page-reference",Be={name:"flows",setup(Ie,{expose:r}){const n={title:"Flows",modularExtension:!1,pageClass:"page-reference"};return r({frontmatter:n}),(Me,Ce)=>{const t=o("router-link"),h=o("docs-wrapper");return c(),d(h,{frontmatter:n},{default:l(()=>[s("div",i,[p,u,f,s("div",_,[s("div",g,[s("div",w,[m,j,y,b,q,x,v,E,T,k,s("p",null,[P,S,R,F,A,a(t,{to:"/docs/reference/system/users/#the-users-object"},{default:l(()=>[O]),_:1}),D]),I])]),M]),C,L,G,s("div",Q,[s("div",U,[B,s("p",null,[H,a(t,{to:"/docs/reference/query"},{default:l(()=>[N]),_:1}),$]),V,s("p",null,[Z,a(t,{to:"/docs/reference/query/#limit"},{default:l(()=>[z]),_:1}),J,K,W])]),s("div",X,[Y,ss,s("p",null,[a(t,{to:"/docs/reference/introduction/#search-http-method"},{default:l(()=>[es]),_:1})]),ls,ts,as,ns,os])]),rs,hs,cs,s("div",ds,[s("div",is,[ps,s("p",null,[us,a(t,{to:"/docs/reference/query"},{default:l(()=>[fs]),_:1}),_s]),gs,ws]),ms]),js,ys,bs,s("div",qs,[s("div",xs,[vs,s("p",null,[Es,a(t,{to:"/docs/reference/query"},{default:l(()=>[Ts]),_:1}),ks]),Ps,Ss,Rs,Fs]),As]),Os,Ds,Is,s("div",Ms,[s("div",Cs,[Ls,s("p",null,[Gs,a(t,{to:"/docs/reference/query"},{default:l(()=>[Qs]),_:1}),Us]),Bs,Hs,Ns,$s]),Vs]),Zs,zs,Js,s("div",Ks,[s("div",Ws,[Xs,s("p",null,[Ys,a(t,{to:"/docs/reference/query"},{default:l(()=>[se]),_:1}),ee]),le,te,ae,ne]),oe]),re,he,ce,s("div",de,[s("div",ie,[pe,s("p",null,[ue,a(t,{to:"/docs/reference/query"},{default:l(()=>[fe]),_:1}),_e]),ge,we,me,je]),ye]),be,qe,xe,ve,Ee,Te,ke,Pe,Se,Re,Fe,Ae,Oe,De])]),_:1})}}};export{Be as default,Qe as modularExtension,Ue as pageClass,Ge as title};