@directus/app 9.7.1 → 9.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/dist/assets/@directus_extensions-sdk.6a88b0f4.entry.js +1 -0
  2. package/dist/assets/{active-line.6375d8ad.js → active-line.abea5a9c.js} +1 -1
  3. package/dist/assets/{activity-log.de8d5bc0.js → activity-log.4e41ba72.js} +1 -1
  4. package/dist/assets/{activity.3a289d00.js → activity.be984fb6.js} +2 -2
  5. package/dist/assets/{apl.1708cb28.js → apl.a00caba3.js} +1 -1
  6. package/dist/assets/ar-SA.48a35bb7.js +1 -0
  7. package/dist/assets/{asciiarmor.e2285682.js → asciiarmor.0aa51f1f.js} +1 -1
  8. package/dist/assets/{asn.1.fe12a5dc.js → asn.1.9704888b.js} +1 -1
  9. package/dist/assets/{asterisk.44d442de.js → asterisk.600840fc.js} +1 -1
  10. package/dist/assets/{authentication.fa5f5fbf.js → authentication.a92d9423.js} +5 -5
  11. package/dist/assets/{autorefresh.f0e90988.js → autorefresh.1e21c42b.js} +1 -1
  12. package/dist/assets/{aws.2ea60aef.js → aws.e45226e2.js} +1 -1
  13. package/dist/assets/{backing-directus.d243249f.js → backing-directus.49225ce6.js} +1 -1
  14. package/dist/assets/bg-BG.b5eb28ac.js +2 -0
  15. package/dist/assets/br-FR.986ec639.js +1 -0
  16. package/dist/assets/{brainfuck.ad35519f.js → brainfuck.1e4b4eb1.js} +1 -1
  17. package/dist/assets/ca-ES.56d2029e.js +1 -0
  18. package/dist/assets/{cli.762d4191.js → cli.05ed41b2.js} +5 -5
  19. package/dist/assets/{cli.363cb692.js → cli.e26acb28.js} +3 -3
  20. package/dist/assets/{clike.5b5b5e72.js → clike.dc304041.js} +1 -1
  21. package/dist/assets/{clojure.252cb52a.js → clojure.f8e8933d.js} +1 -1
  22. package/dist/assets/{cloudron.fb83901b.js → cloudron.7a7c23f9.js} +1 -1
  23. package/dist/assets/{cmake.ec70f2a6.js → cmake.65af898d.js} +1 -1
  24. package/dist/assets/{cobol.4ab4edec.js → cobol.ad22984c.js} +1 -1
  25. package/dist/assets/{codebase-overview.58ee046d.js → codebase-overview.87d26c65.js} +1 -1
  26. package/dist/assets/{coffeescript.e9fb6ceb.js → coffeescript.afc1aad8.js} +1 -1
  27. package/dist/assets/{collections.bc720d33.js → collections.44c6300b.js} +4 -4
  28. package/dist/assets/{commonlisp.fb62c5ad.js → commonlisp.76fd7a26.js} +1 -1
  29. package/dist/assets/{config-options.1dc0d5ed.js → config-options.7f7ccdfb.js} +12 -12
  30. package/dist/assets/{content-collections.84a369f0.js → content-collections.c9c672d0.js} +1 -1
  31. package/dist/assets/{content-items.284eff30.js → content-items.4b31c7b8.js} +1 -1
  32. package/dist/assets/{content.8f45d29b.js → content.a121c4e2.js} +1 -1
  33. package/dist/assets/{creating-extensions.f95a89af.js → creating-extensions.84f93517.js} +4 -4
  34. package/dist/assets/{crystal.c3fd0f99.js → crystal.aa9896b4.js} +1 -1
  35. package/dist/assets/cs-CZ.21eb314a.js +1 -0
  36. package/dist/assets/{css.bce2e857.js → css.7bfded2c.js} +1 -1
  37. package/dist/assets/{cypher.240e0449.js → cypher.83f1f068.js} +1 -1
  38. package/dist/assets/{d.3b7d124d.js → d.ec3a4bfa.js} +1 -1
  39. package/dist/assets/da-DK.e857b021.js +1 -0
  40. package/dist/assets/{dart.87d21eb3.js → dart.3ebe28fd.js} +1 -1
  41. package/dist/assets/{data-model.c1aabf84.js → data-model.eed0cfd7.js} +1 -1
  42. package/dist/assets/de-DE.ec2886ab.js +1 -0
  43. package/dist/assets/{diff.0485c08c.js → diff.6609b473.js} +1 -1
  44. package/dist/assets/{digitalocean-app-platform.2a64aa2b.js → digitalocean-app-platform.657cbe04.js} +2 -2
  45. package/dist/assets/{displays.b69d4a64.js → displays.363da4e2.js} +4 -4
  46. package/dist/assets/{django.c5439874.js → django.87c18b51.js} +1 -1
  47. package/dist/assets/{docker.10363ed7.js → docker.4f8ae677.js} +1 -1
  48. package/dist/assets/{dockerfile.09928133.js → dockerfile.f24a5abb.js} +1 -1
  49. package/dist/assets/{documentation.03c2bbdf.js → documentation.8a170431.js} +1 -1
  50. package/dist/assets/{dtd.2cbc993e.js → dtd.fdaf06e1.js} +1 -1
  51. package/dist/assets/{dylan.1c4709a8.js → dylan.efa621ed.js} +1 -1
  52. package/dist/assets/{ebnf.4eace14d.js → ebnf.758e105f.js} +1 -1
  53. package/dist/assets/{ecl.86ab1d92.js → ecl.ee402f8b.js} +1 -1
  54. package/dist/assets/{eiffel.d65fb100.js → eiffel.6fdb661b.js} +1 -1
  55. package/dist/assets/el-GR.b15e80c2.js +1 -0
  56. package/dist/assets/{elm.ba340dcd.js → elm.19d667b0.js} +1 -1
  57. package/dist/assets/{email-templates.5d338a5d.js → email-templates.4e6edece.js} +2 -2
  58. package/dist/assets/en-CA.e43c4502.js +1 -0
  59. package/dist/assets/en-GB.0ad6cc93.js +1 -0
  60. package/dist/assets/{endpoints.dc405b01.js → endpoints.9f52f90e.js} +2 -2
  61. package/dist/assets/{erlang.6d8de3ae.js → erlang.9de2b6a5.js} +1 -1
  62. package/dist/assets/es-419.e287f065.js +1 -0
  63. package/dist/assets/es-CL.0d49105b.js +1 -0
  64. package/dist/assets/es-ES.e38e7128.js +1 -0
  65. package/dist/assets/et-EE.98069bd5.js +3 -0
  66. package/dist/assets/{extensions.46c0c4d5.js → extensions.ef388d4c.js} +2 -2
  67. package/dist/assets/fa-IR.1fe08a4a.js +1 -0
  68. package/dist/assets/{factor.3a8a4e9e.js → factor.48b8a3ef.js} +1 -1
  69. package/dist/assets/{faq.f30d939a.js → faq.af3fc9a5.js} +1 -1
  70. package/dist/assets/{fcl.40019ca5.js → fcl.02ca64a1.js} +1 -1
  71. package/dist/assets/fi-FI.afa1b4dc.js +1 -0
  72. package/dist/assets/{fields.a57e7d83.js → fields.2664e4a3.js} +3 -3
  73. package/dist/assets/{file-library.bc27695e.js → file-library.fb43136a.js} +1 -1
  74. package/dist/assets/{files.7a74d1e5.js → files.743ea6fa.js} +9 -9
  75. package/dist/assets/{filter-rules.883e19c8.js → filter-rules.3c7bc379.js} +1 -1
  76. package/dist/assets/{filters.f6249cf7.js → filters.906d441f.js} +1 -1
  77. package/dist/assets/fo-FO.ffe478b0.js +1 -0
  78. package/dist/assets/{folders.de1fb384.js → folders.f4482879.js} +4 -4
  79. package/dist/assets/{forth.9eeae1ad.js → forth.e689b3eb.js} +1 -1
  80. package/dist/assets/{fortran.2f0c1e58.js → fortran.6a5fc001.js} +1 -1
  81. package/dist/assets/fr-CA.819e1769.js +1 -0
  82. package/dist/assets/fr-FR.e66806fc.js +1 -0
  83. package/dist/assets/{gas.c7c58752.js → gas.2daa1304.js} +1 -1
  84. package/dist/assets/{gcp.840b8fd1.js → gcp.7df0ea83.js} +3 -3
  85. package/dist/assets/{gfm.89f8b0da.js → gfm.f3e8b40f.js} +1 -1
  86. package/dist/assets/{gherkin.0a58b297.js → gherkin.b43a3252.js} +1 -1
  87. package/dist/assets/{github-ci.6ee6ced1.js → github-ci.5fbe15aa.js} +2 -2
  88. package/dist/assets/{glossary.351c390e.js → glossary.22a75054.js} +1 -1
  89. package/dist/assets/{go.cffa3b2e.js → go.63f87011.js} +1 -1
  90. package/dist/assets/{groovy.3cb854bc.js → groovy.16ddd911.js} +1 -1
  91. package/dist/assets/{haml.11c77bc4.js → haml.9443aeec.js} +1 -1
  92. package/dist/assets/{handlebars.9ae7286e.js → handlebars.23e8be7a.js} +1 -1
  93. package/dist/assets/{haskell-literate.65e44262.js → haskell-literate.758ca559.js} +1 -1
  94. package/dist/assets/{haskell.e1faad6e.js → haskell.9e54d423.js} +1 -1
  95. package/dist/assets/{haxe.bb82fb6d.js → haxe.24bb4baa.js} +1 -1
  96. package/dist/assets/hi-IN.37411d7d.js +1 -0
  97. package/dist/assets/{hooks.481ce879.js → hooks.b1e615f8.js} +1 -1
  98. package/dist/assets/hr-HR.ab611e2d.js +1 -0
  99. package/dist/assets/{htmlembedded.72e58237.js → htmlembedded.bfe7ab41.js} +1 -1
  100. package/dist/assets/{htmlmixed.73a6225e.js → htmlmixed.bb060c99.js} +1 -1
  101. package/dist/assets/{http.b18b22e3.js → http.0a0f008a.js} +1 -1
  102. package/dist/assets/hu-HU.72c70fe7.js +1 -0
  103. package/dist/assets/id-ID.ca6d20b9.js +1 -0
  104. package/dist/assets/{idl.6596cd41.js → idl.e488de81.js} +1 -1
  105. package/dist/assets/{iis.4ebc99ef.js → iis.eef9978f.js} +2 -2
  106. package/dist/assets/{index.1242a7ae.js → index.00230ef2.js} +1 -1
  107. package/dist/assets/{index.33336da1.js → index.0f87b330.js} +1 -1
  108. package/dist/assets/{index.290accca.js → index.11b1d4d6.js} +1 -1
  109. package/dist/assets/{index.cc86593a.js → index.1509d4cc.js} +1 -1
  110. package/dist/assets/{index.a842af3c.js → index.1556730f.js} +1 -1
  111. package/dist/assets/{index.66e1b7f7.js → index.17322a75.js} +1 -1
  112. package/dist/assets/{index.7c617be3.js → index.19bafff6.js} +1 -1
  113. package/dist/assets/{index.243d5e7b.js → index.1f6df8f3.js} +1 -1
  114. package/dist/assets/{index.5e4442c6.js → index.209dfd3c.js} +1 -1
  115. package/dist/assets/{index.a7239a95.js → index.225ca76b.js} +1 -1
  116. package/dist/assets/{index.5aa4c214.js → index.27b9d143.js} +1 -1
  117. package/dist/assets/{index.1980416e.js → index.2990b353.js} +1 -1
  118. package/dist/assets/{index.72267c6b.js → index.2aa210ef.js} +1 -1
  119. package/dist/assets/{index.80ed1eef.js → index.2b9b12e5.js} +1 -1
  120. package/dist/assets/{index.a11c3487.js → index.2d5f1100.js} +1 -1
  121. package/dist/assets/{index.674e631d.js → index.2fa715a7.js} +1 -1
  122. package/dist/assets/{index.7c0a7bfe.js → index.3606730a.js} +1 -1
  123. package/dist/assets/{index.204221af.js → index.3891403e.js} +1 -1
  124. package/dist/assets/{index.7110f06c.js → index.38dcd045.js} +1 -1
  125. package/dist/assets/{index.c0dc6448.js → index.3ccb6082.js} +1 -1
  126. package/dist/assets/{index.a0a7b403.js → index.3ea7b619.js} +1 -1
  127. package/dist/assets/{index.ed8bef08.js → index.3ee8527a.js} +1 -1
  128. package/dist/assets/{index.b63d3efb.js → index.43735b46.js} +1 -1
  129. package/dist/assets/{index.451644b7.js → index.4a071c64.js} +1 -1
  130. package/dist/assets/{index.598d0a93.js → index.4affbacb.js} +1 -1
  131. package/dist/assets/{index.81a41182.js → index.4e0ab8dd.js} +1 -1
  132. package/dist/assets/{index.0e7739e5.js → index.517b48c5.js} +1 -1
  133. package/dist/assets/{index.26dab856.js → index.56246fd1.js} +1 -1
  134. package/dist/assets/{index.ed3eb336.js → index.5aaa9002.js} +1 -1
  135. package/dist/assets/{index.1da570e0.js → index.5aaef0f5.js} +1 -1
  136. package/dist/assets/index.5bac3394.entry.js +542 -0
  137. package/dist/assets/{index.e25325da.js → index.5efef841.js} +1 -1
  138. package/dist/assets/{index.56390c1c.js → index.5f45ee1c.js} +1 -1
  139. package/dist/assets/{index.c48ea2dd.js → index.6a46a652.js} +1 -1
  140. package/dist/assets/{index.530e8e3d.js → index.6b1d2be1.js} +1 -1
  141. package/dist/assets/{index.781c12a9.js → index.6f370662.js} +1 -1
  142. package/dist/assets/{index.0fe387ed.js → index.70c2751c.js} +1 -1
  143. package/dist/assets/{index.a685b380.js → index.7829f5d8.js} +1 -1
  144. package/dist/assets/{index.4f95210a.js → index.7898e2da.js} +1 -1
  145. package/dist/assets/{index.15d25a9a.js → index.79882312.js} +1 -1
  146. package/dist/assets/{index.97725763.js → index.7a1461df.js} +1 -1
  147. package/dist/assets/{index.966c8297.js → index.7f70333f.js} +1 -1
  148. package/dist/assets/{index.b9d60646.js → index.87c635a5.js} +1 -1
  149. package/dist/assets/{index.35e56ebe.js → index.8a723a92.js} +1 -1
  150. package/dist/assets/{index.858628e0.js → index.8a7af2f4.js} +1 -1
  151. package/dist/assets/{index.8c95f791.js → index.8d80b40a.js} +1 -1
  152. package/dist/assets/{index.1044f1b9.js → index.97467629.js} +1 -1
  153. package/dist/assets/{index.d8e33291.js → index.98b80c09.js} +1 -1
  154. package/dist/assets/{index.3d9abe2a.js → index.a06f1268.js} +1 -1
  155. package/dist/assets/{index.38cc4e96.js → index.a65d3053.js} +1 -1
  156. package/dist/assets/{index.3a3927a1.js → index.a851960c.js} +1 -1
  157. package/dist/assets/{index.edbb286b.js → index.aa4177f9.js} +1 -1
  158. package/dist/assets/{index.22fbda34.js → index.af2cbd13.js} +1 -1
  159. package/dist/assets/{index.c50bcd37.js → index.b3de25f7.js} +1 -1
  160. package/dist/assets/{index.4f1c9e2c.js → index.bd60d2ff.js} +1 -1
  161. package/dist/assets/{index.9718529e.js → index.be449ac3.js} +1 -1
  162. package/dist/assets/{index.d04651a5.js → index.bea32c39.js} +1 -1
  163. package/dist/assets/{index.5d9e83b8.js → index.bee94ac8.js} +1 -1
  164. package/dist/assets/{index.bfd9be8b.js → index.c46cec0b.js} +1 -1
  165. package/dist/assets/{index.9033efd4.js → index.c660c1b8.js} +1 -1
  166. package/dist/assets/{index.33dd62e3.js → index.c988211f.js} +1 -1
  167. package/dist/assets/{index.7ac0116c.js → index.cfaefc8a.js} +1 -1
  168. package/dist/assets/{index.c32660ce.js → index.d4bf7d76.js} +1 -1
  169. package/dist/assets/{index.2b95062f.js → index.d9f46f43.js} +1 -1
  170. package/dist/assets/{index.bebee43c.js → index.dc9a0145.js} +1 -1
  171. package/dist/assets/index.df92cd9e.js +26 -0
  172. package/dist/assets/{index.96811e72.js → index.e03b0ae8.js} +1 -1
  173. package/dist/assets/index.e0506f3a.css +1 -0
  174. package/dist/assets/{index.286b115e.js → index.e2ee7cbb.js} +1 -1
  175. package/dist/assets/{index.e5aa4fb4.js → index.e3a77573.js} +1 -1
  176. package/dist/assets/{index.13c42333.js → index.e3df6478.js} +1 -1
  177. package/dist/assets/{index.d196ee40.js → index.e641f513.js} +1 -1
  178. package/dist/assets/{index.5306b116.js → index.e7037868.js} +1 -1
  179. package/dist/assets/{index.e568b9e3.js → index.ea05e41c.js} +1 -1
  180. package/dist/assets/{index.4b3944b1.js → index.eab8de80.js} +1 -1
  181. package/dist/assets/{index.8ce7a16f.js → index.eae13b09.js} +1 -1
  182. package/dist/assets/{index.eb479801.js → index.ecd86516.js} +1 -1
  183. package/dist/assets/{index.0286776b.js → index.ee8728a8.js} +1 -1
  184. package/dist/assets/{index.a2ad3c46.js → index.f5754cc1.js} +1 -1
  185. package/dist/assets/{index.20df85c5.js → index.f5ea85c0.js} +1 -1
  186. package/dist/assets/{index.f6b60290.js → index.f80c179a.js} +1 -1
  187. package/dist/assets/{index.1f9b2432.js → index.faf1336c.js} +1 -1
  188. package/dist/assets/{index.1d9d2719.js → index.fc6dba99.js} +1 -1
  189. package/dist/assets/{input-rich-text-html.c9156531.js → input-rich-text-html.edcdd41e.js} +29 -29
  190. package/dist/assets/{insights.bb71b59c.js → insights.dd2f1319.js} +1 -1
  191. package/dist/assets/{installation.69c6e8b3.js → installation.03c76b82.js} +1 -1
  192. package/dist/assets/{interfaces.1651e5d5.js → interfaces.8a75b0b1.js} +3 -3
  193. package/dist/assets/{introduction.fff52202.js → introduction.069a697e.js} +2 -2
  194. package/dist/assets/{introduction.f7647fc1.js → introduction.1442bb90.js} +3 -3
  195. package/dist/assets/{introduction.a63d87df.js → introduction.296a12be.js} +1 -1
  196. package/dist/assets/introduction.4f6984ac.js +1 -0
  197. package/dist/assets/it-IT.66c00a2e.js +1 -0
  198. package/dist/assets/{items.76a09b87.js → items.16c6da62.js} +9 -9
  199. package/dist/assets/ja-JP.fd245edd.js +1 -0
  200. package/dist/assets/{javascript-hint.36fc2c99.js → javascript-hint.069603da.js} +1 -1
  201. package/dist/assets/{javascript.03e76510.js → javascript.e77a31d7.js} +1 -1
  202. package/dist/assets/{jinja2.fd7fe523.js → jinja2.62d35d26.js} +1 -1
  203. package/dist/assets/{jsx.dd4c1cd5.js → jsx.7c3e211a.js} +1 -1
  204. package/dist/assets/{julia.4255f0a0.js → julia.82615a40.js} +1 -1
  205. package/dist/assets/ko-KR.30f60079.js +1 -0
  206. package/dist/assets/ku-TR.9eee23ff.js +1 -0
  207. package/dist/assets/{layouts.30c8a1e1.js → layouts.5d28cc0e.js} +4 -4
  208. package/dist/assets/{livescript.23fa45b9.js → livescript.bf7c6356.js} +1 -1
  209. package/dist/assets/{localization.341816ac.js → localization.348f1994.js} +1 -1
  210. package/dist/assets/lt-LT.6a535ee7.js +1 -0
  211. package/dist/assets/{lua.c66dd609.js → lua.df9f8de8.js} +1 -1
  212. package/dist/assets/{manual.dc5b3116.js → manual.85e4cab3.js} +4 -4
  213. package/dist/assets/{mark-selection.8d87324c.js → mark-selection.a5c78240.js} +1 -1
  214. package/dist/assets/{match-highlighter.4899e3b1.js → match-highlighter.b8b7c0fa.js} +1 -1
  215. package/dist/assets/{mathematica.ddf4b03a.js → mathematica.35866057.js} +1 -1
  216. package/dist/assets/{mbox.7efd7aae.js → mbox.b588a798.js} +1 -1
  217. package/dist/assets/{migrations.5769e3a6.js → migrations.78085c15.js} +1 -1
  218. package/dist/assets/{mirc.5519309e.js → mirc.11811abc.js} +1 -1
  219. package/dist/assets/{mllike.4fba1c9f.js → mllike.f80953fc.js} +1 -1
  220. package/dist/assets/mn-MN.ae109212.js +1 -0
  221. package/dist/assets/{modelica.d5785180.js → modelica.31203d9d.js} +1 -1
  222. package/dist/assets/{modules.79942055.js → modules.5950dac1.js} +3 -3
  223. package/dist/assets/ms-MY.c32899bd.js +1 -0
  224. package/dist/assets/{mscgen.d1084fac.js → mscgen.14d048a5.js} +1 -1
  225. package/dist/assets/{multiplex.997f0efa.js → multiplex.2a683323.js} +2 -2
  226. package/dist/assets/{mumps.45d27bdc.js → mumps.14b46927.js} +1 -1
  227. package/dist/assets/{nginx.f2329a2e.js → nginx.147916f5.js} +1 -1
  228. package/dist/assets/nl-NL.5b0204f4.js +1 -0
  229. package/dist/assets/no-NO.60cb3308.js +1 -0
  230. package/dist/assets/{notifications.684fcdb3.js → notifications.6c634105.js} +4 -4
  231. package/dist/assets/{nsis.7671fe5a.js → nsis.10cfff1e.js} +1 -1
  232. package/dist/assets/{ntriples.1ef293c5.js → ntriples.9eadeec1.js} +1 -1
  233. package/dist/assets/{octave.1e6f25b7.js → octave.bcd50d60.js} +1 -1
  234. package/dist/assets/{overlay.d53bab44.js → overlay.ae430c07.js} +1 -1
  235. package/dist/assets/{overview.aaebfd46.js → overview.2770b6cc.js} +1 -1
  236. package/dist/assets/{overview.27b05ee2.js → overview.efc5d559.js} +1 -1
  237. package/dist/assets/{oz.80d1ccf6.js → oz.2f895b39.js} +1 -1
  238. package/dist/assets/{panels.5df101f1.js → panels.a1feb89d.js} +4 -4
  239. package/dist/assets/{pascal.cf8a9c43.js → pascal.fcf5fb90.js} +1 -1
  240. package/dist/assets/{pegjs.564a1721.js → pegjs.bfe8c0d8.js} +1 -1
  241. package/dist/assets/{perl.90f6ad1e.js → perl.34e1ebd8.js} +1 -1
  242. package/dist/assets/{permissions.3fecdff8.js → permissions.ee57d2c5.js} +8 -8
  243. package/dist/assets/{php.fa8c9bb5.js → php.123c0022.js} +1 -1
  244. package/dist/assets/{pig.4b3e46fe.js → pig.c87dc3c5.js} +1 -1
  245. package/dist/assets/pinia.d0ad97a9.entry.js +1 -0
  246. package/dist/assets/pl-PL.e4805847.js +1 -0
  247. package/dist/assets/{plesk.98782a18.js → plesk.0f675304.js} +5 -5
  248. package/dist/assets/{powershell.5bdeb681.js → powershell.acd58c14.js} +1 -1
  249. package/dist/assets/{presets-bookmarks.e8a7bd44.js → presets-bookmarks.4c61f585.js} +1 -1
  250. package/dist/assets/{presets.517e5211.js → presets.c5652da2.js} +4 -4
  251. package/dist/assets/{project-settings.36e7f38f.js → project-settings.223c2b56.js} +1 -1
  252. package/dist/assets/{properties.b9725bf0.js → properties.bb44ad2a.js} +1 -1
  253. package/dist/assets/{protobuf.e8913b71.js → protobuf.56cee688.js} +1 -1
  254. package/dist/assets/pt-BR.e60f90d6.js +1 -0
  255. package/dist/assets/pt-PT.f0cdce40.js +1 -0
  256. package/dist/assets/{pug.e47e51d9.js → pug.bd4388b6.js} +1 -1
  257. package/dist/assets/{puppet.02d0c537.js → puppet.595e3b11.js} +1 -1
  258. package/dist/assets/{python.5a331182.js → python.96cc4158.js} +1 -1
  259. package/dist/assets/{q.7abd2e98.js → q.c1c89979.js} +1 -1
  260. package/dist/assets/{query.dd50494a.js → query.a5bea9e6.js} +5 -5
  261. package/dist/assets/{quickstart.2a30696e.js → quickstart.67ba41ce.js} +5 -5
  262. package/dist/assets/{r.559aca48.js → r.e8bd6183.js} +1 -1
  263. package/dist/assets/{relations.f34c0891.js → relations.a25697a0.js} +7 -7
  264. package/dist/assets/{relationships.4db828d3.js → relationships.33af294b.js} +4 -4
  265. package/dist/assets/{revisions.2eacaa0e.js → revisions.d1ad624a.js} +3 -3
  266. package/dist/assets/ro-RO.dbffee50.js +1 -0
  267. package/dist/assets/{roles.c8bc1e38.js → roles.2047801b.js} +7 -7
  268. package/dist/assets/{rpm.cf2624a1.js → rpm.9e17cfc6.js} +1 -1
  269. package/dist/assets/{rst.74a6e7f4.js → rst.e6212933.js} +1 -1
  270. package/dist/assets/{ru-RU.c800aa80.js → ru-RU.dce9c3b8.js} +1 -1
  271. package/dist/assets/{ruby.57e7ca16.js → ruby.7ff2b064.js} +1 -1
  272. package/dist/assets/{running-locally.3f08151c.js → running-locally.9ae4cbf8.js} +9 -9
  273. package/dist/assets/{rust.603cb7a9.js → rust.cef3d7aa.js} +1 -1
  274. package/dist/assets/{sas.02fe3105.js → sas.e7f0f539.js} +1 -1
  275. package/dist/assets/{sass.58d3cfe8.js → sass.08441508.js} +1 -1
  276. package/dist/assets/{scheme.23303e45.js → scheme.a74ee417.js} +1 -1
  277. package/dist/assets/{sdk.7feea4dd.js → sdk.ae03b443.js} +7 -7
  278. package/dist/assets/{security.2b004c67.js → security.868b43f5.js} +1 -1
  279. package/dist/assets/{server.64c51953.js → server.21e00a5b.js} +4 -4
  280. package/dist/assets/{settings.16945599.js → settings.15d0a9a7.js} +1 -1
  281. package/dist/assets/{settings.1f41229b.js → settings.18800337.js} +4 -4
  282. package/dist/assets/{shell.861e6b20.js → shell.47528095.js} +1 -1
  283. package/dist/assets/{show-hint.33e4b0da.js → show-hint.12dadc00.js} +1 -1
  284. package/dist/assets/sieve.424cbf77.js +1 -0
  285. package/dist/assets/{simple.1a88b993.js → simple.ef386c48.js} +1 -1
  286. package/dist/assets/sl-SI.5337e803.js +2 -0
  287. package/dist/assets/{slim.35fbe920.js → slim.014147b3.js} +1 -1
  288. package/dist/assets/{smalltalk.6cdc0be6.js → smalltalk.5d6d79d2.js} +1 -1
  289. package/dist/assets/{smarty.a83da96d.js → smarty.955de5dc.js} +1 -1
  290. package/dist/assets/{solr.38cb5333.js → solr.adf53b34.js} +1 -1
  291. package/dist/assets/{soy.d1dad77c.js → soy.14f8a682.js} +1 -1
  292. package/dist/assets/{sparql.8e0b9834.js → sparql.6a030390.js} +1 -1
  293. package/dist/assets/{spreadsheet.a9f547e6.js → spreadsheet.67ce0358.js} +1 -1
  294. package/dist/assets/{sql.0eddf5fb.js → sql.7bb80f22.js} +1 -1
  295. package/dist/assets/sr-CS.c4a5b89f.js +1 -0
  296. package/dist/assets/{sso.a0d3be3d.js → sso.ccca8958.js} +2 -2
  297. package/dist/assets/{stex.84414277.js → stex.f35da327.js} +1 -1
  298. package/dist/assets/{stylus.3ed8b40a.js → stylus.930fb7b6.js} +1 -1
  299. package/dist/assets/{support.c48dbfbf.js → support.d9e0bf60.js} +1 -1
  300. package/dist/assets/sv-SE.d698f222.js +1 -0
  301. package/dist/assets/{swift.9e36a6bc.js → swift.7f6fa792.js} +1 -1
  302. package/dist/assets/{tcl.1387f30d.js → tcl.468e3c20.js} +1 -1
  303. package/dist/assets/{textile.6b4f4a09.js → textile.5b724807.js} +1 -1
  304. package/dist/assets/th-TH.9bb0dc35.js +2 -0
  305. package/dist/assets/{themes.1726a995.js → themes.401eff12.js} +2 -2
  306. package/dist/assets/{tiddlywiki.9fd95c86.js → tiddlywiki.1a5a1bd6.js} +1 -1
  307. package/dist/assets/{tiki.1c3be72c.js → tiki.e5d1cc9c.js} +1 -1
  308. package/dist/assets/{toml.d8ce69ac.js → toml.309d9a71.js} +1 -1
  309. package/dist/assets/{tornado.4122acd7.js → tornado.33d6785e.js} +1 -1
  310. package/dist/assets/tr-TR.a3b3e8ea.js +1 -0
  311. package/dist/assets/{translations.50d38679.js → translations.141198a3.js} +1 -1
  312. package/dist/assets/{troff.923cc50a.js → troff.39a13d53.js} +1 -1
  313. package/dist/assets/{ttcn-cfg.c46d638e.js → ttcn-cfg.2227c343.js} +1 -1
  314. package/dist/assets/{ttcn.bc12e52c.js → ttcn.ff83f5df.js} +1 -1
  315. package/dist/assets/{turtle.907013ed.js → turtle.ef55cec6.js} +1 -1
  316. package/dist/assets/{twig.2616faf3.js → twig.367a43fb.js} +1 -1
  317. package/dist/assets/{ubuntu.47e4ed9d.js → ubuntu.013c7190.js} +2 -2
  318. package/dist/assets/uk-UA.17503b1f.js +1 -0
  319. package/dist/assets/{upgrades-migrations.f46e3e27.js → upgrades-migrations.21a07531.js} +1 -1
  320. package/dist/assets/{use-sync.33f9b39d.js → use-sync.7a0e9d8b.js} +1 -1
  321. package/dist/assets/{user-directory.dd6f9e40.js → user-directory.bdb10b6f.js} +1 -1
  322. package/dist/assets/{users-roles-permissions.cb571c73.js → users-roles-permissions.ae35914f.js} +1 -1
  323. package/dist/assets/{users.dabef07a.js → users.36943e09.js} +5 -5
  324. package/dist/assets/{utilities.46a0f632.js → utilities.8533f769.js} +1 -1
  325. package/dist/assets/{vb.245fd092.js → vb.af7fe20b.js} +1 -1
  326. package/dist/assets/{vbscript.b8912ba1.js → vbscript.2bd7f088.js} +1 -1
  327. package/dist/assets/{velocity.239a0928.js → velocity.223e9248.js} +1 -1
  328. package/dist/assets/{vendor.a27160c3.js → vendor.ef99adf3.js} +97 -97
  329. package/dist/assets/{verilog.27cb4562.js → verilog.4b62dd2f.js} +1 -1
  330. package/dist/assets/{vhdl.d0516a44.js → vhdl.58f6f384.js} +1 -1
  331. package/dist/assets/vi-VN.2e3953bd.js +1 -0
  332. package/dist/assets/vue-i18n.abcb633a.entry.js +1 -0
  333. package/dist/assets/vue-router.6a93788b.entry.js +1 -0
  334. package/dist/assets/{vue.5c82b9b9.js → vue.a51d1c54.js} +1 -1
  335. package/dist/assets/vue.c850cd15.entry.js +1 -0
  336. package/dist/assets/{wast.f00b2de6.js → wast.29e0da5e.js} +1 -1
  337. package/dist/assets/{webhooks.e456ff27.js → webhooks.4518eef3.js} +1 -1
  338. package/dist/assets/{webhooks.ca623606.js → webhooks.60a87075.js} +4 -4
  339. package/dist/assets/{webidl.02e956cd.js → webidl.34270659.js} +1 -1
  340. package/dist/assets/{xquery.4d6fc924.js → xquery.9af0937b.js} +1 -1
  341. package/dist/assets/{yacas.3411c4ff.js → yacas.4b55f53d.js} +1 -1
  342. package/dist/assets/{yaml-frontmatter.180c6ff5.js → yaml-frontmatter.6b3a826f.js} +1 -1
  343. package/dist/assets/{yaml.694821cc.js → yaml.26316285.js} +1 -1
  344. package/dist/assets/{z80.e52b0a7b.js → z80.06c57bfb.js} +1 -1
  345. package/dist/assets/zh-CN.ea7e03db.js +1 -0
  346. package/dist/assets/zh-TW.84c79b23.js +1 -0
  347. package/dist/index.html +4 -4
  348. package/package.json +8 -8
  349. package/dist/assets/@directus_extensions-sdk.cdb2e8d9.entry.js +0 -1
  350. package/dist/assets/ar-SA.0a552a0b.js +0 -1
  351. package/dist/assets/bg-BG.bc55bc91.js +0 -2
  352. package/dist/assets/br-FR.5cd59909.js +0 -1
  353. package/dist/assets/ca-ES.65d1acd8.js +0 -1
  354. package/dist/assets/cs-CZ.b18be214.js +0 -1
  355. package/dist/assets/da-DK.64f2463b.js +0 -1
  356. package/dist/assets/de-DE.15c2e3e1.js +0 -1
  357. package/dist/assets/el-GR.e46c7385.js +0 -1
  358. package/dist/assets/en-CA.aa96bcad.js +0 -1
  359. package/dist/assets/en-GB.5c2f476e.js +0 -1
  360. package/dist/assets/es-419.6e38424a.js +0 -1
  361. package/dist/assets/es-CL.5ceef757.js +0 -1
  362. package/dist/assets/es-ES.9856a734.js +0 -1
  363. package/dist/assets/et-EE.17e0caa0.js +0 -3
  364. package/dist/assets/fa-IR.f419c15f.js +0 -1
  365. package/dist/assets/fi-FI.7602b87c.js +0 -1
  366. package/dist/assets/fo-FO.9d2669e3.js +0 -1
  367. package/dist/assets/fr-CA.f9ad557e.js +0 -1
  368. package/dist/assets/fr-FR.e00afdf2.js +0 -1
  369. package/dist/assets/hi-IN.8c11e9ab.js +0 -1
  370. package/dist/assets/hr-HR.20250a9e.js +0 -1
  371. package/dist/assets/hu-HU.cff882cf.js +0 -1
  372. package/dist/assets/id-ID.b2378473.js +0 -1
  373. package/dist/assets/index.262f690c.entry.js +0 -542
  374. package/dist/assets/index.d6716446.css +0 -1
  375. package/dist/assets/index.e61d2e51.js +0 -26
  376. package/dist/assets/introduction.590e4eba.js +0 -1
  377. package/dist/assets/it-IT.41ec56b2.js +0 -1
  378. package/dist/assets/ja-JP.9041d966.js +0 -1
  379. package/dist/assets/ko-KR.b5ed9ca7.js +0 -1
  380. package/dist/assets/ku-TR.d790a5bf.js +0 -1
  381. package/dist/assets/lt-LT.471e35c1.js +0 -1
  382. package/dist/assets/mn-MN.3b64cd12.js +0 -1
  383. package/dist/assets/ms-MY.3afe9a48.js +0 -1
  384. package/dist/assets/nl-NL.9517ed64.js +0 -1
  385. package/dist/assets/no-NO.6684a30b.js +0 -1
  386. package/dist/assets/pinia.1b52d3f3.entry.js +0 -1
  387. package/dist/assets/pl-PL.802b9560.js +0 -1
  388. package/dist/assets/pt-BR.b7887762.js +0 -1
  389. package/dist/assets/pt-PT.9d22af9f.js +0 -1
  390. package/dist/assets/ro-RO.13404884.js +0 -1
  391. package/dist/assets/sieve.9f4137de.js +0 -1
  392. package/dist/assets/sl-SI.4d31a782.js +0 -2
  393. package/dist/assets/sr-CS.2c599d6f.js +0 -1
  394. package/dist/assets/sv-SE.379bf27b.js +0 -1
  395. package/dist/assets/th-TH.5c6acfee.js +0 -2
  396. package/dist/assets/tr-TR.7cec66df.js +0 -1
  397. package/dist/assets/uk-UA.fde73b19.js +0 -1
  398. package/dist/assets/vi-VN.3c48e9bb.js +0 -1
  399. package/dist/assets/vue-i18n.569004d7.entry.js +0 -1
  400. package/dist/assets/vue-router.a70f1b0a.entry.js +0 -1
  401. package/dist/assets/vue.a5867151.entry.js +0 -1
  402. package/dist/assets/zh-CN.8e195137.js +0 -1
  403. package/dist/assets/zh-TW.68a59250.js +0 -1
