@directus/app 9.4.1 → 9.5.1

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 (434) hide show
  1. package/dist/assets/@directus_extensions-sdk.3cf05510.entry.js +1 -0
  2. package/dist/assets/{active-line.0fe933a1.js → active-line.6d34314c.js} +1 -1
  3. package/dist/assets/{activity-log.0becfb65.js → activity-log.66ed5d6c.js} +1 -1
  4. package/dist/assets/{activity.b268a784.js → activity.cc14795b.js} +4 -4
  5. package/dist/assets/af-ZA.71af2276.js +1 -0
  6. package/dist/assets/{apl.0ce249a7.js → apl.2ad16f17.js} +1 -1
  7. package/dist/assets/ar-SA.ea40e3a9.js +1 -0
  8. package/dist/assets/article-overview.86ef3f76.png +0 -0
  9. package/dist/assets/{asciiarmor.3664b8f6.js → asciiarmor.336dc2e3.js} +1 -1
  10. package/dist/assets/{asn.1.1af8dbeb.js → asn.1.25e6a7c5.js} +1 -1
  11. package/dist/assets/{asterisk.3e6102f2.js → asterisk.2773a853.js} +1 -1
  12. package/dist/assets/{authentication.a953b90a.js → authentication.5ec9ad8a.js} +3 -3
  13. package/dist/assets/{autorefresh.829d988b.js → autorefresh.30ac5e2f.js} +1 -1
  14. package/dist/assets/{aws.2a82b3c1.js → aws.e33862c0.js} +1 -1
  15. package/dist/assets/{backing-directus.319c6df6.js → backing-directus.1337e62f.js} +1 -1
  16. package/dist/assets/bg-BG.177b7163.js +2 -0
  17. package/dist/assets/br-FR.6a75d7c1.js +1 -0
  18. package/dist/assets/{brainfuck.74853911.js → brainfuck.5af1e43d.js} +1 -1
  19. package/dist/assets/ca-ES.e335da6d.js +1 -0
  20. package/dist/assets/{cli.52a8ef26.js → cli.0d34ef7d.js} +14 -12
  21. package/dist/assets/{cli.878a30ee.js → cli.5b3b9963.js} +2 -2
  22. package/dist/assets/{clike.0fe26e49.js → clike.543490fd.js} +1 -1
  23. package/dist/assets/{clojure.646f50e3.js → clojure.9f5468f0.js} +1 -1
  24. package/dist/assets/{cloudron.914d6ab9.js → cloudron.823254d1.js} +1 -1
  25. package/dist/assets/{cmake.3fe552ea.js → cmake.d5ff0ab2.js} +1 -1
  26. package/dist/assets/{cobol.db1b821c.js → cobol.d1205c4d.js} +1 -1
  27. package/dist/assets/{codebase-overview.93442916.js → codebase-overview.f51b759c.js} +1 -1
  28. package/dist/assets/{coffeescript.21da0d97.js → coffeescript.f4b30f40.js} +1 -1
  29. package/dist/assets/collection-overview.f5f4bdd0.png +0 -0
  30. package/dist/assets/{collections.214a124a.js → collections.064a3bd6.js} +3 -3
  31. package/dist/assets/{commonlisp.c49b4e12.js → commonlisp.9a02cefb.js} +1 -1
  32. package/dist/assets/config-options.7098eca6.js +133 -0
  33. package/dist/assets/content-collections.ece14f28.js +1 -0
  34. package/dist/assets/{content-items.d1fe11e5.js → content-items.e9c73ca6.js} +1 -1
  35. package/dist/assets/content.1091e52f.js +1 -0
  36. package/dist/assets/{creating-extensions.6881d56b.js → creating-extensions.b6c76056.js} +5 -5
  37. package/dist/assets/{crystal.b4d1f3d1.js → crystal.6e2bb73a.js} +1 -1
  38. package/dist/assets/cs-CZ.8dfd2141.js +1 -0
  39. package/dist/assets/{css.9c99f50e.js → css.bd97e209.js} +1 -1
  40. package/dist/assets/{cypher.b53aba5d.js → cypher.120e49e2.js} +1 -1
  41. package/dist/assets/{d.26796ea5.js → d.a0adfdc1.js} +1 -1
  42. package/dist/assets/da-DK.31685da1.js +1 -0
  43. package/dist/assets/{dart.a02db840.js → dart.2b866b57.js} +1 -1
  44. package/dist/assets/data-model.0637636b.js +1 -0
  45. package/dist/assets/de-DE.aa267b89.js +1 -0
  46. package/dist/assets/{diff.46171ba8.js → diff.5f519d5f.js} +1 -1
  47. package/dist/assets/digitalocean-app-platform.7819a966.js +3 -0
  48. package/dist/assets/{displays.bed7f4f1.js → displays.6a4daf50.js} +3 -3
  49. package/dist/assets/{django.bddac8b0.js → django.41c6c2a0.js} +1 -1
  50. package/dist/assets/{docker.f3492f42.js → docker.49871af8.js} +1 -1
  51. package/dist/assets/{dockerfile.47b8fbce.js → dockerfile.87f55929.js} +1 -1
  52. package/dist/assets/{documentation.14dd59ba.js → documentation.fad370ee.js} +1 -1
  53. package/dist/assets/{dtd.99a5567d.js → dtd.2128151b.js} +1 -1
  54. package/dist/assets/{dylan.41eb62e2.js → dylan.baab8db7.js} +1 -1
  55. package/dist/assets/{ebnf.b9a44cef.js → ebnf.36149d6d.js} +1 -1
  56. package/dist/assets/{ecl.d763f09d.js → ecl.66a969cc.js} +1 -1
  57. package/dist/assets/{eiffel.1aaa94a9.js → eiffel.4fd5f845.js} +1 -1
  58. package/dist/assets/el-GR.e46c7385.js +1 -0
  59. package/dist/assets/{elm.758d6c89.js → elm.6d0378b9.js} +1 -1
  60. package/dist/assets/{email-templates.8b4f7f69.js → email-templates.d7413ac1.js} +2 -2
  61. package/dist/assets/en-CA.abfa05d9.js +1 -0
  62. package/dist/assets/en-GB.d9ec0957.js +1 -0
  63. package/dist/assets/{endpoints.68016600.js → endpoints.a31864aa.js} +4 -4
  64. package/dist/assets/{erlang.6eb47c9a.js → erlang.f0e6cc30.js} +1 -1
  65. package/dist/assets/es-419.acfe801e.js +1 -0
  66. package/dist/assets/es-CL.9e233b1a.js +1 -0
  67. package/dist/assets/es-ES.7bd56b6c.js +1 -0
  68. package/dist/assets/et-EE.c6c25e0e.js +3 -0
  69. package/dist/assets/{extensions.beeadb9f.js → extensions.6669c998.js} +2 -2
  70. package/dist/assets/fa-IR.bc4949d0.js +1 -0
  71. package/dist/assets/{factor.8514b26a.js → factor.3893c637.js} +1 -1
  72. package/dist/assets/{faq.aadc4147.js → faq.225071a3.js} +1 -1
  73. package/dist/assets/{fcl.0fffe888.js → fcl.7378bd6e.js} +1 -1
  74. package/dist/assets/fi-FI.ffa1989d.js +1 -0
  75. package/dist/assets/{fields.74b400b9.js → fields.8ac43b39.js} +3 -3
  76. package/dist/assets/file-library-overview.b41d2005.png +0 -0
  77. package/dist/assets/file-library.85190425.js +1 -0
  78. package/dist/assets/file-overview.c28ace50.png +0 -0
  79. package/dist/assets/{files.42ffb49f.js → files.4be2b7d8.js} +7 -7
  80. package/dist/assets/{filter-rules.28340f9c.js → filter-rules.da1f7a0c.js} +1 -1
  81. package/dist/assets/fo-FO.9d2669e3.js +1 -0
  82. package/dist/assets/{folders.112ba96b.js → folders.fda5443a.js} +4 -4
  83. package/dist/assets/{forth.a458c3b8.js → forth.92be39ae.js} +1 -1
  84. package/dist/assets/{fortran.a5f7d325.js → fortran.63e04dee.js} +1 -1
  85. package/dist/assets/fr-CA.00ffaa22.js +1 -0
  86. package/dist/assets/fr-FR.0b2acd5f.js +1 -0
  87. package/dist/assets/{gas.37a1fe04.js → gas.12ab5fd7.js} +1 -1
  88. package/dist/assets/gcp.b79ff7ab.js +60 -0
  89. package/dist/assets/{gfm.f5c23059.js → gfm.7ee80754.js} +1 -1
  90. package/dist/assets/{gherkin.ee3a1a9c.js → gherkin.919f3328.js} +1 -1
  91. package/dist/assets/{github-ci.6e198b3a.js → github-ci.ecfe6bcc.js} +2 -2
  92. package/dist/assets/glossary.0a56cc9b.js +1 -0
  93. package/dist/assets/{go.59ea88a9.js → go.237d6144.js} +1 -1
  94. package/dist/assets/{groovy.dc9524e7.js → groovy.492fc790.js} +1 -1
  95. package/dist/assets/{haml.6375c53f.js → haml.334d5557.js} +1 -1
  96. package/dist/assets/{handlebars.a1982f91.js → handlebars.ff8e7285.js} +1 -1
  97. package/dist/assets/{haskell-literate.1d26266c.js → haskell-literate.882e524e.js} +1 -1
  98. package/dist/assets/{haskell.4f80df47.js → haskell.22676b92.js} +1 -1
  99. package/dist/assets/{haxe.15357f91.js → haxe.3d65e7b4.js} +1 -1
  100. package/dist/assets/{he-IL.64ff8581.js → he-IL.80c0db1b.js} +1 -1
  101. package/dist/assets/hi-IN.89190874.js +1 -0
  102. package/dist/assets/{hooks.4936ecd2.js → hooks.4528122b.js} +1 -1
  103. package/dist/assets/{htmlembedded.567f6d0f.js → htmlembedded.a9785cf4.js} +1 -1
  104. package/dist/assets/htmlmixed.a7e052a7.js +1 -0
  105. package/dist/assets/{http.c16b45d7.js → http.0a3b81f0.js} +1 -1
  106. package/dist/assets/hu-HU.5f89d00f.js +1 -0
  107. package/dist/assets/id-ID.a9d3d91d.js +1 -0
  108. package/dist/assets/{idl.4067d8bb.js → idl.fac301bd.js} +1 -1
  109. package/dist/assets/{iis.a344c7d6.js → iis.5bf49b8f.js} +2 -2
  110. package/dist/assets/{index.51f8abc2.js → index.04b70838.js} +1 -1
  111. package/dist/assets/{index.77232159.js → index.063518b5.js} +1 -1
  112. package/dist/assets/{index.034e585e.js → index.0adc5df5.js} +1 -1
  113. package/dist/assets/{index.7e20d8c2.js → index.0ae37273.js} +1 -1
  114. package/dist/assets/{index.016f56e5.js → index.0c331bf1.js} +1 -1
  115. package/dist/assets/index.0e9bbd23.js +26 -0
  116. package/dist/assets/{index.aad0fae4.js → index.17a41c6f.js} +1 -1
  117. package/dist/assets/{index.d7b4befd.js → index.18ffc04f.js} +1 -1
  118. package/dist/assets/{index.a46ae08b.js → index.190da52d.js} +1 -1
  119. package/dist/assets/{index.420f0038.js → index.1fb7c96e.js} +1 -1
  120. package/dist/assets/{index.46126660.js → index.2a8495be.js} +1 -1
  121. package/dist/assets/{index.4cc21df1.js → index.2c9ea780.js} +1 -1
  122. package/dist/assets/{index.7d4166ad.js → index.2cbdf5a0.js} +1 -1
  123. package/dist/assets/{index.4b4afce9.js → index.30554737.js} +1 -1
  124. package/dist/assets/{index.1b55fc37.js → index.324f5e2b.js} +1 -1
  125. package/dist/assets/{index.8e469317.js → index.32dbcbf2.js} +1 -1
  126. package/dist/assets/{index.4885bb72.js → index.33ba115d.js} +1 -1
  127. package/dist/assets/{index.1497e9f6.js → index.35cb22c1.js} +1 -1
  128. package/dist/assets/{index.0204f8eb.js → index.36fb5a72.js} +1 -1
  129. package/dist/assets/{index.16487684.js → index.374349c1.js} +1 -1
  130. package/dist/assets/{index.41d2ab4b.js → index.38548ee0.js} +1 -1
  131. package/dist/assets/{index.5d787041.js → index.395fae9e.js} +1 -1
  132. package/dist/assets/{index.59d46b28.js → index.3c746c21.js} +1 -1
  133. package/dist/assets/index.43280c70.css +1 -0
  134. package/dist/assets/{index.052275e4.js → index.4ab0d6c4.js} +1 -1
  135. package/dist/assets/{index.fdbc5547.js → index.4d1dceef.js} +1 -1
  136. package/dist/assets/{index.f74279af.js → index.4db93bd3.js} +1 -1
  137. package/dist/assets/{index.95b4e225.js → index.4e8d7951.js} +1 -1
  138. package/dist/assets/{index.fd59bf58.js → index.534ed83b.js} +1 -1
  139. package/dist/assets/{index.21116561.js → index.57b78798.js} +1 -1
  140. package/dist/assets/{index.d9043125.js → index.5b18068a.js} +1 -1
  141. package/dist/assets/{index.1124240d.js → index.5bb5011a.js} +1 -1
  142. package/dist/assets/{index.6dab1cf5.js → index.62dc6f98.js} +1 -1
  143. package/dist/assets/{index.7ae0245b.js → index.64fceca2.js} +1 -1
  144. package/dist/assets/index.6648089d.css +1 -0
  145. package/dist/assets/{index.8149c1f4.js → index.6b133e41.js} +1 -1
  146. package/dist/assets/{index.24d23b32.js → index.6bab7763.js} +1 -1
  147. package/dist/assets/{index.591d73ed.js → index.6c8a6f17.js} +1 -1
  148. package/dist/assets/{index.5e52a124.js → index.713639ce.js} +1 -1
  149. package/dist/assets/{index.c840425d.js → index.714fac13.js} +1 -1
  150. package/dist/assets/{index.9962f55f.js → index.775dfdc1.js} +1 -1
  151. package/dist/assets/index.7af4eb85.entry.js +531 -0
  152. package/dist/assets/{index.9b635421.js → index.7b5b2b11.js} +1 -1
  153. package/dist/assets/{index.fc0ab4c3.js → index.7b9af633.js} +1 -1
  154. package/dist/assets/{index.5d478df9.js → index.81a51a62.js} +1 -1
  155. package/dist/assets/{index.e77bb1cf.js → index.8b1b9273.js} +1 -1
  156. package/dist/assets/{index.5a9b13f4.js → index.8de84e0a.js} +1 -1
  157. package/dist/assets/{index.4bfa19a2.js → index.90a09533.js} +1 -1
  158. package/dist/assets/{index.6c0bd7a2.js → index.948899e1.js} +1 -1
  159. package/dist/assets/{index.09a61e80.js → index.94b6142e.js} +1 -1
  160. package/dist/assets/{index.d00e049e.js → index.9611946d.js} +1 -1
  161. package/dist/assets/{index.0b35e1b4.js → index.9b0d3651.js} +1 -1
  162. package/dist/assets/{index.936754fa.js → index.9cd9812a.js} +1 -1
  163. package/dist/assets/{index.84d362d8.js → index.a1cb4c13.js} +1 -1
  164. package/dist/assets/{index.bbf65220.js → index.a4b9b487.js} +1 -1
  165. package/dist/assets/{index.2d9de056.js → index.a504aee5.js} +1 -1
  166. package/dist/assets/{index.b06c0c36.js → index.a870dd39.js} +1 -1
  167. package/dist/assets/{index.583ac41d.js → index.a9aa949b.js} +1 -1
  168. package/dist/assets/{index.9e093ded.js → index.ac05a9e7.js} +1 -1
  169. package/dist/assets/{index.27f42ae5.js → index.aca2fbce.js} +1 -1
  170. package/dist/assets/{index.61e588e4.js → index.b15bbf59.js} +1 -1
  171. package/dist/assets/{index.f64e2471.js → index.b4db1ec0.js} +1 -1
  172. package/dist/assets/{index.920e8a90.js → index.b71684e3.js} +1 -1
  173. package/dist/assets/{index.dd991d6c.js → index.b8487b1d.js} +1 -1
  174. package/dist/assets/{index.1e9a216b.js → index.be99047d.js} +1 -1
  175. package/dist/assets/{index.61b053d4.js → index.c0b38d5d.js} +1 -1
  176. package/dist/assets/{index.fefe0b94.js → index.c172fe45.js} +1 -1
  177. package/dist/assets/{index.4a6d0332.js → index.c503ba3f.js} +1 -1
  178. package/dist/assets/{index.6e91343e.js → index.cda9c09a.js} +1 -1
  179. package/dist/assets/{index.cd960004.js → index.cf0076d3.js} +1 -1
  180. package/dist/assets/{index.87cd3236.js → index.cf7cc265.js} +1 -1
  181. package/dist/assets/{index.8e5d9b6a.js → index.d0faaeb2.js} +1 -1
  182. package/dist/assets/{index.5d432822.js → index.d122fc87.js} +1 -1
  183. package/dist/assets/{index.1128dabc.js → index.d2c590ba.js} +1 -1
  184. package/dist/assets/{index.21758765.js → index.d7fea83b.js} +1 -1
  185. package/dist/assets/{index.e3e8b097.js → index.dc3f8342.js} +1 -1
  186. package/dist/assets/{index.ba5ef371.js → index.dfb4d31b.js} +1 -1
  187. package/dist/assets/{index.cbcdd729.js → index.e0bf3865.js} +1 -1
  188. package/dist/assets/{index.cd0b103e.js → index.e3384276.js} +1 -1
  189. package/dist/assets/{index.a0cd712c.js → index.e81a390a.js} +1 -1
  190. package/dist/assets/{index.20095856.js → index.ec02f495.js} +1 -1
  191. package/dist/assets/{index.c46f24a0.js → index.f5dcea21.js} +1 -1
  192. package/dist/assets/{index.dbfc77d5.js → index.f79fe5d2.js} +1 -1
  193. package/dist/assets/{index.8b0b28e6.js → index.f828d625.js} +1 -1
  194. package/dist/assets/{input-rich-text-html.81ac608e.css → input-rich-text-html.80761684.css} +1 -1
  195. package/dist/assets/{input-rich-text-html.94180d78.js → input-rich-text-html.a83f04a4.js} +48 -47
  196. package/dist/assets/insights.e3562dc5.js +1 -0
  197. package/dist/assets/installation.d26988a1.js +1 -0
  198. package/dist/assets/{interfaces.0170d0f0.js → interfaces.7b56a1f6.js} +4 -4
  199. package/dist/assets/{introduction.bbe3d173.js → introduction.186ea1c2.js} +1 -1
  200. package/dist/assets/{introduction.5a20bc34.js → introduction.8bc94b3b.js} +1 -1
  201. package/dist/assets/{introduction.21e74e88.js → introduction.c8833986.js} +2 -2
  202. package/dist/assets/{introduction.b4a49551.js → introduction.e862a41c.js} +7 -7
  203. package/dist/assets/it-IT.12117185.js +1 -0
  204. package/dist/assets/{items.f70be13e.js → items.5070c7cb.js} +4 -4
  205. package/dist/assets/ja-JP.8078d1fc.js +1 -0
  206. package/dist/assets/{javascript-hint.5d3e0d90.js → javascript-hint.b144c8de.js} +1 -1
  207. package/dist/assets/{javascript.c763eee1.js → javascript.40e26531.js} +1 -1
  208. package/dist/assets/{jinja2.329339de.js → jinja2.88480640.js} +1 -1
  209. package/dist/assets/jsx.d71b99b9.js +1 -0
  210. package/dist/assets/{julia.b6d29bd3.js → julia.d16cf79c.js} +1 -1
  211. package/dist/assets/ka-GE.0bf65322.js +1 -0
  212. package/dist/assets/ko-KR.b5ed9ca7.js +1 -0
  213. package/dist/assets/ku-TR.d790a5bf.js +1 -0
  214. package/dist/assets/{layouts.efccc69b.js → layouts.ca9fafb4.js} +4 -4
  215. package/dist/assets/{livescript.b6607f8b.js → livescript.92db6aa4.js} +1 -1
  216. package/dist/assets/{localization.c7fe27a4.js → localization.2cbec683.js} +1 -1
  217. package/dist/assets/lt-LT.2ee93d0f.js +1 -0
  218. package/dist/assets/{lua.ffb1a481.js → lua.c89a03a0.js} +1 -1
  219. package/dist/assets/{manual.69bb34ff.js → manual.b46e3870.js} +4 -4
  220. package/dist/assets/{mark-selection.4ccc5ed3.js → mark-selection.568b46ae.js} +1 -1
  221. package/dist/assets/{match-highlighter.822827ef.js → match-highlighter.03ac7c48.js} +1 -1
  222. package/dist/assets/{mathematica.95da0ad2.js → mathematica.d93d953c.js} +1 -1
  223. package/dist/assets/{mbox.9f47dfc6.js → mbox.6a756fb0.js} +1 -1
  224. package/dist/assets/{migrations.4ed820cb.js → migrations.3d2a34de.js} +1 -1
  225. package/dist/assets/{mirc.a3d9d60d.js → mirc.f3166b71.js} +1 -1
  226. package/dist/assets/{mllike.9737f306.js → mllike.30ca2866.js} +1 -1
  227. package/dist/assets/{modelica.cf43f896.js → modelica.53ca7e82.js} +1 -1
  228. package/dist/assets/{modules.dc733f4a.js → modules.2533e6f7.js} +5 -5
  229. package/dist/assets/ms-MY.3db62076.js +1 -0
  230. package/dist/assets/{mscgen.9a05eddf.js → mscgen.57208a49.js} +1 -1
  231. package/dist/assets/{multiplex.6d2307b8.js → multiplex.08d43a90.js} +2 -2
  232. package/dist/assets/{mumps.2803d619.js → mumps.35e9490e.js} +1 -1
  233. package/dist/assets/{nginx.55176cb3.js → nginx.6e11e9f9.js} +1 -1
  234. package/dist/assets/nl-NL.01bfcc35.js +1 -0
  235. package/dist/assets/no-NO.13f7014c.js +1 -0
  236. package/dist/assets/{notifications.4767fc88.js → notifications.fea8d4c4.js} +5 -5
  237. package/dist/assets/{nsis.5d98a5fc.js → nsis.53e47910.js} +1 -1
  238. package/dist/assets/{ntriples.40f42ee7.js → ntriples.a049a5c9.js} +1 -1
  239. package/dist/assets/{octave.e47e6e72.js → octave.96253883.js} +1 -1
  240. package/dist/assets/{overlay.daf8f51e.js → overlay.6a10de99.js} +1 -1
  241. package/dist/assets/{overview.9733bb3d.js → overview.5483f71c.js} +1 -1
  242. package/dist/assets/overview.62c5e348.js +1 -0
  243. package/dist/assets/{oz.99f1c709.js → oz.a4fae36d.js} +1 -1
  244. package/dist/assets/{panels.5a09f7bb.js → panels.bebf918f.js} +4 -4
  245. package/dist/assets/{pascal.242ca8d3.js → pascal.59a7db39.js} +1 -1
  246. package/dist/assets/{pegjs.13203ee3.js → pegjs.7f9022ee.js} +1 -1
  247. package/dist/assets/{perl.720cc7c1.js → perl.205584d7.js} +1 -1
  248. package/dist/assets/{permissions.806ef08f.js → permissions.c84e9940.js} +1 -1
  249. package/dist/assets/{php.e218fa05.js → php.ecedf73e.js} +1 -1
  250. package/dist/assets/{pig.ec1a0d36.js → pig.219ccd88.js} +1 -1
  251. package/dist/assets/{pinia.97dbaa0f.entry.js → pinia.2ded1a30.entry.js} +1 -1
  252. package/dist/assets/pl-PL.b682b73e.js +1 -0
  253. package/dist/assets/{plesk.a351c2dc.js → plesk.4bf1fae2.js} +5 -5
  254. package/dist/assets/{powershell.6e1627cc.js → powershell.d1ed864a.js} +1 -1
  255. package/dist/assets/presets-bookmarks.58587602.js +1 -0
  256. package/dist/assets/{presets.248b2127.js → presets.34b168d1.js} +4 -4
  257. package/dist/assets/project-settings.42d5f9c2.js +1 -0
  258. package/dist/assets/{properties.7d943400.js → properties.dda8a0c7.js} +1 -1
  259. package/dist/assets/{protobuf.e192a7e4.js → protobuf.7521b574.js} +1 -1
  260. package/dist/assets/pt-BR.5d2cff88.js +1 -0
  261. package/dist/assets/pt-PT.76e3ba8f.js +1 -0
  262. package/dist/assets/{pug.674ed21f.js → pug.b1804d25.js} +1 -1
  263. package/dist/assets/{puppet.c0874c49.js → puppet.74373bd4.js} +1 -1
  264. package/dist/assets/{python.c16d7127.js → python.e9c10263.js} +1 -1
  265. package/dist/assets/{q.b3ba4dd6.js → q.6e4ce851.js} +1 -1
  266. package/dist/assets/{query.5ffb8955.js → query.8f0b770d.js} +10 -10
  267. package/dist/assets/{quickstart.ef04bf5a.js → quickstart.80242153.js} +3 -3
  268. package/dist/assets/{r.64ea0a79.js → r.364f4683.js} +1 -1
  269. package/dist/assets/{relations.5cb0f5b2.js → relations.69d90d24.js} +4 -4
  270. package/dist/assets/relationships.ac91c590.js +55 -0
  271. package/dist/assets/{revisions.7583b51d.js → revisions.cc89f55e.js} +3 -3
  272. package/dist/assets/ro-RO.cbc76b89.js +1 -0
  273. package/dist/assets/{roles.dc6120c3.js → roles.48ceba6d.js} +7 -7
  274. package/dist/assets/{rpm.119f8845.js → rpm.507c17f5.js} +1 -1
  275. package/dist/assets/rst.3ebce1b8.js +1 -0
  276. package/dist/assets/ru-RU.b5582235.js +1 -0
  277. package/dist/assets/{ruby.6b6709a7.js → ruby.f21dab2b.js} +1 -1
  278. package/dist/assets/{running-locally.3c2b205d.js → running-locally.50bd627b.js} +20 -9
  279. package/dist/assets/{rust.1ed9ecb8.js → rust.7eb73218.js} +1 -1
  280. package/dist/assets/{sas.feaffdfe.js → sas.e3ef6c88.js} +1 -1
  281. package/dist/assets/{sass.8098b580.js → sass.9e649df5.js} +1 -1
  282. package/dist/assets/{scheme.36d38de6.js → scheme.7a001213.js} +1 -1
  283. package/dist/assets/{sdk.a27182b2.js → sdk.fb856e77.js} +97 -49
  284. package/dist/assets/{security.5f130665.js → security.17eafeaa.js} +1 -1
  285. package/dist/assets/{server.5af0a70e.js → server.1eecb229.js} +6 -6
  286. package/dist/assets/{settings.b1d8c10b.js → settings.647a37d5.js} +1 -1
  287. package/dist/assets/{settings.dc7dad10.js → settings.71512657.js} +5 -4
  288. package/dist/assets/{shell.93dcbdd4.js → shell.0962d93f.js} +1 -1
  289. package/dist/assets/{show-hint.1c21025b.js → show-hint.e9fbbc4b.js} +1 -1
  290. package/dist/assets/sieve.6af3ccc7.js +1 -0
  291. package/dist/assets/{simple.1d468cce.js → simple.2235ba1e.js} +1 -1
  292. package/dist/assets/sk-SK.5761e1d9.js +1 -0
  293. package/dist/assets/sl-SI.a0734f51.js +2 -0
  294. package/dist/assets/{slim.f7ca4a20.js → slim.40c1025a.js} +1 -1
  295. package/dist/assets/{smalltalk.a9f79e43.js → smalltalk.8189fdc0.js} +1 -1
  296. package/dist/assets/{smarty.7473f098.js → smarty.cdcb9db5.js} +1 -1
  297. package/dist/assets/{solr.46bda377.js → solr.9a8bccfa.js} +1 -1
  298. package/dist/assets/{soy.deca46c7.js → soy.e90a0965.js} +1 -1
  299. package/dist/assets/{sparql.f787cfd7.js → sparql.2a1e619b.js} +1 -1
  300. package/dist/assets/{spreadsheet.6759349d.js → spreadsheet.5c6a58a1.js} +1 -1
  301. package/dist/assets/{sql.9e86b95b.js → sql.619134f5.js} +1 -1
  302. package/dist/assets/sr-CS.7f2f9516.js +1 -0
  303. package/dist/assets/sr-SP.e7aaced7.js +1 -0
  304. package/dist/assets/{sso.c768e048.js → sso.15d8311f.js} +3 -3
  305. package/dist/assets/{stex.667fdbdb.js → stex.d08542a5.js} +1 -1
  306. package/dist/assets/{stylus.f03a7b6a.js → stylus.d0fb8f7c.js} +1 -1
  307. package/dist/assets/{support.cda8faf2.js → support.d1353668.js} +1 -1
  308. package/dist/assets/sv-SE.23424e62.js +1 -0
  309. package/dist/assets/{swift.afa57789.js → swift.f66b151d.js} +1 -1
  310. package/dist/assets/{tcl.f2e36eb9.js → tcl.a4b584af.js} +1 -1
  311. package/dist/assets/{textile.4d732771.js → textile.44eb1e19.js} +1 -1
  312. package/dist/assets/th-TH.73da43c8.js +2 -0
  313. package/dist/assets/{themes.b58cd90b.js → themes.f20fd12b.js} +2 -2
  314. package/dist/assets/{tiddlywiki.79ee9053.js → tiddlywiki.7ac72961.js} +1 -1
  315. package/dist/assets/{tiki.3db40493.js → tiki.072c562d.js} +1 -1
  316. package/dist/assets/{toml.6bfb0b41.js → toml.1c068984.js} +1 -1
  317. package/dist/assets/{tornado.24f3ba4e.js → tornado.4dd1a5aa.js} +1 -1
  318. package/dist/assets/tr-TR.51f6d3f2.js +1 -0
  319. package/dist/assets/{translations.eb002461.js → translations.b1bcc017.js} +1 -1
  320. package/dist/assets/{troff.e2917af9.js → troff.f9041b19.js} +1 -1
  321. package/dist/assets/{ttcn-cfg.9fe6b9a8.js → ttcn-cfg.af43e5b0.js} +1 -1
  322. package/dist/assets/{ttcn.d909bfc9.js → ttcn.9655edb3.js} +1 -1
  323. package/dist/assets/{turtle.c8fab822.js → turtle.c79431e1.js} +1 -1
  324. package/dist/assets/{twig.f50f54aa.js → twig.f2ca58fc.js} +1 -1
  325. package/dist/assets/{ubuntu.dd933e7a.js → ubuntu.9358f45c.js} +1 -1
  326. package/dist/assets/uk-UA.20b58ca2.js +1 -0
  327. package/dist/assets/{upgrades-migrations.12793a05.js → upgrades-migrations.4d55de78.js} +1 -1
  328. package/dist/assets/use-sync.8032b12d.js +1 -0
  329. package/dist/assets/user-directory-overview.69a80519.png +0 -0
  330. package/dist/assets/user-directory.00d32f4f.js +1 -0
  331. package/dist/assets/user-overview.5cc16f64.png +0 -0
  332. package/dist/assets/users-roles-permissions.c1282af0.js +1 -0
  333. package/dist/assets/users.dcef8dce.js +252 -0
  334. package/dist/assets/{utilities.36d60ff3.js → utilities.20549f4c.js} +3 -3
  335. package/dist/assets/{vb.58659c24.js → vb.e0bb0f3c.js} +1 -1
  336. package/dist/assets/{vbscript.5272c4f8.js → vbscript.1bf2a908.js} +1 -1
  337. package/dist/assets/{velocity.d60f6390.js → velocity.fa905b51.js} +1 -1
  338. package/dist/assets/{vendor.275c9c53.js → vendor.62e5a05d.js} +144 -146
  339. package/dist/assets/{verilog.2458acea.js → verilog.76d34fc6.js} +1 -1
  340. package/dist/assets/{vhdl.481b84e7.js → vhdl.9986a053.js} +1 -1
  341. package/dist/assets/vi-VN.b39fb470.js +1 -0
  342. package/dist/assets/vue-i18n.3a3605b7.entry.js +1 -0
  343. package/dist/assets/vue-router.74cb0c8d.entry.js +1 -0
  344. package/dist/assets/vue.01fe05ef.entry.js +1 -0
  345. package/dist/assets/{vue.fe29fcbf.js → vue.9f9dbabf.js} +1 -1
  346. package/dist/assets/{wast.93dbd440.js → wast.ee96f878.js} +1 -1
  347. package/dist/assets/webhooks.afcddb72.js +1 -0
  348. package/dist/assets/{webhooks.a8df8e0b.js → webhooks.d85993c6.js} +4 -4
  349. package/dist/assets/{webidl.29005dbe.js → webidl.09b4846d.js} +1 -1
  350. package/dist/assets/{xquery.a6d0cc5c.js → xquery.f13c3599.js} +1 -1
  351. package/dist/assets/{yacas.f55d062b.js → yacas.73705eb4.js} +1 -1
  352. package/dist/assets/{yaml-frontmatter.333684e3.js → yaml-frontmatter.d9710e50.js} +1 -1
  353. package/dist/assets/{yaml.74e09374.js → yaml.91118312.js} +1 -1
  354. package/dist/assets/{z80.66bff3f7.js → z80.7da94b69.js} +1 -1
  355. package/dist/assets/zh-CN.77260539.js +1 -0
  356. package/dist/assets/zh-TW.ed00cc7a.js +1 -0
  357. package/dist/index.html +4 -4
  358. package/package.json +14 -9
  359. package/dist/assets/@directus_extensions-sdk.ae616125.entry.js +0 -1
  360. package/dist/assets/af-ZA.26b091a9.js +0 -1
  361. package/dist/assets/ar-SA.6510b0a6.js +0 -1
  362. package/dist/assets/bg-BG.85fd772c.js +0 -2
  363. package/dist/assets/br-FR.c97c6a6d.js +0 -1
  364. package/dist/assets/ca-ES.ba1327ef.js +0 -1
  365. package/dist/assets/config-options.e53341a9.js +0 -129
  366. package/dist/assets/content-collections.95451cd2.js +0 -1
  367. package/dist/assets/content.f90064b1.js +0 -1
  368. package/dist/assets/cs-CZ.429bc015.js +0 -1
  369. package/dist/assets/da-DK.a9b4f804.js +0 -1
  370. package/dist/assets/data-model.a15a234a.js +0 -1
  371. package/dist/assets/de-DE.5c11ca43.js +0 -1
  372. package/dist/assets/digitalocean-app-platform.dcd3ffce.js +0 -3
  373. package/dist/assets/el-GR.b56bb816.js +0 -1
  374. package/dist/assets/en-GB.e09f4b97.js +0 -1
  375. package/dist/assets/es-419.3eae29cc.js +0 -1
  376. package/dist/assets/es-CL.e375c7fc.js +0 -1
  377. package/dist/assets/es-ES.19a43cd2.js +0 -1
  378. package/dist/assets/et-EE.fab84972.js +0 -3
  379. package/dist/assets/fa-IR.549d0980.js +0 -1
  380. package/dist/assets/fi-FI.34981b69.js +0 -1
  381. package/dist/assets/file-library.c4715302.js +0 -1
  382. package/dist/assets/fo-FO.e8d30818.js +0 -1
  383. package/dist/assets/fr-FR.ed73265e.js +0 -1
  384. package/dist/assets/glossary.d3470a56.js +0 -1
  385. package/dist/assets/hi-IN.23271b5c.js +0 -1
  386. package/dist/assets/htmlmixed.51c90e05.js +0 -1
  387. package/dist/assets/hu-HU.fefa7e74.js +0 -1
  388. package/dist/assets/id-ID.28b8e5b7.js +0 -1
  389. package/dist/assets/index.29d6735e.entry.js +0 -529
  390. package/dist/assets/index.2f08ad47.js +0 -26
  391. package/dist/assets/index.56cdd291.css +0 -1
  392. package/dist/assets/index.c01059b2.css +0 -1
  393. package/dist/assets/insights.91a3ffb9.js +0 -1
  394. package/dist/assets/installation.751b61a8.js +0 -1
  395. package/dist/assets/it-IT.87ffbbaf.js +0 -1
  396. package/dist/assets/ja-JP.f4240c58.js +0 -1
  397. package/dist/assets/jsx.58bc03ff.js +0 -1
  398. package/dist/assets/ka-GE.eff8ef9c.js +0 -1
  399. package/dist/assets/ko-KR.ba05bd93.js +0 -1
  400. package/dist/assets/ku-TR.fb86a60a.js +0 -1
  401. package/dist/assets/lt-LT.eee41851.js +0 -1
  402. package/dist/assets/ms-MY.57405c0c.js +0 -1
  403. package/dist/assets/nl-NL.c55d85de.js +0 -1
  404. package/dist/assets/no-NO.aff23922.js +0 -1
  405. package/dist/assets/overview.73e44b4b.js +0 -1
  406. package/dist/assets/pl-PL.8828f091.js +0 -1
  407. package/dist/assets/presets-bookmarks.3abfc002.js +0 -1
  408. package/dist/assets/project-settings.adf50533.js +0 -1
  409. package/dist/assets/pt-BR.d47acc50.js +0 -1
  410. package/dist/assets/pt-PT.9612f4ac.js +0 -1
  411. package/dist/assets/relationships.a81e407a.js +0 -55
  412. package/dist/assets/ro-RO.fa817d21.js +0 -1
  413. package/dist/assets/rst.2c465a22.js +0 -1
  414. package/dist/assets/ru-RU.273c4bb4.js +0 -1
  415. package/dist/assets/sieve.1ebc7d5b.js +0 -1
  416. package/dist/assets/sk-SK.8e0ff1f5.js +0 -1
  417. package/dist/assets/sl-SI.9dc99f7a.js +0 -2
  418. package/dist/assets/sr-CS.f123ccf2.js +0 -1
  419. package/dist/assets/sr-SP.5a481d69.js +0 -1
  420. package/dist/assets/sv-SE.53a2dba0.js +0 -1
  421. package/dist/assets/th-TH.91757e1f.js +0 -2
  422. package/dist/assets/tr-TR.81125d7f.js +0 -1
  423. package/dist/assets/uk-UA.ca15c07b.js +0 -1
  424. package/dist/assets/use-sync.7375bbee.js +0 -1
  425. package/dist/assets/user-directory.7ff7f8b9.js +0 -1
  426. package/dist/assets/users-roles-permissions.73253915.js +0 -1
  427. package/dist/assets/users.56012dcd.js +0 -237
  428. package/dist/assets/vi-VN.831442e8.js +0 -1
  429. package/dist/assets/vue-i18n.5dd95aa2.entry.js +0 -1
  430. package/dist/assets/vue-router.a9ba6c1f.entry.js +0 -1
  431. package/dist/assets/vue.e14aa0cc.entry.js +0 -1
  432. package/dist/assets/webhooks.510c4141.js +0 -1
  433. package/dist/assets/zh-CN.3ddacc66.js +0 -1
  434. package/dist/assets/zh-TW.877bc78f.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as i,p as c,q as h,w as s,B as e,t as a,P as l}from"./vendor.275c9c53.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. "),_=l("Learn more about Fields"),g=l("."),m=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),Q={class:"definitions"},C=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(".")],-1),I=e("p",null,[e("code",null,"collection"),l(),e("strong",null,"string"),e("br"),l(" The name of the collection this field resides in.")],-1),D=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.")],-1),G=e("code",null,"special",-1),O=l(),W=e("strong",null,"string",-1),B=e("br",null,null,-1),H=l(" Any special transform flags that apply to this field. See "),M=l("Field Transforms"),N=l(" for more information."),U=e("p",null,[e("code",null,"interface"),l(),e("strong",null,"string"),e("br"),l(" The interface used for this field.")],-1),V=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.")],-1),z=e("p",null,[e("code",null,"display"),l(),e("strong",null,"string"),e("br"),l(" The display used for this field.")],-1),J=e("p",null,[e("code",null,"display_options"),l(),e("strong",null,"string"),e("br"),l(" The configured options for the used display.")],-1),K=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.")],-1),X=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.")],-1),Y=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.")],-1),Z=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(".")],-1),$=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.")],-1),ee=e("p",null,[e("code",null,"note"),l(),e("strong",null,"string"),e("br"),l(" Short description displayed in the Admin App.")],-1),le=e("h4",{id:"schema"},[l("Schema "),e("a",{class:"header-anchor",href:"#schema"},"#")],-1),se=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),te=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),ae=e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[l(`{
1
+ import{r as i,p as c,q as d,w as s,z as e,t as a,S as l}from"./vendor.62e5a05d.js";const h={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. "),_=l("Learn more about Fields"),g=l("."),m=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),Q={class:"definitions"},C=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(".")],-1),I=e("p",null,[e("code",null,"collection"),l(),e("strong",null,"string"),e("br"),l(" The name of the collection this field resides in.")],-1),D=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.")],-1),G=e("code",null,"special",-1),O=l(),W=e("strong",null,"string",-1),H=e("br",null,null,-1),B=l(" Any special transform flags that apply to this field. See "),M=l("Field Transforms"),N=l(" for more information."),U=e("p",null,[e("code",null,"interface"),l(),e("strong",null,"string"),e("br"),l(" The interface used for this field.")],-1),V=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.")],-1),z=e("p",null,[e("code",null,"display"),l(),e("strong",null,"string"),e("br"),l(" The display used for this field.")],-1),J=e("p",null,[e("code",null,"display_options"),l(),e("strong",null,"string"),e("br"),l(" The configured options for the used display.")],-1),K=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.")],-1),X=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.")],-1),Y=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.")],-1),Z=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(".")],-1),$=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.")],-1),ee=e("p",null,[e("code",null,"note"),l(),e("strong",null,"string"),e("br"),l(" Short description displayed in the Admin App.")],-1),le=e("h4",{id:"schema"},[l("Schema "),e("a",{class:"header-anchor",href:"#schema"},"#")],-1),se=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),te=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),ae=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(`,
@@ -45,7 +45,7 @@ import{r as i,p as c,q as h,w as s,B as e,t as a,P as l}from"./vendor.275c9c53.j
45
45
  field
46
46
  }
47
47
  }
