@directus/app 9.7.1 → 9.8.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.6a88b0f4.entry.js +1 -0
- package/dist/assets/{active-line.6375d8ad.js → active-line.abea5a9c.js} +1 -1
- package/dist/assets/{activity-log.de8d5bc0.js → activity-log.4e41ba72.js} +1 -1
- package/dist/assets/{activity.3a289d00.js → activity.be984fb6.js} +2 -2
- package/dist/assets/{apl.1708cb28.js → apl.a00caba3.js} +1 -1
- package/dist/assets/ar-SA.48a35bb7.js +1 -0
- package/dist/assets/{asciiarmor.e2285682.js → asciiarmor.0aa51f1f.js} +1 -1
- package/dist/assets/{asn.1.fe12a5dc.js → asn.1.9704888b.js} +1 -1
- package/dist/assets/{asterisk.44d442de.js → asterisk.600840fc.js} +1 -1
- package/dist/assets/{authentication.fa5f5fbf.js → authentication.a92d9423.js} +5 -5
- package/dist/assets/{autorefresh.f0e90988.js → autorefresh.1e21c42b.js} +1 -1
- package/dist/assets/{aws.2ea60aef.js → aws.e45226e2.js} +1 -1
- package/dist/assets/{backing-directus.d243249f.js → backing-directus.49225ce6.js} +1 -1
- package/dist/assets/bg-BG.b5eb28ac.js +2 -0
- package/dist/assets/br-FR.986ec639.js +1 -0
- package/dist/assets/{brainfuck.ad35519f.js → brainfuck.1e4b4eb1.js} +1 -1
- package/dist/assets/ca-ES.56d2029e.js +1 -0
- package/dist/assets/{cli.762d4191.js → cli.05ed41b2.js} +5 -5
- package/dist/assets/{cli.363cb692.js → cli.e26acb28.js} +3 -3
- package/dist/assets/{clike.5b5b5e72.js → clike.dc304041.js} +1 -1
- package/dist/assets/{clojure.252cb52a.js → clojure.f8e8933d.js} +1 -1
- package/dist/assets/{cloudron.fb83901b.js → cloudron.7a7c23f9.js} +1 -1
- package/dist/assets/{cmake.ec70f2a6.js → cmake.65af898d.js} +1 -1
- package/dist/assets/{cobol.4ab4edec.js → cobol.ad22984c.js} +1 -1
- package/dist/assets/{codebase-overview.58ee046d.js → codebase-overview.87d26c65.js} +1 -1
- package/dist/assets/{coffeescript.e9fb6ceb.js → coffeescript.afc1aad8.js} +1 -1
- package/dist/assets/{collections.bc720d33.js → collections.44c6300b.js} +4 -4
- package/dist/assets/{commonlisp.fb62c5ad.js → commonlisp.76fd7a26.js} +1 -1
- package/dist/assets/{config-options.1dc0d5ed.js → config-options.7f7ccdfb.js} +12 -12
- package/dist/assets/{content-collections.84a369f0.js → content-collections.c9c672d0.js} +1 -1
- package/dist/assets/{content-items.284eff30.js → content-items.4b31c7b8.js} +1 -1
- package/dist/assets/{content.8f45d29b.js → content.a121c4e2.js} +1 -1
- package/dist/assets/{creating-extensions.f95a89af.js → creating-extensions.84f93517.js} +4 -4
- package/dist/assets/{crystal.c3fd0f99.js → crystal.aa9896b4.js} +1 -1
- package/dist/assets/cs-CZ.21eb314a.js +1 -0
- package/dist/assets/{css.bce2e857.js → css.7bfded2c.js} +1 -1
- package/dist/assets/{cypher.240e0449.js → cypher.83f1f068.js} +1 -1
- package/dist/assets/{d.3b7d124d.js → d.ec3a4bfa.js} +1 -1
- package/dist/assets/da-DK.e857b021.js +1 -0
- package/dist/assets/{dart.87d21eb3.js → dart.3ebe28fd.js} +1 -1
- package/dist/assets/{data-model.c1aabf84.js → data-model.eed0cfd7.js} +1 -1
- package/dist/assets/de-DE.ec2886ab.js +1 -0
- package/dist/assets/{diff.0485c08c.js → diff.6609b473.js} +1 -1
- package/dist/assets/{digitalocean-app-platform.2a64aa2b.js → digitalocean-app-platform.657cbe04.js} +2 -2
- package/dist/assets/{displays.b69d4a64.js → displays.363da4e2.js} +4 -4
- package/dist/assets/{django.c5439874.js → django.87c18b51.js} +1 -1
- package/dist/assets/{docker.10363ed7.js → docker.4f8ae677.js} +1 -1
- package/dist/assets/{dockerfile.09928133.js → dockerfile.f24a5abb.js} +1 -1
- package/dist/assets/{documentation.03c2bbdf.js → documentation.8a170431.js} +1 -1
- package/dist/assets/{dtd.2cbc993e.js → dtd.fdaf06e1.js} +1 -1
- package/dist/assets/{dylan.1c4709a8.js → dylan.efa621ed.js} +1 -1
- package/dist/assets/{ebnf.4eace14d.js → ebnf.758e105f.js} +1 -1
- package/dist/assets/{ecl.86ab1d92.js → ecl.ee402f8b.js} +1 -1
- package/dist/assets/{eiffel.d65fb100.js → eiffel.6fdb661b.js} +1 -1
- package/dist/assets/el-GR.b15e80c2.js +1 -0
- package/dist/assets/{elm.ba340dcd.js → elm.19d667b0.js} +1 -1
- package/dist/assets/{email-templates.5d338a5d.js → email-templates.4e6edece.js} +2 -2
- package/dist/assets/en-CA.e43c4502.js +1 -0
- package/dist/assets/en-GB.0ad6cc93.js +1 -0
- package/dist/assets/{endpoints.dc405b01.js → endpoints.9f52f90e.js} +2 -2
- package/dist/assets/{erlang.6d8de3ae.js → erlang.9de2b6a5.js} +1 -1
- package/dist/assets/es-419.e287f065.js +1 -0
- package/dist/assets/es-CL.0d49105b.js +1 -0
- package/dist/assets/es-ES.e38e7128.js +1 -0
- package/dist/assets/et-EE.98069bd5.js +3 -0
- package/dist/assets/{extensions.46c0c4d5.js → extensions.ef388d4c.js} +2 -2
- package/dist/assets/fa-IR.1fe08a4a.js +1 -0
- package/dist/assets/{factor.3a8a4e9e.js → factor.48b8a3ef.js} +1 -1
- package/dist/assets/{faq.f30d939a.js → faq.af3fc9a5.js} +1 -1
- package/dist/assets/{fcl.40019ca5.js → fcl.02ca64a1.js} +1 -1
- package/dist/assets/fi-FI.afa1b4dc.js +1 -0
- package/dist/assets/{fields.a57e7d83.js → fields.2664e4a3.js} +3 -3
- package/dist/assets/{file-library.bc27695e.js → file-library.fb43136a.js} +1 -1
- package/dist/assets/{files.7a74d1e5.js → files.743ea6fa.js} +9 -9
- package/dist/assets/{filter-rules.883e19c8.js → filter-rules.3c7bc379.js} +1 -1
- package/dist/assets/{filters.f6249cf7.js → filters.906d441f.js} +1 -1
- package/dist/assets/fo-FO.ffe478b0.js +1 -0
- package/dist/assets/{folders.de1fb384.js → folders.f4482879.js} +4 -4
- package/dist/assets/{forth.9eeae1ad.js → forth.e689b3eb.js} +1 -1
- package/dist/assets/{fortran.2f0c1e58.js → fortran.6a5fc001.js} +1 -1
- package/dist/assets/fr-CA.819e1769.js +1 -0
- package/dist/assets/fr-FR.e66806fc.js +1 -0
- package/dist/assets/{gas.c7c58752.js → gas.2daa1304.js} +1 -1
- package/dist/assets/{gcp.840b8fd1.js → gcp.7df0ea83.js} +3 -3
- package/dist/assets/{gfm.89f8b0da.js → gfm.f3e8b40f.js} +1 -1
- package/dist/assets/{gherkin.0a58b297.js → gherkin.b43a3252.js} +1 -1
- package/dist/assets/{github-ci.6ee6ced1.js → github-ci.5fbe15aa.js} +2 -2
- package/dist/assets/{glossary.351c390e.js → glossary.22a75054.js} +1 -1
- package/dist/assets/{go.cffa3b2e.js → go.63f87011.js} +1 -1
- package/dist/assets/{groovy.3cb854bc.js → groovy.16ddd911.js} +1 -1
- package/dist/assets/{haml.11c77bc4.js → haml.9443aeec.js} +1 -1
- package/dist/assets/{handlebars.9ae7286e.js → handlebars.23e8be7a.js} +1 -1
- package/dist/assets/{haskell-literate.65e44262.js → haskell-literate.758ca559.js} +1 -1
- package/dist/assets/{haskell.e1faad6e.js → haskell.9e54d423.js} +1 -1
- package/dist/assets/{haxe.bb82fb6d.js → haxe.24bb4baa.js} +1 -1
- package/dist/assets/hi-IN.37411d7d.js +1 -0
- package/dist/assets/{hooks.481ce879.js → hooks.b1e615f8.js} +1 -1
- package/dist/assets/hr-HR.ab611e2d.js +1 -0
- package/dist/assets/{htmlembedded.72e58237.js → htmlembedded.bfe7ab41.js} +1 -1
- package/dist/assets/{htmlmixed.73a6225e.js → htmlmixed.bb060c99.js} +1 -1
- package/dist/assets/{http.b18b22e3.js → http.0a0f008a.js} +1 -1
- package/dist/assets/hu-HU.72c70fe7.js +1 -0
- package/dist/assets/id-ID.ca6d20b9.js +1 -0
- package/dist/assets/{idl.6596cd41.js → idl.e488de81.js} +1 -1
- package/dist/assets/{iis.4ebc99ef.js → iis.eef9978f.js} +2 -2
- package/dist/assets/{index.1242a7ae.js → index.00230ef2.js} +1 -1
- package/dist/assets/{index.33336da1.js → index.0f87b330.js} +1 -1
- package/dist/assets/{index.290accca.js → index.11b1d4d6.js} +1 -1
- package/dist/assets/{index.cc86593a.js → index.1509d4cc.js} +1 -1
- package/dist/assets/{index.a842af3c.js → index.1556730f.js} +1 -1
- package/dist/assets/{index.66e1b7f7.js → index.17322a75.js} +1 -1
- package/dist/assets/{index.7c617be3.js → index.19bafff6.js} +1 -1
- package/dist/assets/{index.243d5e7b.js → index.1f6df8f3.js} +1 -1
- package/dist/assets/{index.5e4442c6.js → index.209dfd3c.js} +1 -1
- package/dist/assets/{index.a7239a95.js → index.225ca76b.js} +1 -1
- package/dist/assets/{index.5aa4c214.js → index.27b9d143.js} +1 -1
- package/dist/assets/{index.1980416e.js → index.2990b353.js} +1 -1
- package/dist/assets/{index.72267c6b.js → index.2aa210ef.js} +1 -1
- package/dist/assets/{index.80ed1eef.js → index.2b9b12e5.js} +1 -1
- package/dist/assets/{index.a11c3487.js → index.2d5f1100.js} +1 -1
- package/dist/assets/{index.674e631d.js → index.2fa715a7.js} +1 -1
- package/dist/assets/{index.7c0a7bfe.js → index.3606730a.js} +1 -1
- package/dist/assets/{index.204221af.js → index.3891403e.js} +1 -1
- package/dist/assets/{index.7110f06c.js → index.38dcd045.js} +1 -1
- package/dist/assets/{index.c0dc6448.js → index.3ccb6082.js} +1 -1
- package/dist/assets/{index.a0a7b403.js → index.3ea7b619.js} +1 -1
- package/dist/assets/{index.ed8bef08.js → index.3ee8527a.js} +1 -1
- package/dist/assets/{index.b63d3efb.js → index.43735b46.js} +1 -1
- package/dist/assets/{index.451644b7.js → index.4a071c64.js} +1 -1
- package/dist/assets/{index.598d0a93.js → index.4affbacb.js} +1 -1
- package/dist/assets/{index.81a41182.js → index.4e0ab8dd.js} +1 -1
- package/dist/assets/{index.0e7739e5.js → index.517b48c5.js} +1 -1
- package/dist/assets/{index.26dab856.js → index.56246fd1.js} +1 -1
- package/dist/assets/{index.ed3eb336.js → index.5aaa9002.js} +1 -1
- package/dist/assets/{index.1da570e0.js → index.5aaef0f5.js} +1 -1
- package/dist/assets/index.5bac3394.entry.js +542 -0
- package/dist/assets/{index.e25325da.js → index.5efef841.js} +1 -1
- package/dist/assets/{index.56390c1c.js → index.5f45ee1c.js} +1 -1
- package/dist/assets/{index.c48ea2dd.js → index.6a46a652.js} +1 -1
- package/dist/assets/{index.530e8e3d.js → index.6b1d2be1.js} +1 -1
- package/dist/assets/{index.781c12a9.js → index.6f370662.js} +1 -1
- package/dist/assets/{index.0fe387ed.js → index.70c2751c.js} +1 -1
- package/dist/assets/{index.a685b380.js → index.7829f5d8.js} +1 -1
- package/dist/assets/{index.4f95210a.js → index.7898e2da.js} +1 -1
- package/dist/assets/{index.15d25a9a.js → index.79882312.js} +1 -1
- package/dist/assets/{index.97725763.js → index.7a1461df.js} +1 -1
- package/dist/assets/{index.966c8297.js → index.7f70333f.js} +1 -1
- package/dist/assets/{index.b9d60646.js → index.87c635a5.js} +1 -1
- package/dist/assets/{index.35e56ebe.js → index.8a723a92.js} +1 -1
- package/dist/assets/{index.858628e0.js → index.8a7af2f4.js} +1 -1
- package/dist/assets/{index.8c95f791.js → index.8d80b40a.js} +1 -1
- package/dist/assets/{index.1044f1b9.js → index.97467629.js} +1 -1
- package/dist/assets/{index.d8e33291.js → index.98b80c09.js} +1 -1
- package/dist/assets/{index.3d9abe2a.js → index.a06f1268.js} +1 -1
- package/dist/assets/{index.38cc4e96.js → index.a65d3053.js} +1 -1
- package/dist/assets/{index.3a3927a1.js → index.a851960c.js} +1 -1
- package/dist/assets/{index.edbb286b.js → index.aa4177f9.js} +1 -1
- package/dist/assets/{index.22fbda34.js → index.af2cbd13.js} +1 -1
- package/dist/assets/{index.c50bcd37.js → index.b3de25f7.js} +1 -1
- package/dist/assets/{index.4f1c9e2c.js → index.bd60d2ff.js} +1 -1
- package/dist/assets/{index.9718529e.js → index.be449ac3.js} +1 -1
- package/dist/assets/{index.d04651a5.js → index.bea32c39.js} +1 -1
- package/dist/assets/{index.5d9e83b8.js → index.bee94ac8.js} +1 -1
- package/dist/assets/{index.bfd9be8b.js → index.c46cec0b.js} +1 -1
- package/dist/assets/{index.9033efd4.js → index.c660c1b8.js} +1 -1
- package/dist/assets/{index.33dd62e3.js → index.c988211f.js} +1 -1
- package/dist/assets/{index.7ac0116c.js → index.cfaefc8a.js} +1 -1
- package/dist/assets/{index.c32660ce.js → index.d4bf7d76.js} +1 -1
- package/dist/assets/{index.2b95062f.js → index.d9f46f43.js} +1 -1
- package/dist/assets/{index.bebee43c.js → index.dc9a0145.js} +1 -1
- package/dist/assets/index.df92cd9e.js +26 -0
- package/dist/assets/{index.96811e72.js → index.e03b0ae8.js} +1 -1
- package/dist/assets/index.e0506f3a.css +1 -0
- package/dist/assets/{index.286b115e.js → index.e2ee7cbb.js} +1 -1
- package/dist/assets/{index.e5aa4fb4.js → index.e3a77573.js} +1 -1
- package/dist/assets/{index.13c42333.js → index.e3df6478.js} +1 -1
- package/dist/assets/{index.d196ee40.js → index.e641f513.js} +1 -1
- package/dist/assets/{index.5306b116.js → index.e7037868.js} +1 -1
- package/dist/assets/{index.e568b9e3.js → index.ea05e41c.js} +1 -1
- package/dist/assets/{index.4b3944b1.js → index.eab8de80.js} +1 -1
- package/dist/assets/{index.8ce7a16f.js → index.eae13b09.js} +1 -1
- package/dist/assets/{index.eb479801.js → index.ecd86516.js} +1 -1
- package/dist/assets/{index.0286776b.js → index.ee8728a8.js} +1 -1
- package/dist/assets/{index.a2ad3c46.js → index.f5754cc1.js} +1 -1
- package/dist/assets/{index.20df85c5.js → index.f5ea85c0.js} +1 -1
- package/dist/assets/{index.f6b60290.js → index.f80c179a.js} +1 -1
- package/dist/assets/{index.1f9b2432.js → index.faf1336c.js} +1 -1
- package/dist/assets/{index.1d9d2719.js → index.fc6dba99.js} +1 -1
- package/dist/assets/{input-rich-text-html.c9156531.js → input-rich-text-html.edcdd41e.js} +29 -29
- package/dist/assets/{insights.bb71b59c.js → insights.dd2f1319.js} +1 -1
- package/dist/assets/{installation.69c6e8b3.js → installation.03c76b82.js} +1 -1
- package/dist/assets/{interfaces.1651e5d5.js → interfaces.8a75b0b1.js} +3 -3
- package/dist/assets/{introduction.fff52202.js → introduction.069a697e.js} +2 -2
- package/dist/assets/{introduction.f7647fc1.js → introduction.1442bb90.js} +3 -3
- package/dist/assets/{introduction.a63d87df.js → introduction.296a12be.js} +1 -1
- package/dist/assets/introduction.4f6984ac.js +1 -0
- package/dist/assets/it-IT.66c00a2e.js +1 -0
- package/dist/assets/{items.76a09b87.js → items.16c6da62.js} +9 -9
- package/dist/assets/ja-JP.fd245edd.js +1 -0
- package/dist/assets/{javascript-hint.36fc2c99.js → javascript-hint.069603da.js} +1 -1
- package/dist/assets/{javascript.03e76510.js → javascript.e77a31d7.js} +1 -1
- package/dist/assets/{jinja2.fd7fe523.js → jinja2.62d35d26.js} +1 -1
- package/dist/assets/{jsx.dd4c1cd5.js → jsx.7c3e211a.js} +1 -1
- package/dist/assets/{julia.4255f0a0.js → julia.82615a40.js} +1 -1
- package/dist/assets/ko-KR.30f60079.js +1 -0
- package/dist/assets/ku-TR.9eee23ff.js +1 -0
- package/dist/assets/{layouts.30c8a1e1.js → layouts.5d28cc0e.js} +4 -4
- package/dist/assets/{livescript.23fa45b9.js → livescript.bf7c6356.js} +1 -1
- package/dist/assets/{localization.341816ac.js → localization.348f1994.js} +1 -1
- package/dist/assets/lt-LT.6a535ee7.js +1 -0
- package/dist/assets/{lua.c66dd609.js → lua.df9f8de8.js} +1 -1
- package/dist/assets/{manual.dc5b3116.js → manual.85e4cab3.js} +4 -4
- package/dist/assets/{mark-selection.8d87324c.js → mark-selection.a5c78240.js} +1 -1
- package/dist/assets/{match-highlighter.4899e3b1.js → match-highlighter.b8b7c0fa.js} +1 -1
- package/dist/assets/{mathematica.ddf4b03a.js → mathematica.35866057.js} +1 -1
- package/dist/assets/{mbox.7efd7aae.js → mbox.b588a798.js} +1 -1
- package/dist/assets/{migrations.5769e3a6.js → migrations.78085c15.js} +1 -1
- package/dist/assets/{mirc.5519309e.js → mirc.11811abc.js} +1 -1
- package/dist/assets/{mllike.4fba1c9f.js → mllike.f80953fc.js} +1 -1
- package/dist/assets/mn-MN.ae109212.js +1 -0
- package/dist/assets/{modelica.d5785180.js → modelica.31203d9d.js} +1 -1
- package/dist/assets/{modules.79942055.js → modules.5950dac1.js} +3 -3
- package/dist/assets/ms-MY.c32899bd.js +1 -0
- package/dist/assets/{mscgen.d1084fac.js → mscgen.14d048a5.js} +1 -1
- package/dist/assets/{multiplex.997f0efa.js → multiplex.2a683323.js} +2 -2
- package/dist/assets/{mumps.45d27bdc.js → mumps.14b46927.js} +1 -1
- package/dist/assets/{nginx.f2329a2e.js → nginx.147916f5.js} +1 -1
- package/dist/assets/nl-NL.5b0204f4.js +1 -0
- package/dist/assets/no-NO.60cb3308.js +1 -0
- package/dist/assets/{notifications.684fcdb3.js → notifications.6c634105.js} +4 -4
- package/dist/assets/{nsis.7671fe5a.js → nsis.10cfff1e.js} +1 -1
- package/dist/assets/{ntriples.1ef293c5.js → ntriples.9eadeec1.js} +1 -1
- package/dist/assets/{octave.1e6f25b7.js → octave.bcd50d60.js} +1 -1
- package/dist/assets/{overlay.d53bab44.js → overlay.ae430c07.js} +1 -1
- package/dist/assets/{overview.aaebfd46.js → overview.2770b6cc.js} +1 -1
- package/dist/assets/{overview.27b05ee2.js → overview.efc5d559.js} +1 -1
- package/dist/assets/{oz.80d1ccf6.js → oz.2f895b39.js} +1 -1
- package/dist/assets/{panels.5df101f1.js → panels.a1feb89d.js} +4 -4
- package/dist/assets/{pascal.cf8a9c43.js → pascal.fcf5fb90.js} +1 -1
- package/dist/assets/{pegjs.564a1721.js → pegjs.bfe8c0d8.js} +1 -1
- package/dist/assets/{perl.90f6ad1e.js → perl.34e1ebd8.js} +1 -1
- package/dist/assets/{permissions.3fecdff8.js → permissions.ee57d2c5.js} +8 -8
- package/dist/assets/{php.fa8c9bb5.js → php.123c0022.js} +1 -1
- package/dist/assets/{pig.4b3e46fe.js → pig.c87dc3c5.js} +1 -1
- package/dist/assets/pinia.d0ad97a9.entry.js +1 -0
- package/dist/assets/pl-PL.e4805847.js +1 -0
- package/dist/assets/{plesk.98782a18.js → plesk.0f675304.js} +5 -5
- package/dist/assets/{powershell.5bdeb681.js → powershell.acd58c14.js} +1 -1
- package/dist/assets/{presets-bookmarks.e8a7bd44.js → presets-bookmarks.4c61f585.js} +1 -1
- package/dist/assets/{presets.517e5211.js → presets.c5652da2.js} +4 -4
- package/dist/assets/{project-settings.36e7f38f.js → project-settings.223c2b56.js} +1 -1
- package/dist/assets/{properties.b9725bf0.js → properties.bb44ad2a.js} +1 -1
- package/dist/assets/{protobuf.e8913b71.js → protobuf.56cee688.js} +1 -1
- package/dist/assets/pt-BR.e60f90d6.js +1 -0
- package/dist/assets/pt-PT.f0cdce40.js +1 -0
- package/dist/assets/{pug.e47e51d9.js → pug.bd4388b6.js} +1 -1
- package/dist/assets/{puppet.02d0c537.js → puppet.595e3b11.js} +1 -1
- package/dist/assets/{python.5a331182.js → python.96cc4158.js} +1 -1
- package/dist/assets/{q.7abd2e98.js → q.c1c89979.js} +1 -1
- package/dist/assets/{query.dd50494a.js → query.a5bea9e6.js} +5 -5
- package/dist/assets/{quickstart.2a30696e.js → quickstart.67ba41ce.js} +5 -5
- package/dist/assets/{r.559aca48.js → r.e8bd6183.js} +1 -1
- package/dist/assets/{relations.f34c0891.js → relations.a25697a0.js} +7 -7
- package/dist/assets/{relationships.4db828d3.js → relationships.33af294b.js} +4 -4
- package/dist/assets/{revisions.2eacaa0e.js → revisions.d1ad624a.js} +3 -3
- package/dist/assets/ro-RO.dbffee50.js +1 -0
- package/dist/assets/{roles.c8bc1e38.js → roles.2047801b.js} +7 -7
- package/dist/assets/{rpm.cf2624a1.js → rpm.9e17cfc6.js} +1 -1
- package/dist/assets/{rst.74a6e7f4.js → rst.e6212933.js} +1 -1
- package/dist/assets/{ru-RU.c800aa80.js → ru-RU.dce9c3b8.js} +1 -1
- package/dist/assets/{ruby.57e7ca16.js → ruby.7ff2b064.js} +1 -1
- package/dist/assets/{running-locally.3f08151c.js → running-locally.9ae4cbf8.js} +9 -9
- package/dist/assets/{rust.603cb7a9.js → rust.cef3d7aa.js} +1 -1
- package/dist/assets/{sas.02fe3105.js → sas.e7f0f539.js} +1 -1
- package/dist/assets/{sass.58d3cfe8.js → sass.08441508.js} +1 -1
- package/dist/assets/{scheme.23303e45.js → scheme.a74ee417.js} +1 -1
- package/dist/assets/{sdk.7feea4dd.js → sdk.ae03b443.js} +7 -7
- package/dist/assets/{security.2b004c67.js → security.868b43f5.js} +1 -1
- package/dist/assets/{server.64c51953.js → server.21e00a5b.js} +4 -4
- package/dist/assets/{settings.16945599.js → settings.15d0a9a7.js} +1 -1
- package/dist/assets/{settings.1f41229b.js → settings.18800337.js} +4 -4
- package/dist/assets/{shell.861e6b20.js → shell.47528095.js} +1 -1
- package/dist/assets/{show-hint.33e4b0da.js → show-hint.12dadc00.js} +1 -1
- package/dist/assets/sieve.424cbf77.js +1 -0
- package/dist/assets/{simple.1a88b993.js → simple.ef386c48.js} +1 -1
- package/dist/assets/sl-SI.5337e803.js +2 -0
- package/dist/assets/{slim.35fbe920.js → slim.014147b3.js} +1 -1
- package/dist/assets/{smalltalk.6cdc0be6.js → smalltalk.5d6d79d2.js} +1 -1
- package/dist/assets/{smarty.a83da96d.js → smarty.955de5dc.js} +1 -1
- package/dist/assets/{solr.38cb5333.js → solr.adf53b34.js} +1 -1
- package/dist/assets/{soy.d1dad77c.js → soy.14f8a682.js} +1 -1
- package/dist/assets/{sparql.8e0b9834.js → sparql.6a030390.js} +1 -1
- package/dist/assets/{spreadsheet.a9f547e6.js → spreadsheet.67ce0358.js} +1 -1
- package/dist/assets/{sql.0eddf5fb.js → sql.7bb80f22.js} +1 -1
- package/dist/assets/sr-CS.c4a5b89f.js +1 -0
- package/dist/assets/{sso.a0d3be3d.js → sso.ccca8958.js} +2 -2
- package/dist/assets/{stex.84414277.js → stex.f35da327.js} +1 -1
- package/dist/assets/{stylus.3ed8b40a.js → stylus.930fb7b6.js} +1 -1
- package/dist/assets/{support.c48dbfbf.js → support.d9e0bf60.js} +1 -1
- package/dist/assets/sv-SE.d698f222.js +1 -0
- package/dist/assets/{swift.9e36a6bc.js → swift.7f6fa792.js} +1 -1
- package/dist/assets/{tcl.1387f30d.js → tcl.468e3c20.js} +1 -1
- package/dist/assets/{textile.6b4f4a09.js → textile.5b724807.js} +1 -1
- package/dist/assets/th-TH.9bb0dc35.js +2 -0
- package/dist/assets/{themes.1726a995.js → themes.401eff12.js} +2 -2
- package/dist/assets/{tiddlywiki.9fd95c86.js → tiddlywiki.1a5a1bd6.js} +1 -1
- package/dist/assets/{tiki.1c3be72c.js → tiki.e5d1cc9c.js} +1 -1
- package/dist/assets/{toml.d8ce69ac.js → toml.309d9a71.js} +1 -1
- package/dist/assets/{tornado.4122acd7.js → tornado.33d6785e.js} +1 -1
- package/dist/assets/tr-TR.a3b3e8ea.js +1 -0
- package/dist/assets/{translations.50d38679.js → translations.141198a3.js} +1 -1
- package/dist/assets/{troff.923cc50a.js → troff.39a13d53.js} +1 -1
- package/dist/assets/{ttcn-cfg.c46d638e.js → ttcn-cfg.2227c343.js} +1 -1
- package/dist/assets/{ttcn.bc12e52c.js → ttcn.ff83f5df.js} +1 -1
- package/dist/assets/{turtle.907013ed.js → turtle.ef55cec6.js} +1 -1
- package/dist/assets/{twig.2616faf3.js → twig.367a43fb.js} +1 -1
- package/dist/assets/{ubuntu.47e4ed9d.js → ubuntu.013c7190.js} +2 -2
- package/dist/assets/uk-UA.17503b1f.js +1 -0
- package/dist/assets/{upgrades-migrations.f46e3e27.js → upgrades-migrations.21a07531.js} +1 -1
- package/dist/assets/{use-sync.33f9b39d.js → use-sync.7a0e9d8b.js} +1 -1
- package/dist/assets/{user-directory.dd6f9e40.js → user-directory.bdb10b6f.js} +1 -1
- package/dist/assets/{users-roles-permissions.cb571c73.js → users-roles-permissions.ae35914f.js} +1 -1
- package/dist/assets/{users.dabef07a.js → users.36943e09.js} +5 -5
- package/dist/assets/{utilities.46a0f632.js → utilities.8533f769.js} +1 -1
- package/dist/assets/{vb.245fd092.js → vb.af7fe20b.js} +1 -1
- package/dist/assets/{vbscript.b8912ba1.js → vbscript.2bd7f088.js} +1 -1
- package/dist/assets/{velocity.239a0928.js → velocity.223e9248.js} +1 -1
- package/dist/assets/{vendor.a27160c3.js → vendor.ef99adf3.js} +97 -97
- package/dist/assets/{verilog.27cb4562.js → verilog.4b62dd2f.js} +1 -1
- package/dist/assets/{vhdl.d0516a44.js → vhdl.58f6f384.js} +1 -1
- package/dist/assets/vi-VN.2e3953bd.js +1 -0
- package/dist/assets/vue-i18n.abcb633a.entry.js +1 -0
- package/dist/assets/vue-router.6a93788b.entry.js +1 -0
- package/dist/assets/{vue.5c82b9b9.js → vue.a51d1c54.js} +1 -1
- package/dist/assets/vue.c850cd15.entry.js +1 -0
- package/dist/assets/{wast.f00b2de6.js → wast.29e0da5e.js} +1 -1
- package/dist/assets/{webhooks.e456ff27.js → webhooks.4518eef3.js} +1 -1
- package/dist/assets/{webhooks.ca623606.js → webhooks.60a87075.js} +4 -4
- package/dist/assets/{webidl.02e956cd.js → webidl.34270659.js} +1 -1
- package/dist/assets/{xquery.4d6fc924.js → xquery.9af0937b.js} +1 -1
- package/dist/assets/{yacas.3411c4ff.js → yacas.4b55f53d.js} +1 -1
- package/dist/assets/{yaml-frontmatter.180c6ff5.js → yaml-frontmatter.6b3a826f.js} +1 -1
- package/dist/assets/{yaml.694821cc.js → yaml.26316285.js} +1 -1
- package/dist/assets/{z80.e52b0a7b.js → z80.06c57bfb.js} +1 -1
- package/dist/assets/zh-CN.ea7e03db.js +1 -0
- package/dist/assets/zh-TW.84c79b23.js +1 -0
- package/dist/index.html +4 -4
- package/package.json +8 -8
- package/dist/assets/@directus_extensions-sdk.cdb2e8d9.entry.js +0 -1
- package/dist/assets/ar-SA.0a552a0b.js +0 -1
- package/dist/assets/bg-BG.bc55bc91.js +0 -2
- package/dist/assets/br-FR.5cd59909.js +0 -1
- package/dist/assets/ca-ES.65d1acd8.js +0 -1
- package/dist/assets/cs-CZ.b18be214.js +0 -1
- package/dist/assets/da-DK.64f2463b.js +0 -1
- package/dist/assets/de-DE.15c2e3e1.js +0 -1
- package/dist/assets/el-GR.e46c7385.js +0 -1
- package/dist/assets/en-CA.aa96bcad.js +0 -1
- package/dist/assets/en-GB.5c2f476e.js +0 -1
- package/dist/assets/es-419.6e38424a.js +0 -1
- package/dist/assets/es-CL.5ceef757.js +0 -1
- package/dist/assets/es-ES.9856a734.js +0 -1
- package/dist/assets/et-EE.17e0caa0.js +0 -3
- package/dist/assets/fa-IR.f419c15f.js +0 -1
- package/dist/assets/fi-FI.7602b87c.js +0 -1
- package/dist/assets/fo-FO.9d2669e3.js +0 -1
- package/dist/assets/fr-CA.f9ad557e.js +0 -1
- package/dist/assets/fr-FR.e00afdf2.js +0 -1
- package/dist/assets/hi-IN.8c11e9ab.js +0 -1
- package/dist/assets/hr-HR.20250a9e.js +0 -1
- package/dist/assets/hu-HU.cff882cf.js +0 -1
- package/dist/assets/id-ID.b2378473.js +0 -1
- package/dist/assets/index.262f690c.entry.js +0 -542
- package/dist/assets/index.d6716446.css +0 -1
- package/dist/assets/index.e61d2e51.js +0 -26
- package/dist/assets/introduction.590e4eba.js +0 -1
- package/dist/assets/it-IT.41ec56b2.js +0 -1
- package/dist/assets/ja-JP.9041d966.js +0 -1
- package/dist/assets/ko-KR.b5ed9ca7.js +0 -1
- package/dist/assets/ku-TR.d790a5bf.js +0 -1
- package/dist/assets/lt-LT.471e35c1.js +0 -1
- package/dist/assets/mn-MN.3b64cd12.js +0 -1
- package/dist/assets/ms-MY.3afe9a48.js +0 -1
- package/dist/assets/nl-NL.9517ed64.js +0 -1
- package/dist/assets/no-NO.6684a30b.js +0 -1
- package/dist/assets/pinia.1b52d3f3.entry.js +0 -1
- package/dist/assets/pl-PL.802b9560.js +0 -1
- package/dist/assets/pt-BR.b7887762.js +0 -1
- package/dist/assets/pt-PT.9d22af9f.js +0 -1
- package/dist/assets/ro-RO.13404884.js +0 -1
- package/dist/assets/sieve.9f4137de.js +0 -1
- package/dist/assets/sl-SI.4d31a782.js +0 -2
- package/dist/assets/sr-CS.2c599d6f.js +0 -1
- package/dist/assets/sv-SE.379bf27b.js +0 -1
- package/dist/assets/th-TH.5c6acfee.js +0 -2
- package/dist/assets/tr-TR.7cec66df.js +0 -1
- package/dist/assets/uk-UA.fde73b19.js +0 -1
- package/dist/assets/vi-VN.3c48e9bb.js +0 -1
- package/dist/assets/vue-i18n.569004d7.entry.js +0 -1
- package/dist/assets/vue-router.a70f1b0a.entry.js +0 -1
- package/dist/assets/vue.a5867151.entry.js +0 -1
- package/dist/assets/zh-CN.8e195137.js +0 -1
- package/dist/assets/zh-TW.68a59250.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{w as o,y as c,z as h,A as l,E as e,C as a,W as s}from"./vendor.ef99adf3.js";const d={class:"markdown-body"},u=e("div",{class:"two-up"},[e("div",{class:"left"},[e("blockquote",null,[e("p",null,[s("Every file managed by the platform is uploaded to the configured storage adapter, and its associated metadata is tracked within the "),e("code",null,"directus_files"),s(" system collection. Any requested file transformations are handled on the fly, and are only saved to storage.")])])]),e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#accessing-an-file"},"Accessing an File")]),e("li",null,[e("a",{href:"#downloading-a-file"},"Downloading a File")]),e("li",null,[e("a",{href:"#requesting-a-thumbnail"},"Requesting a Thumbnail")]),e("li",null,[e("a",{href:"#the-file-object"},"The File Object")]),e("li",null,[e("a",{href:"#list-files"},"List Files")]),e("li",null,[e("a",{href:"#retrieve-a-file"},"Retrieve a File")]),e("li",null,[e("a",{href:"#upload-a-file"},"Upload a File")]),e("li",null,[e("a",{href:"#import-a-file"},"Import a File")]),e("li",null,[e("a",{href:"#update-a-file"},"Update a File")]),e("li",null,[e("a",{href:"#update-multiple-files"},"Update Multiple Files")]),e("li",null,[e("a",{href:"#delete-a-file"},"Delete a File")]),e("li",null,[e("a",{href:"#delete-multiple-files"},"Delete Multiple Files")])])])])])],-1),p=e("hr",null,null,-1),f=e("h2",{id:"accessing-an-file"},[s("Accessing an File "),e("a",{class:"header-anchor",href:"#accessing-an-file"},"#")],-1),_=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"The location of your actual file originals is based on the project\u2019s configuration, but you can consistently access them via the API using the following URL."),e("pre",null,[e("code",null,`example.com/assets/<file-id>
|
|
2
2
|
example.com/assets/1ac73658-8b62-4dea-b6da-529fbc9d01a4
|
|
3
3
|
`)]),e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Direct File Access"),e("p",null,[s("While you may "),e("em",null,"technically"),s(" be able to expose your storage adapters root filesystem and access your raw files through there, it is recommended that you always use the Directus API. This is the only way that you can take advantage of file permissions and other built-in features.")])])]),e("div",{class:"right"},[e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/reference/files/original-20220216A.jpg",alt:"Original File"}),s(),e("em",null,"Original File Used \u2014 602KB and 1800x1200")])])],-1),m=e("hr",null,null,-1),g=e("h2",{id:"downloading-a-file"},[s("Downloading a File "),e("a",{class:"header-anchor",href:"#downloading-a-file"},"#")],-1),y=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[s("To download an asset with the correct filename, you need to add the "),e("code",null,"?download"),s(" query parameter to the request and the "),e("code",null,"download"),s(" attribute to your anchor tag. This will ensure the appropriate "),e("a",{href:"https://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html",target:"_blank",rel:"noopener noreferrer"},"Content-Disposition"),s(" headers are added. Without this, the download will work on the "),e("em",null,"same"),s(" domain, however it will have the file\u2019s \u201Cid\u201D as the filename for cross-origin requests.")])]),e("div",{class:"right"},[e("h3",{id:"example"},[s("Example "),e("a",{class:"header-anchor",href:"#example"},"#")]),e("pre",null,[e("code",{class:"language-html"},[e("span",{class:"hljs-tag"},[s("<"),e("span",{class:"hljs-name"},"a"),s(),e("span",{class:"hljs-attr"},"href"),s("="),e("span",{class:"hljs-string"},'"https://your-directus.com/assets/<file-id>?download"'),s(),e("span",{class:"hljs-attr"},"target"),s("="),e("span",{class:"hljs-string"},'"_blank"'),s(),e("span",{class:"hljs-attr"},"download"),s("="),e("span",{class:"hljs-string"},'"Your File.pdf"'),s(">")]),s("Download"),e("span",{class:"hljs-tag"},[s("</"),e("span",{class:"hljs-name"},"a"),s(">")]),s(`
|
|
4
|
-
`)])])])],-1),b=e("hr",null,null,-1),j=e("h2",{id:"requesting-a-thumbnail"},[s("Requesting a Thumbnail "),e("a",{class:"header-anchor",href:"#requesting-a-thumbnail"},"#")],-1),v={class:"two-up"},q={class:"left"},w=e("p",null,[s("Fetching thumbnails is as easy as adding a "),e("code",null,"key"),s(" query parameter to the original file\u2019s URL. In the Admin App, you can configure different asset presets that control the output of any given image. If a requested thumbnail doesn\u2019t yet exist, it is dynamically generated and immediately returned.")],-1),x=e("h3",{id:"preset-transformations"},[s("Preset Transformations "),e("a",{class:"header-anchor",href:"#preset-transformations"},"#")],-1),T=e("strong",null,[e("code",null,"key")],-1),k=s(" \u2014 This "),R=e("strong",null,"key",-1),E=s(" of the "),A=s("Storage Asset Preset"),D=s(", a shortcut for the below parameters"),P=e("h3",{id:"custom-transformations"},[s("Custom Transformations "),e("a",{class:"header-anchor",href:"#custom-transformations"},"#")],-1),
|
|
4
|
+
`)])])])],-1),b=e("hr",null,null,-1),j=e("h2",{id:"requesting-a-thumbnail"},[s("Requesting a Thumbnail "),e("a",{class:"header-anchor",href:"#requesting-a-thumbnail"},"#")],-1),v={class:"two-up"},q={class:"left"},w=e("p",null,[s("Fetching thumbnails is as easy as adding a "),e("code",null,"key"),s(" query parameter to the original file\u2019s URL. In the Admin App, you can configure different asset presets that control the output of any given image. If a requested thumbnail doesn\u2019t yet exist, it is dynamically generated and immediately returned.")],-1),x=e("h3",{id:"preset-transformations"},[s("Preset Transformations "),e("a",{class:"header-anchor",href:"#preset-transformations"},"#")],-1),T=e("strong",null,[e("code",null,"key")],-1),k=s(" \u2014 This "),R=e("strong",null,"key",-1),E=s(" of the "),A=s("Storage Asset Preset"),D=s(", a shortcut for the below parameters"),P=e("h3",{id:"custom-transformations"},[s("Custom Transformations "),e("a",{class:"header-anchor",href:"#custom-transformations"},"#")],-1),F=e("p",null,"Alternatively, if you have \u201CStorage Asset Transform\u201D set to all, you can use the following parameters for more fine grained control:",-1),S=e("ul",null,[e("li",null,[e("strong",null,[e("code",null,"fit")]),s(" \u2014 The "),e("strong",null,"fit"),s(" of the thumbnail while always preserving the aspect ratio, can be any of the following options: "),e("ul",null,[e("li",null,[e("code",null,"cover"),s(" \u2014 Covers both width/height by cropping/clipping to fit")]),e("li",null,[e("code",null,"contain"),s(" \u2014 Contain within both width/height using \u201Cletterboxing\u201D as needed")]),e("li",null,[e("code",null,"inside"),s(" \u2014 Resize to be as large as possible, ensuring dimensions are less than or equal to the requested width and height")]),e("li",null,[e("code",null,"outside"),s(" \u2014 Resize to be as small as possible, ensuring dimensions are greater than or equal to the requested width and height")])])]),e("li",null,[e("strong",null,[e("code",null,"width")]),s(" \u2014 The "),e("strong",null,"width"),s(" of the thumbnail in pixels")]),e("li",null,[e("strong",null,[e("code",null,"height")]),s(" \u2014 The "),e("strong",null,"height"),s(" of the thumbnail in pixels")]),e("li",null,[e("strong",null,[e("code",null,"quality")]),s(" \u2014 The optional "),e("strong",null,"quality"),s(" of the thumbnail ("),e("code",null,"1"),s(" to "),e("code",null,"100"),s(")")]),e("li",null,[e("strong",null,[e("code",null,"withoutEnlargement")]),s(" \u2014 Disable image up-scaling")]),e("li",null,[e("strong",null,[e("code",null,"format")]),s(" \u2014 What file format to return the thumbnail in. One of "),e("code",null,"jpg"),s(", "),e("code",null,"png"),s(", "),e("code",null,"webp"),s(", "),e("code",null,"tiff")])],-1),C=e("h3",{id:"advanced-transformations"},[s("Advanced Transformations "),e("a",{class:"header-anchor",href:"#advanced-transformations"},"#")],-1),I=e("p",null,[s("For even more advanced control over the file generation, Directus exposes "),e("a",{href:"https://sharp.pixelplumbing.com/api-operation",target:"_blank",rel:"noopener noreferrer"},[s("the full "),e("code",null,"sharp"),s(" API")]),s(" through the "),e("code",null,"transforms"),s(" query parameter. This parameter accepts a two-dimensional array with the format "),e("code",null,"[Operation, ...arguments]"),s(".")],-1),O=e("h3",{id:"quality-vs-filesize"},[s("Quality vs Filesize "),e("a",{class:"header-anchor",href:"#quality-vs-filesize"},"#")],-1),Q=e("p",null,[s("The quality parameter can be any integer from "),e("code",null,"0-100"),s(". Qualities closer to "),e("code",null,"0"),s(" have lower filesizes, but also poor image quality due to compression artifacts. Values closer to "),e("code",null,"100"),s(" have larger filesizes, but better image quality. Below are four possible qualities (200x200 cover) to visually compare the balance between compression and filesize.")],-1),L=e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"25%"),e("th",null,"50%"),e("th",null,"75%"),e("th",null,"100%")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("img",{src:"https://cdn.directus.io/docs/v9/reference/files/200-200-cover-25-20220216A.jpg",alt:"25%"}),e("br"),e("em",null,"4KB")]),e("td",null,[e("img",{src:"https://cdn.directus.io/docs/v9/reference/files/200-200-cover-50-20220216A.jpg",alt:"50%"}),e("br"),e("em",null,"6KB")]),e("td",null,[e("img",{src:"https://cdn.directus.io/docs/v9/reference/files/200-200-cover-75-20220216A.jpg",alt:"75%"}),e("br"),e("em",null,"8KB")]),e("td",null,[e("img",{src:"https://cdn.directus.io/docs/v9/reference/files/200-200-cover-100-20220216A.jpg",alt:"100%"}),e("br"),e("em",null,"38KB")])])])],-1),X=e("div",{class:"right"},[e("h3",{id:"preset"},[s("Preset "),e("a",{class:"header-anchor",href:"#preset"},"#")]),e("pre",null,[e("code",null,`example.com/assets/<file-id>?key=<key>
|
|
5
5
|
`)]),e("h3",{id:"custom"},[s("Custom "),e("a",{class:"header-anchor",href:"#custom"},"#")]),e("pre",null,[e("code",null,`example.com/assets/<file-id>?fit=<fit>&width=<width>&height=<height>&quality=<quality>
|
|
6
6
|
example.com/assets/1ac73658-8b62-4dea-b6da-529fbc9d01a4?fit=cover&width=200&height=200&quality=80
|
|
7
7
|
`)]),e("h3",{id:"advanced"},[s("Advanced "),e("a",{class:"header-anchor",href:"#advanced"},"#")]),e("pre",null,[e("code",null,`?transforms=[
|
|
@@ -9,7 +9,7 @@ example.com/assets/1ac73658-8b62-4dea-b6da-529fbc9d01a4?fit=cover&width=200&heig
|
|
|
9
9
|
["tint", "rgb(255, 0, 0)"],
|
|
10
10
|
["expand", { "right": 200, "bottom": 150 }]
|
|
11
11
|
]
|
|
12
|
-
`)])],-1),B=e("hr",null,null,-1),U=e("h2",{id:"the-file-object"},[s("The File Object "),e("a",{class:"header-anchor",href:"#the-file-object"},"#")],-1),Y={class:"two-up"},M={class:"left"},z={class:"definitions"},G=e("p",null,[e("code",null,"id"),s(),e("strong",null,"uuid"),e("br"),s(" Primary key of the file")],-1),N=e("p",null,[e("code",null,"storage"),s(),e("strong",null,"string"),e("br"),s(" Storage adapter used for the file.")],-1),
|
|
12
|
+
`)])],-1),B=e("hr",null,null,-1),U=e("h2",{id:"the-file-object"},[s("The File Object "),e("a",{class:"header-anchor",href:"#the-file-object"},"#")],-1),Y={class:"two-up"},M={class:"left"},z={class:"definitions"},G=e("p",null,[e("code",null,"id"),s(),e("strong",null,"uuid"),e("br"),s(" Primary key of the file")],-1),N=e("p",null,[e("code",null,"storage"),s(),e("strong",null,"string"),e("br"),s(" Storage adapter used for the file.")],-1),W=e("p",null,[e("code",null,"filename_disk"),s(),e("strong",null,"string"),e("br"),s(" Name of the file as saved on the storage adapter.")],-1),Z=e("p",null,[e("code",null,"filename_download"),s(),e("strong",null,"string"),e("br"),s(" Preferred filename when file is downloaded.")],-1),H=e("p",null,[e("code",null,"title"),s(),e("strong",null,"string"),e("br"),s(" Title for the file.")],-1),K=e("p",null,[e("code",null,"type"),s(),e("strong",null,"string"),e("br"),s(" Mimetype of the file.")],-1),J=e("code",null,"folder",-1),V=s(),$=e("strong",null,"many-to-one",-1),ee=e("br",null,null,-1),se=s(" What (virtual) folder the file is in. Many-to-one to "),le=s("folders"),te=s("."),ae=e("code",null,"uploaded_by",-1),ne=s(),oe=e("strong",null,"many-to-one",-1),ie=e("br",null,null,-1),re=s(" Who uploaded the file. Many-to-one to "),ce=s("users"),he=s("."),de=e("p",null,[e("code",null,"uploaded_on"),s(),e("strong",null,"datetime"),e("br"),s(" When the file was uploaded.")],-1),ue=e("code",null,"modified_by",-1),pe=s(),fe=e("strong",null,"many-to-one",-1),_e=e("br",null,null,-1),me=s(" Who updated the file last. Many-to-one to "),ge=s("users"),ye=s("."),be=e("p",null,[e("code",null,"filesize"),s(),e("strong",null,"number"),e("br"),s(" Size of the file in bytes.")],-1),je=e("p",null,[e("code",null,"width"),s(),e("strong",null,"number"),e("br"),s(" If the file is a(n) image/video, it\u2019s the width in px.")],-1),ve=e("p",null,[e("code",null,"height"),s(),e("strong",null,"number"),e("br"),s(" If the file is a(n) image/video, it\u2019s the height in px.")],-1),qe=e("p",null,[e("code",null,"duration"),s(),e("strong",null,"number"),e("br"),s(" If the file contains audio/video, it\u2019s the duration in milliseconds.")],-1),we=e("p",null,[e("code",null,"description"),s(),e("strong",null,"string"),e("br"),s(" Description of the file.")],-1),xe=e("p",null,[e("code",null,"location"),s(),e("strong",null,"string"),e("br"),s(" Location of the file.")],-1),Te=e("p",null,[e("code",null,"tags"),s(),e("strong",null,"array"),e("br"),s(" Tags for the file.")],-1),ke=e("p",null,[e("code",null,"metadata"),s(),e("strong",null,"object"),e("br"),s(" Any additional metadata Directus was able to scrape from the file. For images, this includes EXIF, IPTC, and ICC information.")],-1),Re=e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[s(`{
|
|
13
13
|
`),e("span",{class:"hljs-attr"},'"id"'),s(": "),e("span",{class:"hljs-string"},'"4f4b14fa-a43a-46d0-b7ad-90af5919bebb"'),s(`,
|
|
14
14
|
`),e("span",{class:"hljs-attr"},'"storage"'),s(": "),e("span",{class:"hljs-string"},'"local"'),s(`,
|
|
15
15
|
`),e("span",{class:"hljs-attr"},'"filename_disk"'),s(": "),e("span",{class:"hljs-string"},'"4f4b14fa-a43a-46d0-b7ad-90af5919bebb.jpeg"'),s(`,
|
|
@@ -43,9 +43,9 @@ example.com/assets/1ac73658-8b62-4dea-b6da-529fbc9d01a4?fit=cover&width=200&heig
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`)])])],-1),Ee=e("hr",null,null,-1),Ae=e("h2",{id:"list-files"},[s("List Files "),e("a",{class:"header-anchor",href:"#list-files"},"#")],-1),De=e("p",null,"List all files that exist in Directus.",-1),Pe={class:"two-up"},
|
|
46
|
+
`)])])],-1),Ee=e("hr",null,null,-1),Ae=e("h2",{id:"list-files"},[s("List Files "),e("a",{class:"header-anchor",href:"#list-files"},"#")],-1),De=e("p",null,"List all files that exist in Directus.",-1),Pe={class:"two-up"},Fe={class:"left"},Se=e("h3",{id:"query-parameters"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),Ce=s("Supports all "),Ie=s("global query parameters"),Oe=s("."),Qe=e("h3",{id:"returns"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns"},"#")],-1),Le=s("An array of up to "),Xe=s("limit"),Be=s(),Ue=e("a",{href:"#the-file-object"},"file objects",-1),Ye=s(". If no items are available, data will be an empty array."),Me={class:"right"},ze=e("h3",{id:"rest-api"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api"},"#")],-1),Ge=e("pre",null,[e("code",null,`GET /files
|
|
47
47
|
SEARCH /files
|
|
48
|
-
`)],-1),Ne=s("Learn more about SEARCH ->"),
|
|
48
|
+
`)],-1),Ne=s("Learn more about SEARCH ->"),We=e("h3",{id:"graphql"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql"},"#")],-1),Ze=e("pre",null,[e("code",null,`POST /graphql/system
|
|
49
49
|
`)],-1),He=e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),s(` {
|
|
50
50
|
files: [directus_files]
|
|
51
51
|
}
|
|
@@ -107,7 +107,7 @@ Content-Type: image/jpeg
|
|
|
107
107
|
|
|
108
108
|
\xFF\xD8\xFF\xE0JFIFHH\xFF\xE2ICC_PROFILE\flcmsmntrRGB XYZ \x07\xDC)9acspAPPL\xF6\xD6\xD3-lcms
|
|
109
109
|
desc\xFC^cprt\\\vwtpthbkpt|rXYZ\x90gXYZ\xA4bXYZ\xB8rTRC\xCC@gTRC\xCC@bTRC\xCC@descc2textIXXYZ \xF6\xD6\xD3-XYZ 3\xA4XYZ o\xA28\xF5\x90XYZ b\x99\xB7\x85\xDAXYZ $\xA0\x84\xB6\xCFcurv\xCB\xC9c\x92\bk\v\xF6?Q4!\xF1)\x902;\x92FQw]\xEDkpz\x89\xB1\x9A|\xACi\xBF}\xD3\xC3\xE90\xFF\xFF\xFF\xDB\x84\b\b\x07\x07
|
|
110
|
-
`)])],-1),Es=e("hr",null,null,-1),As=e("h2",{id:"import-a-file"},[s("Import a File "),e("a",{class:"header-anchor",href:"#import-a-file"},"#")],-1),Ds=e("p",null,"Import a file from the web",-1),Ps={class:"two-up"},
|
|
110
|
+
`)])],-1),Es=e("hr",null,null,-1),As=e("h2",{id:"import-a-file"},[s("Import a File "),e("a",{class:"header-anchor",href:"#import-a-file"},"#")],-1),Ds=e("p",null,"Import a file from the web",-1),Ps={class:"two-up"},Fs={class:"left"},Ss=e("h3",{id:"query-parameters-4"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-4"},"#")],-1),Cs=s("Supports all "),Is=s("global query parameters"),Os=s("."),Qs=e("h3",{id:"request-body"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body"},"#")],-1),Ls=e("div",{class:"definitions"},[e("p",null,[e("code",null,"url"),s(),e("strong",null,"Required"),e("br"),s(" The URL to download the file from.")]),e("p",null,[e("code",null,"data"),e("br"),s(" Any of "),e("a",{href:"#the-file-object"},"the file object"),s("\u2019s properties.")])],-1),Xs=e("h3",{id:"returns-4"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-4"},"#")],-1),Bs=e("p",null,[s("Returns the "),e("a",{href:"#the-file-object"},"file object"),s(" for the imported file.")],-1),Us=e("div",{class:"right"},[e("h3",{id:"rest-api-3"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),e("pre",null,[e("code",null,`POST /files/import
|
|
111
111
|
`)]),e("h5",{id:"example-5"},[s("Example "),e("a",{class:"header-anchor",href:"#example-5"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /files/import"),s(`
|
|
112
112
|
|
|
113
113
|
{
|
|
@@ -125,7 +125,7 @@ desc\xFC^cprt\\\vwtpthbkpt|rXYZ\x90gXYZ\xA4bXYZ\xB8rTRC\xCC@gTRC\xC
|
|
|
125
125
|
id
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
`)])])],-1),Ys=e("hr",null,null,-1),Ms=e("h2",{id:"update-a-file"},[s("Update a File "),e("a",{class:"header-anchor",href:"#update-a-file"},"#")],-1),zs=e("p",null,"Update an existing file, and/or replace it\u2019s file contents.",-1),Gs={class:"two-up"},Ns={class:"left"},
|
|
128
|
+
`)])])],-1),Ys=e("hr",null,null,-1),Ms=e("h2",{id:"update-a-file"},[s("Update a File "),e("a",{class:"header-anchor",href:"#update-a-file"},"#")],-1),zs=e("p",null,"Update an existing file, and/or replace it\u2019s file contents.",-1),Gs={class:"two-up"},Ns={class:"left"},Ws=e("h3",{id:"query-parameters-5"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-5"},"#")],-1),Zs=s("Supports all "),Hs=s("global query parameters"),Ks=s("."),Js=e("h3",{id:"request-body-2"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-2"},"#")],-1),Vs=e("p",null,[s("You can either submit a JSON object consisting of a partial "),e("a",{href:"#the-file-object"},"file object"),s(" to update the file meta, or send a multipart/form-data request to replace the file contents on disk. See "),e("a",{href:"#upload-a-file"},"Upload a File"),s(" for more information on the structure of this "),e("code",null,"multipart/form-data"),s(" request.")],-1),$s=e("h3",{id:"returns-5"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-5"},"#")],-1),el=e("p",null,[s("Returns the "),e("a",{href:"#the-file-object"},"file object"),s(" for the updated file.")],-1),sl=e("div",{class:"right"},[e("h3",{id:"rest-api-4"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-4"},"#")]),e("pre",null,[e("code",null,`PATCH /files/:id
|
|
129
129
|
`)]),e("h5",{id:"example-7"},[s("Example "),e("a",{class:"header-anchor",href:"#example-7"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// PATCH /files/0fca80c4-d61c-4404-9fd7-6ba86b64154d"),s(`
|
|
130
130
|
|
|
131
131
|
{
|
|
@@ -171,7 +171,7 @@ desc\xFC^cprt\\\vwtpthbkpt|rXYZ\x90gXYZ\xA4bXYZ\xB8rTRC\xCC@gTRC\xC
|
|
|
171
171
|
id
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
`)])])],-1),Al=e("hr",null,null,-1),Dl=e("h2",{id:"delete-multiple-files"},[s("Delete Multiple Files "),e("a",{class:"header-anchor",href:"#delete-multiple-files"},"#")],-1),Pl=e("p",null,"Delete multiple files at once.",-1),
|
|
174
|
+
`)])])],-1),Al=e("hr",null,null,-1),Dl=e("h2",{id:"delete-multiple-files"},[s("Delete Multiple Files "),e("a",{class:"header-anchor",href:"#delete-multiple-files"},"#")],-1),Pl=e("p",null,"Delete multiple files at once.",-1),Fl=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Destructive"),e("p",null,"This will also delete the files from disk.")]),e("h3",{id:"request-body-4"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-4"},"#")]),e("p",null,"Array of file primary keys"),e("h3",{id:"returns-8"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-8"},"#")]),e("p",null,"Empty response.")]),e("div",{class:"right"},[e("h3",{id:"rest-api-7"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-7"},"#")]),e("pre",null,[e("code",null,`DELETE /files
|
|
175
175
|
`)]),e("h5",{id:"example-12"},[s("Example "),e("a",{class:"header-anchor",href:"#example-12"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// DELETE /files"),s(`
|
|
176
176
|
|
|
177
177
|
[`),e("span",{class:"hljs-string"},'"d17c10aa-0bad-4864-9296-84f522c753e5"'),s(", "),e("span",{class:"hljs-string"},'"b6123925-2fc0-4a30-9d86-863eafc0a6e7"'),s(`]
|
|
@@ -184,4 +184,4 @@ desc\xFC^cprt\\\vwtpthbkpt|rXYZ\x90gXYZ\xA4bXYZ\xB8rTRC\xCC@gTRC\xC
|
|
|
184
184
|
ids
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
`)])])])],-1),Ql={setup(
|
|
187
|
+
`)])])])],-1),Ql={setup(Sl,{expose:i}){const n={title:"Accessing Files",modularExtension:!1,pageClass:"page-reference"};return i({frontmatter:n}),(Cl,Il)=>{const t=o("router-link"),r=o("DocsWrapper");return c(),h(r,{frontmatter:n},{default:l(()=>[e("div",d,[u,p,f,_,m,g,y,b,j,e("div",v,[e("div",q,[w,x,e("ul",null,[e("li",null,[T,k,R,E,a(t,{to:"/docs/configuration/project-settings/#files-thumbnails"},{default:l(()=>[A]),_:1}),D])]),P,F,S,C,I,O,Q,L]),X]),B,U,e("div",Y,[e("div",M,[e("div",z,[G,N,W,Z,H,K,e("p",null,[J,V,$,ee,se,a(t,{to:"/docs/reference/system/folders/"},{default:l(()=>[le]),_:1}),te]),e("p",null,[ae,ne,oe,ie,re,a(t,{to:"/docs/reference/system/users/"},{default:l(()=>[ce]),_:1}),he]),de,e("p",null,[ue,pe,fe,_e,me,a(t,{to:"/docs/reference/system/users/"},{default:l(()=>[ge]),_:1}),ye]),be,je,ve,qe,we,xe,Te,ke])]),Re]),Ee,Ae,De,e("div",Pe,[e("div",Fe,[Se,e("p",null,[Ce,a(t,{to:"/docs/reference/query"},{default:l(()=>[Ie]),_:1}),Oe]),Qe,e("p",null,[Le,a(t,{to:"/docs/reference/query/#limit"},{default:l(()=>[Xe]),_:1}),Be,Ue,Ye])]),e("div",Me,[ze,Ge,e("p",null,[a(t,{to:"/docs/reference/introduction/#search-http-method"},{default:l(()=>[Ne]),_:1})]),We,Ze,He,Ke,Je])]),Ve,$e,es,e("div",ss,[e("div",ls,[ts,e("p",null,[as,a(t,{to:"/docs/reference/query"},{default:l(()=>[ns]),_:1}),os]),is,rs]),cs]),hs,ds,e("div",us,[e("div",ps,[fs,_s,ms,gs,ys,bs,js,vs,e("p",null,[qs,a(t,{to:"/docs/reference/query"},{default:l(()=>[ws]),_:1}),xs]),Ts,ks]),Rs]),Es,As,Ds,e("div",Ps,[e("div",Fs,[Ss,e("p",null,[Cs,a(t,{to:"/docs/reference/query"},{default:l(()=>[Is]),_:1}),Os]),Qs,Ls,Xs,Bs]),Us]),Ys,Ms,zs,e("div",Gs,[e("div",Ns,[Ws,e("p",null,[Zs,a(t,{to:"/docs/reference/query"},{default:l(()=>[Hs]),_:1}),Ks]),Js,Vs,$s,el]),sl]),ll,tl,al,e("div",nl,[e("div",ol,[il,e("p",null,[rl,a(t,{to:"/docs/reference/query"},{default:l(()=>[cl]),_:1}),hl]),dl,ul,pl,fl]),_l]),ml,gl,yl,e("div",bl,[e("div",jl,[vl,ql,e("p",null,[wl,a(t,{to:"/docs/reference/query"},{default:l(()=>[xl]),_:1}),Tl]),kl,Rl]),El]),Al,Dl,Pl,Fl])]),_:1})}}};export{Ql as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{w as s,y as r,z as u,A as o,E as l,W as t}from"./vendor.ef99adf3.js";const i=l("div",{class:"markdown-body"},[l("blockquote",null,[l("p",null,[t("Permissions, validation, and the API\u2019s "),l("code",null,"filter"),t(" parameter all rely on a specific JSON structure to define their rules. This page describes the syntax for creating flat, relational, or complex filter rules.")])]),l("p",null,[l("div",{class:"table-of-contents"},[l("ul",null,[l("li",null,[l("a",{href:"#syntax"},"Syntax")]),l("li",null,[l("a",{href:"#filter-operators"},"Filter Operators")]),l("li",null,[l("a",{href:"#relational"},"Relational")]),l("li",null,[l("a",{href:"#logical-operators"},"Logical Operators")]),l("li",null,[l("a",{href:"#dynamic-variables"},"Dynamic Variables")])])])]),l("h2",{id:"syntax"},[t("Syntax "),l("a",{class:"header-anchor",href:"#syntax"},"#")]),l("ul",null,[l("li",null,[l("strong",null,"Field"),t(" \u2014 Any valid root field, "),l("a",{href:"#relational"},"relational field"),t(", or "),l("a",{href:"#logical-operators"},"logical operator")]),l("li",null,[l("strong",null,"Operator"),t(" \u2014 Any valid "),l("a",{href:"#filter-operators"},"filter operator")]),l("li",null,[l("strong",null,"Value"),t(" \u2014 Any valid static value, or "),l("a",{href:"#dynamic-variables"},"dynamic variable")])]),l("pre",null,[l("code",null,`{
|
|
2
2
|
<field>: {
|
|
3
3
|
<operator>: <value>
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as n,q as d,t as c,w as o,z as e,v as i,S as t}from"./vendor.a27160c3.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"Filters allow you to conditionally select Items from a Collection. Use-cases include customizing Item search results, restricting Item access permissions for specific Users or Roles, building dashboard analytics with the Insights module, and more.")],-1),_=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/filters-20220303A.webp",alt:"Filters"})],-1),p=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#how-it-works"},"How it Works")]),e("li",null,[e("a",{href:"#and%2For-groups"},"AND/OR Groups")]),e("li",null,[e("a",{href:"#dynamic-variables"},"Dynamic Variables")]),e("li",null,[e("a",{href:"#filtering-by-related-collections"},"Filtering by Related Collections")]),e("li",null,[e("a",{href:"#unfilterable-fields"},"Unfilterable Fields")]),e("li",null,[e("a",{href:"#extensibility-options"},"Extensibility Options")]),e("li",null,[e("a",{href:"#more-help"},"More Help")])])])],-1),f={class:"warning hint"},m=e("div",{class:"hint-title"},"There Are Two Filters Documents",-1),g=t("This page is a non-technical guide to using Filters. For more technical info, see "),y=t("Filter-Rules"),b=t("."),w=e("h2",{id:"how-it-works"},[t("How it Works "),e("a",{class:"header-anchor",href:"#how-it-works"},"#")],-1),v={class:"tip hint"},F=e("div",{class:"hint-title"},"Assumed Knowledge",-1),A=t("Filters are intuitive to use, but get quite nuanced as complexity increases. In order to use Filters effectively, you will need to understand the Field "),k=t("(aka "),C=t("data model"),O=t(")"),R=t(" being filtered as well as any relevant "),x=t("Users, Roles and Permissions"),D=t("."),N=t("A basic filter is composed of 3 parts: A "),G=e("strong",null,"Field",-1),I=t(" from the Collection being Filtered, a logical "),V=t("Operator"),W=t(", and some specified "),E=e("strong",null,"Value",-1),H=t(" to filter for within each Item\u2019s Field."),T=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/how-filters-work-20220303A.mp4",type:"video/mp4"})],-1),S=e("ol",{start:"2"},[e("li",null,[t("Click "),e("span",{mi:"",icon:""},"filter_list"),t(" or "),e("strong",null,"\u201CAdd Filter\u201D"),t(".")]),e("li",null,"Select the Field to filter by."),e("li",null,"Select the Operator as desired."),e("li",null,"Define the Value to filter for.")],-1),U=e("p",null,[t("From here, you can set multiple Filters at once, filter by "),e("a",{href:"#filtering-by-related-collections"},"Fields in related Collections"),t(", set Values with "),e("a",{href:"#dynamic-variables"},"Dynamic Variables"),t(", as well as apply "),e("a",{href:"#and-or-groups"},"AND/OR Groups"),t(".")],-1),B={class:"tip hint"},j=e("div",{class:"hint-title"},"Operators",-1),$=t("The Field type will determine the kinds of Operators that can be used on it. In fact, some Fields cannot be filtered at all (read more in "),q=e("a",{href:"#unfilterable-fields"},"Unfilterable Fields",-1),P=t("). Once a Field is selected, the permitted operators will automatically display. An exhaustive list of Operators and what they do can be found in the more technical "),z=t("Filter Rules"),L=t(" document."),M=e("h2",{id:"and%2For-groups"},[t("AND/OR Groups "),e("a",{class:"header-anchor",href:"#and%2For-groups"},"#")],-1),Y=e("p",null,[e("code",null,"AND"),t(" Groups give the option to filter for Items that meet "),e("em",null,"all of several criteria"),t(". On the other hand, "),e("code",null,"OR"),t(" Groups filter for Items that meet "),e("em",null,"any one of several criteria"),t(".")],-1),K=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/and-or-groups-20220303A.webp",alt:"AND/OR Groups"})],-1),J=e("ol",null,[e("li",null,"Click \u201CAdd Filter\u201D."),e("li",null,"Click \u201CAnd/OR Group\u201D at the very top of the dropdown menu."),e("li",null,[t("Click the AND/OR text to toggle: "),e("ul",null,[e("li",null,[e("code",null,"AND"),t(" \u2013 Selects Items that meet every single criteria.")]),e("li",null,[e("code",null,"OR"),t(" \u2013 Selects Items that meet one of several criteria.")])])]),e("li",null,"Click \u201CAdd Filter\u201D again."),e("li",null,"Configure the Field, Operator, and Value as desired."),e("li",null,[t("Click and hold "),e("span",{mi:"",icon:""},"drag_indicator"),t(" to drag a Filter and nest it under an AND/OR Group.")])],-1),Q=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Why do we need AND Groups?"),e("p",null,[t("Filters actually default to "),e("code",null,"AND"),t(" Group behavior automatically. However, when Filters are nested inside of an OR Group, they of course switch to "),e("code",null,"OR"),t(" Group behavior. So an AND Group is necessary in cases where you want to meet multiple conditions inside of OR Groups.")])],-1),X=e("h2",{id:"dynamic-variables"},[t("Dynamic Variables "),e("a",{class:"header-anchor",href:"#dynamic-variables"},"#")],-1),Z=e("p",null,"The following video shows how to filter for Blog posts written within the past 60 days.",-1),ee=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/dynamic-variables-20220307A.mp4",type:"video/mp4"})],-1),te=t("The following Dynamic Variables are built into Directus to make Filtering easier: "),oe=e("code",null,"$CURRENT_USER",-1),le=t(", "),ie=e("code",null,"$CURRENT_ROLE",-1),se=t(", "),ne=e("code",null,"$NOW",-1),re=t(" and "),ae=e("code",null,"$NOW(<adjustment>)",-1),de=t(". For more information, please see the Dynamic Variables section in "),ce=t("Filter Rules"),ue=t("."),he=e("h2",{id:"filtering-by-related-collections"},[t("Filtering by Related Collections "),e("a",{class:"header-anchor",href:"#filtering-by-related-collections"},"#")],-1),_e=e("p",null,[t("You may need to run filters on one Collection "),e("em",null,"based on information in another related Collection"),t(". Here are a few examples of when that might happen:")],-1),pe=e("ul",null,[e("li",null,[t("Book authors that also wrote screenplays (filters "),e("code",null,"authors"),t(", uses "),e("code",null,"screenplays"),t(").")]),e("li",null,[t("Products with a 5 star customer review (filters "),e("code",null,"products"),t(", uses "),e("code",null,"reviews"),t(").")]),e("li",null,[t("Accounts with active user login within the last 12 months (filters "),e("code",null,"accounts"),t(", uses "),e("code",null,"logins"),t(").")])],-1),fe=e("p",null,[t("This can span across any number of relationally linked Collections. For example, you could filter for customers that bought rock songs, where the "),e("code",null,"customers"),t(" and "),e("code",null,"genres"),t(" Collections are linked by "),e("code",null,"customers"),t(" -> "),e("code",null,"invoices"),t(" -> "),e("code",null,"invoice-items"),t(" -> "),e("code",null,"tracks"),t(" -> "),e("code",null,"genres"),t(".")],-1),me=t("You will notice a "),ge=e("span",{mi:"",icon:""},"chevron_right",-1),ye=t(" icon beside relational Fields. When you click on any "),be=t("Alias"),we=t(" Field, all the Fields for that associated Collection pop down. If you select one of these Fields, you can run Filters on the current Collection by Field values in a related Collection."),ve=e("p",null,"Here are step-by-step instructions on how to filter by Fields in other Collections:",-1),Fe=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/filtering-by-related-collections-20220303A.mp4",type:"video/mp4"})],-1),Ae=e("ol",null,[e("li",null,"Click \u201CAdd Filter\u201D."),e("li",null,"Click the desired relational Field. This will pop down and display the related Collection Fields."),e("li",null,"Select a Field from this related Collection."),e("li",null,"Set the Operator and Value as desired.")],-1),ke=e("h2",{id:"unfilterable-fields"},[t("Unfilterable Fields "),e("a",{class:"header-anchor",href:"#unfilterable-fields"},"#")],-1),Ce=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/unfilterable-fields-20220303A.webp",alt:"Unfilterable Fields"})],-1),Oe=e("p",null,[t("Not all Fields can be filtered. As seen above in "),e("a",{href:"#filtering-by-related-collections"},"Filtering by Related Collections"),t(", Alias Fields cannot be filtered; they instead provide a dropdown menu to access Fields from a related Collection. Additionally, the \u201CPresentation\u201D and \u201CGroup\u201D Fields cannot be filtered at all and will not appear as an option in Filters.")],-1),Re=e("h2",{id:"extensibility-options"},[t("Extensibility Options "),e("a",{class:"header-anchor",href:"#extensibility-options"},"#")],-1),xe=e("p",null,"Directus Core is completely open-source, modular and extensible. Extensions allow you to expand or modify any part of Directus to fit your needs. Here are some great resources to get started down that track.",-1),De=t("Extensions > Introduction"),Ne=t("Extensions > Creating Extensions"),Ge=t("Contributing > Introduction"),Ie=t("Contributing > Codebase Overview"),Ve=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Accelerated Development"),e("p",null,[t("Working on an enterprise project and looking to outsource or financially sponsor the development of a Shares extension? Contact "),e("a",{href:"https://directus.io/contact/",target:"_blank",rel:"noopener noreferrer"},"our team")])],-1),We=e("h2",{id:"more-help"},[t("More Help "),e("a",{class:"header-anchor",href:"#more-help"},"#")],-1),Ee=e("p",null,[t("Looking for technical support for your non-enterprise project? Chat with thousands of engineers within our growing "),e("a",{href:"https://discord.com/invite/directus",target:"_blank",rel:"noopener noreferrer"},"Community on Discord")],-1),Be={setup(He,{expose:r}){const s={title:"Filters",modularExtension:!1};return r({frontmatter:s}),(Te,Se)=>{const l=n("router-link"),a=n("DocsWrapper");return d(),c(a,{frontmatter:s},{default:o(()=>[e("div",u,[h,_,p,e("div",f,[m,e("p",null,[g,i(l,{to:"/docs/configuration/filter-rules/"},{default:o(()=>[y]),_:1}),b])]),w,e("div",v,[F,e("p",null,[A,e("em",null,[k,i(l,{to:"/docs/configuration/data-model/"},{default:o(()=>[C]),_:1}),O]),R,i(l,{to:"/docs/configuration/users-roles-permissions.md"},{default:o(()=>[x]),_:1}),D])]),e("p",null,[N,G,I,i(l,{to:"/docs/configuration/filter-rules/#filter-operators"},{default:o(()=>[V]),_:1}),W,E,H]),T,S,U,e("div",B,[j,e("p",null,[$,q,P,i(l,{to:"/docs/configuration/filter-rules/#filter-operators"},{default:o(()=>[z]),_:1}),L])]),M,Y,K,J,Q,X,Z,ee,e("p",null,[te,oe,le,ie,se,ne,re,ae,de,i(l,{to:"/docs/configuration/filter-rules/"},{default:o(()=>[ce]),_:1}),ue]),he,_e,pe,fe,e("p",null,[me,ge,ye,i(l,{to:"/docs/getting-started/glossary/#alias"},{default:o(()=>[be]),_:1}),we]),ve,Fe,Ae,ke,Ce,Oe,Re,xe,e("ul",null,[e("li",null,[i(l,{to:"/docs/extensions/introduction/"},{default:o(()=>[De]),_:1})]),e("li",null,[i(l,{to:"/docs/extensions/creating-extensions/"},{default:o(()=>[Ne]),_:1})]),e("li",null,[i(l,{to:"/docs/contributing/introduction/"},{default:o(()=>[Ge]),_:1})]),e("li",null,[i(l,{to:"/docs/contributing/codebase-overview/"},{default:o(()=>[Ie]),_:1})])]),Ve,We,Ee])]),_:1})}}};export{Be as default};
|
|
1
|
+
import{w as n,y as d,z as c,A as o,E as e,C as i,W as t}from"./vendor.ef99adf3.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"Filters allow you to conditionally select Items from a Collection. Use-cases include customizing Item search results, restricting Item access permissions for specific Users or Roles, building dashboard analytics with the Insights module, and more.")],-1),_=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/filters-20220303A.webp",alt:"Filters"})],-1),p=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#how-it-works"},"How it Works")]),e("li",null,[e("a",{href:"#and%2For-groups"},"AND/OR Groups")]),e("li",null,[e("a",{href:"#dynamic-variables"},"Dynamic Variables")]),e("li",null,[e("a",{href:"#filtering-by-related-collections"},"Filtering by Related Collections")]),e("li",null,[e("a",{href:"#unfilterable-fields"},"Unfilterable Fields")]),e("li",null,[e("a",{href:"#extensibility-options"},"Extensibility Options")]),e("li",null,[e("a",{href:"#more-help"},"More Help")])])])],-1),f={class:"warning hint"},m=e("div",{class:"hint-title"},"There Are Two Filters Documents",-1),g=t("This page is a non-technical guide to using Filters. For more technical info, see "),y=t("Filter-Rules"),b=t("."),w=e("h2",{id:"how-it-works"},[t("How it Works "),e("a",{class:"header-anchor",href:"#how-it-works"},"#")],-1),v={class:"tip hint"},F=e("div",{class:"hint-title"},"Assumed Knowledge",-1),A=t("Filters are intuitive to use, but get quite nuanced as complexity increases. In order to use Filters effectively, you will need to understand the Field "),C=t("(aka "),k=t("data model"),O=t(")"),R=t(" being filtered as well as any relevant "),x=t("Users, Roles and Permissions"),D=t("."),N=t("A basic filter is composed of 3 parts: A "),G=e("strong",null,"Field",-1),I=t(" from the Collection being Filtered, a logical "),V=t("Operator"),W=t(", and some specified "),E=e("strong",null,"Value",-1),H=t(" to filter for within each Item\u2019s Field."),T=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/how-filters-work-20220303A.mp4",type:"video/mp4"})],-1),U=e("ol",{start:"2"},[e("li",null,[t("Click "),e("span",{mi:"",icon:""},"filter_list"),t(" or "),e("strong",null,"\u201CAdd Filter\u201D"),t(".")]),e("li",null,"Select the Field to filter by."),e("li",null,"Select the Operator as desired."),e("li",null,"Define the Value to filter for.")],-1),S=e("p",null,[t("From here, you can set multiple Filters at once, filter by "),e("a",{href:"#filtering-by-related-collections"},"Fields in related Collections"),t(", set Values with "),e("a",{href:"#dynamic-variables"},"Dynamic Variables"),t(", as well as apply "),e("a",{href:"#and-or-groups"},"AND/OR Groups"),t(".")],-1),B={class:"tip hint"},j=e("div",{class:"hint-title"},"Operators",-1),$=t("The Field type will determine the kinds of Operators that can be used on it. In fact, some Fields cannot be filtered at all (read more in "),P=e("a",{href:"#unfilterable-fields"},"Unfilterable Fields",-1),q=t("). Once a Field is selected, the permitted operators will automatically display. An exhaustive list of Operators and what they do can be found in the more technical "),z=t("Filter Rules"),L=t(" document."),M=e("h2",{id:"and%2For-groups"},[t("AND/OR Groups "),e("a",{class:"header-anchor",href:"#and%2For-groups"},"#")],-1),Y=e("p",null,[e("code",null,"AND"),t(" Groups give the option to filter for Items that meet "),e("em",null,"all of several criteria"),t(". On the other hand, "),e("code",null,"OR"),t(" Groups filter for Items that meet "),e("em",null,"any one of several criteria"),t(".")],-1),K=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/and-or-groups-20220303A.webp",alt:"AND/OR Groups"})],-1),J=e("ol",null,[e("li",null,"Click \u201CAdd Filter\u201D."),e("li",null,"Click \u201CAnd/OR Group\u201D at the very top of the dropdown menu."),e("li",null,[t("Click the AND/OR text to toggle: "),e("ul",null,[e("li",null,[e("code",null,"AND"),t(" \u2013 Selects Items that meet every single criteria.")]),e("li",null,[e("code",null,"OR"),t(" \u2013 Selects Items that meet one of several criteria.")])])]),e("li",null,"Click \u201CAdd Filter\u201D again."),e("li",null,"Configure the Field, Operator, and Value as desired."),e("li",null,[t("Click and hold "),e("span",{mi:"",icon:""},"drag_indicator"),t(" to drag a Filter and nest it under an AND/OR Group.")])],-1),Q=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Why do we need AND Groups?"),e("p",null,[t("Filters actually default to "),e("code",null,"AND"),t(" Group behavior automatically. However, when Filters are nested inside of an OR Group, they of course switch to "),e("code",null,"OR"),t(" Group behavior. So an AND Group is necessary in cases where you want to meet multiple conditions inside of OR Groups.")])],-1),X=e("h2",{id:"dynamic-variables"},[t("Dynamic Variables "),e("a",{class:"header-anchor",href:"#dynamic-variables"},"#")],-1),Z=e("p",null,"The following video shows how to filter for Blog posts written within the past 60 days.",-1),ee=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/dynamic-variables-20220307A.mp4",type:"video/mp4"})],-1),te=t("The following Dynamic Variables are built into Directus to make Filtering easier: "),oe=e("code",null,"$CURRENT_USER",-1),le=t(", "),ie=e("code",null,"$CURRENT_ROLE",-1),se=t(", "),ne=e("code",null,"$NOW",-1),re=t(" and "),ae=e("code",null,"$NOW(<adjustment>)",-1),de=t(". For more information, please see the Dynamic Variables section in "),ce=t("Filter Rules"),ue=t("."),he=e("h2",{id:"filtering-by-related-collections"},[t("Filtering by Related Collections "),e("a",{class:"header-anchor",href:"#filtering-by-related-collections"},"#")],-1),_e=e("p",null,[t("You may need to run filters on one Collection "),e("em",null,"based on information in another related Collection"),t(". Here are a few examples of when that might happen:")],-1),pe=e("ul",null,[e("li",null,[t("Book authors that also wrote screenplays (filters "),e("code",null,"authors"),t(", uses "),e("code",null,"screenplays"),t(").")]),e("li",null,[t("Products with a 5 star customer review (filters "),e("code",null,"products"),t(", uses "),e("code",null,"reviews"),t(").")]),e("li",null,[t("Accounts with active user login within the last 12 months (filters "),e("code",null,"accounts"),t(", uses "),e("code",null,"logins"),t(").")])],-1),fe=e("p",null,[t("This can span across any number of relationally linked Collections. For example, you could filter for customers that bought rock songs, where the "),e("code",null,"customers"),t(" and "),e("code",null,"genres"),t(" Collections are linked by "),e("code",null,"customers"),t(" -> "),e("code",null,"invoices"),t(" -> "),e("code",null,"invoice-items"),t(" -> "),e("code",null,"tracks"),t(" -> "),e("code",null,"genres"),t(".")],-1),me=t("You will notice a "),ge=e("span",{mi:"",icon:""},"chevron_right",-1),ye=t(" icon beside relational Fields. When you click on any "),be=t("Alias"),we=t(" Field, all the Fields for that associated Collection pop down. If you select one of these Fields, you can run Filters on the current Collection by Field values in a related Collection."),ve=e("p",null,"Here are step-by-step instructions on how to filter by Fields in other Collections:",-1),Fe=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/filtering-by-related-collections-20220303A.mp4",type:"video/mp4"})],-1),Ae=e("ol",null,[e("li",null,"Click \u201CAdd Filter\u201D."),e("li",null,"Click the desired relational Field. This will pop down and display the related Collection Fields."),e("li",null,"Select a Field from this related Collection."),e("li",null,"Set the Operator and Value as desired.")],-1),Ce=e("h2",{id:"unfilterable-fields"},[t("Unfilterable Fields "),e("a",{class:"header-anchor",href:"#unfilterable-fields"},"#")],-1),ke=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/unfilterable-fields-20220303A.webp",alt:"Unfilterable Fields"})],-1),Oe=e("p",null,[t("Not all Fields can be filtered. As seen above in "),e("a",{href:"#filtering-by-related-collections"},"Filtering by Related Collections"),t(", Alias Fields cannot be filtered; they instead provide a dropdown menu to access Fields from a related Collection. Additionally, the \u201CPresentation\u201D and \u201CGroup\u201D Fields cannot be filtered at all and will not appear as an option in Filters.")],-1),Re=e("h2",{id:"extensibility-options"},[t("Extensibility Options "),e("a",{class:"header-anchor",href:"#extensibility-options"},"#")],-1),xe=e("p",null,"Directus Core is completely open-source, modular and extensible. Extensions allow you to expand or modify any part of Directus to fit your needs. Here are some great resources to get started down that track.",-1),De=t("Extensions > Introduction"),Ne=t("Extensions > Creating Extensions"),Ge=t("Contributing > Introduction"),Ie=t("Contributing > Codebase Overview"),Ve=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Accelerated Development"),e("p",null,[t("Working on an enterprise project and looking to outsource or financially sponsor the development of a Shares extension? Contact "),e("a",{href:"https://directus.io/contact/",target:"_blank",rel:"noopener noreferrer"},"our team")])],-1),We=e("h2",{id:"more-help"},[t("More Help "),e("a",{class:"header-anchor",href:"#more-help"},"#")],-1),Ee=e("p",null,[t("Looking for technical support for your non-enterprise project? Chat with thousands of engineers within our growing "),e("a",{href:"https://discord.com/invite/directus",target:"_blank",rel:"noopener noreferrer"},"Community on Discord")],-1),Be={setup(He,{expose:r}){const s={title:"Filters",modularExtension:!1};return r({frontmatter:s}),(Te,Ue)=>{const l=n("router-link"),a=n("DocsWrapper");return d(),c(a,{frontmatter:s},{default:o(()=>[e("div",u,[h,_,p,e("div",f,[m,e("p",null,[g,i(l,{to:"/docs/configuration/filter-rules/"},{default:o(()=>[y]),_:1}),b])]),w,e("div",v,[F,e("p",null,[A,e("em",null,[C,i(l,{to:"/docs/configuration/data-model/"},{default:o(()=>[k]),_:1}),O]),R,i(l,{to:"/docs/configuration/users-roles-permissions.md"},{default:o(()=>[x]),_:1}),D])]),e("p",null,[N,G,I,i(l,{to:"/docs/configuration/filter-rules/#filter-operators"},{default:o(()=>[V]),_:1}),W,E,H]),T,U,S,e("div",B,[j,e("p",null,[$,P,q,i(l,{to:"/docs/configuration/filter-rules/#filter-operators"},{default:o(()=>[z]),_:1}),L])]),M,Y,K,J,Q,X,Z,ee,e("p",null,[te,oe,le,ie,se,ne,re,ae,de,i(l,{to:"/docs/configuration/filter-rules/"},{default:o(()=>[ce]),_:1}),ue]),he,_e,pe,fe,e("p",null,[me,ge,ye,i(l,{to:"/docs/getting-started/glossary/#alias"},{default:o(()=>[be]),_:1}),we]),ve,Fe,Ae,Ce,ke,Oe,Re,xe,e("ul",null,[e("li",null,[i(l,{to:"/docs/extensions/introduction/"},{default:o(()=>[De]),_:1})]),e("li",null,[i(l,{to:"/docs/extensions/creating-extensions/"},{default:o(()=>[Ne]),_:1})]),e("li",null,[i(l,{to:"/docs/contributing/introduction/"},{default:o(()=>[Ge]),_:1})]),e("li",null,[i(l,{to:"/docs/contributing/codebase-overview/"},{default:o(()=>[Ie]),_:1})])]),Ve,We,Ee])]),_:1})}}};export{Be as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={identifier:"Ey\xF0kenni",avatar:"Vangamynd",application:"N\xFDtsluskipan",default_provider:"Standard",published:"\xDAt Givi\xF0",draft:"Kladda",archived:"Skjalasavna",modules:"Modulir",module_bar:"Modul Bj\xE1lki",tile_size:"Fl\xEDsa St\xF8dd",edit_field:"R\xE6tta Teig",conditions:"Treytir",maps:"Kort",switch_user:"Skift Br\xFAkara",item_creation:"Stovna Lut",item_revision:"Endursko\xF0a Lut",enter_a_name:"\xC1set eitt Navn...",duplicate_field:"Tv\xEDfalda Teig",half_width:"H\xE1lv Breidd",full_width:"Full Breidd",group:"B\xF3lkur",and:"Og",or:"Ella",fill_width:"Fyll Breiddina",field_name_translations:"Navna Teiga Umsetingar",enter_password_to_enable_tfa:"Skriva t\xEDtt loynior\xF0 fyri at virkja Tvey-Stigs Samgildi (2FA)",add_field:"Legg afturat Teig",role_name:"Leikluts Heiti",branch:"Grein",leaf:"Bla\xF0",indeterminate:"\xD3vist",edit_collection:"R\xE6tta Savn",exclusive:"Ser\xFArval",children:"B\xF8rn",db_only_click_to_configure:"Einans D\xE1tugrunnur: Klikkja fyri at Stilla",show_active_items:"V\xEDs Virknar Lutir",show_archived_items:"V\xEDs Skjalasavna\xF0ir Lutir",show_all_items:"V\xEDs Allar Lutir",edited:"Vir\xF0i er broytt",required:"Ney\xF0ugt",required_for_app_access:"Ney\xF0ugt til App Atgongd",requires_value:"Ney\xF0ugt vir\xF0i",create_preset:"Stovna Undanstilling",create_panel:"Stovna Talvu",create_role:"Stovna Leiklut",create_user:"Stovna Br\xFAkara",delete_panel:"Strika Talvu",create_webhook:"Stovna Webhook",invite_users:"Bj\xF3\xF0a Br\xFAkarum",invite:"Bj\xF3\xF0a",email_already_invited:'Telduposturin "{email}" hevur longu fingi\xF0 eina innbj\xF3\xF0ing',subject:"Evni",inbox:"Innbakki",emails:"Teldupostar",connection_excellent:"Fr\xE1l\xEDkt Samband",connection_good:"Gott Samband",connection_fair:"Hampiligt Samband",connection_poor:"Ringt Samband",primary:"Primer",rename_folder:"Umdoyp Faldara",delete_folder:"Strika Faldara",prefix:"Forskoyti",suffix:"Eftirskoyti",reset_bookmark:"Nullstilla B\xF3kamerki",update_bookmark:"R\xE6tta B\xF3kamerki",delete_bookmark:"Strika B\xF3kamerki",delete_bookmark_copy:'Ert t\xFA vissur \xED at t\xFA vilt strika "{bookmark}" b\xF3kamerki? Hendan ger\xF0 kann ikki angrast.',logoutReason:{SIGN_OUT:"Rita\xF0ur \xDAt",SESSION_EXPIRED:"Sambandi er \xDAtgingi\xF0"},public_label:"Alment",public_description:"St\xFDrir hvat API d\xE1ta til taks uttan samgildi.",not_allowed:"Ikki loyvt",directus_version:"Directus \xDAtg\xE1va",node_version:"Node \xDAtg\xE1va",node_uptime:"Node N\xFDtslut\xED\xF0",os_type:"OS Slag",os_version:"OS \xDAtg\xE1va",os_uptime:"OS N\xFDtslut\xED\xF0",os_totalmem:"OS Minni",archive:"Skjalasavna",archive_confirm:"Ert t\xFA v\xEDsur \xED at t\xFA vilt skjalasavna hendan lutin?",archive_confirm_count:"Eingir lutir eru valdir | Ert t\xFA v\xEDsur \xED at t\xFA vilt skjalasavna hendan lutin? | Ert t\xFA v\xEDsur \xED at t\xFA vilt skjalasavna hesar {count} lutir?",reset_system_permissions_to:"Nullstilla kervis r\xE6ttindini til:",reset_system_permissions_copy:"Hendan ger\xF0 fer at yvirskriva \xF8ll br\xFAkara sett loyvi sum t\xFA kanst hava n\xFDtt \xE1 kerviss\xF8vnini. Ert t\xFA v\xEDsur?",system:"Kervi",interface_label:"Takf\xF8risflati",creating_collection_system:"Virkjan og n\xFDnevnan av \xF8llum hesum valfr\xED\xF0u Teigum.",no_collections_copy:"T\xFA hevur eingi S\xF8vn enn. Set teg vinarliga \xED samband vi\xF0 kervisfyrisitarin.",system_collections:"Kerviss\xF8vnini",interface_options:"Takf\xF8risflatastillingar",optional_system_fields:"Valfr\xED Kervisteigar",page_help_activity_collection:"**Kaga Virksemi** \u2014 Ein dr\xFAvur listi av \xF8llum t\xEDnum kervisbr\xFAkarum innan kervisvirksemi og innihaldsvirksemi.",page_help_settings_datamodel_collections:"**D\xE1tamynd: S\xF8vn** \u2014 V\xEDsir \xF8ll t\xF8k s\xF8vn. Hettar fevnir um sj\xF3nlig, goymd, og kerviss\xF8vn, harumframt \xF3vi\xF0gj\xF8rd d\xE1tugrunnstalvur, sum kunnu leggjast afturat.",page_help_users_collection:"**Br\xFAkara Directory** \u2014 V\xEDsir ein lista yvir \xF8llum kervisbr\xFAkarum innan hesari verk\xE6tlan.",system_fields_locked:"Kervisteigar eru l\xE6stir og kunnu ikki broytast",directus_collection:{directus_roles:"B\xF3lkar av loyvum fyri kervisbr\xFAkarum",directus_users:"Kervisbr\xFAkarir til verk\xE6tlanina"},fields:{directus_users:{theme_auto:"Sj\xE1lvvirkin (Grunda \xE1 Kervi)"},directus_settings:{module_bar:"Modul Bj\xE1lki"},directus_fields:{translation:"Navna Teiga Umsetingar"},directus_roles:{name:"Leikluts Heiti"}},field_options:{directus_collections:{archive_divider:"Skjalasavna"},directus_users:{dropdown_auto:"Sj\xE1lvvirkin (Grunda \xE1 Kervi)"}},interfaces:{"presentation-links":{primary:"Primer"},"system-collection":{collection:"Savn",description:"Vel millum galdandi S\xF8vn",include_system_collections:"Tel vi\xF0 Kerviss\xF8vnini"},"system-collections":{collections:"S\xF8vn",description:"Vel millum galdandi S\xF8vn",include_system_collections:"Tel vi\xF0 Kerviss\xF8vnini"},"system-display-template":{"display-template":"S\xFDna fram skapil\xF3n",description:"Blanda \xF3broytandi tekst og dynamiskar teigvir\xF0ir",collection_field:"Savnteigur",collection_field_not_setup:"Stillingin til savnteigin skeivt stilla",select_a_collection:"Vel eitt savn"},"system-interface":{interface:"Takf\xF8risflati",description:"Vel ein galdandi takf\xF8risflata",placeholder:"Vel ein takf\xF8risflata..."},"system-interface-options":{"interface-options":"Takf\xF8risflatastillingar"},"system-folder":{folder:"Faldari",description:"Vel ein faldara",field_hint:"Faldari til uppsendum f\xEDlum. \xC1virkar ikki galdandi f\xEDlum.",root_name:"F\xEDlasavns R\xF3t",system_default:"Grundkervi"},"input-rich-text-html":{folder_note:"Faldari til uppsendum f\xEDlum. \xC1virkar ikki galdandi f\xEDlum."}},displays:{"formatted-value":{prefix:"Forskoyti",suffix:"Eftirskoyti"}}},i=e.identifier,a=e.avatar,r=e.application,t=e.default_provider,l=e.published,n=e.draft,s=e.archived,o=e.modules,_=e.module_bar,d=e.tile_size,v=e.edit_field,c=e.conditions,u=e.maps,m=e.switch_user,p=e.item_creation,f=e.item_revision,k=e.enter_a_name,g=e.duplicate_field,y=e.half_width,h=e.full_width,b=e.group,S=e.and,w=e.or,j=e.fill_width,T=e.field_name_translations,x=e.enter_password_to_enable_tfa,B=e.add_field,E=e.role_name,V=e.branch,N=e.leaf,F=e.indeterminate,K=e.edit_collection,R=e.exclusive,q=e.children,L=e.db_only_click_to_configure,G=e.show_active_items,H=e.show_archived_items,O=e.show_all_items,A=e.edited,I=e.required,D=e.required_for_app_access,U=e.requires_value,M=e.create_preset,P=e.create_panel,z=e.create_role,W=e.create_user,X=e.delete_panel,C=e.create_webhook,J=e.invite_users,Q=e.invite,Y=e.email_already_invited,Z=e.subject,$=e.inbox,ee=e.emails,ie=e.connection_excellent,ae=e.connection_good,re=e.connection_fair,te=e.connection_poor,le=e.primary,ne=e.rename_folder,se=e.delete_folder,oe=e.prefix,_e=e.suffix,de=e.reset_bookmark,ve=e.update_bookmark,ce=e.delete_bookmark,ue=e.delete_bookmark_copy,me=e.logoutReason,pe=e.public_label,fe=e.public_description,ke=e.not_allowed,ge=e.directus_version,ye=e.node_version,he=e.node_uptime,be=e.os_type,Se=e.os_version,we=e.os_uptime,je=e.os_totalmem,Te=e.archive,xe=e.archive_confirm,Be=e.archive_confirm_count,Ee=e.reset_system_permissions_to,Ve=e.reset_system_permissions_copy,Ne=e.system,Fe=e.interface_label,Ke=e.creating_collection_system,Re=e.no_collections_copy,qe=e.system_collections,Le=e.interface_options,Ge=e.optional_system_fields,He=e.page_help_activity_collection,Oe=e.page_help_settings_datamodel_collections,Ae=e.page_help_users_collection,Ie=e.system_fields_locked,De=e.directus_collection,Ue=e.fields,Me=e.field_options,Pe=e.interfaces,ze=e.displays;export{B as add_field,S as and,r as application,Te as archive,xe as archive_confirm,Be as archive_confirm_count,s as archived,a as avatar,V as branch,q as children,c as conditions,ie as connection_excellent,re as connection_fair,ae as connection_good,te as connection_poor,P as create_panel,M as create_preset,z as create_role,W as create_user,C as create_webhook,Ke as creating_collection_system,L as db_only_click_to_configure,e as default,t as default_provider,ce as delete_bookmark,ue as delete_bookmark_copy,se as delete_folder,X as delete_panel,De as directus_collection,ge as directus_version,ze as displays,n as draft,g as duplicate_field,K as edit_collection,v as edit_field,A as edited,Y as email_already_invited,ee as emails,k as enter_a_name,x as enter_password_to_enable_tfa,R as exclusive,T as field_name_translations,Me as field_options,Ue as fields,j as fill_width,h as full_width,b as group,y as half_width,i as identifier,$ as inbox,F as indeterminate,Fe as interface_label,Le as interface_options,Pe as interfaces,Q as invite,J as invite_users,p as item_creation,f as item_revision,N as leaf,me as logoutReason,u as maps,_ as module_bar,o as modules,Re as no_collections_copy,he as node_uptime,ye as node_version,ke as not_allowed,Ge as optional_system_fields,w as or,je as os_totalmem,be as os_type,we as os_uptime,Se as os_version,He as page_help_activity_collection,Oe as page_help_settings_datamodel_collections,Ae as page_help_users_collection,oe as prefix,le as primary,fe as public_description,pe as public_label,l as published,ne as rename_folder,I as required,D as required_for_app_access,U as requires_value,de as reset_bookmark,Ve as reset_system_permissions_copy,Ee as reset_system_permissions_to,E as role_name,G as show_active_items,O as show_all_items,H as show_archived_items,Z as subject,_e as suffix,m as switch_user,Ne as system,qe as system_collections,Ie as system_fields_locked,d as tile_size,ve as update_bookmark};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{w as n,y as h,z as c,A as a,E as e,C as t,W as s}from"./vendor.ef99adf3.js";const i={class:"markdown-body"},p=e("div",{class:"two-up"},[e("div",{class:"left"},[e("blockquote",null,[e("p",null,"Folders can be used to organize files within the platform. Folders are virtual, and aren\u2019t mirrored within the storage adapter.")])]),e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-folder-object"},"The Folder Object")]),e("li",null,[e("a",{href:"#list-folders"},"List Folders")]),e("li",null,[e("a",{href:"#retrieve-a-folder"},"Retrieve a Folder")]),e("li",null,[e("a",{href:"#create-a-folder"},"Create a Folder")]),e("li",null,[e("a",{href:"#create-multiple-folders"},"Create Multiple Folders")]),e("li",null,[e("a",{href:"#update-a-folder"},"Update a Folder")]),e("li",null,[e("a",{href:"#update-multiple-folders"},"Update Multiple Folders")]),e("li",null,[e("a",{href:"#delete-a-folder"},"Delete a Folder")]),e("li",null,[e("a",{href:"#delete-multiple-folders"},"Delete Multiple Folders")])])])])])],-1),u=e("hr",null,null,-1),_=e("h2",{id:"the-folder-object"},[s("The Folder Object "),e("a",{class:"header-anchor",href:"#the-folder-object"},"#")],-1),f=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"definitions"},[e("p",null,[e("code",null,"id"),s(),e("strong",null,"uuid"),e("br"),s(" Primary key of the folder.")]),e("p",null,[e("code",null,"name"),s(),e("strong",null,"string"),e("br"),s(" Name of the folder.")]),e("p",null,[e("code",null,"parent"),s(),e("strong",null,"many-to-one"),e("br"),s(" Parent folder. Many-to-one to folders (recursive).")])])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[s(`{
|
|
2
2
|
`),e("span",{class:"hljs-attr"},'"data"'),s(`: {
|
|
3
3
|
`),e("span",{class:"hljs-attr"},'"id"'),s(": "),e("span",{class:"hljs-string"},'"fc02d733-95b8-4e27-bd4b-08a32cbe4e66"'),s(`,
|
|
4
4
|
`),e("span",{class:"hljs-attr"},'"name"'),s(": "),e("span",{class:"hljs-string"},'"Test"'),s(`,
|
|
@@ -16,7 +16,7 @@ SEARCH /folders
|
|
|
16
16
|
name
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
`)])],-1),G=e("hr",null,null,-1),B=e("h2",{id:"retrieve-a-folder"},[s("Retrieve a Folder "),e("a",{class:"header-anchor",href:"#retrieve-a-folder"},"#")],-1),N=e("p",null,"List all folders that exist in Directus.",-1),H={class:"two-up"},U={class:"left"},V=e("h3",{id:"query-parameters-2"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-2"},"#")],-1),
|
|
19
|
+
`)])],-1),G=e("hr",null,null,-1),B=e("h2",{id:"retrieve-a-folder"},[s("Retrieve a Folder "),e("a",{class:"header-anchor",href:"#retrieve-a-folder"},"#")],-1),N=e("p",null,"List all folders that exist in Directus.",-1),H={class:"two-up"},U={class:"left"},V=e("h3",{id:"query-parameters-2"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-2"},"#")],-1),W=s("Supports all "),z=s("global query parameters"),J=s("."),K=e("h3",{id:"returns-2"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-2"},"#")],-1),X=e("p",null,[s("Returns a "),e("a",{href:"#the-folder-object"},"folder object"),s(" if a valid primary key was provided.")],-1),Y=e("div",{class:"right"},[e("h3",{id:"rest-api-2"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),e("pre",null,[e("code",null,`GET /folders/:id
|
|
20
20
|
`)]),e("h5",{id:"example-2"},[s("Example "),e("a",{class:"header-anchor",href:"#example-2"},"#")]),e("pre",null,[e("code",null,`GET /folders/fc02d733-95b8-4e27-bd4b-08a32cbe4e66
|
|
21
21
|
`)]),e("h3",{id:"graphql-2"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-2"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
|
|
22
22
|
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),s(` {
|
|
@@ -83,7 +83,7 @@ SEARCH /folders
|
|
|
83
83
|
name
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
`)])])],-1),Ge=e("hr",null,null,-1),Be=e("h2",{id:"update-multiple-folders"},[s("Update Multiple Folders "),e("a",{class:"header-anchor",href:"#update-multiple-folders"},"#")],-1),Ne=e("p",null,"Update multiple existing folders.",-1),He={class:"two-up"},Ue={class:"left"},Ve=e("h3",{id:"query-parameters-6"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-6"},"#")],-1),
|
|
86
|
+
`)])])],-1),Ge=e("hr",null,null,-1),Be=e("h2",{id:"update-multiple-folders"},[s("Update Multiple Folders "),e("a",{class:"header-anchor",href:"#update-multiple-folders"},"#")],-1),Ne=e("p",null,"Update multiple existing folders.",-1),He={class:"two-up"},Ue={class:"left"},Ve=e("h3",{id:"query-parameters-6"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-6"},"#")],-1),We=s("Supports all "),ze=s("global query parameters"),Je=s("."),Ke=e("h3",{id:"request-body-4"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-4"},"#")],-1),Xe=e("div",{class:"definitions"},[e("p",null,[e("code",null,"keys"),s(),e("strong",null,"Required"),e("br"),s(" Array of primary keys of the folders you\u2019d like to update.")]),e("p",null,[e("code",null,"data"),s(),e("strong",null,"Required"),e("br"),s(" Any of "),e("a",{href:"#the-folder-object"},"the folder object"),s("\u2019s properties.")])],-1),Ye=e("h3",{id:"returns-6"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-6"},"#")],-1),Ze=e("p",null,[s("Returns the "),e("a",{href:"#the-folder-object"},"folder objects"),s(" of the folders that were updated.")],-1),$e=e("div",{class:"right"},[e("h3",{id:"rest-api-6"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),e("pre",null,[e("code",null,`PATCH /folders
|
|
87
87
|
`)]),e("h5",{id:"example-10"},[s("Example "),e("a",{class:"header-anchor",href:"#example-10"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// PATCH /folders"),s(`
|
|
88
88
|
|
|
89
89
|
{
|
|
@@ -129,4 +129,4 @@ SEARCH /folders
|
|
|
129
129
|
ids
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
`)])])])],-1),ps={setup(os,{expose:d}){const r={title:"Folders",modularExtension:!1,pageClass:"page-reference"};return d({frontmatter:r}),(hs,cs)=>{const l=n("router-link"),o=n("DocsWrapper");return h(),c(o,{frontmatter:r},{default:a(()=>[e("div",i,[p,u,_,f,m,g,y,e("div",b,[e("div",j,[q,e("p",null,[x,t(l,{to:"/docs/reference/query"},{default:a(()=>[v]),_:1}),E]),w,e("p",null,[T,t(l,{to:"/docs/reference/query/#limit"},{default:a(()=>[P]),_:1}),R,k,S])]),e("div",A,[F,D,e("p",null,[t(l,{to:"/docs/reference/introduction/#search-http-method"},{default:a(()=>[C]),_:1})]),L,Q,I,O,M])]),G,B,N,e("div",H,[e("div",U,[V,e("p",null,[
|
|
132
|
+
`)])])])],-1),ps={setup(os,{expose:d}){const r={title:"Folders",modularExtension:!1,pageClass:"page-reference"};return d({frontmatter:r}),(hs,cs)=>{const l=n("router-link"),o=n("DocsWrapper");return h(),c(o,{frontmatter:r},{default:a(()=>[e("div",i,[p,u,_,f,m,g,y,e("div",b,[e("div",j,[q,e("p",null,[x,t(l,{to:"/docs/reference/query"},{default:a(()=>[v]),_:1}),E]),w,e("p",null,[T,t(l,{to:"/docs/reference/query/#limit"},{default:a(()=>[P]),_:1}),R,k,S])]),e("div",A,[F,D,e("p",null,[t(l,{to:"/docs/reference/introduction/#search-http-method"},{default:a(()=>[C]),_:1})]),L,Q,I,O,M])]),G,B,N,e("div",H,[e("div",U,[V,e("p",null,[W,t(l,{to:"/docs/reference/query"},{default:a(()=>[z]),_:1}),J]),K,X]),Y]),Z,$,ee,e("div",se,[e("div",ae,[le,e("p",null,[te,t(l,{to:"/docs/reference/query"},{default:a(()=>[re]),_:1}),ne]),de,oe,he,ce]),ie]),pe,ue,_e,e("div",fe,[e("div",me,[ge,e("p",null,[ye,t(l,{to:"/docs/reference/query"},{default:a(()=>[be]),_:1}),je]),qe,xe,ve,Ee]),we]),Te,Pe,Re,e("div",ke,[e("div",Se,[Ae,e("p",null,[Fe,t(l,{to:"/docs/reference/query"},{default:a(()=>[De]),_:1}),Ce]),Le,Qe,Ie,Oe]),Me]),Ge,Be,Ne,e("div",He,[e("div",Ue,[Ve,e("p",null,[We,t(l,{to:"/docs/reference/query"},{default:a(()=>[ze]),_:1}),Je]),Ke,Xe,Ye,Ze]),$e]),es,ss,as,ls,ts,rs,ns,ds])]),_:1})}}};export{ps as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bR as S}from"./vendor.ef99adf3.js";function T(f,O){return O.forEach(function(E){E&&typeof E!="string"&&!Array.isArray(E)&&Object.keys(E).forEach(function(n){if(n!=="default"&&!(n in f)){var R=Object.getOwnPropertyDescriptor(E,n);Object.defineProperty(f,n,R.get?R:{enumerable:!0,get:function(){return E[n]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}};(function(f,O){(function(E){E(S.exports)})(function(E){function n(i){var r=[];return i.split(" ").forEach(function(e){r.push({name:e})}),r}var R=n("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),u=n("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");E.defineMode("forth",function(){function i(r,e){var t;for(t=r.length-1;t>=0;t--)if(r[t].name===e.toUpperCase())return r[t]}return{startState:function(){return{state:"",base:10,coreWordList:R,immediateWordList:u,wordList:[]}},token:function(r,e){var t;if(r.eatSpace())return null;if(e.state===""){if(r.match(/^(\]|:NONAME)(\s|$)/i))return e.state=" compilation","builtin compilation";if(t=r.match(/^(\:)\s+(\S+)(\s|$)+/),t)return e.wordList.push({name:t[2].toUpperCase()}),e.state=" compilation","def"+e.state;if(t=r.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i),t)return e.wordList.push({name:t[2].toUpperCase()}),"def"+e.state;if(t=r.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/),t)return"builtin"+e.state}else{if(r.match(/^(\;|\[)(\s)/))return e.state="",r.backUp(1),"builtin compilation";if(r.match(/^(\;|\[)($)/))return e.state="","builtin compilation";if(r.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(t=r.match(/^(\S+)(\s+|$)/),t)return i(e.wordList,t[1])!==void 0?"variable"+e.state:t[1]==="\\"?(r.skipToEnd(),"comment"+e.state):i(e.coreWordList,t[1])!==void 0?"builtin"+e.state:i(e.immediateWordList,t[1])!==void 0?"keyword"+e.state:t[1]==="("?(r.eatWhile(function(o){return o!==")"}),r.eat(")"),"comment"+e.state):t[1]===".("?(r.eatWhile(function(o){return o!==")"}),r.eat(")"),"string"+e.state):t[1]==='S"'||t[1]==='."'||t[1]==='C"'?(r.eatWhile(function(o){return o!=='"'}),r.eat('"'),"string"+e.state):t[1]-68719476735?"number"+e.state:"atom"+e.state}}}),E.defineMIME("text/x-forth","forth")})})();var A=a.exports,D=T({__proto__:null,default:A},[a.exports]);export{D as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bR as h}from"./vendor.ef99adf3.js";function x(o,s){return s.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(i){if(i!=="default"&&!(i in o)){var c=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(o,i,c.get?c:{enumerable:!0,get:function(){return n[i]}})}})}),Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(o,s){(function(n){n(h.exports)})(function(n){n.defineMode("fortran",function(){function i(t){for(var r={},e=0;e<t.length;++e)r[t[e]]=!0;return r}var c=i(["abstract","accept","allocatable","allocate","array","assign","asynchronous","backspace","bind","block","byte","call","case","class","close","common","contains","continue","cycle","data","deallocate","decode","deferred","dimension","do","elemental","else","encode","end","endif","entry","enumerator","equivalence","exit","external","extrinsic","final","forall","format","function","generic","go","goto","if","implicit","import","include","inquire","intent","interface","intrinsic","module","namelist","non_intrinsic","non_overridable","none","nopass","nullify","open","optional","options","parameter","pass","pause","pointer","print","private","program","protected","public","pure","read","recursive","result","return","rewind","save","select","sequence","stop","subroutine","target","then","to","type","use","value","volatile","where","while","write"]),f=i(["abort","abs","access","achar","acos","adjustl","adjustr","aimag","aint","alarm","all","allocated","alog","amax","amin","amod","and","anint","any","asin","associated","atan","besj","besjn","besy","besyn","bit_size","btest","cabs","ccos","ceiling","cexp","char","chdir","chmod","clog","cmplx","command_argument_count","complex","conjg","cos","cosh","count","cpu_time","cshift","csin","csqrt","ctime","c_funloc","c_loc","c_associated","c_null_ptr","c_null_funptr","c_f_pointer","c_null_char","c_alert","c_backspace","c_form_feed","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","dabs","dacos","dasin","datan","date_and_time","dbesj","dbesj","dbesjn","dbesy","dbesy","dbesyn","dble","dcos","dcosh","ddim","derf","derfc","dexp","digits","dim","dint","dlog","dlog","dmax","dmin","dmod","dnint","dot_product","dprod","dsign","dsinh","dsin","dsqrt","dtanh","dtan","dtime","eoshift","epsilon","erf","erfc","etime","exit","exp","exponent","extends_type_of","fdate","fget","fgetc","float","floor","flush","fnum","fputc","fput","fraction","fseek","fstat","ftell","gerror","getarg","get_command","get_command_argument","get_environment_variable","getcwd","getenv","getgid","getlog","getpid","getuid","gmtime","hostnm","huge","iabs","iachar","iand","iargc","ibclr","ibits","ibset","ichar","idate","idim","idint","idnint","ieor","ierrno","ifix","imag","imagpart","index","int","ior","irand","isatty","ishft","ishftc","isign","iso_c_binding","is_iostat_end","is_iostat_eor","itime","kill","kind","lbound","len","len_trim","lge","lgt","link","lle","llt","lnblnk","loc","log","logical","long","lshift","lstat","ltime","matmul","max","maxexponent","maxloc","maxval","mclock","merge","move_alloc","min","minexponent","minloc","minval","mod","modulo","mvbits","nearest","new_line","nint","not","or","pack","perror","precision","present","product","radix","rand","random_number","random_seed","range","real","realpart","rename","repeat","reshape","rrspacing","rshift","same_type_as","scale","scan","second","selected_int_kind","selected_real_kind","set_exponent","shape","short","sign","signal","sinh","sin","sleep","sngl","spacing","spread","sqrt","srand","stat","sum","symlnk","system","system_clock","tan","tanh","time","tiny","transfer","transpose","trim","ttynam","ubound","umask","unlink","unpack","verify","xor","zabs","zcos","zexp","zlog","zsin","zsqrt"]),p=i(["c_bool","c_char","c_double","c_double_complex","c_float","c_float_complex","c_funptr","c_int","c_int16_t","c_int32_t","c_int64_t","c_int8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_int_fast8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_least8_t","c_intmax_t","c_intptr_t","c_long","c_long_double","c_long_double_complex","c_long_long","c_ptr","c_short","c_signed_char","c_size_t","character","complex","double","integer","logical","real"]),d=/[+\-*&=<>\/\:]/,m=new RegExp("(.and.|.or.|.eq.|.lt.|.le.|.gt.|.ge.|.ne.|.not.|.eqv.|.neqv.)","i");function g(t,r){if(t.match(m))return"operator";var e=t.next();if(e=="!")return t.skipToEnd(),"comment";if(e=='"'||e=="'")return r.tokenize=b(e),r.tokenize(t,r);if(/[\[\]\(\),]/.test(e))return null;if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(d.test(e))return t.eatWhile(d),"operator";t.eatWhile(/[\w\$_]/);var a=t.current().toLowerCase();return c.hasOwnProperty(a)?"keyword":f.hasOwnProperty(a)||p.hasOwnProperty(a)?"builtin":"variable"}function b(t){return function(r,e){for(var a=!1,l,_=!1;(l=r.next())!=null;){if(l==t&&!a){_=!0;break}a=!a&&l=="\\"}return(_||!a)&&(e.tokenize=null),"string"}}return{startState:function(){return{tokenize:null}},token:function(t,r){if(t.eatSpace())return null;var e=(r.tokenize||g)(t,r);return e=="comment"||e=="meta",e}}}),n.defineMIME("text/x-fortran","fortran")})})();var y=u.exports,k=x({__proto__:null,default:y},[u.exports]);export{k as f};
|