@@ -1,4 +1,4 @@
1
- import{p as s,q as d,t as i,w as n,z as l,v as o,S as e}from"./vendor.a27160c3.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
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.ef99adf3.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
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
3
  PORT=8055
4
4
 
@@ -8,7 +8,7 @@ DB_PORT=5432
8
8
 
9
9
  etc
10
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(`{
11
+ `)],-1),y=l("pre",null,[l("code",{class:"language-json"},[e(`{
12
12
  `),l("span",{class:"hljs-attr"},'"HOST"'),e(": "),l("span",{class:"hljs-string"},'"0.0.0.0"'),e(`,
13
13
  `),l("span",{class:"hljs-attr"},'"PORT"'),e(": "),l("span",{class:"hljs-number"},"8055"),e(`,
14
14
 
@@ -18,7 +18,7 @@ etc
18
18
 
19
19
  `),l("span",{class:"hljs-comment"},"// etc"),e(`
20
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),v=l("pre",null,[l("code",null,`CONFIG_PATH="/path/to/config.yaml"
21
+ `)])],-1),I=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),v=l("pre",null,[l("code",null,`CONFIG_PATH="/path/to/config.yaml"
22
22
  `)],-1),C=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
23
  `),l("span",{class:"hljs-attr"},"PORT:"),e(),l("span",{class:"hljs-number"},"8055"),e(`
24
24
 
@@ -39,7 +39,7 @@ etc
39
39
 
40
40
  `),l("span",{class:"hljs-comment"},"// etc"),e(`
41
41
  };
42
- `)])],-1),N=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),U=l("pre",null,[l("code",{class:"language-js"},[l("span",{class:"hljs-comment"},"// Function Syntax"),e(`
42
+ `)])],-1),H=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
43
 
