@directus/app 9.9.0 → 9.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. package/dist/assets/@directus_extensions-sdk.a9b8b128.entry.js +1 -0
  2. package/dist/assets/accounts.66ec28ae.js +1 -0
  3. package/dist/assets/{active-line.6bbf91fb.js → active-line.b401085a.js} +1 -1
  4. package/dist/assets/{activity-log.53df200b.js → activity-log.f155a932.js} +1 -1
  5. package/dist/assets/{activity.6947e1ed.js → activity.fda68c16.js} +1 -1
  6. package/dist/assets/af-ZA.ea7e1890.js +1 -0
  7. package/dist/assets/{apl.e1278c87.js → apl.ad4c850a.js} +1 -1
  8. package/dist/assets/ar-SA.3eb89e83.js +1 -0
  9. package/dist/assets/{asciiarmor.d92435b7.js → asciiarmor.1533a799.js} +1 -1
  10. package/dist/assets/{asn.1.2857fc96.js → asn.1.9766c944.js} +1 -1
  11. package/dist/assets/{asterisk.75e8ba21.js → asterisk.340bcc6f.js} +1 -1
  12. package/dist/assets/{authentication.47c00f3d.js → authentication.df231b15.js} +1 -1
  13. package/dist/assets/{autorefresh.09bfc818.js → autorefresh.597402d2.js} +1 -1
  14. package/dist/assets/{aws.de0c0245.js → aws.36b50ff7.js} +1 -1
  15. package/dist/assets/{backing-directus.88171fee.js → backing-directus.7441049e.js} +1 -1
  16. package/dist/assets/bg-BG.3cee3da1.js +2 -0
  17. package/dist/assets/{brainfuck.a016239b.js → brainfuck.5031fbd8.js} +1 -1
  18. package/dist/assets/ca-ES.34596b68.js +1 -0
  19. package/dist/assets/{cli.89ce48e4.js → cli.65e75a12.js} +1 -1
  20. package/dist/assets/{cli.4e8add05.js → cli.9da7257e.js} +2 -2
  21. package/dist/assets/{clike.15e906e9.js → clike.2014b970.js} +1 -1
  22. package/dist/assets/{clojure.b0de4658.js → clojure.49bcb61f.js} +1 -1
  23. package/dist/assets/{cloudron.fe5d63bb.js → cloudron.3050bd55.js} +1 -1
  24. package/dist/assets/{cmake.9a27cfee.js → cmake.6206ebe0.js} +1 -1
  25. package/dist/assets/{cobol.c3f5c63a.js → cobol.bf2929ad.js} +1 -1
  26. package/dist/assets/{codebase-overview.1e599f59.js → codebase-overview.d34cee5a.js} +1 -1
  27. package/dist/assets/{coffeescript.761ef50a.js → coffeescript.683a9493.js} +1 -1
  28. package/dist/assets/collections.2aabdde0.js +2 -0
  29. package/dist/assets/{collections.463715a2.js → collections.6586cf2b.js} +1 -1
  30. package/dist/assets/{commonlisp.231b0519.js → commonlisp.78d5ea31.js} +1 -1
  31. package/dist/assets/config-options.d7abaa21.js +138 -0
  32. package/dist/assets/content.f88a75fa.js +1 -0
  33. package/dist/assets/{creating-extensions.9724777a.js → creating-extensions.06da88d4.js} +2 -2
  34. package/dist/assets/{crystal.2b86a02f.js → crystal.0b111653.js} +1 -1
  35. package/dist/assets/cs-CZ.0a7d946d.js +1 -0
  36. package/dist/assets/{css.643fd125.js → css.9ca6545e.js} +1 -1
  37. package/dist/assets/{cypher.b6cd34c8.js → cypher.491ccd0b.js} +2 -2
  38. package/dist/assets/{d.79974865.js → d.b4a0bf85.js} +1 -1
  39. package/dist/assets/da-DK.eafe971e.js +1 -0
  40. package/dist/assets/{dart.2b047faf.js → dart.64a49425.js} +1 -1
  41. package/dist/assets/data-model.8a30a047.js +1 -0
  42. package/dist/assets/data-sharing.3e5d04af.js +1 -0
  43. package/dist/assets/de-DE.e7decfad.js +1 -0
  44. package/dist/assets/{diff.b48d7234.js → diff.9b4eb42c.js} +1 -1
  45. package/dist/assets/{digitalocean-app-platform.b190b883.js → digitalocean-app-platform.1685e8e9.js} +1 -1
  46. package/dist/assets/{displays.3a307d23.js → displays.33667d66.js} +1 -1
  47. package/dist/assets/{django.00c70387.js → django.e92ce65a.js} +1 -1
  48. package/dist/assets/{docker.8baa0007.js → docker.a5acf639.js} +1 -1
  49. package/dist/assets/{dockerfile.ce5f82bf.js → dockerfile.800e464f.js} +1 -1
  50. package/dist/assets/{documentation.dbed6912.js → documentation.75e1dbe7.js} +1 -1
  51. package/dist/assets/{dtd.9325a71e.js → dtd.d899ff4d.js} +1 -1
  52. package/dist/assets/{dylan.cbeabfca.js → dylan.3bf494f9.js} +1 -1
  53. package/dist/assets/{ebnf.44341bfa.js → ebnf.d3953051.js} +1 -1
  54. package/dist/assets/{ecl.af27a747.js → ecl.0272e6d2.js} +1 -1
  55. package/dist/assets/{eiffel.f67e2e9c.js → eiffel.2b68c9d3.js} +1 -1
  56. package/dist/assets/el-GR.6cae7a1c.js +1 -0
  57. package/dist/assets/{elm.8233aaa9.js → elm.818f0dcc.js} +1 -1
  58. package/dist/assets/{email-templates.b00d05fb.js → email-templates.717f473c.js} +1 -1
  59. package/dist/assets/en-GB.a1107f0b.js +1 -0
  60. package/dist/assets/{endpoints.e2ce5f17.js → endpoints.38ff408f.js} +1 -1
  61. package/dist/assets/{erlang.ab89130e.js → erlang.5656eb79.js} +1 -1
  62. package/dist/assets/es-419.39bb29ff.js +1 -0
  63. package/dist/assets/es-CL.25194b00.js +1 -0
  64. package/dist/assets/es-ES.4d20beff.js +1 -0
  65. package/dist/assets/{extensions.51436697.js → extensions.1c445bc7.js} +1 -1
  66. package/dist/assets/{fa-IR.1fe08a4a.js → fa-IR.e1677687.js} +1 -1
  67. package/dist/assets/{factor.52bac3a6.js → factor.741e009d.js} +1 -1
  68. package/dist/assets/{faq.935a706b.js → faq.78697b58.js} +1 -1
  69. package/dist/assets/{fcl.dfe77506.js → fcl.3895a102.js} +1 -1
  70. package/dist/assets/{fields.be40c23b.js → fields.d1074900.js} +8 -8
  71. package/dist/assets/{file-library.8fb8619c.js → file-library.4949e665.js} +1 -1
  72. package/dist/assets/{files.85bdd938.js → files.91312a78.js} +1 -1
  73. package/dist/assets/{filter-rules.024e541c.js → filter-rules.facc75e8.js} +2 -2
  74. package/dist/assets/{filters.7dc92551.js → filters.7f7e70e1.js} +1 -1
  75. package/dist/assets/{folders.320547cb.js → folders.2ba716f4.js} +1 -1
  76. package/dist/assets/{forth.40fb17ec.js → forth.47a6fd5a.js} +1 -1
  77. package/dist/assets/{fortran.c4d99723.js → fortran.0476ddaf.js} +1 -1
  78. package/dist/assets/fr-CA.5af4ee91.js +1 -0
  79. package/dist/assets/fr-FR.14c45a4a.js +1 -0
  80. package/dist/assets/{gas.a1476537.js → gas.925fe344.js} +1 -1
  81. package/dist/assets/{gcp.8cbf4c5f.js → gcp.7a7b6f00.js} +1 -1
  82. package/dist/assets/{gfm.936c4c99.js → gfm.bab94e18.js} +1 -1
  83. package/dist/assets/{gherkin.04587d07.js → gherkin.b12288c3.js} +1 -1
  84. package/dist/assets/{github-ci.f546ec05.js → github-ci.c6adf0fc.js} +2 -2
  85. package/dist/assets/{glossary.277f4a7a.js → glossary.14269bbd.js} +1 -1
  86. package/dist/assets/glossary.5256ce56.js +1 -0
  87. package/dist/assets/{go.cd420c08.js → go.72d6ad84.js} +1 -1
  88. package/dist/assets/{groovy.313bf71b.js → groovy.41fb7b3d.js} +1 -1
  89. package/dist/assets/{haml.a80d61e3.js → haml.75173308.js} +1 -1
  90. package/dist/assets/{handlebars.7dafd88d.js → handlebars.df6b03ee.js} +1 -1
  91. package/dist/assets/{haskell-literate.b319f491.js → haskell-literate.34795dfa.js} +1 -1
  92. package/dist/assets/{haskell.e42a7cfa.js → haskell.d237786e.js} +1 -1
  93. package/dist/assets/{haxe.09aa5393.js → haxe.fb5de012.js} +1 -1
  94. package/dist/assets/hooks.feb279e1.js +60 -0
  95. package/dist/assets/hr-HR.51d2055f.js +1 -0
  96. package/dist/assets/{htmlembedded.15b0cc02.js → htmlembedded.9cfb9140.js} +1 -1
  97. package/dist/assets/{htmlmixed.6fb46fc5.js → htmlmixed.6ded1069.js} +1 -1
  98. package/dist/assets/{http.9728e5fb.js → http.8703fdbc.js} +1 -1
  99. package/dist/assets/{idl.a67cc49d.js → idl.1cdf60d2.js} +1 -1
  100. package/dist/assets/{iis.7dcc60ab.js → iis.77f179bc.js} +2 -2
  101. package/dist/assets/import-export.1b7b1a4e.js +2 -0
  102. package/dist/assets/{index.a9aa6205.js → index.0110a287.js} +1 -1
  103. package/dist/assets/{index.5a794321.js → index.033ed977.js} +1 -1
  104. package/dist/assets/{index.b4a92868.js → index.04690823.js} +1 -1
  105. package/dist/assets/{index.a91c6b45.js → index.048eda71.js} +1 -1
  106. package/dist/assets/{index.0506eaa6.js → index.0815928f.js} +1 -1
  107. package/dist/assets/{index.80450287.js → index.09699e1e.js} +1 -1
  108. package/dist/assets/{index.59ae5d0f.js → index.0fbada9c.js} +1 -1
  109. package/dist/assets/{index.e6f59818.js → index.12c0ad4e.js} +1 -1
  110. package/dist/assets/{index.45da29ab.js → index.1bf154ed.js} +1 -1
  111. package/dist/assets/{index.b186fde0.js → index.1df4732b.js} +1 -1
  112. package/dist/assets/{index.171b6af1.js → index.240f798a.js} +1 -1
  113. package/dist/assets/{index.389b94c8.js → index.2e432555.js} +1 -1
  114. package/dist/assets/{index.f9cd3880.js → index.32a22ef0.js} +1 -1
  115. package/dist/assets/{index.c3784752.js → index.3381f9ac.js} +1 -1
  116. package/dist/assets/{index.685bce47.js → index.34c68b69.js} +1 -1
  117. package/dist/assets/{index.7f5ed078.js → index.39fe5fac.js} +1 -1
  118. package/dist/assets/{index.cc5ad547.js → index.3d1b223f.js} +1 -1
  119. package/dist/assets/{index.21a9834f.js → index.41f34e92.js} +1 -1
  120. package/dist/assets/{index.cb5110f9.js → index.44d5e2dc.js} +1 -1
  121. package/dist/assets/{index.ae9a5fb4.js → index.46f0bdcc.js} +1 -1
  122. package/dist/assets/{index.a88be96b.js → index.48db884c.js} +1 -1
  123. package/dist/assets/{index.13f5fe5f.js → index.4ed4946a.js} +1 -1
  124. package/dist/assets/{index.c8dc6ca5.js → index.514b19db.js} +1 -1
  125. package/dist/assets/{index.8a8407be.js → index.51cee932.js} +1 -1
  126. package/dist/assets/{index.0caa9081.js → index.559605bd.js} +1 -1
  127. package/dist/assets/{index.88920074.js → index.5c01e9ee.js} +1 -1
  128. package/dist/assets/{index.3dbbaf52.js → index.5df8dd30.js} +1 -1
  129. package/dist/assets/{index.46b7778c.js → index.608219b0.js} +1 -1
  130. package/dist/assets/{index.98d878f1.js → index.61e038ab.js} +1 -1
  131. package/dist/assets/{index.e9b7ab4d.js → index.622e101a.js} +1 -1
  132. package/dist/assets/{index.9e8d6925.js → index.62ded6ae.js} +1 -1
  133. package/dist/assets/{index.6605d006.js → index.63ef0f0a.js} +1 -1
  134. package/dist/assets/{index.a10b94b2.js → index.68a203aa.js} +1 -1
  135. package/dist/assets/{index.b483240d.js → index.699c0012.js} +1 -1
  136. package/dist/assets/{index.64de2009.js → index.69fa0c1b.js} +1 -1
  137. package/dist/assets/index.6e9900f6.css +1 -0
  138. package/dist/assets/index.6f51cf11.entry.js +541 -0
  139. package/dist/assets/{index.e02e0d28.js → index.7015d249.js} +1 -1
  140. package/dist/assets/{index.610c9151.js → index.714cdcfe.js} +1 -1
  141. package/dist/assets/{index.c703aee9.js → index.794edd66.js} +1 -1
  142. package/dist/assets/{index.6cf34799.js → index.7b23ebae.js} +1 -1
  143. package/dist/assets/{index.b88de3ae.js → index.7c373fdc.js} +1 -1
  144. package/dist/assets/{index.97668bbf.js → index.7dc0331a.js} +1 -1
  145. package/dist/assets/{index.6af4ce1f.js → index.87e5cc93.js} +1 -1
  146. package/dist/assets/{index.4456c277.js → index.894b274c.js} +1 -1
  147. package/dist/assets/index.895a297f.css +1 -0
  148. package/dist/assets/{index.83fd5341.js → index.8b524510.js} +1 -1
  149. package/dist/assets/{index.7d29bb6a.js → index.92e1f783.js} +1 -1
  150. package/dist/assets/{index.97e65647.js → index.954ec9a0.js} +1 -1
  151. package/dist/assets/{index.cd6a933f.js → index.9907f7be.js} +1 -1
  152. package/dist/assets/{index.3d78c763.js → index.9b2737f9.js} +1 -1
  153. package/dist/assets/{index.ca8764c7.js → index.9c57bec9.js} +1 -1
  154. package/dist/assets/{index.5fc64b2a.js → index.9ecb105d.js} +1 -1
  155. package/dist/assets/{index.3b0742fc.js → index.a28b95c7.js} +1 -1
  156. package/dist/assets/{index.d883fc0c.js → index.a2f7201b.js} +1 -1
  157. package/dist/assets/{index.a1b5c958.js → index.a5f89761.js} +1 -1
  158. package/dist/assets/{index.4ec78136.js → index.a926e050.js} +1 -1
  159. package/dist/assets/{index.ff6caf93.js → index.a9e562ee.js} +1 -1
  160. package/dist/assets/{index.e27e5b8a.js → index.aab3e7b4.js} +1 -1
  161. package/dist/assets/{index.89eeb36a.js → index.aae62c85.js} +1 -1
  162. package/dist/assets/{index.2fc2fbc9.js → index.ab79c50c.js} +1 -1
  163. package/dist/assets/{index.2f6f0c07.js → index.b4462fae.js} +1 -1
  164. package/dist/assets/{index.61b89348.js → index.b4be1f39.js} +1 -1
  165. package/dist/assets/{index.75a8cc02.js → index.b4d78ccd.js} +1 -1
  166. package/dist/assets/{index.fb18b52c.js → index.bf63ef3a.js} +1 -1
  167. package/dist/assets/{index.a5a4912c.js → index.bfad08ee.js} +1 -1
  168. package/dist/assets/{index.7ed0bfe9.js → index.c004601a.js} +1 -1
  169. package/dist/assets/{index.07cfe1c3.js → index.c8469642.js} +1 -1
  170. package/dist/assets/{index.21c3f865.js → index.c91d8146.js} +1 -1
  171. package/dist/assets/{index.6001ef1f.js → index.c98dd361.js} +1 -1
  172. package/dist/assets/{index.685424cd.js → index.c9ff9d0e.js} +1 -1
  173. package/dist/assets/{index.96312f2c.js → index.cb3f9a66.js} +1 -1
  174. package/dist/assets/{index.15d7886b.js → index.cf0d6f97.js} +1 -1
  175. package/dist/assets/{index.157c8d64.js → index.cfe13745.js} +1 -1
  176. package/dist/assets/{index.63ee3afa.js → index.d698800c.js} +1 -1
  177. package/dist/assets/{index.018dcc11.js → index.dabfc237.js} +1 -1
  178. package/dist/assets/{index.eaf464e6.js → index.dfe7aaf5.js} +1 -1
  179. package/dist/assets/{index.46b3c602.js → index.e0e28888.js} +1 -1
  180. package/dist/assets/{index.a315ecd2.js → index.e7716891.js} +1 -1
  181. package/dist/assets/{index.513e0ab5.js → index.eda26b6f.js} +1 -1
  182. package/dist/assets/index.eedd8c14.js +26 -0
  183. package/dist/assets/{index.3c08b982.js → index.f2c707f1.js} +1 -1
  184. package/dist/assets/{index.c3791f49.js → index.f9e6a6fc.js} +1 -1
  185. package/dist/assets/{index.97a18cb3.js → index.fc49cd25.js} +1 -1
  186. package/dist/assets/{input-rich-text-html.f36d783f.js → input-rich-text-html.22b8d78b.js} +79 -78
  187. package/dist/assets/{input-rich-text-html.be7d2388.css → input-rich-text-html.ef9358cf.css} +1 -1
  188. package/dist/assets/{insights.f4b71ab3.js → insights.b8ef3fca.js} +1 -1
  189. package/dist/assets/{installation.2d8a8652.js → installation.02c68943.js} +1 -1
  190. package/dist/assets/{interfaces.c83b17eb.js → interfaces.f168e698.js} +3 -3
  191. package/dist/assets/{introduction.49afd7d0.js → introduction.01b1f832.js} +1 -1
  192. package/dist/assets/{introduction.f8521883.js → introduction.020b2d96.js} +1 -1
  193. package/dist/assets/{introduction.bacd0561.js → introduction.55d775be.js} +1 -1
  194. package/dist/assets/{introduction.9fd81346.js → introduction.5ea08cd7.js} +4 -4
  195. package/dist/assets/is-IS.de933c2f.js +1 -0
  196. package/dist/assets/it-IT.f8b95631.js +1 -0
  197. package/dist/assets/items.0473f1d7.js +1 -0
  198. package/dist/assets/{items.e40513d2.js → items.8e48bba2.js} +1 -1
  199. package/dist/assets/ja-JP.08e6d3fa.js +1 -0
  200. package/dist/assets/{javascript-hint.43d87191.js → javascript-hint.de495ceb.js} +1 -1
  201. package/dist/assets/{javascript.95ea34e5.js → javascript.3248781e.js} +1 -1
  202. package/dist/assets/{jinja2.7c722e68.js → jinja2.ac8d0b46.js} +1 -1
  203. package/dist/assets/{jsx.0c14c29e.js → jsx.dd1f6e7b.js} +1 -1
  204. package/dist/assets/{julia.99fcb669.js → julia.43690f91.js} +1 -1
  205. package/dist/assets/layouts.52ea8ab5.js +1 -0
  206. package/dist/assets/{layouts.f954ab28.js → layouts.b3ab207c.js} +1 -1
  207. package/dist/assets/{livescript.6a0081fc.js → livescript.3a7cd28a.js} +1 -1
  208. package/dist/assets/{localization.2d59121a.js → localization.0df69550.js} +1 -1
  209. package/dist/assets/{lua.fb9bace7.js → lua.7203e51f.js} +1 -1
  210. package/dist/assets/{manual.2832d043.js → manual.47b8c374.js} +3 -3
  211. package/dist/assets/{mark-selection.86d150aa.js → mark-selection.fb569efe.js} +1 -1
  212. package/dist/assets/{match-highlighter.248bdfe3.js → match-highlighter.6b06b78b.js} +1 -1
  213. package/dist/assets/{mathematica.72fe85ec.js → mathematica.06e6fdd3.js} +1 -1
  214. package/dist/assets/{mbox.0c468b08.js → mbox.13290c43.js} +1 -1
  215. package/dist/assets/{migrations.9453b678.js → migrations.12e641ae.js} +1 -1
  216. package/dist/assets/{mirc.e2eda47f.js → mirc.78adf313.js} +1 -1
  217. package/dist/assets/{mllike.40e2af87.js → mllike.d6434450.js} +1 -1
  218. package/dist/assets/{modelica.fd7f5524.js → modelica.3c01deee.js} +1 -1
  219. package/dist/assets/{modules.8036e25b.js → modules.f92aab83.js} +2 -2
  220. package/dist/assets/{mscgen.5dfb9d6d.js → mscgen.437e19e9.js} +1 -1
  221. package/dist/assets/{multiplex.84790171.js → multiplex.0354f227.js} +1 -1
  222. package/dist/assets/{mumps.f303daa2.js → mumps.b8a57f60.js} +1 -1
  223. package/dist/assets/{nginx.3aeb34e2.js → nginx.bbf51071.js} +1 -1
  224. package/dist/assets/nl-NL.bbb6b3b0.js +1 -0
  225. package/dist/assets/{notifications.997cf62b.js → notifications.883ce8d1.js} +1 -1
  226. package/dist/assets/{nsis.f5b95ae5.js → nsis.a89a00f6.js} +1 -1
  227. package/dist/assets/{ntriples.5776c71b.js → ntriples.ef9c72ec.js} +1 -1
  228. package/dist/assets/{octave.dc062387.js → octave.a8523cda.js} +1 -1
  229. package/dist/assets/{overlay.a7fd1141.js → overlay.008b00ad.js} +1 -1
  230. package/dist/assets/overview.2d540ea4.js +1 -0
  231. package/dist/assets/{overview.1ff1c87d.js → overview.86e4934b.js} +1 -1
  232. package/dist/assets/{overview.3cb4afdc.js → overview.de9556fd.js} +1 -1
  233. package/dist/assets/{oz.386b3e46.js → oz.de50fb14.js} +1 -1
  234. package/dist/assets/{panels.ea3ae2f7.js → panels.bbc99568.js} +1 -1
  235. package/dist/assets/{pascal.41299bfd.js → pascal.959462c3.js} +1 -1
  236. package/dist/assets/{pegjs.48382749.js → pegjs.d0ed91d9.js} +1 -1
  237. package/dist/assets/{perl.f0945fb0.js → perl.357b4e1f.js} +1 -1
  238. package/dist/assets/{permissions.a9f997e9.js → permissions.0361ba5a.js} +2 -2
  239. package/dist/assets/{php.3cebc8fd.js → php.d803daf6.js} +1 -1
  240. package/dist/assets/{pig.60461179.js → pig.e0e0238c.js} +1 -1
  241. package/dist/assets/pinia.069c0eaf.entry.js +1 -0
  242. package/dist/assets/pl-PL.88a9500c.js +1 -0
  243. package/dist/assets/{plesk.1c0cdc6c.js → plesk.702973ab.js} +4 -4
  244. package/dist/assets/{powershell.069f8b6a.js → powershell.49d52037.js} +1 -1
  245. package/dist/assets/{presets-bookmarks.c79e514b.js → presets-bookmarks.6b8983b4.js} +1 -1
  246. package/dist/assets/{presets.17a36c3f.js → presets.8666c809.js} +1 -1
  247. package/dist/assets/{project-settings.3c79eba5.js → project-settings.fd8d1f09.js} +1 -1
  248. package/dist/assets/projects.c32560d9.js +1 -0
  249. package/dist/assets/{properties.64766cf8.js → properties.71f47129.js} +1 -1
  250. package/dist/assets/{protobuf.eb9545c9.js → protobuf.fd7a72f0.js} +1 -1
  251. package/dist/assets/pt-BR.92a32af8.js +1 -0
  252. package/dist/assets/{pug.7574d837.js → pug.6691e2a0.js} +1 -1
  253. package/dist/assets/{puppet.db905457.js → puppet.85bbcdfd.js} +1 -1
  254. package/dist/assets/{python.02eff423.js → python.4ce17729.js} +1 -1
  255. package/dist/assets/{q.66027833.js → q.dd127609.js} +1 -1
  256. package/dist/assets/{query.2dd7bdcf.js → query.cf922720.js} +7 -7
  257. package/dist/assets/{quickstart.c3e1b244.js → quickstart.b18751b0.js} +2 -2
  258. package/dist/assets/{r.cac68cee.js → r.d7fdc378.js} +1 -1
  259. package/dist/assets/{relations.47d0f3eb.js → relations.c91c83fc.js} +1 -1
  260. package/dist/assets/{relationships.83d3827b.js → relationships.b1a4f98b.js} +1 -1
  261. package/dist/assets/{revisions.ae53c876.js → revisions.6e05d820.js} +2 -2
  262. package/dist/assets/ro-RO.83d12aa1.js +1 -0
  263. package/dist/assets/{roles.89a9f17e.js → roles.22caf5e4.js} +5 -5
  264. package/dist/assets/{rpm.3646a7b5.js → rpm.c5cba333.js} +1 -1
  265. package/dist/assets/{rst.5ad53166.js → rst.0ec4b9fd.js} +1 -1
  266. package/dist/assets/{ruby.6b26f9ed.js → ruby.9e4417f8.js} +1 -1
  267. package/dist/assets/{running-locally.1375752e.js → running-locally.16ba1e8e.js} +1 -1
  268. package/dist/assets/{rust.81523550.js → rust.cb15ec63.js} +1 -1
  269. package/dist/assets/{sas.4cb2d15a.js → sas.20c8274a.js} +1 -1
  270. package/dist/assets/{sass.d12ac852.js → sass.de175114.js} +1 -1
  271. package/dist/assets/{scheme.b03f0aaa.js → scheme.db6fc72b.js} +1 -1
  272. package/dist/assets/{sdk.2fc84efb.js → sdk.5d0984d2.js} +1 -1
  273. package/dist/assets/{security.4d0d72b1.js → security.0309ebfa.js} +1 -1
  274. package/dist/assets/{server.5bd847b0.js → server.3056da3b.js} +1 -1
  275. package/dist/assets/{settings.7eccffc9.js → settings.1b4f93a0.js} +1 -1
  276. package/dist/assets/{settings.031b3a38.js → settings.faf934bd.js} +1 -1
  277. package/dist/assets/{shell.7b49bfc1.js → shell.84bb2e73.js} +1 -1
  278. package/dist/assets/{show-hint.86339a62.js → show-hint.a0b705f3.js} +1 -1
  279. package/dist/assets/{sieve.a5a26641.js → sieve.d423e40c.js} +1 -1
  280. package/dist/assets/{simple.c622d8f9.js → simple.f329512a.js} +1 -1
  281. package/dist/assets/{slim.f3ea8ff0.js → slim.92e9b12a.js} +1 -1
  282. package/dist/assets/{smalltalk.56194f87.js → smalltalk.808d306f.js} +1 -1
  283. package/dist/assets/{smarty.4e6d88d2.js → smarty.b45887b7.js} +1 -1
  284. package/dist/assets/{solr.a43eac68.js → solr.5cc56749.js} +1 -1
  285. package/dist/assets/{soy.283d449e.js → soy.bb278352.js} +1 -1
  286. package/dist/assets/{sparql.4cebd3ac.js → sparql.bcb141bf.js} +1 -1
  287. package/dist/assets/{spreadsheet.ef6314d6.js → spreadsheet.e1aa486d.js} +1 -1
  288. package/dist/assets/{sql.47341a68.js → sql.f910bfb4.js} +1 -1
  289. package/dist/assets/sso-examples.05a51dc0.js +64 -0
  290. package/dist/assets/{sso.add8d47b.js → sso.d50d1779.js} +3 -3
  291. package/dist/assets/{stex.e1b5f235.js → stex.f8b497ca.js} +1 -1
  292. package/dist/assets/{stylus.d3df3258.js → stylus.baafca01.js} +1 -1
  293. package/dist/assets/support.030f40ca.js +1 -0
  294. package/dist/assets/sv-SE.95898df0.js +1 -0
  295. package/dist/assets/{swift.ca59c50a.js → swift.7e0549b9.js} +1 -1
  296. package/dist/assets/{tcl.fe2a837f.js → tcl.9b3bd512.js} +1 -1
  297. package/dist/assets/teams.8a12610a.js +1 -0
  298. package/dist/assets/{textile.ee8dd95b.js → textile.bcfc1004.js} +1 -1
  299. package/dist/assets/{themes.25e9bf0d.js → themes.9658a21b.js} +1 -1
  300. package/dist/assets/{tiddlywiki.444c4106.js → tiddlywiki.05c69da4.js} +1 -1
  301. package/dist/assets/{tiki.b76198ed.js → tiki.c205ced9.js} +1 -1
  302. package/dist/assets/{toml.e5225bb9.js → toml.21eca43e.js} +1 -1
  303. package/dist/assets/{tornado.b78a0b6c.js → tornado.98c58954.js} +1 -1
  304. package/dist/assets/{translations.7fe47fa2.js → translations.a77c3676.js} +1 -1
  305. package/dist/assets/{troff.b93ac9c8.js → troff.c60c6b4b.js} +1 -1
  306. package/dist/assets/{ttcn-cfg.a3d8d93e.js → ttcn-cfg.1fc06da2.js} +1 -1
  307. package/dist/assets/{ttcn.9f09f7fd.js → ttcn.4eb17e33.js} +1 -1
  308. package/dist/assets/{turtle.ed601c60.js → turtle.5a68ff69.js} +1 -1
  309. package/dist/assets/{twig.3cf94a98.js → twig.f98a23de.js} +1 -1
  310. package/dist/assets/{ubuntu.a99406a6.js → ubuntu.a95e380a.js} +1 -1
  311. package/dist/assets/uk-UA.8be80c84.js +1 -0
  312. package/dist/assets/{upgrades-migrations.34198d2c.js → upgrades-migrations.aeab953d.js} +1 -1
  313. package/dist/assets/{use-sync.7248288e.js → use-sync.c510d0f0.js} +1 -1
  314. package/dist/assets/{user-directory.8b299819.js → user-directory.14b5d728.js} +1 -1
  315. package/dist/assets/{users-roles-permissions.06bc5099.js → users-roles-permissions.8f931cf8.js} +1 -1
  316. package/dist/assets/{users.4949054a.js → users.19874500.js} +1 -1
  317. package/dist/assets/{utilities.00721659.js → utilities.1ccaf710.js} +1 -1
  318. package/dist/assets/{vb.10798406.js → vb.e37751ec.js} +1 -1
  319. package/dist/assets/{vbscript.6cb5632b.js → vbscript.9afbdc82.js} +1 -1
  320. package/dist/assets/{velocity.aed5a56f.js → velocity.56113a41.js} +1 -1
  321. package/dist/assets/vendor.3b903562.js +2952 -0
  322. package/dist/assets/{verilog.4ad9b773.js → verilog.431e6106.js} +1 -1
  323. package/dist/assets/{vhdl.467abe16.js → vhdl.73d95444.js} +1 -1
  324. package/dist/assets/vue-i18n.33bfae79.entry.js +1 -0
  325. package/dist/assets/vue-router.af241365.entry.js +1 -0
  326. package/dist/assets/{vue.61ef1ae9.js → vue.6efad370.js} +1 -1
  327. package/dist/assets/vue.6f5ac172.entry.js +1 -0
  328. package/dist/assets/{wast.950795ac.js → wast.6c87cd75.js} +1 -1
  329. package/dist/assets/{webhooks.eb5c2a39.js → webhooks.592cb833.js} +1 -1
  330. package/dist/assets/{webhooks.42069e63.js → webhooks.ac49e207.js} +1 -1
  331. package/dist/assets/{webidl.f9d842ca.js → webidl.3d323e32.js} +1 -1
  332. package/dist/assets/{xquery.bc08e347.js → xquery.ca96a9a0.js} +1 -1
  333. package/dist/assets/{yacas.28c0aa9a.js → yacas.a7c67b32.js} +1 -1
  334. package/dist/assets/{yaml-frontmatter.4c3ba2ae.js → yaml-frontmatter.a06727f1.js} +1 -1
  335. package/dist/assets/{yaml.7a4d45f9.js → yaml.6a26e7a0.js} +1 -1
  336. package/dist/assets/{z80.d020b658.js → z80.ee1c60d3.js} +1 -1
  337. package/dist/assets/zh-TW.edfb1fce.js +1 -0
  338. package/dist/index.html +6 -5
  339. package/package.json +11 -6
  340. package/dist/assets/@directus_extensions-sdk.00774475.entry.js +0 -1
  341. package/dist/assets/accounts.ff6de473.js +0 -1
  342. package/dist/assets/af-ZA.71af2276.js +0 -1
  343. package/dist/assets/ar-SA.4e5e2a4d.js +0 -1
  344. package/dist/assets/bg-BG.5bed2efd.js +0 -2
  345. package/dist/assets/ca-ES.56d2029e.js +0 -1
  346. package/dist/assets/config-options.2736d5bd.js +0 -138
  347. package/dist/assets/content-collections.a52785f6.js +0 -1
  348. package/dist/assets/content-items.9c999e8f.js +0 -1
  349. package/dist/assets/content.ad233407.js +0 -1
  350. package/dist/assets/cs-CZ.21eb314a.js +0 -1
  351. package/dist/assets/da-DK.098d136f.js +0 -1
  352. package/dist/assets/data-model.118e1717.js +0 -1
  353. package/dist/assets/data-sharing.816eb372.js +0 -1
  354. package/dist/assets/de-DE.05347446.js +0 -1
  355. package/dist/assets/el-GR.b15e80c2.js +0 -1
  356. package/dist/assets/en-GB.d49ab07c.js +0 -1
  357. package/dist/assets/es-419.86b21e53.js +0 -1
  358. package/dist/assets/es-CL.d5fe3b03.js +0 -1
  359. package/dist/assets/es-ES.5299ee2e.js +0 -1
  360. package/dist/assets/fr-CA.500843e8.js +0 -1
  361. package/dist/assets/fr-FR.3e980b29.js +0 -1
  362. package/dist/assets/glossary.187c4442.js +0 -1
  363. package/dist/assets/hooks.aa5c59e4.js +0 -60
  364. package/dist/assets/hr-HR.488f4f23.js +0 -1
  365. package/dist/assets/index.31e06860.css +0 -1
  366. package/dist/assets/index.724a695d.js +0 -26
  367. package/dist/assets/index.7e3fd466.css +0 -1
  368. package/dist/assets/index.e573c648.entry.js +0 -542
  369. package/dist/assets/is-IS.35706417.js +0 -1
  370. package/dist/assets/it-IT.b16a9044.js +0 -1
  371. package/dist/assets/ja-JP.fd245edd.js +0 -1
  372. package/dist/assets/nl-NL.5b0204f4.js +0 -1
  373. package/dist/assets/overview.bf8e2858.js +0 -1
  374. package/dist/assets/pinia.0d7a4211.entry.js +0 -1
  375. package/dist/assets/pl-PL.b64bb4c6.js +0 -1
  376. package/dist/assets/projects.10455c80.js +0 -1
  377. package/dist/assets/pt-BR.629e0c60.js +0 -1
  378. package/dist/assets/ro-RO.e90ce157.js +0 -1
  379. package/dist/assets/support.377697d0.js +0 -1
  380. package/dist/assets/sv-SE.ea1c82a6.js +0 -1
  381. package/dist/assets/teams.2a3b4729.js +0 -1
  382. package/dist/assets/uk-UA.6ba66c91.js +0 -1
  383. package/dist/assets/vendor.48c33a64.js +0 -1976
  384. package/dist/assets/vue-i18n.bc4889d3.entry.js +0 -1
  385. package/dist/assets/vue-router.5965359d.entry.js +0 -1
  386. package/dist/assets/vue.701b3d92.entry.js +0 -1
  387. package/dist/assets/zh-TW.84c79b23.js +0 -1