48
- `)])])])],-1),ce=e("hr",null,null,-1),he=e("h2",{id:"list-fields-in-collection"},[l("List Fields in Collection "),e("a",{class:"header-anchor",href:"#list-fields-in-collection"},"#")],-1),de=e("p",null,"List the available fields in a given collection.",-1),pe=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"query-parameters-2"},[l("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-2"},"#")]),e("p",null,"This endpoint doesn\u2019t currently support any query parameters."),e("h3",{id:"returns-2"},[l("Returns "),e("a",{class:"header-anchor",href:"#returns-2"},"#")]),e("p",null,[l("An array of "),e("a",{href:"#the-field-object"},"field objects"),l(".")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-2"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),e("pre",null,[e("code",null,`GET /fields/:collection
48
+ `)])])])],-1),ce=e("hr",null,null,-1),de=e("h2",{id:"list-fields-in-collection"},[l("List Fields in Collection "),e("a",{class:"header-anchor",href:"#list-fields-in-collection"},"#")],-1),he=e("p",null,"List the available fields in a given collection.",-1),pe=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"query-parameters-2"},[l("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-2"},"#")]),e("p",null,"This endpoint doesn\u2019t currently support any query parameters."),e("h3",{id:"returns-2"},[l("Returns "),e("a",{class:"header-anchor",href:"#returns-2"},"#")]),e("p",null,[l("An array of "),e("a",{href:"#the-field-object"},"field objects"),l(".")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-2"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),e("pre",null,[e("code",null,`GET /fields/:collection
49
49
  `)]),e("h5",{id:"example-2"},[l("Example "),e("a",{class:"header-anchor",href:"#example-2"},"#")]),e("pre",null,[e("code",null,`GET /fields/articles