44
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
45
  `),l("span",{class:"hljs-keyword"},"return"),e(` {
@@ -53,8 +53,8 @@ etc
53
53
  `),l("span",{class:"hljs-comment"},"// etc"),e(`
54
54
  };
55
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),x=l("pre",null,[l("code",null,`DB_PASSWORD_FILE="/run/secrets/db_password"
57
- `)],-1),M=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),B=l("pre",null,[l("code",null,`PUBLIC_URL="https://example.com"
56
+ `)])],-1),U=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),B=l("pre",null,[l("code",null,`PUBLIC_URL="https://example.com"
58
58
  // "https://example.com"
59
59
 
60
60
  DB_HOST="3306"
@@ -76,7 +76,7 @@ DB_SSL__REJECT_UNAUTHORIZED="false"
76
76
  rejectUnauthorized: false
77
77
  }
78
78
  }
79
- `)],-1),W=l("h2",{id:"environment-syntax-prefix"},[e("Environment Syntax Prefix "),l("a",{class:"header-anchor",href:"#environment-syntax-prefix"},"#")],-1),q=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),F=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")])])])],-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-serverity-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),vl=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),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),Ll=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),wl=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),Pl=l("h3",{id:"hashing"},[e("Hashing "),l("a",{class:"header-anchor",href:"#hashing"},"#")],-1),Nl=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),Ul=e("Argon2\u2019s hashing function is used by Directus for three purposes: 1) hashing user passwords, 2) generating hashes for the "),Hl=l("code",null,"Hash",-1),Vl=e(" field type in collections, and 3) the "),xl=e("generate a hash API endpoint"),Ml=e("."),jl=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),Bl=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),kl=l("h2",{id:"cors"},[e("CORS "),l("a",{class:"header-anchor",href:"#cors"},"#")],-1),Gl=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),Wl=l("h2",{id:"rate-limiting"},[e("Rate Limiting "),l("a",{class:"header-anchor",href:"#rate-limiting"},"#")],-1),ql=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),Fl=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),Yl=l("p",null,[e("Based on the "),l("code",null,"RATE_LIMITER_STORE"),e(" used, you must also provide the following configurations:")],-1),Kl=l("h3",{id:"memory"},[e("Memory "),l("a",{class:"header-anchor",href:"#memory"},"#")],-1),zl=l("p",null,"No additional configuration required.",-1),Xl=l("h3",{id:"redis"},[e("Redis "),l("a",{class:"header-anchor",href:"#redis"},"#")],-1),Jl=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),Zl=l("p",null,"Alternatively, you can provide the individual connection parameters:",-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_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),$l=l("h3",{id:"memcache"},[e("Memcache "),l("a",{class:"header-anchor",href:"#memcache"},"#")],-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_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),ee=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),ne=l("h3",{id:"example%3A-basic"},[e("Example: Basic "),l("a",{class:"header-anchor",href:"#example%3A-basic"},"#")],-1),te=l("pre",null,[l("code",null,`// 10 requests per 5 seconds
79
+ `)],-1),W=l("h2",{id:"environment-syntax-prefix"},[e("Environment Syntax Prefix "),l("a",{class:"header-anchor",href:"#environment-syntax-prefix"},"#")],-1),q=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),F=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")])])])],-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-serverity-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"),yl=l("td",null,"\u2013",-1),Il=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),vl=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),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),Ll=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),wl=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),Pl=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),Nl=e("Argon2\u2019s hashing function is used by Directus for three purposes: 1) hashing user passwords, 2) generating hashes for the "),Ul=l("code",null,"Hash",-1),Vl=e(" field type in collections, and 3) the "),Ml=e("generate a hash API endpoint"),xl=e("."),jl=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),Bl=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),kl=l("h2",{id:"cors"},[e("CORS "),l("a",{class:"header-anchor",href:"#cors"},"#")],-1),Gl=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),Wl=l("h2",{id:"rate-limiting"},[e("Rate Limiting "),l("a",{class:"header-anchor",href:"#rate-limiting"},"#")],-1),ql=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),Fl=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),Yl=l("p",null,[e("Based on the "),l("code",null,"RATE_LIMITER_STORE"),e(" used, you must also provide the following configurations:")],-1),Kl=l("h3",{id:"memory"},[e("Memory "),l("a",{class:"header-anchor",href:"#memory"},"#")],-1),zl=l("p",null,"No additional configuration required.",-1),Xl=l("h3",{id:"redis"},[e("Redis "),l("a",{class:"header-anchor",href:"#redis"},"#")],-1),Jl=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),Zl=l("p",null,"Alternatively, you can provide the individual connection parameters:",-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_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),$l=l("h3",{id:"memcache"},[e("Memcache "),l("a",{class:"header-anchor",href:"#memcache"},"#")],-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_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),ee=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),ne=l("h3",{id:"example%3A-basic"},[e("Example: Basic "),l("a",{class:"header-anchor",href:"#example%3A-basic"},"#")],-1),te=l("pre",null,[l("code",null,`// 10 requests per 5 seconds
80
80
 
