@directus/app 9.20.3 → 9.21.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.
- package/dist/assets/@directus_extensions-sdk.7480601b.entry.js +1 -0
- package/dist/assets/{accounts.8d02a534.js → accounts.6f69dc83.js} +1 -1
- package/dist/assets/active-line.f3bab3a5.js +1 -0
- package/dist/assets/{activity-log.957853bb.js → activity-log.2e944bfa.js} +1 -1
- package/dist/assets/{activity.58bbe1c2.js → activity.dda3417f.js} +1 -1
- package/dist/assets/apl.1805b26f.js +1 -0
- package/dist/assets/{ar-SA.3a51ad1e.js → ar-SA.c5ee16de.js} +1 -1
- package/dist/assets/{architecture.0ded5b28.js → architecture.e66cc597.js} +1 -1
- package/dist/assets/asciiarmor.ffaf0f62.js +1 -0
- package/dist/assets/asn.1.cd62dee4.js +1 -0
- package/dist/assets/asterisk.07d1e4af.js +1 -0
- package/dist/assets/{authentication.5b7d5fa7.js → authentication.8a718856.js} +5 -5
- package/dist/assets/autorefresh.e63fec5a.js +1 -0
- package/dist/assets/{aws.890dfda5.js → aws.99d49c74.js} +1 -1
- package/dist/assets/{backing-directus.7f54a4af.js → backing-directus.23aeddff.js} +1 -1
- package/dist/assets/brainfuck.587235ad.js +1 -0
- package/dist/assets/{cli.4e995657.js → cli.8e7d9b17.js} +4 -4
- package/dist/assets/{cli.bf0b2442.js → cli.ce3a6393.js} +2 -2
- package/dist/assets/clike.8df07672.js +1 -0
- package/dist/assets/clojure.7ed940f7.js +1 -0
- package/dist/assets/{cloudron.0a16f34b.js → cloudron.0cf18005.js} +1 -1
- package/dist/assets/cmake.8058664d.js +1 -0
- package/dist/assets/cobol.7925af76.js +1 -0
- package/dist/assets/{codebase-overview.2ba91a80.js → codebase-overview.4707b17a.js} +1 -1
- package/dist/assets/coffeescript.36666708.js +1 -0
- package/dist/assets/{collections.7fa07fe7.js → collections.30500b8b.js} +2 -2
- package/dist/assets/{collections.2a61805a.js → collections.88058903.js} +2 -2
- package/dist/assets/{collections.ea858bf6.js → collections.b74ab838.js} +3 -3
- package/dist/assets/commonlisp.ce672eb5.js +1 -0
- package/dist/assets/{conditions.32339903.js → conditions.db9bebfc.js} +1 -1
- package/dist/assets/{config-options.53449c2c.js → config-options.48260929.js} +12 -12
- package/dist/assets/{content.18716bf7.js → content.647b054c.js} +1 -1
- package/dist/assets/{creating-extensions.0a6d6d3b.js → creating-extensions.e032c2f0.js} +3 -3
- package/dist/assets/crystal.3c7c09cc.js +1 -0
- package/dist/assets/css.b68c041b.js +1 -0
- package/dist/assets/cypher.3b38874c.js +4 -0
- package/dist/assets/d.0460be39.js +1 -0
- package/dist/assets/dart.680bdb1d.js +1 -0
- package/dist/assets/{data-model.b5eb7565.js → data-model.63af932c.js} +3 -3
- package/dist/assets/de-DE.590d3c70.js +1 -0
- package/dist/assets/diff.11dadb16.js +1 -0
- package/dist/assets/{digitalocean-app-platform.4063d6cc.js → digitalocean-app-platform.adb9fc63.js} +2 -2
- package/dist/assets/{display-templates.65a9b519.js → display-templates.7c1dae6d.js} +1 -1
- package/dist/assets/display.87df21d6.js +1 -0
- package/dist/assets/{displays.b72d546c.js → displays.c0024804.js} +5 -5
- package/dist/assets/django.c5c2bb33.js +1 -0
- package/dist/assets/{docker.ae6227ab.js → docker.a790e063.js} +1 -1
- package/dist/assets/dockerfile.cb57c90a.js +1 -0
- package/dist/assets/{documentation.6628aaac.js → documentation.1783cd53.js} +1 -1
- package/dist/assets/dtd.4bdd906a.js +1 -0
- package/dist/assets/dylan.af09e3f8.js +1 -0
- package/dist/assets/ebnf.0ec983c0.js +1 -0
- package/dist/assets/ecl.eeba0610.js +1 -0
- package/dist/assets/eiffel.d9fec659.js +1 -0
- package/dist/assets/elm.c3ce2b54.js +1 -0
- package/dist/assets/{email-templates.5e1b5472.js → email-templates.ed708d89.js} +1 -1
- package/dist/assets/{endpoints.44874916.js → endpoints.10a1484a.js} +1 -1
- package/dist/assets/erlang.d00fab30.js +1 -0
- package/dist/assets/es-419.37d0e1bd.js +1 -0
- package/dist/assets/{extensions.9790f6ff.js → extensions.d542042f.js} +1 -1
- package/dist/assets/factor.a6dddf2c.js +1 -0
- package/dist/assets/{faq.0fd5ca6e.js → faq.8904941c.js} +2 -2
- package/dist/assets/fcl.0c78a020.js +1 -0
- package/dist/assets/{field-types.e5bd5900.js → field-types.e3e041fc.js} +1 -1
- package/dist/assets/{field.b9b55fc2.js → field.64c29e0b.js} +1 -1
- package/dist/assets/{fields.fc8af154.js → fields.1597bfad.js} +1 -1
- package/dist/assets/{fields.7df6f624.js → fields.c76c2d8b.js} +1 -1
- package/dist/assets/{file-library.7a11d866.js → file-library.8fb3da43.js} +1 -1
- package/dist/assets/{files.84b41f2f.js → files.d8e3acf4.js} +2 -2
- package/dist/assets/{filter-rules.099e9689.js → filter-rules.edb18765.js} +4 -4
- package/dist/assets/{filters.98d31bd5.js → filters.26e88a50.js} +1 -1
- package/dist/assets/{flows.b6ebb4b6.js → flows.8c6f69bb.js} +6 -6
- package/dist/assets/{flows.2646c3ae.js → flows.f014b9cc.js} +2 -2
- package/dist/assets/{folders.35cfde90.js → folders.8aec87f5.js} +5 -5
- package/dist/assets/forth.fbb63d06.js +1 -0
- package/dist/assets/fortran.cbc14824.js +1 -0
- package/dist/assets/fr-FR.d8dbf5de.js +1 -0
- package/dist/assets/gas.3e3eaaa0.js +1 -0
- package/dist/assets/{gcp.ce76381f.js → gcp.97542e88.js} +5 -5
- package/dist/assets/gfm.a5597fec.js +1 -0
- package/dist/assets/gherkin.9cfc1ed7.js +1 -0
- package/dist/assets/{github-ci.b4dde47f.js → github-ci.e7d15770.js} +2 -2
- package/dist/assets/{glossary.3b14c64d.js → glossary.beaf358c.js} +1 -1
- package/dist/assets/{glossary.930fe38e.js → glossary.c972e836.js} +1 -1
- package/dist/assets/go.f180871e.js +1 -0
- package/dist/assets/groovy.4db995a9.js +1 -0
- package/dist/assets/haml.ed77ce51.js +1 -0
- package/dist/assets/handlebars.81504d91.js +1 -0
- package/dist/assets/haskell-literate.d54dc9c7.js +1 -0
- package/dist/assets/haskell.f21c4399.js +1 -0
- package/dist/assets/haxe.50f0db0c.js +1 -0
- package/dist/assets/{hooks.b9909639.js → hooks.feaad058.js} +1 -1
- package/dist/assets/htmlembedded.5ff69a18.js +1 -0
- package/dist/assets/htmlmixed.5efed62b.js +1 -0
- package/dist/assets/{htmlmixed.bca09a1b.js → htmlmixed.f69cc072.js} +1 -1
- package/dist/assets/http.6b260d22.js +1 -0
- package/dist/assets/hu-HU.b086156a.js +1 -0
- package/dist/assets/idl.617214c8.js +1 -0
- package/dist/assets/{iis.63d75601.js → iis.0358929d.js} +1 -1
- package/dist/assets/{import-export.fe680598.js → import-export.391b74e0.js} +2 -2
- package/dist/assets/{index.ffcfdc79.js → index.04b73e2f.js} +1 -1
- package/dist/assets/{index.3ccb1a62.js → index.09845961.js} +1 -1
- package/dist/assets/{index.671547c3.js → index.130287f6.js} +1 -1
- package/dist/assets/{index.3d4f0091.css → index.19e6c20c.css} +1 -1
- package/dist/assets/{index.20179e31.js → index.1ba23fe5.js} +1 -1
- package/dist/assets/{index.f19e5b18.js → index.1f330fc3.js} +1 -1
- package/dist/assets/{index.7f210d25.js → index.24999c03.js} +1 -1
- package/dist/assets/{index.06aaef91.entry.js → index.312f2c91.entry.js} +2693 -2687
- package/dist/assets/{index.b242e4b8.js → index.31f6e6f2.js} +3 -3
- package/dist/assets/{index.7c5199ad.js → index.330c3aee.js} +1 -1
- package/dist/assets/{index.549a82a6.js → index.3470f134.js} +1 -1
- package/dist/assets/index.38d152bf.js +1 -0
- package/dist/assets/{index.a6c65314.js → index.4044e5c7.js} +1 -1
- package/dist/assets/{index.764b9d6e.js → index.4706b3f5.js} +1 -1
- package/dist/assets/{index.875a771b.js → index.4b24f075.js} +1 -1
- package/dist/assets/{index.6949d989.js → index.4c6e76b7.js} +1 -1
- package/dist/assets/{index.0d7f4d79.js → index.522f44b0.js} +1 -1
- package/dist/assets/{index.1c9cfeb8.js → index.525d8fd8.js} +1 -1
- package/dist/assets/{index.d8e4727e.js → index.528e4b54.js} +1 -1
- package/dist/assets/{index.d9e48160.js → index.52a4297c.js} +1 -1
- package/dist/assets/{index.34c47fcf.js → index.530fd584.js} +1 -1
- package/dist/assets/{index.91e98759.js → index.546018df.js} +1 -1
- package/dist/assets/{index.d557b36c.js → index.57542755.js} +1 -1
- package/dist/assets/{index.425c965c.js → index.5a8952da.js} +1 -1
- package/dist/assets/{index.9b6db0de.js → index.5cf97c2b.js} +1 -1
- package/dist/assets/index.65e5d28f.css +1 -0
- package/dist/assets/{index.08c5d5a2.js → index.6b77e807.js} +1 -1
- package/dist/assets/{index.393b7fd6.js → index.6bf3a163.js} +1 -1
- package/dist/assets/{index.fe4bc374.js → index.6c07a132.js} +1 -1
- package/dist/assets/{index.1f99dc82.js → index.6c4fabf1.js} +1 -1
- package/dist/assets/{index.7468a23c.js → index.6fa71870.js} +1 -1
- package/dist/assets/{index.8fb3c07f.js → index.7045dfad.js} +1 -1
- package/dist/assets/{index.aa66a39f.js → index.75ef0473.js} +1 -1
- package/dist/assets/{index.c3959367.js → index.77b8f02e.js} +1 -1
- package/dist/assets/{index.62e48e8e.js → index.7943fd38.js} +1 -1
- package/dist/assets/{index.ac96f5b3.js → index.7c5b74dc.js} +1 -1
- package/dist/assets/{index.f32d0fbe.js → index.7de5db57.js} +1 -1
- package/dist/assets/{index.8aa50b59.js → index.7e90d361.js} +1 -1
- package/dist/assets/{index.2399ffb8.js → index.7edb8b15.js} +1 -1
- package/dist/assets/{index.d370fafd.js → index.7fcf2b86.js} +1 -1
- package/dist/assets/{index.5c5acddc.js → index.80106d2d.js} +1 -1
- package/dist/assets/{index.8b8e6073.js → index.804b3c9b.js} +1 -1
- package/dist/assets/{index.5264aa26.js → index.8063dc25.js} +1 -1
- package/dist/assets/{index.eb772cab.js → index.81a02f8c.js} +1 -1
- package/dist/assets/{index.38e5dfc6.js → index.81d5b763.js} +1 -1
- package/dist/assets/{index.7269b9b7.js → index.8200528c.js} +1 -1
- package/dist/assets/{index.00acb7aa.js → index.82939b3a.js} +1 -1
- package/dist/assets/{index.d024a491.js → index.8446e18c.js} +1 -1
- package/dist/assets/index.87afb869.js +1 -0
- package/dist/assets/{index.7e37814b.js → index.92f59a75.js} +1 -1
- package/dist/assets/{index.3abfd687.js → index.98cb4ee1.js} +1 -1
- package/dist/assets/{index.486669b9.js → index.9d2fbf00.js} +1 -1
- package/dist/assets/{index.ec87e7f6.js → index.9dfe292c.js} +1 -1
- package/dist/assets/{index.4ce96101.js → index.a1b7be9b.js} +1 -1
- package/dist/assets/{index.1b594a21.js → index.a5356d91.js} +1 -1
- package/dist/assets/{index.b67fb5fc.js → index.ab4e5ca3.js} +1 -1
- package/dist/assets/{index.f511aff3.js → index.ab7b6cba.js} +1 -1
- package/dist/assets/{index.578c30ec.js → index.ac6c3fe9.js} +1 -1
- package/dist/assets/{index.5062f951.js → index.adc560cb.js} +1 -1
- package/dist/assets/{index.045e97f0.js → index.ae4bf6ea.js} +1 -1
- package/dist/assets/{index.9f69b190.js → index.aeaa0aa9.js} +1 -1
- package/dist/assets/{index.8b9e43f4.js → index.afc6b30e.js} +1 -1
- package/dist/assets/{index.23def130.js → index.b02dbd39.js} +1 -1
- package/dist/assets/{index.3cb24d7f.js → index.b391672d.js} +1 -1
- package/dist/assets/{index.19a506a0.js → index.b503f187.js} +1 -1
- package/dist/assets/{index.a88d2d0b.js → index.b7113e87.js} +1 -1
- package/dist/assets/{index.7bb84aa5.js → index.c156c46e.js} +1 -1
- package/dist/assets/{index.68337c85.js → index.c5e16ef6.js} +1 -1
- package/dist/assets/{index.45686201.js → index.c85c3f77.js} +1 -1
- package/dist/assets/{index.03886e4a.js → index.cb7799d1.js} +1 -1
- package/dist/assets/{index.eb4d5cbc.js → index.cb93c1e8.js} +1 -1
- package/dist/assets/{index.dc4d9b6a.js → index.d0d998a0.js} +1 -1
- package/dist/assets/{index.c2858d95.js → index.d790d684.js} +1 -1
- package/dist/assets/{index.a264494d.js → index.dc9006a1.js} +1 -1
- package/dist/assets/{index.8130aabc.js → index.e3619b04.js} +1 -1
- package/dist/assets/{index.ab5ebdc3.js → index.e4224764.js} +1 -1
- package/dist/assets/{index.426d219b.js → index.e5079c3a.js} +1 -1
- package/dist/assets/{index.90ecf353.js → index.e6971ab1.js} +1 -1
- package/dist/assets/{index.b2e447e3.js → index.e85bc569.js} +1 -1
- package/dist/assets/{index.42614221.js → index.e95b7e4b.js} +1 -1
- package/dist/assets/{index.0608a502.js → index.ec8cfaac.js} +1 -1
- package/dist/assets/{index.b0e3c55c.js → index.f2e26d1f.js} +1 -1
- package/dist/assets/{index.eecb0d4b.js → index.f60d22d0.js} +1 -1
- package/dist/assets/{index.a8b94b31.js → index.f828781f.js} +1 -1
- package/dist/assets/{index.2b61f9fb.js → index.fb6b1657.js} +1 -1
- package/dist/assets/{index.9c4a7f65.js → index.fb8023b0.js} +1 -1
- package/dist/assets/{index.79264a03.js → index.fe536421.js} +1 -1
- package/dist/assets/{input-rich-text-html.9a04a626.js → input-rich-text-html.b1656039.js} +30 -30
- package/dist/assets/{insights.bb6e6dd9.js → insights.8a1beae6.js} +2 -2
- package/dist/assets/{installation.a80b7bdd.js → installation.2db8d0e1.js} +1 -1
- package/dist/assets/{interface.6b3d318d.js → interface.8e4a64f0.js} +1 -1
- package/dist/assets/{interfaces.9c9cb203.js → interfaces.8e88b01f.js} +4 -4
- package/dist/assets/{introduction.17ce0958.js → introduction.2a0882fe.js} +4 -4
- package/dist/assets/{introduction.74d5f276.js → introduction.42a2136e.js} +1 -1
- package/dist/assets/{introduction.2b473cdb.js → introduction.4f0ccbaf.js} +1 -1
- package/dist/assets/{introduction.23bcca02.js → introduction.dbd85d4e.js} +1 -1
- package/dist/assets/it-IT.53711e9b.js +1 -0
- package/dist/assets/{items.a200a734.js → items.9f358fa7.js} +5 -5
- package/dist/assets/{items.d9558b12.js → items.abb8d314.js} +1 -1
- package/dist/assets/javascript-hint.bd3c0fcf.js +1 -0
- package/dist/assets/javascript.7eff1543.js +1 -0
- package/dist/assets/jinja2.eec1b998.js +1 -0
- package/dist/assets/jsx.8808ecb1.js +1 -0
- package/dist/assets/julia.56479fbf.js +1 -0
- package/dist/assets/{layouts.71139077.js → layouts.9c64beac.js} +3 -3
- package/dist/assets/{layouts.67e010c3.js → layouts.b4771384.js} +1 -1
- package/dist/assets/livescript.37040ed1.js +1 -0
- package/dist/assets/lua.7730f9fd.js +1 -0
- package/dist/assets/{manual.be26c257.js → manual.4a53ccfe.js} +4 -4
- package/dist/assets/mark-selection.c1a5d4e1.js +1 -0
- package/dist/assets/match-highlighter.ed7a2467.js +1 -0
- package/dist/assets/{matchbrackets.9e20b864.js → matchbrackets.ebc48bf8.js} +1 -1
- package/dist/assets/mathematica.1dbfb6f4.js +1 -0
- package/dist/assets/mbox.0ac8a216.js +1 -0
- package/dist/assets/{migrations.58c8fd96.js → migrations.2969a369.js} +1 -1
- package/dist/assets/mirc.1cc06f67.js +1 -0
- package/dist/assets/mllike.cee4eaf7.js +1 -0
- package/dist/assets/modelica.2292d0b8.js +1 -0
- package/dist/assets/{modules.0cfbe882.js → modules.f057fcd0.js} +3 -3
- package/dist/assets/mscgen.38b6bb11.js +1 -0
- package/dist/assets/multiplex.1d92e024.js +3 -0
- package/dist/assets/mumps.f37c25cb.js +1 -0
- package/dist/assets/nginx.39e016a3.js +1 -0
- package/dist/assets/{notifications.7b442623.js → notifications.ca876814.js} +11 -11
- package/dist/assets/nsis.1cf932c7.js +1 -0
- package/dist/assets/ntriples.e6c37d71.js +1 -0
- package/dist/assets/octave.2bec4045.js +1 -0
- package/dist/assets/{operations.bd173669.js → operations.246298bc.js} +11 -11
- package/dist/assets/{operations.6fcceb98.js → operations.64af444f.js} +3 -3
- package/dist/assets/{operations.30bbad94.js → operations.b4042de2.js} +2 -2
- package/dist/assets/overlay.16f98fb6.js +1 -0
- package/dist/assets/{overview.cb1196c4.js → overview.0b4ab371.js} +1 -1
- package/dist/assets/{overview.4c1683c3.js → overview.359f9713.js} +1 -1
- package/dist/assets/{overview.23ad824a.js → overview.40893677.js} +1 -1
- package/dist/assets/oz.8955a131.js +1 -0
- package/dist/assets/{panels.187b8f0d.js → panels.3969b423.js} +2 -2
- package/dist/assets/pascal.7213d964.js +1 -0
- package/dist/assets/pegjs.6877c220.js +1 -0
- package/dist/assets/perl.7f37e0c4.js +1 -0
- package/dist/assets/{permissions.2ad2e118.js → permissions.0712320e.js} +4 -4
- package/dist/assets/php.b63c0c50.js +1 -0
- package/dist/assets/pig.1cddd148.js +1 -0
- package/dist/assets/{pinia.24c7b35a.entry.js → pinia.0d44ec62.entry.js} +2 -2
- package/dist/assets/{plesk.279941fc.js → plesk.e3ea514c.js} +5 -5
- package/dist/assets/powershell.3aecbe91.js +1 -0
- package/dist/assets/{presets-bookmarks.62ac9314.js → presets-bookmarks.0baf10eb.js} +1 -1
- package/dist/assets/{presets.0390ff92.js → presets.0de7849a.js} +8 -8
- package/dist/assets/{project-settings.8b91aa04.js → project-settings.6e5956c8.js} +1 -1
- package/dist/assets/{projects.97bc15fa.js → projects.12d7a177.js} +1 -1
- package/dist/assets/properties.db539b03.js +1 -0
- package/dist/assets/protobuf.0fa0e9b4.js +1 -0
- package/dist/assets/pt-BR.2c2e8c4f.js +1 -0
- package/dist/assets/pug.e6d33f3a.js +1 -0
- package/dist/assets/puppet.18346b43.js +1 -0
- package/dist/assets/python.065d28e0.js +1 -0
- package/dist/assets/q.ed3c142c.js +1 -0
- package/dist/assets/{query.19ee7756.js → query.6dcece55.js} +1 -1
- package/dist/assets/{quickstart.96d7fa17.js → quickstart.f1c431cf.js} +3 -3
- package/dist/assets/{quickstart.7f55e26e.js → quickstart.fd328631.js} +2 -2
- package/dist/assets/r.f2ad8682.js +1 -0
- package/dist/assets/{readme.abb2691e.js → readme.c063616b.js} +1 -1
- package/dist/assets/{relations.1409faa0.js → relations.c92ebc4e.js} +6 -6
- package/dist/assets/{relationship.8e3bc45d.js → relationship.0344c790.js} +1 -1
- package/dist/assets/{relationships.2449eed5.js → relationships.ad2ee267.js} +7 -7
- package/dist/assets/{resources.f9b64d6f.js → resources.84b84252.js} +1 -1
- package/dist/assets/{revisions.7ffa76fe.js → revisions.39f423d0.js} +4 -4
- package/dist/assets/ro-RO.4c33f715.js +1 -0
- package/dist/assets/{roles.ce6518a4.js → roles.89c51107.js} +7 -7
- package/dist/assets/rpm.1674f668.js +1 -0
- package/dist/assets/rst.0a69f626.js +1 -0
- package/dist/assets/ruby.02498746.js +1 -0
- package/dist/assets/{ruby.514cda97.js → ruby.d805273a.js} +1 -1
- package/dist/assets/{running-locally.8b135453.js → running-locally.24e1b4bf.js} +6 -6
- package/dist/assets/runtime-core.esm-bundler.22ec0346.js +1 -0
- package/dist/assets/rust.90ce6688.js +1 -0
- package/dist/assets/sas.3b045c8d.js +1 -0
- package/dist/assets/sass.4fcb9b12.js +1 -0
- package/dist/assets/{schema.6649576e.js → schema.c326d911.js} +1 -1
- package/dist/assets/scheme.eb7abc5c.js +1 -0
- package/dist/assets/{sdk.33dcc072.js → sdk.2fdc3788.js} +17 -17
- package/dist/assets/{security.acb2be94.js → security.a0326c54.js} +1 -1
- package/dist/assets/{server.60bfa539.js → server.5b19042c.js} +1 -1
- package/dist/assets/{settings.6ac3895b.js → settings.2195b191.js} +1 -1
- package/dist/assets/{settings.a00aa4fa.js → settings.2553780f.js} +1 -1
- package/dist/assets/{shares.9a7ea736.js → shares.a17e644c.js} +1 -1
- package/dist/assets/shell.09d717f3.js +1 -0
- package/dist/assets/show-hint.4fc17cec.js +1 -0
- package/dist/assets/sieve.fe87517f.js +1 -0
- package/dist/assets/slim.76f6114d.js +1 -0
- package/dist/assets/smalltalk.eaf13594.js +1 -0
- package/dist/assets/smarty.abf4421d.js +1 -0
- package/dist/assets/solr.62208f30.js +1 -0
- package/dist/assets/soy.b2db807b.js +1 -0
- package/dist/assets/sparql.7042a2b3.js +1 -0
- package/dist/assets/spreadsheet.ca1422ad.js +1 -0
- package/dist/assets/sql.fcb976c5.js +1 -0
- package/dist/assets/{sso-examples.eb3ba478.js → sso-examples.8a36c968.js} +2 -2
- package/dist/assets/{sso.29d67116.js → sso.92e5b5f1.js} +4 -4
- package/dist/assets/stex.30c4dc01.js +1 -0
- package/dist/assets/{stex.dd8072e9.js → stex.a5fe2e4a.js} +1 -1
- package/dist/assets/stylus.f7fcee76.js +1 -0
- package/dist/assets/{support.e9e535b3.js → support.f153d4ae.js} +1 -1
- package/dist/assets/swift.116cdb17.js +1 -0
- package/dist/assets/tcl.42613799.js +1 -0
- package/dist/assets/{teams.347f0563.js → teams.c564c81f.js} +1 -1
- package/dist/assets/textile.4285b886.js +1 -0
- package/dist/assets/{themes.32a50b86.js → themes.6c5c943f.js} +2 -2
- package/dist/assets/tiddlywiki.eb66e0c7.js +1 -0
- package/dist/assets/tiki.c796e616.js +1 -0
- package/dist/assets/toml.3b8b1e04.js +1 -0
- package/dist/assets/tornado.89f4bce8.js +1 -0
- package/dist/assets/tr-TR.328a2546.js +1 -0
- package/dist/assets/{translation-strings.285d6bb2.js → translation-strings.326a2741.js} +1 -1
- package/dist/assets/translations.4c0efc6a.js +1 -0
- package/dist/assets/{translations.f87a601e.js → translations.645f8c9c.js} +1 -1
- package/dist/assets/{triggers.325e50d8.js → triggers.44703cf0.js} +1 -1
- package/dist/assets/troff.51ba9964.js +1 -0
- package/dist/assets/ttcn-cfg.62ff9e40.js +1 -0
- package/dist/assets/ttcn.08f34f21.js +1 -0
- package/dist/assets/turtle.2efc3e1b.js +1 -0
- package/dist/assets/twig.bd0ee3cd.js +1 -0
- package/dist/assets/{ubuntu.3ba252fe.js → ubuntu.47e06de3.js} +2 -2
- package/dist/assets/uk-UA.fe247137.js +1 -0
- package/dist/assets/{upgrades-migrations.a091b8af.js → upgrades-migrations.a23cace7.js} +1 -1
- package/dist/assets/{use-sync.d9160f34.js → use-sync.e83d9ab3.js} +3 -3
- package/dist/assets/{user-directory.9ca05985.js → user-directory.e1f15d1a.js} +1 -1
- package/dist/assets/{users-roles-permissions.bb71f6c9.js → users-roles-permissions.14757490.js} +1 -1
- package/dist/assets/{users.a44125e3.js → users.0ea4e372.js} +1 -1
- package/dist/assets/{utilities.0380c496.js → utilities.c76e17ac.js} +7 -7
- package/dist/assets/validation.99c6fcd4.js +1 -0
- package/dist/assets/vb.e77c04f4.js +1 -0
- package/dist/assets/vbscript.b1155c12.js +1 -0
- package/dist/assets/velocity.5f33a92c.js +1 -0
- package/dist/assets/verilog.064306e8.js +1 -0
- package/dist/assets/vhdl.c71b4d0c.js +1 -0
- package/dist/assets/{vue-i18n.df8d89e7.entry.js → vue-i18n.fbc77449.entry.js} +1 -1
- package/dist/assets/vue-router.3a828e63.entry.js +5 -0
- package/dist/assets/vue.1a8f18be.js +1 -0
- package/dist/assets/vue.486f3e62.entry.js +1 -0
- package/dist/assets/vue.runtime.esm-bundler.f6138180.js +1 -0
- package/dist/assets/wast.7970d24f.js +1 -0
- package/dist/assets/{webhooks.2d23be4c.js → webhooks.105c0454.js} +1 -1
- package/dist/assets/{webhooks.40d9a7a3.js → webhooks.d7f419fe.js} +4 -4
- package/dist/assets/webidl.f56d782e.js +1 -0
- package/dist/assets/{xml.6c641966.js → xml.c9106c48.js} +1 -1
- package/dist/assets/xquery.d326f7d2.js +1 -0
- package/dist/assets/yacas.aab21d14.js +1 -0
- package/dist/assets/yaml-frontmatter.c4684bee.js +1 -0
- package/dist/assets/yaml.02beca9a.js +1 -0
- package/dist/assets/z80.2c343a72.js +1 -0
- package/dist/assets/{zh-CN.a9e8d795.js → zh-CN.a8f9e881.js} +1 -1
- package/dist/index.html +8 -8
- package/package.json +61 -61
- package/dist/assets/@directus_extensions-sdk.fd0e4213.entry.js +0 -1
- package/dist/assets/active-line.6ad3cc1b.js +0 -1
- package/dist/assets/apl.c686918c.js +0 -1
- package/dist/assets/asciiarmor.461dfa97.js +0 -1
- package/dist/assets/asn.1.edf36206.js +0 -1
- package/dist/assets/asterisk.ec604180.js +0 -1
- package/dist/assets/autorefresh.12942f0a.js +0 -1
- package/dist/assets/brainfuck.f0a9ac27.js +0 -1
- package/dist/assets/clike.6813c8af.js +0 -1
- package/dist/assets/clojure.282c98e9.js +0 -1
- package/dist/assets/cmake.3a19ac2e.js +0 -1
- package/dist/assets/cobol.1a968dc2.js +0 -1
- package/dist/assets/coffeescript.f4d04eff.js +0 -1
- package/dist/assets/commonlisp.b6ce4697.js +0 -1
- package/dist/assets/crystal.c82fbe0e.js +0 -1
- package/dist/assets/css.f5233cc9.js +0 -1
- package/dist/assets/cypher.039d2c7c.js +0 -4
- package/dist/assets/d.9a180f99.js +0 -1
- package/dist/assets/dart.6eb5ddde.js +0 -1
- package/dist/assets/de-DE.ae6e5ffb.js +0 -1
- package/dist/assets/diff.5b316696.js +0 -1
- package/dist/assets/display.4a967445.js +0 -1
- package/dist/assets/django.6c78c8f8.js +0 -1
- package/dist/assets/dockerfile.99dfeb4b.js +0 -1
- package/dist/assets/dtd.0634c33c.js +0 -1
- package/dist/assets/dylan.8694ba80.js +0 -1
- package/dist/assets/ebnf.462b292d.js +0 -1
- package/dist/assets/ecl.3dbd76a1.js +0 -1
- package/dist/assets/eiffel.4ec3277b.js +0 -1
- package/dist/assets/elm.04561af7.js +0 -1
- package/dist/assets/erlang.4826206d.js +0 -1
- package/dist/assets/es-419.582d398a.js +0 -1
- package/dist/assets/factor.bc3247f5.js +0 -1
- package/dist/assets/fcl.9f2d1e59.js +0 -1
- package/dist/assets/forth.bd08c7e3.js +0 -1
- package/dist/assets/fortran.2ae538b0.js +0 -1
- package/dist/assets/fr-FR.fa3f9dfa.js +0 -1
- package/dist/assets/gas.01960520.js +0 -1
- package/dist/assets/gfm.8e7c0694.js +0 -1
- package/dist/assets/gherkin.c6599791.js +0 -1
- package/dist/assets/go.f623c1d3.js +0 -1
- package/dist/assets/groovy.b5a3df5c.js +0 -1
- package/dist/assets/haml.6302e530.js +0 -1
- package/dist/assets/handlebars.698c31d7.js +0 -1
- package/dist/assets/haskell-literate.d3ee41f3.js +0 -1
- package/dist/assets/haskell.e4bd92a1.js +0 -1
- package/dist/assets/haxe.db74ea0a.js +0 -1
- package/dist/assets/htmlembedded.67d9d54e.js +0 -1
- package/dist/assets/htmlmixed.f95449b1.js +0 -1
- package/dist/assets/http.16e0eb29.js +0 -1
- package/dist/assets/hu-HU.ff4d97e1.js +0 -1
- package/dist/assets/idl.fb34fd03.js +0 -1
- package/dist/assets/index.4ce1e26c.js +0 -1
- package/dist/assets/index.90515a60.css +0 -1
- package/dist/assets/index.a36c94c4.js +0 -1
- package/dist/assets/it-IT.5db21711.js +0 -1
- package/dist/assets/javascript-hint.835011a8.js +0 -1
- package/dist/assets/javascript.098ad3f4.js +0 -1
- package/dist/assets/jinja2.5d6e4ebc.js +0 -1
- package/dist/assets/jsx.9e86f9c1.js +0 -1
- package/dist/assets/julia.3d7819b8.js +0 -1
- package/dist/assets/livescript.d3e3ffd7.js +0 -1
- package/dist/assets/lua.dcc90e1a.js +0 -1
- package/dist/assets/mark-selection.555804b8.js +0 -1
- package/dist/assets/match-highlighter.d280d567.js +0 -1
- package/dist/assets/mathematica.a4cf7905.js +0 -1
- package/dist/assets/mbox.0118ba5e.js +0 -1
- package/dist/assets/mirc.f16a416b.js +0 -1
- package/dist/assets/mllike.8af83228.js +0 -1
- package/dist/assets/modelica.fff0e69c.js +0 -1
- package/dist/assets/mscgen.4f351ed7.js +0 -1
- package/dist/assets/multiplex.24637d75.js +0 -3
- package/dist/assets/mumps.b29547a0.js +0 -1
- package/dist/assets/nginx.0b30c51b.js +0 -1
- package/dist/assets/nsis.931674c1.js +0 -1
- package/dist/assets/ntriples.b3ee92f7.js +0 -1
- package/dist/assets/octave.9fa134a4.js +0 -1
- package/dist/assets/overlay.7325085f.js +0 -1
- package/dist/assets/oz.418a19b3.js +0 -1
- package/dist/assets/pascal.abc2efea.js +0 -1
- package/dist/assets/pegjs.533a8931.js +0 -1
- package/dist/assets/perl.b0843cce.js +0 -1
- package/dist/assets/php.c4294507.js +0 -1
- package/dist/assets/pig.9e076d83.js +0 -1
- package/dist/assets/powershell.9163521a.js +0 -1
- package/dist/assets/properties.7389537c.js +0 -1
- package/dist/assets/protobuf.3ba8f801.js +0 -1
- package/dist/assets/pt-BR.c51763f3.js +0 -1
- package/dist/assets/pug.b98726b9.js +0 -1
- package/dist/assets/puppet.c2c7aecb.js +0 -1
- package/dist/assets/python.672ad786.js +0 -1
- package/dist/assets/q.58e35d92.js +0 -1
- package/dist/assets/r.86a12cf3.js +0 -1
- package/dist/assets/ro-RO.52802a17.js +0 -1
- package/dist/assets/rpm.057276c6.js +0 -1
- package/dist/assets/rst.3911d824.js +0 -1
- package/dist/assets/ruby.4ca30934.js +0 -1
- package/dist/assets/runtime-core.esm-bundler.fe249c5c.js +0 -4
- package/dist/assets/rust.f8f204a0.js +0 -1
- package/dist/assets/sas.b027b508.js +0 -1
- package/dist/assets/sass.6778645c.js +0 -1
- package/dist/assets/scheme.7d2fc5ef.js +0 -1
- package/dist/assets/shell.586a365e.js +0 -1
- package/dist/assets/show-hint.294aed89.js +0 -1
- package/dist/assets/sieve.76492164.js +0 -1
- package/dist/assets/slim.b75d75fc.js +0 -1
- package/dist/assets/smalltalk.c3811c1d.js +0 -1
- package/dist/assets/smarty.7ad51fee.js +0 -1
- package/dist/assets/solr.bc858702.js +0 -1
- package/dist/assets/soy.3523b082.js +0 -1
- package/dist/assets/sparql.23f67405.js +0 -1
- package/dist/assets/spreadsheet.fa0c4509.js +0 -1
- package/dist/assets/sql.e5dcae4e.js +0 -1
- package/dist/assets/stex.9edbeb3d.js +0 -1
- package/dist/assets/stylus.71868f10.js +0 -1
- package/dist/assets/swift.141c772a.js +0 -1
- package/dist/assets/tcl.e5b16da9.js +0 -1
- package/dist/assets/textile.0ba58239.js +0 -1
- package/dist/assets/tiddlywiki.cd3e074b.js +0 -1
- package/dist/assets/tiki.8884b81d.js +0 -1
- package/dist/assets/toml.0b104a38.js +0 -1
- package/dist/assets/tornado.ca0dd624.js +0 -1
- package/dist/assets/tr-TR.1dcfd6d4.js +0 -1
- package/dist/assets/translations.074feb87.js +0 -1
- package/dist/assets/troff.ceff2948.js +0 -1
- package/dist/assets/ttcn-cfg.20ce326a.js +0 -1
- package/dist/assets/ttcn.348a5af1.js +0 -1
- package/dist/assets/turtle.a74dd24d.js +0 -1
- package/dist/assets/twig.103f6c63.js +0 -1
- package/dist/assets/uk-UA.99a7a7a6.js +0 -1
- package/dist/assets/validation.cb080608.js +0 -1
- package/dist/assets/vb.9bd07f67.js +0 -1
- package/dist/assets/vbscript.f266487f.js +0 -1
- package/dist/assets/velocity.b63b2da2.js +0 -1
- package/dist/assets/verilog.94262bc9.js +0 -1
- package/dist/assets/vhdl.89bc6c80.js +0 -1
- package/dist/assets/vue-router.805cb517.entry.js +0 -5
- package/dist/assets/vue.c7dd8317.entry.js +0 -1
- package/dist/assets/vue.e839556b.js +0 -1
- package/dist/assets/vue.runtime.esm-bundler.eb605ed6.js +0 -1
- package/dist/assets/wast.077750a6.js +0 -1
- package/dist/assets/webidl.4f90cc6b.js +0 -1
- package/dist/assets/xquery.1f517ebf.js +0 -1
- package/dist/assets/yacas.5d349152.js +0 -1
- package/dist/assets/yaml-frontmatter.744c0030.js +0 -1
- package/dist/assets/yaml.41d6e7e9.js +0 -1
- package/dist/assets/z80.7e67c12c.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o,o as r,
|
|
1
|
+
import{a as o,o as r,e as h,y as e,u as s,q as t,z as a}from"./runtime-core.esm-bundler.22ec0346.js";const d={class:"markdown-body"},p=s("blockquote",null,[s("p",null,"Notifications allow you to send/receive messages to/from other users of the platform.")],-1),u=s("hr",null,null,-1),_=s("h2",{id:"the-notification-object",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#the-notification-object"},"#"),t(" The Notification Object")],-1),f=s("p",null,[s("code",null,"id"),t(),s("strong",null,"integer"),s("br"),t(" Primary key of the revision.")],-1),m=s("p",null,[s("code",null,"timestamp"),t(),s("strong",null,"string"),s("br"),t(" Timestamp in ISO8601 when the notification was created.")],-1),j=s("p",null,[s("code",null,"status"),t(),s("strong",null,"string"),s("br"),t(" Current status of the notification. One of \u201Cinbox\u201D, \u201Carchived\u201D.")],-1),g=s("p",null,[s("code",null,"recipient"),t(),s("strong",null,"many-to-one"),s("br"),t(" User that received the notification.")],-1),b=s("p",null,[s("code",null,"sender"),t(),s("strong",null,"many-to-one"),s("br"),t(" User that sent the notification, if any.")],-1),y=s("p",null,[s("code",null,"subject"),t(),s("strong",null,"string"),s("br"),t(" Subject line of the message.")],-1),x=s("p",null,[s("code",null,"message"),t(),s("strong",null,"string"),s("br"),t(" Notification\u2019s message content. Will be sent in the email.")],-1),q=s("p",null,[s("code",null,"collection"),t(),s("strong",null,"string"),s("br"),t(" Collection this notification references.")],-1),E=s("p",null,[s("code",null,"item"),t(),s("strong",null,"string"),s("br"),t(" Primary key of the item this notification references.")],-1),T=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-punctuation"},"{"),t(`
|
|
2
2
|
`),s("span",{class:"hljs-attr"},'"id"'),s("span",{class:"hljs-punctuation"},":"),t(),s("span",{class:"hljs-number"},"2"),s("span",{class:"hljs-punctuation"},","),t(`
|
|
3
3
|
`),s("span",{class:"hljs-attr"},'"timestamp"'),s("span",{class:"hljs-punctuation"},":"),t(),s("span",{class:"hljs-string"},'"2021-11-24T13:57:35Z"'),s("span",{class:"hljs-punctuation"},","),t(`
|
|
4
4
|
`),s("span",{class:"hljs-attr"},'"status"'),s("span",{class:"hljs-punctuation"},":"),t(),s("span",{class:"hljs-string"},'"inbox"'),s("span",{class:"hljs-punctuation"},","),t(`
|
|
@@ -9,7 +9,7 @@ import{a as o,o as r,b as h,w as e,l as s,E as t,e as a}from"./runtime-core.esm-
|
|
|
9
9
|
`),s("span",{class:"hljs-attr"},'"collection"'),s("span",{class:"hljs-punctuation"},":"),t(),s("span",{class:"hljs-string"},'"articles"'),s("span",{class:"hljs-punctuation"},","),t(`
|
|
10
10
|
`),s("span",{class:"hljs-attr"},'"item"'),s("span",{class:"hljs-punctuation"},":"),t(),s("span",{class:"hljs-string"},'"1"'),t(`
|
|
11
11
|
`),s("span",{class:"hljs-punctuation"},"}"),t(`
|
|
12
|
-
`)])],-1),k=s("hr",null,null,-1),P=s("h2",{id:"list-notifications",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#list-notifications"},"#"),t(" List Notifications")],-1),R=s("p",null,"List all notifications that exist in Directus.",-1),
|
|
12
|
+
`)])],-1),k=s("hr",null,null,-1),P=s("h2",{id:"list-notifications",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#list-notifications"},"#"),t(" List Notifications")],-1),R=s("p",null,"List all notifications that exist in Directus.",-1),S=s("h3",{id:"query-parameters",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters"},"#"),t(" Query Parameters")],-1),w=s("h3",{id:"returns",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns"},"#"),t(" Returns")],-1),A=s("a",{href:"#the-notification-object"},"notification objects",-1),C=s("h3",{id:"rest-api",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api"},"#"),t(" REST API")],-1),L=s("pre",null,[s("code",null,`GET /notifications
|
|
13
13
|
SEARCH /notifications
|
|
14
14
|
`)],-1),N=s("h3",{id:"graphql",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql"},"#"),t(" GraphQL")],-1),Q=s("pre",null,[s("code",null,`POST /graphql/system
|
|
15
15
|
`)],-1),I=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),t(` {
|
|
@@ -23,8 +23,8 @@ SEARCH /notifications
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
`)])],-1),H=s("hr",null,null,-1),v=s("h2",{id:"retrieve-a-notification",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#retrieve-a-notification"},"#"),t(" Retrieve a notification")],-1),G=s("p",null,"List an existing notification by primary key.",-1),B=s("h3",{id:"query-parameters-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters-1"},"#"),t(" Query Parameters")],-1),M=s("h3",{id:"returns-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-1"},"#"),t(" Returns")],-1),U=s("p",null,[t("Returns the requested "),s("a",{href:"#the-notification-object"},"notification object"),t(".")],-1),Y=s("h3",{id:"rest-api-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-1"},"#"),t(" REST API")],-1),V=s("pre",null,[s("code",null,`GET /notifications/:id
|
|
26
|
-
`)],-1),
|
|
27
|
-
`)],-1),
|
|
26
|
+
`)],-1),z=s("h5",{id:"example-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-1"},"#"),t(" Example")],-1),F=s("pre",null,[s("code",null,`GET /notifications/42
|
|
27
|
+
`)],-1),W=s("h3",{id:"graphql-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-1"},"#"),t(" GraphQL")],-1),Z=s("pre",null,[s("code",null,`POST /graphql/system
|
|
28
28
|
`)],-1),J=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),t(` {
|
|
29
29
|
notifications_by_id(id:`),s("span",{class:"hljs-literal"}," ID"),t(`!): directus_notifications
|
|
30
30
|
}
|
|
@@ -69,7 +69,7 @@ SEARCH /notifications
|
|
|
69
69
|
`),s("span",{class:"hljs-attr"},'"message"'),s("span",{class:"hljs-punctuation"},":"),t(),s("span",{class:"hljs-string"},'"Hi there! You should check out these articles"'),t(`
|
|
70
70
|
`),s("span",{class:"hljs-punctuation"},"}"),t(`
|
|
71
71
|
`),s("span",{class:"hljs-punctuation"},"]"),t(`
|
|
72
|
-
`)])],-1),
|
|
72
|
+
`)])],-1),Ss=s("h3",{id:"graphql-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-3"},"#"),t(" GraphQL")],-1),ws=s("pre",null,[s("code",null,`POST /graphql/system
|
|
73
73
|
`)],-1),As=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),t(` {
|
|
74
74
|
create_notifications_items(data: [create_directus_notifications_input!]!): [directus_notifications]
|
|
75
75
|
}
|
|
@@ -98,11 +98,11 @@ SEARCH /notifications
|
|
|
98
98
|
`),s("span",{class:"hljs-punctuation"},"{"),t(`
|
|
99
99
|
`),s("span",{class:"hljs-attr"},'"message"'),s("span",{class:"hljs-punctuation"},":"),t(),s("span",{class:"hljs-string"},'"This is my updated notification"'),t(`
|
|
100
100
|
`),s("span",{class:"hljs-punctuation"},"}"),t(`
|
|
101
|
-
`)])],-1),
|
|
102
|
-
`)],-1),
|
|
101
|
+
`)])],-1),zs=s("h3",{id:"graphql-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-4"},"#"),t(" GraphQL")],-1),Fs=s("pre",null,[s("code",null,`POST /graphql/system
|
|
102
|
+
`)],-1),Ws=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),t(` {
|
|
103
103
|
update_notifications_item(id:`),s("span",{class:"hljs-literal"}," ID"),t(`!, data: update_directus_notifications_input): directus_notifications
|
|
104
104
|
}
|
|
105
|
-
`)])],-1),
|
|
105
|
+
`)])],-1),Zs=s("h5",{id:"example-8",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-8"},"#"),t(" Example")],-1),Js=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),t(` {
|
|
106
106
|
update_notifications_item(id: `),s("span",{class:"hljs-number"},"32"),t(", data: { message: "),s("span",{class:"hljs-string"},'"This is my updated notification"'),t(` }) {
|
|
107
107
|
id
|
|
108
108
|
message
|
|
@@ -133,12 +133,12 @@ SEARCH /notifications
|
|
|
133
133
|
`)],-1),Pt=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),t(` {
|
|
134
134
|
delete_notifications_item(id:`),s("span",{class:"hljs-literal"}," ID"),t(`!): delete_one
|
|
135
135
|
}
|
|
136
|
-
`)])],-1),Rt=s("h5",{id:"example-12",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-12"},"#"),t(" Example")],-1),
|
|
136
|
+
`)])],-1),Rt=s("h5",{id:"example-12",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-12"},"#"),t(" Example")],-1),St=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),t(` {
|
|
137
137
|
delete_notifications_item(id: `),s("span",{class:"hljs-number"},"32"),t(`) {
|
|
138
138
|
id
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
`)])],-1),
|
|
141
|
+
`)])],-1),wt=s("hr",null,null,-1),At=s("h2",{id:"delete-multiple-notifications",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#delete-multiple-notifications"},"#"),t(" Delete Multiple Notifications")],-1),Ct=s("p",null,"Delete multiple existing notifications.",-1),Lt=s("h3",{id:"request-body-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body-4"},"#"),t(" Request Body")],-1),Nt=s("p",null,"An array of notification primary keys",-1),Qt=s("h3",{id:"returns-7",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-7"},"#"),t(" Returns")],-1),It=s("p",null,"Empty body.",-1),Dt=s("h3",{id:"rest-api-7",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-7"},"#"),t(" REST API")],-1),Ot=s("pre",null,[s("code",null,`DELETE /notifications
|
|
142
142
|
`)],-1),Ht=s("h5",{id:"example-13",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-13"},"#"),t(" Example")],-1),vt=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// DELETE /notifications"),t(`
|
|
143
143
|
`),s("span",{class:"hljs-punctuation"},"["),s("span",{class:"hljs-number"},"15"),s("span",{class:"hljs-punctuation"},","),t(),s("span",{class:"hljs-number"},"251"),s("span",{class:"hljs-punctuation"},","),t(),s("span",{class:"hljs-number"},"810"),s("span",{class:"hljs-punctuation"},"]"),t(`
|
|
144
144
|
`)])],-1),Gt=s("h3",{id:"graphql-7",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-7"},"#"),t(" GraphQL")],-1),Bt=s("pre",null,[s("code",null,`POST /graphql/system
|
|
@@ -150,4 +150,4 @@ SEARCH /notifications
|
|
|
150
150
|
ids
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
`)])],-1),
|
|
153
|
+
`)])],-1),Zt="Notifications",Jt=!1,Kt="REST and GraphQL API documentation on the Notifications collection in Directus.",Xt="5 min read",$t="page-reference",se={__name:"notifications",setup(Vt,{expose:l}){const i={title:"Notifications",modularExtension:!1,description:"REST and GraphQL API documentation on the Notifications collection in Directus.",readTime:"5 min read",pageClass:"page-reference"};return l({frontmatter:i}),(zt,Ft)=>{const n=o("router-link"),c=o("docs-wrapper");return r(),h(c,{frontmatter:i},{default:e(()=>[s("div",d,[p,u,_,f,m,j,g,b,y,x,q,E,T,k,P,R,S,s("p",null,[t("Supports all "),a(n,{to:"/docs/reference/query"},{default:e(()=>[t("global query parameters")]),_:1}),t(".")]),w,s("p",null,[t("An array of up to "),a(n,{to:"/docs/reference/query#limit"},{default:e(()=>[t("limit")]),_:1}),t(),A,t(". If no items are available, data will be an empty array.")]),C,L,s("p",null,[a(n,{to:"/docs/reference/introduction#search-http-method"},{default:e(()=>[t("Learn more about SEARCH ->")]),_:1})]),N,Q,I,D,O,H,v,G,B,s("p",null,[t("Supports all "),a(n,{to:"/docs/reference/query"},{default:e(()=>[t("global query parameters")]),_:1}),t(".")]),M,U,Y,V,z,F,W,Z,J,K,X,$,ss,ts,es,s("p",null,[t("Supports all "),a(n,{to:"/docs/reference/query"},{default:e(()=>[t("global query parameters")]),_:1}),t(".")]),ns,as,is,os,ls,cs,rs,hs,ds,ps,us,_s,fs,ms,js,gs,bs,s("p",null,[t("Supports all "),a(n,{to:"/docs/reference/query"},{default:e(()=>[t("global query parameters")]),_:1}),t(".")]),ys,xs,qs,Es,Ts,ks,Ps,Rs,Ss,ws,As,Cs,Ls,Ns,Qs,Is,Ds,Os,s("p",null,[t("Supports all "),a(n,{to:"/docs/reference/query"},{default:e(()=>[t("global query parameters")]),_:1}),t(".")]),Hs,vs,Gs,Bs,Ms,Us,Ys,Vs,zs,Fs,Ws,Zs,Js,Ks,Xs,$s,st,s("p",null,[t("Supports all "),a(n,{to:"/docs/reference/query"},{default:e(()=>[t("global query parameters")]),_:1}),t(".")]),tt,et,nt,at,it,ot,lt,ct,rt,ht,dt,pt,ut,_t,ft,mt,jt,gt,bt,yt,xt,qt,Et,Tt,kt,Pt,Rt,St,wt,At,Ct,Lt,Nt,Qt,It,Dt,Ot,Ht,vt,Gt,Bt,Mt,Ut,Yt])]),_:1})}}};export{se as default,Kt as description,Jt as modularExtension,$t as pageClass,Xt as readTime,Zt as title};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as s}from"./index.312f2c91.entry.js";import{s as a}from"./simple.1606e663.js";function S(r,i){for(var e=0;e<i.length;e++){const t=i[e];if(typeof t!="string"&&!Array.isArray(t)){for(const n in t)if(n!=="default"&&!(n in r)){const o=Object.getOwnPropertyDescriptor(t,n);o&&Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(r,i){(function(e){e(s.exports,a.exports)})(function(e){e.defineSimpleMode("nsis",{start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/,token:"atom"},{regex:/\b(?:admin|all|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|zlib)\b/,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:RunningX64)\}/,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/,token:"variable-2",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w+/,token:"variable"},{regex:/\${[\w\.:-]+}/,token:"variable-2"},{regex:/\$\([\w\.:-]+\)/,token:"variable-3"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{electricInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:["#",";"]}}),e.defineMIME("text/x-nsis","nsis")})})();const d=l.exports,c=S({__proto__:null,default:d},[l.exports]);export{c as n};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as B}from"./index.312f2c91.entry.js";function P(t,l){for(var f=0;f<l.length;f++){const e=l[f];if(typeof e!="string"&&!Array.isArray(e)){for(const I in e)if(I!=="default"&&!(I in t)){const r=Object.getOwnPropertyDescriptor(e,I);r&&Object.defineProperty(t,I,r.get?r:{enumerable:!0,get:()=>e[I]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(t,l){(function(f){f(B.exports)})(function(f){f.defineMode("ntriples",function(){var e={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function I(r,n){var i=r.location,_;i==e.PRE_SUBJECT&&n=="<"?_=e.WRITING_SUB_URI:i==e.PRE_SUBJECT&&n=="_"?_=e.WRITING_BNODE_URI:i==e.PRE_PRED&&n=="<"?_=e.WRITING_PRED_URI:i==e.PRE_OBJ&&n=="<"?_=e.WRITING_OBJ_URI:i==e.PRE_OBJ&&n=="_"?_=e.WRITING_OBJ_BNODE:i==e.PRE_OBJ&&n=='"'?_=e.WRITING_OBJ_LITERAL:i==e.WRITING_SUB_URI&&n==">"||i==e.WRITING_BNODE_URI&&n==" "?_=e.PRE_PRED:i==e.WRITING_PRED_URI&&n==">"?_=e.PRE_OBJ:i==e.WRITING_OBJ_URI&&n==">"||i==e.WRITING_OBJ_BNODE&&n==" "||i==e.WRITING_OBJ_LITERAL&&n=='"'||i==e.WRITING_LIT_LANG&&n==" "||i==e.WRITING_LIT_TYPE&&n==">"?_=e.POST_OBJ:i==e.WRITING_OBJ_LITERAL&&n=="@"?_=e.WRITING_LIT_LANG:i==e.WRITING_OBJ_LITERAL&&n=="^"?_=e.WRITING_LIT_TYPE:n==" "&&(i==e.PRE_SUBJECT||i==e.PRE_PRED||i==e.PRE_OBJ||i==e.POST_OBJ)?_=i:i==e.POST_OBJ&&n=="."?_=e.PRE_SUBJECT:_=e.ERROR,r.location=_}return{startState:function(){return{location:e.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(r,n){var i=r.next();if(i=="<"){I(n,i);var _="";return r.eatWhile(function(R){return R!="#"&&R!=">"?(_+=R,!0):!1}),n.uris.push(_),r.match("#",!1)||(r.next(),I(n,">")),"variable"}if(i=="#"){var u="";return r.eatWhile(function(R){return R!=">"&&R!=" "?(u+=R,!0):!1}),n.anchors.push(u),"variable-2"}if(i==">")return I(n,">"),"variable";if(i=="_"){I(n,i);var T="";return r.eatWhile(function(R){return R!=" "?(T+=R,!0):!1}),n.bnodes.push(T),r.next(),I(n," "),"builtin"}if(i=='"')return I(n,i),r.eatWhile(function(R){return R!='"'}),r.next(),r.peek()!="@"&&r.peek()!="^"&&I(n,'"'),"string";if(i=="@"){I(n,"@");var o="";return r.eatWhile(function(R){return R!=" "?(o+=R,!0):!1}),n.langs.push(o),r.next(),I(n," "),"string-2"}if(i=="^"){r.next(),I(n,"^");var E="";return r.eatWhile(function(R){return R!=">"?(E+=R,!0):!1}),n.types.push(E),r.next(),I(n,">"),"variable"}i==" "&&I(n,i),i=="."&&I(n,i)}}}),f.defineMIME("application/n-triples","ntriples"),f.defineMIME("application/n-quads","ntriples"),f.defineMIME("text/n-triples","ntriples")})})();const N=O.exports,W=P({__proto__:null,default:N},[O.exports]);export{W as n};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as k}from"./index.312f2c91.entry.js";function w(u,a){for(var t=0;t<a.length;t++){const r=a[t];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in u)){const c=Object.getOwnPropertyDescriptor(r,i);c&&Object.defineProperty(u,i,c.get?c:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};(function(u,a){(function(t){t(k.exports)})(function(t){t.defineMode("octave",function(){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var i=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),c=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),d=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),s=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),m=new RegExp("^((>>=)|(<<=))"),g=new RegExp("^[\\]\\)]"),h=new RegExp("^[_A-Za-z\xA1-\uFFFF][_A-Za-z0-9\xA1-\uFFFF]*"),x=r(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),v=r(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function l(e,n){return!e.sol()&&e.peek()==="'"?(e.next(),n.tokenize=o,"operator"):(n.tokenize=o,o(e,n))}function b(e,n){return e.match(/^.*%}/)?(n.tokenize=o,"comment"):(e.skipToEnd(),"comment")}function o(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=b,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=o,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(r(["nan","NaN","inf","Inf"])))return"number";var f=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return f?f[1]?"string":"string error":e.match(v)?"keyword":e.match(x)?"builtin":e.match(h)?"variable":e.match(i)||e.match(d)?"operator":e.match(c)||e.match(s)||e.match(m)?null:e.match(g)?(n.tokenize=l,null):(e.next(),"error")}return{startState:function(){return{tokenize:o}},token:function(e,n){var f=n.tokenize(e,n);return(f==="number"||f==="variable")&&(n.tokenize=l),f},lineComment:"%",fold:"indent"}}),t.defineMIME("text/x-octave","octave")})})();const y=p.exports,E=w({__proto__:null,default:y},[p.exports]);export{E as o};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as l,o as i,
|
|
1
|
+
import{a as l,o as i,e as h,y as a,u as s,q as e,z as n}from"./runtime-core.esm-bundler.22ec0346.js";const p={class:"markdown-body"},d=s("blockquote",null,[s("p",null,"Operations are the building blocks of Data Flows within Directus.")],-1),u=s("hr",null,null,-1),_=s("h2",{id:"the-operation-object",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#the-operation-object"},"#"),e(" The Operation Object")],-1),j=s("p",null,[s("code",null,"id"),e(),s("strong",null,"uuid"),s("br"),e(" Primary key of the operation.")],-1),g=s("p",null,[s("code",null,"name"),e(),s("strong",null,"string"),s("br"),e(" Name for the operation.")],-1),m=s("p",null,[s("code",null,"key"),e(),s("strong",null,"string"),s("br"),e(" Key for the operation. Must be unique within a given flow.")],-1),f=s("p",null,[s("code",null,"type"),e(),s("strong",null,"string"),s("br"),e(" Type of operation. One of "),s("code",null,"log"),e(", "),s("code",null,"mail"),e(", "),s("code",null,"notification"),e(", "),s("code",null,"create"),e(", "),s("code",null,"read"),e(", "),s("code",null,"request"),e(", "),s("code",null,"sleep"),e(", "),s("code",null,"transform"),e(", "),s("code",null,"trigger"),e(", "),s("code",null,"condition"),e(", or any type of custom operation extensions.")],-1),y=s("p",null,[s("code",null,"options"),e(),s("strong",null,"json"),s("br"),e(" Options depending on the type of the operation.")],-1),b=s("p",null,[s("code",null,"position_x"),e(),s("strong",null,"integer"),s("br"),e(" Position of the operation on the X axis within the flow workspace.")],-1),x=s("p",null,[s("code",null,"position_y"),e(),s("strong",null,"integer"),s("br"),e(" Position of the operation on the Y axis within the flow workspace.")],-1),q=s("p",null,[s("code",null,"date_created"),e(),s("strong",null,"timestamp"),s("br"),e(" Timestamp in ISO8601 when the operation was created.")],-1),k=s("code",null,"user_created",-1),T=s("strong",null,"many-to-one",-1),E=s("br",null,null,-1),w=s("p",null,[s("code",null,"resolve"),e(),s("strong",null,"uuid"),s("br"),e(" The operation triggered when the current operation succeeds (or "),s("code",null,"then"),e(" logic of a condition operation). Primary key of an "),s("a",{href:"#the-operation-object"},"operation"),e(".")],-1),P=s("p",null,[s("code",null,"reject"),e(),s("strong",null,"uuid"),s("br"),e(" The operation triggered when the current operation fails (or "),s("code",null,"otherwise"),e(" logic of a condition operation). Primary key of an "),s("a",{href:"#the-operation-object"},"operation"),e(".")],-1),R=s("code",null,"flow",-1),S=s("strong",null,"many-to-one",-1),O=s("br",null,null,-1),A=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-punctuation"},"{"),e(`
|
|
2
2
|
`),s("span",{class:"hljs-attr"},'"id"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-string"},'"585b04cd-2821-4dcc-a563-ae5d29ecace2"'),s("span",{class:"hljs-punctuation"},","),e(`
|
|
3
3
|
`),s("span",{class:"hljs-attr"},'"name"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-string"},'"Log a Message"'),s("span",{class:"hljs-punctuation"},","),e(`
|
|
4
4
|
`),s("span",{class:"hljs-attr"},'"key"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-string"},'"log_message"'),s("span",{class:"hljs-punctuation"},","),e(`
|
|
@@ -24,7 +24,7 @@ SEARCH /operations
|
|
|
24
24
|
key
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
`)])],-1),
|
|
27
|
+
`)])],-1),z=s("hr",null,null,-1),F=s("h2",{id:"retrieve-an-operation",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#retrieve-an-operation"},"#"),e(" Retrieve an operation")],-1),K=s("p",null,"List an existing operation by primary key.",-1),X=s("h3",{id:"query-parameters-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters-1"},"#"),e(" Query Parameters")],-1),Y=s("h3",{id:"returns-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-1"},"#"),e(" Returns")],-1),Z=s("p",null,[e("Returns the requested "),s("a",{href:"#the-operation-object"},"operation object"),e(".")],-1),J=s("h3",{id:"rest-api-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-1"},"#"),e(" REST API")],-1),W=s("pre",null,[s("code",null,`GET /operations/:id
|
|
28
28
|
`)],-1),$=s("h5",{id:"example-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-1"},"#"),e(" Example")],-1),ss=s("pre",null,[s("code",null,`GET /operations/3c636d1c-4eb2-49cd-8a6d-3ec571ab3390
|
|
29
29
|
`)],-1),es=s("h3",{id:"graphql-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-1"},"#"),e(" GraphQL")],-1),as=s("pre",null,[s("code",null,`POST /graphql/system
|
|
30
30
|
`)],-1),ts=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
|
|
@@ -56,7 +56,7 @@ SEARCH /operations
|
|
|
56
56
|
key
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
`)])],-1),ks=s("hr",null,null,-1),
|
|
59
|
+
`)])],-1),ks=s("hr",null,null,-1),Ts=s("h2",{id:"create-multiple-operations",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#create-multiple-operations"},"#"),e(" Create Multiple Operations")],-1),Es=s("p",null,"Create multiple new operations.",-1),ws=s("h3",{id:"query-parameters-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters-3"},"#"),e(" Query Parameters")],-1),Ps=s("h3",{id:"request-body-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body-1"},"#"),e(" Request Body")],-1),Rs=s("p",null,[e("An array of partial "),s("a",{href:"#the-operation-object"},"operation objects"),e(".")],-1),Ss=s("h3",{id:"returns-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-3"},"#"),e(" Returns")],-1),Os=s("p",null,[e("Returns the "),s("a",{href:"#the-operation-object"},"operation object"),e(" for the created operation.")],-1),As=s("h3",{id:"rest-api-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-3"},"#"),e(" REST API")],-1),Ls=s("pre",null,[s("code",null,`POST /operations
|
|
60
60
|
`)],-1),Ms=s("h5",{id:"example-5",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-5"},"#"),e(" Example")],-1),Ds=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// POST /operations"),e(`
|
|
61
61
|
|
|
62
62
|
`),s("span",{class:"hljs-punctuation"},"["),e(`
|
|
@@ -95,8 +95,8 @@ SEARCH /operations
|
|
|
95
95
|
key
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
`)])],-1),Bs=s("hr",null,null,-1),Us=s("h2",{id:"update-an-operation",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#update-an-operation"},"#"),e(" Update an Operation")],-1),Hs=s("p",null,"Update an existing operation.",-1),Ns=s("h3",{id:"query-parameters-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters-4"},"#"),e(" Query Parameters")],-1),Vs=s("h3",{id:"request-body-2",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body-2"},"#"),e(" Request Body")],-1),
|
|
99
|
-
`)],-1),
|
|
98
|
+
`)])],-1),Bs=s("hr",null,null,-1),Us=s("h2",{id:"update-an-operation",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#update-an-operation"},"#"),e(" Update an Operation")],-1),Hs=s("p",null,"Update an existing operation.",-1),Ns=s("h3",{id:"query-parameters-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters-4"},"#"),e(" Query Parameters")],-1),Vs=s("h3",{id:"request-body-2",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body-2"},"#"),e(" Request Body")],-1),zs=s("p",null,[e("A partial "),s("a",{href:"#the-operation-object"},"operation object"),e(".")],-1),Fs=s("h3",{id:"returns-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-4"},"#"),e(" Returns")],-1),Ks=s("p",null,[e("Returns the "),s("a",{href:"#the-operation-object"},"operation object"),e(" for the updated operation.")],-1),Xs=s("h3",{id:"rest-api-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-4"},"#"),e(" REST API")],-1),Ys=s("pre",null,[s("code",null,`PATCH /operation/:id
|
|
99
|
+
`)],-1),Zs=s("h5",{id:"example-7",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-7"},"#"),e(" Example")],-1),Js=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// PATCH /operation/7d62f1e9-a83f-407b-84f8-1c184f014501"),e(`
|
|
100
100
|
|
|
101
101
|
`),s("span",{class:"hljs-punctuation"},"{"),e(`
|
|
102
102
|
`),s("span",{class:"hljs-attr"},'"name"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-string"},'"My Updated Operation"'),e(`
|
|
@@ -134,7 +134,7 @@ SEARCH /operations
|
|
|
134
134
|
key
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
`)])],-1),xe=s("hr",null,null,-1),qe=s("h2",{id:"delete-an-operation",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#delete-an-operation"},"#"),e(" Delete an Operation")],-1),ke=s("p",null,"Delete an existing operation.",-1),
|
|
137
|
+
`)])],-1),xe=s("hr",null,null,-1),qe=s("h2",{id:"delete-an-operation",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#delete-an-operation"},"#"),e(" Delete an Operation")],-1),ke=s("p",null,"Delete an existing operation.",-1),Te=s("h3",{id:"returns-6",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-6"},"#"),e(" Returns")],-1),Ee=s("p",null,"Empty body.",-1),we=s("h3",{id:"rest-api-6",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-6"},"#"),e(" REST API")],-1),Pe=s("pre",null,[s("code",null,`DELETE /operations/:id
|
|
138
138
|
`)],-1),Re=s("h5",{id:"example-11",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-11"},"#"),e(" Example")],-1),Se=s("pre",null,[s("code",null,`DELETE /operations/07ac467e-1900-4c62-9637-8dac2ab97f71
|
|
139
139
|
`)],-1),Oe=s("h3",{id:"graphql-6",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-6"},"#"),e(" GraphQL")],-1),Ae=s("pre",null,[s("code",null,`POST /graphql/system
|
|
140
140
|
`)],-1),Le=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
|
|
@@ -146,13 +146,13 @@ SEARCH /operations
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
`)])],-1),Ie=s("hr",null,null,-1),Qe=s("h2",{id:"delete-multiple-operations",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#delete-multiple-operations"},"#"),e(" Delete Multiple Operations")],-1),Ce=s("p",null,"Delete multiple existing operations.",-1),Ge=s("h3",{id:"request-body-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body-4"},"#"),e(" Request Body")],-1),ve=s("p",null,"An array of operations primary keys",-1),Be=s("h3",{id:"returns-7",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-7"},"#"),e(" Returns")],-1),Ue=s("p",null,"Empty body.",-1),He=s("h3",{id:"rest-api-7",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-7"},"#"),e(" REST API")],-1),Ne=s("pre",null,[s("code",null,`DELETE /operations
|
|
149
|
-
`)],-1),Ve=s("h5",{id:"example-13",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-13"},"#"),e(" Example")],-1),
|
|
149
|
+
`)],-1),Ve=s("h5",{id:"example-13",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-13"},"#"),e(" Example")],-1),ze=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// DELETE /operations"),e(`
|
|
150
150
|
`),s("span",{class:"hljs-punctuation"},"["),s("span",{class:"hljs-string"},'"a791ce73-41a2-4fb7-8f67-c7ba176cc719"'),s("span",{class:"hljs-punctuation"},","),e(),s("span",{class:"hljs-string"},'"4e57ab0e-f4ec-47b5-9dad-e36f08a25642"'),s("span",{class:"hljs-punctuation"},","),e(),s("span",{class:"hljs-string"},'"5fe0a6f6-18ad-4bb3-94c6-2e033246c784"'),s("span",{class:"hljs-punctuation"},"]"),e(`
|
|
151
|
-
`)])],-1),
|
|
152
|
-
`)],-1),
|
|
151
|
+
`)])],-1),Fe=s("h3",{id:"graphql-7",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-7"},"#"),e(" GraphQL")],-1),Ke=s("pre",null,[s("code",null,`POST /graphql/system
|
|
152
|
+
`)],-1),Xe=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
|
|
153
153
|
delete_operations_items(ids: `),s("span",{class:"hljs-literal"},"[ID"),e(`!]!): delete_many
|
|
154
154
|
}
|
|
155
|
-
`)])],-1),
|
|
155
|
+
`)])],-1),Ye=s("h5",{id:"example-14",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-14"},"#"),e(" Example")],-1),Ze=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),e(` {
|
|
156
156
|
delete_operations_items(
|
|
157
157
|
ids: [
|
|
158
158
|
`),s("span",{class:"hljs-string"},'"a791ce73-41a2-4fb7-8f67-c7ba176cc719"'),e(`
|
|
@@ -166,4 +166,4 @@ SEARCH /operations
|
|
|
166
166
|
`)])],-1),Je=s("h2",{id:"triggering-an-operation",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#triggering-an-operation"},"#"),e(" Triggering an operation")],-1),We=s("p",null,"Trigger an operation based on primary key.",-1),$e=s("h3",{id:"request-body-5",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body-5"},"#"),e(" Request Body")],-1),sa=s("p",null,"Payload for the operation, if needed.",-1),ea=s("h3",{id:"returns-8",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-8"},"#"),e(" Returns")],-1),aa=s("p",null,"Result of the operation, if any.",-1),ta=s("h3",{id:"rest-api-8",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-8"},"#"),e(" REST API")],-1),na=s("pre",null,[s("code",null,`POST /operations/trigger/:operation_uuid
|
|
167
167
|
`)],-1),oa=s("h5",{id:"example-15",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-15"},"#"),e(" Example")],-1),la=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// POST /flows/trigger/202a940b-a00b-47df-b832-369c53f13122"),e(`
|
|
168
168
|
`),s("span",{class:"hljs-comment"},"// Payload here"),e(`
|
|
169
|
-
`)])],-1),pa="Operations",da=!1,ua="REST and GraphQL API documentation on the Operations collection in Directus.",_a="5 min read",ja="page-reference",ga={__name:"operations",setup(ra,{expose:r}){const o={title:"Operations",modularExtension:!1,description:"REST and GraphQL API documentation on the Operations collection in Directus.",readTime:"5 min read",pageClass:"page-reference"};return r({frontmatter:o}),(ca,ia)=>{const t=l("router-link"),c=l("docs-wrapper");return i(),h(c,{frontmatter:o},{default:a(()=>[s("div",p,[d,u,_,j,g,m,f,y,b,x,q,s("p",null,[k,e(),E,
|
|
169
|
+
`)])],-1),pa="Operations",da=!1,ua="REST and GraphQL API documentation on the Operations collection in Directus.",_a="5 min read",ja="page-reference",ga={__name:"operations",setup(ra,{expose:r}){const o={title:"Operations",modularExtension:!1,description:"REST and GraphQL API documentation on the Operations collection in Directus.",readTime:"5 min read",pageClass:"page-reference"};return r({frontmatter:o}),(ca,ia)=>{const t=l("router-link"),c=l("docs-wrapper");return i(),h(c,{frontmatter:o},{default:a(()=>[s("div",p,[d,u,_,j,g,m,f,y,b,x,q,s("p",null,[k,e(),T,E,e(" The user who created the operation. Many-to-one to "),n(t,{to:"/docs/reference/system/users#the-users-object"},{default:a(()=>[e("users")]),_:1}),e(".")]),w,P,s("p",null,[R,e(),S,O,e(" The flow containing this operation. Many-to-one to "),n(t,{to:"/docs/reference/system/flows#the-data-chain"},{default:a(()=>[e("flows")]),_:1}),e(".")]),A,L,M,D,I,s("p",null,[e("Supports all "),n(t,{to:"/docs/reference/query"},{default:a(()=>[e("global query parameters")]),_:1}),e(".")]),Q,s("p",null,[e("An array of up to "),n(t,{to:"/docs/reference/query#limit"},{default:a(()=>[e("limit")]),_:1}),e(),C,e(". If no items are available, data will be an empty array.")]),G,v,s("p",null,[n(t,{to:"/docs/reference/introduction#search-http-method"},{default:a(()=>[e("Learn more about SEARCH ->")]),_:1})]),B,U,H,N,V,z,F,K,X,s("p",null,[e("Supports all "),n(t,{to:"/docs/reference/query"},{default:a(()=>[e("global query parameters")]),_:1}),e(".")]),Y,Z,J,W,$,ss,es,as,ts,ns,os,ls,rs,cs,is,s("p",null,[e("Supports all "),n(t,{to:"/docs/reference/query"},{default:a(()=>[e("global query parameters")]),_:1}),e(".")]),hs,ps,ds,us,_s,js,gs,ms,fs,ys,bs,xs,qs,ks,Ts,Es,ws,s("p",null,[e("Supports all "),n(t,{to:"/docs/reference/query"},{default:a(()=>[e("global query parameters")]),_:1}),e(".")]),Ps,Rs,Ss,Os,As,Ls,Ms,Ds,Is,Qs,Cs,Gs,vs,Bs,Us,Hs,Ns,s("p",null,[e("Supports all "),n(t,{to:"/docs/reference/query"},{default:a(()=>[e("global query parameters")]),_:1}),e(".")]),Vs,zs,Fs,Ks,Xs,Ys,Zs,Js,Ws,$s,se,ee,ae,te,ne,oe,le,s("p",null,[e("Supports all "),n(t,{to:"/docs/reference/query"},{default:a(()=>[e("global query parameters")]),_:1}),e(".")]),re,ce,ie,he,pe,de,ue,_e,je,ge,me,fe,ye,be,xe,qe,ke,Te,Ee,we,Pe,Re,Se,Oe,Ae,Le,Me,De,Ie,Qe,Ce,Ge,ve,Be,Ue,He,Ne,Ve,ze,Fe,Ke,Xe,Ye,Ze,Je,We,$e,sa,ea,aa,ta,na,oa,la])]),_:1})}}};export{ga as default,ua as description,da as modularExtension,ja as pageClass,_a as readTime,pa as title};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as i,o as u,
|
|
1
|
+
import{a as i,o as u,e as d,y as o,u as e,q as t,z as s}from"./runtime-core.esm-bundler.22ec0346.js";const c={class:"markdown-body"},h=e("blockquote",null,[e("p",null,[t("Operations are the individual actions in a flow. They enable you to do things like manage data within Directus, transform the flow\u2019s data, send information off to outside services, set conditional logic, trigger other flows, "),e("em",null,"and beyond!")])],-1),p={class:"tip hint"},g=e("div",{class:"hint-title"},"Before You Begin",-1),_=e("h2",{id:"condition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#condition"},"#"),t(" Condition")],-1),f=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/condition-20220603A.webp",alt:"Condition"})],-1),m=e("strong",null,"Condition",-1),w=e("strong",null,"success path",-1),y=e("strong",null,"failure path",-1),v=e("p",null,[e("strong",null,"Options")],-1),b=e("strong",null,"Condition Rules",-1),T=e("p",null,[e("strong",null,"Payload")],-1),k=e("p",null,[t("This operation does not generate data. If the filter rule is configured properly, it will append a "),e("code",null,"null"),t(" value on its "),e("code",null,"operationKey"),t(", regardless of if the condition was met or not. However, if the filter rule is misconfigured, it will append an array containing an object you can use to help debug the misconfiguration.")],-1),D=e("p",null,[e("strong",null,"More Details")],-1),I={class:"warning hint"},S=e("strong",null,"Action (Blocking)",-1),j=e("code",null,"reject",-1),A=e("h2",{id:"run-script",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#run-script"},"#"),t(" Run Script")],-1),E=e("p",null,"This operation lets you add a custom script using vanilla JavaScript or TypeScript.",-1),x=e("p",null,[e("strong",null,"Options")],-1),O=e("p",null,[t("The operation provides a default function template. The "),e("em",null,"optional"),t(),e("code",null,"data"),t(" parameter lets you pass in the data chain as an argument.")],-1),P=e("p",null,[e("strong",null,"Payload")],-1),C=e("p",null,[t("The function\u2019s "),e("code",null,"return"),t(" value will be appended under its "),e("code",null,"<operationKey>"),t(".")],-1),R=e("p",null,[e("strong",null,"More Details")],-1),q=e("p",null,[t("As an example, let\u2019s say you have this function in a script operation, named "),e("code",null,"myScript"),t(".")],-1),F=e("pre",null,[e("code",{class:"language-JSON"},[e("span",{class:"hljs-comment"},"// A key from the data chain"),t(`
|
|
2
2
|
`),e("span",{class:"hljs-punctuation"},"{"),t(`
|
|
3
3
|
`),e("span",{class:"hljs-attr"},'"previousOperation"'),e("span",{class:"hljs-punctuation"},":"),t(),e("span",{class:"hljs-punctuation"},"{"),t(`
|
|
4
4
|
`),e("span",{class:"hljs-attr"},'"value"'),e("span",{class:"hljs-punctuation"},":"),t(),e("span",{class:"hljs-number"},"5"),t(`
|
|
@@ -20,10 +20,10 @@ import{a as i,o as u,b as d,w as o,l as e,E as t,e as s}from"./runtime-core.esm-
|
|
|
20
20
|
`),e("span",{class:"hljs-punctuation"},"}"),t(`
|
|
21
21
|
`),e("span",{class:"hljs-punctuation"},"}"),t(`
|
|
22
22
|
|
|
23
|
-
`)])],-1),B=e("div",{class:"tip hint"},[e("p",null,[t("Make sure your "),e("code",null,"return"),t(" value is valid JSON.")])],-1),L={class:"tip hint"},H=e("div",{class:"hint-title"},"Throwing Errors",-1),J=e("strong",null,"Run Script",-1),W=e("h2",{id:"create-data",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#create-data"},"#"),t(" Create Data")],-1),Y=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/create-data-20220603A.webp",alt:"Create Data"})],-1),V=e("p",null,"This operation creates item(s) in a collection.",-1),Q=e("p",null,[e("strong",null,"Options")],-1),G=e("ul",null,[e("li",null,[e("strong",null,"Collection"),t(" \u2014 Select the collection you\u2019d like to create items in.")]),e("li",null,[e("strong",null,"Permissions"),t(" \u2014 Select the scope of permissions used for this operation.")]),e("li",null,[e("strong",null,"Emit Events"),t(" \u2014 Toggle whether the event is emitted.")]),e("li",null,[e("strong",null,"Payload"),t(" \u2014 Defines the payload to create item(s) in a collection.")])],-1),$=e("p",null,[e("strong",null,"Payload")],-1),z=e("p",null,[t("An array with the ID(s) of all items created will be appended under its "),e("code",null,"<operationKey>"),t(".")],-1),X=e("p",null,[e("strong",null,"More Details")],-1),Z=e("div",{class:"warning hint"},[e("p",null,[e("strong",null,"Emit Events"),t(" toggles the event\u2019s "),e("em",null,"visibility"),t(" throughout Directus. For example, if togged on, this operation will trigger relevant event hooks in other flows or custom extensions. If toggled off, the operation will not trigger other event hooks. Imagine a situation where you have a flow being triggered by "),e("code",null,"<collection>.items.create"),t(" which contains an operation that then tries to create another item in that "),e("code",null,"<collection>"),t(". This would throw an infinite loop where the operation triggers its own flow, endlessly. However, if you toggle "),e("strong",null,"Emit Events"),t(" off, then this operation no longer triggers other event hooks.")])],-1),ee={class:"tip hint"},te=e("h2",{id:"delete-data",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#delete-data"},"#"),t(" Delete Data")],-1),oe=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/delete-data-20220603A.webp",alt:"Delete Data"})],-1),ne=e("p",null,"This operation deletes item(s) from a collection.",-1),se=e("p",null,[e("strong",null,"Options")],-1),le=e("li",null,[e("strong",null,"Collection"),t(" \u2014 Select the collection you\u2019d like to delete items from.")],-1),ie=e("li",null,[e("strong",null,"Permissions"),t(" \u2014 Set the scope of permissions used for this operation.")],-1),ae=e("li",null,[e("strong",null,"Emit Events"),t(" \u2014 Toggle whether the event is emitted.")],-1),re=e("li",null,[e("strong",null,"IDs"),t(" \u2014 Set Item IDs and press enter to confirm. Click the ID to remove.")],-1),ue=e("strong",null,"Query",-1),de=e("p",null,[e("strong",null,"Payload")],-1),ce=e("p",null,[t("An array with the ID(s) of all items deleted will be appended under its "),e("code",null,"<operationKey>"),t(".")],-1),he=e("p",null,[e("strong",null,"More Details")],-1),pe=e("div",{class:"warning hint"},[e("p",null,[e("strong",null,"Emit Events"),t(" toggles the event\u2019s "),e("em",null,"visibility"),t(" throughout Directus. For example, if togged on, this operation will trigger relevant event hooks in other flows or custom extensions. If toggled off, the operation will not trigger other event hooks. Imagine a situation where you have a flow being triggered by "),e("code",null,"<collection>.items.delete"),t(" which contains an operation that then tries to delete another item in that "),e("code",null,"<collection>"),t(". This would throw an infinite loop where the operation triggers its own flow, endlessly. However, if you toggle "),e("strong",null,"Emit Events"),t(" off, then this operation no longer triggers other event hooks.")])],-1),ge=e("h2",{id:"read-data",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#read-data"},"#"),t(" Read Data")],-1),_e=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/read-data-20220603A.webp",alt:"Read Data"})],-1),fe=e("p",null,"This operation reads item(s) from a collection and adds them onto the data chain. You may select Items by their ID or by running a query.",-1),me=e("p",null,[e("strong",null,"Options")],-1),we=e("li",null,[e("strong",null,"Permissions"),t(" \u2014 Set the scope of permissions used for this operation.")],-1),ye=e("li",null,[e("strong",null,"Collections"),t(" \u2014 Select the collection you\u2019d like to read items from.")],-1),ve=e("li",null,[e("strong",null,"IDs"),t(" \u2014 Input the ID for items you wish to read and press enter. Click the ID to remove.")],-1),be=e("strong",null,"Query",-1),Te=e("li",null,[e("strong",null,"Emit Events"),t(" \u2014 Toggle whether the event is emitted.")],-1),ke=e("p",null,[e("strong",null,"Payload")],-1),De=e("p",null,[t("An array containing all items read will be appended under its "),e("code",null,"<operationKey>"),t(".")],-1),Ie=e("p",null,[e("strong",null,"More Details")],-1),Se=e("div",{class:"warning hint"},[e("p",null,[e("strong",null,"Emit Events"),t(" toggles the event\u2019s "),e("em",null,"visibility"),t(" throughout Directus. For example, if togged on, this operation will trigger relevant event hooks in other flows or custom extensions. If toggled off, the operation will not trigger other event hooks. Imagine a situation where you have a flow being triggered by "),e("code",null,"<collection>.items.read"),t(" which contains an operation that then tries to read another item in that "),e("code",null,"<collection>"),t(". This would throw an infinite loop where the operation triggers its own flow, endlessly. However, if you toggle "),e("strong",null,"Emit Events"),t(" off, then this operation no longer triggers other event hooks.")])],-1),je=e("h2",{id:"update-data",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#update-data"},"#"),t(" Update Data")],-1),Ee=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/update-data-20220603A.webp",alt:"Update Data"})],-1),Ae=e("p",null,"This operation updates item(s) in a collection. You may select item(s) to update by their ID or by running a query.",-1),xe=e("p",null,[e("strong",null,"Options")],-1),Oe=e("li",null,[e("strong",null,"Collection"),t(" \u2014 Select the collection on which you\u2019d like to update items in.")],-1),Pe=e("li",null,[e("strong",null,"Permissions"),t(" \u2014 Set the role that this operation will inherit permissions from.")],-1),Ce=e("li",null,[e("strong",null,"Emit Events"),t(" \u2014 Toggle whether the event is emitted.")],-1),Re=e("li",null,[e("strong",null,"IDs"),t(" \u2014 Input the ID for Item(s) you wish to read and press enter. Click the ID to remove.")],-1),qe=e("strong",null,"Payload",-1),Fe=e("strong",null,"Query",-1),Me=e("p",null,[e("strong",null,"Payload")],-1),Ue=e("p",null,[t("An array containing all items updated will be appended under its "),e("code",null,"<operationKey>"),t(".")],-1),Ke=e("p",null,[e("strong",null,"More Details")],-1),Ne=e("div",{class:"warning hint"},[e("p",null,[e("strong",null,"Emit Events"),t(" toggles the event\u2019s "),e("em",null,"visibility"),t(" throughout Directus. For example, if togged on, this operation will trigger relevant event hooks in other flows or custom extensions. If toggled off, the operation will not trigger other event hooks. Imagine a situation where you have a flow being triggered by "),e("code",null,"<collection>.items.update"),t(" which contains an operation that then tries to update another item in that "),e("code",null,"<collection>"),t(". This would throw an infinite loop where the operation triggers its own flow, endlessly updating items. However, if you toggle "),e("strong",null,"Emit Events"),t(" off, then this operation no longer triggers other event hooks.")])],-1),Be={class:"tip hint"},Le=e("code",null,"payload",-1),He=e("h2",{id:"log-to-console",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#log-to-console"},"#"),t(" Log to Console")],-1),Je=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/log-to-console-20220603A.webp",alt:"Log to Console"})],-1),We=e("p",null,[e("strong",null,"Options")],-1),Ye=e("strong",null,"Message",-1),Ve=e("p",null,[e("strong",null,"Payload")],-1),Qe=e("p",null,[t("This operation does not generate data for the data chain as its messages are for debugging and troubleshooting. It will append a "),e("code",null,"null"),t(" value on the "),e("code",null,"operationKey"),t(".")],-1),Ge=e("p",null,[e("strong",null,"More Details")],-1),$e=e("h2",{id:"send-email",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#send-email"},"#"),t(" Send Email")],-1),ze=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/send-email-20220603A.webp",alt:"Send Email"})],-1),Xe=e("p",null,"This operation sends off emails.",-1),Ze=e("p",null,[e("strong",null,"Options")],-1),et=e("ul",null,[e("li",null,[e("strong",null,"To"),t(" \u2014 Sets the email addresses. Hit "),e("code",null,"\u21B5"),t(),e("code",null,"Enter"),t(" (PC) or "),e("code",null,"return"),t(" (Mac) to save the email. Click on a pill to remove it.")]),e("li",null,[e("strong",null,"Subject"),t(" \u2014 Set the subject line.")]),e("li",null,[e("strong",null,"Body"),t(" \u2014 Use a Markdown or WYSIWYG editor to create the email body.")])],-1),tt=e("p",null,[e("strong",null,"Payload")],-1),ot=e("p",null,[t("This operation does not generate data for the data chain. It will append a "),e("code",null,"null"),t(" value on the "),e("code",null,"operationKey"),t(".")],-1),nt=e("p",null,[e("strong",null,"More Details")],-1),st=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Batch Emails"),e("p",null,[t("You can input an array of emails in the "),e("code",null,"To"),t(" input option to send off multiple emails.")])],-1),lt=e("div",{class:"tip hint"},[e("p",null,[t("If you are testing out this operation from "),e("code",null,"localhost:8080"),t(", be sure to check your spam box, because your email provider may send it there automatically.")])],-1),it=e("h2",{id:"send-notification",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#send-notification"},"#"),t(" Send Notification")],-1),at=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/send-notification-20220603A.webp",alt:"Send Notification"})],-1),rt=e("p",null,"This operation pushes notifications to Directus Users. If the operation executes successfully, a list containing the IDs of all sent notifications generated is appended under this operation\u2019s key.",-1),ut=e("p",null,[e("strong",null,"Options")],-1),dt=e("ul",null,[e("li",null,[e("strong",null,"Users"),t(" \u2014 Define a user by their UUID. Hit "),e("code",null,"\u21B5"),t(),e("code",null,"Enter"),t(" (PC) or "),e("code",null,"return"),t(" (Mac) to save it. Click on a pill to remove it.")]),e("li",null,[e("strong",null,"Permissions"),t(" \u2014 Define the role that this operation will inherit permissions from.")]),e("li",null,[e("strong",null,"Title"),t(" \u2014 Set the title of the notification.")]),e("li",null,[e("strong",null,"Message"),t(" \u2014 Set the main body of the notification.")])],-1),ct=e("p",null,[e("strong",null,"Payload")],-1),ht=e("p",null,[t("This operation does not generate data. It will append a "),e("code",null,"null"),t(" value on its "),e("code",null,"operationKey"),t(".")],-1),pt=e("p",null,[e("strong",null,"More Details")],-1),gt=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Batch Notifications"),e("p",null,[t("You can input an array of UUIDs in the "),e("code",null,"To"),t(" input option to send off multiple emails.")])],-1),_t=e("h2",{id:"webhook-%2F-request-url",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#webhook-%2F-request-url"},"#"),t(" Webhook / Request URL")],-1),ft=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/webhook-20220603A.webp",alt:"Webhook / Request URL"})],-1),mt=e("p",null,"This operation makes a request to another URL.",-1),wt=e("p",null,[e("strong",null,"Options")],-1),yt=e("ul",null,[e("li",null,[e("strong",null,"Method"),t(" \u2014 Choose to make a GET, POST, PATCH, DELETE, or other type of request.")]),e("li",null,[e("strong",null,"URL"),t(" \u2014 Define the URL to send the request to.")]),e("li",null,[e("strong",null,"Headers"),t(" \u2014 Create a new "),e("code",null,"header:value"),t(" to pass along with the request.")]),e("li",null,[e("strong",null,"Request Body"),t(" \u2014 Set the request body\u2019s data.")])],-1),vt=e("p",null,[e("strong",null,"Payload")],-1),bt=e("p",null,[t("When an operation completes successfully, the "),e("code",null,"response"),t(" is appended under its "),e("code",null,"<operationKey"),t(".")],-1),Tt=e("h2",{id:"sleep",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#sleep"},"#"),t(" Sleep")],-1),kt=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/sleep-20220603A.webp",alt:"Sleep"})],-1),Dt=e("p",null,"This operation creates a delay in the Flow for a given amount of milliseconds, then continues to the next operation.",-1),It=e("p",null,[e("strong",null,"Options")],-1),St=e("ul",null,[e("li",null,[e("strong",null,"Milliseconds"),t(" \u2014 Define the number of milliseconds to sleep.")])],-1),jt=e("p",null,[e("strong",null,"Payload")],-1),Et=e("p",null,[t("This operation does not generate data. It will append a "),e("code",null,"null"),t(" value on its "),e("code",null,"operationKey"),t(".")],-1),At=e("h2",{id:"transform-payload",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#transform-payload"},"#"),t(" Transform Payload")],-1),xt=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/transform-payload-20220603A.webp",alt:"Transform Payload"})],-1),Ot=e("p",null,"This operation lets you custom define your own JSON payload for use in subsequent operations. This enables you to take multiple sources of data and \u201Ctidy them up\u201D into a single payload.",-1),Pt=e("p",null,[e("strong",null,"Options")],-1),Ct=e("ul",null,[e("li",null,[e("strong",null,"JSON"),t(" \u2014 Define JSON to insert into the data chain.")])],-1),Rt=e("p",null,[e("strong",null,"Payload")],-1),qt=e("p",null,[t("When an operation completes successfully, the value you defined under the "),e("strong",null,"JSON"),t(" configuration operation is appended onto its "),e("code",null,"operationKey"),t(".")],-1),Ft=e("p",null,[e("strong",null,"More Details")],-1),Mt=e("p",null,[t("When does the Transform Payload operation come in handy? Let\u2019s say you need to create a payload with data from a "),e("code",null,"users_collection"),t(", "),e("code",null,"widgets_collection"),t(" and some 3rd party resource which processes the data. You can add a "),e("a",{href:"#read-data"},"Read Data"),t(" operation for "),e("code",null,"collection_a"),t(", another Read Data operation for "),e("code",null,"collection_b"),t(", and a "),e("a",{href:"#webhook--request-url"},"Webhook"),t(" operation for the third party resource.")],-1),Ut=e("p",null,"Then you could stitch together all this data to create a new JSON object, like so:",-1),Kt=e("pre",null,[e("code",null,`{
|
|
23
|
+
`)])],-1),B=e("div",{class:"tip hint"},[e("p",null,[t("Make sure your "),e("code",null,"return"),t(" value is valid JSON.")])],-1),L={class:"tip hint"},H=e("div",{class:"hint-title"},"Throwing Errors",-1),J=e("strong",null,"Run Script",-1),W=e("h2",{id:"create-data",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#create-data"},"#"),t(" Create Data")],-1),Y=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/create-data-20220603A.webp",alt:"Create Data"})],-1),V=e("p",null,"This operation creates item(s) in a collection.",-1),Q=e("p",null,[e("strong",null,"Options")],-1),G=e("ul",null,[e("li",null,[e("strong",null,"Collection"),t(" \u2014 Select the collection you\u2019d like to create items in.")]),e("li",null,[e("strong",null,"Permissions"),t(" \u2014 Select the scope of permissions used for this operation.")]),e("li",null,[e("strong",null,"Emit Events"),t(" \u2014 Toggle whether the event is emitted.")]),e("li",null,[e("strong",null,"Payload"),t(" \u2014 Defines the payload to create item(s) in a collection.")])],-1),z=e("p",null,[e("strong",null,"Payload")],-1),$=e("p",null,[t("An array with the ID(s) of all items created will be appended under its "),e("code",null,"<operationKey>"),t(".")],-1),X=e("p",null,[e("strong",null,"More Details")],-1),Z=e("div",{class:"warning hint"},[e("p",null,[e("strong",null,"Emit Events"),t(" toggles the event\u2019s "),e("em",null,"visibility"),t(" throughout Directus. For example, if togged on, this operation will trigger relevant event hooks in other flows or custom extensions. If toggled off, the operation will not trigger other event hooks. Imagine a situation where you have a flow being triggered by "),e("code",null,"<collection>.items.create"),t(" which contains an operation that then tries to create another item in that "),e("code",null,"<collection>"),t(". This would throw an infinite loop where the operation triggers its own flow, endlessly. However, if you toggle "),e("strong",null,"Emit Events"),t(" off, then this operation no longer triggers other event hooks.")])],-1),ee={class:"tip hint"},te=e("h2",{id:"delete-data",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#delete-data"},"#"),t(" Delete Data")],-1),oe=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/delete-data-20220603A.webp",alt:"Delete Data"})],-1),ne=e("p",null,"This operation deletes item(s) from a collection.",-1),se=e("p",null,[e("strong",null,"Options")],-1),le=e("li",null,[e("strong",null,"Collection"),t(" \u2014 Select the collection you\u2019d like to delete items from.")],-1),ie=e("li",null,[e("strong",null,"Permissions"),t(" \u2014 Set the scope of permissions used for this operation.")],-1),ae=e("li",null,[e("strong",null,"Emit Events"),t(" \u2014 Toggle whether the event is emitted.")],-1),re=e("li",null,[e("strong",null,"IDs"),t(" \u2014 Set Item IDs and press enter to confirm. Click the ID to remove.")],-1),ue=e("strong",null,"Query",-1),de=e("p",null,[e("strong",null,"Payload")],-1),ce=e("p",null,[t("An array with the ID(s) of all items deleted will be appended under its "),e("code",null,"<operationKey>"),t(".")],-1),he=e("p",null,[e("strong",null,"More Details")],-1),pe=e("div",{class:"warning hint"},[e("p",null,[e("strong",null,"Emit Events"),t(" toggles the event\u2019s "),e("em",null,"visibility"),t(" throughout Directus. For example, if togged on, this operation will trigger relevant event hooks in other flows or custom extensions. If toggled off, the operation will not trigger other event hooks. Imagine a situation where you have a flow being triggered by "),e("code",null,"<collection>.items.delete"),t(" which contains an operation that then tries to delete another item in that "),e("code",null,"<collection>"),t(". This would throw an infinite loop where the operation triggers its own flow, endlessly. However, if you toggle "),e("strong",null,"Emit Events"),t(" off, then this operation no longer triggers other event hooks.")])],-1),ge=e("h2",{id:"read-data",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#read-data"},"#"),t(" Read Data")],-1),_e=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/read-data-20220603A.webp",alt:"Read Data"})],-1),fe=e("p",null,"This operation reads item(s) from a collection and adds them onto the data chain. You may select Items by their ID or by running a query.",-1),me=e("p",null,[e("strong",null,"Options")],-1),we=e("li",null,[e("strong",null,"Permissions"),t(" \u2014 Set the scope of permissions used for this operation.")],-1),ye=e("li",null,[e("strong",null,"Collections"),t(" \u2014 Select the collection you\u2019d like to read items from.")],-1),ve=e("li",null,[e("strong",null,"IDs"),t(" \u2014 Input the ID for items you wish to read and press enter. Click the ID to remove.")],-1),be=e("strong",null,"Query",-1),Te=e("li",null,[e("strong",null,"Emit Events"),t(" \u2014 Toggle whether the event is emitted.")],-1),ke=e("p",null,[e("strong",null,"Payload")],-1),De=e("p",null,[t("An array containing all items read will be appended under its "),e("code",null,"<operationKey>"),t(".")],-1),Ie=e("p",null,[e("strong",null,"More Details")],-1),Se=e("div",{class:"warning hint"},[e("p",null,[e("strong",null,"Emit Events"),t(" toggles the event\u2019s "),e("em",null,"visibility"),t(" throughout Directus. For example, if togged on, this operation will trigger relevant event hooks in other flows or custom extensions. If toggled off, the operation will not trigger other event hooks. Imagine a situation where you have a flow being triggered by "),e("code",null,"<collection>.items.read"),t(" which contains an operation that then tries to read another item in that "),e("code",null,"<collection>"),t(". This would throw an infinite loop where the operation triggers its own flow, endlessly. However, if you toggle "),e("strong",null,"Emit Events"),t(" off, then this operation no longer triggers other event hooks.")])],-1),je=e("h2",{id:"update-data",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#update-data"},"#"),t(" Update Data")],-1),Ae=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/update-data-20220603A.webp",alt:"Update Data"})],-1),Ee=e("p",null,"This operation updates item(s) in a collection. You may select item(s) to update by their ID or by running a query.",-1),xe=e("p",null,[e("strong",null,"Options")],-1),Oe=e("li",null,[e("strong",null,"Collection"),t(" \u2014 Select the collection on which you\u2019d like to update items in.")],-1),Pe=e("li",null,[e("strong",null,"Permissions"),t(" \u2014 Set the role that this operation will inherit permissions from.")],-1),Ce=e("li",null,[e("strong",null,"Emit Events"),t(" \u2014 Toggle whether the event is emitted.")],-1),Re=e("li",null,[e("strong",null,"IDs"),t(" \u2014 Input the ID for Item(s) you wish to read and press enter. Click the ID to remove.")],-1),qe=e("strong",null,"Payload",-1),Fe=e("strong",null,"Query",-1),Me=e("p",null,[e("strong",null,"Payload")],-1),Ue=e("p",null,[t("An array containing all items updated will be appended under its "),e("code",null,"<operationKey>"),t(".")],-1),Ke=e("p",null,[e("strong",null,"More Details")],-1),Ne=e("div",{class:"warning hint"},[e("p",null,[e("strong",null,"Emit Events"),t(" toggles the event\u2019s "),e("em",null,"visibility"),t(" throughout Directus. For example, if togged on, this operation will trigger relevant event hooks in other flows or custom extensions. If toggled off, the operation will not trigger other event hooks. Imagine a situation where you have a flow being triggered by "),e("code",null,"<collection>.items.update"),t(" which contains an operation that then tries to update another item in that "),e("code",null,"<collection>"),t(". This would throw an infinite loop where the operation triggers its own flow, endlessly updating items. However, if you toggle "),e("strong",null,"Emit Events"),t(" off, then this operation no longer triggers other event hooks.")])],-1),Be={class:"tip hint"},Le=e("code",null,"payload",-1),He=e("h2",{id:"log-to-console",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#log-to-console"},"#"),t(" Log to Console")],-1),Je=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/log-to-console-20220603A.webp",alt:"Log to Console"})],-1),We=e("p",null,[e("strong",null,"Options")],-1),Ye=e("strong",null,"Message",-1),Ve=e("p",null,[e("strong",null,"Payload")],-1),Qe=e("p",null,[t("This operation does not generate data for the data chain as its messages are for debugging and troubleshooting. It will append a "),e("code",null,"null"),t(" value on the "),e("code",null,"operationKey"),t(".")],-1),Ge=e("p",null,[e("strong",null,"More Details")],-1),ze=e("h2",{id:"send-email",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#send-email"},"#"),t(" Send Email")],-1),$e=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/send-email-20220603A.webp",alt:"Send Email"})],-1),Xe=e("p",null,"This operation sends off emails.",-1),Ze=e("p",null,[e("strong",null,"Options")],-1),et=e("ul",null,[e("li",null,[e("strong",null,"To"),t(" \u2014 Sets the email addresses. Hit "),e("code",null,"\u21B5"),t(),e("code",null,"Enter"),t(" (PC) or "),e("code",null,"return"),t(" (Mac) to save the email. Click on a pill to remove it.")]),e("li",null,[e("strong",null,"Subject"),t(" \u2014 Set the subject line.")]),e("li",null,[e("strong",null,"Body"),t(" \u2014 Use a Markdown or WYSIWYG editor to create the email body.")])],-1),tt=e("p",null,[e("strong",null,"Payload")],-1),ot=e("p",null,[t("This operation does not generate data for the data chain. It will append a "),e("code",null,"null"),t(" value on the "),e("code",null,"operationKey"),t(".")],-1),nt=e("p",null,[e("strong",null,"More Details")],-1),st=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Batch Emails"),e("p",null,[t("You can input an array of emails in the "),e("code",null,"To"),t(" input option to send off multiple emails.")])],-1),lt=e("div",{class:"tip hint"},[e("p",null,[t("If you are testing out this operation from "),e("code",null,"localhost:8080"),t(", be sure to check your spam box, because your email provider may send it there automatically.")])],-1),it=e("h2",{id:"send-notification",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#send-notification"},"#"),t(" Send Notification")],-1),at=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/send-notification-20220603A.webp",alt:"Send Notification"})],-1),rt=e("p",null,"This operation pushes notifications to Directus Users. If the operation executes successfully, a list containing the IDs of all sent notifications generated is appended under this operation\u2019s key.",-1),ut=e("p",null,[e("strong",null,"Options")],-1),dt=e("ul",null,[e("li",null,[e("strong",null,"Users"),t(" \u2014 Define a user by their UUID. Hit "),e("code",null,"\u21B5"),t(),e("code",null,"Enter"),t(" (PC) or "),e("code",null,"return"),t(" (Mac) to save it. Click on a pill to remove it.")]),e("li",null,[e("strong",null,"Permissions"),t(" \u2014 Define the role that this operation will inherit permissions from.")]),e("li",null,[e("strong",null,"Title"),t(" \u2014 Set the title of the notification.")]),e("li",null,[e("strong",null,"Message"),t(" \u2014 Set the main body of the notification.")])],-1),ct=e("p",null,[e("strong",null,"Payload")],-1),ht=e("p",null,[t("This operation does not generate data. It will append a "),e("code",null,"null"),t(" value on its "),e("code",null,"operationKey"),t(".")],-1),pt=e("p",null,[e("strong",null,"More Details")],-1),gt=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Batch Notifications"),e("p",null,[t("You can input an array of UUIDs in the "),e("code",null,"To"),t(" input option to send off multiple emails.")])],-1),_t=e("h2",{id:"webhook-%2F-request-url",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#webhook-%2F-request-url"},"#"),t(" Webhook / Request URL")],-1),ft=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/webhook-20220603A.webp",alt:"Webhook / Request URL"})],-1),mt=e("p",null,"This operation makes a request to another URL.",-1),wt=e("p",null,[e("strong",null,"Options")],-1),yt=e("ul",null,[e("li",null,[e("strong",null,"Method"),t(" \u2014 Choose to make a GET, POST, PATCH, DELETE, or other type of request.")]),e("li",null,[e("strong",null,"URL"),t(" \u2014 Define the URL to send the request to.")]),e("li",null,[e("strong",null,"Headers"),t(" \u2014 Create a new "),e("code",null,"header:value"),t(" to pass along with the request.")]),e("li",null,[e("strong",null,"Request Body"),t(" \u2014 Set the request body\u2019s data.")])],-1),vt=e("p",null,[e("strong",null,"Payload")],-1),bt=e("p",null,[t("When an operation completes successfully, the "),e("code",null,"response"),t(" is appended under its "),e("code",null,"<operationKey"),t(".")],-1),Tt=e("h2",{id:"sleep",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#sleep"},"#"),t(" Sleep")],-1),kt=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/sleep-20220603A.webp",alt:"Sleep"})],-1),Dt=e("p",null,"This operation creates a delay in the Flow for a given amount of milliseconds, then continues to the next operation.",-1),It=e("p",null,[e("strong",null,"Options")],-1),St=e("ul",null,[e("li",null,[e("strong",null,"Milliseconds"),t(" \u2014 Define the number of milliseconds to sleep.")])],-1),jt=e("p",null,[e("strong",null,"Payload")],-1),At=e("p",null,[t("This operation does not generate data. It will append a "),e("code",null,"null"),t(" value on its "),e("code",null,"operationKey"),t(".")],-1),Et=e("h2",{id:"transform-payload",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#transform-payload"},"#"),t(" Transform Payload")],-1),xt=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/transform-payload-20220603A.webp",alt:"Transform Payload"})],-1),Ot=e("p",null,"This operation lets you custom define your own JSON payload for use in subsequent operations. This enables you to take multiple sources of data and \u201Ctidy them up\u201D into a single payload.",-1),Pt=e("p",null,[e("strong",null,"Options")],-1),Ct=e("ul",null,[e("li",null,[e("strong",null,"JSON"),t(" \u2014 Define JSON to insert into the data chain.")])],-1),Rt=e("p",null,[e("strong",null,"Payload")],-1),qt=e("p",null,[t("When an operation completes successfully, the value you defined under the "),e("strong",null,"JSON"),t(" configuration operation is appended onto its "),e("code",null,"operationKey"),t(".")],-1),Ft=e("p",null,[e("strong",null,"More Details")],-1),Mt=e("p",null,[t("When does the Transform Payload operation come in handy? Let\u2019s say you need to create a payload with data from a "),e("code",null,"users_collection"),t(", "),e("code",null,"widgets_collection"),t(" and some 3rd party resource which processes the data. You can add a "),e("a",{href:"#read-data"},"Read Data"),t(" operation for "),e("code",null,"collection_a"),t(", another Read Data operation for "),e("code",null,"collection_b"),t(", and a "),e("a",{href:"#webhook--request-url"},"Webhook"),t(" operation for the third party resource.")],-1),Ut=e("p",null,"Then you could stitch together all this data to create a new JSON object, like so:",-1),Kt=e("pre",null,[e("code",null,`{
|
|
24
24
|
"note": "You can add a hard-coded value!",
|
|
25
25
|
"name": "{{users_collection.username}}",
|
|
26
26
|
"widget_id": "{{widgets_collection.id}}",
|
|
27
27
|
"results": "{{webhookKey.subnestedValue}}"
|
|
28
28
|
}
|
|
29
|
-
`)],-1),Nt=e("h2",{id:"trigger-flow",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#trigger-flow"},"#"),t(" Trigger Flow")],-1),Bt=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/trigger-flow-20220603A.webp",alt:"Trigger Flow"})],-1),Lt=e("em",null,"(optionally)",-1),Ht=e("p",null,[e("strong",null,"Options")],-1),Jt=e("ul",null,[e("li",null,[e("strong",null,"Flow"),t(" \u2014 Define a flow by its primary key UUID.")]),e("li",null,[e("strong",null,"Payload"),t(" \u2014 Defines a JSON "),e("code",null,"payload"),t(" to pass into "),e("code",null,"$trigger"),t(" on the flow it triggered.")])],-1),Wt=e("p",null,[e("strong",null,"Payload")],-1),Yt=e("p",null,[t("If you\u2019ve configured a "),e("strong",null,"Response Body"),t(" in the trigger of the other flow, this will be appended under this "),e("code",null,"operationKey"),t(". If no "),e("strong",null,"Response Body"),t(" is configured, "),e("code",null,"null"),t(" is appended under this "),e("code",null,"operationKey"),t(".")],-1),Vt=e("p",null,[e("strong",null,"More Details")],-1),Qt=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Flows for-loops"),e("p",null,"If you pass an array to the other flow, the other flow will run once for each item in the array.")],-1),Zt="Operations",eo=!1,to="Operations are the individual actions in a flow. They enable you to do things like manage data within Directus, transform the flow's data, send information off to outside services, set conditional logic, trigger other flows, and beyond!",oo="5 min read",no={__name:"operations",setup(Gt,{expose:a}){const l={title:"Operations",modularExtension:!1,description:"Operations are the individual actions in a flow. They enable you to do things like manage data within Directus, transform the flow's data, send information off to outside services, set conditional logic, trigger other flows, and beyond!",readTime:"5 min read"};return a({frontmatter:l}),(
|
|
29
|
+
`)],-1),Nt=e("h2",{id:"trigger-flow",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#trigger-flow"},"#"),t(" Trigger Flow")],-1),Bt=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/configuration/flows/operations/operations-20220603A/trigger-flow-20220603A.webp",alt:"Trigger Flow"})],-1),Lt=e("em",null,"(optionally)",-1),Ht=e("p",null,[e("strong",null,"Options")],-1),Jt=e("ul",null,[e("li",null,[e("strong",null,"Flow"),t(" \u2014 Define a flow by its primary key UUID.")]),e("li",null,[e("strong",null,"Payload"),t(" \u2014 Defines a JSON "),e("code",null,"payload"),t(" to pass into "),e("code",null,"$trigger"),t(" on the flow it triggered.")])],-1),Wt=e("p",null,[e("strong",null,"Payload")],-1),Yt=e("p",null,[t("If you\u2019ve configured a "),e("strong",null,"Response Body"),t(" in the trigger of the other flow, this will be appended under this "),e("code",null,"operationKey"),t(". If no "),e("strong",null,"Response Body"),t(" is configured, "),e("code",null,"null"),t(" is appended under this "),e("code",null,"operationKey"),t(".")],-1),Vt=e("p",null,[e("strong",null,"More Details")],-1),Qt=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Flows for-loops"),e("p",null,"If you pass an array to the other flow, the other flow will run once for each item in the array.")],-1),Zt="Operations",eo=!1,to="Operations are the individual actions in a flow. They enable you to do things like manage data within Directus, transform the flow's data, send information off to outside services, set conditional logic, trigger other flows, and beyond!",oo="5 min read",no={__name:"operations",setup(Gt,{expose:a}){const l={title:"Operations",modularExtension:!1,description:"Operations are the individual actions in a flow. They enable you to do things like manage data within Directus, transform the flow's data, send information off to outside services, set conditional logic, trigger other flows, and beyond!",readTime:"5 min read"};return a({frontmatter:l}),(zt,$t)=>{const n=i("router-link"),r=i("docs-wrapper");return u(),d(r,{frontmatter:l},{default:o(()=>[e("div",c,[h,e("div",p,[g,e("p",null,[t("On this page, we\u2019ll explain what each operation does, the value it appends to the data chain, how to make use of its configuration options, as well as any well as other relevant details. We will assume you have read the documentation on "),s(n,{to:"/docs/configuration/flows"},{default:o(()=>[t("Flows")]),_:1}),t(" and "),s(n,{to:"/docs/configuration/flows/triggers"},{default:o(()=>[t("Triggers")]),_:1}),t(".")])]),_,f,e("p",null,[t("A "),m,t(" operation lets you choose a "),w,t(" or "),y,t(" by validating data passed into it with "),s(n,{to:"/docs/reference/filter-rules"},{default:o(()=>[t("Filter Rules")]),_:1}),t(".")]),v,e("ul",null,[e("li",null,[b,t(" \u2014 Create conditions with "),s(n,{to:"/docs/reference/filter-rules"},{default:o(()=>[t("Filter Rules")]),_:1}),t(".")])]),T,k,D,e("div",I,[e("p",null,[t("When using an "),s(n,{to:"/docs/configuration/flows/triggers.md#event-hook"},{default:o(()=>[t("Event Hook")]),_:1}),t(" configured to be "),S,t(", if your flow ends with a condition that executes with a "),j,t(" path, it will cancel your database transaction.")])]),A,E,x,O,P,C,R,q,F,M,U,K,N,B,e("div",L,[H,e("p",null,[t("If you throw an error in a "),J,t(" operation, it will immediately break your flow chain and stop execution of subsequent flows. If you used a "),s(n,{to:"/docs/configuration/flows/triggers.md#event-hook"},{default:o(()=>[t("\u201CBlocking\u201D Event hook")]),_:1}),t(", throwing an error will cancel the original event transaction to the database.")])]),W,Y,V,Q,G,z,$,X,Z,e("div",ee,[e("p",null,[t("To learn about payload requirements when creating an item, see "),s(n,{to:"/docs/reference/items"},{default:o(()=>[t("API Reference > Items")]),_:1}),t(".")])]),te,oe,ne,se,e("ul",null,[le,ie,ae,re,e("li",null,[ue,t(" \u2014 Select items to delete with a query. To learn more, see "),s(n,{to:"/docs/reference/filter-rules"},{default:o(()=>[t("Filter Rules")]),_:1}),t(".")])]),de,ce,he,pe,ge,_e,fe,me,e("ul",null,[we,ye,ve,e("li",null,[be,t(" \u2014 Select the items with a query. To learn more, see "),s(n,{to:"/docs/reference/filter-rules"},{default:o(()=>[t("Filter Rules")]),_:1}),t(".")]),Te]),ke,De,Ie,Se,je,Ae,Ee,xe,e("ul",null,[Oe,Pe,Ce,Re,e("li",null,[qe,t(" \u2014 Update Items in a collection. To learn more, see "),s(n,{to:"/docs/reference/items"},{default:o(()=>[t("API > Items")]),_:1}),t(".")]),e("li",null,[Fe,t(" \u2014 Select items to update with a query. To learn more, see "),s(n,{to:"/docs/reference/filter-rules"},{default:o(()=>[t("Filter Rules")]),_:1}),t(".")])]),Me,Ue,Ke,Ne,e("div",Be,[e("p",null,[t("To learn about "),Le,t(" requirements when updating an item, see "),s(n,{to:"/docs/reference/items"},{default:o(()=>[t("API Reference > Items")]),_:1}),t(".")])]),He,Je,e("p",null,[t("This operation outputs information to the server-side console as well as the "),s(n,{to:"/docs/configuration/flows#logs"},{default:o(()=>[t("Logs")]),_:1}),t(" within the Data Studio. This is a key tool for troubleshooting flow configuration. A Log operation\u2019s key will have a null value on the data chain.")]),We,e("ul",null,[e("li",null,[Ye,t(" \u2014 Sets a "),s(n,{to:"/docs/configuration/flows#logs"},{default:o(()=>[t("log message")]),_:1}),t(".")])]),Ve,Qe,Ge,e("p",null,[t("For more details, see the section on "),s(n,{to:"/docs/configuration/flows#logs"},{default:o(()=>[t("Logs")]),_:1}),t(".")]),ze,$e,Xe,Ze,et,tt,ot,nt,st,lt,it,at,rt,ut,dt,ct,ht,pt,gt,_t,ft,mt,wt,yt,vt,bt,Tt,kt,Dt,It,St,jt,At,Et,xt,Ot,Pt,Ct,Rt,qt,Ft,Mt,Ut,Kt,Nt,Bt,e("p",null,[t("This operation starts another flow and "),Lt,t(" passes data into it. It should be used in combination with the "),s(n,{to:"/docs/configuration/flows/triggers#another-flow"},{default:o(()=>[t("Another Flow")]),_:1}),t(" trigger.")]),Ht,Jt,Wt,Yt,Vt,Qt])]),_:1})}}};export{no as default,to as description,eo as modularExtension,oo as readTime,Zt as title};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as l,o as c,
|
|
1
|
+
import{a as l,o as c,e as h,y as n,u as t,q as e,z as s}from"./runtime-core.esm-bundler.22ec0346.js";const p={class:"markdown-body"},d=t("h2",{id:"extension-entrypoints",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#extension-entrypoints"},"#"),e(" Extension Entrypoints")],-1),u=t("p",null,[e("Your operation has two entrypoints. The App entrypoint is the "),t("code",null,"app"),e(" file and the API entrypoint is the "),t("code",null,"api"),e(" file inside the "),t("code",null,"src/"),e(" folder of your extension package.")],-1),_=t("h3",{id:"app-entrypoint",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#app-entrypoint"},"#"),e(" App Entrypoint")],-1),f=t("p",null,"The App entrypoint exports a configuration object with options to configure the appearance of your operation. When loading your operation, this object is imported by the Directus App host.",-1),b=t("p",null,"Example of an entrypoint:",-1),g=t("pre",null,[t("code",{class:"language-js"},[t("span",{class:"hljs-keyword"},"export"),e(),t("span",{class:"hljs-keyword"},"default"),e(` {
|
|
2
2
|
`),t("span",{class:"hljs-attr"},"id"),e(": "),t("span",{class:"hljs-string"},"'custom'"),e(`,
|
|
3
3
|
`),t("span",{class:"hljs-attr"},"name"),e(": "),t("span",{class:"hljs-string"},"'Custom'"),e(`,
|
|
4
4
|
`),t("span",{class:"hljs-attr"},"icon"),e(": "),t("span",{class:"hljs-string"},"'box'"),e(`,
|
|
@@ -27,4 +27,4 @@ import{a as l,o as c,b as h,w as n,l as t,E as e,e as s}from"./runtime-core.esm-
|
|
|
27
27
|
`),t("span",{class:"hljs-variable language_"},"console"),e("."),t("span",{class:"hljs-title function_"},"log"),e(`(text);
|
|
28
28
|
},
|
|
29
29
|
};
|
|
30
|
-
`)])],-1),P=t("h4",{id:"available-options-1",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#available-options-1"},"#"),e(" Available Options")],-1),C=t("ul",null,[t("li",null,[t("code",null,"id"),e(" \u2014 The unique key for this operation. It is good practice to scope proprietary operations with an author prefix.")]),t("li",null,[t("code",null,"handler"),e(" \u2014 The operations\u2019s handler function.")])],-1),O=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Extension Id"),t("p",null,"The extension id needs to be identical for both entrypoints in order for Directus to recognize them as part of the same extension.")],-1),V=t("h2",{id:"handler-function",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#handler-function"},"#"),e(" Handler Function")],-1),
|
|
30
|
+
`)])],-1),P=t("h4",{id:"available-options-1",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#available-options-1"},"#"),e(" Available Options")],-1),C=t("ul",null,[t("li",null,[t("code",null,"id"),e(" \u2014 The unique key for this operation. It is good practice to scope proprietary operations with an author prefix.")]),t("li",null,[t("code",null,"handler"),e(" \u2014 The operations\u2019s handler function.")])],-1),O=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Extension Id"),t("p",null,"The extension id needs to be identical for both entrypoints in order for Directus to recognize them as part of the same extension.")],-1),V=t("h2",{id:"handler-function",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#handler-function"},"#"),e(" Handler Function")],-1),q=t("code",null,"resolve",-1),D=t("code",null,"reject",-1),B=t("p",null,[e("The handler function receives the two parameters "),t("code",null,"options"),e(" and "),t("code",null,"context"),e(". "),t("code",null,"options"),e(" is an object with the operation\u2019s options as properties and their respective already interpolated values. "),t("code",null,"context"),e(" is an object with the following properties:")],-1),N=t("ul",null,[t("li",null,[t("code",null,"services"),e(" \u2014 All API internal services.")]),t("li",null,[t("code",null,"exceptions"),e(" \u2014 API exception objects that can be used to throw \u201Cproper\u201D errors.")]),t("li",null,[t("code",null,"database"),e(" \u2014 Knex instance that is connected to the current database.")]),t("li",null,[t("code",null,"getSchema"),e(" \u2014 Async function that reads the full available schema for use in services")]),t("li",null,[t("code",null,"env"),e(" \u2014 Parsed environment variables.")]),t("li",null,[t("code",null,"logger"),e(" \u2014 "),t("a",{href:"https://github.com/pinojs/pino",target:"_blank",rel:"noopener noreferrer"},"Pino"),e(" instance.")]),t("li",null,[t("code",null,"data"),e(" \u2014 Object containing the raw data returned by the previous operations.")]),t("li",null,[t("code",null,"accountability"),e(" \u2014 Information about the current user received by the trigger.")])],-1),K="Custom Operations",L=!0,S={__name:"operations",setup(z,{expose:i}){const a={title:"Custom Operations",modularExtension:!0};return i({frontmatter:a}),(W,F)=>{const o=l("router-link"),r=l("docs-wrapper");return c(),h(r,{frontmatter:a},{default:n(()=>[t("div",p,[t("blockquote",null,[t("p",null,[e("Custom Operations allow you to create new types of steps for flows. "),s(o,{to:"/docs/getting-started/glossary#operations"},{default:n(()=>[e("Learn more about Operations")]),_:1}),e(".")])]),d,u,_,f,b,g,j,t("ul",null,[m,y,t("li",null,[x,e(" \u2014 An icon name from the "),s(o,{to:"/docs/getting-started/glossary#material-icons"},{default:n(()=>[e("material icon set")]),_:1}),e(", or the extended list of Directus custom icons.")]),w,v,A]),T,k,I,E,P,C,O,V,t("p",null,[e("The handler function defined inside the API endpoint will be called whenever the flow the operation is connected to is executed. To trigger the operation connected to the "),q,e(" anchor, the handler function has to return a value. To trigger the operation connected to the "),D,e(" anchor, the handler function has to throw with a value. This value will then be added to the "),s(o,{to:"/docs/configuration/flows#the-data-chain"},{default:n(()=>[e("data chain")]),_:1}),e(".")]),B,N])]),_:1})}}};export{S as default,L as modularExtension,K as title};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as v}from"./index.312f2c91.entry.js";var a={exports:{}},y;function f(){return y||(y=1,function(s,b){(function(e){e(v.exports)})(function(e){e.overlayMode=function(r,u,i){return{startState:function(){return{base:e.startState(r),overlay:e.startState(u),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(o){return{base:e.copyState(r,o.base),overlay:e.copyState(u,o.overlay),basePos:o.basePos,baseCur:null,overlayPos:o.overlayPos,overlayCur:null}},token:function(o,n){return(o!=n.streamSeen||Math.min(n.basePos,n.overlayPos)<o.start)&&(n.streamSeen=o,n.basePos=n.overlayPos=o.start),o.start==n.basePos&&(n.baseCur=r.token(o,n.base),n.basePos=o.pos),o.start==n.overlayPos&&(o.pos=o.start,n.overlayCur=u.token(o,n.overlay),n.overlayPos=o.pos),o.pos=Math.min(n.basePos,n.overlayPos),n.overlayCur==null?n.baseCur:n.baseCur!=null&&n.overlay.combineTokens||i&&n.overlay.combineTokens==null?n.baseCur+" "+n.overlayCur:n.overlayCur},indent:r.indent&&function(o,n,l){return r.indent(o.base,n,l)},electricChars:r.electricChars,innerMode:function(o){return{state:o.base,mode:r}},blankLine:function(o){var n,l;return r.blankLine&&(n=r.blankLine(o.base)),u.blankLine&&(l=u.blankLine(o.overlay)),l==null?n:i&&n!=null?n+" "+l:l}}}})}()),a.exports}export{f as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c,o as i,
|
|
1
|
+
import{a as c,o as i,e as d,y as o,u as t,q as e,z as s}from"./runtime-core.esm-bundler.22ec0346.js";const u={class:"markdown-body"},m=t("blockquote",null,[t("p",null,"Whether you\u2019re a hobbyist, startup or Fortune 500 enterprise, our flexible Cloud service lets you get up and running with Directus quickly. We do all the heavy lifting of managing your infrastructure and software updates - and you also benefit from fair and predictable usage-based pricing.")],-1),h=t("p",null,[t("img",{src:"https://cdn.directus.io/docs/v9/cloud/overview/overview-20220322A/hero-image-20220402A.webp",alt:"Hero Image"})],-1),p=t("a",{href:"https://directus.cloud",target:"_blank",rel:"noopener noreferrer"},"Directus Cloud",-1),g=t("h2",{id:"getting-started",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#getting-started"},"#"),e(" Getting Started")],-1),_=t("video",{alt:"Cloud Dashboard Overview",loop:"",muted:"",controls:"",autoplay:"",playsinline:""},[t("source",{src:"https://cdn.directus.io/docs/v9/cloud/overview/overview-20220322A/cloud-dashboard-overview-20220329A.mp4",type:"video/mp4"})],-1),f=t("h2",{id:"accounts",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#accounts"},"#"),e(" Accounts")],-1),y=t("h3",{id:"cloud-dashboard-header",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#cloud-dashboard-header"},"#"),e(" Cloud Dashboard Header")],-1),b=t("span",{mi:"",icon:""},"check",-1),v=t("li",null,[t("span",{mi:"",icon:""},"notifications"),e(" \u2014 Notifications such as version upgrades, platform upgrades, etc.")],-1),T=t("li",null,[t("span",{mi:"",icon:""},"help_outline"),e(" \u2014 Documentation, Community Support and Request for Premium Support.")],-1),w=t("span",{mi:"",icon:""},"expand_more",-1),j=t("span",{mi:"",icon:""},"account_circle",-1),x=t("h2",{id:"teams",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#teams"},"#"),e(" Teams")],-1),P=t("h2",{id:"projects",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#projects"},"#"),e(" Projects")],-1),M="Overview",S=!1,V="Whether you're a hobbyist, startup or Fortune 500 enterprise, our flexible Cloud service lets you get up and running with Directus quickly.",q="3 min read",O={__name:"overview",setup(A,{expose:r}){const n={title:"Overview",modularExtension:!1,description:"Whether you're a hobbyist, startup or Fortune 500 enterprise, our flexible Cloud service lets you get up and running with Directus quickly.",readTime:"3 min read"};return r({frontmatter:n}),(C,k)=>{const a=c("router-link"),l=c("docs-wrapper");return i(),d(l,{frontmatter:n},{default:o(()=>[t("div",u,[m,h,t("p",null,[p,e(" is a hosting platform for "),s(a,{to:"/docs/cloud/glossary#projects"},{default:o(()=>[e("Directus Projects")]),_:1}),e(" which handles data storage, hosting, updates and scalability so you can focus on building your digital apps and experiences. There are three "),s(a,{to:"/docs/cloud/glossary#projects"},{default:o(()=>[e("tiers of Cloud Projects")]),_:1}),e(": Community, Standard and Enterprise. All three tiers come with all the great features of Directus Core, as well as all "),s(a,{to:"/docs/cloud/glossary#cloud-exclusives"},{default:o(()=>[e("Cloud Exclusive")]),_:1}),e(" extensions.")]),t("p",null,[e("The Cloud Dashboard is constructed to manage three key components: "),s(a,{to:"/docs/cloud/glossary#accounts"},{default:o(()=>[e("Accounts")]),_:1}),e(", "),s(a,{to:"/docs/cloud/glossary#teams"},{default:o(()=>[e("Teams")]),_:1}),e(" and "),s(a,{to:"/docs/cloud/glossary#projects"},{default:o(()=>[e("Projects")]),_:1}),e(". First, create an Account. Once logged in, create or join a Team, and your Account will become a Member of that Team. Once that\u2019s complete, you can create Projects within a Team.")]),t("p",null,[e("Accounts can be Members on multiple Teams. All Team Members have SuperAdmin privileges to manage the Team\u2019s Projects, Project "),s(a,{to:"/docs/cloud/teams#manage-billing"},{default:o(()=>[e("billing")]),_:1}),e(", other Team Members and the Team itself. Teams can have multiple Team Members and multiple Projects. Projects can only be managed by one Team and cannot be transferred to new Teams.")]),g,t("p",null,[e("To make life easy, you have the option to "),s(a,{to:"/docs/cloud/accounts#create-account-and-login"},{default:o(()=>[e("create and login to your free Cloud Account")]),_:1}),e(" automatically with GitHub. If you don\u2019t have a GitHub account or prefer not to use this login method, email-and-password login is available, as well. Once logged in, create a new Team or select an existing Team. Then you can access and manage the Team\u2019s associated Projects, billing details, Team Members, Activity and Settings.")]),_,t("p",null,[e("Remember: The Dashboard layout itself is designed to manage "),s(a,{to:"/docs/cloud/glossary#accounts"},{default:o(()=>[e("Accounts")]),_:1}),e(", "),s(a,{to:"/docs/cloud/glossary#teams"},{default:o(()=>[e("Teams")]),_:1}),e(" and "),s(a,{to:"/docs/cloud/glossary#projects"},{default:o(()=>[e("Projects")]),_:1}),e(". Here\u2019s how the Dashboard layout relates to each of these components:")]),f,y,t("ul",null,[t("li",null,[b,e(" \u2014 View Directus Cloud "),s(a,{to:"/docs/cloud/glossary#system-status"},{default:o(()=>[e("system status")]),_:1}),e(".")]),v,T,t("li",null,[w,e(" \u2014 "),s(a,{to:"/docs/cloud/teams#create-a-team"},{default:o(()=>[e("Create new Teams")]),_:1}),e(" and navigate between Teams you are on.")]),t("li",null,[j,e(" \u2014 "),s(a,{to:"/docs/cloud/accounts"},{default:o(()=>[e("Access, edit or destroy Account")]),_:1}),e(".")])]),x,t("ul",null,[t("li",null,[s(a,{to:"/docs/cloud/teams"},{default:o(()=>[e("Team Members")]),_:1}),e(" \u2014 View, invite and remove other Team Members or leave a Team.")]),t("li",null,[s(a,{to:"/docs/cloud/teams#view-team-activity"},{default:o(()=>[e("Team Activity")]),_:1}),e(" \u2014 View Team activity such as Project creation and deletion, billing information changes, Member invitations and removals, etc.")]),t("li",null,[s(a,{to:"/docs/cloud/teams#update-team-settings"},{default:o(()=>[e("Team Settings")]),_:1}),e(" \u2014 Edit the Team Name and Team Slug, as well as "),s(a,{to:"/docs/cloud/teams#destroy-a-team"},{default:o(()=>[e("destroy a Team")]),_:1}),e(".")])]),P,t("ul",null,[t("li",null,[s(a,{to:"/docs/cloud/projects"},{default:o(()=>[e("Team Projects")]),_:1}),e(" \u2014 View and access all Projects managed within a Team. Click a Project to enter the Product Details Page and access, monitor, edit or delete a Project.")]),t("li",null,[s(a,{to:"/docs/cloud/teams#manage-billing"},{default:o(()=>[e("Team Billing")]),_:1}),e(" \u2014 View and manage billing details such as credit card information, usage, subscriptions and receipts.")])])])]),_:1})}}};export{O as default,V as description,S as modularExtension,q as readTime,M as title};
|