50
50
  `)]),e("h3",{id:"graphql-2"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-2"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
51
51
  `)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),l(` {
@@ -132,4 +132,4 @@ import{r as i,p as c,q as h,w as s,B as e,t as a,P as l}from"./vendor.275c9c53.j
132
132
  field
133
133
  }
134
134
  }
135
- `)])])])],-1),Le={setup(Se,{expose:r}){const n={title:"Fields",modularExtension:!1,pageClass:"page-reference"};return r({frontmatter:n}),(Pe,Fe)=>{const t=i("router-link"),o=i("DocsWrapper");return c(),h(o,{frontmatter:n},{default:s(()=>[e("div",d,[e("div",p,[e("div",u,[e("blockquote",null,[e("p",null,[f,a(t,{to:"/docs/getting-started/glossary/#fields"},{default:s(()=>[_]),_:1}),g])])]),m]),j,y,e("div",b,[e("div",v,[e("div",q,[T,w,e("p",null,[x,A,k,E,S,a(t,{to:"/docs/getting-started/glossary/#app"},{default:s(()=>[P]),_:1}),F])]),R,L,e("div",Q,[C,I,D,e("p",null,[G,O,W,B,H,a(t,{to:"/docs/reference/field-transforms/"},{default:s(()=>[M]),_:1}),N]),U,V,z,J,K,X,Y,Z,$,ee]),le,se,te]),ae]),ne,ie,re,oe,ce,he,de,pe,ue,fe,_e,ge,me,je,ye,be,ve,qe,Te,we,xe,Ae,ke,Ee])]),_:1})}}};export{Le as default};
135
+ `)])])])],-1),Le={setup(Se,{expose:r}){const n={title:"Fields",modularExtension:!1,pageClass:"page-reference"};return r({frontmatter:n}),(Pe,Fe)=>{const t=i("router-link"),o=i("DocsWrapper");return c(),d(o,{frontmatter:n},{default:s(()=>[e("div",h,[e("div",p,[e("div",u,[e("blockquote",null,[e("p",null,[f,a(t,{to:"/docs/getting-started/glossary/#fields"},{default:s(()=>[_]),_:1}),g])])]),m]),j,y,e("div",b,[e("div",v,[e("div",q,[T,w,e("p",null,[x,A,k,E,S,a(t,{to:"/docs/getting-started/glossary/#app"},{default:s(()=>[P]),_:1}),F])]),R,L,e("div",Q,[C,I,D,e("p",null,[G,O,W,H,B,a(t,{to:"/docs/reference/field-transforms/"},{default:s(()=>[M]),_:1}),N]),U,V,z,J,K,X,Y,Z,$,ee]),le,se,te]),ae]),ne,ie,re,oe,ce,de,he,pe,ue,fe,_e,ge,me,je,ye,be,ve,qe,Te,we,xe,Ae,ke,Ee])]),_:1})}}};export{Le as default};
@@ -0,0 +1 @@
1
+ import{r as n,p as d,q as h,w as i,z as e,t as a,S as l}from"./vendor.62e5a05d.js";var c="assets/file-library-overview.b41d2005.png",u="assets/file-overview.c28ace50.png",f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAA3CAMAAACfBSJ0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB4UExURf////7///f+/PP9+u77+Oz79+b69fz//vT9++r79/n+/eb69OX59eb79ef79uX69eX69Of69ub59Of69eb59fb9+/L8+o/n0h3PowDIlw/Lnbrx43PhxkfYtJDo0tf371bauSzRqKzt3SvRqMnz6RzOouf79eb69gS5oTMAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIUSURBVEhLnZbreoMgDEC9xkvVarV2XXffat//DZdAWgEvWM6P1SnnA0KAeHP4QRjFQMRRGPj81kKSZkIZydKEvy2TR9RyV5SVUKqy2NFvlPP3eRIa3b6klgrlHv/EK32GAHXRyMYaTVEDhNzKJMF5HeYsojngPGe7zFvoWm41R9VBOzPLI0C31Jmk6QCO3PoBajgSCxgfQ8wB1sZ4B9toQ03aDb0Re2jV4GSAY99EBxk7SG8LyQgGp2fLS7ZNToL5dx9pvHFykgPEUsuh3jpKoqk5phEU/GobBUSk4ezU7k4vZ8nrhd+YYGuaYUpp8ODCFrIodpCil4G6397O5zfBO4ryifj45O9ESWvo8z8Mevz0xd1KvlURwPcCEAfBndEzxBO/JXYQYK5o0VQ8FRw9PxEF5kykTW/icTe6V+JKxJQ5I6bH49O9ClOGH+9MPCnqHmL3hPiM9yMDKUQn7/c5748ShTRc8qlni6fQDI/iaVk/qRkerZ8lX6RmeJQvy/kp4HTWPcrP6X4QG8dA92g/GPvvEXwTZROL/WfsdzhduaHGlfNbIPe7cb7Y4fPF9TxzPj9dz2uaoZZrqyj3g+t95Hz/0X2rLeIixn3rer+LesLe47SecK5fZL20thwL9RIGx60+Q3qsB4c5sxmwHlTWzWSh/qTFXas/Ea53h/JGv3Arhy31LuFWXwv8oH/U8/1cPe95/3zfVzznD7o7AAAAAElFTkSuQmCC";const g={class:"markdown-body"},p=e("blockquote",null,[e("p",null,"Directus includes a full-featured Digital Asset Management (DAM) system for storing, organizing, browsing, and transforming your various files and assets.")],-1),m=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#browsing-files"},"Browsing Files")]),e("li",null,[e("a",{href:"#viewing-or-editing-a-file"},"Viewing or Editing a File")]),e("li",null,[e("a",{href:"#editing-an-image"},"Editing an Image")]),e("li",null,[e("a",{href:"#replacing-a-file"},"Replacing a File")]),e("li",null,[e("a",{href:"#uploading-a-file"},"Uploading a File")]),e("li",null,[e("a",{href:"#creating-a-folder"},"Creating a Folder")]),e("li",null,[e("a",{href:"#renaming-a-folder"},"Renaming a Folder")]),e("li",null,[e("a",{href:"#moving-a-folder"},"Moving a Folder")]),e("li",null,[e("a",{href:"#deleting-a-folder"},"Deleting a Folder")])])])],-1),_=e("h2",{id:"browsing-files"},[l("Browsing Files "),e("a",{class:"header-anchor",href:"#browsing-files"},"#")],-1),v=e("p",null,[e("img",{src:c,alt:"File Library Overview"})],-1),y=l("This module aggregates all files within the project into one consolidated library. This listing page has the same features and functionality as the "),b=l("Collection Page"),A=l("."),w=e("h2",{id:"viewing-or-editing-a-file"},[l("Viewing or Editing a File "),e("a",{class:"header-anchor",href:"#viewing-or-editing-a-file"},"#")],-1),F=e("p",null,[e("img",{src:u,alt:"File Overview"})],-1),k=l("Provides 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 "),D=l("Item Page"),T=l("."),C=e("h4",{id:"file-info"},[l("File Info "),e("a",{class:"header-anchor",href:"#file-info"},"#")],-1),R=e("ul",null,[e("li",null,[e("strong",null,"Preview"),l(" \u2014 A preview of the image or file")]),e("li",null,[e("strong",null,"Title"),l(" \u2014 A title for the file")]),e("li",null,[e("strong",null,"Description"),l(" \u2014 A description of the file")]),e("li",null,[e("strong",null,"Tags"),l(" \u2014 Keywords used for searchability")]),e("li",null,[e("strong",null,"Location"),l(" \u2014 An optional location, eg: where a photo was taken")]),e("li",null,[e("strong",null,"Storage"),l(" \u2014 Which storage adapter is used to store the file asset")]),e("li",null,[e("strong",null,"Filename (Disk)"),l(" \u2014 LOCKED, this is the actual name of the file in storage")]),e("li",null,[e("strong",null,"Filename (Download)"),l(" \u2014 This allows you to set the name of the file when it is downloaded")])],-1),P=e("p",null,"The file sidebar also includes the following details:",-1),E=e("ul",null,[e("li",null,[e("strong",null,"Type"),l(" \u2014 The MIME type of the file, displayed in the App as a formatted media type")]),e("li",null,[e("strong",null,"Dimensions"),l(" \u2014 (Images Only) The width and height of the image in pixels")]),e("li",null,[e("strong",null,"Size"),l(" \u2014 The file-size the asset takes up within the storage adapter")]),e("li",null,[e("strong",null,"Created"),l(" \u2014 The timestamp of when the file was uploaded to the project")]),e("li",null,[e("strong",null,"Owner"),l(" \u2014 The Directus user that uploaded the file to the project")]),e("li",null,[e("strong",null,"Modified"),l(" - The timestamp of when the file was last modified")]),e("li",null,[e("strong",null,"Edited By"),l(" \u2014 The Directus user that modified the file")]),e("li",null,[e("strong",null,"Folder"),l(" \u2014 The current parent folder that contains the file")]),e("li",null,[e("strong",null,"Metadata"),l(" \u2014 Metadata JSON dump of the file\u2019s EXIF, IPTC, and ICC information")])],-1),S=e("h4",{id:"action-buttons"},[l("Action Buttons "),e("a",{class:"header-anchor",href:"#action-buttons"},"#")],-1),M=e("ul",null,[e("li",null,[e("span",{mi:"",btn:""},"check"),l(" \u2014 Saves any edits made to the file")]),e("li",null,[e("span",{mi:"",btn:"",sec:""},"tune"),l(" \u2014 Refer "),e("a",{href:"#editing-an-image"},"Editing an Image")]),e("li",null,[e("span",{mi:"",btn:"",sec:""},"save_alt"),l(" \u2014 Downloads the file to your current device")]),e("li",null,[e("img",{src:f,alt:"Move to Folder",height:"32",style:{"vertical-align":"middle",margin:"2px 0","box-shadow":"none"}}),l(" \u2014 Move the file to another folder ")]),e("li",null,[e("span",{mi:"",btn:"",dngr:""},"delete"),l(" \u2014 Permanently removes the file and its metadata. This action is permanent and can not be undone.")])],-1),x=e("h2",{id:"editing-an-image"},[l("Editing an Image "),e("a",{class:"header-anchor",href:"#editing-an-image"},"#")],-1),z=e("p",null,[l("Clicking the "),e("span",{mi:"",btn:"",sec:""},"tune"),l(" action button on the File Detail opens an image editor for rotating, cropping, or mirroring the file.")],-1),L=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", click a file to open it\u2019s 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")])],-1),I=e("video",{alt:"Image Editing",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/image-editing-220129A.mp4",type:"video/mp4"})],-1),U=e("ol",{start:"3"},[e("li",null,[l("Make your changes and hit "),e("span",{mi:"",btn:""},"check"),l(" in the top right to save the updates to the file.")])],-1),B=e("h2",{id:"replacing-a-file"},[l("Replacing a File "),e("a",{class:"header-anchor",href:"#replacing-a-file"},"#")],-1),O=e("p",null,"Clicking the image Preview on the File Detail page opens a modal where you can replace the file. This is useful if you want to change the file, but keep existing file info and maintain all of the file\u2019s relationships.",-1),Q=e("video",{alt:"Replacing a File",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/replace-file-220129A.mp4",type:"video/mp4"})],-1),V=e("h2",{id:"uploading-a-file"},[l("Uploading a File "),e("a",{class:"header-anchor",href:"#uploading-a-file"},"#")],-1),G=e("p",null,"There are many ways that a file can be uploaded into Directus via the App. We\u2019ll cover the primary method below, but keep in mind that files can also be added directly through different interfaces.",-1),K=e("video",{alt:"Uploading a File",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/upload-file-220129A.mp4",type:"video/mp4"})],-1),W=e("ol",null,[e("li",null,[l("From the "),e("strong",null,"File Library"),l(", click on the "),e("span",{mi:"",btn:""},"add"),l(" button located in the header")]),e("li",null,[e("strong",null,"Upload"),l(" the file by: "),e("ul",null,[e("li",null,"Dragging a file from your desktop to the modal"),e("li",null,"Click the modal area to manually select a file from your device"),e("li",null,[l("Clicking the "),e("span",{mi:"",icon:""},"more_vert"),l(" icon and choosing \u201CImport from URL\u201D")])])])],-1),X=e("h2",{id:"creating-a-folder"},[l("Creating a Folder "),e("a",{class:"header-anchor",href:"#creating-a-folder"},"#")],-1),j=e("video",{alt:"Creating a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/create-folder-220129A.mp4",type:"video/mp4"})],-1),q=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 the folder name"),e("li",null,"Click \u201CSave\u201D")],-1),H=e("h2",{id:"renaming-a-folder"},[l("Renaming a Folder "),e("a",{class:"header-anchor",href:"#renaming-a-folder"},"#")],-1),Z=e("video",{alt:"Renaming a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/rename-folder-220129A.mp4",type:"video/mp4"})],-1),J=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"),e("li",null,"Click \u201CSave\u201D")],-1),Y=e("h2",{id:"moving-a-folder"},[l("Moving a Folder "),e("a",{class:"header-anchor",href:"#moving-a-folder"},"#")],-1),N=e("video",{alt:"Moving a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/move-folder-220129A.mp4",type:"video/mp4"})],-1),$=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 \u201CMove to Folder\u201D")]),e("li",null,"Select a folder that will be the new parent folder"),e("li",null,"Click \u201CSave\u201D")],-1),ee=e("h2",{id:"deleting-a-folder"},[l("Deleting a Folder "),e("a",{class:"header-anchor",href:"#deleting-a-folder"},"#")],-1),le=e("video",{alt:"Deleting a Folder",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/file-library/delete-folder-220129A.mp4",type:"video/mp4"})],-1),ie=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 \u201CDelete Folder\u201D")]),e("li",null,"Click \u201CDelete\u201D")],-1),te=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),re={setup(oe,{expose:s}){const t={title:"File Library",modularExtension:!1};return s({frontmatter:t}),(ne,ae)=>{const o=n("router-link"),r=n("DocsWrapper");return d(),h(r,{frontmatter:t},{default:i(()=>[e("div",g,[p,m,_,v,e("p",null,[y,a(o,{to:"/docs/app/content-collections/"},{default:i(()=>[b]),_:1}),A]),w,F,e("p",null,[k,a(o,{to:"/docs/getting-started/glossary/#items"},{default:i(()=>[D]),_:1}),T]),C,R,P,E,S,M,x,z,L,I,U,B,O,Q,V,G,K,W,X,j,q,H,Z,J,Y,N,$,ee,le,ie,te])]),_:1})}}};export{re as default};
@@ -1,7 +1,7 @@
1
- import{r as o,p as c,q as h,w as l,B as e,t as a,P as s}from"./vendor.275c9c53.js";var d="assets/original.888775a8.jpg",u="data:image/jpeg;base64,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",p="assets/200-200-cover-50.b5c757be.jpg",f="assets/200-200-cover-75.5e0d9ff8.jpg",_="assets/200-200-cover-100.6a119754.jpg";const g={class:"markdown-body"},m=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),y=e("hr",null,null,-1),j=e("h2",{id:"accessing-an-file"},[s("Accessing an File "),e("a",{class:"header-anchor",href:"#accessing-an-file"},"#")],-1),b=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{r as o,p as c,q as h,w as l,z as e,t as a,S as s}from"./vendor.62e5a05d.js";var d="assets/original.888775a8.jpg",u="data:image/jpeg;base64,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",p="assets/200-200-cover-50.b5c757be.jpg",f="assets/200-200-cover-75.5e0d9ff8.jpg",_="assets/200-200-cover-100.6a119754.jpg";const g={class:"markdown-body"},m=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),y=e("hr",null,null,-1),j=e("h2",{id:"accessing-an-file"},[s("Accessing an File "),e("a",{class:"header-anchor",href:"#accessing-an-file"},"#")],-1),b=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:d,alt:"Original File"}),s(),e("em",null,"Original File Used \u2014 602KB and 1800x1200")])])],-1),A=e("hr",null,null,-1),q=e("h2",{id:"downloading-a-file"},[s("Downloading a File "),e("a",{class:"header-anchor",href:"#downloading-a-file"},"#")],-1),x=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[s("To download an asset with the correct filename, you need to add the "),e("code",null,"?download"),s(" query parameter to the request and the "),e("code",null,"download"),s(" attribute to your anchor tag. This will ensure the appropriate "),e("a",{href:"https://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html",target:"_blank",rel:"noopener noreferrer"},"Content-Disposition"),s(" headers are added. Without this, the download will work on the "),e("em",null,"same"),s(" domain, however it will have the file\u2019s \u201Cid\u201D as the filename for cross-origin requests.")])]),e("div",{class:"right"},[e("h3",{id:"example"},[s("Example "),e("a",{class:"header-anchor",href:"#example"},"#")]),e("pre",null,[e("code",{class:"language-html"},[e("span",{class:"hljs-tag"},[s("<"),e("span",{class:"hljs-name"},"a"),s(),e("span",{class:"hljs-attr"},"href"),s("="),e("span",{class:"hljs-string"},'"https://your-directus.com/assets/<file-id>?download"'),s(),e("span",{class:"hljs-attr"},"target"),s("="),e("span",{class:"hljs-string"},'"_blank"'),s(),e("span",{class:"hljs-attr"},"download"),s("="),e("span",{class:"hljs-string"},'"Your File.pdf"'),s(">")]),s("Download"),e("span",{class:"hljs-tag"},[s("</"),e("span",{class:"hljs-name"},"a"),s(">")]),s(`
4
- `)])])])],-1),w=e("hr",null,null,-1),T=e("h2",{id:"requesting-a-thumbnail"},[s("Requesting a Thumbnail "),e("a",{class:"header-anchor",href:"#requesting-a-thumbnail"},"#")],-1),R={class:"two-up"},v={class:"left"},U=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),k=e("h3",{id:"preset-transformations"},[s("Preset Transformations "),e("a",{class:"header-anchor",href:"#preset-transformations"},"#")],-1),B=e("strong",null,[e("code",null,"key")],-1),E=s(" \u2014 This "),I=e("strong",null,"key",-1),Q=s(" of the "),S=s("Storage Asset Preset"),D=s(", a shortcut for the below parameters"),F=e("h3",{id:"custom-transformations"},[s("Custom Transformations "),e("a",{class:"header-anchor",href:"#custom-transformations"},"#")],-1),O=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),C=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),G=e("h3",{id:"advanced-transformations"},[s("Advanced Transformations "),e("a",{class:"header-anchor",href:"#advanced-transformations"},"#")],-1),Y=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),M=e("h3",{id:"quality-vs-filesize"},[s("Quality vs Filesize "),e("a",{class:"header-anchor",href:"#quality-vs-filesize"},"#")],-1),P=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),K=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:u,alt:"25%"}),e("br"),e("em",null,"4KB")]),e("td",null,[e("img",{src:p,alt:"50%"}),e("br"),e("em",null,"6KB")]),e("td",null,[e("img",{src:f,alt:"75%"}),e("br"),e("em",null,"8KB")]),e("td",null,[e("img",{src:_,alt:"100%"}),e("br"),e("em",null,"38KB")])])])],-1),H=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>
4
+ `)])])])],-1),w=e("hr",null,null,-1),T=e("h2",{id:"requesting-a-thumbnail"},[s("Requesting a Thumbnail "),e("a",{class:"header-anchor",href:"#requesting-a-thumbnail"},"#")],-1),R={class:"two-up"},v={class:"left"},U=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),k=e("h3",{id:"preset-transformations"},[s("Preset Transformations "),e("a",{class:"header-anchor",href:"#preset-transformations"},"#")],-1),B=e("strong",null,[e("code",null,"key")],-1),E=s(" \u2014 This "),I=e("strong",null,"key",-1),S=s(" of the "),Q=s("Storage Asset Preset"),D=s(", a shortcut for the below parameters"),F=e("h3",{id:"custom-transformations"},[s("Custom Transformations "),e("a",{class:"header-anchor",href:"#custom-transformations"},"#")],-1),O=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),C=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),G=e("h3",{id:"advanced-transformations"},[s("Advanced Transformations "),e("a",{class:"header-anchor",href:"#advanced-transformations"},"#")],-1),Y=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),M=e("h3",{id:"quality-vs-filesize"},[s("Quality vs Filesize "),e("a",{class:"header-anchor",href:"#quality-vs-filesize"},"#")],-1),P=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),K=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:u,alt:"25%"}),e("br"),e("em",null,"4KB")]),e("td",null,[e("img",{src:p,alt:"50%"}),e("br"),e("em",null,"6KB")]),e("td",null,[e("img",{src:f,alt:"75%"}),e("br"),e("em",null,"8KB")]),e("td",null,[e("img",{src:_,alt:"100%"}),e("br"),e("em",null,"38KB")])])])],-1),H=e("div",{class:"right"},[e("h3",{id:"preset"},[s("Preset "),e("a",{class:"header-anchor",href:"#preset"},"#")]),e("pre",null,[e("code",null,`example.com/assets/<file-id>?key=<key>
5
5
  `)]),e("h3",{id:"custom"},[s("Custom "),e("a",{class:"header-anchor",href:"#custom"},"#")]),e("pre",null,[e("code",null,`example.com/assets/<file-id>?fit=<fit>&width=<width>&height=<height>&quality=<quality>
6
6
  example.com/assets/1ac73658-8b62-4dea-b6da-529fbc9d01a4?fit=cover&width=200&height=200&quality=80
7
7
  `)]),e("h3",{id:"advanced"},[s("Advanced "),e("a",{class:"header-anchor",href:"#advanced"},"#")]),e("pre",null,[e("code",null,`?transforms=[
@@ -43,7 +43,7 @@ example.com/assets/1ac73658-8b62-4dea-b6da-529fbc9d01a4?fit=cover&width=200&heig
43
43
  }
44
44
  }
45
45
  }
46
- `)])])],-1),Qe=e("hr",null,null,-1),Se=e("h2",{id:"list-files"},[s("List Files "),e("a",{class:"header-anchor",href:"#list-files"},"#")],-1),De=e("p",null,"List all files that exist in Directus.",-1),Fe={class:"two-up"},Oe={class:"left"},Ce=e("h3",{id:"query-parameters"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),Ge=s("Supports all "),Ye=s("global query parameters"),Me=s("."),Pe=e("h3",{id:"returns"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns"},"#")],-1),Ke=s("An array of up to "),He=s("limit"),Je=s(),We=e("a",{href:"#the-file-object"},"file objects",-1),Le=s(". If no items are available, data will be an empty array."),Ne={class:"right"},Ve=e("h3",{id:"rest-api"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api"},"#")],-1),ze=e("pre",null,[e("code",null,`GET /files
46
+ `)])])],-1),Se=e("hr",null,null,-1),Qe=e("h2",{id:"list-files"},[s("List Files "),e("a",{class:"header-anchor",href:"#list-files"},"#")],-1),De=e("p",null,"List all files that exist in Directus.",-1),Fe={class:"two-up"},Oe={class:"left"},Ce=e("h3",{id:"query-parameters"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),Ge=s("Supports all "),Ye=s("global query parameters"),Me=s("."),Pe=e("h3",{id:"returns"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns"},"#")],-1),Ke=s("An array of up to "),He=s("limit"),Je=s(),We=e("a",{href:"#the-file-object"},"file objects",-1),Le=s(". If no items are available, data will be an empty array."),Ne={class:"right"},Ve=e("h3",{id:"rest-api"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api"},"#")],-1),ze=e("pre",null,[e("code",null,`GET /files
47
47
  SEARCH /files
48
48
  `)],-1),Xe=s("Learn more about SEARCH ->"),Ze=e("h3",{id:"graphql"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql"},"#")],-1),$e=e("pre",null,[e("code",null,`POST /graphql/system
49
49
  `)],-1),es=e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),s(` {
@@ -107,7 +107,7 @@ Content-Type: image/jpeg
107
107
 
108
108
  \xFF\xD8\xFF\xE0JFIFHH\xFF\xE2ICC_PROFILE\flcmsmntrRGB XYZ \x07\xDC)9acspAPPL\xF6\xD6\xD3-lcms
109
109
  desc\xFC^cprt\\\vwtpthbkpt|rXYZ\x90gXYZ\xA4bXYZ\xB8rTRC\xCC@gTRC\xCC@bTRC\xCC@descc2textIXXYZ \xF6\xD6\xD3-XYZ 3\xA4XYZ o\xA28\xF5\x90XYZ b\x99\xB7\x85\xDAXYZ $\xA0\x84\xB6\xCFcurv\xCB\xC9c\x92\bk\v\xF6?Q4!\xF1)\x902;\x92FQw]\xEDkpz\x89\xB1\x9A|\xACi\xBF}\xD3\xC3\xE90\xFF\xFF\xFF\xDB\x84\b\b\x07\x07