81
81
  RATE_LIMITER_POINTS="10"
82
82
  RATE_LIMITER_DURATION="5"
@@ -88,13 +88,13 @@ RATE_LIMITER_DURATION="5"
88
88
  RATE_LIMITER_STORE="redis"
89
89
 
90
90
  RATE_LIMITER_REDIS="redis://@127.0.0.1"
91
- `)],-1),se=l("h2",{id:"cache"},[e("Cache "),l("a",{class:"header-anchor",href:"#cache"},"#")],-1),ae=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),re=l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"Assets Cache"),l("p",null,[e("The cache-control header for the "),l("code",null,"/assets"),e(" endpoint is separate from the regular data-cache. 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),de=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,"30m")])]),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_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")])])])],-1),ie=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),ce=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),he=l("p",null,[l("sup",null,"[3]"),e(" Not affected by the "),l("code",null,"CACHE_ENABLED"),e(" value.")],-1),_e=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),pe=l("h3",{id:"memory-2"},[e("Memory "),l("a",{class:"header-anchor",href:"#memory-2"},"#")],-1),fe=l("p",null,"No additional configuration required.",-1),me=l("h3",{id:"redis-2"},[e("Redis "),l("a",{class:"header-anchor",href:"#redis-2"},"#")],-1),Ee=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),ge=l("p",null,"Alternatively, you can provide the individual connection parameters:",-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_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),Te=l("h3",{id:"memcache-2"},[e("Memcache "),l("a",{class:"header-anchor",href:"#memcache-2"},"#")],-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_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),be=l("h2",{id:"file-storage"},[e("File Storage "),l("a",{class:"header-anchor",href:"#file-storage"},"#")],-1),Oe=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),Se=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"
91
+ `)],-1),se=l("h2",{id:"cache"},[e("Cache "),l("a",{class:"header-anchor",href:"#cache"},"#")],-1),ae=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),re=l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"Assets Cache"),l("p",null,[e("The cache-control header for the "),l("code",null,"/assets"),e(" endpoint is separate from the regular data-cache. 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),de=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")])])])],-1),ie=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),ce=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),he=l("p",null,[l("sup",null,"[3]"),e(" Not affected by the "),l("code",null,"CACHE_ENABLED"),e(" value.")],-1),_e=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),pe=l("h3",{id:"memory-2"},[e("Memory "),l("a",{class:"header-anchor",href:"#memory-2"},"#")],-1),fe=l("p",null,"No additional configuration required.",-1),me=l("h3",{id:"redis-2"},[e("Redis "),l("a",{class:"header-anchor",href:"#redis-2"},"#")],-1),Ee=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),ge=l("p",null,"Alternatively, you can provide the individual connection parameters:",-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_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),Te=l("h3",{id:"memcache-2"},[e("Memcache "),l("a",{class:"header-anchor",href:"#memcache-2"},"#")],-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_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),be=l("h2",{id:"file-storage"},[e("File Storage "),l("a",{class:"header-anchor",href:"#file-storage"},"#")],-1),Oe=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),Se=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
92
  STORAGE_LOCAL_ROOT="./uploads"
93
- `)])],-1),Ie=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"
93
+ `)])],-1),ye=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
94
  STORAGE_s3_DRIVER="s3" # Will not work, lowercase "s3" \u274C
95
95
  `)]),l("p",null,"but this will work:"),l("pre",null,[l("code",null,`STORAGE_LOCATIONS="s3"
96
96
  STORAGE_S3_DRIVER="s3" # Will work, "s3" is uppercased \u2705
97
- `)])],-1),ye=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),De=l("p",null,"For each of the storage locations listed, you must provide the following configuration:",-1),ve=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),Ce=l("p",null,"Based on your configured driver, you must also provide the following configurations:",-1),Le=l("h3",{id:"local-(local)"},[e("Local ("),l("code",null,"local"),e(") "),l("a",{class:"header-anchor",href:"#local-(local)"},"#")],-1),we=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),Pe=l("h3",{id:"s3-(s3)"},[e("S3 ("),l("code",null,"s3"),e(") "),l("a",{class:"header-anchor",href:"#s3-(s3)"},"#")],-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,"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),Ue=l("h3",{id:"azure-(azure)"},[e("Azure ("),l("code",null,"azure"),e(") "),l("a",{class:"header-anchor",href:"#azure-(azure)"},"#")],-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>_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),Ve=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),xe=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),Me=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),je=l("p",null,"Below showcases a CSV of storage location names, with a config block for each:",-1),Be=l("pre",null,[l("code",null,`STORAGE_LOCATIONS="local,aws"
97
+ `)])],-1),Ie=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),De=l("p",null,"For each of the storage locations listed, you must provide the following configuration:",-1),ve=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),Ce=l("p",null,"Based on your configured driver, you must also provide the following configurations:",-1),Le=l("h3",{id:"local-(local)"},[e("Local ("),l("code",null,"local"),e(") "),l("a",{class:"header-anchor",href:"#local-(local)"},"#")],-1),we=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),Pe=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),Ne=l("h3",{id:"azure-(azure)"},[e("Azure ("),l("code",null,"azure"),e(") "),l("a",{class:"header-anchor",href:"#azure-(azure)"},"#")],-1),Ue=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),Ve=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),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>_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),xe=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),je=l("p",null,"Below showcases a CSV of storage location names, with a config block for each:",-1),Be=l("pre",null,[l("code",null,`STORAGE_LOCATIONS="local,aws"
98
98
 
99
99
  STORAGE_LOCAL_DRIVER="local"
100
100
  STORAGE_LOCAL_ROOT="local"
@@ -111,7 +111,7 @@ AUTH_GITHUB_CLIENT_SECRET="34ae...f963"
111
111
  AUTH_GITHUB_AUTHORIZE_URL="https://github.com/login/oauth/authorize"
112
112
  AUTH_GITHUB_ACCESS_URL="https://github.com/login/oauth/access_token"
113
113
  AUTH_GITHUB_PROFILE_URL="https://api.github.com/user"
