@directus/app 9.13.0 → 9.14.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.c2d0f9e8.entry.js → @directus_extensions-sdk.016f1070.entry.js} +1 -1
- package/dist/assets/accounts.40ab36c1.js +1 -0
- package/dist/assets/{active-line.85f931be.js → active-line.71775521.js} +1 -1
- package/dist/assets/{activity-log.2f462c6d.js → activity-log.9449feec.js} +1 -1
- package/dist/assets/activity.fbd319d5.js +80 -0
- package/dist/assets/{apl.cef44fca.js → apl.fabbb08e.js} +1 -1
- package/dist/assets/ar-SA.215069dc.js +1 -0
- package/dist/assets/{architecture.19f588c9.js → architecture.9e90b6f3.js} +1 -1
- package/dist/assets/{asciiarmor.0a6d46c1.js → asciiarmor.f87dc63a.js} +1 -1
- package/dist/assets/{asn.1.8af7db88.js → asn.1.5dd57608.js} +1 -1
- package/dist/assets/{asterisk.133eb9d4.js → asterisk.395cf0ad.js} +1 -1
- package/dist/assets/authentication.bc20bce5.js +73 -0
- package/dist/assets/{autorefresh.8c3a7c64.js → autorefresh.2c9c0320.js} +1 -1
- package/dist/assets/aws.6652a1fd.js +1 -0
- package/dist/assets/backing-directus.02c28d29.js +1 -0
- package/dist/assets/{bg-BG.375ca1ae.js → bg-BG.9288ea83.js} +1 -1
- package/dist/assets/{br-FR.73a7f62b.js → br-FR.d3564938.js} +1 -1
- package/dist/assets/{brainfuck.bb0a1793.js → brainfuck.60536f63.js} +1 -1
- package/dist/assets/{ca-ES.3340d7d5.js → ca-ES.f3dfdef6.js} +1 -1
- package/dist/assets/cli.6e61515e.js +19 -0
- package/dist/assets/cli.863ef0d2.js +4 -0
- package/dist/assets/{clike.264a24b6.js → clike.74e0448b.js} +1 -1
- package/dist/assets/{clojure.5be5870c.js → clojure.8f96f0f7.js} +1 -1
- package/dist/assets/{cloudron.3b183977.js → cloudron.a348537b.js} +1 -1
- package/dist/assets/{cmake.361bb9df.js → cmake.723ea5dd.js} +1 -1
- package/dist/assets/{cobol.2e771d85.js → cobol.a990507c.js} +1 -1
- package/dist/assets/codebase-overview.b46635f9.js +1 -0
- package/dist/assets/{coffeescript.132c432c.js → coffeescript.c826a1f4.js} +1 -1
- package/dist/assets/collections.60e4b448.js +2 -0
- package/dist/assets/collections.80e4a52c.js +106 -0
- package/dist/assets/{commonlisp.87c850aa.js → commonlisp.0f5d3fae.js} +1 -1
- package/dist/assets/config-options.8e2d8e17.js +138 -0
- package/dist/assets/content.003d7d7c.js +1 -0
- package/dist/assets/creating-extensions.9a98925a.js +11 -0
- package/dist/assets/{crystal.8b2d4939.js → crystal.8517c407.js} +1 -1
- package/dist/assets/{cs-CZ.678bc13f.js → cs-CZ.a3c83b73.js} +1 -1
- package/dist/assets/{css.1e9857ce.js → css.f2b45d65.js} +1 -1
- package/dist/assets/{cypher.aefea96e.js → cypher.0f67a8c4.js} +1 -1
- package/dist/assets/{d.38a2fd63.js → d.d8c5a86d.js} +1 -1
- package/dist/assets/{da-DK.8db961d3.js → da-DK.3c379038.js} +1 -1
- package/dist/assets/{dart.4d90eff6.js → dart.ff540412.js} +1 -1
- package/dist/assets/data-model.086edd1e.js +1 -0
- package/dist/assets/data-sharing.27afa5ee.js +1 -0
- package/dist/assets/de-DE.350023db.js +1 -0
- package/dist/assets/{diff.f2ea9976.js → diff.1b6cf85e.js} +1 -1
- package/dist/assets/digitalocean-app-platform.aff2a50b.js +3 -0
- package/dist/assets/display-templates.d8e93a19.js +1 -0
- package/dist/assets/displays.e528abde.js +49 -0
- package/dist/assets/{django.fce1ee6c.js → django.b05a00dd.js} +1 -1
- package/dist/assets/{docker.7318105b.js → docker.6f265c46.js} +6 -6
- package/dist/assets/{dockerfile.10fea9a2.js → dockerfile.50e7896f.js} +1 -1
- package/dist/assets/{documentation.ec08e64e.js → documentation.ad1fdaf2.js} +1 -1
- package/dist/assets/{dtd.c67f9501.js → dtd.4f30128b.js} +1 -1
- package/dist/assets/{dylan.9c7c8fbb.js → dylan.295f582b.js} +1 -1
- package/dist/assets/{ebnf.5893ba11.js → ebnf.48a4d2a4.js} +1 -1
- package/dist/assets/{ecl.666cf005.js → ecl.686a8714.js} +1 -1
- package/dist/assets/{eiffel.1ff51078.js → eiffel.ee4a91b5.js} +1 -1
- package/dist/assets/{el-GR.98199dde.js → el-GR.103ebf8d.js} +1 -1
- package/dist/assets/{elm.3c43bbde.js → elm.3575efea.js} +1 -1
- package/dist/assets/{email-templates.bc7359ba.js → email-templates.2bdb87a6.js} +1 -1
- package/dist/assets/{en-CA.d2451b87.js → en-CA.9ad3a3ab.js} +1 -1
- package/dist/assets/{en-GB.e362e116.js → en-GB.c55341c7.js} +1 -1
- package/dist/assets/{endpoints.a283ab67.js → endpoints.2c9172db.js} +2 -2
- package/dist/assets/{erlang.cfe0d25f.js → erlang.2f06eab4.js} +1 -1
- package/dist/assets/{es-419.d7e63f16.js → es-419.10094709.js} +1 -1
- package/dist/assets/{es-CL.7fd46c95.js → es-CL.7f44ec7c.js} +1 -1
- package/dist/assets/es-ES.3ff9088e.js +1 -0
- package/dist/assets/{es-MX.778b926c.js → es-MX.17370b17.js} +1 -1
- package/dist/assets/{et-EE.5321add1.js → et-EE.fb46a361.js} +1 -1
- package/dist/assets/extensions.8d3df212.js +12 -0
- package/dist/assets/{fa-IR.a346165e.js → fa-IR.b864f77c.js} +1 -1
- package/dist/assets/{factor.eb880fb0.js → factor.59c6a149.js} +1 -1
- package/dist/assets/faq.63c79c18.js +2 -0
- package/dist/assets/{fcl.a70b3450.js → fcl.a6a387b9.js} +1 -1
- package/dist/assets/{fi-FI.14cee6db.js → fi-FI.14f31cb4.js} +1 -1
- package/dist/assets/fields.715d4591.js +135 -0
- package/dist/assets/file-library.a4de4015.js +1 -0
- package/dist/assets/files.7c2ccfe2.js +189 -0
- package/dist/assets/filter-rules.056b97be.js +76 -0
- package/dist/assets/filters.2cb82fd9.js +1 -0
- package/dist/assets/flows.38f60cc8.js +172 -0
- package/dist/assets/flows.f378a262.js +15 -0
- package/dist/assets/{fo-FO.ffe478b0.js → fo-FO.cc444b75.js} +1 -1
- package/dist/assets/folders.fa66a5ce.js +132 -0
- package/dist/assets/{forth.127a7f69.js → forth.eec0a81d.js} +1 -1
- package/dist/assets/{fortran.64d2bcc8.js → fortran.b9df31da.js} +1 -1
- package/dist/assets/{fr-FR.49507672.js → fr-CA.0e824ae4.js} +1 -1
- package/dist/assets/fr-FR.77a5277c.js +1 -0
- package/dist/assets/{gas.b5ddd39d.js → gas.1bf79f8f.js} +1 -1
- package/dist/assets/{gcp.aab7b77c.js → gcp.6c61b39e.js} +5 -5
- package/dist/assets/{gfm.0e5a0d37.js → gfm.04d0828d.js} +1 -1
- package/dist/assets/{gherkin.ca9beebc.js → gherkin.f334d646.js} +1 -1
- package/dist/assets/github-ci.04483301.js +2 -0
- package/dist/assets/glossary.485603d9.js +1 -0
- package/dist/assets/glossary.6efd77ad.js +1 -0
- package/dist/assets/{go.601cf92f.js → go.81bbba54.js} +1 -1
- package/dist/assets/{groovy.106b0e1b.js → groovy.3fb79de5.js} +1 -1
- package/dist/assets/{haml.8a27bb91.js → haml.9645befc.js} +1 -1
- package/dist/assets/{handlebars.7edaa076.js → handlebars.c78fa1ca.js} +1 -1
- package/dist/assets/{haskell-literate.c5a1599c.js → haskell-literate.ee77a8c9.js} +1 -1
- package/dist/assets/{haskell.499e9d63.js → haskell.0f131af0.js} +1 -1
- package/dist/assets/{haxe.6103069d.js → haxe.5ecd20ea.js} +1 -1
- package/dist/assets/{hi-IN.1abc0fe8.js → hi-IN.c0703db5.js} +1 -1
- package/dist/assets/hooks.f7efe9af.js +60 -0
- package/dist/assets/{hr-HR.5e9128d0.js → hr-HR.467388ee.js} +1 -1
- package/dist/assets/{htmlembedded.57ac5929.js → htmlembedded.b9d52c93.js} +1 -1
- package/dist/assets/{htmlmixed.be98881c.js → htmlmixed.b02b6e2e.js} +1 -1
- package/dist/assets/{http.4229d6d3.js → http.705b0cd9.js} +1 -1
- package/dist/assets/{hu-HU.edf3e061.js → hu-HU.47ab36e8.js} +1 -1
- package/dist/assets/{id-ID.5d8e082c.js → id-ID.8089647c.js} +1 -1
- package/dist/assets/{idl.1baa44ef.js → idl.ee86fe0e.js} +1 -1
- package/dist/assets/{iis.5653e9da.js → iis.e068f41a.js} +2 -2
- package/dist/assets/import-export.d334c127.js +2 -0
- package/dist/assets/{index.9c5a0589.js → index.0295bc4b.js} +1 -1
- package/dist/assets/{index.e65177c5.js → index.07257d01.js} +1 -1
- package/dist/assets/{index.b7cd48a8.js → index.0e101049.js} +1 -1
- package/dist/assets/{index.15a6b55f.js → index.10f90411.js} +1 -1
- package/dist/assets/{index.204d0697.js → index.14c720ba.js} +1 -1
- package/dist/assets/{index.7bfaf022.js → index.16acfb90.js} +1 -1
- package/dist/assets/{index.e7f7c63b.js → index.175a81f8.js} +1 -1
- package/dist/assets/index.192147d5.css +1 -0
- package/dist/assets/{index.8d2db40f.js → index.1a65b37a.js} +1 -1
- package/dist/assets/{index.4d0c9d2f.js → index.1b44d300.js} +1 -1
- package/dist/assets/{index.9dd4ba15.js → index.20b34242.js} +1 -1
- package/dist/assets/{index.5073c294.js → index.2598f40b.js} +1 -1
- package/dist/assets/{index.9fa88e82.js → index.28aa754b.js} +1 -1
- package/dist/assets/{index.b107abb9.js → index.2926879f.js} +1 -1
- package/dist/assets/{index.0b12fa24.js → index.2ec06d14.js} +1 -1
- package/dist/assets/{index.dd1b70ed.js → index.399c0d62.js} +1 -1
- package/dist/assets/{index.83254b8b.js → index.3d4cd218.js} +1 -1
- package/dist/assets/{index.5d2a1255.js → index.3eda79ec.js} +1 -1
- package/dist/assets/{index.6fe4b726.js → index.402d83c0.js} +1 -1
- package/dist/assets/{index.e29b1e2d.js → index.4100d6f0.js} +1 -1
- package/dist/assets/{index.d0c387c9.js → index.43fa9898.js} +1 -1
- package/dist/assets/{index.d2cb8f46.js → index.456ff0bd.js} +1 -1
- package/dist/assets/{index.e6925009.js → index.4e2109fe.js} +1 -1
- package/dist/assets/{index.58506149.js → index.4ef25ded.js} +1 -1
- package/dist/assets/{index.57201b30.js → index.4fbaebb7.js} +1 -1
- package/dist/assets/{index.4ae9df91.js → index.55a12dfb.js} +1 -1
- package/dist/assets/{index.cf04970d.js → index.56188e3b.js} +1 -1
- package/dist/assets/{index.7ccfac4f.js → index.5c54c17f.js} +1 -1
- package/dist/assets/{index.9f4f31bb.js → index.5f5bf5b9.js} +1 -1
- package/dist/assets/{index.7d3af32f.js → index.60d33aa1.js} +1 -1
- package/dist/assets/{index.1a744da7.js → index.627523d7.js} +1 -1
- package/dist/assets/{index.3fcf2822.js → index.63d1f569.js} +1 -1
- package/dist/assets/{index.16d5015d.js → index.663b73a9.js} +1 -1
- package/dist/assets/{index.59759bad.js → index.6bebaca7.js} +1 -1
- package/dist/assets/{index.28cc485f.js → index.6f0b7179.js} +1 -1
- package/dist/assets/{index.895a297f.css → index.6f497914.css} +1 -1
- package/dist/assets/{index.f73d801d.js → index.7249f524.js} +1 -1
- package/dist/assets/{index.7011d0c4.js → index.77260d1d.js} +1 -1
- package/dist/assets/{index.7b6f6a30.js → index.7f906cfe.js} +1 -1
- package/dist/assets/{index.b6f0287a.js → index.7fd5e2a0.js} +1 -1
- package/dist/assets/{index.731ea486.js → index.7fe984e4.js} +1 -1
- package/dist/assets/{index.9459ab09.js → index.8493b2e7.js} +1 -1
- package/dist/assets/{index.2c806494.js → index.85b9f847.js} +1 -1
- package/dist/assets/{index.f2b97e8c.js → index.8a9f2874.js} +1 -1
- package/dist/assets/{index.67e35129.js → index.93059741.js} +1 -1
- package/dist/assets/{index.9ff8ac88.js → index.94cf6fb4.js} +1 -1
- package/dist/assets/{index.3f26bd55.js → index.98713a56.js} +1 -1
- package/dist/assets/{index.530b8f76.js → index.98ee194a.js} +1 -1
- package/dist/assets/{index.3f629050.js → index.9b60cfa4.js} +1 -1
- package/dist/assets/{index.dbfcc1a7.js → index.a3e085ea.js} +1 -1
- package/dist/assets/{index.0ec094a3.js → index.a40592f5.js} +1 -1
- package/dist/assets/{index.da530994.js → index.a5d15d7f.js} +1 -1
- package/dist/assets/{index.91fa7a8d.js → index.a71fa74c.js} +1 -1
- package/dist/assets/{index.178f5aaf.js → index.a8aa4628.js} +1 -1
- package/dist/assets/{index.528b0171.js → index.a9b73f2c.js} +1 -1
- package/dist/assets/{index.656a3daa.js → index.a9faa4e8.js} +1 -1
- package/dist/assets/{index.3651f13c.js → index.af021d8a.js} +1 -1
- package/dist/assets/{index.c83f5be4.js → index.b43832c6.js} +1 -1
- package/dist/assets/{index.9fd2f4fc.js → index.b5ed5076.js} +1 -1
- package/dist/assets/{index.bfffbb2b.js → index.b67f8116.js} +1 -1
- package/dist/assets/{index.360682df.js → index.b702042e.js} +1 -1
- package/dist/assets/{index.5ef47d94.js → index.bce5f50d.js} +1 -1
- package/dist/assets/{index.d2a1f961.js → index.bfd23a9c.js} +1 -1
- package/dist/assets/{index.876852bd.entry.js → index.c2e31551.entry.js} +209 -209
- package/dist/assets/{index.e3eade04.js → index.c2e6211e.js} +1 -1
- package/dist/assets/{index.d7109bf7.js → index.c35b11e6.js} +1 -1
- package/dist/assets/{index.f03e3a04.js → index.c5266851.js} +1 -1
- package/dist/assets/{index.219a17f2.js → index.c6e501ec.js} +1 -1
- package/dist/assets/{index.7efa08a7.js → index.c9fb33ab.js} +1 -1
- package/dist/assets/{index.2d502598.js → index.cc6496a8.js} +1 -1
- package/dist/assets/{index.3142cfab.js → index.cda6c2d6.js} +1 -1
- package/dist/assets/{index.33ca7318.js → index.cef58c9b.js} +1 -1
- package/dist/assets/{index.c8cd968e.js → index.d060d5f6.js} +1 -1
- package/dist/assets/{index.29e951ca.js → index.d0fe3776.js} +1 -1
- package/dist/assets/{index.94d7ade8.js → index.d653bbf2.js} +1 -1
- package/dist/assets/{index.06b1bc9f.js → index.d8fe2ade.js} +1 -1
- package/dist/assets/{index.577a0434.js → index.d9285c22.js} +1 -1
- package/dist/assets/{index.3db870b4.js → index.e3dcc63c.js} +1 -1
- package/dist/assets/{index.a22ebf71.js → index.e6715953.js} +1 -1
- package/dist/assets/{index.cb9930fe.js → index.ebb444cf.js} +1 -1
- package/dist/assets/{index.b0a109be.js → index.ee22568a.js} +1 -1
- package/dist/assets/{index.708c2587.js → index.ef3faba8.js} +1 -1
- package/dist/assets/index.f0d32a46.js +26 -0
- package/dist/assets/{index.aadb91bf.js → index.fa57ca3f.js} +1 -1
- package/dist/assets/{input-rich-text-html.05181995.css → input-rich-text-html.172a38cb.css} +1 -1
- package/dist/assets/{input-rich-text-html.ec8448e4.js → input-rich-text-html.c72d474e.js} +47 -47
- package/dist/assets/insights.b3ba896c.js +2 -0
- package/dist/assets/installation.2025f88b.js +1 -0
- package/dist/assets/interfaces.606c790c.js +46 -0
- package/dist/assets/introduction.41a72fb0.js +1 -0
- package/dist/assets/introduction.527c3465.js +4 -0
- package/dist/assets/introduction.5566b96e.js +90 -0
- package/dist/assets/introduction.ecd17b88.js +1 -0
- package/dist/assets/{it-IT.558525d2.js → it-IT.58422a56.js} +1 -1
- package/dist/assets/items.d1f658a9.js +1 -0
- package/dist/assets/items.d9c6a0b4.js +136 -0
- package/dist/assets/{javascript-hint.7c0e2348.js → javascript-hint.af96cc6a.js} +1 -1
- package/dist/assets/{javascript.549d0ba4.js → javascript.ed7a2c00.js} +1 -1
- package/dist/assets/{jinja2.5aada9b5.js → jinja2.541c30d3.js} +1 -1
- package/dist/assets/{jsx.560c7673.js → jsx.211ba53b.js} +1 -1
- package/dist/assets/{julia.4b70a3c2.js → julia.66e518ec.js} +1 -1
- package/dist/assets/{ko-KR.5a129780.js → ko-KR.9056bd31.js} +1 -1
- package/dist/assets/{ku-TR.9eee23ff.js → ku-TR.3a07a57e.js} +1 -1
- package/dist/assets/layouts.0aa8d645.js +54 -0
- package/dist/assets/layouts.14b157dc.js +1 -0
- package/dist/assets/{livescript.c54303a1.js → livescript.06428372.js} +1 -1
- package/dist/assets/localization.c89061c7.js +1 -0
- package/dist/assets/{lt-LT.7c7364ab.js → lt-LT.f2d719ff.js} +1 -1
- package/dist/assets/{lua.eee6a1df.js → lua.4f86b0e3.js} +1 -1
- package/dist/assets/manual.20d730b3.js +12 -0
- package/dist/assets/{mark-selection.c75b2260.js → mark-selection.c376d4be.js} +1 -1
- package/dist/assets/{match-highlighter.06888b25.js → match-highlighter.75cb1404.js} +1 -1
- package/dist/assets/{mathematica.836a919a.js → mathematica.1e1f53c5.js} +1 -1
- package/dist/assets/{mbox.a18f3acd.js → mbox.4a5729c3.js} +1 -1
- package/dist/assets/{migrations.48bae78b.js → migrations.f13ec64d.js} +3 -3
- package/dist/assets/{mirc.8d633a4c.js → mirc.9b793041.js} +1 -1
- package/dist/assets/{mllike.ee0a0e4e.js → mllike.4e43f07d.js} +1 -1
- package/dist/assets/{mn-MN.ae109212.js → mn-MN.c504a096.js} +1 -1
- package/dist/assets/{modelica.806d9c14.js → modelica.deb73769.js} +1 -1
- package/dist/assets/modules.9b5ee510.js +69 -0
- package/dist/assets/{ms-MY.e50ff23a.js → ms-MY.e6553dad.js} +1 -1
- package/dist/assets/{mscgen.81143483.js → mscgen.48ffdfc0.js} +1 -1
- package/dist/assets/{multiplex.b5f6827f.js → multiplex.a2d83d7f.js} +1 -1
- package/dist/assets/{mumps.af4fdb4c.js → mumps.210b8bdf.js} +1 -1
- package/dist/assets/{nginx.a80ef11d.js → nginx.dbe68b8c.js} +1 -1
- package/dist/assets/{nl-NL.e22dd4e0.js → nl-NL.2f00af44.js} +1 -1
- package/dist/assets/{no-NO.6edd4997.js → no-NO.59f9d425.js} +1 -1
- package/dist/assets/notifications.674ee6f9.js +153 -0
- package/dist/assets/{nsis.6c7c39d8.js → nsis.5576ebf1.js} +1 -1
- package/dist/assets/{ntriples.9c907279.js → ntriples.07c64718.js} +1 -1
- package/dist/assets/{octave.1e59cd30.js → octave.9cb94caa.js} +1 -1
- package/dist/assets/operations.46679bea.js +1 -0
- package/dist/assets/operations.9995851b.js +169 -0
- package/dist/assets/{overlay.c92748f5.js → overlay.b1fd0f5a.js} +1 -1
- package/dist/assets/overview.3616b560.js +1 -0
- package/dist/assets/overview.3c9f8f3d.js +1 -0
- package/dist/assets/overview.6438dc44.js +1 -0
- package/dist/assets/{oz.fccca05b.js → oz.4bedbc84.js} +1 -1
- package/dist/assets/panels.570ee526.js +65 -0
- package/dist/assets/{pascal.ba64f8f0.js → pascal.9f3e47db.js} +1 -1
- package/dist/assets/{pegjs.6dfcd58b.js → pegjs.38dabda4.js} +1 -1
- package/dist/assets/{perl.0e74be0a.js → perl.d07c357e.js} +1 -1
- package/dist/assets/permissions.768d1878.js +178 -0
- package/dist/assets/{php.d233db82.js → php.a2fb29e5.js} +1 -1
- package/dist/assets/{pig.21e0eb3e.js → pig.cc357f9e.js} +1 -1
- package/dist/assets/{pinia.10afb35e.entry.js → pinia.256cc3da.entry.js} +1 -1
- package/dist/assets/{pl-PL.88defd20.js → pl-PL.80cfbed6.js} +1 -1
- package/dist/assets/plesk.b0ee9a9a.js +27 -0
- package/dist/assets/{powershell.da69d4e0.js → powershell.283f357b.js} +1 -1
- package/dist/assets/presets-bookmarks.522baf53.js +1 -0
- package/dist/assets/presets.d902ebfa.js +164 -0
- package/dist/assets/project-settings.1f95b799.js +1 -0
- package/dist/assets/projects.1ea6a392.js +1 -0
- package/dist/assets/{properties.a4628831.js → properties.57480d0c.js} +1 -1
- package/dist/assets/{protobuf.f0f96141.js → protobuf.c1758733.js} +1 -1
- package/dist/assets/{pt-BR.70dc0b86.js → pt-BR.40750500.js} +1 -1
- package/dist/assets/pt-PT.fae0fcc3.js +1 -0
- package/dist/assets/{pug.3fee26d4.js → pug.bdcaf1c5.js} +1 -1
- package/dist/assets/{puppet.60ebf719.js → puppet.8b6ff9f4.js} +1 -1
- package/dist/assets/{python.a209d75c.js → python.987c2ae7.js} +1 -1
- package/dist/assets/{q.9bc79202.js → q.85f4c589.js} +1 -1
- package/dist/assets/query.8abea6de.js +152 -0
- package/dist/assets/quickstart.75164dd7.js +9 -0
- package/dist/assets/quickstart.9985cb15.js +20 -0
- package/dist/assets/{r.73746445.js → r.25d10fd4.js} +1 -1
- package/dist/assets/relations.9011b2b5.js +115 -0
- package/dist/assets/relationships.cbc9b1c5.js +55 -0
- package/dist/assets/resources.25cb1e34.js +1 -0
- package/dist/assets/revisions.c90ecb76.js +40 -0
- package/dist/assets/{ro-RO.335d3129.js → ro-RO.a1adfb6a.js} +1 -1
- package/dist/assets/roles.22f7aa37.js +171 -0
- package/dist/assets/{rpm.b64d60a3.js → rpm.8909ead0.js} +1 -1
- package/dist/assets/{rst.d4af1cd8.js → rst.4d43ef54.js} +1 -1
- package/dist/assets/{ru-RU.2ccef41d.js → ru-RU.35703ea4.js} +1 -1
- package/dist/assets/{ruby.a80f4c3d.js → ruby.b7e26986.js} +1 -1
- package/dist/assets/running-locally.ce0a8200.js +26 -0
- package/dist/assets/{runtime-core.esm-bundler.e6808e6c.js → runtime-core.esm-bundler.b1f35d24.js} +0 -0
- package/dist/assets/{rust.899c7d8f.js → rust.6984b11a.js} +1 -1
- package/dist/assets/{sas.41f29cd7.js → sas.91990a72.js} +1 -1
- package/dist/assets/{sass.1d8f58d7.js → sass.898f89c7.js} +1 -1
- package/dist/assets/{scheme.2ab5ffc7.js → scheme.f661c5b8.js} +1 -1
- package/dist/assets/{sdk.482f914b.js → sdk.916109ed.js} +59 -59
- package/dist/assets/security.1963da73.js +1 -0
- package/dist/assets/server.afec52fc.js +114 -0
- package/dist/assets/settings.835be62f.js +51 -0
- package/dist/assets/{settings.3849af9a.js → settings.a02abd85.js} +1 -1
- package/dist/assets/{shell.a3cecf64.js → shell.af2902da.js} +1 -1
- package/dist/assets/{show-hint.3f4ba8eb.js → show-hint.2d43524d.js} +1 -1
- package/dist/assets/{sieve.f25d24f4.js → sieve.327a81f8.js} +1 -1
- package/dist/assets/{simple.c984322a.js → simple.4fb4f28d.js} +1 -1
- package/dist/assets/{sl-SI.e8321ed4.js → sl-SI.632899f8.js} +1 -1
- package/dist/assets/{slim.3db1f064.js → slim.e97ce531.js} +1 -1
- package/dist/assets/{smalltalk.f551ff39.js → smalltalk.b9556415.js} +1 -1
- package/dist/assets/{smarty.afd9c30f.js → smarty.d91926e3.js} +1 -1
- package/dist/assets/{solr.c9696404.js → solr.20381d3e.js} +1 -1
- package/dist/assets/{soy.1a041a45.js → soy.a0154260.js} +1 -1
- package/dist/assets/{sparql.8928a4e7.js → sparql.36de4d3f.js} +1 -1
- package/dist/assets/{spreadsheet.b508d495.js → spreadsheet.00a4877b.js} +1 -1
- package/dist/assets/{sql.ca615946.js → sql.1f7dd82a.js} +1 -1
- package/dist/assets/{sr-CS.4de79c8e.js → sr-CS.2e5b18be.js} +1 -1
- package/dist/assets/{sso-examples.b4ec54d6.js → sso-examples.048b39c5.js} +12 -12
- package/dist/assets/sso.70be105f.js +22 -0
- package/dist/assets/{stex.49bcb53e.js → stex.2b7cb363.js} +1 -1
- package/dist/assets/{stylus.861b3b1d.js → stylus.123ca166.js} +1 -1
- package/dist/assets/support.fce2dba5.js +1 -0
- package/dist/assets/{sv-SE.0f875403.js → sv-SE.d485ddd3.js} +1 -1
- package/dist/assets/{swift.3f2d8cb3.js → swift.9ca91d28.js} +1 -1
- package/dist/assets/{tcl.cd07bc30.js → tcl.1b7f83bd.js} +1 -1
- package/dist/assets/teams.44eb670e.js +1 -0
- package/dist/assets/{textile.a63fbf58.js → textile.ee402504.js} +1 -1
- package/dist/assets/{th-TH.2ebd6079.js → th-TH.1e9ab13f.js} +1 -1
- package/dist/assets/themes.e4a7762f.js +5 -0
- package/dist/assets/{tiddlywiki.f2f348c0.js → tiddlywiki.67540872.js} +1 -1
- package/dist/assets/{tiki.ba369f07.js → tiki.fb6dd4a0.js} +1 -1
- package/dist/assets/{toml.31bb978b.js → toml.9c5fe3d8.js} +1 -1
- package/dist/assets/{tornado.1777e143.js → tornado.c681a8fd.js} +1 -1
- package/dist/assets/tr-TR.feb24957.js +1 -0
- package/dist/assets/translation-strings.4ed25965.js +1 -0
- package/dist/assets/translations.cf2353ca.js +1 -0
- package/dist/assets/triggers.05092cdf.js +1 -0
- package/dist/assets/{troff.1d83c4c6.js → troff.a6f4e798.js} +1 -1
- package/dist/assets/{ttcn-cfg.7fa2f9b9.js → ttcn-cfg.a0214838.js} +1 -1
- package/dist/assets/{ttcn.5f856a38.js → ttcn.4c22a431.js} +1 -1
- package/dist/assets/{turtle.3c6fdbbb.js → turtle.d40e9c31.js} +1 -1
- package/dist/assets/{twig.542faf41.js → twig.d78613df.js} +1 -1
- package/dist/assets/{ubuntu.d721892a.js → ubuntu.35dc97df.js} +1 -1
- package/dist/assets/uk-UA.0e92f9a4.js +1 -0
- package/dist/assets/upgrades-migrations.9218bbe9.js +1 -0
- package/dist/assets/use-sync.c0f4dfab.js +28 -0
- package/dist/assets/user-directory.3daaa818.js +1 -0
- package/dist/assets/users-roles-permissions.6e18f7ca.js +1 -0
- package/dist/assets/users.4f11a7c5.js +252 -0
- package/dist/assets/utilities.0e0d0ace.js +74 -0
- package/dist/assets/{vb.660ea551.js → vb.5adeb8ea.js} +1 -1
- package/dist/assets/{vbscript.8d60ba84.js → vbscript.27937162.js} +1 -1
- package/dist/assets/{velocity.2c820c8c.js → velocity.581c25aa.js} +1 -1
- package/dist/assets/{verilog.a6d857f3.js → verilog.9f72c282.js} +1 -1
- package/dist/assets/{vhdl.1739da74.js → vhdl.4d290e0b.js} +1 -1
- package/dist/assets/{vi-VN.7aaf0f64.js → vi-VN.3e9c985f.js} +1 -1
- package/dist/assets/{vue-i18n.540626ab.entry.js → vue-i18n.ecb0af35.entry.js} +1 -1
- package/dist/assets/{vue-router.3ef5d657.entry.js → vue-router.8987d576.entry.js} +1 -1
- package/dist/assets/{vue.2ddff80c.entry.js → vue.1f4d921a.entry.js} +1 -1
- package/dist/assets/{vue.6a736ef9.js → vue.cf5a232a.js} +1 -1
- package/dist/assets/{vue.runtime.esm-bundler.f4ce1cef.js → vue.runtime.esm-bundler.ac4ff7af.js} +1 -1
- package/dist/assets/{wast.4a6e6c0b.js → wast.16f886c5.js} +1 -1
- package/dist/assets/webhooks.00ee297b.js +147 -0
- package/dist/assets/webhooks.01ddb390.js +1 -0
- package/dist/assets/{webidl.92e5974e.js → webidl.1185b166.js} +1 -1
- package/dist/assets/{xquery.2e4160b5.js → xquery.34864271.js} +1 -1
- package/dist/assets/{yacas.3afca2ee.js → yacas.880a270b.js} +1 -1
- package/dist/assets/{yaml-frontmatter.312d62d5.js → yaml-frontmatter.4cec6c13.js} +1 -1
- package/dist/assets/{yaml.71c2f2cd.js → yaml.15292258.js} +1 -1
- package/dist/assets/{z80.e076e688.js → z80.727a7271.js} +1 -1
- package/dist/assets/{zh-CN.d7b18680.js → zh-CN.432cf71e.js} +1 -1
- package/dist/assets/{zh-TW.4802ae81.js → zh-TW.cac20c88.js} +1 -1
- package/dist/index.html +8 -8
- package/package.json +7 -6
- package/dist/assets/accounts.6a41a439.js +0 -1
- package/dist/assets/activity.737e1d30.js +0 -80
- package/dist/assets/ar-SA.1270865d.js +0 -1
- package/dist/assets/authentication.77ec921a.js +0 -73
- package/dist/assets/aws.f94e1168.js +0 -1
- package/dist/assets/backing-directus.16949f6d.js +0 -1
- package/dist/assets/cli.18caf1f2.js +0 -19
- package/dist/assets/cli.774a4996.js +0 -4
- package/dist/assets/codebase-overview.d6365b1a.js +0 -1
- package/dist/assets/collections.5ec4ec4a.js +0 -2
- package/dist/assets/collections.e66dacd4.js +0 -106
- package/dist/assets/config-options.5b139611.js +0 -138
- package/dist/assets/content.0fca8e70.js +0 -1
- package/dist/assets/creating-extensions.09899f65.js +0 -11
- package/dist/assets/data-model.98153925.js +0 -1
- package/dist/assets/data-sharing.06e8a06f.js +0 -1
- package/dist/assets/de-DE.a45e2867.js +0 -1
- package/dist/assets/digitalocean-app-platform.7da3c7a1.js +0 -3
- package/dist/assets/display-templates.cd179d19.js +0 -1
- package/dist/assets/displays.1ee1f2b5.js +0 -49
- package/dist/assets/es-ES.90a08b21.js +0 -1
- package/dist/assets/extensions.a51d3924.js +0 -12
- package/dist/assets/faq.7bde76ae.js +0 -2
- package/dist/assets/fields.1f2e77de.js +0 -135
- package/dist/assets/file-library.3626307c.js +0 -1
- package/dist/assets/files.e045e557.js +0 -189
- package/dist/assets/filter-rules.247581e5.js +0 -76
- package/dist/assets/filters.43e74661.js +0 -1
- package/dist/assets/flows.323ce75f.js +0 -15
- package/dist/assets/flows.5f5e16d5.js +0 -172
- package/dist/assets/folders.56c9a624.js +0 -132
- package/dist/assets/fr-CA.7669aed8.js +0 -1
- package/dist/assets/github-ci.fbe7bc68.js +0 -2
- package/dist/assets/glossary.321fe2e7.js +0 -1
- package/dist/assets/glossary.8e8d2e42.js +0 -1
- package/dist/assets/hooks.c8418066.js +0 -60
- package/dist/assets/import-export.c48e51e7.js +0 -2
- package/dist/assets/index.9001e465.css +0 -1
- package/dist/assets/index.9ac418f5.js +0 -26
- package/dist/assets/insights.91323cd9.js +0 -2
- package/dist/assets/installation.52e4ff88.js +0 -1
- package/dist/assets/interfaces.3a13d91e.js +0 -46
- package/dist/assets/introduction.651560f1.js +0 -1
- package/dist/assets/introduction.8442768e.js +0 -4
- package/dist/assets/introduction.8fbc61cf.js +0 -1
- package/dist/assets/introduction.a7d534ac.js +0 -90
- package/dist/assets/items.21c2f5c1.js +0 -1
- package/dist/assets/items.89e120a5.js +0 -136
- package/dist/assets/layouts.1ab2977a.js +0 -1
- package/dist/assets/layouts.ec7b7659.js +0 -54
- package/dist/assets/localization.7df8d876.js +0 -1
- package/dist/assets/manual.1cafb3c9.js +0 -10
- package/dist/assets/modules.ba273153.js +0 -69
- package/dist/assets/notifications.1e1cfcf8.js +0 -153
- package/dist/assets/operations.054152be.js +0 -1
- package/dist/assets/operations.cd009c46.js +0 -169
- package/dist/assets/overview.70f19d6e.js +0 -1
- package/dist/assets/overview.a1ad38f6.js +0 -1
- package/dist/assets/overview.b5ff02e8.js +0 -1
- package/dist/assets/panels.a7ccfe62.js +0 -65
- package/dist/assets/permissions.7a7896f5.js +0 -178
- package/dist/assets/plesk.e70d310e.js +0 -27
- package/dist/assets/presets-bookmarks.03f2cacf.js +0 -1
- package/dist/assets/presets.78562380.js +0 -164
- package/dist/assets/project-settings.1ca9f129.js +0 -1
- package/dist/assets/projects.8310e11a.js +0 -1
- package/dist/assets/pt-PT.011f0864.js +0 -1
- package/dist/assets/query.23aa38a2.js +0 -152
- package/dist/assets/quickstart.2ad94821.js +0 -20
- package/dist/assets/quickstart.59a0c62f.js +0 -9
- package/dist/assets/relations.c6b50878.js +0 -115
- package/dist/assets/relationships.7a08adb6.js +0 -55
- package/dist/assets/resources.a731a4ac.js +0 -1
- package/dist/assets/revisions.69b22e98.js +0 -40
- package/dist/assets/roles.caf226aa.js +0 -171
- package/dist/assets/running-locally.0df06054.js +0 -26
- package/dist/assets/security.e53645ff.js +0 -1
- package/dist/assets/server.c899d180.js +0 -114
- package/dist/assets/settings.2dce0b3a.js +0 -51
- package/dist/assets/sso.83af860e.js +0 -22
- package/dist/assets/support.ec8c583f.js +0 -1
- package/dist/assets/teams.cd070396.js +0 -1
- package/dist/assets/themes.6b4fa5ad.js +0 -5
- package/dist/assets/tr-TR.bf97340d.js +0 -1
- package/dist/assets/translation-strings.20caaf44.js +0 -1
- package/dist/assets/translations.b0669f1b.js +0 -1
- package/dist/assets/triggers.ef2f026f.js +0 -1
- package/dist/assets/uk-UA.3d9cc5ac.js +0 -1
- package/dist/assets/upgrades-migrations.7ca77eae.js +0 -1
- package/dist/assets/use-sync.a493fd37.js +0 -28
- package/dist/assets/user-directory.1e43d57c.js +0 -1
- package/dist/assets/users-roles-permissions.298f1d29.js +0 -1
- package/dist/assets/users.c27bf116.js +0 -252
- package/dist/assets/utilities.5c027346.js +0 -74
- package/dist/assets/webhooks.c44db11b.js +0 -147
- package/dist/assets/webhooks.dcb64844.js +0 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import{a as t,o as i,b as h,w as n,g as s,e as r,B as e}from"./runtime-core.esm-bundler.b1f35d24.js";const p={class:"markdown-body"},d={class:"two-up"},u={class:"left"},g=e("Provides detailed information about the project server, its schema, and its health. "),_=e("Learn more about Projects"),f=e("."),m=s("div",{class:"right"},[s("p",null,[s("div",{class:"table-of-contents"},[s("ul",null,[s("li",null,[s("a",{href:"#get-openapi-specification"},"Get OpenAPI Specification ")]),s("li",null,[s("a",{href:"#get-graphql-sdl"},"Get GraphQL SDL ")]),s("li",null,[s("a",{href:"#ping"},"Ping ")]),s("li",null,[s("a",{href:"#info"},"Info ")]),s("li",null,[s("a",{href:"#health"},"Health ")])])])])],-1),j=s("hr",null,null,-1),y=s("h2",{id:"get-openapi-specification",tabindex:"-1"},[e("Get OpenAPI Specification "),s("a",{class:"header-anchor",href:"#get-openapi-specification"},"#")],-1),b=s("p",null,"Retrieve the OpenAPI spec for the current project.",-1),v=s("div",{class:"two-up"},[s("div",{class:"left"},[s("div",{class:"tip hint"},[s("div",{class:"hint-title"},"Permissions"),s("p",null,"This OAS spec is based on the read permissions of the currently authenticated user.")]),s("h3",{id:"returns",tabindex:"-1"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns"},"#")]),s("p",null,[e("Object conforming to "),s("a",{href:"https://swagger.io/specification/",target:"_blank",rel:"noopener noreferrer"},"the OpenAPI Specification")])]),s("div",{class:"right"},[s("h3",{id:"rest-api",tabindex:"-1"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api"},"#")]),s("pre",null,[s("code",null,`GET /server/specs/oas
|
|
2
|
+
`)]),s("h3",{id:"graphql",tabindex:"-1"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
|
|
3
|
+
`)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
|
|
4
|
+
server_specs_oas:`),s("span",{class:"hljs-type"}," String"),e(`
|
|
5
|
+
}
|
|
6
|
+
`)])]),s("h5",{id:"example",tabindex:"-1"},[e("Example "),s("a",{class:"header-anchor",href:"#example"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
|
|
7
|
+
server_specs_oas
|
|
8
|
+
}
|
|
9
|
+
`)])])])],-1),x=s("hr",null,null,-1),q=s("h2",{id:"get-graphql-sdl",tabindex:"-1"},[e("Get GraphQL SDL "),s("a",{class:"header-anchor",href:"#get-graphql-sdl"},"#")],-1),k=s("p",null,"Retrieve the GraphQL SDL for the current project.",-1),w=s("div",{class:"two-up"},[s("div",{class:"left"},[s("div",{class:"tip hint"},[s("div",{class:"hint-title"},"Permissions"),s("p",null,"The SDL is based on the permissions of the currently authenticated user.")]),s("h3",{id:"returns-1",tabindex:"-1"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-1"},"#")]),s("p",null,"GraphQL SDL file."),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),e(` about_us {
|
|
10
|
+
id:`),s("span",{class:"hljs-type"}," Int"),e(`
|
|
11
|
+
introduction:`),s("span",{class:"hljs-type"}," String"),e(`
|
|
12
|
+
our_process:`),s("span",{class:"hljs-type"}," String"),e(`
|
|
13
|
+
sales_email:`),s("span",{class:"hljs-type"}," String"),e(`
|
|
14
|
+
general_email:`),s("span",{class:"hljs-type"}," String"),e(`
|
|
15
|
+
primary_color:`),s("span",{class:"hljs-type"}," String"),e(`
|
|
16
|
+
secondary_color:`),s("span",{class:"hljs-type"}," String"),e(`
|
|
17
|
+
logo: directus_files
|
|
18
|
+
mark: directus_files
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
`),s("span",{class:"hljs-keyword"},"type"),e(` articles {
|
|
22
|
+
id:`),s("span",{class:"hljs-type"}," Int"),e(`
|
|
23
|
+
status:`),s("span",{class:"hljs-type"}," String"),e(`
|
|
24
|
+
`),s("span",{class:"hljs-keyword"},"..."),e(`
|
|
25
|
+
`),s("span",{class:"hljs-comment"},"# etc"),e(`
|
|
26
|
+
`)])])]),s("div",{class:"right"},[s("h3",{id:"rest-api-1",tabindex:"-1"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-1"},"#")]),s("pre",null,[s("code",null,`GET /server/specs/graphql/
|
|
27
|
+
GET /server/specs/graphql/system
|
|
28
|
+
`)]),s("h3",{id:"graphql-1",tabindex:"-1"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-1"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
|
|
29
|
+
`)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
|
|
30
|
+
server_specs_graphql(scope: graphql_sdl_scope):`),s("span",{class:"hljs-type"}," String"),e(`
|
|
31
|
+
}
|
|
32
|
+
`)])]),s("h5",{id:"example-1",tabindex:"-1"},[e("Example "),s("a",{class:"header-anchor",href:"#example-1"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
|
|
33
|
+
server_specs_graphql(scope: `),s("span",{class:"hljs-string"},'"system"'),e(`)
|
|
34
|
+
}
|
|
35
|
+
`)])])])],-1),S=s("hr",null,null,-1),T=s("h2",{id:"ping",tabindex:"-1"},[e("Ping "),s("a",{class:"header-anchor",href:"#ping"},"#")],-1),P=s("p",null,"Ping\u2026 pong! \u{1F3D3}",-1),A=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"returns-2",tabindex:"-1"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-2"},"#")]),s("p",null,"Pong.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-2",tabindex:"-1"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),s("pre",null,[s("code",null,`GET /server/ping
|
|
36
|
+
`)]),s("h3",{id:"graphql-2",tabindex:"-1"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-2"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
|
|
37
|
+
`)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
|
|
38
|
+
server_ping:`),s("span",{class:"hljs-type"}," String"),e(`
|
|
39
|
+
}
|
|
40
|
+
`)])]),s("h5",{id:"example-2",tabindex:"-1"},[e("Example "),s("a",{class:"header-anchor",href:"#example-2"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
|
|
41
|
+
server_ping
|
|
42
|
+
}
|
|
43
|
+
`)])])])],-1),G=s("hr",null,null,-1),I=s("h2",{id:"info",tabindex:"-1"},[e("Info "),s("a",{class:"header-anchor",href:"#info"},"#")],-1),E=s("p",null,"Information about the current installation.",-1),R={class:"two-up"},L={class:"left"},Q=s("div",{class:"tip hint"},[s("div",{class:"hint-title"},"Permissions"),s("p",null,"The public information is returned for everybody. Admin users get additional information (see below).")],-1),O=s("h3",{id:"returns-3",tabindex:"-1"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-3"},"#")],-1),D={class:"definitions"},C=s("p",null,[s("code",null,"project"),e(),s("strong",null,"object"),s("br"),e(" Public information about the project. Used to render the Admin App public pages.")],-1),H=e("See "),B=e("the settings object"),V=e(" for more information on the individual properties of the "),N=s("code",null,"project",-1),U=e(" object."),W=s("p",null,"Admin users also get the following information:",-1),z=s("div",{class:"definitions"},[s("p",null,[s("code",null,"directus.version"),e(),s("strong",null,"string"),s("br"),e(" Current version of Directus used.")]),s("p",null,[s("code",null,"node.version"),e(),s("strong",null,"string"),s("br"),e(" Current version of Node used.")]),s("p",null,[s("code",null,"node.uptime"),e(),s("strong",null,"integer"),s("br"),e(" How long the current process has been running.")]),s("p",null,[s("code",null,"os.type"),e(),s("strong",null,"string"),s("br"),e(" What type of operation system is used.")]),s("p",null,[s("code",null,"os.version"),e(),s("strong",null,"string"),s("br"),e(" What version of the operation system is used.")]),s("p",null,[s("code",null,"os.uptime"),e(),s("strong",null,"string"),s("br"),e(" How long the operating system has been up.")]),s("p",null,[s("code",null,"os.totalmem"),e(),s("strong",null,"string"),s("br"),e(" How much memory is available on the operating system.")])],-1),F=s("div",{class:"right"},[s("h3",{id:"rest-api-3",tabindex:"-1"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),s("pre",null,[s("code",null,`GET /server/info
|
|
44
|
+
`)]),s("h3",{id:"graphql-3",tabindex:"-1"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-3"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
|
|
45
|
+
`)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
|
|
46
|
+
server_info: server_info
|
|
47
|
+
}
|
|
48
|
+
`)])]),s("h5",{id:"example-3",tabindex:"-1"},[e("Example "),s("a",{class:"header-anchor",href:"#example-3"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
|
|
49
|
+
server_info {
|
|
50
|
+
directus {
|
|
51
|
+
version
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
`)])])],-1),J=s("hr",null,null,-1),K=s("h2",{id:"health",tabindex:"-1"},[e("Health "),s("a",{class:"header-anchor",href:"#health"},"#")],-1),M=s("p",null,"Get the current health status of the server.",-1),X=s("div",{class:"two-up"},[s("div",{class:"left"},[s("p",null,[e("The "),s("code",null,"/server/health"),e(" endpoint shows you a general health status for the server and all connected (third party) services, such as Redis or S3.")]),s("p",null,[e("The output is based on the \u201CHealth Check Response for HTTP APIs\u201D draft spec: "),s("a",{href:"https://tools.ietf.org/id/draft-inadarei-api-health-check-05.html",target:"_blank",rel:"noopener noreferrer"},"Health Check Response Format for HTTP APIs Draft Specification"),e(".")]),s("p",null,"This endpoint can be used to ensure a healthy system when running in a horizontally scaled setup, like Kubernetes, Google Cloud Platform or AWS Elastic Beanstalk."),s("p",null,[e("By default, the endpoint only returns a "),s("code",null,"status"),e(" of "),s("code",null,"ok"),e(", "),s("code",null,"warn"),e(" or "),s("code",null,"error"),e(". By authenticating as an admin, it will return more in-depth information about the current health status of the system.")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// Response"),e(`
|
|
56
|
+
|
|
57
|
+
`),s("span",{class:"hljs-comment"},"// Non-admin"),e(`
|
|
58
|
+
{
|
|
59
|
+
`),s("span",{class:"hljs-attr"},'"status"'),e(": "),s("span",{class:"hljs-string"},'"ok"'),e(`
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
`),s("span",{class:"hljs-comment"},"// Admin"),e(`
|
|
63
|
+
{
|
|
64
|
+
`),s("span",{class:"hljs-attr"},'"status"'),e(": "),s("span",{class:"hljs-string"},'"ok"'),e(`,
|
|
65
|
+
`),s("span",{class:"hljs-attr"},'"releaseId"'),e(": "),s("span",{class:"hljs-string"},'"9.0.0"'),e(`,
|
|
66
|
+
`),s("span",{class:"hljs-attr"},'"serviceId"'),e(": "),s("span",{class:"hljs-string"},'"3292c816-ae02-43b4-ba91-f0bb549f040c"'),e(`,
|
|
67
|
+
`),s("span",{class:"hljs-attr"},'"checks"'),e(`: {
|
|
68
|
+
`),s("span",{class:"hljs-attr"},'"pg:responseTime"'),e(`: [
|
|
69
|
+
{
|
|
70
|
+
`),s("span",{class:"hljs-attr"},'"status"'),e(": "),s("span",{class:"hljs-string"},'"ok"'),e(`,
|
|
71
|
+
`),s("span",{class:"hljs-attr"},'"componentType"'),e(": "),s("span",{class:"hljs-string"},'"datastore"'),e(`,
|
|
72
|
+
`),s("span",{class:"hljs-attr"},'"observedUnit"'),e(": "),s("span",{class:"hljs-string"},'"ms"'),e(`,
|
|
73
|
+
`),s("span",{class:"hljs-attr"},'"observedValue"'),e(": "),s("span",{class:"hljs-number"},"0.489"),e(`
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
`),s("span",{class:"hljs-attr"},'"pg:connectionsAvailable"'),e(`: [
|
|
77
|
+
{
|
|
78
|
+
`),s("span",{class:"hljs-attr"},'"status"'),e(": "),s("span",{class:"hljs-string"},'"ok"'),e(`,
|
|
79
|
+
`),s("span",{class:"hljs-attr"},'"componentType"'),e(": "),s("span",{class:"hljs-string"},'"datastore"'),e(`,
|
|
80
|
+
`),s("span",{class:"hljs-attr"},'"observedValue"'),e(": "),s("span",{class:"hljs-number"},"2"),e(`
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
`),s("span",{class:"hljs-attr"},'"pg:connectionsUsed"'),e(`: [
|
|
84
|
+
{
|
|
85
|
+
`),s("span",{class:"hljs-attr"},'"status"'),e(": "),s("span",{class:"hljs-string"},'"ok"'),e(`,
|
|
86
|
+
`),s("span",{class:"hljs-attr"},'"componentType"'),e(": "),s("span",{class:"hljs-string"},'"datastore"'),e(`,
|
|
87
|
+
`),s("span",{class:"hljs-attr"},'"observedValue"'),e(": "),s("span",{class:"hljs-number"},"0"),e(`
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
`),s("span",{class:"hljs-attr"},'"storage:local:responseTime"'),e(`: [
|
|
91
|
+
{
|
|
92
|
+
`),s("span",{class:"hljs-attr"},'"status"'),e(": "),s("span",{class:"hljs-string"},'"ok"'),e(`,
|
|
93
|
+
`),s("span",{class:"hljs-attr"},'"componentType"'),e(": "),s("span",{class:"hljs-string"},'"objectstore"'),e(`,
|
|
94
|
+
`),s("span",{class:"hljs-attr"},'"observedValue"'),e(": "),s("span",{class:"hljs-number"},"1.038"),e(`,
|
|
95
|
+
`),s("span",{class:"hljs-attr"},'"observedUnit"'),e(": "),s("span",{class:"hljs-string"},'"ms"'),e(`
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
`),s("span",{class:"hljs-attr"},'"email:connection"'),e(`: [
|
|
99
|
+
{
|
|
100
|
+
`),s("span",{class:"hljs-attr"},'"status"'),e(": "),s("span",{class:"hljs-string"},'"ok"'),e(`,
|
|
101
|
+
`),s("span",{class:"hljs-attr"},'"componentType"'),e(": "),s("span",{class:"hljs-string"},'"email"'),e(`
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
`)])]),s("h3",{id:"returns-4",tabindex:"-1"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-4"},"#")]),s("div",{class:"definitions"},[s("p",null,[s("code",null,"status"),e(),s("strong",null,"string"),s("br"),e(" One of "),s("code",null,"ok"),e(", "),s("code",null,"warn"),e(", "),s("code",null,"error"),e(".")])]),s("p",null,"Authenticated admin users also get the following information:"),s("div",{class:"definitions"},[s("p",null,[s("code",null,"releaseId"),e(),s("strong",null,"string"),s("br"),e(" Directus version in use.")]),s("p",null,[s("code",null,"serviceId"),e(),s("strong",null,"string"),s("br"),e(" UUID of the current Directus instance.")]),s("p",null,[s("code",null,"checks"),e(),s("strong",null,"array"),s("br"),e(" Array with the status of all individually connected services.")])])]),s("div",{class:"right"},[s("h3",{id:"rest-api-4",tabindex:"-1"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-4"},"#")]),s("pre",null,[s("code",null,`GET /server/health
|
|
107
|
+
`)]),s("h3",{id:"graphql-4",tabindex:"-1"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-4"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
|
|
108
|
+
`)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
|
|
109
|
+
server_health:`),s("span",{class:"hljs-literal"}," JSON"),e(`
|
|
110
|
+
}
|
|
111
|
+
`)])]),s("h5",{id:"example-4",tabindex:"-1"},[e("Example "),s("a",{class:"header-anchor",href:"#example-4"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
|
|
112
|
+
server_health
|
|
113
|
+
}
|
|
114
|
+
`)])])])],-1),Y=s("hr",null,null,-1),ns="Server",as=!1,ls="page-reference",ts={name:"server",setup(Z,{expose:o}){const a={title:"Server",modularExtension:!1,pageClass:"page-reference"};return o({frontmatter:a}),($,ss)=>{const l=t("router-link"),c=t("docs-wrapper");return i(),h(c,{frontmatter:a},{default:n(()=>[s("div",p,[s("div",d,[s("div",u,[s("blockquote",null,[s("p",null,[g,r(l,{to:"/docs/getting-started/glossary/#projects"},{default:n(()=>[_]),_:1}),f])])]),m]),j,y,b,v,x,q,k,w,S,T,P,A,G,I,E,s("div",R,[s("div",L,[Q,O,s("div",D,[C,s("p",null,[H,r(l,{to:"/docs/reference/system/settings/#the-settings-object"},{default:n(()=>[B]),_:1}),V,N,U])]),W,z]),F]),J,K,M,X,Y])]),_:1})}}};export{ts as default,as as modularExtension,ls as pageClass,ns as title};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import{a as o,o as i,b as h,w as e,g as s,e as l,B as t}from"./runtime-core.esm-bundler.b1f35d24.js";const d={class:"markdown-body"},p=s("div",{class:"two-up"},[s("div",{class:"left"},[s("blockquote",null,[s("p",null,"Settings are key-value pairs that are stored in the database, and control different aspects of the project. Only administrators have access to manage Settings.")])]),s("div",{class:"right"},[s("p",null,[s("div",{class:"table-of-contents"},[s("ul",null,[s("li",null,[s("a",{href:"#the-settings-object"},"The Settings Object ")]),s("li",null,[s("a",{href:"#retrieve-settings"},"Retrieve Settings ")]),s("li",null,[s("a",{href:"#update-settings"},"Update Settings ")])])])])])],-1),_=s("hr",null,null,-1),u=s("h2",{id:"the-settings-object",tabindex:"-1"},[t("The Settings Object "),s("a",{class:"header-anchor",href:"#the-settings-object"},"#")],-1),g={class:"two-up"},f={class:"left"},j={class:"definitions"},b=s("p",null,[s("code",null,"id"),t(),s("strong",null,"uuid"),s("br"),t(" Primary key of the setting.")],-1),m=s("p",null,[s("code",null,"project_name"),t(),s("strong",null,"string"),s("br"),t(" Name of the project, shown in the Admin App.")],-1),y=s("p",null,[s("code",null,"project_descriptor"),t(),s("strong",null,"string"),s("br"),t(" Descriptor of the project, shown in the Admin App.")],-1),x=s("p",null,[s("code",null,"project_url"),t(),s("strong",null,"string"),s("br"),t(" Link to the (public) website that goes with this project.")],-1),w=s("p",null,[s("code",null,"project_color"),t(),s("strong",null,"string"),s("br"),t(" Brand color for the current project.")],-1),v=s("code",null,"project_logo",-1),q=t(),k=s("strong",null,"many-to-one",-1),A=s("br",null,null,-1),S=t(" Primary logo for the current project. Many-to-one to "),T=t("files"),E=t("."),P=s("code",null,"public_foreground",-1),R=t(),C=s("strong",null,"many-to-one",-1),B=s("br",null,null,-1),M=t(" Foreground image for the Admin App\u2019s public pages. Many-to-one to "),O=t("files"),N=t("."),Q=s("code",null,"public_background",-1),D=t(),G=s("strong",null,"many-to-one",-1),H=s("br",null,null,-1),I=t(" Background image for the Admin App\u2019s public pages. Many-to-one to "),L=t("files"),V=t("."),W=s("p",null,[s("code",null,"public_note"),t(),s("strong",null,"string"),s("br"),t(" Note shown on the Admin App\u2019s public pages. Supports Markdown.")],-1),F=s("p",null,[s("code",null,"auth_login_attempts"),t(),s("strong",null,"integer"),s("br"),t(" How often a user is allowed to try to login. After which times the user will be suspended.")],-1),U=s("p",null,[s("code",null,"auth_password_policy"),t(),s("strong",null,"RegEx"),s("br"),t(" What regex passwords must pass in order to be valid.")],-1),z=s("code",null,"storage_asset_transform",-1),J=t(),K=s("strong",null,"string",-1),X=s("br",null,null,-1),Y=t(" If the transform endpoints are allowed to be used on "),Z=t("the assets endpoint"),$=t(". One of "),ss=s("code",null,"all",-1),ts=t(", "),es=s("code",null,"none",-1),ns=t(" or "),ls=s("code",null,"presets",-1),as=t("."),os=s("code",null,"storage_asset_presets",-1),rs=t(),cs=s("strong",null,"array",-1),is=s("br",null,null,-1),hs=t(" What preset keys exist in "),ds=t("the assets endpoint"),ps=t("."),_s=s("p",null,[s("code",null,"custom_css"),t(),s("strong",null,"string"),s("br"),t(" CSS rules to override the App\u2019s default styling.")],-1),us=s("p",null,[s("code",null,"storage_default_folder"),t(),s("strong",null,"uuid"),s("br"),t(" Folder for uploaded files. Does not affect existing files.")],-1),gs=s("p",null,[s("code",null,"basemaps"),t(),s("strong",null,"array"),s("br"),t(" Custom tiles to overriding the Mapbox defaults.")],-1),fs=s("p",null,[s("code",null,"mapbox_key"),t(),s("strong",null,"string"),s("br"),s("a",{href:"https://docs.mapbox.com/help/glossary/access-token/",target:"_blank",rel:"noopener noreferrer"},"Mapbox Access Token"),t(".")],-1),js=s("p",null,[s("code",null,"module_bar"),t(),s("strong",null,"array"),s("br"),t(" What modules are enabled/added globally.")],-1),bs=s("div",{class:"right"},[s("pre",null,[s("code",{class:"language-json"},[t(`{
|
|
2
|
+
`),s("span",{class:"hljs-attr"},'"data"'),t(`: {
|
|
3
|
+
`),s("span",{class:"hljs-attr"},'"id"'),t(": "),s("span",{class:"hljs-number"},"1"),t(`,
|
|
4
|
+
`),s("span",{class:"hljs-attr"},'"project_name"'),t(": "),s("span",{class:"hljs-string"},'"Directus"'),t(`,
|
|
5
|
+
`),s("span",{class:"hljs-attr"},'"project_descriptor"'),t(": "),s("span",{class:"hljs-string"},'"Application"'),t(`,
|
|
6
|
+
`),s("span",{class:"hljs-attr"},'"project_url"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`,
|
|
7
|
+
`),s("span",{class:"hljs-attr"},'"project_color"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`,
|
|
8
|
+
`),s("span",{class:"hljs-attr"},'"project_logo"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`,
|
|
9
|
+
`),s("span",{class:"hljs-attr"},'"public_foreground"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`,
|
|
10
|
+
`),s("span",{class:"hljs-attr"},'"public_background"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`,
|
|
11
|
+
`),s("span",{class:"hljs-attr"},'"public_note"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`,
|
|
12
|
+
`),s("span",{class:"hljs-attr"},'"auth_login_attempts"'),t(": "),s("span",{class:"hljs-number"},"25"),t(`,
|
|
13
|
+
`),s("span",{class:"hljs-attr"},'"auth_password_policy"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`,
|
|
14
|
+
`),s("span",{class:"hljs-attr"},'"storage_asset_transform"'),t(": "),s("span",{class:"hljs-string"},'"all"'),t(`,
|
|
15
|
+
`),s("span",{class:"hljs-attr"},'"storage_asset_presets"'),t(`: [
|
|
16
|
+
{ `),s("span",{class:"hljs-attr"},'"key"'),t(": "),s("span",{class:"hljs-string"},'"small"'),t(", "),s("span",{class:"hljs-attr"},'"fit"'),t(": "),s("span",{class:"hljs-string"},'"cover"'),t(", "),s("span",{class:"hljs-attr"},'"width"'),t(": "),s("span",{class:"hljs-number"},"200"),t(", "),s("span",{class:"hljs-attr"},'"height"'),t(": "),s("span",{class:"hljs-number"},"161"),t(", "),s("span",{class:"hljs-attr"},'"quality"'),t(": "),s("span",{class:"hljs-number"},"80"),t(", "),s("span",{class:"hljs-attr"},'"withoutEnlargement"'),t(": "),s("span",{class:"hljs-literal"},"false"),t(` }
|
|
17
|
+
],
|
|
18
|
+
`),s("span",{class:"hljs-attr"},'"custom_css"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`,
|
|
19
|
+
`),s("span",{class:"hljs-attr"},'"storage_default_folder"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`,
|
|
20
|
+
`),s("span",{class:"hljs-attr"},'"basemaps"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`,
|
|
21
|
+
`),s("span",{class:"hljs-attr"},'"mapbox_key"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`,
|
|
22
|
+
`),s("span",{class:"hljs-attr"},'"module_bar"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
`)])])],-1),ms=s("hr",null,null,-1),ys=s("h2",{id:"retrieve-settings",tabindex:"-1"},[t("Retrieve Settings "),s("a",{class:"header-anchor",href:"#retrieve-settings"},"#")],-1),xs={class:"two-up"},ws={class:"left"},vs=s("h3",{id:"query-parameters",tabindex:"-1"},[t("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),qs=t("Supports all "),ks=t("global query parameters"),As=t("."),Ss=s("h3",{id:"returns",tabindex:"-1"},[t("Returns "),s("a",{class:"header-anchor",href:"#returns"},"#")],-1),Ts=s("p",null,[t("Returns the "),s("a",{href:"#the-settings-object"},"settings object"),t(".")],-1),Es=s("div",{class:"right"},[s("h3",{id:"rest-api",tabindex:"-1"},[t("REST API "),s("a",{class:"header-anchor",href:"#rest-api"},"#")]),s("pre",null,[s("code",null,`GET /settings
|
|
26
|
+
`)]),s("h3",{id:"graphql",tabindex:"-1"},[t("GraphQL "),s("a",{class:"header-anchor",href:"#graphql"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
|
|
27
|
+
`)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),t(` {
|
|
28
|
+
settings: directus_settings
|
|
29
|
+
}
|
|
30
|
+
`)])]),s("h5",{id:"example",tabindex:"-1"},[t("Example "),s("a",{class:"header-anchor",href:"#example"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),t(` {
|
|
31
|
+
settings {
|
|
32
|
+
project_name
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
`)])])],-1),Ps=s("hr",null,null,-1),Rs=s("h2",{id:"update-settings",tabindex:"-1"},[t("Update Settings "),s("a",{class:"header-anchor",href:"#update-settings"},"#")],-1),Cs={class:"two-up"},Bs={class:"left"},Ms=s("h3",{id:"query-parameters-1",tabindex:"-1"},[t("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-1"},"#")],-1),Os=t("Supports all "),Ns=t("global query parameters"),Qs=t("."),Ds=s("h3",{id:"request-body",tabindex:"-1"},[t("Request Body "),s("a",{class:"header-anchor",href:"#request-body"},"#")],-1),Gs=s("p",null,[t("A partial "),s("a",{href:"#the-settings-object"},"settings object"),t(".")],-1),Hs=s("h3",{id:"returns-1",tabindex:"-1"},[t("Returns "),s("a",{class:"header-anchor",href:"#returns-1"},"#")],-1),Is=s("p",null,[t("Returns the "),s("a",{href:"#the-setting-object"},"settings object"),t(".")],-1),Ls=s("div",{class:"right"},[s("h3",{id:"rest-api-1",tabindex:"-1"},[t("REST API "),s("a",{class:"header-anchor",href:"#rest-api-1"},"#")]),s("pre",null,[s("code",null,`PATCH /settings
|
|
36
|
+
`)]),s("h5",{id:"example-1",tabindex:"-1"},[t("Example "),s("a",{class:"header-anchor",href:"#example-1"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// PATCH /settings"),t(`
|
|
37
|
+
|
|
38
|
+
{
|
|
39
|
+
`),s("span",{class:"hljs-attr"},'"project_url"'),t(": "),s("span",{class:"hljs-string"},'"https://example.com/"'),t(`
|
|
40
|
+
}
|
|
41
|
+
`)])]),s("h3",{id:"graphql-1",tabindex:"-1"},[t("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-1"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
|
|
42
|
+
`)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),t(` {
|
|
43
|
+
update_settings(data: update_directus_settings_input!): directus_settings
|
|
44
|
+
}
|
|
45
|
+
`)])]),s("h5",{id:"example-2",tabindex:"-1"},[t("Example "),s("a",{class:"header-anchor",href:"#example-2"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),t(` {
|
|
46
|
+
update_settings(data: { project_url: `),s("span",{class:"hljs-string"},'"https://example.com"'),t(` }) {
|
|
47
|
+
project_name
|
|
48
|
+
project_url
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
`)])])],-1),zs="Settings",Js=!1,Ks="page-reference",Xs={name:"settings",setup(Vs,{expose:r}){const a={title:"Settings",modularExtension:!1,pageClass:"page-reference"};return r({frontmatter:a}),(Ws,Fs)=>{const n=o("router-link"),c=o("docs-wrapper");return i(),h(c,{frontmatter:a},{default:e(()=>[s("div",d,[p,_,u,s("div",g,[s("div",f,[s("div",j,[b,m,y,x,w,s("p",null,[v,q,k,A,S,l(n,{to:"/docs/reference/files/"},{default:e(()=>[T]),_:1}),E]),s("p",null,[P,R,C,B,M,l(n,{to:"/docs/reference/files/"},{default:e(()=>[O]),_:1}),N]),s("p",null,[Q,D,G,H,I,l(n,{to:"/docs/reference/files/"},{default:e(()=>[L]),_:1}),V]),W,F,U,s("p",null,[z,J,K,X,Y,l(n,{to:"/docs/reference/files/#requesting-a-thumbnail"},{default:e(()=>[Z]),_:1}),$,ss,ts,es,ns,ls,as]),s("p",null,[os,rs,cs,is,hs,l(n,{to:"/docs/reference/files/#requesting-a-thumbnail"},{default:e(()=>[ds]),_:1}),ps]),_s,us,gs,fs,js])]),bs]),ms,ys,s("div",xs,[s("div",ws,[vs,s("p",null,[qs,l(n,{to:"/docs/reference/query"},{default:e(()=>[ks]),_:1}),As]),Ss,Ts]),Es]),Ps,Rs,s("div",Cs,[s("div",Bs,[Ms,s("p",null,[Os,l(n,{to:"/docs/reference/query"},{default:e(()=>[Ns]),_:1}),Qs]),Ds,Gs,Hs,Is]),Ls])])]),_:1})}}};export{Xs as default,Js as modularExtension,Ks as pageClass,zs as title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r,o as d,b as c,w as o,g as t,e as n,B as e}from"./runtime-core.esm-bundler.
|
|
1
|
+
import{a as r,o as d,b as c,w as o,g as t,e as n,B as e}from"./runtime-core.esm-bundler.b1f35d24.js";const u={class:"markdown-body"},_=t("blockquote",null,[t("p",null,"The Settings Module is where your entire Project is configured, making it the first place to go after installation. To maintain project safety and integrity, this module is only available to Administrators.")],-1),h=t("video",{autoplay:"",muted:"",loop:"",controls:""},[t("source",{src:"https://cdn.directus.io/docs/v9/app-guide/settings/settings-20220308A/settings-20220308A.mp4",type:"video/mp4"})],-1),g=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Administrators Only"),t("p",null,"Only Administrators have access to the Settings Module.")],-1),p=t("p",null,"Settings are split into five distinct sections, each described below.",-1),f=e("Project Settings"),m=e(" \u2014 Setup branding and other global style options."),b=e("Data Model"),k=e(" \u2014 Create and modify "),y=e("Collections"),v=e(", "),w=e("Relationships"),x=e(", form layout, and "),A=e("Fields"),S=e("."),C=e("Roles & Permissions"),q=e(" \u2014 Create and manage access via Roles and Permissions."),B=e("Presets & Bookmarks"),P=e(" \u2014 Set default views of data and configure bookmarks."),j=e("Webhooks"),R=e(" \u2014 Use platform events to trigger external services."),V=t("p",null,"Aside from the above pages, there are three shorthand links:",-1),F=t("li",null,[t("p",null,[t("strong",null,"Report Bug"),t("br"),e(" A direct link to report a bug in the platform. When using this button, helpful debugging information about your project is automatically included, such as: version number, operating system, and environment type.")])],-1),M=t("strong",null,"Request Feature",-1),N=t("br",null,null,-1),T=e(" A direct link to "),D=t("a",{href:"https://github.com/directus/directus/discussions/new",target:"_blank",rel:"noopener noreferrer"},"submit a new feature request",-1),E=e(" on GitHub. Feature requests are a great way to let our team know what should be prioritized next. Learn more about making feature requests in the "),G=e("Contributing > Introduction"),H=e("."),O=t("li",null,[t("p",null,[t("strong",null,"Platform Version"),t("br"),e(" Displays the exact version of your platform. Click this button to go to the GitHub releases page, which includes the full change logs.")])],-1),U="Settings",J=!1,K={name:"settings",setup(W,{expose:l}){const i={title:"Settings",modularExtension:!1};return l({frontmatter:i}),(z,I)=>{const s=r("router-link"),a=r("docs-wrapper");return d(),c(a,{frontmatter:i},{default:o(()=>[t("div",u,[_,h,g,p,t("ul",null,[t("li",null,[n(s,{to:"/docs/configuration/project-settings"},{default:o(()=>[f]),_:1}),m]),t("li",null,[n(s,{to:"/docs/configuration/data-model"},{default:o(()=>[b]),_:1}),k,n(s,{to:"/docs/getting-started/glossary/#collections"},{default:o(()=>[y]),_:1}),v,n(s,{to:"/docs/getting-started/glossary/#relationships"},{default:o(()=>[w]),_:1}),x,n(s,{to:"/docs/getting-started/glossary/#fields"},{default:o(()=>[A]),_:1}),S]),t("li",null,[n(s,{to:"/docs/configuration/users-roles-permissions"},{default:o(()=>[C]),_:1}),q]),t("li",null,[n(s,{to:"/docs/configuration/presets-bookmarks"},{default:o(()=>[B]),_:1}),P]),t("li",null,[n(s,{to:"/docs/configuration/webhooks"},{default:o(()=>[j]),_:1}),R])]),V,t("ul",null,[F,t("li",null,[t("p",null,[M,N,T,D,E,n(s,{to:"/docs/contributing/introduction/#feature-requests"},{default:o(()=>[G]),_:1}),H])]),O])])]),_:1})}}};export{K as default,J as modularExtension,U as title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as E}from"./index.
|
|
1
|
+
import{A as E}from"./index.c2e31551.entry.js";function O(h,a){return a.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(f){if(f!=="default"&&!(f in h)){var c=Object.getOwnPropertyDescriptor(o,f);Object.defineProperty(h,f,c.get?c:{enumerable:!0,get:function(){return o[f]}})}})}),Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(h,a){(function(o){o(E.exports)})(function(o){o.defineMode("shell",function(){var f={};function c(e,n){for(var r=0;r<n.length;r++)f[n[r]]=e}var k=["true","false"],d=["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],g=["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","nl","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"];o.registerHelper("hintWords","shell",k.concat(d,g)),c("atom",k),c("keyword",d),c("builtin",g);function b(e,n){if(e.eatSpace())return null;var r=e.sol(),t=e.next();if(t==="\\")return e.next(),null;if(t==="'"||t==='"'||t==="`")return n.tokens.unshift(p(t,t==="`"?"quote":"string")),s(e,n);if(t==="#")return r&&e.eat("!")?(e.skipToEnd(),"meta"):(e.skipToEnd(),"comment");if(t==="$")return n.tokens.unshift(v),s(e,n);if(t==="+"||t==="=")return"operator";if(t==="-")return e.eat("-"),e.eatWhile(/\w/),"attribute";if(t=="<"){if(e.match("<<"))return"operator";var u=e.match(/^<-?\s*['"]?([^'"]*)['"]?/);if(u)return n.tokens.unshift(y(u[1])),"string-2"}if(/\d/.test(t)&&(e.eatWhile(/\d/),e.eol()||!/\w/.test(e.peek())))return"number";e.eatWhile(/[\w-]/);var i=e.current();return e.peek()==="="&&/\w+/.test(i)?"def":f.hasOwnProperty(i)?f[i]:null}function p(e,n){var r=e=="("?")":e=="{"?"}":e;return function(t,u){for(var i,l=!1;(i=t.next())!=null;){if(i===r&&!l){u.tokens.shift();break}else if(i==="$"&&!l&&e!=="'"&&t.peek()!=r){l=!0,t.backUp(1),u.tokens.unshift(v);break}else{if(!l&&e!==r&&i===e)return u.tokens.unshift(p(e,n)),s(t,u);if(!l&&/['"]/.test(i)&&!/['"]/.test(e)){u.tokens.unshift(x(i,"string")),t.backUp(1);break}}l=!l&&i==="\\"}return n}}function x(e,n){return function(r,t){return t.tokens[0]=p(e,n),r.next(),s(r,t)}}var v=function(e,n){n.tokens.length>1&&e.eat("$");var r=e.next();return/['"({]/.test(r)?(n.tokens[0]=p(r,r=="("?"quote":r=="{"?"def":"string"),s(e,n)):(/\d/.test(r)||e.eatWhile(/\w/),n.tokens.shift(),"def")};function y(e){return function(n,r){return n.sol()&&n.string==e&&r.tokens.shift(),n.skipToEnd(),"string-2"}}function s(e,n){return(n.tokens[0]||b)(e,n)}return{startState:function(){return{tokens:[]}},token:function(e,n){return s(e,n)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),o.defineMIME("text/x-sh","shell"),o.defineMIME("application/x-sh","shell")})})();var S=w.exports,j=O({__proto__:null,default:S},[w.exports]);export{j as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as ot}from"./index.876852bd.entry.js";function rt(A,L){return L.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(v){if(v!=="default"&&!(v in A)){var y=Object.getOwnPropertyDescriptor(r,v);Object.defineProperty(A,v,y.get?y:{enumerable:!0,get:function(){return r[v]}})}})}),Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}var X={exports:{}};(function(A,L){(function(r){r(ot.exports)})(function(r){var v="CodeMirror-hint",y="CodeMirror-hint-active";r.showHint=function(t,e,i){if(!e)return t.showHint(i);i&&i.async&&(e.async=!0);var n={hint:e};if(i)for(var s in i)n[s]=i[s];return t.showHint(n)},r.defineExtension("showHint",function(t){t=Q(this,this.getCursor("start"),t);var e=this.listSelections();if(!(e.length>1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var i=0;i<e.length;i++)if(e[i].head.line!=e[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var n=this.state.completionActive=new P(this,t);!n.options.hint||(r.signal(this,"startCompletion",this),n.update(!0))}}),r.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function P(t,e){if(this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var i=this;t.on("cursorActivity",this.activityFunc=function(){i.cursorActivity()})}}var G=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},J=window.cancelAnimationFrame||clearTimeout;P.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&r.signal(this.data,"close"),this.widget&&this.widget.close(),r.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,e){var i=t.list[e],n=this;this.cm.operation(function(){i.hint?i.hint(n.cm,t,i):n.cm.replaceRange(R(i),i.from||t.from,i.to||t.to,"complete"),r.signal(t,"pick",i),n.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(J(this.debounce),this.debounce=0);var t=this.startPos;this.data&&(t=this.data.from);var e=this.cm.getCursor(),i=this.cm.getLine(e.line);if(e.line!=this.startPos.line||i.length-e.ch!=this.startLen-this.startPos.ch||e.ch<t.ch||this.cm.somethingSelected()||!e.ch||this.options.closeCharacters.test(i.charAt(e.ch-1)))this.close();else{var n=this;this.debounce=G(function(){n.update()}),this.widget&&this.widget.disable()}},update:function(t){if(this.tick!=null){var e=this,i=++this.tick;K(this.options.hint,this.cm,this.options,function(n){e.tick==i&&e.finishUpdate(n,t)})}},finishUpdate:function(t,e){this.data&&r.signal(this.data,"update");var i=this.widget&&this.widget.picked||e&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(i&&t.list.length==1?this.pick(t,0):(this.widget=new B(this,t),r.signal(t,"shown")))}};function Q(t,e,i){var n=t.options.hintOptions,s={};for(var c in U)s[c]=U[c];if(n)for(var c in n)n[c]!==void 0&&(s[c]=n[c]);if(i)for(var c in i)i[c]!==void 0&&(s[c]=i[c]);return s.hint.resolve&&(s.hint=s.hint.resolve(t,e)),s}function R(t){return typeof t=="string"?t:t.text}function Z(t,e){var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(-e.menuSize()+1,!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close},n=/Mac/.test(navigator.platform);n&&(i["Ctrl-P"]=function(){e.moveFocus(-1)},i["Ctrl-N"]=function(){e.moveFocus(1)});var s=t.options.customKeys,c=s?{}:i;function o(u,l){var h;typeof l!="string"?h=function(w){return l(w,e)}:i.hasOwnProperty(l)?h=i[l]:h=l,c[u]=h}if(s)for(var f in s)s.hasOwnProperty(f)&&o(f,s[f]);var a=t.options.extraKeys;if(a)for(var f in a)a.hasOwnProperty(f)&&o(f,a[f]);return c}function _(t,e){for(;e&&e!=t;){if(e.nodeName.toUpperCase()==="LI"&&e.parentNode==t)return e;e=e.parentNode}}function B(t,e){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=t,this.data=e,this.picked=!1;var i=this,n=t.cm,s=n.getInputField().ownerDocument,c=s.defaultView||s.parentWindow,o=this.hints=s.createElement("ul");o.setAttribute("role","listbox"),o.setAttribute("aria-expanded","true"),o.id=this.id;var f=t.cm.options.theme;o.className="CodeMirror-hints "+f,this.selectedHint=e.selectedHint||0;for(var a=e.list,u=0;u<a.length;++u){var l=o.appendChild(s.createElement("li")),h=a[u],w=v+(u!=this.selectedHint?"":" "+y);h.className!=null&&(w=h.className+" "+w),l.className=w,u==this.selectedHint&&l.setAttribute("aria-selected","true"),l.id=this.id+"-"+u,l.setAttribute("role","option"),h.render?h.render(l,e,h):l.appendChild(s.createTextNode(h.displayText||R(h))),l.hintId=u}var H=t.options.container||s.body,m=n.cursorCoords(t.options.alignWithWord?e.from:null),S=m.left,x=m.bottom,D=!0,T=0,O=0;if(H!==s.body){var it=["absolute","relative","fixed"].indexOf(c.getComputedStyle(H).position)!==-1,N=it?H:H.offsetParent,j=N.getBoundingClientRect(),M=s.body.getBoundingClientRect();T=j.left-M.left-N.scrollLeft,O=j.top-M.top-N.scrollTop}o.style.left=S-T+"px",o.style.top=x-O+"px";var k=c.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),I=c.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);H.appendChild(o),n.getInputField().setAttribute("aria-autocomplete","list"),n.getInputField().setAttribute("aria-owns",this.id),n.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var g=t.options.moveOnOverlap?o.getBoundingClientRect():new DOMRect,z=t.options.paddingForScrollbar?o.scrollHeight>o.clientHeight+1:!1,b;setTimeout(function(){b=n.getScrollInfo()});var nt=g.bottom-I;if(nt>0){var C=g.bottom-g.top,st=m.top-(m.bottom-g.top);if(st-C>0)o.style.top=(x=m.top-C-O)+"px",D=!1;else if(C>I){o.style.height=I-5+"px",o.style.top=(x=m.bottom-g.top-O)+"px";var V=n.getCursor();e.from.ch!=V.ch&&(m=n.cursorCoords(V),o.style.left=(S=m.left-T)+"px",g=o.getBoundingClientRect())}}var F=g.right-k;if(z&&(F+=n.display.nativeBarWidth),F>0&&(g.right-g.left>k&&(o.style.width=k-5+"px",F-=g.right-g.left-k),o.style.left=(S=m.left-F-T)+"px"),z)for(var E=o.firstChild;E;E=E.nextSibling)E.style.paddingRight=n.display.nativeBarWidth+"px";if(n.addKeyMap(this.keyMap=Z(t,{moveFocus:function(p,d){i.changeActive(i.selectedHint+p,d)},setFocus:function(p){i.changeActive(p)},menuSize:function(){return i.screenAmount()},length:a.length,close:function(){t.close()},pick:function(){i.pick()},data:e})),t.options.closeOnUnfocus){var q;n.on("blur",this.onBlur=function(){q=setTimeout(function(){t.close()},100)}),n.on("focus",this.onFocus=function(){clearTimeout(q)})}n.on("scroll",this.onScroll=function(){var p=n.getScrollInfo(),d=n.getWrapperElement().getBoundingClientRect();b||(b=n.getScrollInfo());var $=x+b.top-p.top,W=$-(c.pageYOffset||(s.documentElement||s.body).scrollTop);if(D||(W+=o.offsetHeight),W<=d.top||W>=d.bottom)return t.close();o.style.top=$+"px",o.style.left=S+b.left-p.left+"px"}),r.on(o,"dblclick",function(p){var d=_(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),i.pick())}),r.on(o,"click",function(p){var d=_(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),t.options.completeOnSingleClick&&i.pick())}),r.on(o,"mousedown",function(){setTimeout(function(){n.focus()},20)});var Y=this.getSelectedHintRange();return(Y.from!==0||Y.to!==0)&&this.scrollToActive(),r.signal(e,"select",a[this.selectedHint],o.childNodes[this.selectedHint]),!0}B.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm.getInputField();t.removeAttribute("aria-activedescendant"),t.removeAttribute("aria-owns");var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,e){if(t>=this.data.list.length?t=e?this.data.list.length-1:0:t<0&&(t=e?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(" "+y,""),i.removeAttribute("aria-selected")),i=this.hints.childNodes[this.selectedHint=t],i.className+=" "+y,i.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",i.id),this.scrollToActive(),r.signal(this.data,"select",this.data.list[this.selectedHint],i)}},scrollToActive:function(){var t=this.getSelectedHintRange(),e=this.hints.childNodes[t.from],i=this.hints.childNodes[t.to],n=this.hints.firstChild;e.offsetTop<this.hints.scrollTop?this.hints.scrollTop=e.offsetTop-n.offsetTop:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+n.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var t=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-t),to:Math.min(this.data.list.length-1,this.selectedHint+t)}}};function tt(t,e){if(!t.somethingSelected())return e;for(var i=[],n=0;n<e.length;n++)e[n].supportsSelection&&i.push(e[n]);return i}function K(t,e,i,n){if(t.async)t(e,n,i);else{var s=t(e,i);s&&s.then?s.then(n):n(s)}}function et(t,e){var i=t.getHelpers(e,"hint"),n;if(i.length){var s=function(c,o,f){var a=tt(c,i);function u(l){if(l==a.length)return o(null);K(a[l],c,f,function(h){h&&h.list.length>0?o(h):u(l+1)})}u(0)};return s.async=!0,s.supportsSelection=!0,s}else return(n=t.getHelper(t.getCursor(),"hintWords"))?function(c){return r.hint.fromList(c,{words:n})}:r.hint.anyword?function(c,o){return r.hint.anyword(c,o)}:function(){}}r.registerHelper("hint","auto",{resolve:et}),r.registerHelper("hint","fromList",function(t,e){var i=t.getCursor(),n=t.getTokenAt(i),s,c=r.Pos(i.line,n.start),o=i;n.start<i.ch&&/\w/.test(n.string.charAt(i.ch-n.start-1))?s=n.string.substr(0,i.ch-n.start):(s="",c=i);for(var f=[],a=0;a<e.words.length;a++){var u=e.words[a];u.slice(0,s.length)==s&&f.push(u)}if(f.length)return{list:f,from:c,to:o}}),r.commands.autocomplete=r.showHint;var U={hint:r.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};r.defineOption("hintOptions",null)})})();var ct=X.exports,at=rt({__proto__:null,default:ct},[X.exports]);export{at as s};
|
|
1
|
+
import{A as ot}from"./index.c2e31551.entry.js";function rt(A,L){return L.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(v){if(v!=="default"&&!(v in A)){var y=Object.getOwnPropertyDescriptor(r,v);Object.defineProperty(A,v,y.get?y:{enumerable:!0,get:function(){return r[v]}})}})}),Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}var X={exports:{}};(function(A,L){(function(r){r(ot.exports)})(function(r){var v="CodeMirror-hint",y="CodeMirror-hint-active";r.showHint=function(t,e,i){if(!e)return t.showHint(i);i&&i.async&&(e.async=!0);var n={hint:e};if(i)for(var s in i)n[s]=i[s];return t.showHint(n)},r.defineExtension("showHint",function(t){t=Q(this,this.getCursor("start"),t);var e=this.listSelections();if(!(e.length>1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var i=0;i<e.length;i++)if(e[i].head.line!=e[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var n=this.state.completionActive=new P(this,t);!n.options.hint||(r.signal(this,"startCompletion",this),n.update(!0))}}),r.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function P(t,e){if(this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var i=this;t.on("cursorActivity",this.activityFunc=function(){i.cursorActivity()})}}var G=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},J=window.cancelAnimationFrame||clearTimeout;P.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&r.signal(this.data,"close"),this.widget&&this.widget.close(),r.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,e){var i=t.list[e],n=this;this.cm.operation(function(){i.hint?i.hint(n.cm,t,i):n.cm.replaceRange(R(i),i.from||t.from,i.to||t.to,"complete"),r.signal(t,"pick",i),n.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(J(this.debounce),this.debounce=0);var t=this.startPos;this.data&&(t=this.data.from);var e=this.cm.getCursor(),i=this.cm.getLine(e.line);if(e.line!=this.startPos.line||i.length-e.ch!=this.startLen-this.startPos.ch||e.ch<t.ch||this.cm.somethingSelected()||!e.ch||this.options.closeCharacters.test(i.charAt(e.ch-1)))this.close();else{var n=this;this.debounce=G(function(){n.update()}),this.widget&&this.widget.disable()}},update:function(t){if(this.tick!=null){var e=this,i=++this.tick;K(this.options.hint,this.cm,this.options,function(n){e.tick==i&&e.finishUpdate(n,t)})}},finishUpdate:function(t,e){this.data&&r.signal(this.data,"update");var i=this.widget&&this.widget.picked||e&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(i&&t.list.length==1?this.pick(t,0):(this.widget=new B(this,t),r.signal(t,"shown")))}};function Q(t,e,i){var n=t.options.hintOptions,s={};for(var c in U)s[c]=U[c];if(n)for(var c in n)n[c]!==void 0&&(s[c]=n[c]);if(i)for(var c in i)i[c]!==void 0&&(s[c]=i[c]);return s.hint.resolve&&(s.hint=s.hint.resolve(t,e)),s}function R(t){return typeof t=="string"?t:t.text}function Z(t,e){var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(-e.menuSize()+1,!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close},n=/Mac/.test(navigator.platform);n&&(i["Ctrl-P"]=function(){e.moveFocus(-1)},i["Ctrl-N"]=function(){e.moveFocus(1)});var s=t.options.customKeys,c=s?{}:i;function o(u,l){var h;typeof l!="string"?h=function(w){return l(w,e)}:i.hasOwnProperty(l)?h=i[l]:h=l,c[u]=h}if(s)for(var f in s)s.hasOwnProperty(f)&&o(f,s[f]);var a=t.options.extraKeys;if(a)for(var f in a)a.hasOwnProperty(f)&&o(f,a[f]);return c}function _(t,e){for(;e&&e!=t;){if(e.nodeName.toUpperCase()==="LI"&&e.parentNode==t)return e;e=e.parentNode}}function B(t,e){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=t,this.data=e,this.picked=!1;var i=this,n=t.cm,s=n.getInputField().ownerDocument,c=s.defaultView||s.parentWindow,o=this.hints=s.createElement("ul");o.setAttribute("role","listbox"),o.setAttribute("aria-expanded","true"),o.id=this.id;var f=t.cm.options.theme;o.className="CodeMirror-hints "+f,this.selectedHint=e.selectedHint||0;for(var a=e.list,u=0;u<a.length;++u){var l=o.appendChild(s.createElement("li")),h=a[u],w=v+(u!=this.selectedHint?"":" "+y);h.className!=null&&(w=h.className+" "+w),l.className=w,u==this.selectedHint&&l.setAttribute("aria-selected","true"),l.id=this.id+"-"+u,l.setAttribute("role","option"),h.render?h.render(l,e,h):l.appendChild(s.createTextNode(h.displayText||R(h))),l.hintId=u}var H=t.options.container||s.body,m=n.cursorCoords(t.options.alignWithWord?e.from:null),S=m.left,x=m.bottom,D=!0,T=0,O=0;if(H!==s.body){var it=["absolute","relative","fixed"].indexOf(c.getComputedStyle(H).position)!==-1,N=it?H:H.offsetParent,j=N.getBoundingClientRect(),M=s.body.getBoundingClientRect();T=j.left-M.left-N.scrollLeft,O=j.top-M.top-N.scrollTop}o.style.left=S-T+"px",o.style.top=x-O+"px";var k=c.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),I=c.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);H.appendChild(o),n.getInputField().setAttribute("aria-autocomplete","list"),n.getInputField().setAttribute("aria-owns",this.id),n.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var g=t.options.moveOnOverlap?o.getBoundingClientRect():new DOMRect,z=t.options.paddingForScrollbar?o.scrollHeight>o.clientHeight+1:!1,b;setTimeout(function(){b=n.getScrollInfo()});var nt=g.bottom-I;if(nt>0){var C=g.bottom-g.top,st=m.top-(m.bottom-g.top);if(st-C>0)o.style.top=(x=m.top-C-O)+"px",D=!1;else if(C>I){o.style.height=I-5+"px",o.style.top=(x=m.bottom-g.top-O)+"px";var V=n.getCursor();e.from.ch!=V.ch&&(m=n.cursorCoords(V),o.style.left=(S=m.left-T)+"px",g=o.getBoundingClientRect())}}var F=g.right-k;if(z&&(F+=n.display.nativeBarWidth),F>0&&(g.right-g.left>k&&(o.style.width=k-5+"px",F-=g.right-g.left-k),o.style.left=(S=m.left-F-T)+"px"),z)for(var E=o.firstChild;E;E=E.nextSibling)E.style.paddingRight=n.display.nativeBarWidth+"px";if(n.addKeyMap(this.keyMap=Z(t,{moveFocus:function(p,d){i.changeActive(i.selectedHint+p,d)},setFocus:function(p){i.changeActive(p)},menuSize:function(){return i.screenAmount()},length:a.length,close:function(){t.close()},pick:function(){i.pick()},data:e})),t.options.closeOnUnfocus){var q;n.on("blur",this.onBlur=function(){q=setTimeout(function(){t.close()},100)}),n.on("focus",this.onFocus=function(){clearTimeout(q)})}n.on("scroll",this.onScroll=function(){var p=n.getScrollInfo(),d=n.getWrapperElement().getBoundingClientRect();b||(b=n.getScrollInfo());var $=x+b.top-p.top,W=$-(c.pageYOffset||(s.documentElement||s.body).scrollTop);if(D||(W+=o.offsetHeight),W<=d.top||W>=d.bottom)return t.close();o.style.top=$+"px",o.style.left=S+b.left-p.left+"px"}),r.on(o,"dblclick",function(p){var d=_(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),i.pick())}),r.on(o,"click",function(p){var d=_(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),t.options.completeOnSingleClick&&i.pick())}),r.on(o,"mousedown",function(){setTimeout(function(){n.focus()},20)});var Y=this.getSelectedHintRange();return(Y.from!==0||Y.to!==0)&&this.scrollToActive(),r.signal(e,"select",a[this.selectedHint],o.childNodes[this.selectedHint]),!0}B.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm.getInputField();t.removeAttribute("aria-activedescendant"),t.removeAttribute("aria-owns");var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,e){if(t>=this.data.list.length?t=e?this.data.list.length-1:0:t<0&&(t=e?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(" "+y,""),i.removeAttribute("aria-selected")),i=this.hints.childNodes[this.selectedHint=t],i.className+=" "+y,i.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",i.id),this.scrollToActive(),r.signal(this.data,"select",this.data.list[this.selectedHint],i)}},scrollToActive:function(){var t=this.getSelectedHintRange(),e=this.hints.childNodes[t.from],i=this.hints.childNodes[t.to],n=this.hints.firstChild;e.offsetTop<this.hints.scrollTop?this.hints.scrollTop=e.offsetTop-n.offsetTop:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+n.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var t=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-t),to:Math.min(this.data.list.length-1,this.selectedHint+t)}}};function tt(t,e){if(!t.somethingSelected())return e;for(var i=[],n=0;n<e.length;n++)e[n].supportsSelection&&i.push(e[n]);return i}function K(t,e,i,n){if(t.async)t(e,n,i);else{var s=t(e,i);s&&s.then?s.then(n):n(s)}}function et(t,e){var i=t.getHelpers(e,"hint"),n;if(i.length){var s=function(c,o,f){var a=tt(c,i);function u(l){if(l==a.length)return o(null);K(a[l],c,f,function(h){h&&h.list.length>0?o(h):u(l+1)})}u(0)};return s.async=!0,s.supportsSelection=!0,s}else return(n=t.getHelper(t.getCursor(),"hintWords"))?function(c){return r.hint.fromList(c,{words:n})}:r.hint.anyword?function(c,o){return r.hint.anyword(c,o)}:function(){}}r.registerHelper("hint","auto",{resolve:et}),r.registerHelper("hint","fromList",function(t,e){var i=t.getCursor(),n=t.getTokenAt(i),s,c=r.Pos(i.line,n.start),o=i;n.start<i.ch&&/\w/.test(n.string.charAt(i.ch-n.start-1))?s=n.string.substr(0,i.ch-n.start):(s="",c=i);for(var f=[],a=0;a<e.words.length;a++){var u=e.words[a];u.slice(0,s.length)==s&&f.push(u)}if(f.length)return{list:f,from:c,to:o}}),r.commands.autocomplete=r.showHint;var U={hint:r.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};r.defineOption("hintOptions",null)})})();var ct=X.exports,at=rt({__proto__:null,default:ct},[X.exports]);export{at as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as _}from"./index.
|
|
1
|
+
import{A as _}from"./index.c2e31551.entry.js";function b(l,p){return p.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(o){if(o!=="default"&&!(o in l)){var u=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(l,o,u.get?u:{enumerable:!0,get:function(){return t[o]}})}})}),Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}};(function(l,p){(function(t){t(_.exports)})(function(t){t.defineMode("sieve",function(o){function u(n){for(var e={},r=n.split(" "),i=0;i<r.length;++i)e[r[i]]=!0;return e}var v=u("if elsif else stop require"),k=u("true false not"),s=o.indentUnit;function f(n,e){var r=n.next();if(r=="/"&&n.eat("*"))return e.tokenize=d,d(n,e);if(r==="#")return n.skipToEnd(),"comment";if(r=='"')return e.tokenize=h(r),e.tokenize(n,e);if(r=="(")return e._indent.push("("),e._indent.push("{"),null;if(r==="{")return e._indent.push("{"),null;if(r==")"&&(e._indent.pop(),e._indent.pop()),r==="}")return e._indent.pop(),null;if(r==","||r==";"||/[{}\(\),;]/.test(r))return null;if(/\d/.test(r))return n.eatWhile(/[\d]/),n.eat(/[KkMmGg]/),"number";if(r==":")return n.eatWhile(/[a-zA-Z_]/),n.eatWhile(/[a-zA-Z0-9_]/),"operator";n.eatWhile(/\w/);var i=n.current();return i=="text"&&n.eat(":")?(e.tokenize=g,"string"):v.propertyIsEnumerable(i)?"keyword":k.propertyIsEnumerable(i)?"atom":null}function g(n,e){return e._multiLineString=!0,n.sol()?(n.next()=="."&&n.eol()&&(e._multiLineString=!1,e.tokenize=f),"string"):(n.eatSpace(),n.peek()=="#"?(n.skipToEnd(),"comment"):(n.skipToEnd(),"string"))}function d(n,e){for(var r=!1,i;(i=n.next())!=null;){if(r&&i=="/"){e.tokenize=f;break}r=i=="*"}return"comment"}function h(n){return function(e,r){for(var i=!1,c;(c=e.next())!=null&&!(c==n&&!i);)i=!i&&c=="\\";return i||(r.tokenize=f),"string"}}return{startState:function(n){return{tokenize:f,baseIndent:n||0,_indent:[]}},token:function(n,e){return n.eatSpace()?null:(e.tokenize||f)(n,e)},indent:function(n,e){var r=n._indent.length;return e&&e[0]=="}"&&r--,r<0&&(r=0),r*s},electricChars:"}"}}),t.defineMIME("application/sieve","sieve")})})();var y=a.exports,x=b({__proto__:null,default:y},[a.exports]);export{x as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as E}from"./index.
|
|
1
|
+
import{A as E}from"./index.c2e31551.entry.js";var U={exports:{}};(function(I,R){(function(g){g(E.exports)})(function(g){g.defineSimpleMode=function(t,o){g.defineMode(t,function(n){return g.simpleMode(n,o)})},g.simpleMode=function(t,o){x(o,"start");var n={},e=o.meta||{},f=!1;for(var r in o)if(r!=e&&o.hasOwnProperty(r))for(var a=n[r]=[],u=o[r],d=0;d<u.length;d++){var i=u[d];a.push(new k(i,o)),(i.indent||i.dedent)&&(f=!0)}var p={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:f?[]:null}},copyState:function(l){var h={state:l.state,pending:l.pending,local:l.local,localState:null,indent:l.indent&&l.indent.slice(0)};l.localState&&(h.localState=g.copyState(l.local.mode,l.localState)),l.stack&&(h.stack=l.stack.slice(0));for(var S=l.persistentStates;S;S=S.next)h.persistentStates={mode:S.mode,spec:S.spec,state:S.state==l.localState?h.localState:g.copyState(S.mode,S.state),next:h.persistentStates};return h},token:m(n,t),innerMode:function(l){return l.local&&{mode:l.local.mode,state:l.localState}},indent:P(n,e)};if(e)for(var c in e)e.hasOwnProperty(c)&&(p[c]=e[c]);return p};function x(t,o){if(!t.hasOwnProperty(o))throw new Error("Undefined state "+o+" in simple mode")}function s(t,o){if(!t)return/(?:)/;var n="";return t instanceof RegExp?(t.ignoreCase&&(n="i"),t.unicode&&(n+="u"),t=t.source):t=String(t),new RegExp((o===!1?"":"^")+"(?:"+t+")",n)}function y(t){if(!t)return null;if(t.apply)return t;if(typeof t=="string")return t.replace(/\./g," ");for(var o=[],n=0;n<t.length;n++)o.push(t[n]&&t[n].replace(/\./g," "));return o}function k(t,o){(t.next||t.push)&&x(o,t.next||t.push),this.regex=s(t.regex),this.token=y(t.token),this.data=t}function m(t,o){return function(n,e){if(e.pending){var f=e.pending.shift();return e.pending.length==0&&(e.pending=null),n.pos+=f.text.length,f.token}if(e.local)if(e.local.end&&n.match(e.local.end)){var r=e.local.endToken||null;return e.local=e.localState=null,r}else{var r=e.local.mode.token(n,e.localState),a;return e.local.endScan&&(a=e.local.endScan.exec(n.current()))&&(n.pos=n.start+a.index),r}for(var u=t[e.state],d=0;d<u.length;d++){var i=u[d],p=(!i.data.sol||n.sol())&&n.match(i.regex);if(p){i.data.next?e.state=i.data.next:i.data.push?((e.stack||(e.stack=[])).push(e.state),e.state=i.data.push):i.data.pop&&e.stack&&e.stack.length&&(e.state=e.stack.pop()),i.data.mode&&w(o,e,i.data.mode,i.token),i.data.indent&&e.indent.push(n.indentation()+o.indentUnit),i.data.dedent&&e.indent.pop();var c=i.token;if(c&&c.apply&&(c=c(p)),p.length>2&&i.token&&typeof i.token!="string"){for(var l=2;l<p.length;l++)p[l]&&(e.pending||(e.pending=[])).push({text:p[l],token:i.token[l-1]});return n.backUp(p[0].length-(p[1]?p[1].length:0)),c[0]}else return c&&c.join?c[0]:c}}return n.next(),null}}function v(t,o){if(t===o)return!0;if(!t||typeof t!="object"||!o||typeof o!="object")return!1;var n=0;for(var e in t)if(t.hasOwnProperty(e)){if(!o.hasOwnProperty(e)||!v(t[e],o[e]))return!1;n++}for(var e in o)o.hasOwnProperty(e)&&n--;return n==0}function w(t,o,n,e){var f;if(n.persistent)for(var r=o.persistentStates;r&&!f;r=r.next)(n.spec?v(n.spec,r.spec):n.mode==r.mode)&&(f=r);var a=f?f.mode:n.mode||g.getMode(t,n.spec),u=f?f.state:g.startState(a);n.persistent&&!f&&(o.persistentStates={mode:a,spec:n.spec,state:u,next:o.persistentStates}),o.localState=u,o.local={mode:a,end:n.end&&s(n.end),endScan:n.end&&n.forceEnd!==!1&&s(n.end,!1),endToken:e&&e.join?e[e.length-1]:e}}function O(t,o){for(var n=0;n<o.length;n++)if(o[n]===t)return!0}function P(t,o){return function(n,e,f){if(n.local&&n.local.mode.indent)return n.local.mode.indent(n.localState,e,f);if(n.indent==null||n.local||o.dontIndentStates&&O(n.state,o.dontIndentStates)>-1)return g.Pass;var r=n.indent.length-1,a=t[n.state];n:for(;;){for(var u=0;u<a.length;u++){var d=a[u];if(d.data.dedent&&d.data.dedentIfLineStart!==!1){var i=d.regex.exec(e);if(i&&i[0]){r--,(d.next||d.push)&&(a=t[d.next||d.push]),e=e.slice(i[0].length);continue n}}}break}return r<0?0:n.indent[r]}}})})();export{U as s};
|