110
- `)])],-1),Qs=e("hr",null,null,-1),Ss=e("h2",{id:"import-a-file"},[s("Import a File "),e("a",{class:"header-anchor",href:"#import-a-file"},"#")],-1),Ds=e("p",null,"Import a file from the web",-1),Fs={class:"two-up"},Os={class:"left"},Cs=e("h3",{id:"query-parameters-4"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-4"},"#")],-1),Gs=s("Supports all "),Ys=s("global query parameters"),Ms=s("."),Ps=e("h3",{id:"request-body"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body"},"#")],-1),Ks=e("div",{class:"definitions"},[e("p",null,[e("code",null,"url"),s(),e("strong",null,"Required"),e("br"),s(" The URL to download the file from.")]),e("p",null,[e("code",null,"data"),e("br"),s(" Any of "),e("a",{href:"#the-file-object"},"the file object"),s("\u2019s properties.")])],-1),Hs=e("h3",{id:"returns-4"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-4"},"#")],-1),Js=e("p",null,[s("Returns the "),e("a",{href:"#the-file-object"},"file object"),s(" for the imported file.")],-1),Ws=e("div",{class:"right"},[e("h3",{id:"rest-api-3"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),e("pre",null,[e("code",null,`POST /files/import
110
+ `)])],-1),Ss=e("hr",null,null,-1),Qs=e("h2",{id:"import-a-file"},[s("Import a File "),e("a",{class:"header-anchor",href:"#import-a-file"},"#")],-1),Ds=e("p",null,"Import a file from the web",-1),Fs={class:"two-up"},Os={class:"left"},Cs=e("h3",{id:"query-parameters-4"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-4"},"#")],-1),Gs=s("Supports all "),Ys=s("global query parameters"),Ms=s("."),Ps=e("h3",{id:"request-body"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body"},"#")],-1),Ks=e("div",{class:"definitions"},[e("p",null,[e("code",null,"url"),s(),e("strong",null,"Required"),e("br"),s(" The URL to download the file from.")]),e("p",null,[e("code",null,"data"),e("br"),s(" Any of "),e("a",{href:"#the-file-object"},"the file object"),s("\u2019s properties.")])],-1),Hs=e("h3",{id:"returns-4"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-4"},"#")],-1),Js=e("p",null,[s("Returns the "),e("a",{href:"#the-file-object"},"file object"),s(" for the imported file.")],-1),Ws=e("div",{class:"right"},[e("h3",{id:"rest-api-3"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),e("pre",null,[e("code",null,`POST /files/import
111
111
  `)]),e("h5",{id:"example-5"},[s("Example "),e("a",{class:"header-anchor",href:"#example-5"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /files/import"),s(`