114
- `)],-1),en=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. Make sure that variable is configured correctly.")])],-1),nn=l("h4",{id:"oauth-2.0"},[e("OAuth 2.0 "),l("a",{class:"header-anchor",href:"#oauth-2.0"},"#")],-1),tn=l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])],-1),on=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_ID")]),l("td",null,"OAuth identifier for the external service."),l("td",null,"\u2013")],-1),un=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_SECRET")]),l("td",null,"OAuth secret for the external service."),l("td",null,"\u2013")],-1),sn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_SCOPE")]),l("td",null,"A white-space separated list of privileges Directus will 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,"The authorize page URL of the external service."),l("td",null,"\u2013")],-1),rn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_ACCESS_URL")]),l("td",null,"The token access URL of the external service."),l("td",null,"\u2013")],-1),dn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_PROFILE_URL")]),l("td",null,"The user profile information URL of the external service."),l("td",null,"\u2013")],-1),cn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_EMAIL_KEY")]),l("td",null,"OAuth profile email key used to find the email address."),l("td",null,[l("code",null,"email")])],-1),hn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_IDENTIFIER_KEY")]),l("td",null,[e("OAuth profile identifier key used to verify the user. Will default to "),l("code",null,"EMAIL_KEY"),e(".")]),l("td",null,"\u2013")],-1),_n=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),pn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_DEFAULT_ROLE_ID")]),l("td",null,"The Directus role ID assigned to created users."),l("td",null,"\u2013")],-1),fn=l("td",null,[l("code",null,"AUTH_<PROVIDER>_ICON")],-1),mn=e("SVG icon to display with the login link. You can choose from "),En=e("Social icon or Material icon set"),gn=e("."),An=l("td",null,[l("code",null,"account_circle")],-1),Tn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_PARAMS")]),l("td",null,"Custom parameters to send to the auth provider"),l("td",null,"\u2013")],-1),Rn=l("h4",{id:"openid"},[e("OpenID "),l("a",{class:"header-anchor",href:"#openid"},"#")],-1),bn=l("p",null,"OpenID is an authentication protocol built on OAuth 2.0, and should be preferred over standard OAuth 2.0 where possible. OpenID offers better user verification and consistent profile information, allowing for more complete user registrations.",-1),On=l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])],-1),Sn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_ID")]),l("td",null,"OpenID identifier for the external service."),l("td",null,"\u2013")],-1),In=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_SECRET")]),l("td",null,"OpenID secret for the external service."),l("td",null,"\u2013")],-1),yn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_SCOPE")]),l("td",null,"A white-space separated list of privileges Directus will request."),l("td",null,[l("code",null,"openid profile email")])],-1),Dn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_ISSUER_URL")]),l("td",null,[e("The OpenID "),l("code",null,".well-known"),e(" Discovery Document URL.")]),l("td",null,"\u2013")],-1),vn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_IDENTIFIER_KEY")]),l("td",null,"OpenID profile identifier key used to verify the user."),l("td",null,[l("code",null,"sub")])],-1),Cn=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),Ln=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_REQUIRE_VERIFIED_EMAIL")]),l("td",null,"Require users to have a verified email address."),l("td",null,[l("code",null,"false")])],-1),wn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_DEFAULT_ROLE_ID")]),l("td",null,"The Directus role ID assigned to created users."),l("td",null,"\u2013")],-1),Pn=l("td",null,[l("code",null,"AUTH_<PROVIDER>_ICON")],-1),Nn=e("SVG icon to display with the login link. You can choose from "),Un=e("Social icon or Material icon set"),Hn=e("."),Vn=l("td",null,[l("code",null,"account_circle")],-1),xn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_PARAMS")]),l("td",null,"Custom parameters to send to the auth provider"),l("td",null,"\u2013")],-1),Mn=l("h3",{id:"ldap-(ldap)"},[e("LDAP ("),l("code",null,"ldap"),e(") "),l("a",{class:"header-anchor",href:"#ldap-(ldap)"},"#")],-1),jn=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),Bn=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 users by."),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>_GROUP_DN")]),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>_MAIL_ATTRIBUTE")]),l("td",null,"Attribute containing the email of the user."),l("td",null,[l("code",null,"mail")])])])],-1),kn=l("p",null,[l("sup",null,"[1]"),e(" The bind user must have permission to query users and groups to perform authentication. To bind anonymously use "),l("code",null,'AUTH_LDAP_BIND_DN=""'),e(" and "),l("code",null,'AUTH_LDAP_BIND_PASSWORD=""')],-1),Gn=l("p",null,[l("sup",null,"[2]"),e(" The scope defines the following behaviors:")],-1),Wn=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),qn=l("h3",{id:"example%3A-ldap"},[e("Example: LDAP "),l("a",{class:"header-anchor",href:"#example%3A-ldap"},"#")],-1),Fn=l("pre",null,[l("code",null,`AUTH_PROVIDERS="ldap"
114
+ `)],-1),en=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. Make sure that variable is configured correctly.")])],-1),nn=l("h4",{id:"oauth-2.0"},[e("OAuth 2.0 "),l("a",{class:"header-anchor",href:"#oauth-2.0"},"#")],-1),tn=l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])],-1),on=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_ID")]),l("td",null,"OAuth identifier for the external service."),l("td",null,"\u2013")],-1),un=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_SECRET")]),l("td",null,"OAuth secret for the external service."),l("td",null,"\u2013")],-1),sn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_SCOPE")]),l("td",null,"A white-space separated list of privileges Directus will 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,"The authorize page URL of the external service."),l("td",null,"\u2013")],-1),rn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_ACCESS_URL")]),l("td",null,"The token access URL of the external service."),l("td",null,"\u2013")],-1),dn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_PROFILE_URL")]),l("td",null,"The user profile information URL of the external service."),l("td",null,"\u2013")],-1),cn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_EMAIL_KEY")]),l("td",null,"OAuth profile email key used to find the email address."),l("td",null,[l("code",null,"email")])],-1),hn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_IDENTIFIER_KEY")]),l("td",null,[e("OAuth profile identifier key used to verify the user. Will default to "),l("code",null,"EMAIL_KEY"),e(".")]),l("td",null,"\u2013")],-1),_n=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),pn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_DEFAULT_ROLE_ID")]),l("td",null,"The Directus role ID assigned to created users."),l("td",null,"\u2013")],-1),fn=l("td",null,[l("code",null,"AUTH_<PROVIDER>_ICON")],-1),mn=e("SVG icon to display with the login link. You can choose from "),En=e("Social icon or Material icon set"),gn=e("."),An=l("td",null,[l("code",null,"account_circle")],-1),Tn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_PARAMS")]),l("td",null,"Custom parameters to send to the auth provider"),l("td",null,"\u2013")],-1),Rn=l("h4",{id:"openid"},[e("OpenID "),l("a",{class:"header-anchor",href:"#openid"},"#")],-1),bn=l("p",null,"OpenID is an authentication protocol built on OAuth 2.0, and should be preferred over standard OAuth 2.0 where possible. OpenID offers better user verification and consistent profile information, allowing for more complete user registrations.",-1),On=l("thead",null,[l("tr",null,[l("th",null,"Variable"),l("th",null,"Description"),l("th",null,"Default Value")])],-1),Sn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_ID")]),l("td",null,"OpenID identifier for the external service."),l("td",null,"\u2013")],-1),yn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_CLIENT_SECRET")]),l("td",null,"OpenID secret for the external service."),l("td",null,"\u2013")],-1),In=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_SCOPE")]),l("td",null,"A white-space separated list of privileges Directus will request."),l("td",null,[l("code",null,"openid profile email")])],-1),Dn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_ISSUER_URL")]),l("td",null,[e("The OpenID "),l("code",null,".well-known"),e(" Discovery Document URL.")]),l("td",null,"\u2013")],-1),vn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_IDENTIFIER_KEY")]),l("td",null,"OpenID profile identifier key used to verify the user."),l("td",null,[l("code",null,"sub")])],-1),Cn=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),Ln=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_REQUIRE_VERIFIED_EMAIL")]),l("td",null,"Require users to have a verified email address."),l("td",null,[l("code",null,"false")])],-1),wn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_DEFAULT_ROLE_ID")]),l("td",null,"The Directus role ID assigned to created users."),l("td",null,"\u2013")],-1),Pn=l("td",null,[l("code",null,"AUTH_<PROVIDER>_ICON")],-1),Hn=e("SVG icon to display with the login link. You can choose from "),Nn=e("Social icon or Material icon set"),Un=e("."),Vn=l("td",null,[l("code",null,"account_circle")],-1),Mn=l("tr",null,[l("td",null,[l("code",null,"AUTH_<PROVIDER>_PARAMS")]),l("td",null,"Custom parameters to send to the auth provider"),l("td",null,"\u2013")],-1),xn=l("h3",{id:"ldap-(ldap)"},[e("LDAP ("),l("code",null,"ldap"),e(") "),l("a",{class:"header-anchor",href:"#ldap-(ldap)"},"#")],-1),jn=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),Bn=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 users by."),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>_GROUP_DN")]),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>_MAIL_ATTRIBUTE")]),l("td",null,"Attribute containing the email of the user."),l("td",null,[l("code",null,"mail")])])])],-1),kn=l("p",null,[l("sup",null,"[1]"),e(" The bind user must have permission to query users and groups to perform authentication. To bind anonymously use "),l("code",null,'AUTH_LDAP_BIND_DN=""'),e(" and "),l("code",null,'AUTH_LDAP_BIND_PASSWORD=""')],-1),Gn=l("p",null,[l("sup",null,"[2]"),e(" The scope defines the following behaviors:")],-1),Wn=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),qn=l("h3",{id:"example%3A-ldap"},[e("Example: LDAP "),l("a",{class:"header-anchor",href:"#example%3A-ldap"},"#")],-1),Fn=l("pre",null,[l("code",null,`AUTH_PROVIDERS="ldap"
115
115
 
116
116
  AUTH_LDAP_DRIVER="ldap"
117
117
  AUTH_LDAP_CLIENT_URL="ldap://ldap.directus.io"
@@ -135,4 +135,4 @@ AUTH_ADOBE_AUTHORIZE_URL="https://ims-na1.adobelogin.com/ims/authorize/v2"
135
135
  AUTH_ADOBE_ACCESS_URL="https://ims-na1.adobelogin.com/ims/token/v3"
136
136
  AUTH_ADOBE_PROFILE_URL="https://ims-na1.adobelogin.com/ims/userinfo/v2"
137
137
  AUTH_ADOBE_ICON="adobe"
