@directus/app 9.9.1 → 9.10.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 (342) hide show
  1. package/dist/assets/@directus_extensions-sdk.83ecd947.entry.js +1 -0
  2. package/dist/assets/{accounts.5e4228ef.js → accounts.5730f58a.js} +1 -1
  3. package/dist/assets/{active-line.c47b5f35.js → active-line.ebb71fb8.js} +1 -1
  4. package/dist/assets/{activity-log.05fbb6b2.js → activity-log.c9235b62.js} +1 -1
  5. package/dist/assets/{activity.9ac0d92d.js → activity.ff4cb799.js} +1 -1
  6. package/dist/assets/{apl.44b147a4.js → apl.976167c0.js} +1 -1
  7. package/dist/assets/{asciiarmor.d9d1a74a.js → asciiarmor.45c16f31.js} +1 -1
  8. package/dist/assets/{asn.1.0bedcc18.js → asn.1.7f874dea.js} +1 -1
  9. package/dist/assets/{asterisk.9e1e2b5c.js → asterisk.55e38066.js} +1 -1
  10. package/dist/assets/{authentication.f55a38e7.js → authentication.37ab728d.js} +1 -1
  11. package/dist/assets/{autorefresh.bb3b714c.js → autorefresh.f4273b37.js} +1 -1
  12. package/dist/assets/{aws.1b5dfcb9.js → aws.2cbdae9b.js} +1 -1
  13. package/dist/assets/{backing-directus.6688e1d8.js → backing-directus.c30814b2.js} +1 -1
  14. package/dist/assets/{brainfuck.9f0e8180.js → brainfuck.ab8ecbbf.js} +1 -1
  15. package/dist/assets/{cli.0ca53593.js → cli.0a4df861.js} +2 -2
  16. package/dist/assets/{cli.7b4e2953.js → cli.972136c7.js} +1 -1
  17. package/dist/assets/{clike.99cd0401.js → clike.8c0b0d8f.js} +1 -1
  18. package/dist/assets/{clojure.1faf0a0a.js → clojure.e58df985.js} +1 -1
  19. package/dist/assets/{cloudron.e59a593d.js → cloudron.c5c97204.js} +1 -1
  20. package/dist/assets/cmake.77c3a78b.js +1 -0
  21. package/dist/assets/{cobol.94e4970e.js → cobol.5800890d.js} +1 -1
  22. package/dist/assets/{codebase-overview.2a6823b1.js → codebase-overview.41eb2e19.js} +1 -1
  23. package/dist/assets/{coffeescript.c48d036c.js → coffeescript.65bdab88.js} +1 -1
  24. package/dist/assets/collections.c691fda2.js +2 -0
  25. package/dist/assets/{collections.315f4d8c.js → collections.cf70d96a.js} +1 -1
  26. package/dist/assets/{commonlisp.38e77db1.js → commonlisp.fdaf9ea0.js} +1 -1
  27. package/dist/assets/config-options.f4fd7c46.js +138 -0
  28. package/dist/assets/content.a28f530b.js +1 -0
  29. package/dist/assets/{creating-extensions.0c8abfa1.js → creating-extensions.5b5af540.js} +2 -2
  30. package/dist/assets/{crystal.797d41f8.js → crystal.d36108d5.js} +1 -1
  31. package/dist/assets/{css.4143f596.js → css.af9df8d9.js} +1 -1
  32. package/dist/assets/{cypher.b8b073de.js → cypher.c083eec3.js} +1 -1
  33. package/dist/assets/{d.1d4ff6fe.js → d.b4f5d1f2.js} +1 -1
  34. package/dist/assets/{da-DK.6750ac06.js → da-DK.eafe971e.js} +1 -1
  35. package/dist/assets/{dart.09b87006.js → dart.af866fff.js} +1 -1
  36. package/dist/assets/{data-model.3e1183a6.js → data-model.5bf39838.js} +1 -1
  37. package/dist/assets/data-sharing.2f88743d.js +1 -0
  38. package/dist/assets/{diff.5151f967.js → diff.52a32496.js} +1 -1
  39. package/dist/assets/{digitalocean-app-platform.05c4c314.js → digitalocean-app-platform.21eddffd.js} +1 -1
  40. package/dist/assets/{displays.f0798610.js → displays.74c0202c.js} +1 -1
  41. package/dist/assets/{django.25ec1935.js → django.804afcea.js} +1 -1
  42. package/dist/assets/{docker.50e94433.js → docker.3fd073e7.js} +1 -1
  43. package/dist/assets/{dockerfile.cabedb31.js → dockerfile.8cc3eed0.js} +1 -1
  44. package/dist/assets/{documentation.1ed9f7a2.js → documentation.037616ed.js} +1 -1
  45. package/dist/assets/{dtd.82e83b59.js → dtd.5a4c5958.js} +1 -1
  46. package/dist/assets/{dylan.9c51410f.js → dylan.f5a1dc92.js} +1 -1
  47. package/dist/assets/{ebnf.ae5c413a.js → ebnf.19298dc4.js} +1 -1
  48. package/dist/assets/{ecl.c4cb88ea.js → ecl.1b12a71c.js} +1 -1
  49. package/dist/assets/{eiffel.353baac9.js → eiffel.78a4a13f.js} +1 -1
  50. package/dist/assets/el-GR.6cae7a1c.js +1 -0
  51. package/dist/assets/{elm.bd4624df.js → elm.c5b4e3d7.js} +1 -1
  52. package/dist/assets/{email-templates.f9a5e9df.js → email-templates.015f656b.js} +2 -2
  53. package/dist/assets/{endpoints.33794f8d.js → endpoints.ad718303.js} +2 -2
  54. package/dist/assets/{erlang.9dbc839d.js → erlang.5ba0e81e.js} +1 -1
  55. package/dist/assets/es-419.6fa04597.js +1 -0
  56. package/dist/assets/{extensions.de24a384.js → extensions.a78a0bab.js} +1 -1
  57. package/dist/assets/{factor.c11b1d46.js → factor.474d1346.js} +1 -1
  58. package/dist/assets/{faq.ac13aeaa.js → faq.79215fd0.js} +1 -1
  59. package/dist/assets/{fcl.a5a5f935.js → fcl.faa472c2.js} +1 -1
  60. package/dist/assets/{fields.bc105e57.js → fields.446cb520.js} +1 -1
  61. package/dist/assets/{file-library.bc6397f9.js → file-library.2eee653e.js} +1 -1
  62. package/dist/assets/{files.18ebb2c6.js → files.d159019e.js} +1 -1
  63. package/dist/assets/{filter-rules.0cd75320.js → filter-rules.da99ca6f.js} +1 -1
  64. package/dist/assets/{filters.ce249fa9.js → filters.50017874.js} +1 -1
  65. package/dist/assets/{folders.8f839f67.js → folders.8e9a04b0.js} +1 -1
  66. package/dist/assets/{forth.2a48338c.js → forth.f24b3d09.js} +1 -1
  67. package/dist/assets/{fortran.39a5d2da.js → fortran.fbb666b5.js} +1 -1
  68. package/dist/assets/{gas.2be39a3b.js → gas.f0748dd2.js} +1 -1
  69. package/dist/assets/{gcp.f6eca353.js → gcp.c7cb44ca.js} +1 -1
  70. package/dist/assets/{gfm.8e609735.js → gfm.877310b0.js} +1 -1
  71. package/dist/assets/{gherkin.7379fdd0.js → gherkin.3d7e0a5d.js} +1 -1
  72. package/dist/assets/{github-ci.35b5d221.js → github-ci.a7b2c801.js} +1 -1
  73. package/dist/assets/{glossary.0bfb8dee.js → glossary.1f1de0b0.js} +1 -1
  74. package/dist/assets/{glossary.50f82640.js → glossary.36456466.js} +1 -1
  75. package/dist/assets/{go.57e9d20a.js → go.83a7c333.js} +1 -1
  76. package/dist/assets/{groovy.0164fcf3.js → groovy.884233c9.js} +1 -1
  77. package/dist/assets/{haml.9baa3f10.js → haml.3e1c682b.js} +1 -1
  78. package/dist/assets/{handlebars.2ca50502.js → handlebars.bef17c70.js} +1 -1
  79. package/dist/assets/{haskell-literate.d6ca9fd0.js → haskell-literate.26780990.js} +1 -1
  80. package/dist/assets/{haskell.bc6c4772.js → haskell.fd518ccf.js} +1 -1
  81. package/dist/assets/{haxe.478e9912.js → haxe.4b2e78c7.js} +1 -1
  82. package/dist/assets/{hooks.3d981c49.js → hooks.50182523.js} +1 -1
  83. package/dist/assets/{htmlembedded.62531935.js → htmlembedded.d8b6ff8e.js} +1 -1
  84. package/dist/assets/{htmlmixed.634bf459.js → htmlmixed.97a3b948.js} +1 -1
  85. package/dist/assets/{http.67a323b7.js → http.86104e7d.js} +1 -1
  86. package/dist/assets/{idl.8238e552.js → idl.b4dc075f.js} +1 -1
  87. package/dist/assets/{iis.f17cd9e8.js → iis.df3e4d3b.js} +2 -2
  88. package/dist/assets/{import-export.37729346.js → import-export.fa969793.js} +1 -1
  89. package/dist/assets/{index.72f04310.js → index.03933ae1.js} +1 -1
  90. package/dist/assets/{index.6e68ad3a.js → index.07942b86.js} +1 -1
  91. package/dist/assets/{index.9a02c131.js → index.0965f2ea.js} +1 -1
  92. package/dist/assets/{index.20d232c4.js → index.0a4cd515.js} +1 -1
  93. package/dist/assets/{index.3018ece6.js → index.0ad4f3d0.js} +1 -1
  94. package/dist/assets/{index.2eae8e43.js → index.17154988.js} +1 -1
  95. package/dist/assets/{index.a3ff4cef.js → index.1bfa0805.js} +1 -1
  96. package/dist/assets/{index.03e82d0f.js → index.1c338ca1.js} +1 -1
  97. package/dist/assets/{index.66ad62bb.js → index.20fca3e7.js} +1 -1
  98. package/dist/assets/{index.5f8f7e76.js → index.21310180.js} +1 -1
  99. package/dist/assets/{index.b90a9a9e.js → index.22509b50.js} +1 -1
  100. package/dist/assets/{index.0898ffcc.js → index.238a3268.js} +1 -1
  101. package/dist/assets/{index.71c27623.js → index.23fc74ac.js} +1 -1
  102. package/dist/assets/{index.eca0f639.js → index.246ca0ff.js} +1 -1
  103. package/dist/assets/{index.39fac911.js → index.2497550e.js} +1 -1
  104. package/dist/assets/{index.370f33b2.js → index.287575da.js} +1 -1
  105. package/dist/assets/{index.e6b36791.js → index.2c02b800.js} +1 -1
  106. package/dist/assets/{index.61ee2548.js → index.2cbb3f8d.js} +1 -1
  107. package/dist/assets/{index.74831233.js → index.2ea1f7d6.js} +1 -1
  108. package/dist/assets/{index.e56bb3bf.js → index.31d97c88.js} +1 -1
  109. package/dist/assets/{index.93145a08.js → index.33033888.js} +1 -1
  110. package/dist/assets/{index.5836bfd3.js → index.3615276e.js} +1 -1
  111. package/dist/assets/{index.d67df067.js → index.3c303b00.js} +1 -1
  112. package/dist/assets/{index.e02bc037.js → index.42d258a4.js} +1 -1
  113. package/dist/assets/{index.69b05a1e.js → index.43052732.js} +1 -1
  114. package/dist/assets/{index.3a3a3436.js → index.47b05378.js} +1 -1
  115. package/dist/assets/{index.6c1cd895.js → index.496e25ca.js} +1 -1
  116. package/dist/assets/{index.e420cfa9.js → index.581b15b9.js} +1 -1
  117. package/dist/assets/{index.9f82e3be.js → index.58482880.js} +1 -1
  118. package/dist/assets/{index.47c4a06c.js → index.5f27ce64.js} +1 -1
  119. package/dist/assets/{index.a40ba614.js → index.5f7f173b.js} +1 -1
  120. package/dist/assets/{index.9a4eb005.js → index.5faf5621.js} +1 -1
  121. package/dist/assets/{index.524bdca1.js → index.63373d3a.js} +1 -1
  122. package/dist/assets/{index.6b991ff5.js → index.64299c43.js} +1 -1
  123. package/dist/assets/{index.3fcc5be7.js → index.682125dd.js} +1 -1
  124. package/dist/assets/{index.6a8f8e56.js → index.6bef0d6c.js} +1 -1
  125. package/dist/assets/{index.e9dcaf1e.js → index.6f07a11e.js} +1 -1
  126. package/dist/assets/{index.a585d6b9.js → index.6f66f6e6.js} +1 -1
  127. package/dist/assets/{index.eaede45c.js → index.7042ed95.js} +1 -1
  128. package/dist/assets/{index.a453d122.js → index.720d195f.js} +1 -1
  129. package/dist/assets/{index.6f987d91.js → index.7dcd13ec.js} +1 -1
  130. package/dist/assets/{index.b7eb2760.js → index.7ecee286.js} +1 -1
  131. package/dist/assets/{index.c6614b22.js → index.80eaa583.js} +1 -1
  132. package/dist/assets/{index.d05c258f.js → index.821e1d62.js} +1 -1
  133. package/dist/assets/{index.4d327518.js → index.8587b5df.js} +1 -1
  134. package/dist/assets/index.87da20e6.css +1 -0
  135. package/dist/assets/index.895a297f.css +1 -0
  136. package/dist/assets/{index.74a3bead.js → index.89e94c9c.js} +1 -1
  137. package/dist/assets/{index.17aaf60e.js → index.8e6150b3.js} +1 -1
  138. package/dist/assets/{index.66e22b6f.js → index.9aaa42b8.js} +1 -1
  139. package/dist/assets/{index.fd99a2e6.js → index.a0a5fe39.js} +1 -1
  140. package/dist/assets/{index.6146ee27.js → index.a0ae139c.js} +1 -1
  141. package/dist/assets/{index.199627f2.js → index.a2a6bfb1.js} +1 -1
  142. package/dist/assets/{index.3fd307c9.js → index.ae7d8610.js} +1 -1
  143. package/dist/assets/{index.7910f707.js → index.aeb2c755.js} +1 -1
  144. package/dist/assets/{index.fd9a5f6e.js → index.afd57094.js} +1 -1
  145. package/dist/assets/index.b05c71d6.js +26 -0
  146. package/dist/assets/{index.52478625.js → index.b298e8de.js} +1 -1
  147. package/dist/assets/{index.ced9e6c4.js → index.b8a7f65d.js} +1 -1
  148. package/dist/assets/{index.6fd7572a.js → index.b967027a.js} +1 -1
  149. package/dist/assets/{index.897edae9.js → index.bcb27c66.js} +1 -1
  150. package/dist/assets/{index.1f8cd33b.js → index.bf4dfe15.js} +1 -1
  151. package/dist/assets/{index.946634f1.js → index.c80ad32e.js} +1 -1
  152. package/dist/assets/{index.2ade6f4c.js → index.c841431b.js} +1 -1
  153. package/dist/assets/{index.e503db08.js → index.cb1b4143.js} +1 -1
  154. package/dist/assets/index.cee72373.entry.js +541 -0
  155. package/dist/assets/{index.73cf06c6.js → index.d1ed2a91.js} +1 -1
  156. package/dist/assets/{index.840dec92.js → index.d368ce15.js} +1 -1
  157. package/dist/assets/{index.8d30a9b7.js → index.d48ea4d8.js} +1 -1
  158. package/dist/assets/{index.2b376698.js → index.d58a43db.js} +1 -1
  159. package/dist/assets/{index.8c02ccc9.js → index.d5e9d8c8.js} +1 -1
  160. package/dist/assets/{index.5225bff7.js → index.de6c99b7.js} +1 -1
  161. package/dist/assets/{index.8cb5cecc.js → index.debe4fb7.js} +1 -1
  162. package/dist/assets/{index.709876ee.js → index.e3fcfd5a.js} +1 -1
  163. package/dist/assets/{index.f64580fa.js → index.e6ccad11.js} +1 -1
  164. package/dist/assets/{index.94c37923.js → index.e6d22a55.js} +1 -1
  165. package/dist/assets/{index.54056858.js → index.e854339b.js} +1 -1
  166. package/dist/assets/{index.99a868e4.js → index.ea34f437.js} +1 -1
  167. package/dist/assets/{index.ea7d7704.js → index.f748e411.js} +1 -1
  168. package/dist/assets/{index.e4d21fbc.js → index.f8814651.js} +1 -1
  169. package/dist/assets/{index.c62b6868.js → index.f960c87a.js} +1 -1
  170. package/dist/assets/{index.9c32a380.js → index.f9b96f27.js} +1 -1
  171. package/dist/assets/{index.aba657de.js → index.fcd87af8.js} +1 -1
  172. package/dist/assets/{index.d4b072f4.js → index.ff921dbe.js} +1 -1
  173. package/dist/assets/{input-rich-text-html.d4c2e2cf.js → input-rich-text-html.eae7c584.js} +30 -30
  174. package/dist/assets/{insights.4db4d732.js → insights.3d0e532e.js} +1 -1
  175. package/dist/assets/{installation.268919de.js → installation.4a2c097d.js} +1 -1
  176. package/dist/assets/{interfaces.c498302c.js → interfaces.cccc9cc1.js} +3 -3
  177. package/dist/assets/{introduction.d6821907.js → introduction.6527a259.js} +4 -4
  178. package/dist/assets/{introduction.c10f10d3.js → introduction.7a9da828.js} +1 -1
  179. package/dist/assets/{introduction.c5e5e21e.js → introduction.a2f61d58.js} +1 -1
  180. package/dist/assets/{introduction.83bcfc15.js → introduction.d55a65c8.js} +1 -1
  181. package/dist/assets/it-IT.36fdff8b.js +1 -0
  182. package/dist/assets/{items.5732b18d.js → items.7601f70b.js} +1 -1
  183. package/dist/assets/{items.b0a4ab61.js → items.d7eaeea0.js} +1 -1
  184. package/dist/assets/{javascript-hint.7ae21fbe.js → javascript-hint.4638e1df.js} +1 -1
  185. package/dist/assets/{javascript.4f51ecf0.js → javascript.03bf484d.js} +1 -1
  186. package/dist/assets/{jinja2.9bf9144f.js → jinja2.e0978b57.js} +1 -1
  187. package/dist/assets/{jsx.a7b4e734.js → jsx.123b4803.js} +1 -1
  188. package/dist/assets/{julia.5461c3cc.js → julia.5a59262e.js} +1 -1
  189. package/dist/assets/{layouts.effabdf0.js → layouts.41b77af2.js} +1 -1
  190. package/dist/assets/layouts.91e2348f.js +1 -0
  191. package/dist/assets/{livescript.7b500566.js → livescript.9a958350.js} +1 -1
  192. package/dist/assets/{localization.be7f565c.js → localization.98833475.js} +1 -1
  193. package/dist/assets/{lua.00c71164.js → lua.92f32265.js} +1 -1
  194. package/dist/assets/{manual.1c389d8b.js → manual.818edfc3.js} +3 -3
  195. package/dist/assets/{mark-selection.97d7037b.js → mark-selection.4a693f01.js} +1 -1
  196. package/dist/assets/{match-highlighter.a02da4f0.js → match-highlighter.17a81b47.js} +1 -1
  197. package/dist/assets/{mathematica.8f6aa856.js → mathematica.f14d4707.js} +1 -1
  198. package/dist/assets/{mbox.fd92e018.js → mbox.e7c08a48.js} +1 -1
  199. package/dist/assets/{migrations.362ff4f6.js → migrations.55476341.js} +1 -1
  200. package/dist/assets/{mirc.fdf10b1b.js → mirc.0311799e.js} +1 -1
  201. package/dist/assets/{mllike.6f004a2c.js → mllike.d7bb3f6e.js} +1 -1
  202. package/dist/assets/{modelica.cbd88d45.js → modelica.7e7c93c0.js} +1 -1
  203. package/dist/assets/{modules.b091090c.js → modules.b617791f.js} +2 -2
  204. package/dist/assets/{mscgen.14353b86.js → mscgen.2cc54faf.js} +1 -1
  205. package/dist/assets/{multiplex.cd44ee19.js → multiplex.fb681b1b.js} +1 -1
  206. package/dist/assets/{mumps.efe96b5e.js → mumps.674bb5e3.js} +1 -1
  207. package/dist/assets/{nginx.96c9c4df.js → nginx.165b607e.js} +1 -1
  208. package/dist/assets/{notifications.3e5cfc89.js → notifications.ccba3d4a.js} +1 -1
  209. package/dist/assets/{nsis.55581ab2.js → nsis.1ed5ef23.js} +1 -1
  210. package/dist/assets/{ntriples.aca0fe40.js → ntriples.e3148272.js} +1 -1
  211. package/dist/assets/{octave.62945644.js → octave.ab99cd73.js} +1 -1
  212. package/dist/assets/{overlay.2efdf812.js → overlay.03a5b7fa.js} +1 -1
  213. package/dist/assets/{overview.fb04e55f.js → overview.b3a91d76.js} +1 -1
  214. package/dist/assets/{overview.dfc729e7.js → overview.c76d2a06.js} +1 -1
  215. package/dist/assets/{overview.332df7ba.js → overview.e3f03ff4.js} +1 -1
  216. package/dist/assets/{oz.c7a6ef55.js → oz.e21c8060.js} +1 -1
  217. package/dist/assets/{panels.93ebd845.js → panels.8635347d.js} +1 -1
  218. package/dist/assets/{pascal.9f427f36.js → pascal.8c592490.js} +1 -1
  219. package/dist/assets/{pegjs.f95b4e7c.js → pegjs.e94f313a.js} +1 -1
  220. package/dist/assets/{perl.157b1d6a.js → perl.f7dcd896.js} +1 -1
  221. package/dist/assets/{permissions.3a997b1b.js → permissions.4970c519.js} +2 -2
  222. package/dist/assets/{php.45aaf3ff.js → php.ad6c4236.js} +1 -1
  223. package/dist/assets/{pig.abf158b5.js → pig.7b140cb8.js} +1 -1
  224. package/dist/assets/pinia.b29efb4f.entry.js +1 -0
  225. package/dist/assets/pl-PL.cb210ffb.js +1 -0
  226. package/dist/assets/{plesk.93413565.js → plesk.6409199b.js} +4 -4
  227. package/dist/assets/{powershell.c8483dfa.js → powershell.8d5784a6.js} +1 -1
  228. package/dist/assets/{presets-bookmarks.821ff603.js → presets-bookmarks.335e81c4.js} +1 -1
  229. package/dist/assets/{presets.e40c980c.js → presets.3fb59a7c.js} +1 -1
  230. package/dist/assets/{project-settings.990a7733.js → project-settings.da2b6026.js} +1 -1
  231. package/dist/assets/{projects.8446f9e0.js → projects.c04f28b7.js} +1 -1
  232. package/dist/assets/{properties.9746447f.js → properties.bd6ae04f.js} +1 -1
  233. package/dist/assets/{protobuf.da387992.js → protobuf.f3e4657d.js} +1 -1
  234. package/dist/assets/pt-BR.92a32af8.js +1 -0
  235. package/dist/assets/{pug.799b8b48.js → pug.3c534d03.js} +1 -1
  236. package/dist/assets/{puppet.50c5f4a8.js → puppet.088f8b16.js} +1 -1
  237. package/dist/assets/{python.24183ff4.js → python.c49e4c13.js} +1 -1
  238. package/dist/assets/{q.a6bde20d.js → q.61a8ab64.js} +1 -1
  239. package/dist/assets/{query.0b8a58bf.js → query.e6b1f07e.js} +1 -1
  240. package/dist/assets/{quickstart.c03909d1.js → quickstart.9c3c65b4.js} +2 -2
  241. package/dist/assets/{r.5ef93882.js → r.f34d7d93.js} +1 -1
  242. package/dist/assets/{relations.3075f46c.js → relations.77fc85a4.js} +1 -1
  243. package/dist/assets/{relationships.799d5eb1.js → relationships.7a8128c2.js} +1 -1
  244. package/dist/assets/{revisions.0fdeffdb.js → revisions.99756266.js} +2 -2
  245. package/dist/assets/ro-RO.83d12aa1.js +1 -0
  246. package/dist/assets/{roles.454d01a2.js → roles.27092a50.js} +1 -1
  247. package/dist/assets/{rpm.dc7eb8c7.js → rpm.6b2223a5.js} +1 -1
  248. package/dist/assets/rst.009c8d0d.js +1 -0
  249. package/dist/assets/{ruby.5f2c5d49.js → ruby.6eb0fa57.js} +1 -1
  250. package/dist/assets/{running-locally.b169fd6b.js → running-locally.7242ae0a.js} +1 -1
  251. package/dist/assets/{rust.cb883a51.js → rust.6aadde77.js} +1 -1
  252. package/dist/assets/{sas.d4698414.js → sas.deab0a07.js} +1 -1
  253. package/dist/assets/{sass.2a5b4ded.js → sass.af8ab6d2.js} +1 -1
  254. package/dist/assets/{scheme.03cb579f.js → scheme.18c5344a.js} +1 -1
  255. package/dist/assets/{sdk.b30c40c3.js → sdk.269c9e85.js} +1 -1
  256. package/dist/assets/{security.bb444305.js → security.862613c7.js} +1 -1
  257. package/dist/assets/{server.96d2684f.js → server.191bd9cd.js} +1 -1
  258. package/dist/assets/{settings.6ee8ba3d.js → settings.4970c672.js} +1 -1
  259. package/dist/assets/{settings.590609ba.js → settings.7e7b66b7.js} +1 -1
  260. package/dist/assets/{shell.823d1fdc.js → shell.8d43da03.js} +1 -1
  261. package/dist/assets/{show-hint.ed75f164.js → show-hint.5f0a75a7.js} +1 -1
  262. package/dist/assets/sieve.cd31ea4b.js +1 -0
  263. package/dist/assets/{simple.6f7c2241.js → simple.9700ddf1.js} +1 -1
  264. package/dist/assets/{slim.6963eba3.js → slim.61b8011a.js} +1 -1
  265. package/dist/assets/{smalltalk.e8a89293.js → smalltalk.936c2132.js} +1 -1
  266. package/dist/assets/{smarty.c1c7c7b6.js → smarty.7684a399.js} +1 -1
  267. package/dist/assets/{solr.d56d44ed.js → solr.351a6f56.js} +1 -1
  268. package/dist/assets/{soy.73095779.js → soy.a54a888b.js} +1 -1
  269. package/dist/assets/{sparql.3250c390.js → sparql.b38e0bef.js} +1 -1
  270. package/dist/assets/{spreadsheet.502aed5e.js → spreadsheet.8ae834ee.js} +1 -1
  271. package/dist/assets/{sql.2669a728.js → sql.bd75a39a.js} +1 -1
  272. package/dist/assets/sso-examples.dff690ca.js +64 -0
  273. package/dist/assets/{sso.3e95ead4.js → sso.ccd423a5.js} +3 -3
  274. package/dist/assets/{stex.805ccf9b.js → stex.751640f7.js} +1 -1
  275. package/dist/assets/{stylus.7a36e1a2.js → stylus.44c9a636.js} +1 -1
  276. package/dist/assets/{support.53f88829.js → support.a4a37514.js} +1 -1
  277. package/dist/assets/{swift.8e6dedf9.js → swift.6bee86b1.js} +1 -1
  278. package/dist/assets/{tcl.218bb297.js → tcl.d6f60bbe.js} +1 -1
  279. package/dist/assets/{teams.2936126f.js → teams.69678693.js} +1 -1
  280. package/dist/assets/{textile.6739cf22.js → textile.fd4c90e1.js} +1 -1
  281. package/dist/assets/{themes.99cb1672.js → themes.96c4b04e.js} +1 -1
  282. package/dist/assets/{tiddlywiki.9838bde4.js → tiddlywiki.7f1650d8.js} +1 -1
  283. package/dist/assets/{tiki.80b69321.js → tiki.f948533d.js} +1 -1
  284. package/dist/assets/{toml.1089d432.js → toml.9f585d06.js} +1 -1
  285. package/dist/assets/{tornado.43361bdb.js → tornado.c8c03b6f.js} +1 -1
  286. package/dist/assets/{translations.b9e0ee2e.js → translations.a57ab24c.js} +1 -1
  287. package/dist/assets/{troff.6fa2515b.js → troff.75929447.js} +1 -1
  288. package/dist/assets/{ttcn-cfg.29c11a29.js → ttcn-cfg.2a42e89c.js} +1 -1
  289. package/dist/assets/{ttcn.7e441eeb.js → ttcn.d2edc1c1.js} +1 -1
  290. package/dist/assets/{turtle.cc980bba.js → turtle.53a5c73e.js} +1 -1
  291. package/dist/assets/{twig.c208e31e.js → twig.ecd65687.js} +1 -1
  292. package/dist/assets/{ubuntu.0d81a10a.js → ubuntu.f280193a.js} +1 -1
  293. package/dist/assets/{upgrades-migrations.715ee1d6.js → upgrades-migrations.27ddad05.js} +1 -1
  294. package/dist/assets/{use-sync.1c032102.js → use-sync.bd3a1e5b.js} +1 -1
  295. package/dist/assets/{user-directory.1c64c935.js → user-directory.d8b4d6b4.js} +1 -1
  296. package/dist/assets/{users-roles-permissions.4e51ac63.js → users-roles-permissions.a2f25725.js} +1 -1
  297. package/dist/assets/{users.8d9b68a7.js → users.5aa98413.js} +1 -1
  298. package/dist/assets/{utilities.dfed4954.js → utilities.bf7f4133.js} +1 -1
  299. package/dist/assets/{vb.6e5aca67.js → vb.842b5727.js} +1 -1
  300. package/dist/assets/{vbscript.93c429fa.js → vbscript.fcc607c0.js} +1 -1
  301. package/dist/assets/{velocity.c1a64e08.js → velocity.efde9b99.js} +1 -1
  302. package/dist/assets/{vendor.c37f7cab.js → vendor.e0a21029.js} +212 -199
  303. package/dist/assets/{verilog.748a4e09.js → verilog.95b86b19.js} +1 -1
  304. package/dist/assets/{vhdl.b6c77d3f.js → vhdl.05ad780d.js} +1 -1
  305. package/dist/assets/vue-i18n.bb58f1d6.entry.js +1 -0
  306. package/dist/assets/vue-router.86ff737d.entry.js +1 -0
  307. package/dist/assets/vue.0442bd87.entry.js +1 -0
  308. package/dist/assets/{vue.f9ff97ec.js → vue.6c1e2b28.js} +1 -1
  309. package/dist/assets/{wast.a3dcc216.js → wast.c5c40bca.js} +1 -1
  310. package/dist/assets/{webhooks.006f48f5.js → webhooks.07b4ac17.js} +1 -1
  311. package/dist/assets/{webhooks.41585988.js → webhooks.dc830bd4.js} +1 -1
  312. package/dist/assets/{webidl.935b4665.js → webidl.81f09aef.js} +1 -1
  313. package/dist/assets/{xquery.1cd12bcf.js → xquery.4e7c6d54.js} +1 -1
  314. package/dist/assets/{yacas.b7fa45c7.js → yacas.70a010d5.js} +1 -1
  315. package/dist/assets/{yaml-frontmatter.e47634fc.js → yaml-frontmatter.2881b171.js} +1 -1
  316. package/dist/assets/{yaml.34a5a469.js → yaml.0a0b8dc6.js} +1 -1
  317. package/dist/assets/{z80.4847a5a2.js → z80.dce13765.js} +1 -1
  318. package/dist/index.html +4 -4
  319. package/package.json +10 -6
  320. package/dist/assets/@directus_extensions-sdk.b16f3f9c.entry.js +0 -1
  321. package/dist/assets/cmake.cfb44e0d.js +0 -1
  322. package/dist/assets/collections.709f5818.js +0 -2
  323. package/dist/assets/config-options.09a44368.js +0 -138
  324. package/dist/assets/content.8dfe4d0f.js +0 -1
  325. package/dist/assets/data-sharing.17c81a27.js +0 -1
  326. package/dist/assets/el-GR.b15e80c2.js +0 -1
  327. package/dist/assets/es-419.86b21e53.js +0 -1
  328. package/dist/assets/index.31e06860.css +0 -1
  329. package/dist/assets/index.5ca402ee.css +0 -1
  330. package/dist/assets/index.9bc985db.js +0 -26
  331. package/dist/assets/index.dd44fb28.entry.js +0 -541
  332. package/dist/assets/it-IT.c7c56676.js +0 -1
  333. package/dist/assets/layouts.c0d4d117.js +0 -1
  334. package/dist/assets/pinia.b0a7f3a9.entry.js +0 -1
  335. package/dist/assets/pl-PL.369789f9.js +0 -1
  336. package/dist/assets/pt-BR.629e0c60.js +0 -1
  337. package/dist/assets/ro-RO.26d41bde.js +0 -1
  338. package/dist/assets/rst.c0f0c052.js +0 -1
  339. package/dist/assets/sieve.ca0810e1.js +0 -1
  340. package/dist/assets/vue-i18n.38d89027.entry.js +0 -1
  341. package/dist/assets/vue-router.e188e24d.entry.js +0 -1
  342. package/dist/assets/vue.ea10f693.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import{w as n,y as c,z as h,A as s,E as e,C as r,W as l}from"./vendor.c37f7cab.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},f=l("Fields are individual pieces of content within an item. They are mapped to columns in the database. "),g=l("Learn more about Fields"),m=l("."),_=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-field-object"},"The Field Object")]),e("li",null,[e("a",{href:"#list-all-fields"},"List All Fields")]),e("li",null,[e("a",{href:"#list-fields-in-collection"},"List Fields in Collection")]),e("li",null,[e("a",{href:"#retrieve-a-field"},"Retrieve a Field")]),e("li",null,[e("a",{href:"#create-a-field"},"Create a Field")]),e("li",null,[e("a",{href:"#update-a-field"},"Update a Field")]),e("li",null,[e("a",{href:"#delete-a-field"},"Delete a Field")])])])])],-1),j=e("hr",null,null,-1),y=e("h2",{id:"the-field-object"},[l("The Field Object "),e("a",{class:"header-anchor",href:"#the-field-object"},"#")],-1),b={class:"two-up"},v={class:"left"},q={class:"definitions"},T=e("p",null,[e("code",null,"collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the collection the field resides in.")],-1),w=e("p",null,[e("code",null,"field"),l(),e("strong",null,"string"),e("br"),l(" The identifier of the field. This matches the table column name.")],-1),x=e("code",null,"type",-1),A=l(),k=e("strong",null,"string",-1),E=e("br",null,null,-1),S=l(" The Directus data type of the field. See "),P=l("Types"),F=l(" for possible options."),R=e("h4",{id:"meta"},[l("Meta "),e("a",{class:"header-anchor",href:"#meta"},"#")],-1),L=e("p",null,"Directus metadata, primarily used in the Admin App. Meta is optional.",-1),C=e("div",{class:"definitions"},[e("p",null,[e("code",null,"id"),l(),e("strong",null,"integer"),e("br"),l(" Primary key of the metadata row in "),e("code",null,"directus_fields"),l(".")]),e("p",null,[e("code",null,"collection"),l(),e("strong",null,"string"),e("br"),l(" The name of the collection this field resides in.")]),e("p",null,[e("code",null,"field"),l(),e("strong",null,"string"),e("br"),l(" Identifier of the field. Matches the column name in the database.")]),e("p",null,[e("code",null,"special"),l(),e("strong",null,"string"),e("br"),l(" Any special transform flags that apply to this field.")]),e("p",null,[e("code",null,"interface"),l(),e("strong",null,"string"),e("br"),l(" The interface used for this field.")]),e("p",null,[e("code",null,"options"),l(),e("strong",null,"object"),e("br"),l(" The interface options configured for this field. The structure is based on the interface used.")]),e("p",null,[e("code",null,"display"),l(),e("strong",null,"string"),e("br"),l(" The display used for this field.")]),e("p",null,[e("code",null,"display_options"),l(),e("strong",null,"string"),e("br"),l(" The configured options for the used display.")]),e("p",null,[e("code",null,"readonly"),l(),e("strong",null,"boolean"),e("br"),l(" If the field is considered readonly in the Admin App.")]),e("p",null,[e("code",null,"hidden"),l(),e("strong",null,"boolean"),e("br"),l(" If the field is hidden from the edit page in the Admin App.")]),e("p",null,[e("code",null,"sort"),l(),e("strong",null,"integer"),e("br"),l(" Where this field is shown on the edit page in the Admin App.")]),e("p",null,[e("code",null,"width"),l(),e("strong",null,"string"),e("br"),l(" How wide the interface is rendered on the edit page in the Admin App. One of "),e("code",null,"half"),l(", "),e("code",null,"half-left"),l(", "),e("code",null,"half-right"),l(", "),e("code",null,"half-space"),l(", "),e("code",null,"full"),l(", "),e("code",null,"fill"),l(".")]),e("p",null,[e("code",null,"translations"),l(),e("strong",null,"array"),e("br"),l(" How this field\u2019s name is displayed in the different languages in the Admin App.")]),e("p",null,[e("code",null,"note"),l(),e("strong",null,"string"),e("br"),l(" Short description displayed in the Admin App.")])],-1),Q=e("h4",{id:"schema"},[l("Schema "),e("a",{class:"header-anchor",href:"#schema"},"#")],-1),I=e("p",null,"\u201CRaw\u201D database information. Based on the database vendor used, different information might be returned. The following are available for all drivers. Note: schema is optional. If a field exist in directus_fields, but not in the database, it\u2019s an alias commonly used for relational (o2m) or presentation purposes in the Admin App.",-1),D=e("div",{class:"definitions"},[e("p",null,[e("code",null,"name"),l(),e("strong",null,"string"),e("br"),l(" Identifier of the field. Matches the column name in the database.")]),e("p",null,[e("code",null,"table"),l(),e("strong",null,"string"),e("br"),l(" Name of the table the column resides in.")]),e("p",null,[e("code",null,"data_type"),l(),e("strong",null,"string"),e("br"),l(" The datatype as used in the database. Note: this value is database vendor specific.")]),e("p",null,[e("code",null,"default_value"),l(),e("strong",null,"any"),e("br"),l(" The configured default value for the column.")]),e("p",null,[e("code",null,"max_length"),l(),e("strong",null,"integer"),e("br"),l(" Configured length for varchar-type columns.")]),e("p",null,[e("code",null,"numeric_precision"),l(),e("strong",null,"integer"),e("br"),l(" Precision for integer/float/decimal type fields.")]),e("p",null,[e("code",null,"numeric_scale"),l(),e("strong",null,"integer"),e("br"),l(" Scale for integer/float/decimal type fields.")]),e("p",null,[e("code",null,"is_nullable"),l(),e("strong",null,"boolean"),e("br"),l(" Whether or not the column is nullable. This is what is used as the \u201Crequired\u201D state in Directus.")]),e("p",null,[e("code",null,"is_primary_key"),l(),e("strong",null,"boolean"),e("br"),l(" Whether or not the field is the primary key of the table.")]),e("p",null,[e("code",null,"foreign_key_column"),l(),e("strong",null,"string"),e("br"),l(" If the current column has a foreign key constraint, this points to the related column.")]),e("p",null,[e("code",null,"foreign_key_table"),l(),e("strong",null,"string"),e("br"),l(" If the current column has a foreign key constraint, this points to the related table.")]),e("p",null,[e("code",null,"comment"),l(),e("strong",null,"string"),e("br"),l(" Comment as stored in the database.")])],-1),G=e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[l(`{
1
+ import{w as n,y as c,z as h,A as s,E as e,C as r,W as l}from"./vendor.e0a21029.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},f=l("Fields are individual pieces of content within an item. They are mapped to columns in the database. "),g=l("Learn more about Fields"),m=l("."),_=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-field-object"},"The Field Object")]),e("li",null,[e("a",{href:"#list-all-fields"},"List All Fields")]),e("li",null,[e("a",{href:"#list-fields-in-collection"},"List Fields in Collection")]),e("li",null,[e("a",{href:"#retrieve-a-field"},"Retrieve a Field")]),e("li",null,[e("a",{href:"#create-a-field"},"Create a Field")]),e("li",null,[e("a",{href:"#update-a-field"},"Update a Field")]),e("li",null,[e("a",{href:"#delete-a-field"},"Delete a Field")])])])])],-1),j=e("hr",null,null,-1),y=e("h2",{id:"the-field-object"},[l("The Field Object "),e("a",{class:"header-anchor",href:"#the-field-object"},"#")],-1),b={class:"two-up"},v={class:"left"},q={class:"definitions"},T=e("p",null,[e("code",null,"collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the collection the field resides in.")],-1),w=e("p",null,[e("code",null,"field"),l(),e("strong",null,"string"),e("br"),l(" The identifier of the field. This matches the table column name.")],-1),x=e("code",null,"type",-1),A=l(),k=e("strong",null,"string",-1),E=e("br",null,null,-1),S=l(" The Directus data type of the field. See "),P=l("Types"),F=l(" for possible options."),R=e("h4",{id:"meta"},[l("Meta "),e("a",{class:"header-anchor",href:"#meta"},"#")],-1),L=e("p",null,"Directus metadata, primarily used in the Admin App. Meta is optional.",-1),C=e("div",{class:"definitions"},[e("p",null,[e("code",null,"id"),l(),e("strong",null,"integer"),e("br"),l(" Primary key of the metadata row in "),e("code",null,"directus_fields"),l(".")]),e("p",null,[e("code",null,"collection"),l(),e("strong",null,"string"),e("br"),l(" The name of the collection this field resides in.")]),e("p",null,[e("code",null,"field"),l(),e("strong",null,"string"),e("br"),l(" Identifier of the field. Matches the column name in the database.")]),e("p",null,[e("code",null,"special"),l(),e("strong",null,"string"),e("br"),l(" Any special transform flags that apply to this field.")]),e("p",null,[e("code",null,"interface"),l(),e("strong",null,"string"),e("br"),l(" The interface used for this field.")]),e("p",null,[e("code",null,"options"),l(),e("strong",null,"object"),e("br"),l(" The interface options configured for this field. The structure is based on the interface used.")]),e("p",null,[e("code",null,"display"),l(),e("strong",null,"string"),e("br"),l(" The display used for this field.")]),e("p",null,[e("code",null,"display_options"),l(),e("strong",null,"string"),e("br"),l(" The configured options for the used display.")]),e("p",null,[e("code",null,"readonly"),l(),e("strong",null,"boolean"),e("br"),l(" If the field is considered readonly in the Admin App.")]),e("p",null,[e("code",null,"hidden"),l(),e("strong",null,"boolean"),e("br"),l(" If the field is hidden from the edit page in the Admin App.")]),e("p",null,[e("code",null,"sort"),l(),e("strong",null,"integer"),e("br"),l(" Where this field is shown on the edit page in the Admin App.")]),e("p",null,[e("code",null,"width"),l(),e("strong",null,"string"),e("br"),l(" How wide the interface is rendered on the edit page in the Admin App. One of "),e("code",null,"half"),l(", "),e("code",null,"half-left"),l(", "),e("code",null,"half-right"),l(", "),e("code",null,"half-space"),l(", "),e("code",null,"full"),l(", "),e("code",null,"fill"),l(".")]),e("p",null,[e("code",null,"translations"),l(),e("strong",null,"array"),e("br"),l(" How this field\u2019s name is displayed in the different languages in the Admin App.")]),e("p",null,[e("code",null,"note"),l(),e("strong",null,"string"),e("br"),l(" Short description displayed in the Admin App.")])],-1),Q=e("h4",{id:"schema"},[l("Schema "),e("a",{class:"header-anchor",href:"#schema"},"#")],-1),I=e("p",null,"\u201CRaw\u201D database information. Based on the database vendor used, different information might be returned. The following are available for all drivers. Note: schema is optional. If a field exist in directus_fields, but not in the database, it\u2019s an alias commonly used for relational (o2m) or presentation purposes in the Admin App.",-1),D=e("div",{class:"definitions"},[e("p",null,[e("code",null,"name"),l(),e("strong",null,"string"),e("br"),l(" Identifier of the field. Matches the column name in the database.")]),e("p",null,[e("code",null,"table"),l(),e("strong",null,"string"),e("br"),l(" Name of the table the column resides in.")]),e("p",null,[e("code",null,"data_type"),l(),e("strong",null,"string"),e("br"),l(" The datatype as used in the database. Note: this value is database vendor specific.")]),e("p",null,[e("code",null,"default_value"),l(),e("strong",null,"any"),e("br"),l(" The configured default value for the column.")]),e("p",null,[e("code",null,"max_length"),l(),e("strong",null,"integer"),e("br"),l(" Configured length for varchar-type columns.")]),e("p",null,[e("code",null,"numeric_precision"),l(),e("strong",null,"integer"),e("br"),l(" Precision for integer/float/decimal type fields.")]),e("p",null,[e("code",null,"numeric_scale"),l(),e("strong",null,"integer"),e("br"),l(" Scale for integer/float/decimal type fields.")]),e("p",null,[e("code",null,"is_nullable"),l(),e("strong",null,"boolean"),e("br"),l(" Whether or not the column is nullable. This is what is used as the \u201Crequired\u201D state in Directus.")]),e("p",null,[e("code",null,"is_primary_key"),l(),e("strong",null,"boolean"),e("br"),l(" Whether or not the field is the primary key of the table.")]),e("p",null,[e("code",null,"foreign_key_column"),l(),e("strong",null,"string"),e("br"),l(" If the current column has a foreign key constraint, this points to the related column.")]),e("p",null,[e("code",null,"foreign_key_table"),l(),e("strong",null,"string"),e("br"),l(" If the current column has a foreign key constraint, this points to the related table.")]),e("p",null,[e("code",null,"comment"),l(),e("strong",null,"string"),e("br"),l(" Comment as stored in the database.")])],-1),G=e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[l(`{
2
2
  `),e("span",{class:"hljs-attr"},'"collection"'),l(": "),e("span",{class:"hljs-string"},'"articles"'),l(`,
3
3
  `),e("span",{class:"hljs-attr"},'"field"'),l(": "),e("span",{class:"hljs-string"},'"id"'),l(`,
4
4
  `),e("span",{class:"hljs-attr"},'"type"'),l(": "),e("span",{class:"hljs-string"},'"integer"'),l(`,
@@ -1 +1 @@
1
- import{w as s,y as d,z as c,A as t,E as e,C as i,W as l}from"./vendor.c37f7cab.js";const h={class:"markdown-body"},u=e("blockquote",null,[e("p",null,"The File Library Module aggregates all files within the Directus Project into one consolidated library. It is a full-featured Digital Asset Management (DAM) system for storing, organizing, browsing, and transforming your various files and assets.")],-1),p=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/file-library-20220307A.webp",alt:"File Library"})],-1),f=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#how-it-works"},"How it Works")]),e("li",null,[e("a",{href:"#files"},"Files")]),e("li",null,[e("a",{href:"#edit-an-image"},"Edit an Image")]),e("li",null,[e("a",{href:"#upload-a-file"},"Upload a File")]),e("li",null,[e("a",{href:"#replace-a-file"},"Replace a File")]),e("li",null,[e("a",{href:"#folders"},"Folders")]),e("li",null,[e("a",{href:"#create-a-folder"},"Create a Folder")]),e("li",null,[e("a",{href:"#rename-a-folder"},"Rename a Folder")]),e("li",null,[e("a",{href:"#move-a-folder"},"Move a Folder")]),e("li",null,[e("a",{href:"#delete-a-folder"},"Delete a Folder")]),e("li",null,[e("a",{href:"#more-help"},"More Help")])])])],-1),_={class:"warning hint"},m=e("div",{class:"hint-title"},"More Documents on Folder and File Management",-1),g=l("This is a non-technical, no-code guide to the File Library Module. Please note there is documentation on programmatic "),F=l("Folder"),y=l(" and "),b=l("File"),v=l(" management via the API."),w=e("h2",{id:"how-it-works"},[l("How it Works "),e("a",{class:"header-anchor",href:"#how-it-works"},"#")],-1),k={class:"tip hint"},A=e("div",{class:"hint-title"},"Required Knowledge",-1),C=l("Familiarity with the "),D=l("Collections Page"),T=l(" will be helpful but not necessary."),I=l("The File Library acts as one big "),P=e("a",{href:"#folders"},"Folder",-1),L=l(" to store all uploaded "),M=e("a",{href:"#files"},"Files",-1),S=l(". Sub-folders can be created within the File Library to help Files stay organized. Folders and File information are stored in regular Collections, which means "),E=l("User and Role access permissions"),H=l(" are fully configurable and granular on both Folders and Files. Multiple files can be uploaded at once through the app and also programmatically via the API. Any type of file can be uploaded, "),U=e("em",null,"not just images",-1),W=l(". When a Folder is selected from the Navigation Bar, the "),R=e("a",{href:"#folders"},"File Listing Page",-1),x=l(" is presented. This page has all the same features and functionalities as the "),B=l("Collections Page"),N=l("."),j=e("video",{title:"How the File Library Works",autoplay:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/how-it-works-20220305A.mp4",type:"video/mp4"}),e("p",null,[l(" Your browser is not displaying the video for some reason. Here's a "),e("a",{href:""},"link to the video"),l(" instead. ")])],-1),z=e("ol",null,[e("li",null,[l("Select a Folder. There are two options: "),e("ul",null,[e("li",null,"Choose desired Folder from the Navigation Bar."),e("li",null,[l("Click "),e("span",{mi:"",btn:"",sec:""},"create_new_folder"),l(" in the Page Header, name your folder, and click "),e("strong",null,"\u201CSave\u201D"),l(".")])])]),e("li",null,[l("Click "),e("span",{mi:"",btn:""},"add"),l(" in the Page Header. A popover will appear.")]),e("li",null,[l("Upload your file. You have 3 options: "),e("ul",null,[e("li",null,"Drag a file from your desktop to the popup."),e("li",null,"Click the popup area to manually select a file from your device."),e("li",null,[l("Click "),e("span",{mi:"",icon:""},"more_vert"),l(" in the popover and choose "),e("strong",null,"\u201CImport from URL\u201D"),l(".")])])]),e("li",null,"Optional: Click the File Display to open the File Details Page and fill in information as desired.")],-1),O=e("h2",{id:"files"},[l("Files "),e("a",{class:"header-anchor",href:"#files"},"#")],-1),K=l("When a file is clicked in the File Listing Page, the File Details Page appears. This is a custom form for viewing assets and embeds, with core Fields included out-of-the-box (see below), and the ability for Administrators to add additional custom Fields. This page has the same features and functionality as the "),V=l("Item Details Page"),Y=l("."),q=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/files-20220305A.webp",alt:"Files"})],-1),J=e("h3",{id:"action-buttons"},[l("Action Buttons "),e("a",{class:"header-anchor",href:"#action-buttons"},"#")],-1),X=e("p",null,"Notice the following Buttons in the Header:",-1),G=e("ul",null,[e("li",null,[e("span",{mi:"",btn:""},"check"),l(" \u2013 Saves any edits made to the file.")]),e("li",null,[e("span",{mi:"",btn:"",sec:""},"tune"),l(" \u2013 Please see "),e("a",{href:"#edit-an-image"},"Edit an Image"),l(" to learn more.")]),e("li",null,[e("span",{mi:"",btn:"",sec:""},"save_alt"),l(" \u2013 Downloads the file to your current device.")]),e("li",null,[e("span",{mi:"",btn:"",sec:""},"drive_file_move"),l(" \u2013 Moves selected File(s) to another Folder.")]),e("li",null,[e("span",{mi:"",btn:"",dngr:""},"delete"),l(" \u2013 Permanently removes the File and its metadata. This action is permanent and cannot be undone.")])],-1),Q=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Deleting Files Linked to Items"),e("p",null,[l("By default, Directus will not allow you to delete a File until you remove it from any and all related Items. However, this behavior can be reconfigured so that Files automatically update when the image is deleted by setting the relational constraint of your File Field to "),e("code",null,"SET NULL"),l(" or "),e("code",null,"CASCADE"),l(" when the File is deleted.")])],-1),Z=e("h3",{id:"file-details"},[l("File Details "),e("a",{class:"header-anchor",href:"#file-details"},"#")],-1),$=e("p",null,[l("The Files Collection comes pre-configured with the following Fields out of the box. New Fields can be created and customized as needed in "),e("strong",null,"Settings > Data Model"),l(". However the pre-configured Fields cannot be changed or deleted.")],-1),ee=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/file-details-20220305A.webp",alt:"File Details"})],-1),le=e("ul",null,[e("li",null,[e("strong",null,"Preview"),l(" \u2013 A preview of the image or file.")]),e("li",null,[e("strong",null,"Title"),l(" \u2013 A title for the File.")]),e("li",null,[e("strong",null,"Description"),l(" \u2013 A description of the File.")]),e("li",null,[e("strong",null,"Tags"),l(" \u2013 Keywords used for search-ability.")]),e("li",null,[e("strong",null,"Location"),l(" \u2013 An optional location "),e("em",null,"(e.g. where a photo was taken)"),l(".")]),e("li",null,[e("strong",null,"Storage"),l(" \u2013 Which storage adapter is used to store the file asset.")]),e("li",null,[e("strong",null,"Filename (Disk)"),l(" \u2013 LOCKED. This is the actual name of the file in storage.")]),e("li",null,[e("strong",null,"Filename (Download)"),l(" \u2013 Allows you to set the name of the file when it is downloaded.")])],-1),te=e("h3",{id:"file-sidebar"},[l("File Sidebar "),e("a",{class:"header-anchor",href:"#file-sidebar"},"#")],-1),oe=e("p",null,"The file sidebar also includes the following details, which are not editable and serve as metadata.",-1),ie=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/file-sidebar-20220305A.webp",alt:"File Sidebar"})],-1),ae=e("ul",null,[e("li",null,[e("strong",null,"Type"),l(" \u2013 The MIME type of the file, displayed in the App as a formatted media type.")]),e("li",null,[e("strong",null,"Dimensions"),l(" \u2013 "),e("em",null,"Images only"),l(". The width and height of the image in pixels.")]),e("li",null,[e("strong",null,"Size"),l(" \u2013 The file-size the asset takes up in the storage adapter.")]),e("li",null,[e("strong",null,"Created"),l(" \u2013 The timestamp of when the file was uploaded to the Project.")]),e("li",null,[e("strong",null,"Owner"),l(" \u2013 The User that uploaded the file to the Project.")]),e("li",null,[e("strong",null,"Modified"),l(" \u2013 The timestamp of when the file was last modified.")]),e("li",null,[e("strong",null,"Edited By"),l(" \u2013 The User that modified the File.")]),e("li",null,[e("strong",null,"Folder"),l(" \u2013 The current parent folder that contains the File.")]),e("li",null,[e("strong",null,"Metadata"),l(" \u2013 Metadata JSON dump of the File\u2019s EXIF, IPTC, and ICC information.")])],-1),se=e("h2",{id:"edit-an-image"},[l("Edit an Image "),e("a",{class:"header-anchor",href:"#edit-an-image"},"#")],-1),ne=e("p",null,"Rotate, crop, flip, or adjust aspect ratios of an image.",-1),re=e("video",{alt:"Edit an Image",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/edit-an-image-20220305A.mp4",type:"video/mp4"})],-1),de=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", click a file to open its detail page.")]),e("li",null,[l("Click the "),e("span",{mi:"",btn:"",sec:""},"tune"),l(" button in the top right to open the image editor.")]),e("li",null,[l("Make your changes and click "),e("span",{mi:"",btn:""},"check"),l(" in the top right to save the updates.")])],-1),ce=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Irreversible Change"),e("p",null,"Edits overwrite the original file on disk. This can\u2019t be reversed.")],-1),he=e("h2",{id:"upload-a-file"},[l("Upload a File "),e("a",{class:"header-anchor",href:"#upload-a-file"},"#")],-1),ue=l("We covered the File Library\u2019s three upload methods in "),pe=e("a",{href:"#how-it-works"},"How it Works",-1),fe=l(". Keep in mind that files can also be added through different Interfaces as well. For example, Users can upload an Avatar image when they fill in their User Details. Similarly, Items with an Image Field will have a file upload Interface on the Item Detail page. Files can also be "),_e=l("uploaded programmatically via the API"),me=l("."),ge=e("h2",{id:"replace-a-file"},[l("Replace a File "),e("a",{class:"header-anchor",href:"#replace-a-file"},"#")],-1),Fe=e("p",null,"When a file is replaced, its existing info and and all relationships are kept.",-1),ye=e("video",{alt:"Replace a File",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/replace-a-file-20220305A.mp4",type:"video/mp4"})],-1),be=e("ol",null,[e("li",null,"Click the Image Preview on the File Detail page. A popup will appear."),e("li",null,[l("Upload your file. You have 3 options: "),e("ul",null,[e("li",null,"Drag a file from your desktop to the popup."),e("li",null,"Click the popup area to manually select a file from your device."),e("li",null,[l("Click "),e("span",{mi:"",icon:""},"more_vert"),l(" in the popover and choose "),e("strong",null,"\u201CImport from URL\u201D"),l(".")])])])],-1),ve=e("h2",{id:"folders"},[l("Folders "),e("a",{class:"header-anchor",href:"#folders"},"#")],-1),we=e("p",null,"Folders provide the organization system for Files.",-1),ke=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/folders-20220305A.webp",alt:"Folders"})],-1),Ae=l("They can be named, renamed, and nested as sub-folders anywhere in the Folder hierarchy. Once a Folder is selected from the Navigation Bar, File Listing Page opens. The File Listing Page displays all Files within a Folder. It also enables all other features and functionalities from the "),Ce=l("Collections Page"),De=l(" such as batch editing, batch deleting, sorting, filtering, searching, etc. Folders can also be managed "),Te=l("programmatically via the API"),Ie=l("."),Pe=e("h2",{id:"create-a-folder"},[l("Create a Folder "),e("a",{class:"header-anchor",href:"#create-a-folder"},"#")],-1),Le=e("video",{alt:"Create a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/create-a-folder-20220305A.mp4",type:"video/mp4"})],-1),Me=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", click on the "),e("span",{mi:"",btn:"",sec:""},"create_new_folder"),l(" button located in the Header.")]),e("li",null,"Fill in a Folder name as desired."),e("li",null,[l("Click "),e("strong",null,"\u201CSave\u201D"),l(".")])],-1),Se=e("h2",{id:"rename-a-folder"},[l("Rename a Folder "),e("a",{class:"header-anchor",href:"#rename-a-folder"},"#")],-1),Ee=e("video",{alt:"Renaming a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/rename-a-folder-20220215A.mp4",type:"video/mp4"})],-1),He=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", right-click on the Folder you wish to rename and select \u201CRename Folder\u201D.")]),e("li",null,"Update the Folder name as desired."),e("li",null,[l("Click "),e("strong",null,"\u201CSave\u201D"),l(".")])],-1),Ue=e("h2",{id:"move-a-folder"},[l("Move a Folder "),e("a",{class:"header-anchor",href:"#move-a-folder"},"#")],-1),We=e("video",{alt:"Moving a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/move-a-folder20220305A.mp4",type:"video/mp4"})],-1),Re=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", right-click on the folder you wish to move and select "),e("strong",null,"\u201CMove to Folder\u201D"),l(". A popup will appear.")]),e("li",null,"Select a Folder to serve as the new Parent Folder."),e("li",null,[l("Click "),e("strong",null,"\u201CSave\u201D"),l(".")])],-1),xe=e("h2",{id:"delete-a-folder"},[l("Delete a Folder "),e("a",{class:"header-anchor",href:"#delete-a-folder"},"#")],-1),Be=e("video",{alt:"Deleting a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/delete-a-folder-20220215A.mp4",type:"video/mp4"})],-1),Ne=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", right-click on the Folder you wish to delete and select "),e("strong",null,"\u201CDelete Folder\u201D"),l(".")]),e("li",null,[l("Click "),e("strong",null,"\u201CDelete\u201D"),l(".")])],-1),je=e("div",{class:"tip hint"},[e("p",null,"When you delete a Folder, any nested Files and Folders will be moved one level up.")],-1),ze=e("h2",{id:"more-help"},[l("More Help "),e("a",{class:"header-anchor",href:"#more-help"},"#")],-1),Oe=e("p",null,[l("Looking for technical support for your non-enterprise project? Chat with thousands of engineers within our growing "),e("a",{href:"https://discord.com/invite/directus",target:"_blank",rel:"noopener noreferrer"},"Community on Discord")],-1),Je={setup(Ke,{expose:n}){const a={title:"File Library",modularExtension:!1};return n({frontmatter:a}),(Ve,Ye)=>{const o=s("router-link"),r=s("DocsWrapper");return d(),c(r,{frontmatter:a},{default:t(()=>[e("div",h,[u,p,f,e("div",_,[m,e("p",null,[g,i(o,{to:"/docs/reference/system/folders/"},{default:t(()=>[F]),_:1}),y,i(o,{to:"/docs/reference/files/"},{default:t(()=>[b]),_:1}),v])]),w,e("div",k,[A,e("p",null,[C,i(o,{to:"/docs/app/content-collections/"},{default:t(()=>[D]),_:1}),T])]),e("p",null,[I,P,L,M,S,i(o,{to:"/docs/configuration/users-roles-permissions.md"},{default:t(()=>[E]),_:1}),H,U,W,R,x,i(o,{to:"/docs/app/content-collections/"},{default:t(()=>[B]),_:1}),N]),j,z,O,e("p",null,[K,i(o,{to:"/docs/getting-started/glossary/#items"},{default:t(()=>[V]),_:1}),Y]),q,J,X,G,Q,Z,$,ee,le,te,oe,ie,ae,se,ne,re,de,ce,he,e("p",null,[ue,pe,fe,i(o,{to:"/docs/reference/files/"},{default:t(()=>[_e]),_:1}),me]),ge,Fe,ye,be,ve,we,ke,e("p",null,[Ae,i(o,{to:"/docs/app/content-collections/"},{default:t(()=>[Ce]),_:1}),De,i(o,{to:"/docs/docs/reference/system/folders.md"},{default:t(()=>[Te]),_:1}),Ie]),Pe,Le,Me,Se,Ee,He,Ue,We,Re,xe,Be,Ne,je,ze,Oe])]),_:1})}}};export{Je as default};
1
+ import{w as s,y as d,z as c,A as t,E as e,C as i,W as l}from"./vendor.e0a21029.js";const h={class:"markdown-body"},u=e("blockquote",null,[e("p",null,"The File Library Module aggregates all files within the Directus Project into one consolidated library. It is a full-featured Digital Asset Management (DAM) system for storing, organizing, browsing, and transforming your various files and assets.")],-1),p=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/file-library-20220307A.webp",alt:"File Library"})],-1),f=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#how-it-works"},"How it Works")]),e("li",null,[e("a",{href:"#files"},"Files")]),e("li",null,[e("a",{href:"#edit-an-image"},"Edit an Image")]),e("li",null,[e("a",{href:"#upload-a-file"},"Upload a File")]),e("li",null,[e("a",{href:"#replace-a-file"},"Replace a File")]),e("li",null,[e("a",{href:"#folders"},"Folders")]),e("li",null,[e("a",{href:"#create-a-folder"},"Create a Folder")]),e("li",null,[e("a",{href:"#rename-a-folder"},"Rename a Folder")]),e("li",null,[e("a",{href:"#move-a-folder"},"Move a Folder")]),e("li",null,[e("a",{href:"#delete-a-folder"},"Delete a Folder")]),e("li",null,[e("a",{href:"#more-help"},"More Help")])])])],-1),_={class:"warning hint"},m=e("div",{class:"hint-title"},"More Documents on Folder and File Management",-1),g=l("This is a non-technical, no-code guide to the File Library Module. Please note there is documentation on programmatic "),F=l("Folder"),y=l(" and "),b=l("File"),v=l(" management via the API."),w=e("h2",{id:"how-it-works"},[l("How it Works "),e("a",{class:"header-anchor",href:"#how-it-works"},"#")],-1),k={class:"tip hint"},A=e("div",{class:"hint-title"},"Required Knowledge",-1),C=l("Familiarity with the "),D=l("Collections Page"),T=l(" will be helpful but not necessary."),I=l("The File Library acts as one big "),P=e("a",{href:"#folders"},"Folder",-1),L=l(" to store all uploaded "),M=e("a",{href:"#files"},"Files",-1),S=l(". Sub-folders can be created within the File Library to help Files stay organized. Folders and File information are stored in regular Collections, which means "),E=l("User and Role access permissions"),H=l(" are fully configurable and granular on both Folders and Files. Multiple files can be uploaded at once through the app and also programmatically via the API. Any type of file can be uploaded, "),U=e("em",null,"not just images",-1),W=l(". When a Folder is selected from the Navigation Bar, the "),R=e("a",{href:"#folders"},"File Listing Page",-1),x=l(" is presented. This page has all the same features and functionalities as the "),B=l("Collections Page"),N=l("."),j=e("video",{title:"How the File Library Works",autoplay:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/how-it-works-20220305A.mp4",type:"video/mp4"}),e("p",null,[l(" Your browser is not displaying the video for some reason. Here's a "),e("a",{href:""},"link to the video"),l(" instead. ")])],-1),z=e("ol",null,[e("li",null,[l("Select a Folder. There are two options: "),e("ul",null,[e("li",null,"Choose desired Folder from the Navigation Bar."),e("li",null,[l("Click "),e("span",{mi:"",btn:"",sec:""},"create_new_folder"),l(" in the Page Header, name your folder, and click "),e("strong",null,"\u201CSave\u201D"),l(".")])])]),e("li",null,[l("Click "),e("span",{mi:"",btn:""},"add"),l(" in the Page Header. A popover will appear.")]),e("li",null,[l("Upload your file. You have 3 options: "),e("ul",null,[e("li",null,"Drag a file from your desktop to the popup."),e("li",null,"Click the popup area to manually select a file from your device."),e("li",null,[l("Click "),e("span",{mi:"",icon:""},"more_vert"),l(" in the popover and choose "),e("strong",null,"\u201CImport from URL\u201D"),l(".")])])]),e("li",null,"Optional: Click the File Display to open the File Details Page and fill in information as desired.")],-1),O=e("h2",{id:"files"},[l("Files "),e("a",{class:"header-anchor",href:"#files"},"#")],-1),K=l("When a file is clicked in the File Listing Page, the File Details Page appears. This is a custom form for viewing assets and embeds, with core Fields included out-of-the-box (see below), and the ability for Administrators to add additional custom Fields. This page has the same features and functionality as the "),V=l("Item Details Page"),Y=l("."),q=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/files-20220305A.webp",alt:"Files"})],-1),J=e("h3",{id:"action-buttons"},[l("Action Buttons "),e("a",{class:"header-anchor",href:"#action-buttons"},"#")],-1),X=e("p",null,"Notice the following Buttons in the Header:",-1),G=e("ul",null,[e("li",null,[e("span",{mi:"",btn:""},"check"),l(" \u2013 Saves any edits made to the file.")]),e("li",null,[e("span",{mi:"",btn:"",sec:""},"tune"),l(" \u2013 Please see "),e("a",{href:"#edit-an-image"},"Edit an Image"),l(" to learn more.")]),e("li",null,[e("span",{mi:"",btn:"",sec:""},"save_alt"),l(" \u2013 Downloads the file to your current device.")]),e("li",null,[e("span",{mi:"",btn:"",sec:""},"drive_file_move"),l(" \u2013 Moves selected File(s) to another Folder.")]),e("li",null,[e("span",{mi:"",btn:"",dngr:""},"delete"),l(" \u2013 Permanently removes the File and its metadata. This action is permanent and cannot be undone.")])],-1),Q=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Deleting Files Linked to Items"),e("p",null,[l("By default, Directus will not allow you to delete a File until you remove it from any and all related Items. However, this behavior can be reconfigured so that Files automatically update when the image is deleted by setting the relational constraint of your File Field to "),e("code",null,"SET NULL"),l(" or "),e("code",null,"CASCADE"),l(" when the File is deleted.")])],-1),Z=e("h3",{id:"file-details"},[l("File Details "),e("a",{class:"header-anchor",href:"#file-details"},"#")],-1),$=e("p",null,[l("The Files Collection comes pre-configured with the following Fields out of the box. New Fields can be created and customized as needed in "),e("strong",null,"Settings > Data Model"),l(". However the pre-configured Fields cannot be changed or deleted.")],-1),ee=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/file-details-20220305A.webp",alt:"File Details"})],-1),le=e("ul",null,[e("li",null,[e("strong",null,"Preview"),l(" \u2013 A preview of the image or file.")]),e("li",null,[e("strong",null,"Title"),l(" \u2013 A title for the File.")]),e("li",null,[e("strong",null,"Description"),l(" \u2013 A description of the File.")]),e("li",null,[e("strong",null,"Tags"),l(" \u2013 Keywords used for search-ability.")]),e("li",null,[e("strong",null,"Location"),l(" \u2013 An optional location "),e("em",null,"(e.g. where a photo was taken)"),l(".")]),e("li",null,[e("strong",null,"Storage"),l(" \u2013 Which storage adapter is used to store the file asset.")]),e("li",null,[e("strong",null,"Filename (Disk)"),l(" \u2013 LOCKED. This is the actual name of the file in storage.")]),e("li",null,[e("strong",null,"Filename (Download)"),l(" \u2013 Allows you to set the name of the file when it is downloaded.")])],-1),te=e("h3",{id:"file-sidebar"},[l("File Sidebar "),e("a",{class:"header-anchor",href:"#file-sidebar"},"#")],-1),oe=e("p",null,"The file sidebar also includes the following details, which are not editable and serve as metadata.",-1),ie=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/file-sidebar-20220305A.webp",alt:"File Sidebar"})],-1),ae=e("ul",null,[e("li",null,[e("strong",null,"Type"),l(" \u2013 The MIME type of the file, displayed in the App as a formatted media type.")]),e("li",null,[e("strong",null,"Dimensions"),l(" \u2013 "),e("em",null,"Images only"),l(". The width and height of the image in pixels.")]),e("li",null,[e("strong",null,"Size"),l(" \u2013 The file-size the asset takes up in the storage adapter.")]),e("li",null,[e("strong",null,"Created"),l(" \u2013 The timestamp of when the file was uploaded to the Project.")]),e("li",null,[e("strong",null,"Owner"),l(" \u2013 The User that uploaded the file to the Project.")]),e("li",null,[e("strong",null,"Modified"),l(" \u2013 The timestamp of when the file was last modified.")]),e("li",null,[e("strong",null,"Edited By"),l(" \u2013 The User that modified the File.")]),e("li",null,[e("strong",null,"Folder"),l(" \u2013 The current parent folder that contains the File.")]),e("li",null,[e("strong",null,"Metadata"),l(" \u2013 Metadata JSON dump of the File\u2019s EXIF, IPTC, and ICC information.")])],-1),se=e("h2",{id:"edit-an-image"},[l("Edit an Image "),e("a",{class:"header-anchor",href:"#edit-an-image"},"#")],-1),ne=e("p",null,"Rotate, crop, flip, or adjust aspect ratios of an image.",-1),re=e("video",{alt:"Edit an Image",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/edit-an-image-20220305A.mp4",type:"video/mp4"})],-1),de=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", click a file to open its detail page.")]),e("li",null,[l("Click the "),e("span",{mi:"",btn:"",sec:""},"tune"),l(" button in the top right to open the image editor.")]),e("li",null,[l("Make your changes and click "),e("span",{mi:"",btn:""},"check"),l(" in the top right to save the updates.")])],-1),ce=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Irreversible Change"),e("p",null,"Edits overwrite the original file on disk. This can\u2019t be reversed.")],-1),he=e("h2",{id:"upload-a-file"},[l("Upload a File "),e("a",{class:"header-anchor",href:"#upload-a-file"},"#")],-1),ue=l("We covered the File Library\u2019s three upload methods in "),pe=e("a",{href:"#how-it-works"},"How it Works",-1),fe=l(". Keep in mind that files can also be added through different Interfaces as well. For example, Users can upload an Avatar image when they fill in their User Details. Similarly, Items with an Image Field will have a file upload Interface on the Item Detail page. Files can also be "),_e=l("uploaded programmatically via the API"),me=l("."),ge=e("h2",{id:"replace-a-file"},[l("Replace a File "),e("a",{class:"header-anchor",href:"#replace-a-file"},"#")],-1),Fe=e("p",null,"When a file is replaced, its existing info and all relationships are kept.",-1),ye=e("video",{alt:"Replace a File",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/replace-a-file-20220305A.mp4",type:"video/mp4"})],-1),be=e("ol",null,[e("li",null,"Click the Image Preview on the File Detail page. A popup will appear."),e("li",null,[l("Upload your file. You have 3 options: "),e("ul",null,[e("li",null,"Drag a file from your desktop to the popup."),e("li",null,"Click the popup area to manually select a file from your device."),e("li",null,[l("Click "),e("span",{mi:"",icon:""},"more_vert"),l(" in the popover and choose "),e("strong",null,"\u201CImport from URL\u201D"),l(".")])])])],-1),ve=e("h2",{id:"folders"},[l("Folders "),e("a",{class:"header-anchor",href:"#folders"},"#")],-1),we=e("p",null,"Folders provide the organization system for Files.",-1),ke=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/folders-20220305A.webp",alt:"Folders"})],-1),Ae=l("They can be named, renamed, and nested as sub-folders anywhere in the Folder hierarchy. Once a Folder is selected from the Navigation Bar, File Listing Page opens. The File Listing Page displays all Files within a Folder. It also enables all other features and functionalities from the "),Ce=l("Collections Page"),De=l(" such as batch editing, batch deleting, sorting, filtering, searching, etc. Folders can also be managed "),Te=l("programmatically via the API"),Ie=l("."),Pe=e("h2",{id:"create-a-folder"},[l("Create a Folder "),e("a",{class:"header-anchor",href:"#create-a-folder"},"#")],-1),Le=e("video",{alt:"Create a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/create-a-folder-20220305A.mp4",type:"video/mp4"})],-1),Me=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", click on the "),e("span",{mi:"",btn:"",sec:""},"create_new_folder"),l(" button located in the Header.")]),e("li",null,"Fill in a Folder name as desired."),e("li",null,[l("Click "),e("strong",null,"\u201CSave\u201D"),l(".")])],-1),Se=e("h2",{id:"rename-a-folder"},[l("Rename a Folder "),e("a",{class:"header-anchor",href:"#rename-a-folder"},"#")],-1),Ee=e("video",{alt:"Renaming a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/rename-a-folder-20220215A.mp4",type:"video/mp4"})],-1),He=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", right-click on the Folder you wish to rename and select \u201CRename Folder\u201D.")]),e("li",null,"Update the Folder name as desired."),e("li",null,[l("Click "),e("strong",null,"\u201CSave\u201D"),l(".")])],-1),Ue=e("h2",{id:"move-a-folder"},[l("Move a Folder "),e("a",{class:"header-anchor",href:"#move-a-folder"},"#")],-1),We=e("video",{alt:"Moving a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/file-library-20220305A/move-a-folder20220305A.mp4",type:"video/mp4"})],-1),Re=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", right-click on the folder you wish to move and select "),e("strong",null,"\u201CMove to Folder\u201D"),l(". A popup will appear.")]),e("li",null,"Select a Folder to serve as the new Parent Folder."),e("li",null,[l("Click "),e("strong",null,"\u201CSave\u201D"),l(".")])],-1),xe=e("h2",{id:"delete-a-folder"},[l("Delete a Folder "),e("a",{class:"header-anchor",href:"#delete-a-folder"},"#")],-1),Be=e("video",{alt:"Deleting a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/delete-a-folder-20220215A.mp4",type:"video/mp4"})],-1),Ne=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", right-click on the Folder you wish to delete and select "),e("strong",null,"\u201CDelete Folder\u201D"),l(".")]),e("li",null,[l("Click "),e("strong",null,"\u201CDelete\u201D"),l(".")])],-1),je=e("div",{class:"tip hint"},[e("p",null,"When you delete a Folder, any nested Files and Folders will be moved one level up.")],-1),ze=e("h2",{id:"more-help"},[l("More Help "),e("a",{class:"header-anchor",href:"#more-help"},"#")],-1),Oe=e("p",null,[l("Looking for technical support for your non-enterprise project? Chat with thousands of engineers within our growing "),e("a",{href:"https://discord.com/invite/directus",target:"_blank",rel:"noopener noreferrer"},"Community on Discord")],-1),Je={setup(Ke,{expose:n}){const a={title:"File Library",modularExtension:!1};return n({frontmatter:a}),(Ve,Ye)=>{const o=s("router-link"),r=s("DocsWrapper");return d(),c(r,{frontmatter:a},{default:t(()=>[e("div",h,[u,p,f,e("div",_,[m,e("p",null,[g,i(o,{to:"/docs/reference/system/folders/"},{default:t(()=>[F]),_:1}),y,i(o,{to:"/docs/reference/files/"},{default:t(()=>[b]),_:1}),v])]),w,e("div",k,[A,e("p",null,[C,i(o,{to:"/docs/app/content-collections/"},{default:t(()=>[D]),_:1}),T])]),e("p",null,[I,P,L,M,S,i(o,{to:"/docs/configuration/users-roles-permissions.md"},{default:t(()=>[E]),_:1}),H,U,W,R,x,i(o,{to:"/docs/app/content-collections/"},{default:t(()=>[B]),_:1}),N]),j,z,O,e("p",null,[K,i(o,{to:"/docs/getting-started/glossary/#items"},{default:t(()=>[V]),_:1}),Y]),q,J,X,G,Q,Z,$,ee,le,te,oe,ie,ae,se,ne,re,de,ce,he,e("p",null,[ue,pe,fe,i(o,{to:"/docs/reference/files/"},{default:t(()=>[_e]),_:1}),me]),ge,Fe,ye,be,ve,we,ke,e("p",null,[Ae,i(o,{to:"/docs/app/content-collections/"},{default:t(()=>[Ce]),_:1}),De,i(o,{to:"/docs/docs/reference/system/folders.md"},{default:t(()=>[Te]),_:1}),Ie]),Pe,Le,Me,Se,Ee,He,Ue,We,Re,xe,Be,Ne,je,ze,Oe])]),_:1})}}};export{Je as default};
@@ -1,4 +1,4 @@
1
- import{w as o,y as c,z as h,A as l,E as e,C as a,W as s}from"./vendor.c37f7cab.js";const d={class:"markdown-body"},u=e("div",{class:"two-up"},[e("div",{class:"left"},[e("blockquote",null,[e("p",null,[s("Every file managed by the platform is uploaded to the configured storage adapter, and its associated metadata is tracked within the "),e("code",null,"directus_files"),s(" system collection. Any requested file transformations are handled on the fly, and are only saved to storage.")])])]),e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#accessing-an-file"},"Accessing an File")]),e("li",null,[e("a",{href:"#downloading-a-file"},"Downloading a File")]),e("li",null,[e("a",{href:"#requesting-a-thumbnail"},"Requesting a Thumbnail")]),e("li",null,[e("a",{href:"#the-file-object"},"The File Object")]),e("li",null,[e("a",{href:"#list-files"},"List Files")]),e("li",null,[e("a",{href:"#retrieve-a-file"},"Retrieve a File")]),e("li",null,[e("a",{href:"#upload-a-file"},"Upload a File")]),e("li",null,[e("a",{href:"#import-a-file"},"Import a File")]),e("li",null,[e("a",{href:"#update-a-file"},"Update a File")]),e("li",null,[e("a",{href:"#update-multiple-files"},"Update Multiple Files")]),e("li",null,[e("a",{href:"#delete-a-file"},"Delete a File")]),e("li",null,[e("a",{href:"#delete-multiple-files"},"Delete Multiple Files")])])])])])],-1),p=e("hr",null,null,-1),f=e("h2",{id:"accessing-an-file"},[s("Accessing an File "),e("a",{class:"header-anchor",href:"#accessing-an-file"},"#")],-1),_=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"The location of your actual file originals is based on the project\u2019s configuration, but you can consistently access them via the API using the following URL."),e("pre",null,[e("code",null,`example.com/assets/<file-id>
1
+ import{w as o,y as c,z as h,A as l,E as e,C as a,W as s}from"./vendor.e0a21029.js";const d={class:"markdown-body"},u=e("div",{class:"two-up"},[e("div",{class:"left"},[e("blockquote",null,[e("p",null,[s("Every file managed by the platform is uploaded to the configured storage adapter, and its associated metadata is tracked within the "),e("code",null,"directus_files"),s(" system collection. Any requested file transformations are handled on the fly, and are only saved to storage.")])])]),e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#accessing-an-file"},"Accessing an File")]),e("li",null,[e("a",{href:"#downloading-a-file"},"Downloading a File")]),e("li",null,[e("a",{href:"#requesting-a-thumbnail"},"Requesting a Thumbnail")]),e("li",null,[e("a",{href:"#the-file-object"},"The File Object")]),e("li",null,[e("a",{href:"#list-files"},"List Files")]),e("li",null,[e("a",{href:"#retrieve-a-file"},"Retrieve a File")]),e("li",null,[e("a",{href:"#upload-a-file"},"Upload a File")]),e("li",null,[e("a",{href:"#import-a-file"},"Import a File")]),e("li",null,[e("a",{href:"#update-a-file"},"Update a File")]),e("li",null,[e("a",{href:"#update-multiple-files"},"Update Multiple Files")]),e("li",null,[e("a",{href:"#delete-a-file"},"Delete a File")]),e("li",null,[e("a",{href:"#delete-multiple-files"},"Delete Multiple Files")])])])])])],-1),p=e("hr",null,null,-1),f=e("h2",{id:"accessing-an-file"},[s("Accessing an File "),e("a",{class:"header-anchor",href:"#accessing-an-file"},"#")],-1),_=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"The location of your actual file originals is based on the project\u2019s configuration, but you can consistently access them via the API using the following URL."),e("pre",null,[e("code",null,`example.com/assets/<file-id>
2
2
  example.com/assets/1ac73658-8b62-4dea-b6da-529fbc9d01a4
3
3
  `)]),e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Direct File Access"),e("p",null,[s("While you may "),e("em",null,"technically"),s(" be able to expose your storage adapters root filesystem and access your raw files through there, it is recommended that you always use the Directus API. This is the only way that you can take advantage of file permissions and other built-in features.")])])]),e("div",{class:"right"},[e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/reference/files/original-20220216A.jpg",alt:"Original File"}),s(),e("em",null,"Original File Used \u2014 602KB and 1800x1200")])])],-1),m=e("hr",null,null,-1),g=e("h2",{id:"downloading-a-file"},[s("Downloading a File "),e("a",{class:"header-anchor",href:"#downloading-a-file"},"#")],-1),y=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[s("To download an asset with the correct filename, you need to add the "),e("code",null,"?download"),s(" query parameter to the request and the "),e("code",null,"download"),s(" attribute to your anchor tag. This will ensure the appropriate "),e("a",{href:"https://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html",target:"_blank",rel:"noopener noreferrer"},"Content-Disposition"),s(" headers are added. Without this, the download will work on the "),e("em",null,"same"),s(" domain, however it will have the file\u2019s \u201Cid\u201D as the filename for cross-origin requests.")])]),e("div",{class:"right"},[e("h3",{id:"example"},[s("Example "),e("a",{class:"header-anchor",href:"#example"},"#")]),e("pre",null,[e("code",{class:"language-html"},[e("span",{class:"hljs-tag"},[s("<"),e("span",{class:"hljs-name"},"a"),s(),e("span",{class:"hljs-attr"},"href"),s("="),e("span",{class:"hljs-string"},'"https://your-directus.com/assets/<file-id>?download"'),s(),e("span",{class:"hljs-attr"},"target"),s("="),e("span",{class:"hljs-string"},'"_blank"'),s(),e("span",{class:"hljs-attr"},"download"),s("="),e("span",{class:"hljs-string"},'"Your File.pdf"'),s(">")]),s("Download"),e("span",{class:"hljs-tag"},[s("</"),e("span",{class:"hljs-name"},"a"),s(">")]),s(`
4
4
  `)])])])],-1),b=e("hr",null,null,-1),j=e("h2",{id:"requesting-a-thumbnail"},[s("Requesting a Thumbnail "),e("a",{class:"header-anchor",href:"#requesting-a-thumbnail"},"#")],-1),v={class:"two-up"},q={class:"left"},w=e("p",null,[s("Fetching thumbnails is as easy as adding a "),e("code",null,"key"),s(" query parameter to the original file\u2019s URL. In the Admin App, you can configure different asset presets that control the output of any given image. If a requested thumbnail doesn\u2019t yet exist, it is dynamically generated and immediately returned.")],-1),x=e("h3",{id:"preset-transformations"},[s("Preset Transformations "),e("a",{class:"header-anchor",href:"#preset-transformations"},"#")],-1),T=e("strong",null,[e("code",null,"key")],-1),k=s(" \u2014 This "),R=e("strong",null,"key",-1),E=s(" of the "),A=s("Storage Asset Preset"),D=s(", a shortcut for the below parameters"),P=e("h3",{id:"custom-transformations"},[s("Custom Transformations "),e("a",{class:"header-anchor",href:"#custom-transformations"},"#")],-1),F=e("p",null,"Alternatively, if you have \u201CStorage Asset Transform\u201D set to all, you can use the following parameters for more fine grained control:",-1),S=e("ul",null,[e("li",null,[e("strong",null,[e("code",null,"fit")]),s(" \u2014 The "),e("strong",null,"fit"),s(" of the thumbnail while always preserving the aspect ratio, can be any of the following options: "),e("ul",null,[e("li",null,[e("code",null,"cover"),s(" \u2014 Covers both width/height by cropping/clipping to fit")]),e("li",null,[e("code",null,"contain"),s(" \u2014 Contain within both width/height using \u201Cletterboxing\u201D as needed")]),e("li",null,[e("code",null,"inside"),s(" \u2014 Resize to be as large as possible, ensuring dimensions are less than or equal to the requested width and height")]),e("li",null,[e("code",null,"outside"),s(" \u2014 Resize to be as small as possible, ensuring dimensions are greater than or equal to the requested width and height")])])]),e("li",null,[e("strong",null,[e("code",null,"width")]),s(" \u2014 The "),e("strong",null,"width"),s(" of the thumbnail in pixels")]),e("li",null,[e("strong",null,[e("code",null,"height")]),s(" \u2014 The "),e("strong",null,"height"),s(" of the thumbnail in pixels")]),e("li",null,[e("strong",null,[e("code",null,"quality")]),s(" \u2014 The optional "),e("strong",null,"quality"),s(" of the thumbnail ("),e("code",null,"1"),s(" to "),e("code",null,"100"),s(")")]),e("li",null,[e("strong",null,[e("code",null,"withoutEnlargement")]),s(" \u2014 Disable image up-scaling")]),e("li",null,[e("strong",null,[e("code",null,"format")]),s(" \u2014 What file format to return the thumbnail in. One of "),e("code",null,"jpg"),s(", "),e("code",null,"png"),s(", "),e("code",null,"webp"),s(", "),e("code",null,"tiff")])],-1),C=e("h3",{id:"advanced-transformations"},[s("Advanced Transformations "),e("a",{class:"header-anchor",href:"#advanced-transformations"},"#")],-1),I=e("p",null,[s("For even more advanced control over the file generation, Directus exposes "),e("a",{href:"https://sharp.pixelplumbing.com/api-operation",target:"_blank",rel:"noopener noreferrer"},[s("the full "),e("code",null,"sharp"),s(" API")]),s(" through the "),e("code",null,"transforms"),s(" query parameter. This parameter accepts a two-dimensional array with the format "),e("code",null,"[Operation, ...arguments]"),s(".")],-1),O=e("h3",{id:"quality-vs-filesize"},[s("Quality vs Filesize "),e("a",{class:"header-anchor",href:"#quality-vs-filesize"},"#")],-1),Q=e("p",null,[s("The quality parameter can be any integer from "),e("code",null,"0-100"),s(". Qualities closer to "),e("code",null,"0"),s(" have lower filesizes, but also poor image quality due to compression artifacts. Values closer to "),e("code",null,"100"),s(" have larger filesizes, but better image quality. Below are four possible qualities (200x200 cover) to visually compare the balance between compression and filesize.")],-1),L=e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"25%"),e("th",null,"50%"),e("th",null,"75%"),e("th",null,"100%")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("img",{src:"https://cdn.directus.io/docs/v9/reference/files/200-200-cover-25-20220216A.jpg",alt:"25%"}),e("br"),e("em",null,"4KB")]),e("td",null,[e("img",{src:"https://cdn.directus.io/docs/v9/reference/files/200-200-cover-50-20220216A.jpg",alt:"50%"}),e("br"),e("em",null,"6KB")]),e("td",null,[e("img",{src:"https://cdn.directus.io/docs/v9/reference/files/200-200-cover-75-20220216A.jpg",alt:"75%"}),e("br"),e("em",null,"8KB")]),e("td",null,[e("img",{src:"https://cdn.directus.io/docs/v9/reference/files/200-200-cover-100-20220216A.jpg",alt:"100%"}),e("br"),e("em",null,"38KB")])])])],-1),X=e("div",{class:"right"},[e("h3",{id:"preset"},[s("Preset "),e("a",{class:"header-anchor",href:"#preset"},"#")]),e("pre",null,[e("code",null,`example.com/assets/<file-id>?key=<key>
@@ -1,4 +1,4 @@
1
- import{w as s,y as r,z as o,A as u,E as l,W as t}from"./vendor.c37f7cab.js";const i=l("div",{class:"markdown-body"},[l("blockquote",null,[l("p",null,[t("Permissions, validation, and the API\u2019s "),l("code",null,"filter"),t(" parameter all rely on a specific JSON structure to define their rules. This page describes the syntax for creating flat, relational, or complex filter rules.")])]),l("p",null,[l("div",{class:"table-of-contents"},[l("ul",null,[l("li",null,[l("a",{href:"#syntax"},"Syntax")]),l("li",null,[l("a",{href:"#filter-operators"},"Filter Operators")]),l("li",null,[l("a",{href:"#relational"},"Relational")]),l("li",null,[l("a",{href:"#logical-operators"},"Logical Operators")]),l("li",null,[l("a",{href:"#dynamic-variables"},"Dynamic Variables")])])])]),l("h2",{id:"syntax"},[t("Syntax "),l("a",{class:"header-anchor",href:"#syntax"},"#")]),l("ul",null,[l("li",null,[l("strong",null,"Field"),t(" \u2014 Any valid root field, "),l("a",{href:"#relational"},"relational field"),t(", or "),l("a",{href:"#logical-operators"},"logical operator")]),l("li",null,[l("strong",null,"Operator"),t(" \u2014 Any valid "),l("a",{href:"#filter-operators"},"filter operator")]),l("li",null,[l("strong",null,"Value"),t(" \u2014 Any valid static value, or "),l("a",{href:"#dynamic-variables"},"dynamic variable")])]),l("pre",null,[l("code",null,`{
1
+ import{w as s,y as r,z as o,A as u,E as l,W as t}from"./vendor.e0a21029.js";const i=l("div",{class:"markdown-body"},[l("blockquote",null,[l("p",null,[t("Permissions, validation, and the API\u2019s "),l("code",null,"filter"),t(" parameter all rely on a specific JSON structure to define their rules. This page describes the syntax for creating flat, relational, or complex filter rules.")])]),l("p",null,[l("div",{class:"table-of-contents"},[l("ul",null,[l("li",null,[l("a",{href:"#syntax"},"Syntax")]),l("li",null,[l("a",{href:"#filter-operators"},"Filter Operators")]),l("li",null,[l("a",{href:"#relational"},"Relational")]),l("li",null,[l("a",{href:"#logical-operators"},"Logical Operators")]),l("li",null,[l("a",{href:"#dynamic-variables"},"Dynamic Variables")])])])]),l("h2",{id:"syntax"},[t("Syntax "),l("a",{class:"header-anchor",href:"#syntax"},"#")]),l("ul",null,[l("li",null,[l("strong",null,"Field"),t(" \u2014 Any valid root field, "),l("a",{href:"#relational"},"relational field"),t(", or "),l("a",{href:"#logical-operators"},"logical operator")]),l("li",null,[l("strong",null,"Operator"),t(" \u2014 Any valid "),l("a",{href:"#filter-operators"},"filter operator")]),l("li",null,[l("strong",null,"Value"),t(" \u2014 Any valid static value, or "),l("a",{href:"#dynamic-variables"},"dynamic variable")])]),l("pre",null,[l("code",null,`{
2
2
  <field>: {
3
3
  <operator>: <value>
4
4
  }
@@ -1 +1 @@
1
- import{w as n,y as d,z as c,A as o,E as e,C as i,W as t}from"./vendor.c37f7cab.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"Filters allow you to conditionally select Items from a Collection. Use-cases include customizing Item search results, restricting Item access permissions for specific Users or Roles, building dashboard analytics with the Insights module, and more.")],-1),_=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/filters-20220303A.webp",alt:"Filters"})],-1),p=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#how-it-works"},"How it Works")]),e("li",null,[e("a",{href:"#and%2For-groups"},"AND/OR Groups")]),e("li",null,[e("a",{href:"#dynamic-variables"},"Dynamic Variables")]),e("li",null,[e("a",{href:"#filtering-by-related-collections"},"Filtering by Related Collections")]),e("li",null,[e("a",{href:"#unfilterable-fields"},"Unfilterable Fields")]),e("li",null,[e("a",{href:"#extensibility-options"},"Extensibility Options")]),e("li",null,[e("a",{href:"#more-help"},"More Help")])])])],-1),f={class:"warning hint"},m=e("div",{class:"hint-title"},"There Are Two Filters Documents",-1),g=t("This page is a non-technical guide to using Filters. For more technical info, see "),y=t("Filter-Rules"),b=t("."),w=e("h2",{id:"how-it-works"},[t("How it Works "),e("a",{class:"header-anchor",href:"#how-it-works"},"#")],-1),v={class:"tip hint"},F=e("div",{class:"hint-title"},"Assumed Knowledge",-1),A=t("Filters are intuitive to use, but get quite nuanced as complexity increases. In order to use Filters effectively, you will need to understand the Field "),C=t("(aka "),k=t("data model"),O=t(")"),R=t(" being filtered as well as any relevant "),x=t("Users, Roles and Permissions"),D=t("."),N=t("A basic filter is composed of 3 parts: A "),G=e("strong",null,"Field",-1),I=t(" from the Collection being Filtered, a logical "),V=t("Operator"),W=t(", and some specified "),E=e("strong",null,"Value",-1),H=t(" to filter for within each Item\u2019s Field."),T=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/how-filters-work-20220303A.mp4",type:"video/mp4"})],-1),U=e("ol",{start:"2"},[e("li",null,[t("Click "),e("span",{mi:"",icon:""},"filter_list"),t(" or "),e("strong",null,"\u201CAdd Filter\u201D"),t(".")]),e("li",null,"Select the Field to filter by."),e("li",null,"Select the Operator as desired."),e("li",null,"Define the Value to filter for.")],-1),S=e("p",null,[t("From here, you can set multiple Filters at once, filter by "),e("a",{href:"#filtering-by-related-collections"},"Fields in related Collections"),t(", set Values with "),e("a",{href:"#dynamic-variables"},"Dynamic Variables"),t(", as well as apply "),e("a",{href:"#and-or-groups"},"AND/OR Groups"),t(".")],-1),B={class:"tip hint"},j=e("div",{class:"hint-title"},"Operators",-1),$=t("The Field type will determine the kinds of Operators that can be used on it. In fact, some Fields cannot be filtered at all (read more in "),P=e("a",{href:"#unfilterable-fields"},"Unfilterable Fields",-1),q=t("). Once a Field is selected, the permitted operators will automatically display. An exhaustive list of Operators and what they do can be found in the more technical "),z=t("Filter Rules"),L=t(" document."),M=e("h2",{id:"and%2For-groups"},[t("AND/OR Groups "),e("a",{class:"header-anchor",href:"#and%2For-groups"},"#")],-1),Y=e("p",null,[e("code",null,"AND"),t(" Groups give the option to filter for Items that meet "),e("em",null,"all of several criteria"),t(". On the other hand, "),e("code",null,"OR"),t(" Groups filter for Items that meet "),e("em",null,"any one of several criteria"),t(".")],-1),K=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/and-or-groups-20220303A.webp",alt:"AND/OR Groups"})],-1),J=e("ol",null,[e("li",null,"Click \u201CAdd Filter\u201D."),e("li",null,"Click \u201CAnd/OR Group\u201D at the very top of the dropdown menu."),e("li",null,[t("Click the AND/OR text to toggle: "),e("ul",null,[e("li",null,[e("code",null,"AND"),t(" \u2013 Selects Items that meet every single criteria.")]),e("li",null,[e("code",null,"OR"),t(" \u2013 Selects Items that meet one of several criteria.")])])]),e("li",null,"Click \u201CAdd Filter\u201D again."),e("li",null,"Configure the Field, Operator, and Value as desired."),e("li",null,[t("Click and hold "),e("span",{mi:"",icon:""},"drag_indicator"),t(" to drag a Filter and nest it under an AND/OR Group.")])],-1),Q=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Why do we need AND Groups?"),e("p",null,[t("Filters actually default to "),e("code",null,"AND"),t(" Group behavior automatically. However, when Filters are nested inside of an OR Group, they of course switch to "),e("code",null,"OR"),t(" Group behavior. So an AND Group is necessary in cases where you want to meet multiple conditions inside of OR Groups.")])],-1),X=e("h2",{id:"dynamic-variables"},[t("Dynamic Variables "),e("a",{class:"header-anchor",href:"#dynamic-variables"},"#")],-1),Z=e("p",null,"The following video shows how to filter for Blog posts written within the past 60 days.",-1),ee=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/dynamic-variables-20220307A.mp4",type:"video/mp4"})],-1),te=t("The following Dynamic Variables are built into Directus to make Filtering easier: "),oe=e("code",null,"$CURRENT_USER",-1),le=t(", "),ie=e("code",null,"$CURRENT_ROLE",-1),se=t(", "),ne=e("code",null,"$NOW",-1),re=t(" and "),ae=e("code",null,"$NOW(<adjustment>)",-1),de=t(". For more information, please see the Dynamic Variables section in "),ce=t("Filter Rules"),ue=t("."),he=e("h2",{id:"filtering-by-related-collections"},[t("Filtering by Related Collections "),e("a",{class:"header-anchor",href:"#filtering-by-related-collections"},"#")],-1),_e=e("p",null,[t("You may need to run filters on one Collection "),e("em",null,"based on information in another related Collection"),t(". Here are a few examples of when that might happen:")],-1),pe=e("ul",null,[e("li",null,[t("Book authors that also wrote screenplays (filters "),e("code",null,"authors"),t(", uses "),e("code",null,"screenplays"),t(").")]),e("li",null,[t("Products with a 5 star customer review (filters "),e("code",null,"products"),t(", uses "),e("code",null,"reviews"),t(").")]),e("li",null,[t("Accounts with active user login within the last 12 months (filters "),e("code",null,"accounts"),t(", uses "),e("code",null,"logins"),t(").")])],-1),fe=e("p",null,[t("This can span across any number of relationally linked Collections. For example, you could filter for customers that bought rock songs, where the "),e("code",null,"customers"),t(" and "),e("code",null,"genres"),t(" Collections are linked by "),e("code",null,"customers"),t(" -> "),e("code",null,"invoices"),t(" -> "),e("code",null,"invoice-items"),t(" -> "),e("code",null,"tracks"),t(" -> "),e("code",null,"genres"),t(".")],-1),me=t("You will notice a "),ge=e("span",{mi:"",icon:""},"chevron_right",-1),ye=t(" icon beside relational Fields. When you click on any "),be=t("Alias"),we=t(" Field, all the Fields for that associated Collection pop down. If you select one of these Fields, you can run Filters on the current Collection by Field values in a related Collection."),ve=e("p",null,"Here are step-by-step instructions on how to filter by Fields in other Collections:",-1),Fe=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/filtering-by-related-collections-20220303A.mp4",type:"video/mp4"})],-1),Ae=e("ol",null,[e("li",null,"Click \u201CAdd Filter\u201D."),e("li",null,"Click the desired relational Field. This will pop down and display the related Collection Fields."),e("li",null,"Select a Field from this related Collection."),e("li",null,"Set the Operator and Value as desired.")],-1),Ce=e("h2",{id:"unfilterable-fields"},[t("Unfilterable Fields "),e("a",{class:"header-anchor",href:"#unfilterable-fields"},"#")],-1),ke=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/unfilterable-fields-20220303A.webp",alt:"Unfilterable Fields"})],-1),Oe=e("p",null,[t("Not all Fields can be filtered. As seen above in "),e("a",{href:"#filtering-by-related-collections"},"Filtering by Related Collections"),t(", Alias Fields cannot be filtered; they instead provide a dropdown menu to access Fields from a related Collection. Additionally, the \u201CPresentation\u201D and \u201CGroup\u201D Fields cannot be filtered at all and will not appear as an option in Filters.")],-1),Re=e("h2",{id:"extensibility-options"},[t("Extensibility Options "),e("a",{class:"header-anchor",href:"#extensibility-options"},"#")],-1),xe=e("p",null,"Directus Core is completely open-source, modular and extensible. Extensions allow you to expand or modify any part of Directus to fit your needs. Here are some great resources to get started down that track.",-1),De=t("Extensions > Introduction"),Ne=t("Extensions > Creating Extensions"),Ge=t("Contributing > Introduction"),Ie=t("Contributing > Codebase Overview"),Ve=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Accelerated Development"),e("p",null,[t("Working on an enterprise project and looking to outsource or financially sponsor the development of a Shares extension? Contact "),e("a",{href:"https://directus.io/contact/",target:"_blank",rel:"noopener noreferrer"},"our team")])],-1),We=e("h2",{id:"more-help"},[t("More Help "),e("a",{class:"header-anchor",href:"#more-help"},"#")],-1),Ee=e("p",null,[t("Looking for technical support for your non-enterprise project? Chat with thousands of engineers within our growing "),e("a",{href:"https://discord.com/invite/directus",target:"_blank",rel:"noopener noreferrer"},"Community on Discord")],-1),Be={setup(He,{expose:r}){const s={title:"Filters",modularExtension:!1};return r({frontmatter:s}),(Te,Ue)=>{const l=n("router-link"),a=n("DocsWrapper");return d(),c(a,{frontmatter:s},{default:o(()=>[e("div",u,[h,_,p,e("div",f,[m,e("p",null,[g,i(l,{to:"/docs/configuration/filter-rules/"},{default:o(()=>[y]),_:1}),b])]),w,e("div",v,[F,e("p",null,[A,e("em",null,[C,i(l,{to:"/docs/configuration/data-model/"},{default:o(()=>[k]),_:1}),O]),R,i(l,{to:"/docs/configuration/users-roles-permissions.md"},{default:o(()=>[x]),_:1}),D])]),e("p",null,[N,G,I,i(l,{to:"/docs/configuration/filter-rules/#filter-operators"},{default:o(()=>[V]),_:1}),W,E,H]),T,U,S,e("div",B,[j,e("p",null,[$,P,q,i(l,{to:"/docs/configuration/filter-rules/#filter-operators"},{default:o(()=>[z]),_:1}),L])]),M,Y,K,J,Q,X,Z,ee,e("p",null,[te,oe,le,ie,se,ne,re,ae,de,i(l,{to:"/docs/configuration/filter-rules/"},{default:o(()=>[ce]),_:1}),ue]),he,_e,pe,fe,e("p",null,[me,ge,ye,i(l,{to:"/docs/getting-started/glossary/#alias"},{default:o(()=>[be]),_:1}),we]),ve,Fe,Ae,Ce,ke,Oe,Re,xe,e("ul",null,[e("li",null,[i(l,{to:"/docs/extensions/introduction/"},{default:o(()=>[De]),_:1})]),e("li",null,[i(l,{to:"/docs/extensions/creating-extensions/"},{default:o(()=>[Ne]),_:1})]),e("li",null,[i(l,{to:"/docs/contributing/introduction/"},{default:o(()=>[Ge]),_:1})]),e("li",null,[i(l,{to:"/docs/contributing/codebase-overview/"},{default:o(()=>[Ie]),_:1})])]),Ve,We,Ee])]),_:1})}}};export{Be as default};
1
+ import{w as n,y as d,z as c,A as o,E as e,C as i,W as t}from"./vendor.e0a21029.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"Filters allow you to conditionally select Items from a Collection. Use-cases include customizing Item search results, restricting Item access permissions for specific Users or Roles, building dashboard analytics with the Insights module, and more.")],-1),_=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/filters-20220303A.webp",alt:"Filters"})],-1),p=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#how-it-works"},"How it Works")]),e("li",null,[e("a",{href:"#and%2For-groups"},"AND/OR Groups")]),e("li",null,[e("a",{href:"#dynamic-variables"},"Dynamic Variables")]),e("li",null,[e("a",{href:"#filtering-by-related-collections"},"Filtering by Related Collections")]),e("li",null,[e("a",{href:"#unfilterable-fields"},"Unfilterable Fields")]),e("li",null,[e("a",{href:"#extensibility-options"},"Extensibility Options")]),e("li",null,[e("a",{href:"#more-help"},"More Help")])])])],-1),f={class:"warning hint"},m=e("div",{class:"hint-title"},"There Are Two Filters Documents",-1),g=t("This page is a non-technical guide to using Filters. For more technical info, see "),y=t("Filter-Rules"),b=t("."),w=e("h2",{id:"how-it-works"},[t("How it Works "),e("a",{class:"header-anchor",href:"#how-it-works"},"#")],-1),v={class:"tip hint"},F=e("div",{class:"hint-title"},"Assumed Knowledge",-1),A=t("Filters are intuitive to use, but get quite nuanced as complexity increases. In order to use Filters effectively, you will need to understand the Field "),C=t("(aka "),k=t("data model"),O=t(")"),R=t(" being filtered as well as any relevant "),x=t("Users, Roles and Permissions"),D=t("."),N=t("A basic filter is composed of 3 parts: A "),G=e("strong",null,"Field",-1),I=t(" from the Collection being Filtered, a logical "),V=t("Operator"),W=t(", and some specified "),E=e("strong",null,"Value",-1),H=t(" to filter for within each Item\u2019s Field."),T=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/how-filters-work-20220303A.mp4",type:"video/mp4"})],-1),U=e("ol",{start:"2"},[e("li",null,[t("Click "),e("span",{mi:"",icon:""},"filter_list"),t(" or "),e("strong",null,"\u201CAdd Filter\u201D"),t(".")]),e("li",null,"Select the Field to filter by."),e("li",null,"Select the Operator as desired."),e("li",null,"Define the Value to filter for.")],-1),S=e("p",null,[t("From here, you can set multiple Filters at once, filter by "),e("a",{href:"#filtering-by-related-collections"},"Fields in related Collections"),t(", set Values with "),e("a",{href:"#dynamic-variables"},"Dynamic Variables"),t(", as well as apply "),e("a",{href:"#and-or-groups"},"AND/OR Groups"),t(".")],-1),B={class:"tip hint"},j=e("div",{class:"hint-title"},"Operators",-1),$=t("The Field type will determine the kinds of Operators that can be used on it. In fact, some Fields cannot be filtered at all (read more in "),P=e("a",{href:"#unfilterable-fields"},"Unfilterable Fields",-1),q=t("). Once a Field is selected, the permitted operators will automatically display. An exhaustive list of Operators and what they do can be found in the more technical "),z=t("Filter Rules"),L=t(" document."),M=e("h2",{id:"and%2For-groups"},[t("AND/OR Groups "),e("a",{class:"header-anchor",href:"#and%2For-groups"},"#")],-1),Y=e("p",null,[e("code",null,"AND"),t(" Groups give the option to filter for Items that meet "),e("em",null,"all of several criteria"),t(". On the other hand, "),e("code",null,"OR"),t(" Groups filter for Items that meet "),e("em",null,"any one of several criteria"),t(".")],-1),K=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/and-or-groups-20220303A.webp",alt:"AND/OR Groups"})],-1),J=e("ol",null,[e("li",null,"Click \u201CAdd Filter\u201D."),e("li",null,"Click \u201CAnd/OR Group\u201D at the very top of the dropdown menu."),e("li",null,[t("Click the AND/OR text to toggle: "),e("ul",null,[e("li",null,[e("code",null,"AND"),t(" \u2013 Selects Items that meet every single criteria.")]),e("li",null,[e("code",null,"OR"),t(" \u2013 Selects Items that meet one of several criteria.")])])]),e("li",null,"Click \u201CAdd Filter\u201D again."),e("li",null,"Configure the Field, Operator, and Value as desired."),e("li",null,[t("Click and hold "),e("span",{mi:"",icon:""},"drag_indicator"),t(" to drag a Filter and nest it under an AND/OR Group.")])],-1),Q=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Why do we need AND Groups?"),e("p",null,[t("Filters actually default to "),e("code",null,"AND"),t(" Group behavior automatically. However, when Filters are nested inside of an OR Group, they of course switch to "),e("code",null,"OR"),t(" Group behavior. So an AND Group is necessary in cases where you want to meet multiple conditions inside of OR Groups.")])],-1),X=e("h2",{id:"dynamic-variables"},[t("Dynamic Variables "),e("a",{class:"header-anchor",href:"#dynamic-variables"},"#")],-1),Z=e("p",null,"The following video shows how to filter for Blog posts written within the past 60 days.",-1),ee=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/dynamic-variables-20220307A.mp4",type:"video/mp4"})],-1),te=t("The following Dynamic Variables are built into Directus to make Filtering easier: "),oe=e("code",null,"$CURRENT_USER",-1),le=t(", "),ie=e("code",null,"$CURRENT_ROLE",-1),se=t(", "),ne=e("code",null,"$NOW",-1),re=t(" and "),ae=e("code",null,"$NOW(<adjustment>)",-1),de=t(". For more information, please see the Dynamic Variables section in "),ce=t("Filter Rules"),ue=t("."),he=e("h2",{id:"filtering-by-related-collections"},[t("Filtering by Related Collections "),e("a",{class:"header-anchor",href:"#filtering-by-related-collections"},"#")],-1),_e=e("p",null,[t("You may need to run filters on one Collection "),e("em",null,"based on information in another related Collection"),t(". Here are a few examples of when that might happen:")],-1),pe=e("ul",null,[e("li",null,[t("Book authors that also wrote screenplays (filters "),e("code",null,"authors"),t(", uses "),e("code",null,"screenplays"),t(").")]),e("li",null,[t("Products with a 5 star customer review (filters "),e("code",null,"products"),t(", uses "),e("code",null,"reviews"),t(").")]),e("li",null,[t("Accounts with active user login within the last 12 months (filters "),e("code",null,"accounts"),t(", uses "),e("code",null,"logins"),t(").")])],-1),fe=e("p",null,[t("This can span across any number of relationally linked Collections. For example, you could filter for customers that bought rock songs, where the "),e("code",null,"customers"),t(" and "),e("code",null,"genres"),t(" Collections are linked by "),e("code",null,"customers"),t(" -> "),e("code",null,"invoices"),t(" -> "),e("code",null,"invoice-items"),t(" -> "),e("code",null,"tracks"),t(" -> "),e("code",null,"genres"),t(".")],-1),me=t("You will notice a "),ge=e("span",{mi:"",icon:""},"chevron_right",-1),ye=t(" icon beside relational Fields. When you click on any "),be=t("Alias"),we=t(" Field, all the Fields for that associated Collection pop down. If you select one of these Fields, you can run Filters on the current Collection by Field values in a related Collection."),ve=e("p",null,"Here are step-by-step instructions on how to filter by Fields in other Collections:",-1),Fe=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"How Filters Work"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/filtering-by-related-collections-20220303A.mp4",type:"video/mp4"})],-1),Ae=e("ol",null,[e("li",null,"Click \u201CAdd Filter\u201D."),e("li",null,"Click the desired relational Field. This will pop down and display the related Collection Fields."),e("li",null,"Select a Field from this related Collection."),e("li",null,"Set the Operator and Value as desired.")],-1),Ce=e("h2",{id:"unfilterable-fields"},[t("Unfilterable Fields "),e("a",{class:"header-anchor",href:"#unfilterable-fields"},"#")],-1),ke=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/filters/filters-20220303A/unfilterable-fields-20220303A.webp",alt:"Unfilterable Fields"})],-1),Oe=e("p",null,[t("Not all Fields can be filtered. As seen above in "),e("a",{href:"#filtering-by-related-collections"},"Filtering by Related Collections"),t(", Alias Fields cannot be filtered; they instead provide a dropdown menu to access Fields from a related Collection. Additionally, the \u201CPresentation\u201D and \u201CGroup\u201D Fields cannot be filtered at all and will not appear as an option in Filters.")],-1),Re=e("h2",{id:"extensibility-options"},[t("Extensibility Options "),e("a",{class:"header-anchor",href:"#extensibility-options"},"#")],-1),xe=e("p",null,"Directus Core is completely open-source, modular and extensible. Extensions allow you to expand or modify any part of Directus to fit your needs. Here are some great resources to get started down that track.",-1),De=t("Extensions > Introduction"),Ne=t("Extensions > Creating Extensions"),Ge=t("Contributing > Introduction"),Ie=t("Contributing > Codebase Overview"),Ve=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Accelerated Development"),e("p",null,[t("Working on an enterprise project and looking to outsource or financially sponsor the development of a Shares extension? Contact "),e("a",{href:"https://directus.io/contact/",target:"_blank",rel:"noopener noreferrer"},"our team")])],-1),We=e("h2",{id:"more-help"},[t("More Help "),e("a",{class:"header-anchor",href:"#more-help"},"#")],-1),Ee=e("p",null,[t("Looking for technical support for your non-enterprise project? Chat with thousands of engineers within our growing "),e("a",{href:"https://discord.com/invite/directus",target:"_blank",rel:"noopener noreferrer"},"Community on Discord")],-1),Be={setup(He,{expose:r}){const s={title:"Filters",modularExtension:!1};return r({frontmatter:s}),(Te,Ue)=>{const l=n("router-link"),a=n("DocsWrapper");return d(),c(a,{frontmatter:s},{default:o(()=>[e("div",u,[h,_,p,e("div",f,[m,e("p",null,[g,i(l,{to:"/docs/configuration/filter-rules/"},{default:o(()=>[y]),_:1}),b])]),w,e("div",v,[F,e("p",null,[A,e("em",null,[C,i(l,{to:"/docs/configuration/data-model/"},{default:o(()=>[k]),_:1}),O]),R,i(l,{to:"/docs/configuration/users-roles-permissions.md"},{default:o(()=>[x]),_:1}),D])]),e("p",null,[N,G,I,i(l,{to:"/docs/configuration/filter-rules/#filter-operators"},{default:o(()=>[V]),_:1}),W,E,H]),T,U,S,e("div",B,[j,e("p",null,[$,P,q,i(l,{to:"/docs/configuration/filter-rules/#filter-operators"},{default:o(()=>[z]),_:1}),L])]),M,Y,K,J,Q,X,Z,ee,e("p",null,[te,oe,le,ie,se,ne,re,ae,de,i(l,{to:"/docs/configuration/filter-rules/"},{default:o(()=>[ce]),_:1}),ue]),he,_e,pe,fe,e("p",null,[me,ge,ye,i(l,{to:"/docs/getting-started/glossary/#alias"},{default:o(()=>[be]),_:1}),we]),ve,Fe,Ae,Ce,ke,Oe,Re,xe,e("ul",null,[e("li",null,[i(l,{to:"/docs/extensions/introduction/"},{default:o(()=>[De]),_:1})]),e("li",null,[i(l,{to:"/docs/extensions/creating-extensions/"},{default:o(()=>[Ne]),_:1})]),e("li",null,[i(l,{to:"/docs/contributing/introduction/"},{default:o(()=>[Ge]),_:1})]),e("li",null,[i(l,{to:"/docs/contributing/codebase-overview/"},{default:o(()=>[Ie]),_:1})])]),Ve,We,Ee])]),_:1})}}};export{Be as default};
@@ -1,4 +1,4 @@
1
- import{w as n,y as h,z as c,A as a,E as e,C as t,W as s}from"./vendor.c37f7cab.js";const i={class:"markdown-body"},p=e("div",{class:"two-up"},[e("div",{class:"left"},[e("blockquote",null,[e("p",null,"Folders can be used to organize files within the platform. Folders are virtual, and aren\u2019t mirrored within the storage adapter.")])]),e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-folder-object"},"The Folder Object")]),e("li",null,[e("a",{href:"#list-folders"},"List Folders")]),e("li",null,[e("a",{href:"#retrieve-a-folder"},"Retrieve a Folder")]),e("li",null,[e("a",{href:"#create-a-folder"},"Create a Folder")]),e("li",null,[e("a",{href:"#create-multiple-folders"},"Create Multiple Folders")]),e("li",null,[e("a",{href:"#update-a-folder"},"Update a Folder")]),e("li",null,[e("a",{href:"#update-multiple-folders"},"Update Multiple Folders")]),e("li",null,[e("a",{href:"#delete-a-folder"},"Delete a Folder")]),e("li",null,[e("a",{href:"#delete-multiple-folders"},"Delete Multiple Folders")])])])])])],-1),u=e("hr",null,null,-1),_=e("h2",{id:"the-folder-object"},[s("The Folder Object "),e("a",{class:"header-anchor",href:"#the-folder-object"},"#")],-1),f=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"definitions"},[e("p",null,[e("code",null,"id"),s(),e("strong",null,"uuid"),e("br"),s(" Primary key of the folder.")]),e("p",null,[e("code",null,"name"),s(),e("strong",null,"string"),e("br"),s(" Name of the folder.")]),e("p",null,[e("code",null,"parent"),s(),e("strong",null,"many-to-one"),e("br"),s(" Parent folder. Many-to-one to folders (recursive).")])])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[s(`{
1
+ import{w as n,y as h,z as c,A as a,E as e,C as t,W as s}from"./vendor.e0a21029.js";const i={class:"markdown-body"},p=e("div",{class:"two-up"},[e("div",{class:"left"},[e("blockquote",null,[e("p",null,"Folders can be used to organize files within the platform. Folders are virtual, and aren\u2019t mirrored within the storage adapter.")])]),e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-folder-object"},"The Folder Object")]),e("li",null,[e("a",{href:"#list-folders"},"List Folders")]),e("li",null,[e("a",{href:"#retrieve-a-folder"},"Retrieve a Folder")]),e("li",null,[e("a",{href:"#create-a-folder"},"Create a Folder")]),e("li",null,[e("a",{href:"#create-multiple-folders"},"Create Multiple Folders")]),e("li",null,[e("a",{href:"#update-a-folder"},"Update a Folder")]),e("li",null,[e("a",{href:"#update-multiple-folders"},"Update Multiple Folders")]),e("li",null,[e("a",{href:"#delete-a-folder"},"Delete a Folder")]),e("li",null,[e("a",{href:"#delete-multiple-folders"},"Delete Multiple Folders")])])])])])],-1),u=e("hr",null,null,-1),_=e("h2",{id:"the-folder-object"},[s("The Folder Object "),e("a",{class:"header-anchor",href:"#the-folder-object"},"#")],-1),f=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"definitions"},[e("p",null,[e("code",null,"id"),s(),e("strong",null,"uuid"),e("br"),s(" Primary key of the folder.")]),e("p",null,[e("code",null,"name"),s(),e("strong",null,"string"),e("br"),s(" Name of the folder.")]),e("p",null,[e("code",null,"parent"),s(),e("strong",null,"many-to-one"),e("br"),s(" Parent folder. Many-to-one to folders (recursive).")])])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[s(`{
2
2
  `),e("span",{class:"hljs-attr"},'"data"'),s(`: {
3
3
  `),e("span",{class:"hljs-attr"},'"id"'),s(": "),e("span",{class:"hljs-string"},'"fc02d733-95b8-4e27-bd4b-08a32cbe4e66"'),s(`,
4
4
  `),e("span",{class:"hljs-attr"},'"name"'),s(": "),e("span",{class:"hljs-string"},'"Test"'),s(`,
@@ -1 +1 @@
1
- import{bT as T}from"./vendor.c37f7cab.js";function S(f,O){return O.forEach(function(E){E&&typeof E!="string"&&!Array.isArray(E)&&Object.keys(E).forEach(function(n){if(n!=="default"&&!(n in f)){var R=Object.getOwnPropertyDescriptor(E,n);Object.defineProperty(f,n,R.get?R:{enumerable:!0,get:function(){return E[n]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}};(function(f,O){(function(E){E(T.exports)})(function(E){function n(i){var r=[];return i.split(" ").forEach(function(e){r.push({name:e})}),r}var R=n("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),u=n("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");E.defineMode("forth",function(){function i(r,e){var t;for(t=r.length-1;t>=0;t--)if(r[t].name===e.toUpperCase())return r[t]}return{startState:function(){return{state:"",base:10,coreWordList:R,immediateWordList:u,wordList:[]}},token:function(r,e){var t;if(r.eatSpace())return null;if(e.state===""){if(r.match(/^(\]|:NONAME)(\s|$)/i))return e.state=" compilation","builtin compilation";if(t=r.match(/^(\:)\s+(\S+)(\s|$)+/),t)return e.wordList.push({name:t[2].toUpperCase()}),e.state=" compilation","def"+e.state;if(t=r.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i),t)return e.wordList.push({name:t[2].toUpperCase()}),"def"+e.state;if(t=r.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/),t)return"builtin"+e.state}else{if(r.match(/^(\;|\[)(\s)/))return e.state="",r.backUp(1),"builtin compilation";if(r.match(/^(\;|\[)($)/))return e.state="","builtin compilation";if(r.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(t=r.match(/^(\S+)(\s+|$)/),t)return i(e.wordList,t[1])!==void 0?"variable"+e.state:t[1]==="\\"?(r.skipToEnd(),"comment"+e.state):i(e.coreWordList,t[1])!==void 0?"builtin"+e.state:i(e.immediateWordList,t[1])!==void 0?"keyword"+e.state:t[1]==="("?(r.eatWhile(function(o){return o!==")"}),r.eat(")"),"comment"+e.state):t[1]===".("?(r.eatWhile(function(o){return o!==")"}),r.eat(")"),"string"+e.state):t[1]==='S"'||t[1]==='."'||t[1]==='C"'?(r.eatWhile(function(o){return o!=='"'}),r.eat('"'),"string"+e.state):t[1]-68719476735?"number"+e.state:"atom"+e.state}}}),E.defineMIME("text/x-forth","forth")})})();var A=a.exports,D=S({__proto__:null,default:A},[a.exports]);export{D as f};
1
+ import{bV as S}from"./vendor.e0a21029.js";function T(f,O){return O.forEach(function(E){E&&typeof E!="string"&&!Array.isArray(E)&&Object.keys(E).forEach(function(n){if(n!=="default"&&!(n in f)){var R=Object.getOwnPropertyDescriptor(E,n);Object.defineProperty(f,n,R.get?R:{enumerable:!0,get:function(){return E[n]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}};(function(f,O){(function(E){E(S.exports)})(function(E){function n(i){var r=[];return i.split(" ").forEach(function(e){r.push({name:e})}),r}var R=n("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),u=n("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");E.defineMode("forth",function(){function i(r,e){var t;for(t=r.length-1;t>=0;t--)if(r[t].name===e.toUpperCase())return r[t]}return{startState:function(){return{state:"",base:10,coreWordList:R,immediateWordList:u,wordList:[]}},token:function(r,e){var t;if(r.eatSpace())return null;if(e.state===""){if(r.match(/^(\]|:NONAME)(\s|$)/i))return e.state=" compilation","builtin compilation";if(t=r.match(/^(\:)\s+(\S+)(\s|$)+/),t)return e.wordList.push({name:t[2].toUpperCase()}),e.state=" compilation","def"+e.state;if(t=r.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i),t)return e.wordList.push({name:t[2].toUpperCase()}),"def"+e.state;if(t=r.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/),t)return"builtin"+e.state}else{if(r.match(/^(\;|\[)(\s)/))return e.state="",r.backUp(1),"builtin compilation";if(r.match(/^(\;|\[)($)/))return e.state="","builtin compilation";if(r.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(t=r.match(/^(\S+)(\s+|$)/),t)return i(e.wordList,t[1])!==void 0?"variable"+e.state:t[1]==="\\"?(r.skipToEnd(),"comment"+e.state):i(e.coreWordList,t[1])!==void 0?"builtin"+e.state:i(e.immediateWordList,t[1])!==void 0?"keyword"+e.state:t[1]==="("?(r.eatWhile(function(o){return o!==")"}),r.eat(")"),"comment"+e.state):t[1]===".("?(r.eatWhile(function(o){return o!==")"}),r.eat(")"),"string"+e.state):t[1]==='S"'||t[1]==='."'||t[1]==='C"'?(r.eatWhile(function(o){return o!=='"'}),r.eat('"'),"string"+e.state):t[1]-68719476735?"number"+e.state:"atom"+e.state}}}),E.defineMIME("text/x-forth","forth")})})();var A=a.exports,D=T({__proto__:null,default:A},[a.exports]);export{D as f};
@@ -1 +1 @@
1
- import{bT as h}from"./vendor.c37f7cab.js";function x(o,s){return s.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(i){if(i!=="default"&&!(i in o)){var c=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(o,i,c.get?c:{enumerable:!0,get:function(){return n[i]}})}})}),Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(o,s){(function(n){n(h.exports)})(function(n){n.defineMode("fortran",function(){function i(t){for(var r={},e=0;e<t.length;++e)r[t[e]]=!0;return r}var c=i(["abstract","accept","allocatable","allocate","array","assign","asynchronous","backspace","bind","block","byte","call","case","class","close","common","contains","continue","cycle","data","deallocate","decode","deferred","dimension","do","elemental","else","encode","end","endif","entry","enumerator","equivalence","exit","external","extrinsic","final","forall","format","function","generic","go","goto","if","implicit","import","include","inquire","intent","interface","intrinsic","module","namelist","non_intrinsic","non_overridable","none","nopass","nullify","open","optional","options","parameter","pass","pause","pointer","print","private","program","protected","public","pure","read","recursive","result","return","rewind","save","select","sequence","stop","subroutine","target","then","to","type","use","value","volatile","where","while","write"]),f=i(["abort","abs","access","achar","acos","adjustl","adjustr","aimag","aint","alarm","all","allocated","alog","amax","amin","amod","and","anint","any","asin","associated","atan","besj","besjn","besy","besyn","bit_size","btest","cabs","ccos","ceiling","cexp","char","chdir","chmod","clog","cmplx","command_argument_count","complex","conjg","cos","cosh","count","cpu_time","cshift","csin","csqrt","ctime","c_funloc","c_loc","c_associated","c_null_ptr","c_null_funptr","c_f_pointer","c_null_char","c_alert","c_backspace","c_form_feed","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","dabs","dacos","dasin","datan","date_and_time","dbesj","dbesj","dbesjn","dbesy","dbesy","dbesyn","dble","dcos","dcosh","ddim","derf","derfc","dexp","digits","dim","dint","dlog","dlog","dmax","dmin","dmod","dnint","dot_product","dprod","dsign","dsinh","dsin","dsqrt","dtanh","dtan","dtime","eoshift","epsilon","erf","erfc","etime","exit","exp","exponent","extends_type_of","fdate","fget","fgetc","float","floor","flush","fnum","fputc","fput","fraction","fseek","fstat","ftell","gerror","getarg","get_command","get_command_argument","get_environment_variable","getcwd","getenv","getgid","getlog","getpid","getuid","gmtime","hostnm","huge","iabs","iachar","iand","iargc","ibclr","ibits","ibset","ichar","idate","idim","idint","idnint","ieor","ierrno","ifix","imag","imagpart","index","int","ior","irand","isatty","ishft","ishftc","isign","iso_c_binding","is_iostat_end","is_iostat_eor","itime","kill","kind","lbound","len","len_trim","lge","lgt","link","lle","llt","lnblnk","loc","log","logical","long","lshift","lstat","ltime","matmul","max","maxexponent","maxloc","maxval","mclock","merge","move_alloc","min","minexponent","minloc","minval","mod","modulo","mvbits","nearest","new_line","nint","not","or","pack","perror","precision","present","product","radix","rand","random_number","random_seed","range","real","realpart","rename","repeat","reshape","rrspacing","rshift","same_type_as","scale","scan","second","selected_int_kind","selected_real_kind","set_exponent","shape","short","sign","signal","sinh","sin","sleep","sngl","spacing","spread","sqrt","srand","stat","sum","symlnk","system","system_clock","tan","tanh","time","tiny","transfer","transpose","trim","ttynam","ubound","umask","unlink","unpack","verify","xor","zabs","zcos","zexp","zlog","zsin","zsqrt"]),p=i(["c_bool","c_char","c_double","c_double_complex","c_float","c_float_complex","c_funptr","c_int","c_int16_t","c_int32_t","c_int64_t","c_int8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_int_fast8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_least8_t","c_intmax_t","c_intptr_t","c_long","c_long_double","c_long_double_complex","c_long_long","c_ptr","c_short","c_signed_char","c_size_t","character","complex","double","integer","logical","real"]),d=/[+\-*&=<>\/\:]/,m=new RegExp("(.and.|.or.|.eq.|.lt.|.le.|.gt.|.ge.|.ne.|.not.|.eqv.|.neqv.)","i");function g(t,r){if(t.match(m))return"operator";var e=t.next();if(e=="!")return t.skipToEnd(),"comment";if(e=='"'||e=="'")return r.tokenize=b(e),r.tokenize(t,r);if(/[\[\]\(\),]/.test(e))return null;if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(d.test(e))return t.eatWhile(d),"operator";t.eatWhile(/[\w\$_]/);var a=t.current().toLowerCase();return c.hasOwnProperty(a)?"keyword":f.hasOwnProperty(a)||p.hasOwnProperty(a)?"builtin":"variable"}function b(t){return function(r,e){for(var a=!1,l,_=!1;(l=r.next())!=null;){if(l==t&&!a){_=!0;break}a=!a&&l=="\\"}return(_||!a)&&(e.tokenize=null),"string"}}return{startState:function(){return{tokenize:null}},token:function(t,r){if(t.eatSpace())return null;var e=(r.tokenize||g)(t,r);return e=="comment"||e=="meta",e}}}),n.defineMIME("text/x-fortran","fortran")})})();var y=u.exports,k=x({__proto__:null,default:y},[u.exports]);export{k as f};
1
+ import{bV as h}from"./vendor.e0a21029.js";function x(o,s){return s.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(i){if(i!=="default"&&!(i in o)){var c=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(o,i,c.get?c:{enumerable:!0,get:function(){return n[i]}})}})}),Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(o,s){(function(n){n(h.exports)})(function(n){n.defineMode("fortran",function(){function i(t){for(var r={},e=0;e<t.length;++e)r[t[e]]=!0;return r}var c=i(["abstract","accept","allocatable","allocate","array","assign","asynchronous","backspace","bind","block","byte","call","case","class","close","common","contains","continue","cycle","data","deallocate","decode","deferred","dimension","do","elemental","else","encode","end","endif","entry","enumerator","equivalence","exit","external","extrinsic","final","forall","format","function","generic","go","goto","if","implicit","import","include","inquire","intent","interface","intrinsic","module","namelist","non_intrinsic","non_overridable","none","nopass","nullify","open","optional","options","parameter","pass","pause","pointer","print","private","program","protected","public","pure","read","recursive","result","return","rewind","save","select","sequence","stop","subroutine","target","then","to","type","use","value","volatile","where","while","write"]),f=i(["abort","abs","access","achar","acos","adjustl","adjustr","aimag","aint","alarm","all","allocated","alog","amax","amin","amod","and","anint","any","asin","associated","atan","besj","besjn","besy","besyn","bit_size","btest","cabs","ccos","ceiling","cexp","char","chdir","chmod","clog","cmplx","command_argument_count","complex","conjg","cos","cosh","count","cpu_time","cshift","csin","csqrt","ctime","c_funloc","c_loc","c_associated","c_null_ptr","c_null_funptr","c_f_pointer","c_null_char","c_alert","c_backspace","c_form_feed","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","dabs","dacos","dasin","datan","date_and_time","dbesj","dbesj","dbesjn","dbesy","dbesy","dbesyn","dble","dcos","dcosh","ddim","derf","derfc","dexp","digits","dim","dint","dlog","dlog","dmax","dmin","dmod","dnint","dot_product","dprod","dsign","dsinh","dsin","dsqrt","dtanh","dtan","dtime","eoshift","epsilon","erf","erfc","etime","exit","exp","exponent","extends_type_of","fdate","fget","fgetc","float","floor","flush","fnum","fputc","fput","fraction","fseek","fstat","ftell","gerror","getarg","get_command","get_command_argument","get_environment_variable","getcwd","getenv","getgid","getlog","getpid","getuid","gmtime","hostnm","huge","iabs","iachar","iand","iargc","ibclr","ibits","ibset","ichar","idate","idim","idint","idnint","ieor","ierrno","ifix","imag","imagpart","index","int","ior","irand","isatty","ishft","ishftc","isign","iso_c_binding","is_iostat_end","is_iostat_eor","itime","kill","kind","lbound","len","len_trim","lge","lgt","link","lle","llt","lnblnk","loc","log","logical","long","lshift","lstat","ltime","matmul","max","maxexponent","maxloc","maxval","mclock","merge","move_alloc","min","minexponent","minloc","minval","mod","modulo","mvbits","nearest","new_line","nint","not","or","pack","perror","precision","present","product","radix","rand","random_number","random_seed","range","real","realpart","rename","repeat","reshape","rrspacing","rshift","same_type_as","scale","scan","second","selected_int_kind","selected_real_kind","set_exponent","shape","short","sign","signal","sinh","sin","sleep","sngl","spacing","spread","sqrt","srand","stat","sum","symlnk","system","system_clock","tan","tanh","time","tiny","transfer","transpose","trim","ttynam","ubound","umask","unlink","unpack","verify","xor","zabs","zcos","zexp","zlog","zsin","zsqrt"]),p=i(["c_bool","c_char","c_double","c_double_complex","c_float","c_float_complex","c_funptr","c_int","c_int16_t","c_int32_t","c_int64_t","c_int8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_int_fast8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_least8_t","c_intmax_t","c_intptr_t","c_long","c_long_double","c_long_double_complex","c_long_long","c_ptr","c_short","c_signed_char","c_size_t","character","complex","double","integer","logical","real"]),d=/[+\-*&=<>\/\:]/,m=new RegExp("(.and.|.or.|.eq.|.lt.|.le.|.gt.|.ge.|.ne.|.not.|.eqv.|.neqv.)","i");function g(t,r){if(t.match(m))return"operator";var e=t.next();if(e=="!")return t.skipToEnd(),"comment";if(e=='"'||e=="'")return r.tokenize=b(e),r.tokenize(t,r);if(/[\[\]\(\),]/.test(e))return null;if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(d.test(e))return t.eatWhile(d),"operator";t.eatWhile(/[\w\$_]/);var a=t.current().toLowerCase();return c.hasOwnProperty(a)?"keyword":f.hasOwnProperty(a)||p.hasOwnProperty(a)?"builtin":"variable"}function b(t){return function(r,e){for(var a=!1,l,_=!1;(l=r.next())!=null;){if(l==t&&!a){_=!0;break}a=!a&&l=="\\"}return(_||!a)&&(e.tokenize=null),"string"}}return{startState:function(){return{tokenize:null}},token:function(t,r){if(t.eatSpace())return null;var e=(r.tokenize||g)(t,r);return e=="comment"||e=="meta",e}}}),n.defineMIME("text/x-fortran","fortran")})})();var y=u.exports,k=x({__proto__:null,default:y},[u.exports]);export{k as f};
@@ -1 +1 @@
1
- import{bT as w}from"./vendor.c37f7cab.js";function y(u,d){return d.forEach(function(b){b&&typeof b!="string"&&!Array.isArray(b)&&Object.keys(b).forEach(function(a){if(a!=="default"&&!(a in u)){var o=Object.getOwnPropertyDescriptor(b,a);Object.defineProperty(u,a,o.get?o:{enumerable:!0,get:function(){return b[a]}})}})}),Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(u,d){(function(b){b(w.exports)})(function(b){b.defineMode("gas",function(a,o){var v=[],c="",p={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},i={};function m(l){c="#",i.al="variable",i.ah="variable",i.ax="variable",i.eax="variable-2",i.rax="variable-3",i.bl="variable",i.bh="variable",i.bx="variable",i.ebx="variable-2",i.rbx="variable-3",i.cl="variable",i.ch="variable",i.cx="variable",i.ecx="variable-2",i.rcx="variable-3",i.dl="variable",i.dh="variable",i.dx="variable",i.edx="variable-2",i.rdx="variable-3",i.si="variable",i.esi="variable-2",i.rsi="variable-3",i.di="variable",i.edi="variable-2",i.rdi="variable-3",i.sp="variable",i.esp="variable-2",i.rsp="variable-3",i.bp="variable",i.ebp="variable-2",i.rbp="variable-3",i.ip="variable",i.eip="variable-2",i.rip="variable-3",i.cs="keyword",i.ds="keyword",i.ss="keyword",i.es="keyword",i.fs="keyword",i.gs="keyword"}function h(l){c="@",p.syntax="builtin",i.r0="variable",i.r1="variable",i.r2="variable",i.r3="variable",i.r4="variable",i.r5="variable",i.r6="variable",i.r7="variable",i.r8="variable",i.r9="variable",i.r10="variable",i.r11="variable",i.r12="variable",i.sp="variable-2",i.lr="variable-2",i.pc="variable-2",i.r13=i.sp,i.r14=i.lr,i.r15=i.pc,v.push(function(n,e){if(n==="#")return e.eatWhile(/\w/),"number"})}var f=(o.architecture||"x86").toLowerCase();f==="x86"?m():(f==="arm"||f==="armv6")&&h();function k(l,n){for(var e=!1,t;(t=l.next())!=null;){if(t===n&&!e)return!1;e=!e&&t==="\\"}return e}function g(l,n){for(var e=!1,t;(t=l.next())!=null;){if(t==="/"&&e){n.tokenize=null;break}e=t==="*"}return"comment"}return{startState:function(){return{tokenize:null}},token:function(l,n){if(n.tokenize)return n.tokenize(l,n);if(l.eatSpace())return null;var e,t,r=l.next();if(r==="/"&&l.eat("*"))return n.tokenize=g,g(l,n);if(r===c)return l.skipToEnd(),"comment";if(r==='"')return k(l,'"'),"string";if(r===".")return l.eatWhile(/\w/),t=l.current().toLowerCase(),e=p[t],e||null;if(r==="=")return l.eatWhile(/\w/),"tag";if(r==="{"||r==="}")return"bracket";if(/\d/.test(r))return r==="0"&&l.eat("x")?(l.eatWhile(/[0-9a-fA-F]/),"number"):(l.eatWhile(/\d/),"number");if(/\w/.test(r))return l.eatWhile(/\w/),l.eat(":")?"tag":(t=l.current().toLowerCase(),e=i[t],e||null);for(var s=0;s<v.length;s++)if(e=v[s](r,l,n),e)return e},lineComment:c,blockCommentStart:"/*",blockCommentEnd:"*/"}})})})();var _=x.exports,z=y({__proto__:null,default:_},[x.exports]);export{z as g};
1
+ import{bV as w}from"./vendor.e0a21029.js";function y(u,d){return d.forEach(function(b){b&&typeof b!="string"&&!Array.isArray(b)&&Object.keys(b).forEach(function(a){if(a!=="default"&&!(a in u)){var o=Object.getOwnPropertyDescriptor(b,a);Object.defineProperty(u,a,o.get?o:{enumerable:!0,get:function(){return b[a]}})}})}),Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(u,d){(function(b){b(w.exports)})(function(b){b.defineMode("gas",function(a,o){var v=[],c="",p={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},i={};function m(l){c="#",i.al="variable",i.ah="variable",i.ax="variable",i.eax="variable-2",i.rax="variable-3",i.bl="variable",i.bh="variable",i.bx="variable",i.ebx="variable-2",i.rbx="variable-3",i.cl="variable",i.ch="variable",i.cx="variable",i.ecx="variable-2",i.rcx="variable-3",i.dl="variable",i.dh="variable",i.dx="variable",i.edx="variable-2",i.rdx="variable-3",i.si="variable",i.esi="variable-2",i.rsi="variable-3",i.di="variable",i.edi="variable-2",i.rdi="variable-3",i.sp="variable",i.esp="variable-2",i.rsp="variable-3",i.bp="variable",i.ebp="variable-2",i.rbp="variable-3",i.ip="variable",i.eip="variable-2",i.rip="variable-3",i.cs="keyword",i.ds="keyword",i.ss="keyword",i.es="keyword",i.fs="keyword",i.gs="keyword"}function h(l){c="@",p.syntax="builtin",i.r0="variable",i.r1="variable",i.r2="variable",i.r3="variable",i.r4="variable",i.r5="variable",i.r6="variable",i.r7="variable",i.r8="variable",i.r9="variable",i.r10="variable",i.r11="variable",i.r12="variable",i.sp="variable-2",i.lr="variable-2",i.pc="variable-2",i.r13=i.sp,i.r14=i.lr,i.r15=i.pc,v.push(function(n,e){if(n==="#")return e.eatWhile(/\w/),"number"})}var f=(o.architecture||"x86").toLowerCase();f==="x86"?m():(f==="arm"||f==="armv6")&&h();function k(l,n){for(var e=!1,t;(t=l.next())!=null;){if(t===n&&!e)return!1;e=!e&&t==="\\"}return e}function g(l,n){for(var e=!1,t;(t=l.next())!=null;){if(t==="/"&&e){n.tokenize=null;break}e=t==="*"}return"comment"}return{startState:function(){return{tokenize:null}},token:function(l,n){if(n.tokenize)return n.tokenize(l,n);if(l.eatSpace())return null;var e,t,r=l.next();if(r==="/"&&l.eat("*"))return n.tokenize=g,g(l,n);if(r===c)return l.skipToEnd(),"comment";if(r==='"')return k(l,'"'),"string";if(r===".")return l.eatWhile(/\w/),t=l.current().toLowerCase(),e=p[t],e||null;if(r==="=")return l.eatWhile(/\w/),"tag";if(r==="{"||r==="}")return"bracket";if(/\d/.test(r))return r==="0"&&l.eat("x")?(l.eatWhile(/[0-9a-fA-F]/),"number"):(l.eatWhile(/\d/),"number");if(/\w/.test(r))return l.eatWhile(/\w/),l.eat(":")?"tag":(t=l.current().toLowerCase(),e=i[t],e||null);for(var s=0;s<v.length;s++)if(e=v[s](r,l,n),e)return e},lineComment:c,blockCommentStart:"/*",blockCommentEnd:"*/"}})})})();var _=x.exports,z=y({__proto__:null,default:_},[x.exports]);export{z as g};
@@ -1,4 +1,4 @@
1
- import{w as r,y as c,z as u,A as t,E as e,C as l,W as o}from"./vendor.c37f7cab.js";const d={class:"markdown-body"},h=e("p",null,[o("While there are many different ways to run Directus on GCP, from single "),e("a",{href:"https://cloud.google.com/compute",target:"_blank",rel:"noopener noreferrer"},"Compute Engine"),o(" instances to a full "),e("a",{href:"https://cloud.google.com/kubernetes-engine",target:"_blank",rel:"noopener noreferrer"},"Kubernetes Engine"),o(" stack, we like the following combination of services:")],-1),p=e("ul",null,[e("li",null,[e("a",{href:"https://cloud.google.com/run",target:"_blank",rel:"noopener noreferrer"},"Google Cloud Run")]),e("li",null,[e("a",{href:"https://cloud.google.com/sql",target:"_blank",rel:"noopener noreferrer"},"Google Cloud SQL")]),e("li",null,[e("a",{href:"https://cloud.google.com/storage",target:"_blank",rel:"noopener noreferrer"},"Google Cloud Storage")])],-1),g=e("h2",{id:"google-cloud-run"},[o("Google Cloud Run "),e("a",{class:"header-anchor",href:"#google-cloud-run"},"#")],-1),_=e("p",null,"We will run Directus in an autoscaling managed container environment called Google Cloud Run. Google Cloud Run will scale back to zero instances by default but can be configured to meet every scalability requirements.",-1),m=e("p",null,[o("While there a numerous ways to get a Docker container up and running in Cloud Run, we will talk you through a simple setup with still a lot of improvements to be made. The section "),e("a",{href:"#additional-improvements"},"Additional improvements"),o(" stipulates additional improvements you can make to your setup.")],-1),f=e("h2",{id:"google-cloud-sql"},[o("Google Cloud SQL "),e("a",{class:"header-anchor",href:"#google-cloud-sql"},"#")],-1),y=e("p",null,"Fully managed relational database service for MySQL, PostgreSQL, and SQL Server. This will be the persistent database layer. In this guide we will use PostgreSQL.",-1),b=e("h2",{id:"google-cloud-storage"},[o("Google Cloud Storage "),e("a",{class:"header-anchor",href:"#google-cloud-storage"},"#")],-1),w=e("p",null,"Will be used as object/file storage. Since we\u2019re running Directus in Google Cloud, it\u2019ll be authenticated and authorized to access all storage buckets in the same Google Cloud project by default. We just need to set it up in the environment variables.",-1),k=e("h2",{id:"cost"},[o("Cost "),e("a",{class:"header-anchor",href:"#cost"},"#")],-1),C=e("p",null,[o("Running Directus in Google Cloud can and will infer costs. Please read and understand all pricing options per service before rolling out Directus on Google Cloud. As a rule of thumb you could say that with the setup written here the main costs come from a persistent Postgres in CloudSQL. You can estimate the pricing here: "),e("a",{href:"https://cloud.google.com/products/calculator",target:"_blank",rel:"noopener noreferrer"},"https://cloud.google.com/products/calculator")],-1),S=e("h2",{id:"cloud-run-click-to-deploy"},[o("Cloud Run click to deploy "),e("a",{class:"header-anchor",href:"#cloud-run-click-to-deploy"},"#")],-1),v=e("p",null,"Just to see Directus work on Google Cloud you can try it out by clicking this button. Keep in mind, this will use a non persistent SQLite database inside the container itself, so everything will be lost once the container shuts down. And it will shut down.",-1),G=e("p",null,[e("a",{href:"https://deploy.cloud.run/?git_repo=https://github.com/directus-community/gcp-example",target:"_blank",rel:"noopener noreferrer"},[e("img",{src:"https://deploy.cloud.run/button.svg",alt:"Run on Google Cloud"})])],-1),D=e("p",null,[o("After deploying you can login with "),e("code",null,"admin@example.com"),o(" and "),e("code",null,"localpassword")],-1),R=e("h2",{id:"walkthrough-complete-setup"},[o("Walkthrough complete setup "),e("a",{class:"header-anchor",href:"#walkthrough-complete-setup"},"#")],-1),E=e("p",null,"Let\u2019s get into it.",-1),A=e("li",null,[e("p",null,[o("Install the "),e("a",{href:"https://cloud.google.com/sdk/docs/install",target:"_blank",rel:"noopener noreferrer"},"Google Cloud SDK"),o(". We will run a lot of "),e("code",null,"gcloud"),o(" commands to get your GCP environment setup.")])],-1),j=o("Go over the steps for "),T=o("Manually installing Directus"),L=e("li",null,[e("p",null,"Add a start script to your package.json like so:")],-1),I=e("pre",null,[e("code",null,`"scripts": {
1
+ import{w as r,y as c,z as u,A as t,E as e,C as l,W as o}from"./vendor.e0a21029.js";const d={class:"markdown-body"},h=e("p",null,[o("While there are many different ways to run Directus on GCP, from single "),e("a",{href:"https://cloud.google.com/compute",target:"_blank",rel:"noopener noreferrer"},"Compute Engine"),o(" instances to a full "),e("a",{href:"https://cloud.google.com/kubernetes-engine",target:"_blank",rel:"noopener noreferrer"},"Kubernetes Engine"),o(" stack, we like the following combination of services:")],-1),p=e("ul",null,[e("li",null,[e("a",{href:"https://cloud.google.com/run",target:"_blank",rel:"noopener noreferrer"},"Google Cloud Run")]),e("li",null,[e("a",{href:"https://cloud.google.com/sql",target:"_blank",rel:"noopener noreferrer"},"Google Cloud SQL")]),e("li",null,[e("a",{href:"https://cloud.google.com/storage",target:"_blank",rel:"noopener noreferrer"},"Google Cloud Storage")])],-1),g=e("h2",{id:"google-cloud-run"},[o("Google Cloud Run "),e("a",{class:"header-anchor",href:"#google-cloud-run"},"#")],-1),_=e("p",null,"We will run Directus in an autoscaling managed container environment called Google Cloud Run. Google Cloud Run will scale back to zero instances by default but can be configured to meet every scalability requirements.",-1),m=e("p",null,[o("While there a numerous ways to get a Docker container up and running in Cloud Run, we will talk you through a simple setup with still a lot of improvements to be made. The section "),e("a",{href:"#additional-improvements"},"Additional improvements"),o(" stipulates additional improvements you can make to your setup.")],-1),f=e("h2",{id:"google-cloud-sql"},[o("Google Cloud SQL "),e("a",{class:"header-anchor",href:"#google-cloud-sql"},"#")],-1),y=e("p",null,"Fully managed relational database service for MySQL, PostgreSQL, and SQL Server. This will be the persistent database layer. In this guide we will use PostgreSQL.",-1),b=e("h2",{id:"google-cloud-storage"},[o("Google Cloud Storage "),e("a",{class:"header-anchor",href:"#google-cloud-storage"},"#")],-1),w=e("p",null,"Will be used as object/file storage. Since we\u2019re running Directus in Google Cloud, it\u2019ll be authenticated and authorized to access all storage buckets in the same Google Cloud project by default. We just need to set it up in the environment variables.",-1),k=e("h2",{id:"cost"},[o("Cost "),e("a",{class:"header-anchor",href:"#cost"},"#")],-1),C=e("p",null,[o("Running Directus in Google Cloud can and will infer costs. Please read and understand all pricing options per service before rolling out Directus on Google Cloud. As a rule of thumb you could say that with the setup written here the main costs come from a persistent Postgres in CloudSQL. You can estimate the pricing here: "),e("a",{href:"https://cloud.google.com/products/calculator",target:"_blank",rel:"noopener noreferrer"},"https://cloud.google.com/products/calculator")],-1),S=e("h2",{id:"cloud-run-click-to-deploy"},[o("Cloud Run click to deploy "),e("a",{class:"header-anchor",href:"#cloud-run-click-to-deploy"},"#")],-1),v=e("p",null,"Just to see Directus work on Google Cloud you can try it out by clicking this button. Keep in mind, this will use a non persistent SQLite database inside the container itself, so everything will be lost once the container shuts down. And it will shut down.",-1),G=e("p",null,[e("a",{href:"https://deploy.cloud.run/?git_repo=https://github.com/directus-community/gcp-example",target:"_blank",rel:"noopener noreferrer"},[e("img",{src:"https://deploy.cloud.run/button.svg",alt:"Run on Google Cloud"})])],-1),D=e("p",null,[o("After deploying you can login with "),e("code",null,"admin@example.com"),o(" and "),e("code",null,"localpassword")],-1),R=e("h2",{id:"walkthrough-complete-setup"},[o("Walkthrough complete setup "),e("a",{class:"header-anchor",href:"#walkthrough-complete-setup"},"#")],-1),E=e("p",null,"Let\u2019s get into it.",-1),A=e("li",null,[e("p",null,[o("Install the "),e("a",{href:"https://cloud.google.com/sdk/docs/install",target:"_blank",rel:"noopener noreferrer"},"Google Cloud SDK"),o(". We will run a lot of "),e("code",null,"gcloud"),o(" commands to get your GCP environment setup.")])],-1),j=o("Go over the steps for "),T=o("Manually installing Directus"),L=e("li",null,[e("p",null,"Add a start script to your package.json like so:")],-1),I=e("pre",null,[e("code",null,`"scripts": {
2
2
  "start": "npx directus bootstrap; npx directus start"
3
3
  }
4
4
  `)],-1),O=e("ol",{start:"4"},[e("li",null,[o("Add a new "),e("code",null,"Dockerfile"),o(" file to the root of your newly setup Directus folder and add these contents")])],-1),q=e("pre",null,[e("code",null,`FROM node:16-alpine
@@ -1 +1 @@
1
- import{bT as b,bW as k}from"./vendor.c37f7cab.js";import{o as v}from"./overlay.2efdf812.js";function h(r,p){return p.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(t){if(t!=="default"&&!(t in r)){var i=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:function(){return o[t]}})}})}),Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(r,p){(function(o){o(b.exports,k.exports,v.exports)})(function(o){var t=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;o.defineMode("gfm",function(i,a){var s=0;function d(e){return e.code=!1,null}var m={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,n){if(n.combineTokens=null,n.codeBlock)return e.match(/^```+/)?(n.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(n.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),n.codeBlock=!0,null;if(e.peek()==="`"){e.next();var g=e.pos;e.eatWhile("`");var f=1+e.pos-g;return n.code?f===s&&(n.code=!1):(s=f,n.code=!0),null}else if(n.code)return e.next(),null;if(e.eatSpace())return n.ateSpace=!0,null;if((e.sol()||n.ateSpace)&&(n.ateSpace=!1,a.gitHubSpice!==!1)){if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return e.match(t)&&e.string.slice(e.start-2,e.start)!="]("&&(e.start==0||/\W/.test(e.string.charAt(e.start-1)))?(n.combineTokens=!0,"link"):(e.next(),null)},blankLine:d},c={taskLists:!0,strikethrough:!0,emoji:!0};for(var l in a)c[l]=a[l];return c.name="markdown",o.overlayMode(o.getMode(i,c),m)},"markdown"),o.defineMIME("text/x-gfm","gfm")})})();var y=u.exports,z=h({__proto__:null,default:y},[u.exports]);export{z as g};
1
+ import{bV as b,bY as k}from"./vendor.e0a21029.js";import{o as v}from"./overlay.03a5b7fa.js";function h(r,p){return p.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(t){if(t!=="default"&&!(t in r)){var i=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:function(){return o[t]}})}})}),Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(r,p){(function(o){o(b.exports,k.exports,v.exports)})(function(o){var t=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;o.defineMode("gfm",function(i,a){var s=0;function d(e){return e.code=!1,null}var m={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,n){if(n.combineTokens=null,n.codeBlock)return e.match(/^```+/)?(n.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(n.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),n.codeBlock=!0,null;if(e.peek()==="`"){e.next();var g=e.pos;e.eatWhile("`");var f=1+e.pos-g;return n.code?f===s&&(n.code=!1):(s=f,n.code=!0),null}else if(n.code)return e.next(),null;if(e.eatSpace())return n.ateSpace=!0,null;if((e.sol()||n.ateSpace)&&(n.ateSpace=!1,a.gitHubSpice!==!1)){if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return e.match(t)&&e.string.slice(e.start-2,e.start)!="]("&&(e.start==0||/\W/.test(e.string.charAt(e.start-1)))?(n.combineTokens=!0,"link"):(e.next(),null)},blankLine:d},c={taskLists:!0,strikethrough:!0,emoji:!0};for(var l in a)c[l]=a[l];return c.name="markdown",o.overlayMode(o.getMode(i,c),m)},"markdown"),o.defineMIME("text/x-gfm","gfm")})})();var y=u.exports,z=h({__proto__:null,default:y},[u.exports]);export{z as g};
@@ -1 +1 @@
1
- import{bT as o}from"./vendor.c37f7cab.js";function t(i,r){return r.forEach(function(a){a&&typeof a!="string"&&!Array.isArray(a)&&Object.keys(a).forEach(function(n){if(n!=="default"&&!(n in i)){var e=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(i,n,e.get?e:{enumerable:!0,get:function(){return a[n]}})}})}),Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(i,r){(function(a){a(o.exports)})(function(a){a.defineMode("gherkin",function(){return{startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(n,e){if(n.sol()&&(e.lineNumber++,e.inKeywordLine=!1,e.inMultilineTable&&(e.tableHeaderLine=!1,n.match(/\s*\|/,!1)||(e.allowMultilineArgument=!1,e.inMultilineTable=!1))),n.eatSpace(),e.allowMultilineArgument){if(e.inMultilineString)return n.match('"""')?(e.inMultilineString=!1,e.allowMultilineArgument=!1):n.match(/.*/),"string";if(e.inMultilineTable)return n.match(/\|\s*/)?"bracket":(n.match(/[^\|]*/),e.tableHeaderLine?"header":"string");if(n.match('"""'))return e.inMultilineString=!0,"string";if(n.match("|"))return e.inMultilineTable=!0,e.tableHeaderLine=!0,"bracket"}return n.match(/#.*/)?"comment":!e.inKeywordLine&&n.match(/@\S+/)?"tag":!e.inKeywordLine&&e.allowFeature&&n.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(e.allowScenario=!0,e.allowBackground=!0,e.allowPlaceholders=!1,e.allowSteps=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowBackground&&n.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(e.allowPlaceholders=!0,e.allowSteps=!0,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):e.allowScenario&&n.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowSteps&&n.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)?(e.inStep=!0,e.allowPlaceholders=!0,e.allowMultilineArgument=!0,e.inKeywordLine=!0,"keyword"):n.match(/"[^"]*"?/)?"string":e.allowPlaceholders&&n.match(/<[^>]*>?/)?"variable":(n.next(),n.eatWhile(/[^@"<#]/),null)}}}),a.defineMIME("text/x-feature","gherkin")})})();var u=l.exports,c=t({__proto__:null,default:u},[l.exports]);export{c as g};
1
+ import{bV as o}from"./vendor.e0a21029.js";function t(i,r){return r.forEach(function(a){a&&typeof a!="string"&&!Array.isArray(a)&&Object.keys(a).forEach(function(n){if(n!=="default"&&!(n in i)){var e=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(i,n,e.get?e:{enumerable:!0,get:function(){return a[n]}})}})}),Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(i,r){(function(a){a(o.exports)})(function(a){a.defineMode("gherkin",function(){return{startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(n,e){if(n.sol()&&(e.lineNumber++,e.inKeywordLine=!1,e.inMultilineTable&&(e.tableHeaderLine=!1,n.match(/\s*\|/,!1)||(e.allowMultilineArgument=!1,e.inMultilineTable=!1))),n.eatSpace(),e.allowMultilineArgument){if(e.inMultilineString)return n.match('"""')?(e.inMultilineString=!1,e.allowMultilineArgument=!1):n.match(/.*/),"string";if(e.inMultilineTable)return n.match(/\|\s*/)?"bracket":(n.match(/[^\|]*/),e.tableHeaderLine?"header":"string");if(n.match('"""'))return e.inMultilineString=!0,"string";if(n.match("|"))return e.inMultilineTable=!0,e.tableHeaderLine=!0,"bracket"}return n.match(/#.*/)?"comment":!e.inKeywordLine&&n.match(/@\S+/)?"tag":!e.inKeywordLine&&e.allowFeature&&n.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(e.allowScenario=!0,e.allowBackground=!0,e.allowPlaceholders=!1,e.allowSteps=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowBackground&&n.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(e.allowPlaceholders=!0,e.allowSteps=!0,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):e.allowScenario&&n.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowSteps&&n.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)?(e.inStep=!0,e.allowPlaceholders=!0,e.allowMultilineArgument=!0,e.inKeywordLine=!0,"keyword"):n.match(/"[^"]*"?/)?"string":e.allowPlaceholders&&n.match(/<[^>]*>?/)?"variable":(n.next(),n.eatWhile(/[^@"<#]/),null)}}}),a.defineMIME("text/x-feature","gherkin")})})();var u=l.exports,c=t({__proto__:null,default:u},[l.exports]);export{c as g};
@@ -1,2 +1,2 @@
1
- import{w as n,y as u,z as i,A as o,E as e,C as c,W as t}from"./vendor.c37f7cab.js";const d={class:"markdown-body"},h=t("This guide explains how to publish a forked version of Directus on NPM, Dockerhub and GHCR. You need to first "),p=t("create a fork"),m=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Using a fork in production is neither supported nor recommended."),e("p",null,"Only do so if:"),e("ol",null,[e("li",null,"The feature you want to implement doesn\u2019t satisfy the 80/20 principle"),e("li",null,"There is a technical limitation preventing you from implementing it as an extension")]),e("p",null,"Forks are not officially supported - please don\u2019t submit fork-specific bugs and questions on the official repo."),e("p",null,[t("If you suspect a bug to not be part of your changes please confirm this by reproducing it with the official version "),e("strong",null,"before"),t(" submitting an issue.")])],-1),_=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Minimum Requirements"),e("p",null,"If you want to publish your fork to hub.docker.com or NPM you need to have an account there."),e("p",null,"Note: to publish to NPM you probably have to change all the package names. Publishing to NPM should almost never be necessary.")],-1),f=e("h2",{id:"1.-setup-environment-variables%2Fsecrets"},[t("1. Setup environment variables/secrets "),e("a",{class:"header-anchor",href:"#1.-setup-environment-variables%2Fsecrets"},"#")],-1),b=e("h2",{id:"general"},[t("General "),e("a",{class:"header-anchor",href:"#general"},"#")],-1),g=e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"Variable"),e("th",null,"Description"),e("th",null,"Example")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("code",null,"GHCR_IMAGE")]),e("td",null,"Image name for GitHub Container Registry. Be sure to use the full URL."),e("td",null,[e("code",null,"ghcr.io/directus/directus")])]),e("tr",null,[e("td",null,[e("code",null,"DOCKERHUB_IMAGE")]),e("td",null,"Image name for hub.docker.com, no prefix."),e("td",null,[e("code",null,"directus/directus")])])])],-1),y=e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"Secret"),e("th",null,"Description"),e("th",null,"Example")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("code",null,"NPM_TOKEN")]),e("td",null,"Your NPM token. Make sure to use the type \u201Cautomation\u201D."),e("td",null,[e("code",null,"12345678-...")])]),e("tr",null,[e("td",null,[e("code",null,"DOCKERHUB_USERNAME")]),e("td",null,"Dockerhub Username"),e("td",null,[e("code",null,"directus")])]),e("tr",null,[e("td",null,[e("code",null,"DOCKERHUB_PASSWORD")]),e("td",null,"Dockerhub Password"),e("td",null,[e("code",null,"hunter2")])])])],-1),k=e("h2",{id:"2.-create-a-release"},[t("2. Create a release "),e("a",{class:"header-anchor",href:"#2.-create-a-release"},"#")],-1),v=e("pre",null,[e("code",{class:"language-bash"},`npm run release
1
+ import{w as n,y as u,z as i,A as o,E as e,C as c,W as t}from"./vendor.e0a21029.js";const d={class:"markdown-body"},h=t("This guide explains how to publish a forked version of Directus on NPM, Dockerhub and GHCR. You need to first "),p=t("create a fork"),m=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Using a fork in production is neither supported nor recommended."),e("p",null,"Only do so if:"),e("ol",null,[e("li",null,"The feature you want to implement doesn\u2019t satisfy the 80/20 principle"),e("li",null,"There is a technical limitation preventing you from implementing it as an extension")]),e("p",null,"Forks are not officially supported - please don\u2019t submit fork-specific bugs and questions on the official repo."),e("p",null,[t("If you suspect a bug to not be part of your changes please confirm this by reproducing it with the official version "),e("strong",null,"before"),t(" submitting an issue.")])],-1),_=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Minimum Requirements"),e("p",null,"If you want to publish your fork to hub.docker.com or NPM you need to have an account there."),e("p",null,"Note: to publish to NPM you probably have to change all the package names. Publishing to NPM should almost never be necessary.")],-1),f=e("h2",{id:"1.-setup-environment-variables%2Fsecrets"},[t("1. Setup environment variables/secrets "),e("a",{class:"header-anchor",href:"#1.-setup-environment-variables%2Fsecrets"},"#")],-1),b=e("h2",{id:"general"},[t("General "),e("a",{class:"header-anchor",href:"#general"},"#")],-1),g=e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"Variable"),e("th",null,"Description"),e("th",null,"Example")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("code",null,"GHCR_IMAGE")]),e("td",null,"Image name for GitHub Container Registry. Be sure to use the full URL."),e("td",null,[e("code",null,"ghcr.io/directus/directus")])]),e("tr",null,[e("td",null,[e("code",null,"DOCKERHUB_IMAGE")]),e("td",null,"Image name for hub.docker.com, no prefix."),e("td",null,[e("code",null,"directus/directus")])])])],-1),y=e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"Secret"),e("th",null,"Description"),e("th",null,"Example")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("code",null,"NPM_TOKEN")]),e("td",null,"Your NPM token. Make sure to use the type \u201Cautomation\u201D."),e("td",null,[e("code",null,"12345678-...")])]),e("tr",null,[e("td",null,[e("code",null,"DOCKERHUB_USERNAME")]),e("td",null,"Dockerhub Username"),e("td",null,[e("code",null,"directus")])]),e("tr",null,[e("td",null,[e("code",null,"DOCKERHUB_PASSWORD")]),e("td",null,"Dockerhub Password"),e("td",null,[e("code",null,"hunter2")])])])],-1),k=e("h2",{id:"2.-create-a-release"},[t("2. Create a release "),e("a",{class:"header-anchor",href:"#2.-create-a-release"},"#")],-1),v=e("pre",null,[e("code",{class:"language-bash"},`npm run release
2
2
  `)],-1),M={setup(D,{expose:s}){const l={title:"GitHub CI",modularExtension:!1};return s({frontmatter:l}),(E,N)=>{const r=n("router-link"),a=n("DocsWrapper");return u(),i(a,{frontmatter:l},{default:o(()=>[e("div",d,[e("blockquote",null,[e("p",null,[h,c(r,{to:"/docs/contributing/running-locally/"},{default:o(()=>[p]),_:1})])]),m,_,f,b,g,y,k,v])]),_:1})}}};export{M as default};