112
112
 
113
113
  {
@@ -160,7 +160,7 @@ desc\xFC^cprt\\\vwtpthbkpt|rXYZ\x90gXYZ\xA4bXYZ\xB8rTRC\xCC@gTRC\xC
160
160
  data: { tags: [`),e("span",{class:"hljs-string"},'"cities"'),s(`] }
161
161
  )
162
162
  }
163
- `)])])],-1),Al=e("hr",null,null,-1),ql=e("h2",{id:"delete-a-file"},[s("Delete a File "),e("a",{class:"header-anchor",href:"#delete-a-file"},"#")],-1),xl=e("p",null,"Delete an existing file.",-1),wl={class:"two-up"},Tl={class:"left"},Rl=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Destructive"),e("p",null,"This will also delete the file from disk.")],-1),vl=e("h3",{id:"query-parameters-7"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-7"},"#")],-1),Ul=s("Supports all "),kl=s("global query parameters"),Bl=s("."),El=e("h3",{id:"returns-7"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-7"},"#")],-1),Il=e("p",null,"Empty response.",-1),Ql=e("div",{class:"right"},[e("h3",{id:"rest-api-6"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),e("pre",null,[e("code",null,`DELETE /files/:id
163
+ `)])])],-1),Al=e("hr",null,null,-1),ql=e("h2",{id:"delete-a-file"},[s("Delete a File "),e("a",{class:"header-anchor",href:"#delete-a-file"},"#")],-1),xl=e("p",null,"Delete an existing file.",-1),wl={class:"two-up"},Tl={class:"left"},Rl=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Destructive"),e("p",null,"This will also delete the file from disk.")],-1),vl=e("h3",{id:"query-parameters-7"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-7"},"#")],-1),Ul=s("Supports all "),kl=s("global query parameters"),Bl=s("."),El=e("h3",{id:"returns-7"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-7"},"#")],-1),Il=e("p",null,"Empty response.",-1),Sl=e("div",{class:"right"},[e("h3",{id:"rest-api-6"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),e("pre",null,[e("code",null,`DELETE /files/:id
164
164
  `)]),e("h5",{id:"example-11"},[s("Example "),e("a",{class:"header-anchor",href:"#example-11"},"#")]),e("pre",null,[e("code",null,`DELETE /files/0fca80c4-d61c-4404-9fd7-6ba86b64154d