138
- `)],-1),Xn=l("h2",{id:"extensions"},[e("Extensions "),l("a",{class:"header-anchor",href:"#extensions"},"#")],-1),Jn=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),Zn=l("h2",{id:"email"},[e("Email "),l("a",{class:"header-anchor",href:"#email"},"#")],-1),Qn=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),$n=l("p",null,[e("Based on the "),l("code",null,"EMAIL_TRANSPORT"),e(" used, you must also provide the following configurations:")],-1),lt=l("h3",{id:"sendmail-(sendmail)"},[e("Sendmail ("),l("code",null,"sendmail"),e(") "),l("a",{class:"header-anchor",href:"#sendmail-(sendmail)"},"#")],-1),et=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),nt=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),ot=l("h3",{id:"mailgun-(mailgun)"},[e("Mailgun ("),l("code",null,"mailgun"),e(") "),l("a",{class:"header-anchor",href:"#mailgun-(mailgun)"},"#")],-1),ut=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),st=l("h3",{id:"aws-ses-(ses)"},[e("AWS SES ("),l("code",null,"ses"),e(") "),l("a",{class:"header-anchor",href:"#aws-ses-(ses)"},"#")],-1),at=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),rt=l("h2",{id:"admin-account"},[e("Admin Account "),l("a",{class:"header-anchor",href:"#admin-account"},"#")],-1),dt=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),it=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),ht=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),_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,"TELEMETRY")]),l("td",null,"Allow Directus to collect anonymized data about your environment."),l("td",null,[l("code",null,"true")])])])],-1),pt=l("h2",{id:"limits-%26-optimizations"},[e("Limits & Optimizations "),l("a",{class:"header-anchor",href:"#limits-%26-optimizations"},"#")],-1),ft=l("p",null,"Allows you to configure hard technical limits, to prevent abuse and optimize for your particular server environment.",-1),mt=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),Rt={setup(Et,{expose:a}){const u={title:"Configuration Options",modularExtension:!1};return a({frontmatter:u}),(gt,At)=>{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,v,C,L,w,P,N,U,H,V,x,M,j,B,k,G,W,q,F,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,vl,Cl,Ll])]),wl,Pl,Nl,l("p",null,[Ul,Hl,Vl,o(t,{to:"/docs/reference/system/utilities/#generate-a-hash"},{default:n(()=>[xl]),_:1}),Ml]),jl,Bl,kl,Gl,Wl,ql,Fl,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,ve,Ce,Le,we,Pe,Ne,Ue,He,Ve,xe,Me,je,Be,ke,Ge,We,qe,Fe,Ye,Ke,ze,Xe,Je,Ze,Qe,$e,ln,en,nn,l("table",null,[tn,l("tbody",null,[on,un,sn,an,rn,dn,cn,hn,_n,pn,l("tr",null,[fn,l("td",null,[mn,o(t,{to:"/docs/getting-started/glossary/#icons"},{default:n(()=>[En]),_:1}),gn]),An]),Tn])]),Rn,bn,l("table",null,[On,l("tbody",null,[Sn,In,yn,Dn,vn,Cn,Ln,wn,l("tr",null,[Pn,l("td",null,[Nn,o(t,{to:"/docs/getting-started/glossary/#icons"},{default:n(()=>[Un]),_:1}),Hn]),Vn]),xn])]),Mn,jn,Bn,kn,Gn,Wn,qn,Fn,Yn,Kn,zn,Xn,Jn,Zn,Qn,$n,lt,et,nt,tt,ot,ut,st,at,rt,dt,it,ct,ht,_t,pt,ft,mt])]),_:1})}}};export{Rt as default};
138
+ `)],-1),Xn=l("h2",{id:"extensions"},[e("Extensions "),l("a",{class:"header-anchor",href:"#extensions"},"#")],-1),Jn=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),Zn=l("h2",{id:"email"},[e("Email "),l("a",{class:"header-anchor",href:"#email"},"#")],-1),Qn=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),$n=l("p",null,[e("Based on the "),l("code",null,"EMAIL_TRANSPORT"),e(" used, you must also provide the following configurations:")],-1),lt=l("h3",{id:"sendmail-(sendmail)"},[e("Sendmail ("),l("code",null,"sendmail"),e(") "),l("a",{class:"header-anchor",href:"#sendmail-(sendmail)"},"#")],-1),et=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),nt=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),ot=l("h3",{id:"mailgun-(mailgun)"},[e("Mailgun ("),l("code",null,"mailgun"),e(") "),l("a",{class:"header-anchor",href:"#mailgun-(mailgun)"},"#")],-1),ut=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),st=l("h3",{id:"aws-ses-(ses)"},[e("AWS SES ("),l("code",null,"ses"),e(") "),l("a",{class:"header-anchor",href:"#aws-ses-(ses)"},"#")],-1),at=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),rt=l("h2",{id:"admin-account"},[e("Admin Account "),l("a",{class:"header-anchor",href:"#admin-account"},"#")],-1),dt=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),it=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),ht=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),_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,"TELEMETRY")]),l("td",null,"Allow Directus to collect anonymized data about your environment."),l("td",null,[l("code",null,"true")])])])],-1),pt=l("h2",{id:"limits-%26-optimizations"},[e("Limits & Optimizations "),l("a",{class:"header-anchor",href:"#limits-%26-optimizations"},"#")],-1),ft=l("p",null,"Allows you to configure hard technical limits, to prevent abuse and optimize for your particular server environment.",-1),mt=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),Rt={setup(Et,{expose:a}){const u={title:"Configuration Options",modularExtension:!1};return a({frontmatter:u}),(gt,At)=>{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,y,I,D,v,C,L,w,P,H,N,U,V,M,x,j,B,k,G,W,q,F,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})]),yl]),Il,Dl,vl,Cl,Ll])]),wl,Pl,Hl,l("p",null,[Nl,Ul,Vl,o(t,{to:"/docs/reference/system/utilities/#generate-a-hash"},{default:n(()=>[Ml]),_:1}),xl]),jl,Bl,kl,Gl,Wl,ql,Fl,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,ye,Ie,De,ve,Ce,Le,we,Pe,He,Ne,Ue,Ve,Me,xe,je,Be,ke,Ge,We,qe,Fe,Ye,Ke,ze,Xe,Je,Ze,Qe,$e,ln,en,nn,l("table",null,[tn,l("tbody",null,[on,un,sn,an,rn,dn,cn,hn,_n,pn,l("tr",null,[fn,l("td",null,[mn,o(t,{to:"/docs/getting-started/glossary/#icons"},{default:n(()=>[En]),_:1}),gn]),An]),Tn])]),Rn,bn,l("table",null,[On,l("tbody",null,[Sn,yn,In,Dn,vn,Cn,Ln,wn,l("tr",null,[Pn,l("td",null,[Hn,o(t,{to:"/docs/getting-started/glossary/#icons"},{default:n(()=>[Nn]),_:1}),Un]),Vn]),Mn])]),xn,jn,Bn,kn,Gn,Wn,qn,Fn,Yn,Kn,zn,Xn,Jn,Zn,Qn,$n,lt,et,nt,tt,ot,ut,st,at,rt,dt,it,ct,ht,_t,pt,ft,mt])]),_:1})}}};export{Rt as default};
@@ -1 +1 @@
1
- import{p as s,q as d,t as h,w as o,z as t,v as l,S as e}from"./vendor.a27160c3.js";const c={class:"markdown-body"},u=t("blockquote",null,[t("p",null,"This is the main gateway to your content items, providing a highly configurable Layout for browsing and visualizing the items within a collection. The header of this page includes key action buttons for creating, deleting, and batch editing items.")],-1),_=t("p",null,[t("div",{class:"table-of-contents"},[t("ul",null,[t("li",null,[t("a",{href:"#creating-an-item"},"Creating an Item")]),t("li",null,[t("a",{href:"#manually-sorting-items"},"Manually Sorting Items")]),t("li",null,[t("a",{href:"#ordering-items"},"Ordering Items")]),t("li",null,[t("a",{href:"#adjusting-item-layouts"},"Adjusting Item Layouts")]),t("li",null,[t("a",{href:"#searching-items"},"Searching Items")]),t("li",null,[t("a",{href:"#filtering-items"},"Filtering Items")]),t("li",null,[t("a",{href:"#viewing-archived-items"},"Viewing Archived Items")]),t("li",null,[t("a",{href:"#bookmarking-item-presets"},"Bookmarking Item Presets")]),t("li",null,[t("a",{href:"#importing-%2F-exporting-items"},"Importing / Exporting Items")])])])],-1),m=t("h2",{id:"creating-an-item"},[e("Creating an Item "),t("a",{class:"header-anchor",href:"#creating-an-item"},"#")],-1),g=t("ol",null,[t("li",null,"Navigate to the collection where you want to add an item"),t("li",null,"Click on the \u201CCreate Item\u201D (+ icon) button located in the header"),t("li",null,"Complete the Item Detail form"),t("li",null,"Click the \u201CSave Item\u201D (\u2713 icon) button located in the header")],-1),p=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Singletons"),t("p",null,"If the Collection is configured as a \u201CSingleton\u201D in the data model settings, then the App will automatically skip step #2 above.")],-1),f=t("h2",{id:"manually-sorting-items"},[e("Manually Sorting Items "),t("a",{class:"header-anchor",href:"#manually-sorting-items"},"#")],-1),y=e("Navigate to the "),v=e("Content Module"),b=t("li",null,"Navigate to the collection of the items you want to sort",-1),w=t("li",null,"Choose a layout that supports manual sorting (eg: the default \u201Ctable\u201D mode)",-1),k=t("li",null,"Enable manual sorting. (eg: for the table layout, click on the Sort column\u2019s header)",-1),C=t("li",null,"Drag items by their handle into a new position",-1),I=t("p",null,"The new sort order is saved automatically, so make sure you wait until the App\u2019s loading indicator finishes before navigating away from the page.",-1),S=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Requires Configuration"),t("p",null,"This feature is only available if a Sort column has been configured in the Collection\u2019s data model settings.")],-1),N=t("h2",{id:"ordering-items"},[e("Ordering Items "),t("a",{class:"header-anchor",href:"#ordering-items"},"#")],-1),L=e("Navigate to the "),F=e("Content Module"),x=t("li",null,"Navigate to a collection of items",-1),O=t("li",null,"Choose a layout that supports manual ordering (eg: the default \u201Ctable\u201D mode)",-1),A=t("li",null,[e("Set the Order Field and Order Direction "),t("ul",null,[t("li",null,"Table Layout: Click on the field\u2019s column header, clicking again changes order direction"),t("li",null,"Card Layout: Adjust the two dropdowns in the layout\u2019s subheader")])],-1),D={class:"tip hint"},M=t("div",{class:"hint-title"},"Sort vs Order",-1),T=t("strong",null,"Ordering",-1),E=e(" is a non-destructive action (does "),B=t("em",null,"not",-1),j=e(" change your data) used to browse items alphabetically or numerically. "),R=t("strong",null,"Sorting",-1),V=e(" (when enabled) saves a value in a "),q=e("Sort"),z=e(" field, which can then be used to return data in a custom order."),P=t("h2",{id:"adjusting-item-layouts"},[e("Adjusting Item Layouts "),t("a",{class:"header-anchor",href:"#adjusting-item-layouts"},"#")],-1),W=e("Learn more about Layouts"),J=e("Navigate to the "),X=e("Content Module"),U=t("li",null,"Navigate to the collection of the items you want to browse",-1),G=t("li",null,"Click \u201CLayout Options\u201D in the page sidebar",-1),H=t("li",null,"Choose the desired \u201CLayout\u201D you want to use",-1),K=t("li",null,"Configure any other layout options",-1),Q=t("h3",{id:"table-layout"},[e("Table Layout "),t("a",{class:"header-anchor",href:"#table-layout"},"#")],-1),Y=t("p",null,"Supports all forms of data, and is therefore the default within the Content module. It includes the following features/options:",-1),Z=t("ul",null,[t("li",null,"Toggle & Reorder Field Columns (Option)"),t("li",null,"Row Spacing (Option)"),t("li",null,"Manual Item Ordering"),t("li",null,"Column Sort"),t("li",null,"Column Resizing"),t("li",null,"Select All")],-1),$=t("h3",{id:"card-layout"},[e("Card Layout "),t("a",{class:"header-anchor",href:"#card-layout"},"#")],-1),tt=e("This tiled layout is ideal for collections that prioritize an image, and is the default for both the "),et=e("User Directory"),ot=e(" and "),it=e("File Library"),lt=e(". It includes the following features/options:"),nt=t("ul",null,[t("li",null,"Image Source (Option)"),t("li",null,"Title (Option)"),t("li",null,"Subtitle (Option)"),t("li",null,"Image Fit (Option)"),t("li",null,"Fallback Icon (Option)"),t("li",null,"Card Size"),t("li",null,"Sort Field & Direction"),t("li",null,"Select All")],-1),st=t("h3",{id:"calendar-layout"},[e("Calendar Layout "),t("a",{class:"header-anchor",href:"#calendar-layout"},"#")],-1),at=t("p",null,"An excellent choice for temporal (date/time) data, this Layout allows you to choose between a Month, Week, Day, and List view. The following options are included:",-1),rt=t("ul",null,[t("li",null,"Display Template"),t("li",null,"Start Date Field"),t("li",null,"End Date Field")],-1),dt=t("h3",{id:"map-layout"},[e("Map Layout "),t("a",{class:"header-anchor",href:"#map-layout"},"#")],-1),ht=t("p",null,"For geospatial/geographic data, the Map Layout provides a world map for points, lines, and other geometry. The following options are available:",-1),ct=t("ul",null,[t("li",null,"Basemap"),t("li",null,"Location Field"),t("li",null,"Display Template"),t("li",null,"Enable Clustering")],-1),ut=t("h2",{id:"searching-items"},[e("Searching Items "),t("a",{class:"header-anchor",href:"#searching-items"},"#")],-1),_t=e("Navigate to the "),mt=e("Content Module"),gt=t("li",null,"Navigate to the collection of the items you want to search",-1),pt=t("li",null,"Type your search query into the input (magnifying glass icon) located in the header",-1),ft=t("h2",{id:"filtering-items"},[e("Filtering Items "),t("a",{class:"header-anchor",href:"#filtering-items"},"#")],-1),yt=e("Learn more about Filtering"),vt=e("."),bt=e("Navigate to the "),wt=e("Content Module"),kt=t("li",null,"Navigate to the collection of the items you want to filter",-1),Ct=t("li",null,"Click on Filter (filter icon) located in the header",-1),It=t("li",null,"Click the \u201CAdd Filter\u201D dropdown and select the field to filter on",-1),St=t("li",null,"Adjust the operator (eg: \u201CContains\u201D) as needed by clicking on it",-1),Nt=t("li",null,"Enter a value in the field filter\u2019s input(s)",-1),Lt=t("li",null,"Remove unwanted filters by hovering over the field and clicking \u201CX\u201D",-1),Ft=t("h2",{id:"viewing-archived-items"},[e("Viewing Archived Items "),t("a",{class:"header-anchor",href:"#viewing-archived-items"},"#")],-1),xt=e("Learn more about Archive"),Ot=e("."),At=e("Navigate to the "),Dt=e("Content Module"),Mt=t("li",null,"Navigate to the collection of the items you want to view",-1),Tt=t("li",null,"Click \u201CArchive\u201D in the page sidebar",-1),Et=t("li",null,[e("Choose the desired view: "),t("code",null,"Show Items"),e(" (default), "),t("code",null,"Show Archived Items"),e(", or "),t("code",null,"Show Items + Archived Items")],-1),Bt=t("h2",{id:"bookmarking-item-presets"},[e("Bookmarking Item Presets "),t("a",{class:"header-anchor",href:"#bookmarking-item-presets"},"#")],-1),jt=e("Navigate to the "),Rt=e("Content Module"),Vt=t("li",null,"Navigate to the collection of the items you want to bookmark",-1),qt=t("li",null,"Configure the page as desired (eg: layout, options, search, filters, order, etc)",-1),zt=t("li",null,"Click the \u201CCreate Bookmark\u201D (bookmark icon) button in the header beside the page title",-1),Pt=t("li",null,"Rename bookmarks by right-clicking them in the navigation sidebar and selecting \u201CRename Bookmark\u201D",-1),Wt=t("li",null,"Delete bookmarks by right-clicking them in the navigation sidebar and selecting \u201CDelete Bookmark\u201D",-1),Jt=t("h2",{id:"importing-%2F-exporting-items"},[e("Importing / Exporting Items "),t("a",{class:"header-anchor",href:"#importing-%2F-exporting-items"},"#")],-1),Xt=t("h3",{id:"import"},[e("Import "),t("a",{class:"header-anchor",href:"#import"},"#")],-1),Ut=e("Learn more about Import Data from a File"),Gt=e("Navigate to the "),Ht=e("Content Module"),Kt=t("li",null,"Navigate to the collection of the items you want to import",-1),Qt=t("li",null,"Click \u201CImport / Export\u201D in the page sidebar",-1),Yt=t("li",null,"Choose the desired file containing items to import in the accepted format: either CSV or JSON",-1),Zt=t("li",null,"Click the \u201CStart Import\u201D button to import the items from the chosen file",-1),$t=t("h3",{id:"export"},[e("Export "),t("a",{class:"header-anchor",href:"#export"},"#")],-1),te=t("ol",null,[t("li",null,"Navigate to the collection of the items you want to export"),t("li",null,"Optional: Configure the dataset as desired (eg: layout, options, search, filters, order, etc)"),t("li",null,"Click \u201CImport / Export\u201D in the page sidebar"),t("li",null,"Choose the desired format: either CSV, JSON or XML"),t("li",null,"Choose whether you want to use your current Filters and Settings in the export"),t("li",null,"Click the \u201CStart Export\u201D button to download the file to your device")],-1),ne={setup(ee,{expose:a}){const n={title:"Collection Page",modularExtension:!1};return a({frontmatter:n}),(oe,ie)=>{const i=s("router-link"),r=s("DocsWrapper");return d(),h(r,{frontmatter:n},{default:o(()=>[t("div",c,[u,_,m,g,p,f,t("ol",null,[t("li",null,[y,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[v]),_:1})]),b,w,k,C]),I,S,N,t("ol",null,[t("li",null,[L,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[F]),_:1})]),x,O,A]),t("div",D,[M,t("p",null,[T,E,B,j,R,V,l(i,{to:"/docs/reference/query/#sort"},{default:o(()=>[q]),_:1}),z])]),P,t("p",null,[t("strong",null,[l(i,{to:"/docs/getting-started/glossary/#layouts"},{default:o(()=>[W]),_:1})])]),t("ol",null,[t("li",null,[J,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[X]),_:1})]),U,G,H,K]),Q,Y,Z,$,t("p",null,[tt,l(i,{to:"/docs/app/user-directory/"},{default:o(()=>[et]),_:1}),ot,l(i,{to:"/docs/reference/files/"},{default:o(()=>[it]),_:1}),lt]),nt,st,at,rt,dt,ht,ct,ut,t("ol",null,[t("li",null,[_t,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[mt]),_:1})]),gt,pt]),ft,t("p",null,[t("strong",null,[l(i,{to:"/docs/configuration/filter-rules/"},{default:o(()=>[yt]),_:1}),vt])]),t("ol",null,[t("li",null,[bt,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[wt]),_:1})]),kt,Ct,It,St,Nt,Lt]),Ft,t("p",null,[t("strong",null,[l(i,{to:"/docs/configuration/data-model/#archive"},{default:o(()=>[xt]),_:1}),Ot])]),t("ol",null,[t("li",null,[At,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[Dt]),_:1})]),Mt,Tt,Et]),Bt,t("ol",null,[t("li",null,[jt,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[Rt]),_:1})]),Vt,qt,zt,Pt,Wt]),Jt,Xt,t("p",null,[t("strong",null,[l(i,{to:"/docs/reference/system/utilities/#import-data-from-file"},{default:o(()=>[Ut]),_:1})])]),t("ol",null,[t("li",null,[Gt,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[Ht]),_:1})]),Kt,Qt,Yt,Zt]),$t,te])]),_:1})}}};export{ne as default};
1
+ import{w as s,y as d,z as h,A as o,E as t,C as l,W as e}from"./vendor.ef99adf3.js";const c={class:"markdown-body"},u=t("blockquote",null,[t("p",null,"This is the main gateway to your content items, providing a highly configurable Layout for browsing and visualizing the items within a collection. The header of this page includes key action buttons for creating, deleting, and batch editing items.")],-1),_=t("p",null,[t("div",{class:"table-of-contents"},[t("ul",null,[t("li",null,[t("a",{href:"#creating-an-item"},"Creating an Item")]),t("li",null,[t("a",{href:"#manually-sorting-items"},"Manually Sorting Items")]),t("li",null,[t("a",{href:"#ordering-items"},"Ordering Items")]),t("li",null,[t("a",{href:"#adjusting-item-layouts"},"Adjusting Item Layouts")]),t("li",null,[t("a",{href:"#searching-items"},"Searching Items")]),t("li",null,[t("a",{href:"#filtering-items"},"Filtering Items")]),t("li",null,[t("a",{href:"#viewing-archived-items"},"Viewing Archived Items")]),t("li",null,[t("a",{href:"#bookmarking-item-presets"},"Bookmarking Item Presets")]),t("li",null,[t("a",{href:"#importing-%2F-exporting-items"},"Importing / Exporting Items")])])])],-1),m=t("h2",{id:"creating-an-item"},[e("Creating an Item "),t("a",{class:"header-anchor",href:"#creating-an-item"},"#")],-1),g=t("ol",null,[t("li",null,"Navigate to the collection where you want to add an item"),t("li",null,"Click on the \u201CCreate Item\u201D (+ icon) button located in the header"),t("li",null,"Complete the Item Detail form"),t("li",null,"Click the \u201CSave Item\u201D (\u2713 icon) button located in the header")],-1),p=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Singletons"),t("p",null,"If the Collection is configured as a \u201CSingleton\u201D in the data model settings, then the App will automatically skip step #2 above.")],-1),f=t("h2",{id:"manually-sorting-items"},[e("Manually Sorting Items "),t("a",{class:"header-anchor",href:"#manually-sorting-items"},"#")],-1),y=e("Navigate to the "),v=e("Content Module"),b=t("li",null,"Navigate to the collection of the items you want to sort",-1),w=t("li",null,"Choose a layout that supports manual sorting (eg: the default \u201Ctable\u201D mode)",-1),C=t("li",null,"Enable manual sorting. (eg: for the table layout, click on the Sort column\u2019s header)",-1),k=t("li",null,"Drag items by their handle into a new position",-1),I=t("p",null,"The new sort order is saved automatically, so make sure you wait until the App\u2019s loading indicator finishes before navigating away from the page.",-1),S=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Requires Configuration"),t("p",null,"This feature is only available if a Sort column has been configured in the Collection\u2019s data model settings.")],-1),N=t("h2",{id:"ordering-items"},[e("Ordering Items "),t("a",{class:"header-anchor",href:"#ordering-items"},"#")],-1),L=e("Navigate to the "),F=e("Content Module"),x=t("li",null,"Navigate to a collection of items",-1),O=t("li",null,"Choose a layout that supports manual ordering (eg: the default \u201Ctable\u201D mode)",-1),A=t("li",null,[e("Set the Order Field and Order Direction "),t("ul",null,[t("li",null,"Table Layout: Click on the field\u2019s column header, clicking again changes order direction"),t("li",null,"Card Layout: Adjust the two dropdowns in the layout\u2019s subheader")])],-1),D={class:"tip hint"},M=t("div",{class:"hint-title"},"Sort vs Order",-1),T=t("strong",null,"Ordering",-1),E=e(" is a non-destructive action (does "),B=t("em",null,"not",-1),j=e(" change your data) used to browse items alphabetically or numerically. "),R=t("strong",null,"Sorting",-1),V=e(" (when enabled) saves a value in a "),z=e("Sort"),q=e(" field, which can then be used to return data in a custom order."),W=t("h2",{id:"adjusting-item-layouts"},[e("Adjusting Item Layouts "),t("a",{class:"header-anchor",href:"#adjusting-item-layouts"},"#")],-1),P=e("Learn more about Layouts"),J=e("Navigate to the "),X=e("Content Module"),U=t("li",null,"Navigate to the collection of the items you want to browse",-1),G=t("li",null,"Click \u201CLayout Options\u201D in the page sidebar",-1),H=t("li",null,"Choose the desired \u201CLayout\u201D you want to use",-1),K=t("li",null,"Configure any other layout options",-1),Q=t("h3",{id:"table-layout"},[e("Table Layout "),t("a",{class:"header-anchor",href:"#table-layout"},"#")],-1),Y=t("p",null,"Supports all forms of data, and is therefore the default within the Content module. It includes the following features/options:",-1),Z=t("ul",null,[t("li",null,"Toggle & Reorder Field Columns (Option)"),t("li",null,"Row Spacing (Option)"),t("li",null,"Manual Item Ordering"),t("li",null,"Column Sort"),t("li",null,"Column Resizing"),t("li",null,"Select All")],-1),$=t("h3",{id:"card-layout"},[e("Card Layout "),t("a",{class:"header-anchor",href:"#card-layout"},"#")],-1),tt=e("This tiled layout is ideal for collections that prioritize an image, and is the default for both the "),et=e("User Directory"),ot=e(" and "),it=e("File Library"),lt=e(". It includes the following features/options:"),nt=t("ul",null,[t("li",null,"Image Source (Option)"),t("li",null,"Title (Option)"),t("li",null,"Subtitle (Option)"),t("li",null,"Image Fit (Option)"),t("li",null,"Fallback Icon (Option)"),t("li",null,"Card Size"),t("li",null,"Sort Field & Direction"),t("li",null,"Select All")],-1),st=t("h3",{id:"calendar-layout"},[e("Calendar Layout "),t("a",{class:"header-anchor",href:"#calendar-layout"},"#")],-1),at=t("p",null,"An excellent choice for temporal (date/time) data, this Layout allows you to choose between a Month, Week, Day, and List view. The following options are included:",-1),rt=t("ul",null,[t("li",null,"Display Template"),t("li",null,"Start Date Field"),t("li",null,"End Date Field")],-1),dt=t("h3",{id:"map-layout"},[e("Map Layout "),t("a",{class:"header-anchor",href:"#map-layout"},"#")],-1),ht=t("p",null,"For geospatial/geographic data, the Map Layout provides a world map for points, lines, and other geometry. The following options are available:",-1),ct=t("ul",null,[t("li",null,"Basemap"),t("li",null,"Location Field"),t("li",null,"Display Template"),t("li",null,"Enable Clustering")],-1),ut=t("h2",{id:"searching-items"},[e("Searching Items "),t("a",{class:"header-anchor",href:"#searching-items"},"#")],-1),_t=e("Navigate to the "),mt=e("Content Module"),gt=t("li",null,"Navigate to the collection of the items you want to search",-1),pt=t("li",null,"Type your search query into the input (magnifying glass icon) located in the header",-1),ft=t("h2",{id:"filtering-items"},[e("Filtering Items "),t("a",{class:"header-anchor",href:"#filtering-items"},"#")],-1),yt=e("Learn more about Filtering"),vt=e("."),bt=e("Navigate to the "),wt=e("Content Module"),Ct=t("li",null,"Navigate to the collection of the items you want to filter",-1),kt=t("li",null,"Click on Filter (filter icon) located in the header",-1),It=t("li",null,"Click the \u201CAdd Filter\u201D dropdown and select the field to filter on",-1),St=t("li",null,"Adjust the operator (eg: \u201CContains\u201D) as needed by clicking on it",-1),Nt=t("li",null,"Enter a value in the field filter\u2019s input(s)",-1),Lt=t("li",null,"Remove unwanted filters by hovering over the field and clicking \u201CX\u201D",-1),Ft=t("h2",{id:"viewing-archived-items"},[e("Viewing Archived Items "),t("a",{class:"header-anchor",href:"#viewing-archived-items"},"#")],-1),xt=e("Learn more about Archive"),Ot=e("."),At=e("Navigate to the "),Dt=e("Content Module"),Mt=t("li",null,"Navigate to the collection of the items you want to view",-1),Tt=t("li",null,"Click \u201CArchive\u201D in the page sidebar",-1),Et=t("li",null,[e("Choose the desired view: "),t("code",null,"Show Items"),e(" (default), "),t("code",null,"Show Archived Items"),e(", or "),t("code",null,"Show Items + Archived Items")],-1),Bt=t("h2",{id:"bookmarking-item-presets"},[e("Bookmarking Item Presets "),t("a",{class:"header-anchor",href:"#bookmarking-item-presets"},"#")],-1),jt=e("Navigate to the "),Rt=e("Content Module"),Vt=t("li",null,"Navigate to the collection of the items you want to bookmark",-1),zt=t("li",null,"Configure the page as desired (eg: layout, options, search, filters, order, etc)",-1),qt=t("li",null,"Click the \u201CCreate Bookmark\u201D (bookmark icon) button in the header beside the page title",-1),Wt=t("li",null,"Rename bookmarks by right-clicking them in the navigation sidebar and selecting \u201CRename Bookmark\u201D",-1),Pt=t("li",null,"Delete bookmarks by right-clicking them in the navigation sidebar and selecting \u201CDelete Bookmark\u201D",-1),Jt=t("h2",{id:"importing-%2F-exporting-items"},[e("Importing / Exporting Items "),t("a",{class:"header-anchor",href:"#importing-%2F-exporting-items"},"#")],-1),Xt=t("h3",{id:"import"},[e("Import "),t("a",{class:"header-anchor",href:"#import"},"#")],-1),Ut=e("Learn more about Import Data from a File"),Gt=e("Navigate to the "),Ht=e("Content Module"),Kt=t("li",null,"Navigate to the collection of the items you want to import",-1),Qt=t("li",null,"Click \u201CImport / Export\u201D in the page sidebar",-1),Yt=t("li",null,"Choose the desired file containing items to import in the accepted format: either CSV or JSON",-1),Zt=t("li",null,"Click the \u201CStart Import\u201D button to import the items from the chosen file",-1),$t=t("h3",{id:"export"},[e("Export "),t("a",{class:"header-anchor",href:"#export"},"#")],-1),te=t("ol",null,[t("li",null,"Navigate to the collection of the items you want to export"),t("li",null,"Optional: Configure the dataset as desired (eg: layout, options, search, filters, order, etc)"),t("li",null,"Click \u201CImport / Export\u201D in the page sidebar"),t("li",null,"Choose the desired format: either CSV, JSON or XML"),t("li",null,"Choose whether you want to use your current Filters and Settings in the export"),t("li",null,"Click the \u201CStart Export\u201D button to download the file to your device")],-1),ne={setup(ee,{expose:a}){const n={title:"Collection Page",modularExtension:!1};return a({frontmatter:n}),(oe,ie)=>{const i=s("router-link"),r=s("DocsWrapper");return d(),h(r,{frontmatter:n},{default:o(()=>[t("div",c,[u,_,m,g,p,f,t("ol",null,[t("li",null,[y,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[v]),_:1})]),b,w,C,k]),I,S,N,t("ol",null,[t("li",null,[L,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[F]),_:1})]),x,O,A]),t("div",D,[M,t("p",null,[T,E,B,j,R,V,l(i,{to:"/docs/reference/query/#sort"},{default:o(()=>[z]),_:1}),q])]),W,t("p",null,[t("strong",null,[l(i,{to:"/docs/getting-started/glossary/#layouts"},{default:o(()=>[P]),_:1})])]),t("ol",null,[t("li",null,[J,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[X]),_:1})]),U,G,H,K]),Q,Y,Z,$,t("p",null,[tt,l(i,{to:"/docs/app/user-directory/"},{default:o(()=>[et]),_:1}),ot,l(i,{to:"/docs/reference/files/"},{default:o(()=>[it]),_:1}),lt]),nt,st,at,rt,dt,ht,ct,ut,t("ol",null,[t("li",null,[_t,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[mt]),_:1})]),gt,pt]),ft,t("p",null,[t("strong",null,[l(i,{to:"/docs/configuration/filter-rules/"},{default:o(()=>[yt]),_:1}),vt])]),t("ol",null,[t("li",null,[bt,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[wt]),_:1})]),Ct,kt,It,St,Nt,Lt]),Ft,t("p",null,[t("strong",null,[l(i,{to:"/docs/configuration/data-model/#archive"},{default:o(()=>[xt]),_:1}),Ot])]),t("ol",null,[t("li",null,[At,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[Dt]),_:1})]),Mt,Tt,Et]),Bt,t("ol",null,[t("li",null,[jt,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[Rt]),_:1})]),Vt,zt,qt,Wt,Pt]),Jt,Xt,t("p",null,[t("strong",null,[l(i,{to:"/docs/reference/system/utilities/#import-data-from-file"},{default:o(()=>[Ut]),_:1})])]),t("ol",null,[t("li",null,[Gt,l(i,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[Ht]),_:1})]),Kt,Qt,Yt,Zt]),$t,te])]),_:1})}}};export{ne as default};
@@ -1 +1 @@
1
- import{p as a,q as c,t as d,w as i,z as t,v as o,S as e}from"./vendor.a27160c3.js";const r={class:"markdown-body"},u=t("blockquote",null,[t("p",null,"A tailored form for viewing and editing an item\u2019s fields. This page also includes options for archiving, reverting, deleting, and commenting on the item.")],-1),_=t("p",null,[t("div",{class:"table-of-contents"},[t("ul",null,[t("li",null,[t("a",{href:"#updating-an-item"},"Updating an Item")]),t("li",null,[t("a",{href:"#deleting-an-item"},"Deleting an Item")]),t("li",null,[t("a",{href:"#archiving-an-item"},"Archiving an Item")]),t("li",null,[t("a",{href:"#reverting-an-item"},"Reverting an Item")]),t("li",null,[t("a",{href:"#commenting-on-an-item"},"Commenting on an Item")])])])],-1),m=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Permissions"),t("p",null,"The actions on this page assume the current user has permission to perform that action. However, certain features may be disabled or hidden based on permissions.")],-1),g=t("h2",{id:"updating-an-item"},[e("Updating an Item "),t("a",{class:"header-anchor",href:"#updating-an-item"},"#")],-1),v=e("Navigate to the "),p=e("Content Module"),f=t("li",null,"Navigate to the collection of the item you want to update",-1),w=t("li",null,"Click on the item within the current layout (eg: on the row of the table)",-1),b=t("li",null,"Update the Item Detail form",-1),y=t("li",null,"Click the \u201CSave Item\u201D (\u2713 icon) button located in the header",-1),C=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Other Save Options"),t("p",null,"To the right of the primary Save button there is a \u201C\u2026\u201D icon which contains the following alternate save options:"),t("ul",null,[t("li",null,"Save and Stay (\u2318S)"),t("li",null,"Save and Create New (\u2318\u21E7S)"),t("li",null,"Save as Copy")])],-1),k=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Singletons"),t("p",null,"If the Collection is configured as a \u201CSingleton\u201D in the data model settings, then the App will automatically skip step #3 above.")],-1),I=t("h2",{id:"deleting-an-item"},[e("Deleting an Item "),t("a",{class:"header-anchor",href:"#deleting-an-item"},"#")],-1),D=e("Navigate to the "),S=e("Content Module"),N=t("li",null,"Navigate to the collection of the item you want to delete",-1),A=t("li",null,"Select the item(s) within the desired layout (eg: the checkbox on the table row)",-1),x=t("li",null,"Click the \u201CDelete Item\u201D (trash icon) button located in the header",-1),T=t("li",null,"Confirm the action within the dialog by clicking \u201CDelete\u201D",-1),M=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Deleting from the Item Detail page"),t("p",null,"You can also click on an item to navigate to its Detail page. From there, you can click on the \u201CDelete Item\u201D (trash icon) button located in the header.")],-1),R=t("h2",{id:"archiving-an-item"},[e("Archiving an Item "),t("a",{class:"header-anchor",href:"#archiving-an-item"},"#")],-1),q=e("Navigate to the "),B=e("Content Module"),U=t("li",null,"Navigate to the collection of the item you want to archive",-1),V=t("li",null,"Select the item(s) within the desired layout (eg: the checkbox on the table row)",-1),Y=t("li",null,"Click the \u201CArchive Item\u201D (archive icon) button located in the header",-1),F=t("li",null,"Confirm the action within the dialog by clicking \u201CArchive\u201D",-1),O=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Requires Configuration"),t("p",null,"This feature is only available if an Archive column has been configured in the Collection\u2019s data model settings.")],-1),P=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Archiving from the Item Detail page"),t("p",null,"You can also click on an item to navigate to its Detail page. From there, you can click on the \u201CArchive Item\u201D (archive icon) button located in the header.")],-1),W=t("h2",{id:"reverting-an-item"},[e("Reverting an Item "),t("a",{class:"header-anchor",href:"#reverting-an-item"},"#")],-1),j=e("Navigate to the "),z=e("Content Module"),E=t("li",null,"Navigate to the collection of the item you want to archive",-1),H=t("li",null,"Click on an item to navigate to its Detail page",-1),G=t("li",null,"Click \u201CRevisions\u201D in the page sidebar",-1),J=t("li",null,"Click on the revision you wish to preview",-1),K=t("li",null,"Click on the \u201CRevert\u201D button located in the drawer\u2019s header",-1),L=t("li",null,"Confirm the action within the dialog by clicking \u201CRevert\u201D",-1),Q=t("h2",{id:"commenting-on-an-item"},[e("Commenting on an Item "),t("a",{class:"header-anchor",href:"#commenting-on-an-item"},"#")],-1),X=e("Navigate to the "),Z=e("Content Module"),$=t("li",null,"Navigate to the collection of the item you want to comment on",-1),tt=t("li",null,"Click on an item to navigate to its Detail page",-1),et=t("li",null,"Click \u201CComments\u201D in the page sidebar",-1),it=t("li",null,"Type your message within the input",-1),nt=t("li",null,"Click the \u201CSubmit\u201D button",-1),ot=t("h3",{id:"mentions"},[e("Mentions "),t("a",{class:"header-anchor",href:"#mentions"},"#")],-1),lt=t("p",null,[e("You can also mention any user by typing "),t("code",null,"@"),e(" along with their name or email in your comment. They will then receive a notification which will direct them to your comment.")],-1),dt={setup(at,{expose:s}){const l={title:"Item Page",modularExtension:!1};return s({frontmatter:l}),(st,ht)=>{const n=a("router-link"),h=a("DocsWrapper");return c(),d(h,{frontmatter:l},{default:i(()=>[t("div",r,[u,_,m,g,t("ol",null,[t("li",null,[v,o(n,{to:"/docs/app/overview#1.-module-bar"},{default:i(()=>[p]),_:1})]),f,w,b,y]),C,k,I,t("ol",null,[t("li",null,[D,o(n,{to:"/docs/app/overview#1.-module-bar"},{default:i(()=>[S]),_:1})]),N,A,x,T]),M,R,t("ol",null,[t("li",null,[q,o(n,{to:"/docs/app/overview#1.-module-bar"},{default:i(()=>[B]),_:1})]),U,V,Y,F]),O,P,W,t("ol",null,[t("li",null,[j,o(n,{to:"/docs/app/overview#1.-module-bar"},{default:i(()=>[z]),_:1})]),E,H,G,J,K,L]),Q,t("ol",null,[t("li",null,[X,o(n,{to:"/docs/app/overview#1.-module-bar"},{default:i(()=>[Z]),_:1})]),$,tt,et,it,nt]),ot,lt])]),_:1})}}};export{dt as default};
1
+ import{w as a,y as c,z as d,A as i,E as t,C as o,W as e}from"./vendor.ef99adf3.js";const r={class:"markdown-body"},u=t("blockquote",null,[t("p",null,"A tailored form for viewing and editing an item\u2019s fields. This page also includes options for archiving, reverting, deleting, and commenting on the item.")],-1),_=t("p",null,[t("div",{class:"table-of-contents"},[t("ul",null,[t("li",null,[t("a",{href:"#updating-an-item"},"Updating an Item")]),t("li",null,[t("a",{href:"#deleting-an-item"},"Deleting an Item")]),t("li",null,[t("a",{href:"#archiving-an-item"},"Archiving an Item")]),t("li",null,[t("a",{href:"#reverting-an-item"},"Reverting an Item")]),t("li",null,[t("a",{href:"#commenting-on-an-item"},"Commenting on an Item")])])])],-1),m=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Permissions"),t("p",null,"The actions on this page assume the current user has permission to perform that action. However, certain features may be disabled or hidden based on permissions.")],-1),g=t("h2",{id:"updating-an-item"},[e("Updating an Item "),t("a",{class:"header-anchor",href:"#updating-an-item"},"#")],-1),v=e("Navigate to the "),p=e("Content Module"),f=t("li",null,"Navigate to the collection of the item you want to update",-1),w=t("li",null,"Click on the item within the current layout (eg: on the row of the table)",-1),b=t("li",null,"Update the Item Detail form",-1),y=t("li",null,"Click the \u201CSave Item\u201D (\u2713 icon) button located in the header",-1),C=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Other Save Options"),t("p",null,"To the right of the primary Save button there is a \u201C\u2026\u201D icon which contains the following alternate save options:"),t("ul",null,[t("li",null,"Save and Stay (\u2318S)"),t("li",null,"Save and Create New (\u2318\u21E7S)"),t("li",null,"Save as Copy")])],-1),k=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Singletons"),t("p",null,"If the Collection is configured as a \u201CSingleton\u201D in the data model settings, then the App will automatically skip step #3 above.")],-1),I=t("h2",{id:"deleting-an-item"},[e("Deleting an Item "),t("a",{class:"header-anchor",href:"#deleting-an-item"},"#")],-1),D=e("Navigate to the "),N=e("Content Module"),S=t("li",null,"Navigate to the collection of the item you want to delete",-1),A=t("li",null,"Select the item(s) within the desired layout (eg: the checkbox on the table row)",-1),x=t("li",null,"Click the \u201CDelete Item\u201D (trash icon) button located in the header",-1),T=t("li",null,"Confirm the action within the dialog by clicking \u201CDelete\u201D",-1),M=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Deleting from the Item Detail page"),t("p",null,"You can also click on an item to navigate to its Detail page. From there, you can click on the \u201CDelete Item\u201D (trash icon) button located in the header.")],-1),R=t("h2",{id:"archiving-an-item"},[e("Archiving an Item "),t("a",{class:"header-anchor",href:"#archiving-an-item"},"#")],-1),B=e("Navigate to the "),U=e("Content Module"),V=t("li",null,"Navigate to the collection of the item you want to archive",-1),W=t("li",null,"Select the item(s) within the desired layout (eg: the checkbox on the table row)",-1),Y=t("li",null,"Click the \u201CArchive Item\u201D (archive icon) button located in the header",-1),q=t("li",null,"Confirm the action within the dialog by clicking \u201CArchive\u201D",-1),E=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Requires Configuration"),t("p",null,"This feature is only available if an Archive column has been configured in the Collection\u2019s data model settings.")],-1),F=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Archiving from the Item Detail page"),t("p",null,"You can also click on an item to navigate to its Detail page. From there, you can click on the \u201CArchive Item\u201D (archive icon) button located in the header.")],-1),O=t("h2",{id:"reverting-an-item"},[e("Reverting an Item "),t("a",{class:"header-anchor",href:"#reverting-an-item"},"#")],-1),P=e("Navigate to the "),j=e("Content Module"),z=t("li",null,"Navigate to the collection of the item you want to archive",-1),H=t("li",null,"Click on an item to navigate to its Detail page",-1),G=t("li",null,"Click \u201CRevisions\u201D in the page sidebar",-1),J=t("li",null,"Click on the revision you wish to preview",-1),K=t("li",null,"Click on the \u201CRevert\u201D button located in the drawer\u2019s header",-1),L=t("li",null,"Confirm the action within the dialog by clicking \u201CRevert\u201D",-1),Q=t("h2",{id:"commenting-on-an-item"},[e("Commenting on an Item "),t("a",{class:"header-anchor",href:"#commenting-on-an-item"},"#")],-1),X=e("Navigate to the "),Z=e("Content Module"),$=t("li",null,"Navigate to the collection of the item you want to comment on",-1),tt=t("li",null,"Click on an item to navigate to its Detail page",-1),et=t("li",null,"Click \u201CComments\u201D in the page sidebar",-1),it=t("li",null,"Type your message within the input",-1),nt=t("li",null,"Click the \u201CSubmit\u201D button",-1),ot=t("h3",{id:"mentions"},[e("Mentions "),t("a",{class:"header-anchor",href:"#mentions"},"#")],-1),lt=t("p",null,[e("You can also mention any user by typing "),t("code",null,"@"),e(" along with their name or email in your comment. They will then receive a notification which will direct them to your comment.")],-1),dt={setup(at,{expose:s}){const l={title:"Item Page",modularExtension:!1};return s({frontmatter:l}),(st,ht)=>{const n=a("router-link"),h=a("DocsWrapper");return c(),d(h,{frontmatter:l},{default:i(()=>[t("div",r,[u,_,m,g,t("ol",null,[t("li",null,[v,o(n,{to:"/docs/app/overview#1.-module-bar"},{default:i(()=>[p]),_:1})]),f,w,b,y]),C,k,I,t("ol",null,[t("li",null,[D,o(n,{to:"/docs/app/overview#1.-module-bar"},{default:i(()=>[N]),_:1})]),S,A,x,T]),M,R,t("ol",null,[t("li",null,[B,o(n,{to:"/docs/app/overview#1.-module-bar"},{default:i(()=>[U]),_:1})]),V,W,Y,q]),E,F,O,t("ol",null,[t("li",null,[P,o(n,{to:"/docs/app/overview#1.-module-bar"},{default:i(()=>[j]),_:1})]),z,H,G,J,K,L]),Q,t("ol",null,[t("li",null,[X,o(n,{to:"/docs/app/overview#1.-module-bar"},{default:i(()=>[Z]),_:1})]),$,tt,et,it,nt]),ot,lt])]),_:1})}}};export{dt as default};