@@ -1 +1 @@
1
- import{bS as F}from"./vendor.48c33a64.js";function Y(D,e){return e.forEach(function(R){R&&typeof R!="string"&&!Array.isArray(R)&&Object.keys(R).forEach(function(O){if(O!=="default"&&!(O in D)){var S=Object.getOwnPropertyDescriptor(R,O);Object.defineProperty(D,O,S.get?S:{enumerable:!0,get:function(){return R[O]}})}})}),Object.freeze(Object.defineProperty(D,Symbol.toStringTag,{value:"Module"}))}var G={exports:{}};(function(D,e){(function(R){R(F.exports)})(function(R){R.defineMode("cobol",function(){var O="builtin",S="comment",P="string",M="atom",r="number",o="keyword",B="header",l="def",u="link";function U(E){for(var T={},I=E.split(" "),A=0;A<I.length;++A)T[I[A]]=!0;return T}var n=U("TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES "),i=U("ACCEPT ACCESS ACQUIRE ADD ADDRESS ADVANCING AFTER ALIAS ALL ALPHABET ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED ALSO ALTER ALTERNATE AND ANY ARE AREA AREAS ARITHMETIC ASCENDING ASSIGN AT ATTRIBUTE AUTHOR AUTO AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP BEFORE BELL BINARY BIT BITS BLANK BLINK BLOCK BOOLEAN BOTTOM BY CALL CANCEL CD CF CH CHARACTER CHARACTERS CLASS CLOCK-UNITS CLOSE COBOL CODE CODE-SET COL COLLATING COLUMN COMMA COMMIT COMMITMENT COMMON COMMUNICATION COMP COMP-0 COMP-1 COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS CONVERTING COPY CORR CORRESPONDING COUNT CRT CRT-UNDER CURRENCY CURRENT CURSOR DATA DATE DATE-COMPILED DATE-WRITTEN DAY DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION DOWN DROP DUPLICATE DUPLICATES DYNAMIC EBCDIC EGI EJECT ELSE EMI EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY END-DIVIDE END-EVALUATE END-IF END-INVOKE END-MULTIPLY END-OF-PAGE END-PERFORM END-READ END-RECEIVE END-RETURN END-REWRITE END-SEARCH END-START END-STRING END-SUBTRACT END-UNSTRING END-WRITE END-XML ENTER ENTRY ENVIRONMENT EOP EQUAL EQUALS ERASE ERROR ESI EVALUATE EVERY EXCEEDS EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL FILE-STREAM FILES FILLER FINAL FIND FINISH FIRST FOOTING FOR FOREGROUND-COLOR FOREGROUND-COLOUR FORMAT FREE FROM FULL FUNCTION GENERATE GET GIVING GLOBAL GO GOBACK GREATER GROUP HEADING HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL ID IDENTIFICATION IF IN INDEX INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED INDIC INDICATE INDICATOR INDICATORS INITIAL INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT INSTALLATION INTO INVALID INVOKE IS JUST JUSTIFIED KANJI KEEP KEY LABEL LAST LD LEADING LEFT LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE LOCALE LOCALLY LOCK MEMBER MEMORY MERGE MESSAGE METACLASS MODE MODIFIED MODIFY MODULES MOVE MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE NEXT NO NO-ECHO NONE NOT NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS OF OFF OMITTED ON ONLY OPEN OPTIONAL OR ORDER ORGANIZATION OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL PADDING PAGE PAGE-COUNTER PARSE PERFORM PF PH PIC PICTURE PLUS POINTER POSITION POSITIVE PREFIX PRESENT PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID PROMPT PROTECTED PURGE QUEUE QUOTE QUOTES RANDOM RD READ READY REALM RECEIVE RECONNECT RECORD RECORD-NAME RECORDS RECURSIVE REDEFINES REEL REFERENCE REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE REMAINDER REMOVAL RENAMES REPEATED REPLACE REPLACING REPORT REPORTING REPORTS REPOSITORY REQUIRED RERUN RESERVE RESET RETAINING RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO REVERSED REWIND REWRITE RF RH RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED RUN SAME SCREEN SD SEARCH SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT SELECT SEND SENTENCE SEPARATE SEQUENCE SEQUENTIAL SET SHARED SIGN SIZE SKIP1 SKIP2 SKIP3 SORT SORT-MERGE SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 START STARTING STATUS STOP STORE STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT TABLE TALLYING TAPE TENANT TERMINAL TERMINATE TEST TEXT THAN THEN THROUGH THRU TIME TIMES TITLE TO TOP TRAILING TRAILING-SIGN TRANSACTION TYPE TYPEDEF UNDERLINE UNEQUAL UNIT UNSTRING UNTIL UP UPDATE UPON USAGE USAGE-MODE USE USING VALID VALIDATE VALUE VALUES VARYING VLR WAIT WHEN WHEN-COMPILED WITH WITHIN WORDS WORKING-STORAGE WRITE XML XML-CODE XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL "),t=U("- * ** / + < <= = > >= "),N={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};function f(E,T){return E==="0"&&T.eat(/x/i)?(T.eatWhile(N.hex),!0):((E=="+"||E=="-")&&N.digit.test(T.peek())&&(T.eat(N.sign),E=T.next()),N.digit.test(E)?(T.eat(E),T.eatWhile(N.digit),T.peek()=="."&&(T.eat("."),T.eatWhile(N.digit)),T.eat(N.exponent)&&(T.eat(N.sign),T.eatWhile(N.digit)),!0):!1)}return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(T.indentStack==null&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var I=null;switch(T.mode){case"string":for(var A=!1;(A=E.next())!=null;)if((A=='"'||A=="'")&&!E.match(/['"]/,!1)){T.mode=!1;break}I=P;break;default:var C=E.next(),L=E.column();if(L>=0&&L<=5)I=l;else if(L>=72&&L<=79)E.skipToEnd(),I=B;else if(C=="*"&&L==6)E.skipToEnd(),I=S;else if(C=='"'||C=="'")T.mode="string",I=P;else if(C=="'"&&!N.digit_or_colon.test(E.peek()))I=M;else if(C==".")I=u;else if(f(C,E))I=r;else{if(E.current().match(N.symbol))for(;L<71&&E.eat(N.symbol)!==void 0;)L++;i&&i.propertyIsEnumerable(E.current().toUpperCase())?I=o:t&&t.propertyIsEnumerable(E.current().toUpperCase())?I=O:n&&n.propertyIsEnumerable(E.current().toUpperCase())?I=M:I=null}}return I},indent:function(E){return E.indentStack==null?E.indentation:E.indentStack.indent}}}),R.defineMIME("text/x-cobol","cobol")})})();var H=G.exports,a=Y({__proto__:null,default:H},[G.exports]);export{a as c};
1
+ import{bV as F}from"./vendor.3b903562.js";function Y(D,e){return e.forEach(function(R){R&&typeof R!="string"&&!Array.isArray(R)&&Object.keys(R).forEach(function(O){if(O!=="default"&&!(O in D)){var S=Object.getOwnPropertyDescriptor(R,O);Object.defineProperty(D,O,S.get?S:{enumerable:!0,get:function(){return R[O]}})}})}),Object.freeze(Object.defineProperty(D,Symbol.toStringTag,{value:"Module"}))}var G={exports:{}};(function(D,e){(function(R){R(F.exports)})(function(R){R.defineMode("cobol",function(){var O="builtin",S="comment",P="string",M="atom",r="number",o="keyword",B="header",l="def",u="link";function U(E){for(var T={},I=E.split(" "),A=0;A<I.length;++A)T[I[A]]=!0;return T}var n=U("TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES "),i=U("ACCEPT ACCESS ACQUIRE ADD ADDRESS ADVANCING AFTER ALIAS ALL ALPHABET ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED ALSO ALTER ALTERNATE AND ANY ARE AREA AREAS ARITHMETIC ASCENDING ASSIGN AT ATTRIBUTE AUTHOR AUTO AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP BEFORE BELL BINARY BIT BITS BLANK BLINK BLOCK BOOLEAN BOTTOM BY CALL CANCEL CD CF CH CHARACTER CHARACTERS CLASS CLOCK-UNITS CLOSE COBOL CODE CODE-SET COL COLLATING COLUMN COMMA COMMIT COMMITMENT COMMON COMMUNICATION COMP COMP-0 COMP-1 COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS CONVERTING COPY CORR CORRESPONDING COUNT CRT CRT-UNDER CURRENCY CURRENT CURSOR DATA DATE DATE-COMPILED DATE-WRITTEN DAY DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION DOWN DROP DUPLICATE DUPLICATES DYNAMIC EBCDIC EGI EJECT ELSE EMI EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY END-DIVIDE END-EVALUATE END-IF END-INVOKE END-MULTIPLY END-OF-PAGE END-PERFORM END-READ END-RECEIVE END-RETURN END-REWRITE END-SEARCH END-START END-STRING END-SUBTRACT END-UNSTRING END-WRITE END-XML ENTER ENTRY ENVIRONMENT EOP EQUAL EQUALS ERASE ERROR ESI EVALUATE EVERY EXCEEDS EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL FILE-STREAM FILES FILLER FINAL FIND FINISH FIRST FOOTING FOR FOREGROUND-COLOR FOREGROUND-COLOUR FORMAT FREE FROM FULL FUNCTION GENERATE GET GIVING GLOBAL GO GOBACK GREATER GROUP HEADING HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL ID IDENTIFICATION IF IN INDEX INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED INDIC INDICATE INDICATOR INDICATORS INITIAL INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT INSTALLATION INTO INVALID INVOKE IS JUST JUSTIFIED KANJI KEEP KEY LABEL LAST LD LEADING LEFT LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE LOCALE LOCALLY LOCK MEMBER MEMORY MERGE MESSAGE METACLASS MODE MODIFIED MODIFY MODULES MOVE MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE NEXT NO NO-ECHO NONE NOT NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS OF OFF OMITTED ON ONLY OPEN OPTIONAL OR ORDER ORGANIZATION OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL PADDING PAGE PAGE-COUNTER PARSE PERFORM PF PH PIC PICTURE PLUS POINTER POSITION POSITIVE PREFIX PRESENT PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID PROMPT PROTECTED PURGE QUEUE QUOTE QUOTES RANDOM RD READ READY REALM RECEIVE RECONNECT RECORD RECORD-NAME RECORDS RECURSIVE REDEFINES REEL REFERENCE REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE REMAINDER REMOVAL RENAMES REPEATED REPLACE REPLACING REPORT REPORTING REPORTS REPOSITORY REQUIRED RERUN RESERVE RESET RETAINING RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO REVERSED REWIND REWRITE RF RH RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED RUN SAME SCREEN SD SEARCH SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT SELECT SEND SENTENCE SEPARATE SEQUENCE SEQUENTIAL SET SHARED SIGN SIZE SKIP1 SKIP2 SKIP3 SORT SORT-MERGE SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 START STARTING STATUS STOP STORE STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT TABLE TALLYING TAPE TENANT TERMINAL TERMINATE TEST TEXT THAN THEN THROUGH THRU TIME TIMES TITLE TO TOP TRAILING TRAILING-SIGN TRANSACTION TYPE TYPEDEF UNDERLINE UNEQUAL UNIT UNSTRING UNTIL UP UPDATE UPON USAGE USAGE-MODE USE USING VALID VALIDATE VALUE VALUES VARYING VLR WAIT WHEN WHEN-COMPILED WITH WITHIN WORDS WORKING-STORAGE WRITE XML XML-CODE XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL "),t=U("- * ** / + < <= = > >= "),N={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};function f(E,T){return E==="0"&&T.eat(/x/i)?(T.eatWhile(N.hex),!0):((E=="+"||E=="-")&&N.digit.test(T.peek())&&(T.eat(N.sign),E=T.next()),N.digit.test(E)?(T.eat(E),T.eatWhile(N.digit),T.peek()=="."&&(T.eat("."),T.eatWhile(N.digit)),T.eat(N.exponent)&&(T.eat(N.sign),T.eatWhile(N.digit)),!0):!1)}return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(T.indentStack==null&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var I=null;switch(T.mode){case"string":for(var A=!1;(A=E.next())!=null;)if((A=='"'||A=="'")&&!E.match(/['"]/,!1)){T.mode=!1;break}I=P;break;default:var C=E.next(),L=E.column();if(L>=0&&L<=5)I=l;else if(L>=72&&L<=79)E.skipToEnd(),I=B;else if(C=="*"&&L==6)E.skipToEnd(),I=S;else if(C=='"'||C=="'")T.mode="string",I=P;else if(C=="'"&&!N.digit_or_colon.test(E.peek()))I=M;else if(C==".")I=u;else if(f(C,E))I=r;else{if(E.current().match(N.symbol))for(;L<71&&E.eat(N.symbol)!==void 0;)L++;i&&i.propertyIsEnumerable(E.current().toUpperCase())?I=o:t&&t.propertyIsEnumerable(E.current().toUpperCase())?I=O:n&&n.propertyIsEnumerable(E.current().toUpperCase())?I=M:I=null}}return I},indent:function(E){return E.indentStack==null?E.indentation:E.indentStack.indent}}}),R.defineMIME("text/x-cobol","cobol")})})();var H=G.exports,a=Y({__proto__:null,default:H},[G.exports]);export{a as c};
@@ -1 +1 @@
1
- import{w as n,y as o,z as l,A as c,E as e,W as a}from"./vendor.48c33a64.js";const i=e("div",{class:"markdown-body"},[e("blockquote",null,[e("p",null,[e("strong",null,"The core concepts behind Directus are simple, however the problems that must be solved to honor them can be remarkably complex."),a(" We strive to design and engineer the most elegant solutions possible, so that our codebase remains accessible.")])]),e("h2",{id:"monorepo"},[a("Monorepo "),e("a",{class:"header-anchor",href:"#monorepo"},"#")]),e("p",null,[a("The primary Directus repository is located at "),e("a",{href:"https://github.com/directus/directus",target:"_blank",rel:"noopener noreferrer"},[e("code",null,"directus/directus")]),a(" and houses the Admin App (Vue.js 3 w/ Composition API), API (Node.js), project documentation (Markdown), API Specification (OpenAPI), and other smaller packages used internally. Directus follows a monorepo design similar to React or Babel \u2014 this page will outline our monorepo\u2019s design and structure.")]),e("h2",{id:"%2Fapi"},[e("code",null,"/api"),a(),e("a",{class:"header-anchor",href:"#%2Fapi"},"#")]),e("p",null,"Contains the Directus API (REST+GraphQL), written in Node.js."),e("h4",{id:"%2Fapi%2Fsrc%2Fcli"},[e("code",null,"/api/src/cli"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fcli"},"#")]),e("p",null,[a("The CLI commands and matching functions that the "),e("code",null,"directus"),a(" package ships with.")]),e("h4",{id:"%2Fapi%2Fsrc%2Fcontrollers"},[e("code",null,"/api/src/controllers"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fcontrollers"},"#")]),e("p",null,"Route handler controllers for the endpoints in the API."),e("h4",{id:"%2Fapi%2Fsrc%2Fdatabase"},[e("code",null,"/api/src/database"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fdatabase"},"#")]),e("p",null,"Database manipulation abstraction, system migrations, and system data. Also where you\u2019d find the main query runner."),e("h4",{id:"%2Fapi%2Fsrc%2Fexceptions"},[e("code",null,"/api/src/exceptions"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fexceptions"},"#")]),e("p",null,"Classes for the different errors the API is expected to throw. Used to set the HTTP status and error codes."),e("h4",{id:"%2Fapi%2Fsrc%2Fmiddleware"},[e("code",null,"/api/src/middleware"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fmiddleware"},"#")]),e("p",null,"Various (express) routing middleware. Includes things like cache-checker, authenticator, etc."),e("h4",{id:"%2Fapi%2Fsrc%2Fservices"},[e("code",null,"/api/src/services"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fservices"},"#")]),e("p",null,"Internal services. The main abstraction for interfacing with the data in the database. Both GraphQL and REST requests are \u201Ctranslated\u201D to use these services as the main logic in the platform."),e("h4",{id:"%2Fapi%2Fsrc%2Ftypes"},[e("code",null,"/api/src/types"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Ftypes"},"#")]),e("p",null,"TypeScript types that are shared between the different parts of the API."),e("h4",{id:"%2Fapi%2Fsrc%2Futils"},[e("code",null,"/api/src/utils"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Futils"},"#")]),e("p",null,"Various utility functions."),e("h2",{id:"%2Fapp"},[e("code",null,"/app"),a(),e("a",{class:"header-anchor",href:"#%2Fapp"},"#")]),e("p",null,"Contains the Directus Admin App, written in Vue.js 3 w/ the Composition API."),e("h4",{id:"%2Fapp%2Fpublic"},[e("code",null,"/app/public"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fpublic"},"#")]),e("p",null,"Assets that are included with the app, but not bundled."),e("h4",{id:"%2Fapp%2Fsrc%2Fassets"},[e("code",null,"/app/src/assets"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fassets"},"#")]),e("p",null,"Files that are included within the app. Are bundled / optimized in the build step."),e("h4",{id:"%2Fapp%2Fsrc%2Fcomponents"},[e("code",null,"/app/src/components"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fcomponents"},"#")]),e("p",null,"(Base) components that are used across the platform. Contains \u201Cbasic building blocks\u201D like button, input, etc."),e("h4",{id:"%2Fapp%2Fsrc%2Fcomposables"},[e("code",null,"/app/src/composables"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fcomposables"},"#")]),e("p",null,"Reusable parts of reactive logic that can be used between Vue components. Includes things reactively calculating time from now, fetching a single item, etc."),e("h4",{id:"%2Fapp%2Fsrc%2Fdirectives"},[e("code",null,"/app/src/directives"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fdirectives"},"#")]),e("p",null,[a("Custom Vue directives (e.g. "),e("code",null,"v-tooltip"),a(").")]),e("h4",{id:"%2Fapp%2Fsrc%2Finterfaces"},[e("code",null,"/app/src/interfaces"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Finterfaces"},"#")]),e("p",null,"The core-included interfaces."),e("h4",{id:"%2Fapp%2Fsrc%2Flang"},[e("code",null,"/app/src/lang"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Flang"},"#")]),e("p",null,[a("Translations abstraction, and language files. The language yaml files are maintained through "),e("a",{href:"https://locales.directus.io",target:"_blank",rel:"noopener noreferrer"},"Crowdin"),a(".")]),e("h4",{id:"%2Fapp%2Fsrc%2Flayouts"},[e("code",null,"/app/src/layouts"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Flayouts"},"#")]),e("p",null,"The core-included layouts."),e("h4",{id:"%2Fapp%2Fsrc%2Fmodules"},[e("code",null,"/app/src/modules"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fmodules"},"#")]),e("p",null,"The core-included modules."),e("h4",{id:"%2Fapp%2Fsrc%2Froutes"},[e("code",null,"/app/src/routes"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Froutes"},"#")]),e("p",null,"The routes in the app. Modules define their own routes, so this only includes the \u201Csystem\u201D things that don\u2019t belong to module, like login."),e("h4",{id:"%2Fapp%2Fsrc%2Fstores"},[e("code",null,"/app/src/stores"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fstores"},"#")]),e("p",null,[e("a",{href:"https://pinia.esm.dev",target:"_blank",rel:"noopener noreferrer"},"Pinia"),a(" based stores used for global state tracking.")]),e("h4",{id:"%2Fapp%2Fsrc%2Fstyles"},[e("code",null,"/app/src/styles"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fstyles"},"#")]),e("p",null,"Global styles in the app. Every component has their own component styles, these are just the global styles."),e("h4",{id:"%2Fapp%2Fsrc%2Ftypes"},[e("code",null,"/app/src/types"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Ftypes"},"#")]),e("p",null,"TypeScript types that are shared between the different parts of the API."),e("h4",{id:"%2Fapp%2Fsrc%2Futils"},[e("code",null,"/app/src/utils"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Futils"},"#")]),e("p",null,"Utility functions used in various parts of the app."),e("h4",{id:"%2Fapp%2Fsrc%2Fviews"},[e("code",null,"/app/src/views"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fviews"},"#")]),e("p",null,"The (two) main views used in the app: public / private. Also contains \u201Cinternal\u201D coupled components for those two views."),e("h2",{id:"%2Fdocs"},[e("code",null,"/docs"),a(),e("a",{class:"header-anchor",href:"#%2Fdocs"},"#")]),e("p",null,"Contains all the platform\u2019s documentation, written in markdown with additional VuePress formatting."),e("h2",{id:"%2Fpackages"},[e("code",null,"/packages"),a(),e("a",{class:"header-anchor",href:"#%2Fpackages"},"#")]),e("p",null,"The various sub-packages of the platform. Including the SDK, the file-storage adapters, title formatter, etc."),e("h2",{id:"%2Ftests"},[e("code",null,"/tests"),a(),e("a",{class:"header-anchor",href:"#%2Ftests"},"#")]),e("p",null,"Tests are maintained on a per-package base. This folder contains the platform-wide (end-to-end) tests.")],-1),F={setup(p,{expose:r}){const s={title:"Codebase Overview",modularExtension:!1};return r({frontmatter:s}),(h,d)=>{const t=n("DocsWrapper");return o(),l(t,{frontmatter:s},{default:c(()=>[i]),_:1})}}};export{F as default};
1
+ import{w as n,y as o,z as l,A as c,E as e,W as a}from"./vendor.3b903562.js";const i=e("div",{class:"markdown-body"},[e("blockquote",null,[e("p",null,[e("strong",null,"The core concepts behind Directus are simple, however the problems that must be solved to honor them can be remarkably complex."),a(" We strive to design and engineer the most elegant solutions possible, so that our codebase remains accessible.")])]),e("h2",{id:"monorepo"},[a("Monorepo "),e("a",{class:"header-anchor",href:"#monorepo"},"#")]),e("p",null,[a("The primary Directus repository is located at "),e("a",{href:"https://github.com/directus/directus",target:"_blank",rel:"noopener noreferrer"},[e("code",null,"directus/directus")]),a(" and houses the Admin App (Vue.js 3 w/ Composition API), API (Node.js), project documentation (Markdown), API Specification (OpenAPI), and other smaller packages used internally. Directus follows a monorepo design similar to React or Babel \u2014 this page will outline our monorepo\u2019s design and structure.")]),e("h2",{id:"%2Fapi"},[e("code",null,"/api"),a(),e("a",{class:"header-anchor",href:"#%2Fapi"},"#")]),e("p",null,"Contains the Directus API (REST+GraphQL), written in Node.js."),e("h4",{id:"%2Fapi%2Fsrc%2Fcli"},[e("code",null,"/api/src/cli"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fcli"},"#")]),e("p",null,[a("The CLI commands and matching functions that the "),e("code",null,"directus"),a(" package ships with.")]),e("h4",{id:"%2Fapi%2Fsrc%2Fcontrollers"},[e("code",null,"/api/src/controllers"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fcontrollers"},"#")]),e("p",null,"Route handler controllers for the endpoints in the API."),e("h4",{id:"%2Fapi%2Fsrc%2Fdatabase"},[e("code",null,"/api/src/database"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fdatabase"},"#")]),e("p",null,"Database manipulation abstraction, system migrations, and system data. Also where you\u2019d find the main query runner."),e("h4",{id:"%2Fapi%2Fsrc%2Fexceptions"},[e("code",null,"/api/src/exceptions"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fexceptions"},"#")]),e("p",null,"Classes for the different errors the API is expected to throw. Used to set the HTTP status and error codes."),e("h4",{id:"%2Fapi%2Fsrc%2Fmiddleware"},[e("code",null,"/api/src/middleware"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fmiddleware"},"#")]),e("p",null,"Various (express) routing middleware. Includes things like cache-checker, authenticator, etc."),e("h4",{id:"%2Fapi%2Fsrc%2Fservices"},[e("code",null,"/api/src/services"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Fservices"},"#")]),e("p",null,"Internal services. The main abstraction for interfacing with the data in the database. Both GraphQL and REST requests are \u201Ctranslated\u201D to use these services as the main logic in the platform."),e("h4",{id:"%2Fapi%2Fsrc%2Ftypes"},[e("code",null,"/api/src/types"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Ftypes"},"#")]),e("p",null,"TypeScript types that are shared between the different parts of the API."),e("h4",{id:"%2Fapi%2Fsrc%2Futils"},[e("code",null,"/api/src/utils"),a(),e("a",{class:"header-anchor",href:"#%2Fapi%2Fsrc%2Futils"},"#")]),e("p",null,"Various utility functions."),e("h2",{id:"%2Fapp"},[e("code",null,"/app"),a(),e("a",{class:"header-anchor",href:"#%2Fapp"},"#")]),e("p",null,"Contains the Directus Admin App, written in Vue.js 3 w/ the Composition API."),e("h4",{id:"%2Fapp%2Fpublic"},[e("code",null,"/app/public"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fpublic"},"#")]),e("p",null,"Assets that are included with the app, but not bundled."),e("h4",{id:"%2Fapp%2Fsrc%2Fassets"},[e("code",null,"/app/src/assets"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fassets"},"#")]),e("p",null,"Files that are included within the app. Are bundled / optimized in the build step."),e("h4",{id:"%2Fapp%2Fsrc%2Fcomponents"},[e("code",null,"/app/src/components"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fcomponents"},"#")]),e("p",null,"(Base) components that are used across the platform. Contains \u201Cbasic building blocks\u201D like button, input, etc."),e("h4",{id:"%2Fapp%2Fsrc%2Fcomposables"},[e("code",null,"/app/src/composables"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fcomposables"},"#")]),e("p",null,"Reusable parts of reactive logic that can be used between Vue components. Includes things reactively calculating time from now, fetching a single item, etc."),e("h4",{id:"%2Fapp%2Fsrc%2Fdirectives"},[e("code",null,"/app/src/directives"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fdirectives"},"#")]),e("p",null,[a("Custom Vue directives (e.g. "),e("code",null,"v-tooltip"),a(").")]),e("h4",{id:"%2Fapp%2Fsrc%2Finterfaces"},[e("code",null,"/app/src/interfaces"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Finterfaces"},"#")]),e("p",null,"The core-included interfaces."),e("h4",{id:"%2Fapp%2Fsrc%2Flang"},[e("code",null,"/app/src/lang"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Flang"},"#")]),e("p",null,[a("Translations abstraction, and language files. The language yaml files are maintained through "),e("a",{href:"https://locales.directus.io",target:"_blank",rel:"noopener noreferrer"},"Crowdin"),a(".")]),e("h4",{id:"%2Fapp%2Fsrc%2Flayouts"},[e("code",null,"/app/src/layouts"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Flayouts"},"#")]),e("p",null,"The core-included layouts."),e("h4",{id:"%2Fapp%2Fsrc%2Fmodules"},[e("code",null,"/app/src/modules"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fmodules"},"#")]),e("p",null,"The core-included modules."),e("h4",{id:"%2Fapp%2Fsrc%2Froutes"},[e("code",null,"/app/src/routes"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Froutes"},"#")]),e("p",null,"The routes in the app. Modules define their own routes, so this only includes the \u201Csystem\u201D things that don\u2019t belong to module, like login."),e("h4",{id:"%2Fapp%2Fsrc%2Fstores"},[e("code",null,"/app/src/stores"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fstores"},"#")]),e("p",null,[e("a",{href:"https://pinia.esm.dev",target:"_blank",rel:"noopener noreferrer"},"Pinia"),a(" based stores used for global state tracking.")]),e("h4",{id:"%2Fapp%2Fsrc%2Fstyles"},[e("code",null,"/app/src/styles"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fstyles"},"#")]),e("p",null,"Global styles in the app. Every component has their own component styles, these are just the global styles."),e("h4",{id:"%2Fapp%2Fsrc%2Ftypes"},[e("code",null,"/app/src/types"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Ftypes"},"#")]),e("p",null,"TypeScript types that are shared between the different parts of the API."),e("h4",{id:"%2Fapp%2Fsrc%2Futils"},[e("code",null,"/app/src/utils"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Futils"},"#")]),e("p",null,"Utility functions used in various parts of the app."),e("h4",{id:"%2Fapp%2Fsrc%2Fviews"},[e("code",null,"/app/src/views"),a(),e("a",{class:"header-anchor",href:"#%2Fapp%2Fsrc%2Fviews"},"#")]),e("p",null,"The (two) main views used in the app: public / private. Also contains \u201Cinternal\u201D coupled components for those two views."),e("h2",{id:"%2Fdocs"},[e("code",null,"/docs"),a(),e("a",{class:"header-anchor",href:"#%2Fdocs"},"#")]),e("p",null,"Contains all the platform\u2019s documentation, written in markdown with additional VuePress formatting."),e("h2",{id:"%2Fpackages"},[e("code",null,"/packages"),a(),e("a",{class:"header-anchor",href:"#%2Fpackages"},"#")]),e("p",null,"The various sub-packages of the platform. Including the SDK, the file-storage adapters, title formatter, etc."),e("h2",{id:"%2Ftests"},[e("code",null,"/tests"),a(),e("a",{class:"header-anchor",href:"#%2Ftests"},"#")]),e("p",null,"Tests are maintained on a per-package base. This folder contains the platform-wide (end-to-end) tests.")],-1),F={setup(p,{expose:r}){const s={title:"Codebase Overview",modularExtension:!1};return r({frontmatter:s}),(h,d)=>{const t=n("DocsWrapper");return o(),l(t,{frontmatter:s},{default:c(()=>[i]),_:1})}}};export{F as default};
@@ -1 +1 @@
1
- import{bS as Z}from"./vendor.48c33a64.js";function N(t,k){return k.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(u){if(u!=="default"&&!(u in t)){var d=Object.getOwnPropertyDescriptor(o,u);Object.defineProperty(t,u,d.get?d:{enumerable:!0,get:function(){return o[u]}})}})}),Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(t,k){(function(o){o(Z.exports)})(function(o){o.defineMode("coffeescript",function(u,d){var a="error";function v(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var z=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,O=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,x=/^[_A-Za-z$][_A-Za-z$0-9]*/,A=/^@[_A-Za-z$][_A-Za-z$0-9]*/,E=v(["and","or","not","is","isnt","in","instanceof","typeof"]),h=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],s=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],S=v(h.concat(s));h=v(h);var _=/^('{3}|\"{3}|['\"])/,j=/^(\/{3}|\/)/,P=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],$=v(P);function l(e,n){if(e.sol()){n.scope.align===null&&(n.scope.align=!1);var r=n.scope.offset;if(e.eatSpace()){var i=e.indentation();return i>r&&n.scope.type=="coffee"?"indent":i<r?"dedent":null}else r>0&&y(e,n)}if(e.eatSpace())return null;var f=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=M,n.tokenize(e,n);if(f==="#")return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var p=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(p=!0),e.match(/^-?\d+\.\d*/)&&(p=!0),e.match(/^-?\.\d+/)&&(p=!0),p)return e.peek()=="."&&e.backUp(1),"number";var c=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(c=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(c=!0),e.match(/^-?0(?![\dx])/i)&&(c=!0),c)return"number"}if(e.match(_))return n.tokenize=b(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(j)){if(e.current()!="/"||e.match(/^.*\//,!1))return n.tokenize=b(e.current(),!0,"string-2"),n.tokenize(e,n);e.backUp(1)}return e.match(z)||e.match(E)?"operator":e.match(O)?"punctuation":e.match($)?"atom":e.match(A)||n.prop&&e.match(x)?"property":e.match(S)?"keyword":e.match(x)?"variable":(e.next(),a)}function b(e,n,r){return function(i,f){for(;!i.eol();)if(i.eatWhile(/[^'"\/\\]/),i.eat("\\")){if(i.next(),n&&i.eol())return r}else{if(i.match(e))return f.tokenize=l,r;i.eat(/['"\/]/)}return n&&(d.singleLineStringErrors?r=a:f.tokenize=l),r}}function M(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=l;break}e.eatWhile("#")}return"comment"}function g(e,n,r){r=r||"coffee";for(var i=0,f=!1,p=null,c=n.scope;c;c=c.prev)if(c.type==="coffee"||c.type=="}"){i=c.offset+u.indentUnit;break}r!=="coffee"?(f=null,p=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:i,type:r,prev:n.scope,align:f,alignOffset:p}}function y(e,n){if(!!n.scope.prev)if(n.scope.type==="coffee"){for(var r=e.indentation(),i=!1,f=n.scope;f;f=f.prev)if(r===f.offset){i=!0;break}if(!i)return!0;for(;n.scope.prev&&n.scope.offset!==r;)n.scope=n.scope.prev;return!1}else return n.scope=n.scope.prev,!1}function R(e,n){var r=n.tokenize(e,n),i=e.current();i==="return"&&(n.dedent=!0),((i==="->"||i==="=>")&&e.eol()||r==="indent")&&g(e,n);var f="[({".indexOf(i);if(f!==-1&&g(e,n,"])}".slice(f,f+1)),h.exec(i)&&g(e,n),i=="then"&&y(e,n),r==="dedent"&&y(e,n))return a;if(f="])}".indexOf(i),f!==-1){for(;n.scope.type=="coffee"&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==i&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&(n.scope.type=="coffee"&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),r}var I={startState:function(e){return{tokenize:l,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var r=n.scope.align===null&&n.scope;r&&e.sol()&&(r.align=!1);var i=R(e,n);return i&&i!="comment"&&(r&&(r.align=!0),n.prop=i=="punctuation"&&e.current()=="."),i},indent:function(e,n){if(e.tokenize!=l)return 0;var r=e.scope,i=n&&"])}".indexOf(n.charAt(0))>-1;if(i)for(;r.type=="coffee"&&r.prev;)r=r.prev;var f=i&&r.type===n.charAt(0);return r.align?r.alignOffset-(f?1:0):(f?r.prev:r).offset},lineComment:"#",fold:"indent"};return I}),o.defineMIME("application/vnd.coffeescript","coffeescript"),o.defineMIME("text/x-coffeescript","coffeescript"),o.defineMIME("text/coffeescript","coffeescript")})})();var T=w.exports,W=N({__proto__:null,default:T},[w.exports]);export{w as a,W as c};
1
+ import{bV as Z}from"./vendor.3b903562.js";function N(t,k){return k.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(u){if(u!=="default"&&!(u in t)){var d=Object.getOwnPropertyDescriptor(o,u);Object.defineProperty(t,u,d.get?d:{enumerable:!0,get:function(){return o[u]}})}})}),Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(t,k){(function(o){o(Z.exports)})(function(o){o.defineMode("coffeescript",function(u,d){var g="error";function v(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var z=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,O=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,x=/^[_A-Za-z$][_A-Za-z$0-9]*/,A=/^@[_A-Za-z$][_A-Za-z$0-9]*/,E=v(["and","or","not","is","isnt","in","instanceof","typeof"]),h=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],s=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],_=v(h.concat(s));h=v(h);var S=/^('{3}|\"{3}|['\"])/,j=/^(\/{3}|\/)/,P=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],$=v(P);function l(e,n){if(e.sol()){n.scope.align===null&&(n.scope.align=!1);var r=n.scope.offset;if(e.eatSpace()){var i=e.indentation();return i>r&&n.scope.type=="coffee"?"indent":i<r?"dedent":null}else r>0&&y(e,n)}if(e.eatSpace())return null;var f=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=M,n.tokenize(e,n);if(f==="#")return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var p=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(p=!0),e.match(/^-?\d+\.\d*/)&&(p=!0),e.match(/^-?\.\d+/)&&(p=!0),p)return e.peek()=="."&&e.backUp(1),"number";var c=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(c=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(c=!0),e.match(/^-?0(?![\dx])/i)&&(c=!0),c)return"number"}if(e.match(S))return n.tokenize=b(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(j)){if(e.current()!="/"||e.match(/^.*\//,!1))return n.tokenize=b(e.current(),!0,"string-2"),n.tokenize(e,n);e.backUp(1)}return e.match(z)||e.match(E)?"operator":e.match(O)?"punctuation":e.match($)?"atom":e.match(A)||n.prop&&e.match(x)?"property":e.match(_)?"keyword":e.match(x)?"variable":(e.next(),g)}function b(e,n,r){return function(i,f){for(;!i.eol();)if(i.eatWhile(/[^'"\/\\]/),i.eat("\\")){if(i.next(),n&&i.eol())return r}else{if(i.match(e))return f.tokenize=l,r;i.eat(/['"\/]/)}return n&&(d.singleLineStringErrors?r=g:f.tokenize=l),r}}function M(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=l;break}e.eatWhile("#")}return"comment"}function a(e,n,r){r=r||"coffee";for(var i=0,f=!1,p=null,c=n.scope;c;c=c.prev)if(c.type==="coffee"||c.type=="}"){i=c.offset+u.indentUnit;break}r!=="coffee"?(f=null,p=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:i,type:r,prev:n.scope,align:f,alignOffset:p}}function y(e,n){if(!!n.scope.prev)if(n.scope.type==="coffee"){for(var r=e.indentation(),i=!1,f=n.scope;f;f=f.prev)if(r===f.offset){i=!0;break}if(!i)return!0;for(;n.scope.prev&&n.scope.offset!==r;)n.scope=n.scope.prev;return!1}else return n.scope=n.scope.prev,!1}function R(e,n){var r=n.tokenize(e,n),i=e.current();i==="return"&&(n.dedent=!0),((i==="->"||i==="=>")&&e.eol()||r==="indent")&&a(e,n);var f="[({".indexOf(i);if(f!==-1&&a(e,n,"])}".slice(f,f+1)),h.exec(i)&&a(e,n),i=="then"&&y(e,n),r==="dedent"&&y(e,n))return g;if(f="])}".indexOf(i),f!==-1){for(;n.scope.type=="coffee"&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==i&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&(n.scope.type=="coffee"&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),r}var I={startState:function(e){return{tokenize:l,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var r=n.scope.align===null&&n.scope;r&&e.sol()&&(r.align=!1);var i=R(e,n);return i&&i!="comment"&&(r&&(r.align=!0),n.prop=i=="punctuation"&&e.current()=="."),i},indent:function(e,n){if(e.tokenize!=l)return 0;var r=e.scope,i=n&&"])}".indexOf(n.charAt(0))>-1;if(i)for(;r.type=="coffee"&&r.prev;)r=r.prev;var f=i&&r.type===n.charAt(0);return r.align?r.alignOffset-(f?1:0):(f?r.prev:r).offset},lineComment:"#",fold:"indent"};return I}),o.defineMIME("application/vnd.coffeescript","coffeescript"),o.defineMIME("text/x-coffeescript","coffeescript"),o.defineMIME("text/coffeescript","coffeescript")})})();var T=w.exports,W=N({__proto__:null,default:T},[w.exports]);export{w as a,W as c};
@@ -0,0 +1,2 @@
1
+ import{w as i,y as r,z as d,A as o,E as e,C as n,W as t}from"./vendor.3b903562.js";const h={class:"markdown-body"},u=e("blockquote",null,[e("p",null,"The Collection Page displays all Items within a Collection and comes with highly configurable Layouts for browsing, visualizing, and managing these Items.")],-1),m=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#adjust-page-layout"},"Adjust Page Layout")]),e("li",null,[e("a",{href:"#search-items"},"Search Items")]),e("li",null,[e("a",{href:"#filter-items"},"Filter Items")]),e("li",null,[e("a",{href:"#manually-sort-items"},"Manually Sort Items")]),e("li",null,[e("a",{href:"#automatically-sort-items"},"Automatically Sort Items")]),e("li",null,[e("a",{href:"#view-archived-items"},"View Archived Items")]),e("li",null,[e("a",{href:"#create-presets-and-bookmarks"},"Create Presets and Bookmarks")]),e("li",null,[e("a",{href:"#import-%2F-export-items"},"Import / Export Items")]),e("li",null,[e("a",{href:"#batch-delete%2C-archive-or-edit-items"},"Batch Delete, Archive or Edit Items")])])])],-1),p={class:"tip hint"},_=e("div",{class:"hint-title"},"Before You Begin",-1),g=t("To use the Collection Page, you will need to know about "),y=t("Collections"),v=t(", "),f=t("Items"),b=t(" and "),I=t("Fields"),w=t("."),C=e("h2",{id:"adjust-page-layout"},[t("Adjust Page Layout "),e("a",{class:"header-anchor",href:"#adjust-page-layout"},"#")],-1),k=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"Layouts"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/content/content-collections/content-collections-20220415A/adjust-page-layout-20220415A.mp4",type:"video/mp4"})],-1),A=t("Layouts determine how you view or interact with Items in a Collection. Whether your Collection contains blog posts, project management tasks, geo-coordinates, temporal data or beyond; Layouts present Items in a more human-friendly way. "),S=t("Learn More"),T=e("h2",{id:"search-items"},[t("Search Items "),e("a",{class:"header-anchor",href:"#search-items"},"#")],-1),L=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"Search Items"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/content/content-collections/content-collections-20220415A/search-items-20220419A.mp4",type:"video/mp4"})],-1),x=e("p",null,[t("Find all Items with one or more Fields containing your searched value, excluding any Items which have been "),e("a",{href:"#filter-items"},"filtered out"),t(". To search through a Collection\u2019s Items, follow the steps below.")],-1),F=e("ol",null,[e("li",null,"Navigate to the Content Module and select the desired Collection."),e("li",null,[t("Select "),e("span",{mi:"",icon:""},"search"),t(" in the Page Header and a search bar will appear.")]),e("li",null,"Type in the value to search for.")],-1),P=e("h2",{id:"filter-items"},[t("Filter Items "),e("a",{class:"header-anchor",href:"#filter-items"},"#")],-1),B=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"Filter Items"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/content/content-collections/content-collections-20220415A/filter-items-2022019A.mp4",type:"video/mp4"})],-1),D=t("Filters allow you to conditionally select Items from a Collection. Use-cases include customizing Item search results, restricting Item access permissions for specific Users or Roles, building dashboard analytics with the Insights module, and more. To Learn More, see our guide on "),M=t("Filters"),E=t("."),j=e("h2",{id:"manually-sort-items"},[t("Manually Sort Items "),e("a",{class:"header-anchor",href:"#manually-sort-items"},"#")],-1),N=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"Batch Edit Items"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/content/content-collections/content-collections-20220415A/manually-sort-items-20220415A.mp4",type:"video/mp4"})],-1),V=t("Drag and drop Items to custom sort them as desired. This is only possible on certain Layouts, such as the default "),q=t("Table Layout"),W=t(". To sort a Collection\u2019s Items, follow the steps below."),U=e("ol",null,[e("li",null,[t("Be sure a sorting column has been configured under "),e("strong",null,"\u201CSettings > Data Model > Collection\u201D"),t("."),e("br"),e("em",null,"(Shown in the video)")])],-1),z=e("ol",{start:"2"},[e("li",null,"Navigate to the Content Module and select the desired Collection."),e("li",null,[t("In the Sidebar, be sure a "),e("a",{href:"#adjust-page-layout"},"Layout"),t(" is chosen that supports manual sorting.")]),e("li",null,[t("Enable manual sorting: "),e("ul",null,[e("li",null,[t("For the Table Layout, toggle "),e("span",{mi:"",icon:""},"sort"),t(" in the configured Sort column.")])])]),e("li",null,"Drag Items by their handle into a new position.")],-1),O=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Manual Sorting Requires Configuration"),e("p",null,[t("Only available if a Sort column has been configured under:"),e("br"),e("strong",null,"\u201CSettings > Data Model > Collection > Sort\u201D")])],-1),R={class:"tip hint"},H=t("Sorting saves a value in a "),Y=t("Sort Field"),G=t(". This value is used to return data in a custom order. This means that while the values in this Sort Field do get updated and modified, values in other Fields are not changed."),J=e("h2",{id:"automatically-sort-items"},[t("Automatically Sort Items "),e("a",{class:"header-anchor",href:"#automatically-sort-items"},"#")],-1),K=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"Automatically Sort Items"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/content/content-collections/content-collections-20220415A/automatically-sort-items-20220415A.mp4",type:"video/mp4"})],-1),Q=t("Sort Items alphabetically or numerically, in ascending or descending order. Sorting is not possible on certain Layouts, such as the Map Layout. Layouts that do support automatic sorting have controls in slightly different locations. To learn more, see "),X=t("Layouts"),Z=t("."),$=e("div",{class:"tip hint"},[e("p",null,"Automatic sorting is a non-destructive action which does not change your data.")],-1),ee=e("h2",{id:"view-archived-items"},[t("View Archived Items "),e("a",{class:"header-anchor",href:"#view-archived-items"},"#")],-1),te=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"View Archived Items"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/content/content-collections/content-collections-20220415A/view-archived-items.mp4",type:"video/mp4"})],-1),oe=t("The no-code app allows you to hide archived Items, display them alongside other Items, or display archived Items only. To learn how to archive an Item, see our guide on the "),se=t("Item Page"),ne=t(". To change whether an archived Item is displayed, follow the steps below."),le=e("ol",null,[e("li",null,"Navigate to the Content Module and select the desired Collection."),e("li",null,[t("Click "),e("strong",null,"\u201CArchive\u201D"),t(" in the Sidebar.")]),e("li",null,[t("Choose the desired view: "),e("ul",null,[e("li",null,[e("strong",null,"\u201CShow Items\u201D")]),e("li",null,[e("strong",null,"\u201CShow Archived Items\u201D")]),e("li",null,[e("strong",null,"\u201CShow Items + Archived Items\u201D")])])])],-1),ie=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Archiving Requires Configuration"),e("p",null,[t("Only available if an Archive column has been configured under:"),e("br"),e("strong",null,"\u201CSettings > Data Model > Collection > Archive\u201D"),t(".")])],-1),ae=e("h2",{id:"create-presets-and-bookmarks"},[t("Create Presets and Bookmarks "),e("a",{class:"header-anchor",href:"#create-presets-and-bookmarks"},"#")],-1),ce=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"Create Presets and Bookmarks"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/content/content-collections/content-collections-20220415A/presets-and-bookmarks-20220415A.mp4",type:"video/mp4"})],-1),re=t("Save how a Collection Page looks so that you can return to the exact same view later, including details such as the Layout, searches, filters, sorting, ordering, etc. To learn more, see our guide on "),de=t("Presets and Bookmarks"),he=t("."),ue=e("h2",{id:"import-%2F-export-items"},[t("Import / Export Items "),e("a",{class:"header-anchor",href:"#import-%2F-export-items"},"#")],-1),me=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/content/content-collections/content-collections-20220415A/imports-exports-20220416A.webp",alt:"Import and Export Items"})],-1),pe=t("The Content, User Directory and File Library modules allow importing and exporting of multiple Items stored as files. This makes it quick and easy to handle tasks like uploading and downloading new customer information; pulling down sales data for transformation, reports, analysis, and beyond. To learn more, see how to "),_e=t("Import and Export Items"),ge=t(" in file format."),ye=e("h2",{id:"batch-delete%2C-archive-or-edit-items"},[t("Batch Delete, Archive or Edit Items "),e("a",{class:"header-anchor",href:"#batch-delete%2C-archive-or-edit-items"},"#")],-1),ve=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"Batch Edit Items"},[e("source",{src:`https://cdn.directus.io/docs/v9/app-guide/content/content-items/content-items-20220415A/batch-edit-items-20220415A.mp4
2
+ `,type:"video/mp4"})],-1),fe=e("p",null,"It is possible to delete, archive, or edit multiple Items at once from the Collection Page. Deletion will permanently delete Items from the database, this cannot be reverted. When batch editing, the Item Page opens, allowing you to make the same edit across multiple Items. Follow the steps below to batch delete, archive, or edit Items.",-1),be=e("li",null,"Navigate to the Content Module and select the desired Collection.",-1),Ie=t("Choose a "),we=t("Layout"),Ce=t(" that supports multiple Item selection from the Sidebar."),ke=e("br",null,null,-1),Ae=t(" (e.g. The Table or Card Layout)"),Se=e("li",null,[t("Click the Items you wish to select: "),e("ul",null,[e("li",null,[e("strong",null,"Table Layout:"),t(" Click "),e("span",{mi:"",icon:""},"check_box_outline_blank"),t(" in the left-most column.")]),e("li",null,[e("strong",null,"Card Layout:"),t(" Click "),e("span",{mi:"",icon:""},"radio_button_unchecked"),t(" in the upper left-hand corner of each Card.")])])],-1),Te=e("p",null,[t("Once Items are selected, the following buttons will appear in the Page Header: "),e("span",{mi:"",btn:"",muted:""},"delete"),e("span",{mi:"",btn:"",muted:""},"archive"),t(),e("span",{mi:"",btn:"",muted:""},"edit")],-1),Le=e("p",null,[e("strong",null,"Delete"),e("br"),t(" 4. Click "),e("span",{mi:"",btn:"",dngr:""},"delete"),t(" in the header and a popup will appear."),e("br"),t(" 5. Click "),e("strong",null,"\u201CDelete\u201D"),t(" to confirm the action.")],-1),xe=e("p",null,[e("strong",null,"Archive"),e("br"),t(" 4. Click "),e("span",{mi:"",btn:"",muted:""},"archive"),t(" in the header and a popup will appear."),e("br"),t(" 5. Click "),e("strong",null,"\u201CDelete\u201D"),t(" to confirm the action.")],-1),Fe=e("p",null,[e("strong",null,"Edit"),e("br"),t(" 4. Click "),e("span",{mi:"",btn:"",muted:""},"edit"),t(" in the header and the Item Page will open."),e("br"),t(" 5. Update Item details as desired."),e("br"),t(" 6. Click "),e("span",{mi:"",btn:""},"check"),t(" to confirm batch edits on all Items.")],-1),Ee={setup(Pe,{expose:a}){const l={title:"Collection Page",modularExtension:!1};return a({frontmatter:l}),(Be,De)=>{const s=i("router-link"),c=i("DocsWrapper");return r(),d(c,{frontmatter:l},{default:o(()=>[e("div",h,[u,m,e("div",p,[_,e("p",null,[g,n(s,{to:"/docs/getting-started/glossary/#collections"},{default:o(()=>[y]),_:1}),v,n(s,{to:"/docs/getting-started/glossary/#items"},{default:o(()=>[f]),_:1}),b,n(s,{to:"/docs/getting-started/glossary/#fields"},{default:o(()=>[I]),_:1}),w])]),C,k,e("p",null,[A,n(s,{to:"/docs/app/layouts"},{default:o(()=>[S]),_:1})]),T,L,x,F,P,B,e("p",null,[D,n(s,{to:"/docs/app/filters/"},{default:o(()=>[M]),_:1}),E]),j,N,e("p",null,[V,n(s,{to:"/docs/app/layouts/#table-layout"},{default:o(()=>[q]),_:1}),W]),U,z,O,e("div",R,[e("p",null,[H,n(s,{to:"/docs/reference/query/#sort"},{default:o(()=>[Y]),_:1}),G])]),J,K,e("p",null,[Q,n(s,{to:"/docs/app/layouts"},{default:o(()=>[X]),_:1}),Z]),$,ee,te,e("p",null,[oe,n(s,{to:"/docs/app/content/items/#archive-an-item"},{default:o(()=>[se]),_:1}),ne]),le,ie,ae,ce,e("p",null,[re,n(s,{to:"/docs/configuration/presets-bookmarks/"},{default:o(()=>[de]),_:1}),he]),ue,me,e("p",null,[pe,n(s,{to:"/docs/app/import-export/"},{default:o(()=>[_e]),_:1}),ge]),ye,ve,fe,e("ol",null,[be,e("li",null,[Ie,n(s,{to:"/docs/app/layouts"},{default:o(()=>[we]),_:1}),Ce,ke,Ae]),Se]),Te,Le,xe,Fe])]),_:1})}}};export{Ee as default};
@@ -1,4 +1,4 @@
1
- import{w as a,y as r,z as h,A as s,E as e,C as n,W as t}from"./vendor.48c33a64.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},_=t("Collections are the individual collections of items, similar to tables in a database. Changes to collections will alter the schema of the database. "),g=t("Learn more about Collections"),m=t("."),f=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-collection-object"},"The Collection Object")]),e("li",null,[e("a",{href:"#list-collections"},"List Collections")]),e("li",null,[e("a",{href:"#retrieve-a-collection"},"Retrieve a Collection")]),e("li",null,[e("a",{href:"#create-a-collection"},"Create a Collection")]),e("li",null,[e("a",{href:"#update-a-collection"},"Update a Collection")]),e("li",null,[e("a",{href:"#delete-a-collection"},"Delete a Collection")])])])])],-1),j=e("hr",null,null,-1),y=e("h2",{id:"the-collection-object"},[t("The Collection Object "),e("a",{class:"header-anchor",href:"#the-collection-object"},"#")],-1),b={class:"two-up"},v={class:"left"},q=e("div",{class:"definitions"},[e("p",null,[e("code",null,"collection"),t(),e("strong",null,"string"),e("br"),t(" Name of the collection. This matches the table name in the database.")])],-1),w=e("h4",{id:"meta"},[t("Meta "),e("a",{class:"header-anchor",href:"#meta"},"#")],-1),T=e("p",null,"Directus metadata, primarily used in the Admin App.",-1),x={class:"definitions"},A=e("p",null,[e("code",null,"collection"),t(),e("strong",null,"string"),e("br"),t(" Name of the collection. This matches the table name in the database.")],-1),C=e("p",null,[e("code",null,"icon"),t(),e("strong",null,"string"),e("br"),t(" Icon displayed in the Admin App when working with this collection.")],-1),E=e("p",null,[e("code",null,"note"),t(),e("strong",null,"string"),e("br"),t(" Short description displayed in the Admin App.")],-1),S=e("p",null,[e("code",null,"display_template"),t(),e("strong",null,"string"),e("br"),t(" How items in this collection should be displayed when viewed relationally in the Admin App.")],-1),k=e("p",null,[e("code",null,"hidden"),t(),e("strong",null,"boolean"),e("br"),t(" Whether or not this collection is hidden in the Admin App.")],-1),P=e("p",null,[e("code",null,"singleton"),t(),e("strong",null,"boolean"),e("br"),t(" Whether or not this collection is treated as a singleton.")],-1),R=e("p",null,[e("code",null,"translations"),t(),e("strong",null,"array"),e("br"),t(" How this collection\u2019s name is displayed in the different languages in the Admin App.")],-1),W=e("p",null,[e("code",null,"archive_field"),t(),e("strong",null,"string"),e("br"),t(" What field in the collection holds the archived state.")],-1),L=e("p",null,[e("code",null,"archive_value"),t(),e("strong",null,"string"),e("br"),t(" What value the archive field should be set to when archiving an item.")],-1),O=e("p",null,[e("code",null,"unarchive_value"),t(),e("strong",null,"string"),e("br"),t(" What value the archive field should be set to when unarchiving an item.")],-1),Q=e("p",null,[e("code",null,"archive_app_filter"),t(),e("strong",null,"boolean"),e("br"),t(" Whether or not the Admin App should allow the user to view archived items.")],-1),D=e("p",null,[e("code",null,"sort_field"),t(),e("strong",null,"boolean"),e("br"),t(" What field holds the sort value on the collection. The Admin App uses this to allow drag-and-drop manual sorting.")],-1),B=e("code",null,"accountability",-1),G=t(),H=e("strong",null,"string",-1),I=e("br",null,null,-1),N=t(" What data is tracked. One of "),M=e("code",null,"all",-1),U=t(", "),V=e("code",null,"activity",-1),Y=t(". See "),z=t("Accountability"),F=t(" for more information."),J=e("code",null,"item_duplication_fields",-1),K=t(),X=e("strong",null,"array",-1),Z=e("br",null,null,-1),$=t(" What fields are duplicated during \u201CSave as copy\u201D action of an item in this collection. See "),ee=t("Duplication"),te=t(" for more information."),se=e("code",null,"group",-1),le=t(),ne=e("strong",null,"string",-1),oe=e("br",null,null,-1),ae=t(" The name of the parent collection. This is used in "),ce=t("grouping/nesting of collections"),ie=t("."),re=e("code",null,"sort",-1),he=t(),de=e("strong",null,"number",-1),pe=e("br",null,null,-1),ue=t(" What sort order of the collection relative to other collections of the same level. This is used in "),_e=t("sorting of collections"),ge=t("."),me=e("p",null,[e("code",null,"collapse"),t(),e("strong",null,"string"),e("br"),t(" What is the default behavior of this collection or \u201Cfolder\u201D collection when it has nested collections. One of "),e("code",null,"open"),t(", "),e("code",null,"closed"),t(", "),e("code",null,"locked"),t(".")],-1),fe=e("h4",{id:"schema"},[t("Schema "),e("a",{class:"header-anchor",href:"#schema"},"#")],-1),je=e("p",null,"\u201CRaw\u201D database information. Based on the database vendor used, different information might be returned. The following are available for all drivers.",-1),ye=e("div",{class:"definitions"},[e("p",null,[e("code",null,"name"),t(),e("strong",null,"string"),e("br"),t(" The table name.")]),e("p",null,[e("code",null,"comment"),t(),e("strong",null,"string"),e("br"),t(" The table comment.")])],-1),be={class:"tip hint"},ve=t("\u201Cfolder\u201D collections do not hold any data"),qe=t(", hence their schema would be "),we=e("code",null,"null",-1),Te=t("."),xe=e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[t(`{
1
+ import{w as a,y as r,z as h,A as s,E as e,C as n,W as t}from"./vendor.3b903562.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},_=t("Collections are the individual collections of items, similar to tables in a database. Changes to collections will alter the schema of the database. "),g=t("Learn more about Collections"),m=t("."),f=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-collection-object"},"The Collection Object")]),e("li",null,[e("a",{href:"#list-collections"},"List Collections")]),e("li",null,[e("a",{href:"#retrieve-a-collection"},"Retrieve a Collection")]),e("li",null,[e("a",{href:"#create-a-collection"},"Create a Collection")]),e("li",null,[e("a",{href:"#update-a-collection"},"Update a Collection")]),e("li",null,[e("a",{href:"#delete-a-collection"},"Delete a Collection")])])])])],-1),j=e("hr",null,null,-1),y=e("h2",{id:"the-collection-object"},[t("The Collection Object "),e("a",{class:"header-anchor",href:"#the-collection-object"},"#")],-1),b={class:"two-up"},v={class:"left"},q=e("div",{class:"definitions"},[e("p",null,[e("code",null,"collection"),t(),e("strong",null,"string"),e("br"),t(" Name of the collection. This matches the table name in the database.")])],-1),w=e("h4",{id:"meta"},[t("Meta "),e("a",{class:"header-anchor",href:"#meta"},"#")],-1),T=e("p",null,"Directus metadata, primarily used in the Admin App.",-1),x={class:"definitions"},A=e("p",null,[e("code",null,"collection"),t(),e("strong",null,"string"),e("br"),t(" Name of the collection. This matches the table name in the database.")],-1),C=e("p",null,[e("code",null,"icon"),t(),e("strong",null,"string"),e("br"),t(" Icon displayed in the Admin App when working with this collection.")],-1),E=e("p",null,[e("code",null,"note"),t(),e("strong",null,"string"),e("br"),t(" Short description displayed in the Admin App.")],-1),S=e("p",null,[e("code",null,"display_template"),t(),e("strong",null,"string"),e("br"),t(" How items in this collection should be displayed when viewed relationally in the Admin App.")],-1),k=e("p",null,[e("code",null,"hidden"),t(),e("strong",null,"boolean"),e("br"),t(" Whether or not this collection is hidden in the Admin App.")],-1),P=e("p",null,[e("code",null,"singleton"),t(),e("strong",null,"boolean"),e("br"),t(" Whether or not this collection is treated as a singleton.")],-1),R=e("p",null,[e("code",null,"translations"),t(),e("strong",null,"array"),e("br"),t(" How this collection\u2019s name is displayed in the different languages in the Admin App.")],-1),W=e("p",null,[e("code",null,"archive_field"),t(),e("strong",null,"string"),e("br"),t(" What field in the collection holds the archived state.")],-1),L=e("p",null,[e("code",null,"archive_value"),t(),e("strong",null,"string"),e("br"),t(" What value the archive field should be set to when archiving an item.")],-1),O=e("p",null,[e("code",null,"unarchive_value"),t(),e("strong",null,"string"),e("br"),t(" What value the archive field should be set to when unarchiving an item.")],-1),Q=e("p",null,[e("code",null,"archive_app_filter"),t(),e("strong",null,"boolean"),e("br"),t(" Whether or not the Admin App should allow the user to view archived items.")],-1),D=e("p",null,[e("code",null,"sort_field"),t(),e("strong",null,"boolean"),e("br"),t(" What field holds the sort value on the collection. The Admin App uses this to allow drag-and-drop manual sorting.")],-1),B=e("code",null,"accountability",-1),G=t(),H=e("strong",null,"string",-1),I=e("br",null,null,-1),N=t(" What data is tracked. One of "),M=e("code",null,"all",-1),U=t(", "),V=e("code",null,"activity",-1),Y=t(". See "),z=t("Accountability"),F=t(" for more information."),J=e("code",null,"item_duplication_fields",-1),K=t(),X=e("strong",null,"array",-1),Z=e("br",null,null,-1),$=t(" What fields are duplicated during \u201CSave as copy\u201D action of an item in this collection. See "),ee=t("Duplication"),te=t(" for more information."),se=e("code",null,"group",-1),le=t(),ne=e("strong",null,"string",-1),oe=e("br",null,null,-1),ae=t(" The name of the parent collection. This is used in "),ce=t("grouping/nesting of collections"),ie=t("."),re=e("code",null,"sort",-1),he=t(),de=e("strong",null,"number",-1),pe=e("br",null,null,-1),ue=t(" What sort order of the collection relative to other collections of the same level. This is used in "),_e=t("sorting of collections"),ge=t("."),me=e("p",null,[e("code",null,"collapse"),t(),e("strong",null,"string"),e("br"),t(" What is the default behavior of this collection or \u201Cfolder\u201D collection when it has nested collections. One of "),e("code",null,"open"),t(", "),e("code",null,"closed"),t(", "),e("code",null,"locked"),t(".")],-1),fe=e("h4",{id:"schema"},[t("Schema "),e("a",{class:"header-anchor",href:"#schema"},"#")],-1),je=e("p",null,"\u201CRaw\u201D database information. Based on the database vendor used, different information might be returned. The following are available for all drivers.",-1),ye=e("div",{class:"definitions"},[e("p",null,[e("code",null,"name"),t(),e("strong",null,"string"),e("br"),t(" The table name.")]),e("p",null,[e("code",null,"comment"),t(),e("strong",null,"string"),e("br"),t(" The table comment.")])],-1),be={class:"tip hint"},ve=t("\u201Cfolder\u201D collections do not hold any data"),qe=t(", hence their schema would be "),we=e("code",null,"null",-1),Te=t("."),xe=e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[t(`{
2
2
  `),e("span",{class:"hljs-attr"},'"collection"'),t(": "),e("span",{class:"hljs-string"},'"articles"'),t(`,
3
3
  `),e("span",{class:"hljs-attr"},'"meta"'),t(`: {
4
4
  `),e("span",{class:"hljs-attr"},'"collection"'),t(": "),e("span",{class:"hljs-string"},'"articles"'),t(`,
@@ -1 +1 @@
1
- import{bS as y}from"./vendor.48c33a64.js";function k(c,d){return d.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(l){if(l!=="default"&&!(l in c)){var u=Object.getOwnPropertyDescriptor(i,l);Object.defineProperty(c,l,u.get?u:{enumerable:!0,get:function(){return i[l]}})}})}),Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(c,d){(function(i){i(y.exports)})(function(i){i.defineMode("commonlisp",function(l){var u=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,s=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,a=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,b=/[^\s'`,@()\[\]";]/,o;function f(e){for(var n;n=e.next();)if(n=="\\")e.next();else if(!b.test(n)){e.backUp(1);break}return e.current()}function p(e,n){if(e.eatSpace())return o="ws",null;if(e.match(a))return"number";var t=e.next();if(t=="\\"&&(t=e.next()),t=='"')return(n.tokenize=v)(e,n);if(t=="(")return o="open","bracket";if(t==")"||t=="]")return o="close","bracket";if(t==";")return e.skipToEnd(),o="ws","comment";if(/['`,@]/.test(t))return null;if(t=="|")return e.skipTo("|")?(e.next(),"symbol"):(e.skipToEnd(),"error");if(t=="#"){var t=e.next();return t=="("?(o="open","bracket"):/[+\-=\.']/.test(t)||/\d/.test(t)&&e.match(/^\d*#/)?null:t=="|"?(n.tokenize=m)(e,n):t==":"?(f(e),"meta"):t=="\\"?(e.next(),f(e),"string-2"):"error"}else{var r=f(e);return r=="."?null:(o="symbol",r=="nil"||r=="t"||r.charAt(0)==":"?"atom":n.lastType=="open"&&(u.test(r)||s.test(r))?"keyword":r.charAt(0)=="&"?"variable-2":"variable")}}function v(e,n){for(var t=!1,r;r=e.next();){if(r=='"'&&!t){n.tokenize=p;break}t=!t&&r=="\\"}return"string"}function m(e,n){for(var t,r;t=e.next();){if(t=="#"&&r=="|"){n.tokenize=p;break}r=t}return o="ws","comment"}return{startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:p}},token:function(e,n){e.sol()&&typeof n.ctx.indentTo!="number"&&(n.ctx.indentTo=n.ctx.start+1),o=null;var t=n.tokenize(e,n);return o!="ws"&&(n.ctx.indentTo==null?o=="symbol"&&s.test(e.current())?n.ctx.indentTo=n.ctx.start+l.indentUnit:n.ctx.indentTo="next":n.ctx.indentTo=="next"&&(n.ctx.indentTo=e.column()),n.lastType=o),o=="open"?n.ctx={prev:n.ctx,start:e.column(),indentTo:null}:o=="close"&&(n.ctx=n.ctx.prev||n.ctx),t},indent:function(e,n){var t=e.ctx.indentTo;return typeof t=="number"?t:e.ctx.start+1},closeBrackets:{pairs:'()[]{}""'},lineComment:";;",blockCommentStart:"#|",blockCommentEnd:"|#"}}),i.defineMIME("text/x-common-lisp","commonlisp")})})();var h=x.exports,g=k({__proto__:null,default:h},[x.exports]);export{g as c};
1
+ import{bV as y}from"./vendor.3b903562.js";function k(c,d){return d.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(l){if(l!=="default"&&!(l in c)){var u=Object.getOwnPropertyDescriptor(i,l);Object.defineProperty(c,l,u.get?u:{enumerable:!0,get:function(){return i[l]}})}})}),Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(c,d){(function(i){i(y.exports)})(function(i){i.defineMode("commonlisp",function(l){var u=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,s=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,a=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,b=/[^\s'`,@()\[\]";]/,o;function f(e){for(var n;n=e.next();)if(n=="\\")e.next();else if(!b.test(n)){e.backUp(1);break}return e.current()}function p(e,n){if(e.eatSpace())return o="ws",null;if(e.match(a))return"number";var t=e.next();if(t=="\\"&&(t=e.next()),t=='"')return(n.tokenize=v)(e,n);if(t=="(")return o="open","bracket";if(t==")"||t=="]")return o="close","bracket";if(t==";")return e.skipToEnd(),o="ws","comment";if(/['`,@]/.test(t))return null;if(t=="|")return e.skipTo("|")?(e.next(),"symbol"):(e.skipToEnd(),"error");if(t=="#"){var t=e.next();return t=="("?(o="open","bracket"):/[+\-=\.']/.test(t)||/\d/.test(t)&&e.match(/^\d*#/)?null:t=="|"?(n.tokenize=m)(e,n):t==":"?(f(e),"meta"):t=="\\"?(e.next(),f(e),"string-2"):"error"}else{var r=f(e);return r=="."?null:(o="symbol",r=="nil"||r=="t"||r.charAt(0)==":"?"atom":n.lastType=="open"&&(u.test(r)||s.test(r))?"keyword":r.charAt(0)=="&"?"variable-2":"variable")}}function v(e,n){for(var t=!1,r;r=e.next();){if(r=='"'&&!t){n.tokenize=p;break}t=!t&&r=="\\"}return"string"}function m(e,n){for(var t,r;t=e.next();){if(t=="#"&&r=="|"){n.tokenize=p;break}r=t}return o="ws","comment"}return{startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:p}},token:function(e,n){e.sol()&&typeof n.ctx.indentTo!="number"&&(n.ctx.indentTo=n.ctx.start+1),o=null;var t=n.tokenize(e,n);return o!="ws"&&(n.ctx.indentTo==null?o=="symbol"&&s.test(e.current())?n.ctx.indentTo=n.ctx.start+l.indentUnit:n.ctx.indentTo="next":n.ctx.indentTo=="next"&&(n.ctx.indentTo=e.column()),n.lastType=o),o=="open"?n.ctx={prev:n.ctx,start:e.column(),indentTo:null}:o=="close"&&(n.ctx=n.ctx.prev||n.ctx),t},indent:function(e,n){var t=e.ctx.indentTo;return typeof t=="number"?t:e.ctx.start+1},closeBrackets:{pairs:'()[]{}""'},lineComment:";;",blockCommentStart:"#|",blockCommentEnd:"|#"}}),i.defineMIME("text/x-common-lisp","commonlisp")})})();var h=x.exports,g=k({__proto__:null,default:h},[x.exports]);export{g as c};
@@ -0,0 +1,138 @@
1
+ import{w as s,y as d,z as i,A as n,E as l,C as o,W as e}from"./vendor.3b903562.js";const c={class:"markdown-body"},h=l("blockquote",null,[l("p",null,"Environment variables are used for all configuration within a Directus project. These variables can be defined in a number of ways, which we cover below.")],-1),_=l("p",null,[l("div",{class:"table-of-contents"},[l("ul",null,[l("li",null,[l("a",{href:"#configuration-files"},"Configuration Files")]),l("li",null,[l("a",{href:"#environment-variable-files"},"Environment Variable Files")]),l("li",null,[l("a",{href:"#type-casting-and-nesting"},"Type Casting and Nesting")]),l("li",null,[l("a",{href:"#environment-syntax-prefix"},"Environment Syntax Prefix")]),l("li",null,[l("a",{href:"#general"},"General")]),l("li",null,[l("a",{href:"#server"},"Server")]),l("li",null,[l("a",{href:"#database"},"Database")]),l("li",null,[l("a",{href:"#security"},"Security")]),l("li",null,[l("a",{href:"#cors"},"CORS")]),l("li",null,[l("a",{href:"#rate-limiting"},"Rate Limiting")]),l("li",null,[l("a",{href:"#cache"},"Cache")]),l("li",null,[l("a",{href:"#file-storage"},"File Storage")]),l("li",null,[l("a",{href:"#assets"},"Assets")]),l("li",null,[l("a",{href:"#authentication"},"Authentication")]),l("li",null,[l("a",{href:"#extensions"},"Extensions")]),l("li",null,[l("a",{href:"#email"},"Email")]),l("li",null,[l("a",{href:"#admin-account"},"Admin Account")]),l("li",null,[l("a",{href:"#telemetry"},"Telemetry")]),l("li",null,[l("a",{href:"#limits-%26-optimizations"},"Limits & Optimizations")])])])],-1),p=l("h2",{id:"configuration-files"},[e("Configuration Files "),l("a",{class:"header-anchor",href:"#configuration-files"},"#")],-1),f=l("p",null,[e("By default, Directus will read the "),l("code",null,".env"),e(" file located next to your project\u2019s "),l("code",null,"package.json"),e(" (typically in the root folder of your project) for its configuration. You can change this path and filename by setting the "),l("code",null,"CONFIG_PATH"),e(" environment variable before starting Directus. For example:")],-1),m=l("pre",null,[l("code",{class:"language-bash"},[e("CONFIG_PATH="),l("span",{class:"hljs-string"},'"/path/to/config.js"'),e(` npx directus start
2
+ `)])],-1),E=l("p",null,[e("In case you prefer using a configuration file instead of environment variables, you can also use the "),l("code",null,"CONFIG_PATH"),e(" environment variable to instruct Directus to use a local configuration file instead of environment variables. The config file can be one of the following formats:")],-1),g=l("ul",null,[l("li",null,[l("a",{href:"#env"},".env")]),l("li",null,[l("a",{href:"#config-json"},"config.json")]),l("li",null,[l("a",{href:"#config-yaml"},"config.yaml")]),l("li",null,[l("a",{href:"#config-js"},"config.js")])],-1),A=l("h3",{id:".env"},[e(".env "),l("a",{class:"header-anchor",href:"#.env"},"#")],-1),T=l("p",null,"If the config path has no file extension, or a file extension that\u2019s not one of the other supported formats, Directus will try reading the file config path as environment variables. This has the following structure:",-1),R=l("pre",null,[l("code",null,`HOST="0.0.0.0"
3
+ PORT=8055
4
+
5
+ DB_CLIENT="pg"
6
+ DB_HOST="localhost"
7
+ DB_PORT=5432
8
+
9
+ etc
10
+ `)],-1),b=l("h3",{id:"config.json"},[e("config.json "),l("a",{class:"header-anchor",href:"#config.json"},"#")],-1),O=l("p",null,"If you prefer a single JSON file for your configuration, create a JSON file with the environment variables as keys, for example:",-1),S=l("pre",null,[l("code",null,`CONFIG_PATH="/path/to/config.json"
11
+ `)],-1),I=l("pre",null,[l("code",{class:"language-json"},[e(`{
12
+ `),l("span",{class:"hljs-attr"},'"HOST"'),e(": "),l("span",{class:"hljs-string"},'"0.0.0.0"'),e(`,
13
+ `),l("span",{class:"hljs-attr"},'"PORT"'),e(": "),l("span",{class:"hljs-number"},"8055"),e(`,
14
+
15
+ `),l("span",{class:"hljs-attr"},'"DB_CLIENT"'),e(": "),l("span",{class:"hljs-string"},'"pg"'),e(`,
16
+ `),l("span",{class:"hljs-attr"},'"DB_HOST"'),e(": "),l("span",{class:"hljs-string"},'"localhost"'),e(`,
17
+ `),l("span",{class:"hljs-attr"},'"DB_PORT"'),e(": "),l("span",{class:"hljs-number"},"5432"),e(`
18
+
19
+ `),l("span",{class:"hljs-comment"},"// etc"),e(`
20
+ }
21
+ `)])],-1),y=l("h3",{id:"config.yaml"},[e("config.yaml "),l("a",{class:"header-anchor",href:"#config.yaml"},"#")],-1),D=l("p",null,[e("Similar to JSON, you can use a "),l("code",null,".yaml"),e(" (or "),l("code",null,".yml"),e(") file for your config:")],-1),C=l("pre",null,[l("code",null,`CONFIG_PATH="/path/to/config.yaml"
22
+ `)],-1),v=l("pre",null,[l("code",{class:"language-yaml"},[l("span",{class:"hljs-attr"},"HOST:"),e(),l("span",{class:"hljs-number"},"0.0"),l("span",{class:"hljs-number"},".0"),l("span",{class:"hljs-number"},".0"),e(`
23
+ `),l("span",{class:"hljs-attr"},"PORT:"),e(),l("span",{class:"hljs-number"},"8055"),e(`
24
+
25
+ `),l("span",{class:"hljs-attr"},"DB_CLIENT:"),e(),l("span",{class:"hljs-string"},"pg"),e(`
26
+ `),l("span",{class:"hljs-attr"},"DB_HOST:"),e(),l("span",{class:"hljs-string"},"localhost"),e(`
27
+ `),l("span",{class:"hljs-attr"},"DB_PORT:"),e(),l("span",{class:"hljs-number"},"5432"),e(`
28
+ `),l("span",{class:"hljs-comment"},"#"),e(`
29
+ `),l("span",{class:"hljs-comment"},"# etc"),e(`
30
+ `)])],-1),L=l("h3",{id:"config.js"},[e("config.js "),l("a",{class:"header-anchor",href:"#config.js"},"#")],-1),w=l("p",null,[e("Using a JavaScript file for your config allows you to dynamically generate the configuration of the project during startup. The JavaScript configuration supports two different formats, either an "),l("strong",null,"Object Structure"),e(" where the key is the environment variable name:")],-1),U=l("pre",null,[l("code",{class:"language-js"},[l("span",{class:"hljs-comment"},"// Object Syntax"),e(`
31
+
32
+ `),l("span",{class:"hljs-built_in"},"module"),e(`.exports = {
33
+ `),l("span",{class:"hljs-attr"},"HOST"),e(": "),l("span",{class:"hljs-string"},"'0.0.0.0'"),e(`,
34
+ `),l("span",{class:"hljs-attr"},"PORT"),e(": "),l("span",{class:"hljs-number"},"8055"),e(`,
35
+
36
+ `),l("span",{class:"hljs-attr"},"DB_CLIENT"),e(": "),l("span",{class:"hljs-string"},"'pg'"),e(`,
37
+ `),l("span",{class:"hljs-attr"},"DB_HOST"),e(": "),l("span",{class:"hljs-string"},"'localhost'"),e(`,
38
+ `),l("span",{class:"hljs-attr"},"DB_PORT"),e(": "),l("span",{class:"hljs-number"},"5432"),e(`,
39
+
40
+ `),l("span",{class:"hljs-comment"},"// etc"),e(`
41
+ };
42
+ `)])],-1),P=l("p",null,[e("Or a "),l("strong",null,"Function Structure"),e(" that "),l("em",null,"returns"),e(" the same object format as above. The function gets "),l("code",null,"process.env"),e(" as its parameter.")],-1),N=l("pre",null,[l("code",{class:"language-js"},[l("span",{class:"hljs-comment"},"// Function Syntax"),e(`
43
+
44
+ `),l("span",{class:"hljs-built_in"},"module"),e(".exports = "),l("span",{class:"hljs-function"},[l("span",{class:"hljs-keyword"},"function"),e(" ("),l("span",{class:"hljs-params"},"env"),e(") ")]),e(`{
45
+ `),l("span",{class:"hljs-keyword"},"return"),e(` {
46
+ `),l("span",{class:"hljs-attr"},"HOST"),e(": "),l("span",{class:"hljs-string"},"'0.0.0.0'"),e(`,
47
+ `),l("span",{class:"hljs-attr"},"PORT"),e(": "),l("span",{class:"hljs-number"},"8055"),e(`,
48
+
49
+ `),l("span",{class:"hljs-attr"},"DB_CLIENT"),e(": "),l("span",{class:"hljs-string"},"'pg'"),e(`,
50
+ `),l("span",{class:"hljs-attr"},"DB_HOST"),e(": "),l("span",{class:"hljs-string"},"'localhost'"),e(`,
51
+ `),l("span",{class:"hljs-attr"},"DB_PORT"),e(": "),l("span",{class:"hljs-number"},"5432"),e(`,
52
+
53
+ `),l("span",{class:"hljs-comment"},"// etc"),e(`
54
+ };
55
+ };
56
+ `)])],-1),H=l("h2",{id:"environment-variable-files"},[e("Environment Variable Files "),l("a",{class:"header-anchor",href:"#environment-variable-files"},"#")],-1),V=l("p",null,[e("Any of the environment variable values can be imported from a file, by appending "),l("code",null,"_FILE"),e(" to the environment variable name. This is especially useful when used in conjunction with Docker Secrets, so you can keep sensitive data out of your compose files. For example:")],-1),M=l("pre",null,[l("code",null,`DB_PASSWORD_FILE="/run/secrets/db_password"
57
+ `)],-1),x=l("h2",{id:"type-casting-and-nesting"},[e("Type Casting and Nesting "),l("a",{class:"header-anchor",href:"#type-casting-and-nesting"},"#")],-1),j=l("p",null,"Environment variables are automatically type cast based on the structure of the variable, for example:",-1),k=l("pre",null,[l("code",null,`PUBLIC_URL="https://example.com"
58
+ // "https://example.com"
59
+
60
+ DB_HOST="3306"
61
+ // 3306
62
+
63
+ CORS_ENABLED="false"
64
+ // false
65
+
66
+ STORAGE_LOCATIONS="s3,local,example"
67
+ // ["s3", "local", "example"]
68
+ `)],-1),B=l("p",null,[e("In cases where the environment variables are converted to a configuration object for third party library use, like in "),l("code",null,"DB_*"),e(" or "),l("code",null,"RATE_LIMITER_REDIS_*"),e(", the environment variable will be converted to camelCase. You can use a double underscore ("),l("code",null,"__"),e(") for nested objects:")],-1),G=l("pre",null,[l("code",null,`DB_CLIENT="pg"
69
+ DB_CONNECTION_STRING="postgresql://postgres:example@127.0.0.1"
70
+ DB_SSL__REJECT_UNAUTHORIZED="false"
71
+
72
+ {
73
+ client: "pg",
74
+ connectionString: "postgresql://postgres:example@127.0.0.1",
75
+ ssl: {
76
+ rejectUnauthorized: false
77
+ }
78
+ }
79
+ `)],-1),F=l("h2",{id:"environment-syntax-prefix"},[e("Environment Syntax Prefix "),l("a",{class:"header-anchor",href:"#environment-syntax-prefix"},"#")],-1),W=l("p",null,[e("Directus will attempt to "),l("a",{href:"#type-casting-and-nesting"},"automatically type cast environment variables"),e(" based on context clues. If you have a specific need for a given type, you can tell Directus what type to use for the given value by prefixing the value with "),l("code",null,"{type}:"),e(". The following types are available:")],-1),q=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Syntax Prefix"),l("th",null,"Example"),l("th",null,"Output")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"string")]),l("td",null,[l("code",null,"string:value")]),l("td",null,[l("code",null,'"value"')])]),l("tr",null,[l("td",null,[l("code",null,"number")]),l("td",null,[l("code",null,"number:3306")]),l("td",null,[l("code",null,"3306")])]),l("tr",null,[l("td",null,[l("code",null,"regex")]),l("td",null,[l("code",null,"regex:\\.example\\.com$")]),l("td",null,[l("code",null,"/\\.example\\.com$/")])]),l("tr",null,[l("td",null,[l("code",null,"array")]),l("td",null,[l("code",null,"array:https://example.com,https://example2.com"),e(),l("br"),e(),l("code",null,"array:string:https://example.com,regex:\\.example3\\.com$")]),l("td",null,[l("code",null,'["https://example.com", "https://example2.com"]'),e(),l("br"),e(),l("code",null,'["https://example.com", "https://example2.com", /\\.example3\\.com$/]')])])])],-1),Y=l("hr",null,null,-1),K=l("h2",{id:"general"},[e("General "),l("a",{class:"header-anchor",href:"#general"},"#")],-1),z=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"CONFIG_PATH")]),l("td",null,[e("Where your config file is located. See "),l("a",{href:"#configuration-files"},"Configuration Files")]),l("td",null,[l("code",null,".env")])]),l("tr",null,[l("td",null,[l("code",null,"HOST")]),l("td",null,"IP or host the API listens on."),l("td",null,[l("code",null,"0.0.0.0")])]),l("tr",null,[l("td",null,[l("code",null,"PORT")]),l("td",null,"What port to run the API under."),l("td",null,[l("code",null,"8055")])]),l("tr",null,[l("td",null,[l("code",null,"PUBLIC_URL"),l("sup",null,"[1]")]),l("td",null,"URL where your API can be reached on the web."),l("td",null,[l("code",null,"/")])]),l("tr",null,[l("td",null,[l("code",null,"LOG_LEVEL")]),l("td",null,[e("What level of detail to log. One of "),l("code",null,"fatal"),e(", "),l("code",null,"error"),e(", "),l("code",null,"warn"),e(", "),l("code",null,"info"),e(", "),l("code",null,"debug"),e(", "),l("code",null,"trace"),e(" or "),l("code",null,"silent"),e(".")]),l("td",null,[l("code",null,"info")])]),l("tr",null,[l("td",null,[l("code",null,"LOG_STYLE")]),l("td",null,[e("Render the logs human readable (pretty) or as JSON. One of "),l("code",null,"pretty"),e(", "),l("code",null,"raw"),e(".")]),l("td",null,[l("code",null,"pretty")])]),l("tr",null,[l("td",null,[l("code",null,"MAX_PAYLOAD_SIZE")]),l("td",null,"Controls the maximum request body size. Accepts number of bytes, or human readable string."),l("td",null,[l("code",null,"100kb")])]),l("tr",null,[l("td",null,[l("code",null,"ROOT_REDIRECT")]),l("td",null,[e("Where to redirect to when navigating to "),l("code",null,"/"),e(". Accepts a relative path, absolute URL, or "),l("code",null,"false"),e(" to disable.")]),l("td",null,[l("code",null,"./admin")])]),l("tr",null,[l("td",null,[l("code",null,"SERVE_APP")]),l("td",null,[e("Whether or not to serve the Admin App under "),l("code",null,"/admin"),e(".")]),l("td",null,[l("code",null,"true")])]),l("tr",null,[l("td",null,[l("code",null,"GRAPHQL_INTROSPECTION")]),l("td",null,"Whether or not to enable GraphQL Introspection"),l("td",null,[l("code",null,"true")])])])],-1),X=l("p",null,[l("sup",null,"[1]"),e(" The PUBLIC_URL value is used for things like OAuth redirects, forgot-password emails, and logos that needs to be publicly available on the internet.")],-1),J=l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"Additional Logger Variables"),l("p",null,[e("All "),l("code",null,"LOGGER_*"),e(" environment variables are passed to the "),l("code",null,"options"),e(" configuration of a "),l("a",{href:"https://github.com/pinojs/pino/blob/master/docs/api.md#options",target:"_blank",rel:"noopener noreferrer"},[l("code",null,"Pino"),e(" instance")]),e(". All "),l("code",null,"LOGGER_HTTP*"),e(" environment variables are passed to the "),l("code",null,"options"),e(" configuration of a "),l("a",{href:"https://github.com/pinojs/pino-http#api",target:"_blank",rel:"noopener noreferrer"},[l("code",null,"Pino-http"),e(" instance")]),e(". Based on your project\u2019s needs, you can extend the "),l("code",null,"LOGGER_*"),e(" environment variables with any config you need to pass to the logger instance. If a LOGGER_LEVELS key is added, these values will be passed to the logger formatter, as described "),l("a",{href:"https://github.com/pinojs/pino/blob/master/docs/help.md#mapping-pino-log-levels-to-google-cloud-logging-stackdriver-severity-levels",target:"_blank",rel:"noopener noreferrer"},"here"),e(" for example. The format for adding LEVELS values is: "),l("code",null,'LOGGER_LEVELS="trace:DEBUG,debug:DEBUG,info:INFO,warn:WARNING,error:ERROR,fatal:CRITICAL"')])],-1),Z=l("h2",{id:"server"},[e("Server "),l("a",{class:"header-anchor",href:"#server"},"#")],-1),Q=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"SERVER_KEEP_ALIVE_TIMEOUT")]),l("td",null,"Timeout in milliseconds for socket to be destroyed"),l("td",null,[l("a",{href:"https://github.com/nodejs/node/blob/master/doc/api/http.md#serverkeepalivetimeout",target:"_blank",rel:"noopener noreferrer"},"server.keepAliveTimeout")])]),l("tr",null,[l("td",null,[l("code",null,"SERVER_HEADERS_TIMEOUT")]),l("td",null,"Timeout in milliseconds to parse HTTP headers"),l("td",null,[l("a",{href:"https://github.com/nodejs/node/blob/master/doc/api/http.md#serverheaderstimeout",target:"_blank",rel:"noopener noreferrer"},"server.headersTimeout")])])])],-1),$=l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"Additional Server Variables"),l("p",null,[e("All "),l("code",null,"SERVER_*"),e(" environment variables are merged with "),l("code",null,"server"),e(" instance properties created from "),l("a",{href:"https://github.com/nodejs/node/blob/master/doc/api/http.md#class-httpserver",target:"_blank",rel:"noopener noreferrer"},"http.Server"),e(". This allows to configure server behind a proxy, a load balancer, etc. Be careful to not override methods of this instance otherwise you may incur into unexpected behaviors.")])],-1),ll=l("h2",{id:"database"},[e("Database "),l("a",{class:"header-anchor",href:"#database"},"#")],-1),el=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"DB_CLIENT")]),l("td",null,[l("strong",null,"Required"),e(". What database client to use. One of "),l("code",null,"pg"),e(" or "),l("code",null,"postgres"),e(", "),l("code",null,"mysql"),e(", "),l("code",null,"oracledb"),e(", "),l("code",null,"mssql"),e(", "),l("code",null,"sqlite3"),e(", "),l("code",null,"cockroachdb"),e(".")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"DB_HOST")]),l("td",null,[e("Database host. "),l("strong",null,"Required"),e(" when using "),l("code",null,"pg"),e(", "),l("code",null,"mysql"),e(", "),l("code",null,"oracledb"),e(", or "),l("code",null,"mssql"),e(".")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"DB_PORT")]),l("td",null,[e("Database port. "),l("strong",null,"Required"),e(" when using "),l("code",null,"pg"),e(", "),l("code",null,"mysql"),e(", "),l("code",null,"oracledb"),e(", or "),l("code",null,"mssql"),e(".")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"DB_DATABASE")]),l("td",null,[e("Database name. "),l("strong",null,"Required"),e(" when using "),l("code",null,"pg"),e(", "),l("code",null,"mysql"),e(", "),l("code",null,"oracledb"),e(", or "),l("code",null,"mssql"),e(".")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"DB_USER")]),l("td",null,[e("Database user. "),l("strong",null,"Required"),e(" when using "),l("code",null,"pg"),e(", "),l("code",null,"mysql"),e(", "),l("code",null,"oracledb"),e(", or "),l("code",null,"mssql"),e(".")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"DB_PASSWORD")]),l("td",null,[e("Database user\u2019s password. "),l("strong",null,"Required"),e(" when using "),l("code",null,"pg"),e(", "),l("code",null,"mysql"),e(", "),l("code",null,"oracledb"),e(", or "),l("code",null,"mssql"),e(".")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"DB_FILENAME")]),l("td",null,[e("Where to read/write the SQLite database. "),l("strong",null,"Required"),e(" when using "),l("code",null,"sqlite3"),e(".")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"DB_CONNECTION_STRING")]),l("td",null,[e("When using "),l("code",null,"pg"),e(", you can submit a connection string instead of individual properties. Using this will ignore any of the other connection settings.")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"DB_POOL_*")]),l("td",null,[e("Pooling settings. Passed on to "),l("a",{href:"https://github.com/vincit/tarn.js#usage",target:"_blank",rel:"noopener noreferrer"},[e("the "),l("code",null,"tarn.js")]),e(" library.")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"DB_EXCLUDE_TABLES")]),l("td",null,"CSV of tables you want Directus to ignore completely"),l("td",null,[l("code",null,"spatial_ref_sys,sysdiagrams")])]),l("tr",null,[l("td",null,[l("code",null,"DB_CHARSET")]),l("td",null,"Charset/collation to use in the connection to MySQL/MariaDB"),l("td",null,[l("code",null,"UTF8_GENERAL_CI")])]),l("tr",null,[l("td",null,[l("code",null,"DB_VERSION")]),l("td",null,"Database version, in case you use the PostgreSQL adapter to connect a non-standard database. Not normally required."),l("td",null,"\u2013")])])],-1),nl=l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"Additional Database Variables"),l("p",null,[e("All "),l("code",null,"DB_*"),e(" environment variables are passed to the "),l("code",null,"connection"),e(" configuration of a "),l("a",{href:"http://knexjs.org",target:"_blank",rel:"noopener noreferrer"},[l("code",null,"Knex"),e(" instance")]),e(". Based on your project\u2019s needs, you can extend the "),l("code",null,"DB_*"),e(" environment variables with any config you need to pass to the database instance.")])],-1),tl=l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"Pooling"),l("p",null,[e("All the "),l("code",null,"DB_POOL_"),e(" prefixed options are passed to "),l("a",{href:"https://github.com/vincit/tarn.js#usage",target:"_blank",rel:"noopener noreferrer"},[l("code",null,"tarn.js")]),e(" through "),l("a",{href:"http://knexjs.org/#Installation-pooling",target:"_blank",rel:"noopener noreferrer"},"Knex")])],-1),ol=l("h2",{id:"security"},[e("Security "),l("a",{class:"header-anchor",href:"#security"},"#")],-1),ul=l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])],-1),sl=l("tr",null,[l("td",null,[l("code",null,"KEY")]),l("td",null,"Unique identifier for the project."),l("td",null,"\u2013")],-1),al=l("tr",null,[l("td",null,[l("code",null,"SECRET")]),l("td",null,"Secret string for the project."),l("td",null,"\u2013")],-1),rl=l("tr",null,[l("td",null,[l("code",null,"ACCESS_TOKEN_TTL")]),l("td",null,"The duration that the access token is valid."),l("td",null,[l("code",null,"15m")])],-1),dl=l("tr",null,[l("td",null,[l("code",null,"REFRESH_TOKEN_TTL")]),l("td",null,"The duration that the refresh token is valid, and also how long users stay logged-in to the App."),l("td",null,[l("code",null,"7d")])],-1),il=l("tr",null,[l("td",null,[l("code",null,"REFRESH_TOKEN_COOKIE_DOMAIN")]),l("td",null,"Which domain to use for the refresh cookie. Useful for development mode."),l("td",null,"\u2013")],-1),cl=l("tr",null,[l("td",null,[l("code",null,"REFRESH_TOKEN_COOKIE_SECURE")]),l("td",null,"Whether or not to use a secure cookie for the refresh token in cookie mode."),l("td",null,[l("code",null,"false")])],-1),hl=l("tr",null,[l("td",null,[l("code",null,"REFRESH_TOKEN_COOKIE_SAME_SITE")]),l("td",null,[e("Value for "),l("code",null,"sameSite"),e(" in the refresh token cookie when in cookie mode.")]),l("td",null,[l("code",null,"lax")])],-1),_l=l("tr",null,[l("td",null,[l("code",null,"REFRESH_TOKEN_COOKIE_NAME")]),l("td",null,"Name of refresh token cookie ."),l("td",null,[l("code",null,"directus_refresh_token")])],-1),pl=l("td",null,[l("code",null,"PASSWORD_RESET_URL_ALLOW_LIST")],-1),fl=e("List of URLs that can be used "),ml=e("as "),El=l("code",null,"reset_url",-1),gl=e(" in /password/request"),Al=l("td",null,"\u2013",-1),Tl=l("td",null,[l("code",null,"USER_INVITE_URL_ALLOW_LIST")],-1),Rl=e("List of URLs that can be used "),bl=e("as "),Ol=l("code",null,"invite_url",-1),Sl=e(" in /users/invite"),Il=l("td",null,"\u2013",-1),yl=l("tr",null,[l("td",null,[l("code",null,"IP_TRUST_PROXY")]),l("td",null,[e("Settings for "),l("a",{href:"https://expressjs.com/en/guide/behind-proxies.html",target:"_blank",rel:"noopener noreferrer"},"express\u2019 trust proxy setting")]),l("td",null,"true")],-1),Dl=l("tr",null,[l("td",null,[l("code",null,"IP_CUSTOM_HEADER")]),l("td",null,"What custom request header to use for the IP address"),l("td",null,"false")],-1),Cl=l("tr",null,[l("td",null,[l("code",null,"ASSETS_CONTENT_SECURITY_POLICY")]),l("td",null,[e("Custom overrides for the Content-Security-Policy header for the /assets endpoint. See "),l("a",{href:"https://helmetjs.github.io",target:"_blank",rel:"noopener noreferrer"},"helmet\u2019s documentation"),e(" for more information.")]),l("td",null,"\u2013")],-1),vl=l("tr",null,[l("td",null,[l("code",null,"IMPORT_IP_DENY_LIST")]),l("td",null,[e("Deny importing files from these IP addresses. Use "),l("code",null,"0.0.0.0"),e(" for any local IP address")]),l("td",null,[l("code",null,"0.0.0.0")])],-1),Ll=l("tr",null,[l("td",null,[l("code",null,"CONTENT_SECURITY_POLICY_*")]),l("td",null,[e("Custom overrides for the Content-Security-Policy header. See "),l("a",{href:"https://helmetjs.github.io",target:"_blank",rel:"noopener noreferrer"},"helmet\u2019s documentation"),e(" for more information.")]),l("td",null,"\u2013")],-1),wl=l("tr",null,[l("td",null,[l("code",null,"HSTS_ENABLED")]),l("td",null,"Enable the Strict-Transport-Security policy header."),l("td",null,[l("code",null,"false")])],-1),Ul=l("tr",null,[l("td",null,[l("code",null,"HSTS_*")]),l("td",null,[e("Custom overrides for the Strict-Transport-Security header. See "),l("a",{href:"https://helmetjs.github.io",target:"_blank",rel:"noopener noreferrer"},"helmet\u2019s documentation"),e(" for more information.")]),l("td",null,"\u2013")],-1),Pl=l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"Cookie Strictness"),l("p",null,[e("Browser are pretty strict when it comes to third-party cookies. If you\u2019re running into unexpected problems when running your project and API on different domains, make sure to verify your configuration for "),l("code",null,"REFRESH_TOKEN_COOKIE_NAME"),e(", "),l("code",null,"REFRESH_TOKEN_COOKIE_SECURE"),e(" and "),l("code",null,"REFRESH_TOKEN_COOKIE_SAME_SITE"),e(".")])],-1),Nl=l("h3",{id:"hashing"},[e("Hashing "),l("a",{class:"header-anchor",href:"#hashing"},"#")],-1),Hl=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"HASH_MEMORY_COST")]),l("td",null,"How much memory to use when generating hashes, in KiB."),l("td",null,[l("code",null,"4096"),e(" (4 MiB)")])]),l("tr",null,[l("td",null,[l("code",null,"HASH_LENGTH")]),l("td",null,"The length of the hash function output in bytes."),l("td",null,[l("code",null,"32")])]),l("tr",null,[l("td",null,[l("code",null,"HASH_TIME_COST")]),l("td",null,"The amount of passes (iterations) used by the hash function. It increases hash strength at the cost of time required to compute."),l("td",null,[l("code",null,"3")])]),l("tr",null,[l("td",null,[l("code",null,"HASH_PARALLELISM")]),l("td",null,[e("The amount of threads to compute the hash on. Each thread has a memory pool with "),l("code",null,"HASH_MEMORY_COST"),e(" size.")]),l("td",null,[l("code",null,"1"),e(" (single thread)")])]),l("tr",null,[l("td",null,[l("code",null,"HASH_TYPE")]),l("td",null,[e("The variant of the hash function ("),l("code",null,"0"),e(": argon2d, "),l("code",null,"1"),e(": argon2i, or "),l("code",null,"2"),e(": argon2id).")]),l("td",null,[l("code",null,"1"),e(" (argon2i)")])]),l("tr",null,[l("td",null,[l("code",null,"HASH_ASSOCIATED_DATA")]),l("td",null,"An extra and optional non-secret value. The value will be included B64 encoded in the parameters portion of the digest."),l("td",null,"\u2013")])])],-1),Vl=e("Argon2\u2019s hashing function is used by Directus for three purposes: 1) hashing user passwords, 2) generating hashes for the "),Ml=l("code",null,"Hash",-1),xl=e(" field type in collections, and 3) the "),jl=e("generate a hash API endpoint"),kl=e("."),Bl=l("p",null,[e("All "),l("code",null,"HASH_*"),e(" environment variable parameters are passed to the "),l("code",null,"argon2.hash"),e(" function. See the "),l("a",{href:"https://github.com/ranisalt/node-argon2/wiki/Options",target:"_blank",rel:"noopener noreferrer"},"node-argon2 library options page"),e(" for reference.")],-1),Gl=l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"Memory Usage"),l("p",null,[e("Modifying "),l("code",null,"HASH_MEMORY_COST"),e(" and/or "),l("code",null,"HASH_PARALLELISM"),e(" will affect the amount of memory directus uses when computing hashes; each thread gets "),l("code",null,"HASH_MEMORY_COST"),e(" amount of memory, so the total additional memory will be these two values multiplied. This may cause out of memory errors, especially when running in containerized environments.")])],-1),Fl=l("h2",{id:"cors"},[e("CORS "),l("a",{class:"header-anchor",href:"#cors"},"#")],-1),Wl=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"CORS_ENABLED")]),l("td",null,"Whether or not to enable the CORS headers."),l("td",null,[l("code",null,"false")])]),l("tr",null,[l("td",null,[l("code",null,"CORS_ORIGIN")]),l("td",null,[e("Value for the "),l("code",null,"Access-Control-Allow-Origin"),e(" header. Use "),l("code",null,"true"),e(" to match the Origin header, or provide a domain or a CSV of domains for specific access")]),l("td",null,[l("code",null,"false")])]),l("tr",null,[l("td",null,[l("code",null,"CORS_METHODS")]),l("td",null,[e("Value for the "),l("code",null,"Access-Control-Allow-Methods"),e(" header.")]),l("td",null,[l("code",null,"GET,POST,PATCH,DELETE")])]),l("tr",null,[l("td",null,[l("code",null,"CORS_ALLOWED_HEADERS")]),l("td",null,[e("Value for the "),l("code",null,"Access-Control-Allow-Headers"),e(" header.")]),l("td",null,[l("code",null,"Content-Type,Authorization")])]),l("tr",null,[l("td",null,[l("code",null,"CORS_EXPOSED_HEADERS")]),l("td",null,[e("Value for the "),l("code",null,"Access-Control-Expose-Headers"),e(" header.")]),l("td",null,[l("code",null,"Content-Range")])]),l("tr",null,[l("td",null,[l("code",null,"CORS_CREDENTIALS")]),l("td",null,[e("Whether or not to send the "),l("code",null,"Access-Control-Allow-Credentials"),e(" header.")]),l("td",null,[l("code",null,"true")])]),l("tr",null,[l("td",null,[l("code",null,"CORS_MAX_AGE")]),l("td",null,[e("Value for the "),l("code",null,"Access-Control-Max-Age"),e(" header.")]),l("td",null,[l("code",null,"18000")])])])],-1),ql=l("h2",{id:"rate-limiting"},[e("Rate Limiting "),l("a",{class:"header-anchor",href:"#rate-limiting"},"#")],-1),Yl=l("p",null,[e("You can use the built-in rate-limiter to prevent users from hitting the API too much. Simply enabling the rate-limiter will set a default maximum of 50 requests per second, tracked in memory. Once you have multiple copies of Directus running under a load-balancer, or your user base grows so much that memory is no longer a viable place to store the rate limiter information, you can use an external "),l("code",null,"memcache"),e(" or "),l("code",null,"redis"),e(" instance to store the rate limiter data.")],-1),Kl=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"RATE_LIMITER_ENABLED")]),l("td",null,"Whether or not to enable rate limiting on the API."),l("td",null,[l("code",null,"false")])]),l("tr",null,[l("td",null,[l("code",null,"RATE_LIMITER_POINTS")]),l("td",null,"The amount of allowed hits per duration."),l("td",null,[l("code",null,"50")])]),l("tr",null,[l("td",null,[l("code",null,"RATE_LIMITER_DURATION")]),l("td",null,"The time window in seconds in which the points are counted."),l("td",null,[l("code",null,"1")])]),l("tr",null,[l("td",null,[l("code",null,"RATE_LIMITER_STORE")]),l("td",null,[e("Where to store the rate limiter counts. One of "),l("code",null,"memory"),e(", "),l("code",null,"redis"),e(", or "),l("code",null,"memcache"),e(".")]),l("td",null,[l("code",null,"memory")])])])],-1),zl=l("p",null,[e("Based on the "),l("code",null,"RATE_LIMITER_STORE"),e(" used, you must also provide the following configurations:")],-1),Xl=l("h3",{id:"memory"},[e("Memory "),l("a",{class:"header-anchor",href:"#memory"},"#")],-1),Jl=l("p",null,"No additional configuration required.",-1),Zl=l("h3",{id:"redis"},[e("Redis "),l("a",{class:"header-anchor",href:"#redis"},"#")],-1),Ql=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"RATE_LIMITER_REDIS")]),l("td",null,[e("Redis connection string, eg: "),l("code",null,"redis://:authpassword@127.0.0.1:6380/4")]),l("td",null,"\u2014")])])],-1),$l=l("p",null,"Alternatively, you can provide the individual connection parameters:",-1),le=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"RATE_LIMITER_REDIS_HOST")]),l("td",null,"Hostname of the Redis instance"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"RATE_LIMITER_REDIS_PORT")]),l("td",null,"Port of the Redis instance"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"RATE_LIMITER_REDIS_PASSWORD")]),l("td",null,"Password for your Redis instance"),l("td",null,"\u2013")])])],-1),ee=l("h3",{id:"memcache"},[e("Memcache "),l("a",{class:"header-anchor",href:"#memcache"},"#")],-1),ne=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"RATE_LIMITER_MEMCACHE")]),l("td",null,[e("Location of your memcache instance. You can use "),l("a",{href:"#environment-syntax-prefix"},[l("code",null,"array:"),e(" syntax")]),e(", eg: "),l("code",null,"array:<instance-1>,<instance-2>"),e(" for multiple memcache instances.")]),l("td",null,"\u2014")])])],-1),te=l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"Additional Rate Limiter Variables"),l("p",null,[e("All "),l("code",null,"RATE_LIMITER_*"),e(" variables are passed directly to a "),l("code",null,"rate-limiter-flexible"),e(" instance. Depending on your project\u2019s needs, you can extend the above environment variables to configure any of "),l("a",{href:"https://github.com/animir/node-rate-limiter-flexible/wiki/Options",target:"_blank",rel:"noopener noreferrer"},[e("the "),l("code",null,"rate-limiter-flexible"),e(" options")]),e(".")])],-1),oe=l("h3",{id:"example%3A-basic"},[e("Example: Basic "),l("a",{class:"header-anchor",href:"#example%3A-basic"},"#")],-1),ue=l("pre",null,[l("code",null,`// 10 requests per 5 seconds
80
+
81
+ RATE_LIMITER_POINTS="10"
82
+ RATE_LIMITER_DURATION="5"
83
+ `)],-1),se=l("h3",{id:"example%3A-redis"},[e("Example: Redis "),l("a",{class:"header-anchor",href:"#example%3A-redis"},"#")],-1),ae=l("pre",null,[l("code",null,`RATE_LIMITER_ENABLED="true"
84
+
85
+ RATE_LIMITER_POINTS="10"
86
+ RATE_LIMITER_DURATION="5"
87
+
88
+ RATE_LIMITER_STORE="redis"
89
+
90
+ RATE_LIMITER_REDIS="redis://@127.0.0.1"
91
+ `)],-1),re=l("h2",{id:"cache"},[e("Cache "),l("a",{class:"header-anchor",href:"#cache"},"#")],-1),de=l("p",null,"Directus has a built-in data-caching option. Enabling this will cache the output of requests (based on the current user and exact query parameters used) into configured cache storage location. This drastically improves API performance, as subsequent requests are served straight from this cache. Enabling cache will also make Directus return accurate cache-control headers. Depending on your setup, this will further improve performance by caching the request in middleman servers (like CDNs) and even the browser.",-1),ie=l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"Assets Cache"),l("p",null,[l("code",null,"Cache-Control"),e(" and "),l("code",null,"Last-Modified"),e(" headers for the "),l("code",null,"/assets"),e(" endpoint are separate from the regular data-cache. "),l("code",null,"Last-Modified"),e(" comes from "),l("code",null,"modified_on"),e(" DB field. This is useful as it\u2019s often possible to cache assets for far longer than you would cache database content. "),l("a",{href:"#assets"},"Learn More")])],-1),ce=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"CACHE_ENABLED")]),l("td",null,"Whether or not caching is enabled."),l("td",null,[l("code",null,"false")])]),l("tr",null,[l("td",null,[l("code",null,"CACHE_TTL"),l("sup",null,"[1]")]),l("td",null,"How long the cache is persisted."),l("td",null,[l("code",null,"5m")])]),l("tr",null,[l("td",null,[l("code",null,"CACHE_CONTROL_S_MAXAGE")]),l("td",null,[e("Whether to not to add the "),l("code",null,"s-maxage"),e(" expiration flag. Set to a number for a custom value")]),l("td",null,[l("code",null,"0")])]),l("tr",null,[l("td",null,[l("code",null,"CACHE_AUTO_PURGE"),l("sup",null,"[2]")]),l("td",null,[e("Automatically purge the cache on "),l("code",null,"create"),e(", "),l("code",null,"update"),e(", and "),l("code",null,"delete"),e(" actions.")]),l("td",null,[l("code",null,"false")])]),l("tr",null,[l("td",null,[l("code",null,"CACHE_SYSTEM_TTL"),l("sup",null,"[3]")]),l("td",null,"How long the schema caches (schema/permissions) are persisted."),l("td",null,[l("code",null,"10m")])]),l("tr",null,[l("td",null,[l("code",null,"CACHE_SCHEMA"),l("sup",null,"[3]")]),l("td",null,[e("Whether or not the database schema is cached. One of "),l("code",null,"false"),e(", "),l("code",null,"true")]),l("td",null,[l("code",null,"true")])]),l("tr",null,[l("td",null,[l("code",null,"CACHE_PERMISSIONS"),l("sup",null,"[3]")]),l("td",null,[e("Whether or not the user permissions are cached. One of "),l("code",null,"false"),e(", "),l("code",null,"true")]),l("td",null,[l("code",null,"true")])]),l("tr",null,[l("td",null,[l("code",null,"CACHE_NAMESPACE")]),l("td",null,"How to scope the cache data."),l("td",null,[l("code",null,"directus-cache")])]),l("tr",null,[l("td",null,[l("code",null,"CACHE_STORE"),l("sup",null,"[4]")]),l("td",null,[e("Where to store the cache data. Either "),l("code",null,"memory"),e(", "),l("code",null,"redis"),e(", or "),l("code",null,"memcache"),e(".")]),l("td",null,[l("code",null,"memory")])]),l("tr",null,[l("td",null,[l("code",null,"CACHE_STATUS_HEADER")]),l("td",null,[e("If set, returns the cache status in the configured header. One of "),l("code",null,"HIT"),e(", "),l("code",null,"MISS"),e(".")]),l("td",null,"\u2013")])])],-1),he=l("p",null,[l("sup",null,"[1]"),e(),l("code",null,"CACHE_TTL"),e(" Based on your project\u2019s needs, you might be able to aggressively cache your data, only requiring new data to be fetched every hour or so. This allows you to squeeze the most performance out of your Directus instance. This can be incredibly useful for applications where you have a lot of (public) read-access and where updates aren\u2019t real-time (for example a website). "),l("code",null,"CACHE_TTL"),e(" uses "),l("a",{href:"https://www.npmjs.com/package/ms",target:"_blank",rel:"noopener noreferrer"},[l("code",null,"ms")]),e(" to parse the value, so you configure it using human readable values (like "),l("code",null,"2 days"),e(", "),l("code",null,"7 hrs"),e(", "),l("code",null,"5m"),e(").")],-1),_e=l("p",null,[l("sup",null,"[2]"),e(),l("code",null,"CACHE_AUTO_PURGE"),e(" allows you to keep the Directus API real-time, while still getting the performance benefits on quick subsequent reads.")],-1),pe=l("p",null,[l("sup",null,"[3]"),e(" Not affected by the "),l("code",null,"CACHE_ENABLED"),e(" value.")],-1),fe=l("p",null,[l("sup",null,"[4]"),e(),l("code",null,"CACHE_STORE"),e(" For larger projects, you most likely don\u2019t want to rely on local memory for caching. Instead, you can use the above "),l("code",null,"CACHE_STORE"),e(" environment variable to use either "),l("code",null,"memcache"),e(" or "),l("code",null,"redis"),e(" as the cache store. Based on the chosen "),l("code",null,"CACHE_STORE"),e(", you must also provide the following configurations:")],-1),me=l("h3",{id:"memory-2"},[e("Memory "),l("a",{class:"header-anchor",href:"#memory-2"},"#")],-1),Ee=l("p",null,"No additional configuration required.",-1),ge=l("h3",{id:"redis-2"},[e("Redis "),l("a",{class:"header-anchor",href:"#redis-2"},"#")],-1),Ae=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"CACHE_REDIS")]),l("td",null,[e("Redis connection string, eg: "),l("code",null,"redis://:authpassword@127.0.0.1:6380/4")]),l("td",null,"\u2014")])])],-1),Te=l("p",null,"Alternatively, you can provide the individual connection parameters:",-1),Re=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"CACHE_REDIS_HOST")]),l("td",null,"Hostname of the Redis instance"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"CACHE_REDIS_PORT")]),l("td",null,"Port of the Redis instance"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"CACHE_REDIS_PASSWORD")]),l("td",null,"Password for your Redis instance"),l("td",null,"\u2013")])])],-1),be=l("h3",{id:"memcache-2"},[e("Memcache "),l("a",{class:"header-anchor",href:"#memcache-2"},"#")],-1),Oe=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"CACHE_MEMCACHE")]),l("td",null,[e("Location of your memcache instance. You can use "),l("a",{href:"#environment-syntax-prefix"},[l("code",null,"array:"),e(" syntax")]),e(", eg: "),l("code",null,"array:<instance-1>,<instance-2>"),e(" for multiple memcache instances.")]),l("td",null,"\u2014")])])],-1),Se=l("h2",{id:"file-storage"},[e("File Storage "),l("a",{class:"header-anchor",href:"#file-storage"},"#")],-1),Ie=l("p",null,[e("By default, Directus stores all uploaded files locally on disk. However, you can also configure Directus to use S3, Google Cloud Storage, or Azure. You can also configure "),l("em",null,"multiple"),e(" storage adapters at the same time. This allows you to choose where files are being uploaded on a file-by-file basis. In the Admin App, files will automatically be uploaded to the first configured storage location (in this case "),l("code",null,"local"),e("). The used storage location is saved under "),l("code",null,"storage"),e(" in "),l("code",null,"directus_files"),e(".")],-1),ye=l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"File Storage Default"),l("p",null,"If you don\u2019t provide any configuration for storage adapters, this default will be used:"),l("pre",null,[l("code",null,`STORAGE_LOCATIONS="local"
92
+ STORAGE_LOCAL_ROOT="./uploads"
93
+ `)])],-1),De=l("div",{class:"warning hint"},[l("div",{class:"hint-title"},"Case sensitivity"),l("p",null,"The location value(s) you specify should be capitalized when specifying the additional configuration values. For example, this will not work:"),l("pre",null,[l("code",null,`STORAGE_LOCATIONS="s3"
94
+ STORAGE_s3_DRIVER="s3" # Will not work, lowercase "s3" \u274C
95
+ `)]),l("p",null,"but this will work:"),l("pre",null,[l("code",null,`STORAGE_LOCATIONS="s3"
96
+ STORAGE_S3_DRIVER="s3" # Will work, "s3" is uppercased \u2705
97
+ `)])],-1),Ce=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"STORAGE_LOCATIONS")]),l("td",null,[e("A CSV of storage locations (eg: "),l("code",null,"local,digitalocean,amazon"),e(") to use. You can use any names you\u2019d like for these keys.")]),l("td",null,[l("code",null,"local")])])])],-1),ve=l("p",null,"For each of the storage locations listed, you must provide the following configuration:",-1),Le=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_DRIVER")]),l("td",null,[e("Which driver to use, either "),l("code",null,"local"),e(", "),l("code",null,"s3"),e(", "),l("code",null,"gcs"),e(", "),l("code",null,"azure")]),l("td")]),l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_ROOT")]),l("td",null,"Where to store the files on disk"),l("td",null,[l("code",null,"''")])])])],-1),we=l("p",null,"Based on your configured driver, you must also provide the following configurations:",-1),Ue=l("h3",{id:"local-(local)"},[e("Local ("),l("code",null,"local"),e(") "),l("a",{class:"header-anchor",href:"#local-(local)"},"#")],-1),Pe=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_ROOT")]),l("td",null,"Where to store the files on disk"),l("td",null,"\u2013")])])],-1),Ne=l("h3",{id:"s3-(s3)"},[e("S3 ("),l("code",null,"s3"),e(") "),l("a",{class:"header-anchor",href:"#s3-(s3)"},"#")],-1),He=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_KEY")]),l("td",null,"User key"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_SECRET")]),l("td",null,"User secret"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_BUCKET")]),l("td",null,"S3 Bucket"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_REGION")]),l("td",null,"S3 Region"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_ENDPOINT")]),l("td",null,"S3 Endpoint"),l("td",null,[l("code",null,"s3.amazonaws.com")])]),l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_ACL")]),l("td",null,"S3 ACL"),l("td",null,"\u2013")])])],-1),Ve=l("h3",{id:"azure-(azure)"},[e("Azure ("),l("code",null,"azure"),e(") "),l("a",{class:"header-anchor",href:"#azure-(azure)"},"#")],-1),Me=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_CONTAINER_NAME")]),l("td",null,"Azure Storage container"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_ACCOUNT_NAME")]),l("td",null,"Azure Storage account name"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_ACCOUNT_KEY")]),l("td",null,"Azure Storage key"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_ENDPOINT")]),l("td",null,"Azure URL"),l("td",null,[l("code",null,"https://{ACCOUNT_KEY}.blob.core.windows.net")])])])],-1),xe=l("h3",{id:"google-cloud-storage-(gcs)"},[e("Google Cloud Storage ("),l("code",null,"gcs"),e(") "),l("a",{class:"header-anchor",href:"#google-cloud-storage-(gcs)"},"#")],-1),je=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_KEY_FILENAME")]),l("td",null,"Path to key file on disk"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"STORAGE_<LOCATION>_BUCKET")]),l("td",null,"Google Cloud Storage bucket"),l("td",null,"\u2013")])])],-1),ke=l("h3",{id:"example%3A-multiple-storage-adapters"},[e("Example: Multiple Storage Adapters "),l("a",{class:"header-anchor",href:"#example%3A-multiple-storage-adapters"},"#")],-1),Be=l("p",null,"Below showcases a CSV of storage location names, with a config block for each:",-1),Ge=l("pre",null,[l("code",null,`STORAGE_LOCATIONS="local,aws"
98
+
99
+ STORAGE_LOCAL_DRIVER="local"
100
+ STORAGE_LOCAL_ROOT="local"
101
+
102
+ STORAGE_AWS_KEY="tp15c...510vk"
103
+ STORAGE_AWS_SECRET="yk29b...b932n"
104
+ STORAGE_AWS_REGION="us-east-2"
105
+ STORAGE_AWS_BUCKET="my-files"
106
+ `)],-1),Fe=l("h3",{id:"metadata"},[e("Metadata "),l("a",{class:"header-anchor",href:"#metadata"},"#")],-1),We=l("p",null,[e("When uploading an image, Directus persists the "),l("em",null,"description, title, and tags"),e(" from available EXIF metadata. For security purposes, collection of additional metadata must be configured:")],-1),qe=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"FILE_METADATA_ALLOW_LIST")]),l("td",null,[e("A comma-separated list of metadata keys to collect during file upload. Use "),l("code",null,"*"),e(" for all"),l("sup",null,"[1]"),e(".")]),l("td",null,"ifd0.Make,ifd0.Model,exif.FNumber,exif.ExposureTime,exif.FocalLength,exif.ISO")])])],-1),Ye=l("p",null,[l("sup",null,"[1]"),e(": Extracting all metadata might cause memory issues when the file has an unusually large set of metadata")],-1),Ke=l("h2",{id:"assets"},[e("Assets "),l("a",{class:"header-anchor",href:"#assets"},"#")],-1),ze=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"ASSETS_CACHE_TTL")]),l("td",null,[e("How long assets will be cached for in the browser. Sets the "),l("code",null,"max-age"),e(" value of the "),l("code",null,"Cache-Control"),e(" header.")]),l("td",null,[l("code",null,"30m")])]),l("tr",null,[l("td",null,[l("code",null,"ASSETS_TRANSFORM_MAX_CONCURRENT")]),l("td",null,"How many file transformations can be done simultaneously"),l("td",null,[l("code",null,"4")])]),l("tr",null,[l("td",null,[l("code",null,"ASSETS_TRANSFORM_IMAGE_MAX_DIMENSION")]),l("td",null,"The max pixel dimensions size (width/height) that is allowed to be transformed"),l("td",null,[l("code",null,"6000")])]),l("tr",null,[l("td",null,[l("code",null,"ASSETS_TRANSFORM_MAX_OPERATIONS")]),l("td",null,"The max number of transform operations that is allowed to be processed (excludes saved presets)"),l("td",null,[l("code",null,"5")])]),l("tr",null,[l("td",null,[l("code",null,"ASSETS_CONTENT_SECURITY_POLICY")]),l("td",null,[e("Custom overrides for the Content-Security-Policy header. See "),l("a",{href:"https://helmetjs.github.io",target:"_blank",rel:"noopener noreferrer"},"helmet\u2019s documentation"),e(" for more information.")]),l("td",null,"\u2013")])])],-1),Xe=l("p",null,"Image transformations can be fairly heavy on memory usage. If you\u2019re using a system with 1GB or less available memory, we recommend lowering the allowed concurrent transformations to prevent you from overflowing your server.",-1),Je=l("h2",{id:"authentication"},[e("Authentication "),l("a",{class:"header-anchor",href:"#authentication"},"#")],-1),Ze=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"AUTH_PROVIDERS")]),l("td",null,"A comma-separated list of auth providers."),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"AUTH_DISABLE_DEFAULT")]),l("td",null,"Disable the default auth provider"),l("td",null,[l("code",null,"false")])])])],-1),Qe=l("p",null,"For each auth provider you list, you must also provide the following configuration:",-1),$e=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_DRIVER")]),l("td",null,[e("Which driver to use, either "),l("code",null,"local"),e(", "),l("code",null,"oauth2"),e(", "),l("code",null,"openid"),e(", "),l("code",null,"ldap")]),l("td",null,"\u2013")])])],-1),ln=l("p",null,"You may also be required to specify additional variables depending on the auth driver. See configuration details below.",-1),en=l("div",{class:"warning hint"},[l("div",{class:"hint-title"},"Multiple Providers"),l("p",null,"Directus users can only authenticate using the auth provider they are created with. It is not possible to authenticate with multiple providers for the same user.")],-1),nn=l("h3",{id:"local-(local)-2"},[e("Local ("),l("code",null,"local"),e(") "),l("a",{class:"header-anchor",href:"#local-(local)-2"},"#")],-1),tn=l("p",null,"The default Directus email/password authentication flow.",-1),on=l("p",null,"No additional configuration required.",-1),un=l("h3",{id:"sso-(oauth2-and-openid)"},[e("SSO ("),l("code",null,"oauth2"),e(" and "),l("code",null,"openid"),e(") "),l("a",{class:"header-anchor",href:"#sso-(oauth2-and-openid)"},"#")],-1),sn=l("p",null,"Directus\u2019 SSO integrations provide powerful alternative ways to authenticate into your project. Directus will ask you to login on the external service, and return authenticated with a Directus account linked to that service.",-1),an=l("p",null,[e("For example, you can login to Directus using a github account by creating an "),l("a",{href:"https://github.com/settings/developers",target:"_blank",rel:"noopener noreferrer"},"OAuth 2.0 app in GitHub"),e(" and adding the following configuration to Directus:")],-1),rn=l("pre",null,[l("code",null,`AUTH_PROVIDERS="github"
107
+
108
+ AUTH_GITHUB_DRIVER="oauth2"
109
+ AUTH_GITHUB_CLIENT_ID="99d3...c3c4"
110
+ AUTH_GITHUB_CLIENT_SECRET="34ae...f963"
111
+ AUTH_GITHUB_AUTHORIZE_URL="https://github.com/login/oauth/authorize"
112
+ AUTH_GITHUB_ACCESS_URL="https://github.com/login/oauth/access_token"
113
+ AUTH_GITHUB_PROFILE_URL="https://api.github.com/user"
114
+ `)],-1),dn=e("More example SSO configurations "),cn=e("can be found here"),hn=e("."),_n=l("div",{class:"warning hint"},[l("div",{class:"hint-title"},"PUBLIC_URL"),l("p",null,[e("These flows rely on the "),l("code",null,"PUBLIC_URL"),e(" variable for redirecting. Ensure the variable is correctly configured.")])],-1),pn=l("h3",{id:"oauth-2.0"},[e("OAuth 2.0 "),l("a",{class:"header-anchor",href:"#oauth-2.0"},"#")],-1),fn=l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])],-1),mn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_ID")]),l("td",null,"Client identifier for the OAuth provider."),l("td",null,"\u2013")],-1),En=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_SECRET")]),l("td",null,"Client secret for the OAuth provider."),l("td",null,"\u2013")],-1),gn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_SCOPE")]),l("td",null,"A white-space separated list of permissions to request."),l("td",null,[l("code",null,"email")])],-1),An=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_AUTHORIZE_URL")]),l("td",null,"Authorization page URL of the OAuth provider."),l("td",null,"\u2013")],-1),Tn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_ACCESS_URL")]),l("td",null,"Access token URL of the OAuth provider."),l("td",null,"\u2013")],-1),Rn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_PROFILE_URL")]),l("td",null,"User profile URL of the OAuth provider."),l("td",null,"\u2013")],-1),bn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_IDENTIFIER_KEY")]),l("td",null,[e("User profile identifier key "),l("sup",null,"[1]"),e(". Will default to "),l("code",null,"EMAIL_KEY"),e(".")]),l("td",null,"\u2013")],-1),On=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_EMAIL_KEY")]),l("td",null,"User profile email key."),l("td",null,[l("code",null,"email")])],-1),Sn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_FIRST_NAME_KEY")]),l("td",null,"User profile first name key."),l("td",null,"\u2013")],-1),In=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_LAST_NAME_KEY")]),l("td",null,"User profile last name key."),l("td",null,"\u2013")],-1),yn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_ALLOW_PUBLIC_REGISTRATION")]),l("td",null,"Automatically create accounts for authenticating users."),l("td",null,[l("code",null,"false")])],-1),Dn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_DEFAULT_ROLE_ID")]),l("td",null,"A Directus role ID to assign created users."),l("td",null,"\u2013")],-1),Cn=l("td",null,[l("code",null,"AUTH_<PROVIDER>_ICON")],-1),vn=e("SVG icon to display with the login link. "),Ln=e("See options here"),wn=e("."),Un=l("td",null,[l("code",null,"account_circle")],-1),Pn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_PARAMS")]),l("td",null,"Custom query parameters applied to the authorization URL."),l("td",null,"\u2013")],-1),Nn=l("p",null,[l("sup",null,"[1]"),e(" When authenticating, Directus will match the identifier value from the external user profile to a Directus users \u201CExternal Identifier\u201D.")],-1),Hn=l("h3",{id:"openid"},[e("OpenID "),l("a",{class:"header-anchor",href:"#openid"},"#")],-1),Vn=l("p",null,"OpenID is an authentication protocol built on OAuth 2.0, and should be preferred over standard OAuth 2.0 where possible.",-1),Mn=l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])],-1),xn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_ID")]),l("td",null,"Client identifier for the external service."),l("td",null,"\u2013")],-1),jn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_SECRET")]),l("td",null,"Client secret for the external service."),l("td",null,"\u2013")],-1),kn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_SCOPE")]),l("td",null,"A white-space separated list of permissions to request."),l("td",null,[l("code",null,"openid profile email")])],-1),Bn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_ISSUER_URL")]),l("td",null,[e("OpenID "),l("code",null,".well-known"),e(" discovery document URL of the external service.")]),l("td",null,"\u2013")],-1),Gn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_IDENTIFIER_KEY")]),l("td",null,[e("User profile identifier key "),l("sup",null,"[1]"),e(".")]),l("td",null,[l("code",null,"sub"),l("sup",null,"[2]")])],-1),Fn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_ALLOW_PUBLIC_REGISTRATION")]),l("td",null,"Automatically create accounts for authenticating users."),l("td",null,[l("code",null,"false")])],-1),Wn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_REQUIRE_VERIFIED_EMAIL")]),l("td",null,"Require created users to have a verified email address."),l("td",null,[l("code",null,"false")])],-1),qn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_DEFAULT_ROLE_ID")]),l("td",null,"A Directus role ID to assign created users."),l("td",null,"\u2013")],-1),Yn=l("td",null,[l("code",null,"AUTH_<PROVIDER>_ICON")],-1),Kn=e("SVG icon to display with the login link. "),zn=e("See options here"),Xn=e("."),Jn=l("td",null,[l("code",null,"account_circle")],-1),Zn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_PARAMS")]),l("td",null,"Custom query parameters applied to the authorization URL."),l("td",null,"\u2013")],-1),Qn=l("p",null,[l("sup",null,"[1]"),e(" When authenticating, Directus will match the identifier value from the external user profile to a Directus users \u201CExternal Identifier\u201D.")],-1),$n=l("p",null,[l("sup",null,"[2]"),e(),l("code",null,"sub"),e(" represents a unique user identifier defined by the OpenID provider. For users not relying on "),l("code",null,"PUBLIC_REGISTRATION"),e(" it is recommended to use a human-readable identifier, such as "),l("code",null,"email"),e(".")],-1),lt=l("h3",{id:"ldap-(ldap)"},[e("LDAP ("),l("code",null,"ldap"),e(") "),l("a",{class:"header-anchor",href:"#ldap-(ldap)"},"#")],-1),et=l("p",null,"LDAP allows Active Directory users to authenticate and use Directus without having to be manually configured. User information and roles will be assigned from Active Directory.",-1),nt=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_URL")]),l("td",null,"LDAP connection URL."),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_BIND_DN")]),l("td",null,[e("Bind user "),l("sup",null,"[1]"),e(" distinguished name.")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_BIND_PASSWORD")]),l("td",null,"Bind user password."),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_USER_DN")]),l("td",null,"Directory path containing users."),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_USER_ATTRIBUTE")]),l("td",null,"Attribute to identify the user."),l("td",null,[l("code",null,"cn")])]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_USER_SCOPE")]),l("td",null,[e("Scope of the user search, either "),l("code",null,"base"),e(", "),l("code",null,"one"),e(", "),l("code",null,"sub"),e(),l("sup",null,"[2]"),e(".")]),l("td",null,[l("code",null,"one")])]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_MAIL_ATTRIBUTE")]),l("td",null,"User email attribute."),l("td",null,[l("code",null,"mail")])]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_FIRST_NAME_ATTRIBUTE")]),l("td",null,"User first name attribute."),l("td",null,[l("code",null,"givenName")])]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_LAST_NAME_ATTRIBUTE")]),l("td",null,"User last name attribute."),l("td",null,[l("code",null,"sn")])]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_GROUP_DN"),l("sup",null,"[3]")]),l("td",null,"Directory path containing groups."),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_GROUP_ATTRIBUTE")]),l("td",null,"Attribute to identify user as a member of a group."),l("td",null,[l("code",null,"member")])]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_GROUP_SCOPE")]),l("td",null,[e("Scope of the group search, either "),l("code",null,"base"),e(", "),l("code",null,"one"),e(", "),l("code",null,"sub"),e(),l("sup",null,"[2]"),e(".")]),l("td",null,[l("code",null,"one")])]),l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_DEFAULT_ROLE_ID")]),l("td",null,[e("A Directus role ID to assign created users when "),l("code",null,"GROUP_DN"),e(" isn\u2019t configured.")]),l("td",null,"\u2013")])])],-1),tt=l("p",null,[l("sup",null,"[1]"),e(" The bind user must have permission to query users and groups to perform authentication. Anonymous binding can by achieved by setting an empty value for "),l("code",null,"BIND_DN"),e(" and "),l("code",null,"BIND_PASSWORD"),e(".")],-1),ot=l("p",null,[l("sup",null,"[2]"),e(" The scope defines the following behaviors:")],-1),ut=l("ul",null,[l("li",null,[l("code",null,"base"),e(": Limits the scope to a single object defined by the associated DN.")]),l("li",null,[l("code",null,"one"),e(": Searches all objects within the associated DN.")]),l("li",null,[l("code",null,"sub"),e(": Searches all objects and sub-objects within the associated DN.")])],-1),st=l("p",null,[l("sup",null,"[3]"),e(" If a "),l("code",null,"GROUP_DN"),e(" is specified, the user\u2019s role will always be updated on authentication to what\u2019s configured in AD.")],-1),at=l("h3",{id:"example%3A-ldap"},[e("Example: LDAP "),l("a",{class:"header-anchor",href:"#example%3A-ldap"},"#")],-1),rt=l("pre",null,[l("code",null,`AUTH_PROVIDERS="ldap"
115
+
116
+ AUTH_LDAP_DRIVER="ldap"
117
+ AUTH_LDAP_CLIENT_URL="ldap://ldap.directus.io"
118
+ AUTH_LDAP_BIND_DN="CN=Bind User,OU=Users,DC=ldap,DC=directus,DC=io"
119
+ AUTH_LDAP_BIND_PASSWORD="p455w0rd"
120
+ AUTH_LDAP_USER_DN="OU=Users,DC=ldap,DC=directus,DC=io"
121
+ AUTH_LDAP_GROUP_DN="OU=Groups,DC=ldap,DC=directus,DC=io"
122
+ `)],-1),dt=l("h3",{id:"example%3A-multiple-auth-providers"},[e("Example: Multiple Auth Providers "),l("a",{class:"header-anchor",href:"#example%3A-multiple-auth-providers"},"#")],-1),it=l("p",null,"You can configure multiple providers for handling authentication in Directus. This allows for different options when logging in. To do this, provide a comma-separated list of provider names, and a config block for each provider:",-1),ct=l("pre",null,[l("code",null,`AUTH_PROVIDERS="google,facebook"
123
+
124
+ AUTH_GOOGLE_DRIVER="openid"
125
+ AUTH_GOOGLE_CLIENT_ID="830d...29sd"
126
+ AUTH_GOOGLE_CLIENT_SECRET="la23...4k2l"
127
+ AUTH_GOOGLE_ISSUER_URL="https://accounts.google.com/.well-known/openid-configuration"
128
+ AUTH_GOOGLE_IDENTIFIER_KEY="email"
129
+ AUTH_GOOGLE_ICON="google"
130
+
131
+ AUTH_FACEBOOK_DRIVER="oauth2"
132
+ AUTH_FACEBOOK_CLIENT_ID="830d...29sd"
133
+ AUTH_FACEBOOK_CLIENT_SECRET="jd8x...685z"
134
+ AUTH_FACEBOOK_AUTHORIZE_URL="https://www.facebook.com/dialog/oauth"
135
+ AUTH_FACEBOOK_ACCESS_URL="https://graph.facebook.com/oauth/access_token"
136
+ AUTH_FACEBOOK_PROFILE_URL="https://graph.facebook.com/me?fields=email"
137
+ AUTH_FACEBOOK_ICON="facebook"
138
+ `)],-1),ht=l("h2",{id:"extensions"},[e("Extensions "),l("a",{class:"header-anchor",href:"#extensions"},"#")],-1),_t=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"EXTENSIONS_PATH")]),l("td",null,"Path to your local extensions folder."),l("td",null,[l("code",null,"./extensions")])]),l("tr",null,[l("td",null,[l("code",null,"EXTENSIONS_AUTO_RELOAD")]),l("td",null,"Automatically reload extensions when they have changed."),l("td",null,[l("code",null,"false")])])])],-1),pt=l("h2",{id:"email"},[e("Email "),l("a",{class:"header-anchor",href:"#email"},"#")],-1),ft=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"EMAIL_FROM")]),l("td",null,"Email address from which emails are sent."),l("td",null,[l("code",null,"no-reply@directus.io")])]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_TRANSPORT")]),l("td",null,[e("What to use to send emails. One of "),l("code",null,"sendmail"),e(", "),l("code",null,"smtp"),e(", "),l("code",null,"mailgun"),e(", "),l("code",null,"ses"),e(".")]),l("td",null,[l("code",null,"sendmail")])])])],-1),mt=l("p",null,[e("Based on the "),l("code",null,"EMAIL_TRANSPORT"),e(" used, you must also provide the following configurations:")],-1),Et=l("h3",{id:"sendmail-(sendmail)"},[e("Sendmail ("),l("code",null,"sendmail"),e(") "),l("a",{class:"header-anchor",href:"#sendmail-(sendmail)"},"#")],-1),gt=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"EMAIL_SENDMAIL_NEW_LINE")]),l("td",null,"What new line style to use in sendmail."),l("td",null,[l("code",null,"unix")])]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_SENDMAIL_PATH")]),l("td",null,"Path to your sendmail executable."),l("td",null,[l("code",null,"/usr/sbin/sendmail")])])])],-1),At=l("h3",{id:"smtp-(smtp)"},[e("SMTP ("),l("code",null,"smtp"),e(") "),l("a",{class:"header-anchor",href:"#smtp-(smtp)"},"#")],-1),Tt=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"EMAIL_SMTP_HOST")]),l("td",null,"SMTP Host"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_SMTP_PORT")]),l("td",null,"SMTP Port"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_SMTP_USER")]),l("td",null,"SMTP User"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_SMTP_PASSWORD")]),l("td",null,"SMTP Password"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_SMTP_POOL")]),l("td",null,"Use SMTP pooling"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_SMTP_SECURE")]),l("td",null,"Enable TLS"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_SMTP_IGNORE_TLS")]),l("td",null,"Ignore TLS"),l("td",null,"\u2013")])])],-1),Rt=l("h3",{id:"mailgun-(mailgun)"},[e("Mailgun ("),l("code",null,"mailgun"),e(") "),l("a",{class:"header-anchor",href:"#mailgun-(mailgun)"},"#")],-1),bt=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"EMAIL_MAILGUN_API_KEY")]),l("td",null,"Your Mailgun API key."),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_MAILGUN_DOMAIN")]),l("td",null,[e("A domain from "),l("a",{href:"https://app.mailgun.com/app/sending/domains",target:"_blank",rel:"noopener noreferrer"},"your Mailgun account")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_MAILGUN_HOST")]),l("td",null,"Allows you to specify a custom host."),l("td",null,[l("code",null,"api.mailgun.net")])])])],-1),Ot=l("h3",{id:"aws-ses-(ses)"},[e("AWS SES ("),l("code",null,"ses"),e(") "),l("a",{class:"header-anchor",href:"#aws-ses-(ses)"},"#")],-1),St=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"EMAIL_SES_CREDENTIALS__ACCESS_KEY_ID")]),l("td",null,"Your AWS SES access key. ID."),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_SES_CREDENTIALS__SECRET_ACCESS_KEY")]),l("td",null,"Your AWS SES secret key."),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"EMAIL_SES_REGION")]),l("td",null,"Your AWS SES region."),l("td",null,"\u2013")])])],-1),It=l("h2",{id:"admin-account"},[e("Admin Account "),l("a",{class:"header-anchor",href:"#admin-account"},"#")],-1),yt=l("p",null,[e("If you\u2019re relying on Docker and/or the "),l("code",null,"directus bootstrap"),e(" CLI command, you can pass the following two environment variables to automatically configure the first user:")],-1),Dt=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"ADMIN_EMAIL")]),l("td",null,[e("The email address of the first user that\u2019s automatically created when using "),l("code",null,"directus bootstrap"),e(".")]),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"ADMIN_PASSWORD")]),l("td",null,[e("The password of the first user that\u2019s automatically created when using "),l("code",null,"directus bootstrap"),e(".")]),l("td",null,"\u2013")])])],-1),Ct=l("h2",{id:"telemetry"},[e("Telemetry "),l("a",{class:"header-anchor",href:"#telemetry"},"#")],-1),vt=l("p",null,"To more accurately gauge the frequency of installation, version fragmentation, and general size of the userbase, Directus collects little and anonymized data about your environment. You can easily opt-out with the following environment variable:",-1),Lt=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"TELEMETRY")]),l("td",null,"Allow Directus to collect anonymized data about your environment."),l("td",null,[l("code",null,"true")])])])],-1),wt=l("h2",{id:"limits-%26-optimizations"},[e("Limits & Optimizations "),l("a",{class:"header-anchor",href:"#limits-%26-optimizations"},"#")],-1),Ut=l("p",null,"Allows you to configure hard technical limits, to prevent abuse and optimize for your particular server environment.",-1),Pt=l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"RELATIONAL_BATCH_SIZE")]),l("td",null,"How many rows are read into memory at a time when constructing nested relational datasets"),l("td",null,"25000")]),l("tr",null,[l("td",null,[l("code",null,"EXPORT_BATCH_SIZE")]),l("td",null,"How many rows are read into memory at a time when constructing exports"),l("td",null,"5000")])])],-1),xt={setup(Nt,{expose:a}){const u={title:"Configuration Options",modularExtension:!1};return a({frontmatter:u}),(Ht,Vt)=>{const t=s("router-link"),r=s("DocsWrapper");return d(),i(r,{frontmatter:u},{default:n(()=>[l("div",c,[h,_,p,f,m,E,g,A,T,R,b,O,S,I,y,D,C,v,L,w,U,P,N,H,V,M,x,j,k,B,G,F,W,q,Y,K,z,X,J,Z,Q,$,ll,el,nl,tl,ol,l("table",null,[ul,l("tbody",null,[sl,al,rl,dl,il,cl,hl,_l,l("tr",null,[pl,l("td",null,[fl,o(t,{to:"/docs/reference/authentication/#request-password-reset"},{default:n(()=>[ml,El,gl]),_:1})]),Al]),l("tr",null,[Tl,l("td",null,[Rl,o(t,{to:"/docs/reference/system/users/#invite-a-new-user"},{default:n(()=>[bl,Ol,Sl]),_:1})]),Il]),yl,Dl,Cl,vl,Ll,wl,Ul])]),Pl,Nl,Hl,l("p",null,[Vl,Ml,xl,o(t,{to:"/docs/reference/system/utilities/#generate-a-hash"},{default:n(()=>[jl]),_:1}),kl]),Bl,Gl,Fl,Wl,ql,Yl,Kl,zl,Xl,Jl,Zl,Ql,$l,le,ee,ne,te,oe,ue,se,ae,re,de,ie,ce,he,_e,pe,fe,me,Ee,ge,Ae,Te,Re,be,Oe,Se,Ie,ye,De,Ce,ve,Le,we,Ue,Pe,Ne,He,Ve,Me,xe,je,ke,Be,Ge,Fe,We,qe,Ye,Ke,ze,Xe,Je,Ze,Qe,$e,ln,en,nn,tn,on,un,sn,an,rn,l("p",null,[dn,o(t,{to:"/docs/configuration/sso-examples/"},{default:n(()=>[cn]),_:1}),hn]),_n,pn,l("table",null,[fn,l("tbody",null,[mn,En,gn,An,Tn,Rn,bn,On,Sn,In,yn,Dn,l("tr",null,[Cn,l("td",null,[vn,o(t,{to:"/docs/getting-started/glossary/#icons"},{default:n(()=>[Ln]),_:1}),wn]),Un]),Pn])]),Nn,Hn,Vn,l("table",null,[Mn,l("tbody",null,[xn,jn,kn,Bn,Gn,Fn,Wn,qn,l("tr",null,[Yn,l("td",null,[Kn,o(t,{to:"/docs/getting-started/glossary/#icons"},{default:n(()=>[zn]),_:1}),Xn]),Jn]),Zn])]),Qn,$n,lt,et,nt,tt,ot,ut,st,at,rt,dt,it,ct,ht,_t,pt,ft,mt,Et,gt,At,Tt,Rt,bt,Ot,St,It,yt,Dt,Ct,vt,Lt,wt,Ut,Pt])]),_:1})}}};export{xt as default};