165
165
  `)]),e("h3",{id:"graphql-6"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-6"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
166
166
  `)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
@@ -171,7 +171,7 @@ desc\xFC^cprt\\\vwtpthbkpt|rXYZ\x90gXYZ\xA4bXYZ\xB8rTRC\xCC@gTRC\xC
171
171
  id
172
172
  }
173
173
  }
174
- `)])])],-1),Sl=e("hr",null,null,-1),Dl=e("h2",{id:"delete-multiple-files"},[s("Delete Multiple Files "),e("a",{class:"header-anchor",href:"#delete-multiple-files"},"#")],-1),Fl=e("p",null,"Delete multiple files at once.",-1),Ol=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Destructive"),e("p",null,"This will also delete the files from disk.")]),e("h3",{id:"request-body-4"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-4"},"#")]),e("p",null,"Array of file primary keys"),e("h3",{id:"returns-8"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-8"},"#")]),e("p",null,"Empty response.")]),e("div",{class:"right"},[e("h3",{id:"rest-api-7"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-7"},"#")]),e("pre",null,[e("code",null,`DELETE /files
174
+ `)])])],-1),Ql=e("hr",null,null,-1),Dl=e("h2",{id:"delete-multiple-files"},[s("Delete Multiple Files "),e("a",{class:"header-anchor",href:"#delete-multiple-files"},"#")],-1),Fl=e("p",null,"Delete multiple files at once.",-1),Ol=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Destructive"),e("p",null,"This will also delete the files from disk.")]),e("h3",{id:"request-body-4"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-4"},"#")]),e("p",null,"Array of file primary keys"),e("h3",{id:"returns-8"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-8"},"#")]),e("p",null,"Empty response.")]),e("div",{class:"right"},[e("h3",{id:"rest-api-7"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-7"},"#")]),e("pre",null,[e("code",null,`DELETE /files
175
175
  `)]),e("h5",{id:"example-12"},[s("Example "),e("a",{class:"header-anchor",href:"#example-12"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// DELETE /files"),s(`
176
176
 
177
177
  [`),e("span",{class:"hljs-string"},'"d17c10aa-0bad-4864-9296-84f522c753e5"'),s(", "),e("span",{class:"hljs-string"},'"b6123925-2fc0-4a30-9d86-863eafc0a6e7"'),s(`]
@@ -184,4 +184,4 @@ desc\xFC^cprt\\\vwtpthbkpt|rXYZ\x90gXYZ\xA4bXYZ\xB8rTRC\xCC@gTRC\xC
184
184
  ids
185
185
  }
186
186
  }
187
- `)])])])],-1),Pl={setup(Cl,{expose:i}){const n={title:"Accessing Files",modularExtension:!1,pageClass:"page-reference"};return i({frontmatter:n}),(Gl,Yl)=>{const t=o("router-link"),r=o("DocsWrapper");return c(),h(r,{frontmatter:n},{default:l(()=>[e("div",g,[m,y,j,b,A,q,x,w,T,e("div",R,[e("div",v,[U,k,e("ul",null,[e("li",null,[B,E,I,Q,a(t,{to:"/docs/configuration/project-settings/#files-thumbnails"},{default:l(()=>[S]),_:1}),D])]),F,O,C,G,Y,M,P,K]),H]),J,W,e("div",L,[e("div",N,[e("div",V,[z,X,Z,$,ee,se,e("p",null,[le,te,ae,ne,oe,a(t,{to:"/docs/reference/system/folders/"},{default:l(()=>[ie]),_:1}),re]),e("p",null,[ce,he,de,ue,pe,a(t,{to:"/docs/reference/system/users/"},{default:l(()=>[fe]),_:1}),_e]),ge,e("p",null,[me,ye,je,be,Ae,a(t,{to:"/docs/reference/system/users/"},{default:l(()=>[qe]),_:1}),xe]),we,Te,Re,ve,Ue,ke,Be,Ee])]),Ie]),Qe,Se,De,e("div",Fe,[e("div",Oe,[Ce,e("p",null,[Ge,a(t,{to:"/docs/reference/query"},{default:l(()=>[Ye]),_:1}),Me]),Pe,e("p",null,[Ke,a(t,{to:"/docs/reference/query/#limit"},{default:l(()=>[He]),_:1}),Je,We,Le])]),e("div",Ne,[Ve,ze,e("p",null,[a(t,{to:"/docs/reference/introduction/#search-http-method"},{default:l(()=>[Xe]),_:1})]),Ze,$e,es,ss,ls])]),ts,as,ns,e("div",os,[e("div",is,[rs,e("p",null,[cs,a(t,{to:"/docs/reference/query"},{default:l(()=>[hs]),_:1}),ds]),us,ps]),fs]),_s,gs,e("div",ms,[e("div",ys,[js,bs,As,qs,xs,ws,Ts,Rs,e("p",null,[vs,a(t,{to:"/docs/reference/query"},{default:l(()=>[Us]),_:1}),ks]),Bs,Es]),Is]),Qs,Ss,Ds,e("div",Fs,[e("div",Os,[Cs,e("p",null,[Gs,a(t,{to:"/docs/reference/query"},{default:l(()=>[Ys]),_:1}),Ms]),Ps,Ks,Hs,Js]),Ws]),Ls,Ns,Vs,e("div",zs,[e("div",Xs,[Zs,e("p",null,[$s,a(t,{to:"/docs/reference/query"},{default:l(()=>[el]),_:1}),sl]),ll,tl,al,nl]),ol]),il,rl,cl,e("div",hl,[e("div",dl,[ul,e("p",null,[pl,a(t,{to:"/docs/reference/query"},{default:l(()=>[fl]),_:1}),_l]),gl,ml,yl,jl]),bl]),Al,ql,xl,e("div",wl,[e("div",Tl,[Rl,vl,e("p",null,[Ul,a(t,{to:"/docs/reference/query"},{default:l(()=>[kl]),_:1}),Bl]),El,Il]),Ql]),Sl,Dl,Fl,Ol])]),_:1})}}};export{Pl as default};
187
+ `)])])])],-1),Pl={setup(Cl,{expose:i}){const n={title:"Accessing Files",modularExtension:!1,pageClass:"page-reference"};return i({frontmatter:n}),(Gl,Yl)=>{const t=o("router-link"),r=o("DocsWrapper");return c(),h(r,{frontmatter:n},{default:l(()=>[e("div",g,[m,y,j,b,A,q,x,w,T,e("div",R,[e("div",v,[U,k,e("ul",null,[e("li",null,[B,E,I,S,a(t,{to:"/docs/configuration/project-settings/#files-thumbnails"},{default:l(()=>[Q]),_:1}),D])]),F,O,C,G,Y,M,P,K]),H]),J,W,e("div",L,[e("div",N,[e("div",V,[z,X,Z,$,ee,se,e("p",null,[le,te,ae,ne,oe,a(t,{to:"/docs/reference/system/folders/"},{default:l(()=>[ie]),_:1}),re]),e("p",null,[ce,he,de,ue,pe,a(t,{to:"/docs/reference/system/users/"},{default:l(()=>[fe]),_:1}),_e]),ge,e("p",null,[me,ye,je,be,Ae,a(t,{to:"/docs/reference/system/users/"},{default:l(()=>[qe]),_:1}),xe]),we,Te,Re,ve,Ue,ke,Be,Ee])]),Ie]),Se,Qe,De,e("div",Fe,[e("div",Oe,[Ce,e("p",null,[Ge,a(t,{to:"/docs/reference/query"},{default:l(()=>[Ye]),_:1}),Me]),Pe,e("p",null,[Ke,a(t,{to:"/docs/reference/query/#limit"},{default:l(()=>[He]),_:1}),Je,We,Le])]),e("div",Ne,[Ve,ze,e("p",null,[a(t,{to:"/docs/reference/introduction/#search-http-method"},{default:l(()=>[Xe]),_:1})]),Ze,$e,es,ss,ls])]),ts,as,ns,e("div",os,[e("div",is,[rs,e("p",null,[cs,a(t,{to:"/docs/reference/query"},{default:l(()=>[hs]),_:1}),ds]),us,ps]),fs]),_s,gs,e("div",ms,[e("div",ys,[js,bs,As,qs,xs,ws,Ts,Rs,e("p",null,[vs,a(t,{to:"/docs/reference/query"},{default:l(()=>[Us]),_:1}),ks]),Bs,Es]),Is]),Ss,Qs,Ds,e("div",Fs,[e("div",Os,[Cs,e("p",null,[Gs,a(t,{to:"/docs/reference/query"},{default:l(()=>[Ys]),_:1}),Ms]),Ps,Ks,Hs,Js]),Ws]),Ls,Ns,Vs,e("div",zs,[e("div",Xs,[Zs,e("p",null,[$s,a(t,{to:"/docs/reference/query"},{default:l(()=>[el]),_:1}),sl]),ll,tl,al,nl]),ol]),il,rl,cl,e("div",hl,[e("div",dl,[ul,e("p",null,[pl,a(t,{to:"/docs/reference/query"},{default:l(()=>[fl]),_:1}),_l]),gl,ml,yl,jl]),bl]),Al,ql,xl,e("div",wl,[e("div",Tl,[Rl,vl,e("p",null,[Ul,a(t,{to:"/docs/reference/query"},{default:l(()=>[kl]),_:1}),Bl]),El,Il]),Sl]),Ql,Dl,Fl,Ol])]),_:1})}}};export{Pl as default};
@@ -1,4 +1,4 @@
1
- import{r as s,p as r,q as u,w as o,B as l,P as t}from"./vendor.275c9c53.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{r as s,p as r,q as u,w as o,z as l,S as t}from"./vendor.62e5a05d.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
  }
@@ -0,0 +1 @@
1
+ var e={identifier:"Ey\xF0kenni",avatar:"Vangamynd",application:"N\xFDtsluskipan",default_provider:"Standard",published:"\xDAt Givi\xF0",draft:"Kladda",archived:"Skjalasavna",modules:"Modulir",module_bar:"Modul Bj\xE1lki",tile_size:"Fl\xEDsa St\xF8dd",edit_field:"R\xE6tta Teig",conditions:"Treytir",maps:"Kort",switch_user:"Skift Br\xFAkara",item_creation:"Stovna Lut",item_revision:"Endursko\xF0a Lut",enter_a_name:"\xC1set eitt Navn...",duplicate_field:"Tv\xEDfalda Teig",half_width:"H\xE1lv Breidd",full_width:"Full Breidd",group:"B\xF3lkur",and:"Og",or:"Ella",fill_width:"Fyll Breiddina",field_name_translations:"Navna Teiga Umsetingar",enter_password_to_enable_tfa:"Skriva t\xEDtt loynior\xF0 fyri at virkja Tvey-Stigs Samgildi (2FA)",add_field:"Legg afturat Teig",role_name:"Leikluts Heiti",branch:"Grein",leaf:"Bla\xF0",indeterminate:"\xD3vist",edit_collection:"R\xE6tta Savn",exclusive:"Ser\xFArval",children:"B\xF8rn",db_only_click_to_configure:"Einans D\xE1tugrunnur: Klikkja fyri at Stilla",show_active_items:"V\xEDs Virknar Lutir",show_archived_items:"V\xEDs Skjalasavna\xF0ir Lutir",show_all_items:"V\xEDs Allar Lutir",edited:"Vir\xF0i er broytt",required:"Ney\xF0ugt",required_for_app_access:"Ney\xF0ugt til App Atgongd",requires_value:"Ney\xF0ugt vir\xF0i",create_preset:"Stovna Undanstilling",create_panel:"Stovna Talvu",create_role:"Stovna Leiklut",create_user:"Stovna Br\xFAkara",delete_panel:"Strika Talvu",create_webhook:"Stovna Webhook",invite_users:"Bj\xF3\xF0a Br\xFAkarum",invite:"Bj\xF3\xF0a",email_already_invited:'Telduposturin "{email}" hevur longu fingi\xF0 eina innbj\xF3\xF0ing',subject:"Evni",inbox:"Innbakki",emails:"Teldupostar",connection_excellent:"Fr\xE1l\xEDkt Samband",connection_good:"Gott Samband",connection_fair:"Hampiligt Samband",connection_poor:"Ringt Samband",primary:"Primer",rename_folder:"Umdoyp Faldara",delete_folder:"Strika Faldara",prefix:"Forskoyti",suffix:"Eftirskoyti",reset_bookmark:"Nullstilla B\xF3kamerki",rename_bookmark:"Umdoyp B\xF3kamerki",update_bookmark:"R\xE6tta B\xF3kamerki",delete_bookmark:"Strika B\xF3kamerki",delete_bookmark_copy:'Ert t\xFA vissur \xED at t\xFA vilt strika "{bookmark}" b\xF3kamerki? Hendan ger\xF0 kann ikki angrast.',logoutReason:{SIGN_OUT:"Rita\xF0ur \xDAt",SESSION_EXPIRED:"Sambandi er \xDAtgingi\xF0"},public_label:"Alment",public_description:"St\xFDrir hvat API d\xE1ta til taks uttan samgildi.",not_allowed:"Ikki loyvt",directus_version:"Directus \xDAtg\xE1va",node_version:"Node \xDAtg\xE1va",node_uptime:"Node N\xFDtslut\xED\xF0",os_type:"OS Slag",os_version:"OS \xDAtg\xE1va",os_uptime:"OS N\xFDtslut\xED\xF0",os_totalmem:"OS Minni",archive:"Skjalasavna",archive_confirm:"Ert t\xFA v\xEDsur \xED at t\xFA vilt skjalasavna hendan lutin?",archive_confirm_count:"Eingir lutir eru valdir | Ert t\xFA v\xEDsur \xED at t\xFA vilt skjalasavna hendan lutin? | Ert t\xFA v\xEDsur \xED at t\xFA vilt skjalasavna hesar {count} lutir?",reset_system_permissions_to:"Nullstilla kervis r\xE6ttindini til:",reset_system_permissions_copy:"Hendan ger\xF0 fer at yvirskriva \xF8ll br\xFAkara sett loyvi sum t\xFA kanst hava n\xFDtt \xE1 kerviss\xF8vnini. Ert t\xFA v\xEDsur?",system:"Kervi",interface_label:"Takf\xF8risflati",creating_collection_system:"Virkjan og n\xFDnevnan av \xF8llum hesum valfr\xED\xF0u Teigum.",no_collections_copy:"T\xFA hevur eingi S\xF8vn enn. Set teg vinarliga \xED samband vi\xF0 kervisfyrisitarin.",system_collections:"Kerviss\xF8vnini",interface_options:"Takf\xF8risflatastillingar",optional_system_fields:"Valfr\xED Kervisteigar",page_help_activity_collection:"**Kaga Virksemi** \u2014 Ein dr\xFAvur listi av \xF8llum t\xEDnum kervisbr\xFAkarum innan kervisvirksemi og innihaldsvirksemi.",page_help_settings_datamodel_collections:"**D\xE1tamynd: S\xF8vn** \u2014 V\xEDsir \xF8ll t\xF8k s\xF8vn. Hettar fevnir um sj\xF3nlig, goymd, og kerviss\xF8vn, harumframt \xF3vi\xF0gj\xF8rd d\xE1tugrunnstalvur, sum kunnu leggjast afturat.",page_help_users_collection:"**Br\xFAkara Directory** \u2014 V\xEDsir ein lista yvir \xF8llum kervisbr\xFAkarum innan hesari verk\xE6tlan.",system_fields_locked:"Kervisteigar eru l\xE6stir og kunnu ikki broytast",directus_collection:{directus_roles:"B\xF3lkar av loyvum fyri kervisbr\xFAkarum",directus_users:"Kervisbr\xFAkarir til verk\xE6tlanina"},fields:{directus_users:{theme_auto:"Sj\xE1lvvirkin (Grunda \xE1 Kervi)"},directus_settings:{module_bar:"Modul Bj\xE1lki"},directus_fields:{translation:"Navna Teiga Umsetingar"},directus_roles:{name:"Leikluts Heiti"}},field_options:{directus_collections:{archive_divider:"Skjalasavna"},directus_users:{dropdown_auto:"Sj\xE1lvvirkin (Grunda \xE1 Kervi)"}},interfaces:{"presentation-links":{primary:"Primer"},"system-collection":{collection:"Savn",description:"Vel millum galdandi S\xF8vn",include_system_collections:"Tel vi\xF0 Kerviss\xF8vnini"},"system-collections":{collections:"S\xF8vn",description:"Vel millum galdandi S\xF8vn",include_system_collections:"Tel vi\xF0 Kerviss\xF8vnini"},"system-display-template":{"display-template":"S\xFDna fram skapil\xF3n",description:"Blanda \xF3broytandi tekst og dynamiskar teigvir\xF0ir",collection_field:"Savnteigur",collection_field_not_setup:"Stillingin til savnteigin skeivt stilla",select_a_collection:"Vel eitt savn"},"system-interface":{interface:"Takf\xF8risflati",description:"Vel ein galdandi takf\xF8risflata",placeholder:"Vel ein takf\xF8risflata..."},"system-interface-options":{"interface-options":"Takf\xF8risflatastillingar"},"system-folder":{folder:"Faldari",description:"Vel ein faldara",field_hint:"Faldari til uppsendum f\xEDlum. \xC1virkar ikki galdandi f\xEDlum.",root_name:"F\xEDlasavns R\xF3t",system_default:"Grundkervi"},"input-rich-text-html":{folder_note:"Faldari til uppsendum f\xEDlum. \xC1virkar ikki galdandi f\xEDlum."}},displays:{"formatted-value":{prefix:"Forskoyti",suffix:"Eftirskoyti"}}},i=e.identifier,a=e.avatar,r=e.application,t=e.default_provider,l=e.published,n=e.draft,s=e.archived,o=e.modules,_=e.module_bar,d=e.tile_size,v=e.edit_field,c=e.conditions,u=e.maps,m=e.switch_user,p=e.item_creation,k=e.item_revision,f=e.enter_a_name,g=e.duplicate_field,y=e.half_width,h=e.full_width,b=e.group,S=e.and,w=e.or,j=e.fill_width,T=e.field_name_translations,B=e.enter_password_to_enable_tfa,x=e.add_field,E=e.role_name,V=e.branch,N=e.leaf,F=e.indeterminate,K=e.edit_collection,R=e.exclusive,q=e.children,L=e.db_only_click_to_configure,G=e.show_active_items,H=e.show_archived_items,O=e.show_all_items,A=e.edited,I=e.required,U=e.required_for_app_access,D=e.requires_value,M=e.create_preset,P=e.create_panel,z=e.create_role,W=e.create_user,X=e.delete_panel,C=e.create_webhook,J=e.invite_users,Q=e.invite,Y=e.email_already_invited,Z=e.subject,$=e.inbox,ee=e.emails,ie=e.connection_excellent,ae=e.connection_good,re=e.connection_fair,te=e.connection_poor,le=e.primary,ne=e.rename_folder,se=e.delete_folder,oe=e.prefix,_e=e.suffix,de=e.reset_bookmark,ve=e.rename_bookmark,ce=e.update_bookmark,ue=e.delete_bookmark,me=e.delete_bookmark_copy,pe=e.logoutReason,ke=e.public_label,fe=e.public_description,ge=e.not_allowed,ye=e.directus_version,he=e.node_version,be=e.node_uptime,Se=e.os_type,we=e.os_version,je=e.os_uptime,Te=e.os_totalmem,Be=e.archive,xe=e.archive_confirm,Ee=e.archive_confirm_count,Ve=e.reset_system_permissions_to,Ne=e.reset_system_permissions_copy,Fe=e.system,Ke=e.interface_label,Re=e.creating_collection_system,qe=e.no_collections_copy,Le=e.system_collections,Ge=e.interface_options,He=e.optional_system_fields,Oe=e.page_help_activity_collection,Ae=e.page_help_settings_datamodel_collections,Ie=e.page_help_users_collection,Ue=e.system_fields_locked,De=e.directus_collection,Me=e.fields,Pe=e.field_options,ze=e.interfaces,We=e.displays;export{x as add_field,S as and,r as application,Be as archive,xe as archive_confirm,Ee as archive_confirm_count,s as archived,a as avatar,V as branch,q as children,c as conditions,ie as connection_excellent,re as connection_fair,ae as connection_good,te as connection_poor,P as create_panel,M as create_preset,z as create_role,W as create_user,C as create_webhook,Re as creating_collection_system,L as db_only_click_to_configure,e as default,t as default_provider,ue as delete_bookmark,me as delete_bookmark_copy,se as delete_folder,X as delete_panel,De as directus_collection,ye as directus_version,We as displays,n as draft,g as duplicate_field,K as edit_collection,v as edit_field,A as edited,Y as email_already_invited,ee as emails,f as enter_a_name,B as enter_password_to_enable_tfa,R as exclusive,T as field_name_translations,Pe as field_options,Me as fields,j as fill_width,h as full_width,b as group,y as half_width,i as identifier,$ as inbox,F as indeterminate,Ke as interface_label,Ge as interface_options,ze as interfaces,Q as invite,J as invite_users,p as item_creation,k as item_revision,N as leaf,pe as logoutReason,u as maps,_ as module_bar,o as modules,qe as no_collections_copy,be as node_uptime,he as node_version,ge as not_allowed,He as optional_system_fields,w as or,Te as os_totalmem,Se as os_type,je as os_uptime,we as os_version,Oe as page_help_activity_collection,Ae as page_help_settings_datamodel_collections,Ie as page_help_users_collection,oe as prefix,le as primary,fe as public_description,ke as public_label,l as published,ve as rename_bookmark,ne as rename_folder,I as required,U as required_for_app_access,D as requires_value,de as reset_bookmark,Ne as reset_system_permissions_copy,Ve as reset_system_permissions_to,E as role_name,G as show_active_items,O as show_all_items,H as show_archived_items,Z as subject,_e as suffix,m as switch_user,Fe as system,Le as system_collections,Ue as system_fields_locked,d as tile_size,ce as update_bookmark};
@@ -1,4 +1,4 @@
1
- import{r as n,p as h,q as c,w as a,B as e,t,P as s}from"./vendor.275c9c53.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{r as n,p as h,q as c,w as a,z as e,t,S as s}from"./vendor.62e5a05d.js";const i={class:"markdown-body"},p=e("div",{class:"two-up"},[e("div",{class:"left"},[e("blockquote",null,[e("p",null,"Folders can be used to organize files within the platform. Folders are virtual, and aren\u2019t mirrored within the storage adapter.")])]),e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-folder-object"},"The Folder Object")]),e("li",null,[e("a",{href:"#list-folders"},"List Folders")]),e("li",null,[e("a",{href:"#retrieve-a-folder"},"Retrieve a Folder")]),e("li",null,[e("a",{href:"#create-a-folder"},"Create a Folder")]),e("li",null,[e("a",{href:"#create-multiple-folders"},"Create Multiple Folders")]),e("li",null,[e("a",{href:"#update-a-folder"},"Update a Folder")]),e("li",null,[e("a",{href:"#update-multiple-folders"},"Update Multiple Folders")]),e("li",null,[e("a",{href:"#delete-a-folder"},"Delete a Folder")]),e("li",null,[e("a",{href:"#delete-multiple-folders"},"Delete Multiple Folders")])])])])])],-1),u=e("hr",null,null,-1),_=e("h2",{id:"the-folder-object"},[s("The Folder Object "),e("a",{class:"header-anchor",href:"#the-folder-object"},"#")],-1),f=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"definitions"},[e("p",null,[e("code",null,"id"),s(),e("strong",null,"uuid"),e("br"),s(" Primary key of the folder.")]),e("p",null,[e("code",null,"name"),s(),e("strong",null,"string"),e("br"),s(" Name of the folder.")]),e("p",null,[e("code",null,"parent"),s(),e("strong",null,"many-to-one"),e("br"),s(" Parent folder. Many-to-one to folders (recursive).")])])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[s(`{
2
2
  `),e("span",{class:"hljs-attr"},'"data"'),s(`: {
3
3
  `),e("span",{class:"hljs-attr"},'"id"'),s(": "),e("span",{class:"hljs-string"},'"fc02d733-95b8-4e27-bd4b-08a32cbe4e66"'),s(`,
4
4
  `),e("span",{class:"hljs-attr"},'"name"'),s(": "),e("span",{class:"hljs-string"},'"Test"'),s(`,
@@ -16,7 +16,7 @@ SEARCH /folders
16
16
  name
17
17
  }
18
18
  }
19
- `)])],-1),G=e("hr",null,null,-1),B=e("h2",{id:"retrieve-a-folder"},[s("Retrieve a Folder "),e("a",{class:"header-anchor",href:"#retrieve-a-folder"},"#")],-1),N=e("p",null,"List all folders that exist in Directus.",-1),H={class:"two-up"},U={class:"left"},V=e("h3",{id:"query-parameters-2"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-2"},"#")],-1),W=s("Supports all "),z=s("global query parameters"),J=s("."),K=e("h3",{id:"returns-2"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-2"},"#")],-1),X=e("p",null,[s("Returns a "),e("a",{href:"#the-folder-object"},"folder object"),s(" if a valid primary key was provided.")],-1),Y=e("div",{class:"right"},[e("h3",{id:"rest-api-2"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),e("pre",null,[e("code",null,`GET /folders/:id
19
+ `)])],-1),G=e("hr",null,null,-1),B=e("h2",{id:"retrieve-a-folder"},[s("Retrieve a Folder "),e("a",{class:"header-anchor",href:"#retrieve-a-folder"},"#")],-1),N=e("p",null,"List all folders that exist in Directus.",-1),H={class:"two-up"},U={class:"left"},V=e("h3",{id:"query-parameters-2"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-2"},"#")],-1),z=s("Supports all "),W=s("global query parameters"),J=s("."),K=e("h3",{id:"returns-2"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-2"},"#")],-1),X=e("p",null,[s("Returns a "),e("a",{href:"#the-folder-object"},"folder object"),s(" if a valid primary key was provided.")],-1),Y=e("div",{class:"right"},[e("h3",{id:"rest-api-2"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),e("pre",null,[e("code",null,`GET /folders/:id
20
20
  `)]),e("h5",{id:"example-2"},[s("Example "),e("a",{class:"header-anchor",href:"#example-2"},"#")]),e("pre",null,[e("code",null,`GET /folders/fc02d733-95b8-4e27-bd4b-08a32cbe4e66
21
21
  `)]),e("h3",{id:"graphql-2"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-2"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
22
22
  `)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),s(` {
@@ -83,7 +83,7 @@ SEARCH /folders
83
83
  name
84
84
  }
85
85
  }
86
- `)])])],-1),Ge=e("hr",null,null,-1),Be=e("h2",{id:"update-multiple-folders"},[s("Update Multiple Folders "),e("a",{class:"header-anchor",href:"#update-multiple-folders"},"#")],-1),Ne=e("p",null,"Update multiple existing folders.",-1),He={class:"two-up"},Ue={class:"left"},Ve=e("h3",{id:"query-parameters-6"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-6"},"#")],-1),We=s("Supports all "),ze=s("global query parameters"),Je=s("."),Ke=e("h3",{id:"request-body-4"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-4"},"#")],-1),Xe=e("div",{class:"definitions"},[e("p",null,[e("code",null,"keys"),s(),e("strong",null,"Required"),e("br"),s(" Array of primary keys of the folders you\u2019d like to update.")]),e("p",null,[e("code",null,"data"),s(),e("strong",null,"Required"),e("br"),s(" Any of "),e("a",{href:"#the-folder-object"},"the folder object"),s("\u2019s properties.")])],-1),Ye=e("h3",{id:"returns-6"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-6"},"#")],-1),Ze=e("p",null,[s("Returns the "),e("a",{href:"#the-folder-object"},"folder objects"),s(" of the folders that were updated.")],-1),$e=e("div",{class:"right"},[e("h3",{id:"rest-api-6"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),e("pre",null,[e("code",null,`PATCH /folders
86
+ `)])])],-1),Ge=e("hr",null,null,-1),Be=e("h2",{id:"update-multiple-folders"},[s("Update Multiple Folders "),e("a",{class:"header-anchor",href:"#update-multiple-folders"},"#")],-1),Ne=e("p",null,"Update multiple existing folders.",-1),He={class:"two-up"},Ue={class:"left"},Ve=e("h3",{id:"query-parameters-6"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-6"},"#")],-1),ze=s("Supports all "),We=s("global query parameters"),Je=s("."),Ke=e("h3",{id:"request-body-4"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-4"},"#")],-1),Xe=e("div",{class:"definitions"},[e("p",null,[e("code",null,"keys"),s(),e("strong",null,"Required"),e("br"),s(" Array of primary keys of the folders you\u2019d like to update.")]),e("p",null,[e("code",null,"data"),s(),e("strong",null,"Required"),e("br"),s(" Any of "),e("a",{href:"#the-folder-object"},"the folder object"),s("\u2019s properties.")])],-1),Ye=e("h3",{id:"returns-6"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-6"},"#")],-1),Ze=e("p",null,[s("Returns the "),e("a",{href:"#the-folder-object"},"folder objects"),s(" of the folders that were updated.")],-1),$e=e("div",{class:"right"},[e("h3",{id:"rest-api-6"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),e("pre",null,[e("code",null,`PATCH /folders
87
87
  `)]),e("h5",{id:"example-10"},[s("Example "),e("a",{class:"header-anchor",href:"#example-10"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// PATCH /folders"),s(`
88
88
 
89
89
  {
@@ -129,4 +129,4 @@ SEARCH /folders
129
129
  ids
130
130
  }
131
131
  }
132
- `)])])])],-1),ps={setup(os,{expose:d}){const r={title:"Folders",modularExtension:!1,pageClass:"page-reference"};return d({frontmatter:r}),(hs,cs)=>{const l=n("router-link"),o=n("DocsWrapper");return h(),c(o,{frontmatter:r},{default:a(()=>[e("div",i,[p,u,_,f,m,g,y,e("div",b,[e("div",j,[q,e("p",null,[x,t(l,{to:"/docs/reference/query"},{default:a(()=>[v]),_:1}),E]),w,e("p",null,[T,t(l,{to:"/docs/reference/query/#limit"},{default:a(()=>[P]),_:1}),R,k,S])]),e("div",A,[F,D,e("p",null,[t(l,{to:"/docs/reference/introduction/#search-http-method"},{default:a(()=>[C]),_:1})]),L,Q,I,O,M])]),G,B,N,e("div",H,[e("div",U,[V,e("p",null,[W,t(l,{to:"/docs/reference/query"},{default:a(()=>[z]),_:1}),J]),K,X]),Y]),Z,$,ee,e("div",se,[e("div",ae,[le,e("p",null,[te,t(l,{to:"/docs/reference/query"},{default:a(()=>[re]),_:1}),ne]),de,oe,he,ce]),ie]),pe,ue,_e,e("div",fe,[e("div",me,[ge,e("p",null,[ye,t(l,{to:"/docs/reference/query"},{default:a(()=>[be]),_:1}),je]),qe,xe,ve,Ee]),we]),Te,Pe,Re,e("div",ke,[e("div",Se,[Ae,e("p",null,[Fe,t(l,{to:"/docs/reference/query"},{default:a(()=>[De]),_:1}),Ce]),Le,Qe,Ie,Oe]),Me]),Ge,Be,Ne,e("div",He,[e("div",Ue,[Ve,e("p",null,[We,t(l,{to:"/docs/reference/query"},{default:a(()=>[ze]),_:1}),Je]),Ke,Xe,Ye,Ze]),$e]),es,ss,as,ls,ts,rs,ns,ds])]),_:1})}}};export{ps as default};
132
+ `)])])])],-1),ps={setup(os,{expose:d}){const r={title:"Folders",modularExtension:!1,pageClass:"page-reference"};return d({frontmatter:r}),(hs,cs)=>{const l=n("router-link"),o=n("DocsWrapper");return h(),c(o,{frontmatter:r},{default:a(()=>[e("div",i,[p,u,_,f,m,g,y,e("div",b,[e("div",j,[q,e("p",null,[x,t(l,{to:"/docs/reference/query"},{default:a(()=>[v]),_:1}),E]),w,e("p",null,[T,t(l,{to:"/docs/reference/query/#limit"},{default:a(()=>[P]),_:1}),R,k,S])]),e("div",A,[F,D,e("p",null,[t(l,{to:"/docs/reference/introduction/#search-http-method"},{default:a(()=>[C]),_:1})]),L,Q,I,O,M])]),G,B,N,e("div",H,[e("div",U,[V,e("p",null,[z,t(l,{to:"/docs/reference/query"},{default:a(()=>[W]),_:1}),J]),K,X]),Y]),Z,$,ee,e("div",se,[e("div",ae,[le,e("p",null,[te,t(l,{to:"/docs/reference/query"},{default:a(()=>[re]),_:1}),ne]),de,oe,he,ce]),ie]),pe,ue,_e,e("div",fe,[e("div",me,[ge,e("p",null,[ye,t(l,{to:"/docs/reference/query"},{default:a(()=>[be]),_:1}),je]),qe,xe,ve,Ee]),we]),Te,Pe,Re,e("div",ke,[e("div",Se,[Ae,e("p",null,[Fe,t(l,{to:"/docs/reference/query"},{default:a(()=>[De]),_:1}),Ce]),Le,Qe,Ie,Oe]),Me]),Ge,Be,Ne,e("div",He,[e("div",Ue,[Ve,e("p",null,[ze,t(l,{to:"/docs/reference/query"},{default:a(()=>[We]),_:1}),Je]),Ke,Xe,Ye,Ze]),$e]),es,ss,as,ls,ts,rs,ns,ds])]),_:1})}}};export{ps as default};
@@ -1 +1 @@
1
- import{bK as S}from"./vendor.275c9c53.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(f)}var u={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"),a=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:a,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=u.exports,D=Object.freeze(T({__proto__:null,[Symbol.toStringTag]:"Module",default:A},[u.exports]));export{D as f};
1
+ import{bK as S}from"./vendor.62e5a05d.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(f)}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=Object.freeze(T({__proto__:null,[Symbol.toStringTag]:"Module",default:A},[a.exports]));export{D as f};
@@ -1 +1 @@
1
- import{bK as h}from"./vendor.275c9c53.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(o)}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"]),m=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=/[+\-*&=<>\/\:]/,p=new RegExp("(.and.|.or.|.eq.|.lt.|.le.|.gt.|.ge.|.ne.|.not.|.eqv.|.neqv.)","i");function g(t,r){if(t.match(p))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)||m.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=Object.freeze(x({__proto__:null,[Symbol.toStringTag]:"Module",default:y},[u.exports]));export{k as f};
1
+ import{bK as h}from"./vendor.62e5a05d.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(o)}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"]),m=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=/[+\-*&=<>\/\:]/,p=new RegExp("(.and.|.or.|.eq.|.lt.|.le.|.gt.|.ge.|.ne.|.not.|.eqv.|.neqv.)","i");function g(t,r){if(t.match(p))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)||m.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=Object.freeze(x({__proto__:null,[Symbol.toStringTag]:"Module",default:y},[u.exports]));export{k as f};