@directus/app 9.10.0 → 9.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/dist/assets/@directus_extensions-sdk.a9b8b128.entry.js +1 -0
  2. package/dist/assets/{accounts.5730f58a.js → accounts.66ec28ae.js} +1 -1
  3. package/dist/assets/{active-line.ebb71fb8.js → active-line.b401085a.js} +1 -1
  4. package/dist/assets/{activity-log.c9235b62.js → activity-log.f155a932.js} +1 -1
  5. package/dist/assets/{activity.ff4cb799.js → activity.fda68c16.js} +1 -1
  6. package/dist/assets/af-ZA.ea7e1890.js +1 -0
  7. package/dist/assets/{apl.976167c0.js → apl.ad4c850a.js} +1 -1
  8. package/dist/assets/ar-SA.3eb89e83.js +1 -0
  9. package/dist/assets/{asciiarmor.45c16f31.js → asciiarmor.1533a799.js} +1 -1
  10. package/dist/assets/{asn.1.7f874dea.js → asn.1.9766c944.js} +1 -1
  11. package/dist/assets/{asterisk.55e38066.js → asterisk.340bcc6f.js} +1 -1
  12. package/dist/assets/{authentication.37ab728d.js → authentication.df231b15.js} +1 -1
  13. package/dist/assets/{autorefresh.f4273b37.js → autorefresh.597402d2.js} +1 -1
  14. package/dist/assets/{aws.2cbdae9b.js → aws.36b50ff7.js} +1 -1
  15. package/dist/assets/{backing-directus.c30814b2.js → backing-directus.7441049e.js} +1 -1
  16. package/dist/assets/bg-BG.3cee3da1.js +2 -0
  17. package/dist/assets/{brainfuck.ab8ecbbf.js → brainfuck.5031fbd8.js} +1 -1
  18. package/dist/assets/ca-ES.34596b68.js +1 -0
  19. package/dist/assets/{cli.972136c7.js → cli.65e75a12.js} +1 -1
  20. package/dist/assets/{cli.0a4df861.js → cli.9da7257e.js} +1 -1
  21. package/dist/assets/{clike.8c0b0d8f.js → clike.2014b970.js} +1 -1
  22. package/dist/assets/{clojure.e58df985.js → clojure.49bcb61f.js} +1 -1
  23. package/dist/assets/{cloudron.c5c97204.js → cloudron.3050bd55.js} +1 -1
  24. package/dist/assets/{cmake.77c3a78b.js → cmake.6206ebe0.js} +1 -1
  25. package/dist/assets/{cobol.5800890d.js → cobol.bf2929ad.js} +1 -1
  26. package/dist/assets/{codebase-overview.41eb2e19.js → codebase-overview.d34cee5a.js} +1 -1
  27. package/dist/assets/{coffeescript.65bdab88.js → coffeescript.683a9493.js} +1 -1
  28. package/dist/assets/{collections.c691fda2.js → collections.2aabdde0.js} +1 -1
  29. package/dist/assets/{collections.cf70d96a.js → collections.6586cf2b.js} +1 -1
  30. package/dist/assets/{commonlisp.fdaf9ea0.js → commonlisp.78d5ea31.js} +1 -1
  31. package/dist/assets/{config-options.f4fd7c46.js → config-options.d7abaa21.js} +1 -1
  32. package/dist/assets/{content.a28f530b.js → content.f88a75fa.js} +1 -1
  33. package/dist/assets/{creating-extensions.5b5af540.js → creating-extensions.06da88d4.js} +1 -1
  34. package/dist/assets/{crystal.d36108d5.js → crystal.0b111653.js} +1 -1
  35. package/dist/assets/cs-CZ.0a7d946d.js +1 -0
  36. package/dist/assets/{css.af9df8d9.js → css.9ca6545e.js} +1 -1
  37. package/dist/assets/{cypher.c083eec3.js → cypher.491ccd0b.js} +1 -1
  38. package/dist/assets/{d.b4f5d1f2.js → d.b4a0bf85.js} +1 -1
  39. package/dist/assets/{dart.af866fff.js → dart.64a49425.js} +1 -1
  40. package/dist/assets/data-model.8a30a047.js +1 -0
  41. package/dist/assets/{data-sharing.2f88743d.js → data-sharing.3e5d04af.js} +1 -1
  42. package/dist/assets/de-DE.e7decfad.js +1 -0
  43. package/dist/assets/{diff.52a32496.js → diff.9b4eb42c.js} +1 -1
  44. package/dist/assets/{digitalocean-app-platform.21eddffd.js → digitalocean-app-platform.1685e8e9.js} +1 -1
  45. package/dist/assets/{displays.74c0202c.js → displays.33667d66.js} +1 -1
  46. package/dist/assets/{django.804afcea.js → django.e92ce65a.js} +1 -1
  47. package/dist/assets/{docker.3fd073e7.js → docker.a5acf639.js} +1 -1
  48. package/dist/assets/{dockerfile.8cc3eed0.js → dockerfile.800e464f.js} +1 -1
  49. package/dist/assets/{documentation.037616ed.js → documentation.75e1dbe7.js} +1 -1
  50. package/dist/assets/{dtd.5a4c5958.js → dtd.d899ff4d.js} +1 -1
  51. package/dist/assets/{dylan.f5a1dc92.js → dylan.3bf494f9.js} +1 -1
  52. package/dist/assets/{ebnf.19298dc4.js → ebnf.d3953051.js} +1 -1
  53. package/dist/assets/{ecl.1b12a71c.js → ecl.0272e6d2.js} +1 -1
  54. package/dist/assets/{eiffel.78a4a13f.js → eiffel.2b68c9d3.js} +1 -1
  55. package/dist/assets/{elm.c5b4e3d7.js → elm.818f0dcc.js} +1 -1
  56. package/dist/assets/{email-templates.015f656b.js → email-templates.717f473c.js} +1 -1
  57. package/dist/assets/en-GB.a1107f0b.js +1 -0
  58. package/dist/assets/{endpoints.ad718303.js → endpoints.38ff408f.js} +1 -1
  59. package/dist/assets/{erlang.5ba0e81e.js → erlang.5656eb79.js} +1 -1
  60. package/dist/assets/es-419.39bb29ff.js +1 -0
  61. package/dist/assets/es-CL.25194b00.js +1 -0
  62. package/dist/assets/es-ES.4d20beff.js +1 -0
  63. package/dist/assets/{extensions.a78a0bab.js → extensions.1c445bc7.js} +1 -1
  64. package/dist/assets/{factor.474d1346.js → factor.741e009d.js} +1 -1
  65. package/dist/assets/{faq.79215fd0.js → faq.78697b58.js} +1 -1
  66. package/dist/assets/{fcl.faa472c2.js → fcl.3895a102.js} +1 -1
  67. package/dist/assets/{fields.446cb520.js → fields.d1074900.js} +1 -1
  68. package/dist/assets/{file-library.2eee653e.js → file-library.4949e665.js} +1 -1
  69. package/dist/assets/{files.d159019e.js → files.91312a78.js} +1 -1
  70. package/dist/assets/{filter-rules.da99ca6f.js → filter-rules.facc75e8.js} +2 -2
  71. package/dist/assets/{filters.50017874.js → filters.7f7e70e1.js} +1 -1
  72. package/dist/assets/{folders.8e9a04b0.js → folders.2ba716f4.js} +1 -1
  73. package/dist/assets/{forth.f24b3d09.js → forth.47a6fd5a.js} +1 -1
  74. package/dist/assets/{fortran.fbb666b5.js → fortran.0476ddaf.js} +1 -1
  75. package/dist/assets/fr-CA.5af4ee91.js +1 -0
  76. package/dist/assets/fr-FR.14c45a4a.js +1 -0
  77. package/dist/assets/{gas.f0748dd2.js → gas.925fe344.js} +1 -1
  78. package/dist/assets/{gcp.c7cb44ca.js → gcp.7a7b6f00.js} +1 -1
  79. package/dist/assets/{gfm.877310b0.js → gfm.bab94e18.js} +1 -1
  80. package/dist/assets/{gherkin.3d7e0a5d.js → gherkin.b12288c3.js} +1 -1
  81. package/dist/assets/{github-ci.a7b2c801.js → github-ci.c6adf0fc.js} +2 -2
  82. package/dist/assets/{glossary.1f1de0b0.js → glossary.14269bbd.js} +1 -1
  83. package/dist/assets/{glossary.36456466.js → glossary.5256ce56.js} +1 -1
  84. package/dist/assets/{go.83a7c333.js → go.72d6ad84.js} +1 -1
  85. package/dist/assets/{groovy.884233c9.js → groovy.41fb7b3d.js} +1 -1
  86. package/dist/assets/{haml.3e1c682b.js → haml.75173308.js} +1 -1
  87. package/dist/assets/{handlebars.bef17c70.js → handlebars.df6b03ee.js} +1 -1
  88. package/dist/assets/{haskell-literate.26780990.js → haskell-literate.34795dfa.js} +1 -1
  89. package/dist/assets/{haskell.fd518ccf.js → haskell.d237786e.js} +1 -1
  90. package/dist/assets/{haxe.4b2e78c7.js → haxe.fb5de012.js} +1 -1
  91. package/dist/assets/{hooks.50182523.js → hooks.feb279e1.js} +2 -2
  92. package/dist/assets/hr-HR.51d2055f.js +1 -0
  93. package/dist/assets/{htmlembedded.d8b6ff8e.js → htmlembedded.9cfb9140.js} +1 -1
  94. package/dist/assets/{htmlmixed.97a3b948.js → htmlmixed.6ded1069.js} +1 -1
  95. package/dist/assets/{http.86104e7d.js → http.8703fdbc.js} +1 -1
  96. package/dist/assets/{idl.b4dc075f.js → idl.1cdf60d2.js} +1 -1
  97. package/dist/assets/{iis.df3e4d3b.js → iis.77f179bc.js} +1 -1
  98. package/dist/assets/{import-export.fa969793.js → import-export.1b7b1a4e.js} +1 -1
  99. package/dist/assets/{index.afd57094.js → index.0110a287.js} +1 -1
  100. package/dist/assets/{index.d58a43db.js → index.033ed977.js} +1 -1
  101. package/dist/assets/{index.f748e411.js → index.04690823.js} +1 -1
  102. package/dist/assets/{index.23fc74ac.js → index.048eda71.js} +1 -1
  103. package/dist/assets/{index.0ad4f3d0.js → index.0815928f.js} +1 -1
  104. package/dist/assets/{index.720d195f.js → index.09699e1e.js} +1 -1
  105. package/dist/assets/{index.7ecee286.js → index.0fbada9c.js} +1 -1
  106. package/dist/assets/{index.1c338ca1.js → index.12c0ad4e.js} +1 -1
  107. package/dist/assets/{index.aeb2c755.js → index.1bf154ed.js} +1 -1
  108. package/dist/assets/{index.496e25ca.js → index.1df4732b.js} +1 -1
  109. package/dist/assets/{index.5f27ce64.js → index.240f798a.js} +1 -1
  110. package/dist/assets/{index.bcb27c66.js → index.2e432555.js} +1 -1
  111. package/dist/assets/{index.89e94c9c.js → index.32a22ef0.js} +1 -1
  112. package/dist/assets/{index.2ea1f7d6.js → index.3381f9ac.js} +1 -1
  113. package/dist/assets/{index.2497550e.js → index.34c68b69.js} +1 -1
  114. package/dist/assets/{index.e6ccad11.js → index.39fe5fac.js} +1 -1
  115. package/dist/assets/{index.6f07a11e.js → index.3d1b223f.js} +1 -1
  116. package/dist/assets/{index.238a3268.js → index.41f34e92.js} +1 -1
  117. package/dist/assets/{index.17154988.js → index.44d5e2dc.js} +1 -1
  118. package/dist/assets/{index.a0a5fe39.js → index.46f0bdcc.js} +1 -1
  119. package/dist/assets/{index.3c303b00.js → index.48db884c.js} +1 -1
  120. package/dist/assets/{index.03933ae1.js → index.4ed4946a.js} +1 -1
  121. package/dist/assets/{index.de6c99b7.js → index.514b19db.js} +1 -1
  122. package/dist/assets/{index.47b05378.js → index.51cee932.js} +1 -1
  123. package/dist/assets/{index.f8814651.js → index.559605bd.js} +1 -1
  124. package/dist/assets/{index.2cbb3f8d.js → index.5c01e9ee.js} +1 -1
  125. package/dist/assets/{index.cb1b4143.js → index.5df8dd30.js} +1 -1
  126. package/dist/assets/{index.ea34f437.js → index.608219b0.js} +1 -1
  127. package/dist/assets/{index.e3fcfd5a.js → index.61e038ab.js} +1 -1
  128. package/dist/assets/{index.d48ea4d8.js → index.622e101a.js} +1 -1
  129. package/dist/assets/{index.581b15b9.js → index.62ded6ae.js} +1 -1
  130. package/dist/assets/{index.0a4cd515.js → index.63ef0f0a.js} +1 -1
  131. package/dist/assets/{index.0965f2ea.js → index.68a203aa.js} +1 -1
  132. package/dist/assets/{index.a0ae139c.js → index.699c0012.js} +1 -1
  133. package/dist/assets/{index.d5e9d8c8.js → index.69fa0c1b.js} +1 -1
  134. package/dist/assets/index.6e9900f6.css +1 -0
  135. package/dist/assets/index.6f51cf11.entry.js +541 -0
  136. package/dist/assets/{index.f960c87a.js → index.7015d249.js} +1 -1
  137. package/dist/assets/{index.9aaa42b8.js → index.714cdcfe.js} +1 -1
  138. package/dist/assets/{index.20fca3e7.js → index.794edd66.js} +1 -1
  139. package/dist/assets/{index.b298e8de.js → index.7b23ebae.js} +1 -1
  140. package/dist/assets/{index.7042ed95.js → index.7c373fdc.js} +1 -1
  141. package/dist/assets/{index.2c02b800.js → index.7dc0331a.js} +1 -1
  142. package/dist/assets/{index.80eaa583.js → index.87e5cc93.js} +1 -1
  143. package/dist/assets/{index.246ca0ff.js → index.894b274c.js} +1 -1
  144. package/dist/assets/{index.debe4fb7.js → index.8b524510.js} +1 -1
  145. package/dist/assets/{index.e6d22a55.js → index.92e1f783.js} +1 -1
  146. package/dist/assets/{index.21310180.js → index.954ec9a0.js} +1 -1
  147. package/dist/assets/{index.22509b50.js → index.9907f7be.js} +1 -1
  148. package/dist/assets/{index.5faf5621.js → index.9b2737f9.js} +1 -1
  149. package/dist/assets/{index.6f66f6e6.js → index.9c57bec9.js} +1 -1
  150. package/dist/assets/{index.07942b86.js → index.9ecb105d.js} +1 -1
  151. package/dist/assets/{index.287575da.js → index.a28b95c7.js} +1 -1
  152. package/dist/assets/{index.33033888.js → index.a2f7201b.js} +1 -1
  153. package/dist/assets/{index.8e6150b3.js → index.a5f89761.js} +1 -1
  154. package/dist/assets/{index.3615276e.js → index.a926e050.js} +1 -1
  155. package/dist/assets/{index.5f7f173b.js → index.a9e562ee.js} +1 -1
  156. package/dist/assets/{index.b8a7f65d.js → index.aab3e7b4.js} +1 -1
  157. package/dist/assets/{index.bf4dfe15.js → index.aae62c85.js} +1 -1
  158. package/dist/assets/{index.f9b96f27.js → index.ab79c50c.js} +1 -1
  159. package/dist/assets/{index.fcd87af8.js → index.b4462fae.js} +1 -1
  160. package/dist/assets/{index.c841431b.js → index.b4be1f39.js} +1 -1
  161. package/dist/assets/{index.a2a6bfb1.js → index.b4d78ccd.js} +1 -1
  162. package/dist/assets/{index.682125dd.js → index.bf63ef3a.js} +1 -1
  163. package/dist/assets/{index.b967027a.js → index.bfad08ee.js} +1 -1
  164. package/dist/assets/{index.ff921dbe.js → index.c004601a.js} +1 -1
  165. package/dist/assets/{index.ae7d8610.js → index.c8469642.js} +1 -1
  166. package/dist/assets/{index.64299c43.js → index.c91d8146.js} +1 -1
  167. package/dist/assets/{index.58482880.js → index.c98dd361.js} +1 -1
  168. package/dist/assets/{index.d1ed2a91.js → index.c9ff9d0e.js} +1 -1
  169. package/dist/assets/{index.8587b5df.js → index.cb3f9a66.js} +1 -1
  170. package/dist/assets/{index.6bef0d6c.js → index.cf0d6f97.js} +1 -1
  171. package/dist/assets/{index.63373d3a.js → index.cfe13745.js} +1 -1
  172. package/dist/assets/{index.d368ce15.js → index.d698800c.js} +1 -1
  173. package/dist/assets/{index.7dcd13ec.js → index.dabfc237.js} +1 -1
  174. package/dist/assets/{index.e854339b.js → index.dfe7aaf5.js} +1 -1
  175. package/dist/assets/{index.42d258a4.js → index.e0e28888.js} +1 -1
  176. package/dist/assets/{index.43052732.js → index.e7716891.js} +1 -1
  177. package/dist/assets/{index.c80ad32e.js → index.eda26b6f.js} +1 -1
  178. package/dist/assets/{index.b05c71d6.js → index.eedd8c14.js} +1 -1
  179. package/dist/assets/{index.31d97c88.js → index.f2c707f1.js} +1 -1
  180. package/dist/assets/{index.821e1d62.js → index.f9e6a6fc.js} +1 -1
  181. package/dist/assets/{index.1bfa0805.js → index.fc49cd25.js} +1 -1
  182. package/dist/assets/{input-rich-text-html.eae7c584.js → input-rich-text-html.22b8d78b.js} +79 -78
  183. package/dist/assets/{input-rich-text-html.e6c9da69.css → input-rich-text-html.ef9358cf.css} +1 -1
  184. package/dist/assets/{insights.3d0e532e.js → insights.b8ef3fca.js} +1 -1
  185. package/dist/assets/{installation.4a2c097d.js → installation.02c68943.js} +1 -1
  186. package/dist/assets/{interfaces.cccc9cc1.js → interfaces.f168e698.js} +3 -3
  187. package/dist/assets/{introduction.7a9da828.js → introduction.01b1f832.js} +1 -1
  188. package/dist/assets/{introduction.a2f61d58.js → introduction.020b2d96.js} +1 -1
  189. package/dist/assets/{introduction.d55a65c8.js → introduction.55d775be.js} +1 -1
  190. package/dist/assets/{introduction.6527a259.js → introduction.5ea08cd7.js} +1 -1
  191. package/dist/assets/is-IS.de933c2f.js +1 -0
  192. package/dist/assets/it-IT.f8b95631.js +1 -0
  193. package/dist/assets/{items.7601f70b.js → items.0473f1d7.js} +1 -1
  194. package/dist/assets/{items.d7eaeea0.js → items.8e48bba2.js} +1 -1
  195. package/dist/assets/ja-JP.08e6d3fa.js +1 -0
  196. package/dist/assets/{javascript-hint.4638e1df.js → javascript-hint.de495ceb.js} +1 -1
  197. package/dist/assets/{javascript.03bf484d.js → javascript.3248781e.js} +1 -1
  198. package/dist/assets/{jinja2.e0978b57.js → jinja2.ac8d0b46.js} +1 -1
  199. package/dist/assets/{jsx.123b4803.js → jsx.dd1f6e7b.js} +1 -1
  200. package/dist/assets/{julia.5a59262e.js → julia.43690f91.js} +1 -1
  201. package/dist/assets/{layouts.91e2348f.js → layouts.52ea8ab5.js} +1 -1
  202. package/dist/assets/{layouts.41b77af2.js → layouts.b3ab207c.js} +1 -1
  203. package/dist/assets/{livescript.9a958350.js → livescript.3a7cd28a.js} +1 -1
  204. package/dist/assets/{localization.98833475.js → localization.0df69550.js} +1 -1
  205. package/dist/assets/{lua.92f32265.js → lua.7203e51f.js} +1 -1
  206. package/dist/assets/{manual.818edfc3.js → manual.47b8c374.js} +3 -3
  207. package/dist/assets/{mark-selection.4a693f01.js → mark-selection.fb569efe.js} +1 -1
  208. package/dist/assets/{match-highlighter.17a81b47.js → match-highlighter.6b06b78b.js} +1 -1
  209. package/dist/assets/{mathematica.f14d4707.js → mathematica.06e6fdd3.js} +1 -1
  210. package/dist/assets/{mbox.e7c08a48.js → mbox.13290c43.js} +1 -1
  211. package/dist/assets/{migrations.55476341.js → migrations.12e641ae.js} +1 -1
  212. package/dist/assets/{mirc.0311799e.js → mirc.78adf313.js} +1 -1
  213. package/dist/assets/{mllike.d7bb3f6e.js → mllike.d6434450.js} +1 -1
  214. package/dist/assets/{modelica.7e7c93c0.js → modelica.3c01deee.js} +1 -1
  215. package/dist/assets/{modules.b617791f.js → modules.f92aab83.js} +1 -1
  216. package/dist/assets/{mscgen.2cc54faf.js → mscgen.437e19e9.js} +1 -1
  217. package/dist/assets/{multiplex.fb681b1b.js → multiplex.0354f227.js} +1 -1
  218. package/dist/assets/{mumps.674bb5e3.js → mumps.b8a57f60.js} +1 -1
  219. package/dist/assets/{nginx.165b607e.js → nginx.bbf51071.js} +1 -1
  220. package/dist/assets/nl-NL.bbb6b3b0.js +1 -0
  221. package/dist/assets/{notifications.ccba3d4a.js → notifications.883ce8d1.js} +1 -1
  222. package/dist/assets/{nsis.1ed5ef23.js → nsis.a89a00f6.js} +1 -1
  223. package/dist/assets/{ntriples.e3148272.js → ntriples.ef9c72ec.js} +1 -1
  224. package/dist/assets/{octave.ab99cd73.js → octave.a8523cda.js} +1 -1
  225. package/dist/assets/{overlay.03a5b7fa.js → overlay.008b00ad.js} +1 -1
  226. package/dist/assets/{overview.b3a91d76.js → overview.2d540ea4.js} +1 -1
  227. package/dist/assets/{overview.c76d2a06.js → overview.86e4934b.js} +1 -1
  228. package/dist/assets/{overview.e3f03ff4.js → overview.de9556fd.js} +1 -1
  229. package/dist/assets/{oz.e21c8060.js → oz.de50fb14.js} +1 -1
  230. package/dist/assets/{panels.8635347d.js → panels.bbc99568.js} +1 -1
  231. package/dist/assets/{pascal.8c592490.js → pascal.959462c3.js} +1 -1
  232. package/dist/assets/{pegjs.e94f313a.js → pegjs.d0ed91d9.js} +1 -1
  233. package/dist/assets/{perl.f7dcd896.js → perl.357b4e1f.js} +1 -1
  234. package/dist/assets/{permissions.4970c519.js → permissions.0361ba5a.js} +1 -1
  235. package/dist/assets/{php.ad6c4236.js → php.d803daf6.js} +1 -1
  236. package/dist/assets/{pig.7b140cb8.js → pig.e0e0238c.js} +1 -1
  237. package/dist/assets/{pinia.b29efb4f.entry.js → pinia.069c0eaf.entry.js} +1 -1
  238. package/dist/assets/pl-PL.88a9500c.js +1 -0
  239. package/dist/assets/{plesk.6409199b.js → plesk.702973ab.js} +1 -1
  240. package/dist/assets/{powershell.8d5784a6.js → powershell.49d52037.js} +1 -1
  241. package/dist/assets/{presets-bookmarks.335e81c4.js → presets-bookmarks.6b8983b4.js} +1 -1
  242. package/dist/assets/{presets.3fb59a7c.js → presets.8666c809.js} +1 -1
  243. package/dist/assets/{project-settings.da2b6026.js → project-settings.fd8d1f09.js} +1 -1
  244. package/dist/assets/{projects.c04f28b7.js → projects.c32560d9.js} +1 -1
  245. package/dist/assets/{properties.bd6ae04f.js → properties.71f47129.js} +1 -1
  246. package/dist/assets/{protobuf.f3e4657d.js → protobuf.fd7a72f0.js} +1 -1
  247. package/dist/assets/{pug.3c534d03.js → pug.6691e2a0.js} +1 -1
  248. package/dist/assets/{puppet.088f8b16.js → puppet.85bbcdfd.js} +1 -1
  249. package/dist/assets/{python.c49e4c13.js → python.4ce17729.js} +1 -1
  250. package/dist/assets/{q.61a8ab64.js → q.dd127609.js} +1 -1
  251. package/dist/assets/{query.e6b1f07e.js → query.cf922720.js} +7 -7
  252. package/dist/assets/{quickstart.9c3c65b4.js → quickstart.b18751b0.js} +1 -1
  253. package/dist/assets/{r.f34d7d93.js → r.d7fdc378.js} +1 -1
  254. package/dist/assets/{relations.77fc85a4.js → relations.c91c83fc.js} +1 -1
  255. package/dist/assets/{relationships.7a8128c2.js → relationships.b1a4f98b.js} +1 -1
  256. package/dist/assets/{revisions.99756266.js → revisions.6e05d820.js} +2 -2
  257. package/dist/assets/{roles.27092a50.js → roles.22caf5e4.js} +5 -5
  258. package/dist/assets/{rpm.6b2223a5.js → rpm.c5cba333.js} +1 -1
  259. package/dist/assets/{rst.009c8d0d.js → rst.0ec4b9fd.js} +1 -1
  260. package/dist/assets/{ruby.6eb0fa57.js → ruby.9e4417f8.js} +1 -1
  261. package/dist/assets/{running-locally.7242ae0a.js → running-locally.16ba1e8e.js} +1 -1
  262. package/dist/assets/{rust.6aadde77.js → rust.cb15ec63.js} +1 -1
  263. package/dist/assets/{sas.deab0a07.js → sas.20c8274a.js} +1 -1
  264. package/dist/assets/{sass.af8ab6d2.js → sass.de175114.js} +1 -1
  265. package/dist/assets/{scheme.18c5344a.js → scheme.db6fc72b.js} +1 -1
  266. package/dist/assets/{sdk.269c9e85.js → sdk.5d0984d2.js} +1 -1
  267. package/dist/assets/{security.862613c7.js → security.0309ebfa.js} +1 -1
  268. package/dist/assets/{server.191bd9cd.js → server.3056da3b.js} +1 -1
  269. package/dist/assets/{settings.4970c672.js → settings.1b4f93a0.js} +1 -1
  270. package/dist/assets/{settings.7e7b66b7.js → settings.faf934bd.js} +1 -1
  271. package/dist/assets/{shell.8d43da03.js → shell.84bb2e73.js} +1 -1
  272. package/dist/assets/{show-hint.5f0a75a7.js → show-hint.a0b705f3.js} +1 -1
  273. package/dist/assets/sieve.d423e40c.js +1 -0
  274. package/dist/assets/{simple.9700ddf1.js → simple.f329512a.js} +1 -1
  275. package/dist/assets/{slim.61b8011a.js → slim.92e9b12a.js} +1 -1
  276. package/dist/assets/{smalltalk.936c2132.js → smalltalk.808d306f.js} +1 -1
  277. package/dist/assets/{smarty.7684a399.js → smarty.b45887b7.js} +1 -1
  278. package/dist/assets/{solr.351a6f56.js → solr.5cc56749.js} +1 -1
  279. package/dist/assets/{soy.a54a888b.js → soy.bb278352.js} +1 -1
  280. package/dist/assets/{sparql.b38e0bef.js → sparql.bcb141bf.js} +1 -1
  281. package/dist/assets/{spreadsheet.8ae834ee.js → spreadsheet.e1aa486d.js} +1 -1
  282. package/dist/assets/{sql.bd75a39a.js → sql.f910bfb4.js} +1 -1
  283. package/dist/assets/{sso-examples.dff690ca.js → sso-examples.05a51dc0.js} +1 -1
  284. package/dist/assets/{sso.ccd423a5.js → sso.d50d1779.js} +3 -3
  285. package/dist/assets/{stex.751640f7.js → stex.f8b497ca.js} +1 -1
  286. package/dist/assets/{stylus.44c9a636.js → stylus.baafca01.js} +1 -1
  287. package/dist/assets/support.030f40ca.js +1 -0
  288. package/dist/assets/sv-SE.95898df0.js +1 -0
  289. package/dist/assets/{swift.6bee86b1.js → swift.7e0549b9.js} +1 -1
  290. package/dist/assets/{tcl.d6f60bbe.js → tcl.9b3bd512.js} +1 -1
  291. package/dist/assets/{teams.69678693.js → teams.8a12610a.js} +1 -1
  292. package/dist/assets/{textile.fd4c90e1.js → textile.bcfc1004.js} +1 -1
  293. package/dist/assets/{themes.96c4b04e.js → themes.9658a21b.js} +1 -1
  294. package/dist/assets/{tiddlywiki.7f1650d8.js → tiddlywiki.05c69da4.js} +1 -1
  295. package/dist/assets/{tiki.f948533d.js → tiki.c205ced9.js} +1 -1
  296. package/dist/assets/{toml.9f585d06.js → toml.21eca43e.js} +1 -1
  297. package/dist/assets/{tornado.c8c03b6f.js → tornado.98c58954.js} +1 -1
  298. package/dist/assets/{translations.a57ab24c.js → translations.a77c3676.js} +1 -1
  299. package/dist/assets/{troff.75929447.js → troff.c60c6b4b.js} +1 -1
  300. package/dist/assets/{ttcn-cfg.2a42e89c.js → ttcn-cfg.1fc06da2.js} +1 -1
  301. package/dist/assets/{ttcn.d2edc1c1.js → ttcn.4eb17e33.js} +1 -1
  302. package/dist/assets/{turtle.53a5c73e.js → turtle.5a68ff69.js} +1 -1
  303. package/dist/assets/{twig.ecd65687.js → twig.f98a23de.js} +1 -1
  304. package/dist/assets/{ubuntu.f280193a.js → ubuntu.a95e380a.js} +1 -1
  305. package/dist/assets/uk-UA.8be80c84.js +1 -0
  306. package/dist/assets/{upgrades-migrations.27ddad05.js → upgrades-migrations.aeab953d.js} +1 -1
  307. package/dist/assets/{use-sync.bd3a1e5b.js → use-sync.c510d0f0.js} +1 -1
  308. package/dist/assets/{user-directory.d8b4d6b4.js → user-directory.14b5d728.js} +1 -1
  309. package/dist/assets/{users-roles-permissions.a2f25725.js → users-roles-permissions.8f931cf8.js} +1 -1
  310. package/dist/assets/{users.5aa98413.js → users.19874500.js} +1 -1
  311. package/dist/assets/{utilities.bf7f4133.js → utilities.1ccaf710.js} +1 -1
  312. package/dist/assets/{vb.842b5727.js → vb.e37751ec.js} +1 -1
  313. package/dist/assets/{vbscript.fcc607c0.js → vbscript.9afbdc82.js} +1 -1
  314. package/dist/assets/{velocity.efde9b99.js → velocity.56113a41.js} +1 -1
  315. package/dist/assets/{vendor.e0a21029.js → vendor.3b903562.js} +1 -1
  316. package/dist/assets/{verilog.95b86b19.js → verilog.431e6106.js} +1 -1
  317. package/dist/assets/{vhdl.05ad780d.js → vhdl.73d95444.js} +1 -1
  318. package/dist/assets/{vue-i18n.bb58f1d6.entry.js → vue-i18n.33bfae79.entry.js} +1 -1
  319. package/dist/assets/{vue-router.86ff737d.entry.js → vue-router.af241365.entry.js} +1 -1
  320. package/dist/assets/{vue.6c1e2b28.js → vue.6efad370.js} +1 -1
  321. package/dist/assets/{vue.0442bd87.entry.js → vue.6f5ac172.entry.js} +1 -1
  322. package/dist/assets/{wast.c5c40bca.js → wast.6c87cd75.js} +1 -1
  323. package/dist/assets/{webhooks.07b4ac17.js → webhooks.592cb833.js} +1 -1
  324. package/dist/assets/{webhooks.dc830bd4.js → webhooks.ac49e207.js} +1 -1
  325. package/dist/assets/{webidl.81f09aef.js → webidl.3d323e32.js} +1 -1
  326. package/dist/assets/{xquery.4e7c6d54.js → xquery.ca96a9a0.js} +1 -1
  327. package/dist/assets/{yacas.70a010d5.js → yacas.a7c67b32.js} +1 -1
  328. package/dist/assets/{yaml-frontmatter.2881b171.js → yaml-frontmatter.a06727f1.js} +1 -1
  329. package/dist/assets/{yaml.0a0b8dc6.js → yaml.6a26e7a0.js} +1 -1
  330. package/dist/assets/{z80.dce13765.js → z80.ee1c60d3.js} +1 -1
  331. package/dist/assets/zh-TW.edfb1fce.js +1 -0
  332. package/dist/index.html +4 -4
  333. package/package.json +6 -6
  334. package/dist/assets/@directus_extensions-sdk.83ecd947.entry.js +0 -1
  335. package/dist/assets/af-ZA.71af2276.js +0 -1
  336. package/dist/assets/ar-SA.4e5e2a4d.js +0 -1
  337. package/dist/assets/bg-BG.ac12438e.js +0 -2
  338. package/dist/assets/ca-ES.56d2029e.js +0 -1
  339. package/dist/assets/cs-CZ.21eb314a.js +0 -1
  340. package/dist/assets/data-model.5bf39838.js +0 -1
  341. package/dist/assets/de-DE.b11ba39d.js +0 -1
  342. package/dist/assets/en-GB.d49ab07c.js +0 -1
  343. package/dist/assets/es-419.6fa04597.js +0 -1
  344. package/dist/assets/es-CL.d5fe3b03.js +0 -1
  345. package/dist/assets/es-ES.5299ee2e.js +0 -1
  346. package/dist/assets/fr-CA.500843e8.js +0 -1
  347. package/dist/assets/fr-FR.3e980b29.js +0 -1
  348. package/dist/assets/hr-HR.488f4f23.js +0 -1
  349. package/dist/assets/index.87da20e6.css +0 -1
  350. package/dist/assets/index.cee72373.entry.js +0 -541
  351. package/dist/assets/is-IS.35706417.js +0 -1
  352. package/dist/assets/it-IT.36fdff8b.js +0 -1
  353. package/dist/assets/ja-JP.fd245edd.js +0 -1
  354. package/dist/assets/nl-NL.5b0204f4.js +0 -1
  355. package/dist/assets/pl-PL.cb210ffb.js +0 -1
  356. package/dist/assets/sieve.cd31ea4b.js +0 -1
  357. package/dist/assets/support.a4a37514.js +0 -1
  358. package/dist/assets/sv-SE.ea1c82a6.js +0 -1
  359. package/dist/assets/uk-UA.6ba66c91.js +0 -1
  360. package/dist/assets/zh-TW.84c79b23.js +0 -1
@@ -1 +1 @@
1
- import{w as r,y as i,z as d,A as o,E as e,C as n,W as t}from"./vendor.e0a21029.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"Cloud Projects are individual instances of Directus, managed within a Team. Community, Standard and Enterprise tier Projects are available, with each offering different options for infrastructure, configuration and professional services.")],-1),p=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#view-a-team's-projects"},"View a Team's Projects")]),e("li",null,[e("a",{href:"#create-a-community-project"},"Create a Community Project")]),e("li",null,[e("a",{href:"#create-a-standard-project"},"Create a Standard Project")]),e("li",null,[e("a",{href:"#create-an-enterprise-project"},"Create an Enterprise Project")]),e("li",null,[e("a",{href:"#access-a-project"},"Access a Project")]),e("li",null,[e("a",{href:"#monitor-a-project"},"Monitor a Project")]),e("li",null,[e("a",{href:"#manage-a-community-project"},"Manage a Community Project")]),e("li",null,[e("a",{href:"#manage-a-standard-project"},"Manage a Standard Project")]),e("li",null,[e("a",{href:"#manage-an-enterprise-project"},"Manage an Enterprise Project")]),e("li",null,[e("a",{href:"#resume-a-community-project"},"Resume a Community Project")]),e("li",null,[e("a",{href:"#destroy-a-project"},"Destroy a Project")])])])],-1),_=t("A Cloud Project is a Directus Instance, the "),m=t("Infrastructure"),j=t(" it runs on, and all of its "),g=t("data and file assets"),f=t(". All Cloud Projects come "),P=t("quota-free"),y=t(" and include all "),C=t("Cloud Exclusives"),b=t(". See "),w=t("Support Options"),v=t(" to find out how to get help on your Project."),T=e("p",null,[t("There are three different Project tiers on Directus Cloud: "),e("a",{href:"#create-a-community-project"},"Community"),t(", "),e("a",{href:"#create-a-standard-project"},"Standard"),t(", and "),e("a",{href:"#create-an-enterprise-project"},"Enterprise"),t(". A side-by-side comparison of what\u2019s included in each tier can be found on the "),e("a",{href:"https://directus.io/pricing/",target:"_blank",rel:"noopener noreferrer"},"Pricing page"),t(".")],-1),k=t("See the "),N=t("Overview"),S=t(" to learn how Accounts, Teams and Projects interrelate."),A=e("h2",{id:"view-a-team%E2%80%99s-projects"},[t("View a Team\u2019s Projects "),e("a",{class:"header-anchor",href:"#view-a-team%E2%80%99s-projects"},"#")],-1),D=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220322A/view-projects-20220322A.webp",alt:"View Projects"})],-1),M=t("All of a Team\u2019s Projects are listed on the Projects Page. For each Project, the following information and shortcuts are provided. On Project creation, the provisioning progress will be displayed until fully complete. The icon on the far left indicates whether it\u2019s online, "),E=t("offline"),O=t(" or "),R=e("a",{href:"#resume-a-community-project"},"paused",-1),I=t(". Next to that icon are the Project Name and Project Slug. On the right, you\u2019ll see the Project tier, followed by shortcuts, which allow you to "),U=e("span",{mi:"",icon:""},"edit",-1),H=t(" edit and "),x=e("span",{mi:"",icon:""},"launch",-1),L=t(" access the Project. To view a Team\u2019s Projects:"),q=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and select the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(".")])],-1),B=e("h2",{id:"create-a-community-project"},[t("Create a Community Project "),e("a",{class:"header-anchor",href:"#create-a-community-project"},"#")],-1),V=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220329A/create-a-community-project-20220329A.webp",alt:"Create a Community Project"})],-1),z=e("p",null,"The Community tier offers a completely free Directus Project, perfect for spinning up hobby projects, trying out Directus Cloud, testing a proof-of-concept or performing any other non-production activity. Community Projects come with the following configurations:",-1),F=e("li",null,[e("strong",null,"Project Name"),t(" \u2014 Custom. "),e("em",null,"This can be changed at any time with no impact on the Project"),t(".")],-1),Y=e("li",null,[e("strong",null,"Project URL"),t(" \u2014 Random URL: "),e("code",null,"aa3i82.directus.app"),t(". "),e("em",null,"This cannot be changed"),t(".")],-1),W=t("Datacenter Region"),G=t(" \u2014 "),J=e("code",null,"United States, East",-1),K=t("."),Q=t("Node Type"),X=t(" \u2014 Community Node."),Z=t("Load Balancing"),$=t(" \u2014 One Active Node."),ee=e("li",null,[e("strong",null,"Starting Template"),t(" \u2014 Create an Empty Project or a Demo Project with dummy data.")],-1),te=t("Note that "),oe=t("Auto-Scaling"),se=t("is not available with the Community tier."),ne=e("p",null,"To create a Community Project:",-1),ae=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and select the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(".")]),e("li",null,[t("Click "),e("strong",null,"\u201CCreate Project\u201D"),t(".")]),e("li",null,"Set the Project Name."),e("li",null,"Select the Community tier."),e("li",null,"Scroll to the bottom of the screen and choose a Starting Template."),e("li",null,[t("Click "),e("strong",null,"\u201CCreate Project\u201D"),t(".")])],-1),re=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Project Name"),e("p",null,"The Project Name displays within Directus Cloud. This can be changed at any time and is purely for organizational purposes. It has no impact on the Project itself.")],-1),le=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Standard Tier"),e("p",null,[t("Need a production-ready Project that can scale as needed?"),e("br"),t(" Create a "),e("a",{href:"#create-a-standard-project"},"Standard Project"),t(".")])],-1),ce=e("h2",{id:"create-a-standard-project"},[t("Create a Standard Project "),e("a",{class:"header-anchor",href:"#create-a-standard-project"},"#")],-1),ie=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220322A/create-a-project-20220228A.webp",alt:"Create a Standard Project"})],-1),de=t("The Standard tier is perfect for most production-ready use cases. Standard tier Projects come with custom URLs, daily "),ue=t("backups"),he=t(" and higher-powered Nodes. In addition, Node configuration can be scaled up and down as needed."),pe=e("p",null,"Standard Projects come with the following configuration options:",-1),_e=e("li",null,[e("strong",null,"Project Name"),t(" \u2014 Custom. "),e("em",null,"This can be changed at any time with no impact on the Project"),t(".")],-1),me=e("li",null,[e("strong",null,"Project URL"),t(" \u2014 Custom URL: "),e("code",null,"your-custom-url.directus.app"),t(". "),e("em",null,"This cannot be changed"),t(".")],-1),je=t("Datacenter Region"),ge=t(" \u2014 "),fe=e("code",null,"United States, East",-1),Pe=t(" or "),ye=e("code",null,"Europe, Frankfurt",-1),Ce=t("."),be=t("Node Type"),we=t(" \u2014 General Purpose or Performance Tier Nodes."),ve=t("Load Balancing"),Te=t(" \u2014 1-6 Active Nodes."),ke=t("Auto-Scaling"),Ne=t(" \u2014 0-5 Standby Nodes."),Se=e("p",null,"To create a Standard Project:",-1),Ae=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and select the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(".")]),e("li",null,"Click the Team you wish to create a Project under."),e("li",null,[t("Click "),e("strong",null,"\u201CCreate Project\u201D"),t(".")]),e("li",null,"Set the Project Name as desired."),e("li",null,"Select the Standard tier."),e("li",null,"Set the configuration options as desired."),e("li",null,[t("Click "),e("strong",null,"\u201CProceed to Checkout\u201D"),t(". You will be taken to a checkout page.")]),e("li",null,[t("Enter payment information and hit "),e("strong",null,"\u201CSubscribe\u201D"),t(".")])],-1),De=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Enterprise Tier"),e("p",null,[t("Need even more power, scale, customization and support?"),e("br"),t(" Upgrade to an "),e("a",{href:"#create-an-enterprise-project"},"Enterprise Project"),t(".")])],-1),Me=e("h2",{id:"create-an-enterprise-project"},[t("Create an Enterprise Project "),e("a",{class:"header-anchor",href:"#create-an-enterprise-project"},"#")],-1),Ee=t("Enterprise tier offers power and scale to meet any Project\u2019s needs and offers 19 "),Oe=t("Datacenter regions"),Re=t(", upgraded "),Ie=t("support options"),Ue=t(", and much more."),He=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Ready to to go Enterprise?"),e("p",null,[e("a",{href:"https://directus.io/contact/",target:"_blank",rel:"noopener noreferrer"},"Contact Sales")])],-1),xe=e("h2",{id:"access-a-project"},[t("Access a Project "),e("a",{class:"header-anchor",href:"#access-a-project"},"#")],-1),Le=e("video",{alt:"Access a Project",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220329A/access-a-project-20220329A.mp4",type:"video/mp4"})],-1),qe=e("p",null,"At some point, you will want to log in and access the actual managed Project. You can go the Project\u2019s URL directly, or you can access it from within the Cloud Dashboard two different ways. To access a Project from the Cloud Dashboard:",-1),Be=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page."),e("br"),t(" From here, there are two ways to access a Project:")])],-1),Ve=e("h4",{id:"from-the-projects-page"},[t("From the Projects Page "),e("a",{class:"header-anchor",href:"#from-the-projects-page"},"#")],-1),ze=e("ol",{start:"3"},[e("li",null,[t("Click "),e("span",{mi:"",icon:""},"launch"),t(" on the desired Project. Your Project login page will open in a new tab.")])],-1),Fe=e("h4",{id:"from-project-monitor-page"},[t("From Project Monitor Page "),e("a",{class:"header-anchor",href:"#from-project-monitor-page"},"#")],-1),Ye=e("ol",{start:"3"},[e("li",null,"Click a Project to enter its Project Monitor page."),e("li",null,[t("Click "),e("strong",null,"\u201COpen Project\u201D"),t(". Your Project login page will open in a new tab.")])],-1),We=e("h2",{id:"monitor-a-project"},[t("Monitor a Project "),e("a",{class:"header-anchor",href:"#monitor-a-project"},"#")],-1),Ge=e("video",{alt:"Project Monitor Page",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/cloud/glossary/glossary-20220322A/monitor-a-project-20220322A.mp4",type:"video/mp4"})],-1),Je=e("p",null,"Graphs on the Project Monitor page display daily Project information over the last month. The four graphs on this page may help inform your decisions around configuring Nodes.",-1),Ke=e("ul",null,[e("li",null,[e("strong",null,"Combined Node Usage"),e("br"),t(" Total load placed on all Nodes. If CPU or memory are overloaded, the Node could crash! High usage is a sign that it\u2019s time to scale up.")]),e("li",null,[e("strong",null,"Horizontal Scaling"),e("br"),t(" Number of Standby Nodes activated. If one or more Standy Nodes are frequently activated, it may be time to add more Active Nodes.")]),e("li",null,[e("strong",null,"API Requests"),e("br"),t(" Number of API requests. This provides basic insight into traffic cycles, including overall volatility. If there are huge spikes in traffic, it may be wise to configure more Standby Nodes.")]),e("li",null,[e("strong",null,"API Bandwidth"),e("br"),t(" The read/write bandwidth. If bandwidth is high, it may be beneficial to vertically scale with Performance Tier or Enterprise Nodes, to better manage a larger volume of data.")])],-1),Qe=e("p",null,"To access the Project Monitor Page:",-1),Xe=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page.")]),e("li",null,"Click the Project to enter the Project Monitor page.")],-1),Ze=e("h2",{id:"manage-a-community-project"},[t("Manage a Community Project "),e("a",{class:"header-anchor",href:"#manage-a-community-project"},"#")],-1),$e=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220329A/manage-a-community-project-20220329A.webp",alt:"Manage a Project"})],-1),et=e("p",null,"On Community Projects, the only option available is to change the Project\u2019s Name. To manage a Community Project:",-1),tt=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page.")]),e("li",null,"Click the Project to enter the Project Monitor page."),e("li",null,[t("Click "),e("strong",null,"\u201CEdit\u201D"),t(" to enter the Project Details page.")]),e("li",null,"Change Project Name as desired."),e("li",null,[t("Click "),e("strong",null,"\u201CUpdate Project\u201D"),t(".")])],-1),ot=e("h2",{id:"manage-a-standard-project"},[t("Manage a Standard Project "),e("a",{class:"header-anchor",href:"#manage-a-standard-project"},"#")],-1),st=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220322A/manage-a-project-20220322A.webp",alt:"Manage a Project"})],-1),nt=t("On Standard Projects, it\u2019s possible to change the Project Name as well as reconfigure the "),at=t("Node Type"),rt=t(", number of "),lt=t("Active Nodes"),ct=t(" and number of "),it=t("Standby Nodes"),dt=t("."),ut=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page.")]),e("li",null,"Click the Project to enter the Project Monitor page."),e("li",null,[t("Click "),e("strong",null,"\u201CEdit\u201D"),t(" to enter the Project Details page.")]),e("li",null,"Make changes as desired."),e("li",null,[t("Click "),e("strong",null,"\u201CUpdate Project\u201D"),t(".")])],-1),ht=e("h2",{id:"manage-an-enterprise-project"},[t("Manage an Enterprise Project "),e("a",{class:"header-anchor",href:"#manage-an-enterprise-project"},"#")],-1),pt=e("p",null,"Each Enterprise Project is customized, so it can\u2019t be managed from the Cloud Dashboard. The Project will be managed in tandem with the Directus Core Team.",-1),_t=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Ready to to go Enterprise?"),e("p",null,[e("a",{href:"https://directus.io/contact/",target:"_blank",rel:"noopener noreferrer"},"Contact Sales")])],-1),mt=e("h2",{id:"resume-a-community-project"},[t("Resume a Community Project "),e("a",{class:"header-anchor",href:"#resume-a-community-project"},"#")],-1),jt=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220322A/resume-paused-project-20220322A.webp",alt:"Resume Paused Project"})],-1),gt=t("If there is no app activity for 3 days on a Community Project, the "),ft=t("Infrastructure"),Pt=t(" gets paused. Projects that remain paused for a certain duration will be automatically deleted (see details in "),yt=e("a",{href:"https://directus.io/cloud-policies/#",target:"_blank",rel:"noopener noreferrer"},"Cloud Policies",-1),Ct=t("). To avoid deletion, you have to manually resume the Project within the Cloud Dashboard, because requests to the app will not resume the Project. To resume a paused Community Project:"),bt=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page.")]),e("li",null,"Click the paused Project to enter the Project Monitor page."),e("li",null,[t("Click "),e("strong",null,"\u201CResume Project\u201D"),t(".")])],-1),wt=e("h2",{id:"destroy-a-project"},[t("Destroy a Project "),e("a",{class:"header-anchor",href:"#destroy-a-project"},"#")],-1),vt=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220322A/destroy-a-project-20220225A.webp",alt:"Destroying a Project"})],-1),Tt=e("p",null,"Destroying a Directus Cloud Project completely removes all its data, assets, settings and users from the platform. To destroy a Directus Cloud Project, follow these steps:",-1),kt=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page.")]),e("li",null,"Click the Project you wish to delete."),e("li",null,[t("Scroll to the bottom of the page and toggle "),e("span",{mi:"",icon:"",dngr:""},"local_fire_department"),t(".")]),e("li",null,"Type in the Project Name."),e("li",null,[t("Click "),e("strong",null,"\u201CDestroy Project\u201D"),t(".")])],-1),Nt=e("div",{class:"tip hint"},[e("p",null,[t("This action will break any external apps connecting to the Project\u2019s API or linking to Project files, and is permanent and irreversible. "),e("strong",null,"Directus Cloud is not responsible for data or files lost due to this action!")])],-1),Et={setup(St,{expose:l}){const a={title:"Cloud Projects",modularExtension:!1};return l({frontmatter:a}),(At,Dt)=>{const s=r("router-link"),c=r("DocsWrapper");return i(),d(c,{frontmatter:a},{default:o(()=>[e("div",u,[h,p,e("p",null,[_,n(s,{to:"/docs/cloud/glossary/#infrastructure"},{default:o(()=>[m]),_:1}),j,n(s,{to:"/docs/cloud/glossary/#asset-storage"},{default:o(()=>[g]),_:1}),f,n(s,{to:"/docs/cloud/glossary/#quotas"},{default:o(()=>[P]),_:1}),y,n(s,{to:"/docs/cloud/glossary/#cloud-exclusives"},{default:o(()=>[C]),_:1}),b,n(s,{to:"/docs/cloud/glossary/#support-options"},{default:o(()=>[w]),_:1}),v]),T,e("p",null,[k,n(s,{to:"/docs/cloud/overview"},{default:o(()=>[N]),_:1}),S]),A,D,e("p",null,[M,n(s,{to:"/docs/cloud/glossary/#system-status"},{default:o(()=>[E]),_:1}),O,R,I,U,H,x,L]),q,B,V,z,e("ul",null,[F,Y,e("li",null,[n(s,{to:"/docs/cloud/glossary/#datacenter-regions"},{default:o(()=>[W]),_:1}),G,J,K]),e("li",null,[n(s,{to:"/docs/cloud/glossary/#node-types"},{default:o(()=>[Q]),_:1}),X]),e("li",null,[n(s,{to:"/docs/cloud/glossary/#load-balancing"},{default:o(()=>[Z]),_:1}),$]),ee]),e("p",null,[te,n(s,{to:"/docs/cloud/glossary/#auto-scaling"},{default:o(()=>[oe]),_:1}),se]),ne,ae,re,le,ce,ie,e("p",null,[de,n(s,{to:"/docs/cloud/glossary/#backups"},{default:o(()=>[ue]),_:1}),he]),pe,e("ul",null,[_e,me,e("li",null,[n(s,{to:"/docs/cloud/glossary/#datacenter-regions"},{default:o(()=>[je]),_:1}),ge,fe,Pe,ye,Ce]),e("li",null,[n(s,{to:"/docs/cloud/glossary/#node-types"},{default:o(()=>[be]),_:1}),we]),e("li",null,[n(s,{to:"/docs/cloud/glossary/#load-balancing"},{default:o(()=>[ve]),_:1}),Te]),e("li",null,[n(s,{to:"/docs/cloud/glossary/#auto-scaling"},{default:o(()=>[ke]),_:1}),Ne])]),Se,Ae,De,Me,e("p",null,[Ee,n(s,{to:"/docs/cloud/glossary/#datacenter-regions"},{default:o(()=>[Oe]),_:1}),Re,n(s,{to:"/docs/cloud/glossary/#support-options"},{default:o(()=>[Ie]),_:1}),Ue]),He,xe,Le,qe,Be,Ve,ze,Fe,Ye,We,Ge,Je,Ke,Qe,Xe,Ze,$e,et,tt,ot,st,e("p",null,[nt,n(s,{to:"/docs/cloud/glossary/#node-types"},{default:o(()=>[at]),_:1}),rt,n(s,{to:"/docs/cloud/glossary/#active-nodes"},{default:o(()=>[lt]),_:1}),ct,n(s,{to:"/docs/cloud/glossary/#standby-nodes"},{default:o(()=>[it]),_:1}),dt]),ut,ht,pt,_t,mt,jt,e("p",null,[gt,n(s,{to:"/docs/cloud/glossary/#infrastructure"},{default:o(()=>[ft]),_:1}),Pt,yt,Ct]),bt,wt,vt,Tt,kt,Nt])]),_:1})}}};export{Et as default};
1
+ import{w as r,y as i,z as d,A as o,E as e,C as n,W as t}from"./vendor.3b903562.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"Cloud Projects are individual instances of Directus, managed within a Team. Community, Standard and Enterprise tier Projects are available, with each offering different options for infrastructure, configuration and professional services.")],-1),p=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#view-a-team's-projects"},"View a Team's Projects")]),e("li",null,[e("a",{href:"#create-a-community-project"},"Create a Community Project")]),e("li",null,[e("a",{href:"#create-a-standard-project"},"Create a Standard Project")]),e("li",null,[e("a",{href:"#create-an-enterprise-project"},"Create an Enterprise Project")]),e("li",null,[e("a",{href:"#access-a-project"},"Access a Project")]),e("li",null,[e("a",{href:"#monitor-a-project"},"Monitor a Project")]),e("li",null,[e("a",{href:"#manage-a-community-project"},"Manage a Community Project")]),e("li",null,[e("a",{href:"#manage-a-standard-project"},"Manage a Standard Project")]),e("li",null,[e("a",{href:"#manage-an-enterprise-project"},"Manage an Enterprise Project")]),e("li",null,[e("a",{href:"#resume-a-community-project"},"Resume a Community Project")]),e("li",null,[e("a",{href:"#destroy-a-project"},"Destroy a Project")])])])],-1),_=t("A Cloud Project is a Directus Instance, the "),m=t("Infrastructure"),j=t(" it runs on, and all of its "),g=t("data and file assets"),f=t(". All Cloud Projects come "),P=t("quota-free"),y=t(" and include all "),C=t("Cloud Exclusives"),b=t(". See "),w=t("Support Options"),v=t(" to find out how to get help on your Project."),T=e("p",null,[t("There are three different Project tiers on Directus Cloud: "),e("a",{href:"#create-a-community-project"},"Community"),t(", "),e("a",{href:"#create-a-standard-project"},"Standard"),t(", and "),e("a",{href:"#create-an-enterprise-project"},"Enterprise"),t(". A side-by-side comparison of what\u2019s included in each tier can be found on the "),e("a",{href:"https://directus.io/pricing/",target:"_blank",rel:"noopener noreferrer"},"Pricing page"),t(".")],-1),k=t("See the "),N=t("Overview"),S=t(" to learn how Accounts, Teams and Projects interrelate."),A=e("h2",{id:"view-a-team%E2%80%99s-projects"},[t("View a Team\u2019s Projects "),e("a",{class:"header-anchor",href:"#view-a-team%E2%80%99s-projects"},"#")],-1),D=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220322A/view-projects-20220322A.webp",alt:"View Projects"})],-1),M=t("All of a Team\u2019s Projects are listed on the Projects Page. For each Project, the following information and shortcuts are provided. On Project creation, the provisioning progress will be displayed until fully complete. The icon on the far left indicates whether it\u2019s online, "),E=t("offline"),O=t(" or "),R=e("a",{href:"#resume-a-community-project"},"paused",-1),I=t(". Next to that icon are the Project Name and Project Slug. On the right, you\u2019ll see the Project tier, followed by shortcuts, which allow you to "),U=e("span",{mi:"",icon:""},"edit",-1),H=t(" edit and "),x=e("span",{mi:"",icon:""},"launch",-1),L=t(" access the Project. To view a Team\u2019s Projects:"),q=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and select the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(".")])],-1),B=e("h2",{id:"create-a-community-project"},[t("Create a Community Project "),e("a",{class:"header-anchor",href:"#create-a-community-project"},"#")],-1),V=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220329A/create-a-community-project-20220329A.webp",alt:"Create a Community Project"})],-1),z=e("p",null,"The Community tier offers a completely free Directus Project, perfect for spinning up hobby projects, trying out Directus Cloud, testing a proof-of-concept or performing any other non-production activity. Community Projects come with the following configurations:",-1),F=e("li",null,[e("strong",null,"Project Name"),t(" \u2014 Custom. "),e("em",null,"This can be changed at any time with no impact on the Project"),t(".")],-1),Y=e("li",null,[e("strong",null,"Project URL"),t(" \u2014 Random URL: "),e("code",null,"aa3i82.directus.app"),t(". "),e("em",null,"This cannot be changed"),t(".")],-1),W=t("Datacenter Region"),G=t(" \u2014 "),J=e("code",null,"United States, East",-1),K=t("."),Q=t("Node Type"),X=t(" \u2014 Community Node."),Z=t("Load Balancing"),$=t(" \u2014 One Active Node."),ee=e("li",null,[e("strong",null,"Starting Template"),t(" \u2014 Create an Empty Project or a Demo Project with dummy data.")],-1),te=t("Note that "),oe=t("Auto-Scaling"),se=t("is not available with the Community tier."),ne=e("p",null,"To create a Community Project:",-1),ae=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and select the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(".")]),e("li",null,[t("Click "),e("strong",null,"\u201CCreate Project\u201D"),t(".")]),e("li",null,"Set the Project Name."),e("li",null,"Select the Community tier."),e("li",null,"Scroll to the bottom of the screen and choose a Starting Template."),e("li",null,[t("Click "),e("strong",null,"\u201CCreate Project\u201D"),t(".")])],-1),re=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Project Name"),e("p",null,"The Project Name displays within Directus Cloud. This can be changed at any time and is purely for organizational purposes. It has no impact on the Project itself.")],-1),le=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Standard Tier"),e("p",null,[t("Need a production-ready Project that can scale as needed?"),e("br"),t(" Create a "),e("a",{href:"#create-a-standard-project"},"Standard Project"),t(".")])],-1),ce=e("h2",{id:"create-a-standard-project"},[t("Create a Standard Project "),e("a",{class:"header-anchor",href:"#create-a-standard-project"},"#")],-1),ie=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220322A/create-a-project-20220228A.webp",alt:"Create a Standard Project"})],-1),de=t("The Standard tier is perfect for most production-ready use cases. Standard tier Projects come with custom URLs, daily "),ue=t("backups"),he=t(" and higher-powered Nodes. In addition, Node configuration can be scaled up and down as needed."),pe=e("p",null,"Standard Projects come with the following configuration options:",-1),_e=e("li",null,[e("strong",null,"Project Name"),t(" \u2014 Custom. "),e("em",null,"This can be changed at any time with no impact on the Project"),t(".")],-1),me=e("li",null,[e("strong",null,"Project URL"),t(" \u2014 Custom URL: "),e("code",null,"your-custom-url.directus.app"),t(". "),e("em",null,"This cannot be changed"),t(".")],-1),je=t("Datacenter Region"),ge=t(" \u2014 "),fe=e("code",null,"United States, East",-1),Pe=t(" or "),ye=e("code",null,"Europe, Frankfurt",-1),Ce=t("."),be=t("Node Type"),we=t(" \u2014 General Purpose or Performance Tier Nodes."),ve=t("Load Balancing"),Te=t(" \u2014 1-6 Active Nodes."),ke=t("Auto-Scaling"),Ne=t(" \u2014 0-5 Standby Nodes."),Se=e("p",null,"To create a Standard Project:",-1),Ae=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and select the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(".")]),e("li",null,"Click the Team you wish to create a Project under."),e("li",null,[t("Click "),e("strong",null,"\u201CCreate Project\u201D"),t(".")]),e("li",null,"Set the Project Name as desired."),e("li",null,"Select the Standard tier."),e("li",null,"Set the configuration options as desired."),e("li",null,[t("Click "),e("strong",null,"\u201CProceed to Checkout\u201D"),t(". You will be taken to a checkout page.")]),e("li",null,[t("Enter payment information and hit "),e("strong",null,"\u201CSubscribe\u201D"),t(".")])],-1),De=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Enterprise Tier"),e("p",null,[t("Need even more power, scale, customization and support?"),e("br"),t(" Upgrade to an "),e("a",{href:"#create-an-enterprise-project"},"Enterprise Project"),t(".")])],-1),Me=e("h2",{id:"create-an-enterprise-project"},[t("Create an Enterprise Project "),e("a",{class:"header-anchor",href:"#create-an-enterprise-project"},"#")],-1),Ee=t("Enterprise tier offers power and scale to meet any Project\u2019s needs and offers 19 "),Oe=t("Datacenter regions"),Re=t(", upgraded "),Ie=t("support options"),Ue=t(", and much more."),He=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Ready to to go Enterprise?"),e("p",null,[e("a",{href:"https://directus.io/contact/",target:"_blank",rel:"noopener noreferrer"},"Contact Sales")])],-1),xe=e("h2",{id:"access-a-project"},[t("Access a Project "),e("a",{class:"header-anchor",href:"#access-a-project"},"#")],-1),Le=e("video",{alt:"Access a Project",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220329A/access-a-project-20220329A.mp4",type:"video/mp4"})],-1),qe=e("p",null,"At some point, you will want to log in and access the actual managed Project. You can go the Project\u2019s URL directly, or you can access it from within the Cloud Dashboard two different ways. To access a Project from the Cloud Dashboard:",-1),Be=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page."),e("br"),t(" From here, there are two ways to access a Project:")])],-1),Ve=e("h4",{id:"from-the-projects-page"},[t("From the Projects Page "),e("a",{class:"header-anchor",href:"#from-the-projects-page"},"#")],-1),ze=e("ol",{start:"3"},[e("li",null,[t("Click "),e("span",{mi:"",icon:""},"launch"),t(" on the desired Project. Your Project login page will open in a new tab.")])],-1),Fe=e("h4",{id:"from-project-monitor-page"},[t("From Project Monitor Page "),e("a",{class:"header-anchor",href:"#from-project-monitor-page"},"#")],-1),Ye=e("ol",{start:"3"},[e("li",null,"Click a Project to enter its Project Monitor page."),e("li",null,[t("Click "),e("strong",null,"\u201COpen Project\u201D"),t(". Your Project login page will open in a new tab.")])],-1),We=e("h2",{id:"monitor-a-project"},[t("Monitor a Project "),e("a",{class:"header-anchor",href:"#monitor-a-project"},"#")],-1),Ge=e("video",{alt:"Project Monitor Page",loop:"",muted:"",controls:"",autoplay:""},[e("source",{src:"https://cdn.directus.io/docs/v9/cloud/glossary/glossary-20220322A/monitor-a-project-20220322A.mp4",type:"video/mp4"})],-1),Je=e("p",null,"Graphs on the Project Monitor page display daily Project information over the last month. The four graphs on this page may help inform your decisions around configuring Nodes.",-1),Ke=e("ul",null,[e("li",null,[e("strong",null,"Combined Node Usage"),e("br"),t(" Total load placed on all Nodes. If CPU or memory are overloaded, the Node could crash! High usage is a sign that it\u2019s time to scale up.")]),e("li",null,[e("strong",null,"Horizontal Scaling"),e("br"),t(" Number of Standby Nodes activated. If one or more Standy Nodes are frequently activated, it may be time to add more Active Nodes.")]),e("li",null,[e("strong",null,"API Requests"),e("br"),t(" Number of API requests. This provides basic insight into traffic cycles, including overall volatility. If there are huge spikes in traffic, it may be wise to configure more Standby Nodes.")]),e("li",null,[e("strong",null,"API Bandwidth"),e("br"),t(" The read/write bandwidth. If bandwidth is high, it may be beneficial to vertically scale with Performance Tier or Enterprise Nodes, to better manage a larger volume of data.")])],-1),Qe=e("p",null,"To access the Project Monitor Page:",-1),Xe=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page.")]),e("li",null,"Click the Project to enter the Project Monitor page.")],-1),Ze=e("h2",{id:"manage-a-community-project"},[t("Manage a Community Project "),e("a",{class:"header-anchor",href:"#manage-a-community-project"},"#")],-1),$e=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220329A/manage-a-community-project-20220329A.webp",alt:"Manage a Project"})],-1),et=e("p",null,"On Community Projects, the only option available is to change the Project\u2019s Name. To manage a Community Project:",-1),tt=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page.")]),e("li",null,"Click the Project to enter the Project Monitor page."),e("li",null,[t("Click "),e("strong",null,"\u201CEdit\u201D"),t(" to enter the Project Details page.")]),e("li",null,"Change Project Name as desired."),e("li",null,[t("Click "),e("strong",null,"\u201CUpdate Project\u201D"),t(".")])],-1),ot=e("h2",{id:"manage-a-standard-project"},[t("Manage a Standard Project "),e("a",{class:"header-anchor",href:"#manage-a-standard-project"},"#")],-1),st=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220322A/manage-a-project-20220322A.webp",alt:"Manage a Project"})],-1),nt=t("On Standard Projects, it\u2019s possible to change the Project Name as well as reconfigure the "),at=t("Node Type"),rt=t(", number of "),lt=t("Active Nodes"),ct=t(" and number of "),it=t("Standby Nodes"),dt=t("."),ut=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page.")]),e("li",null,"Click the Project to enter the Project Monitor page."),e("li",null,[t("Click "),e("strong",null,"\u201CEdit\u201D"),t(" to enter the Project Details page.")]),e("li",null,"Make changes as desired."),e("li",null,[t("Click "),e("strong",null,"\u201CUpdate Project\u201D"),t(".")])],-1),ht=e("h2",{id:"manage-an-enterprise-project"},[t("Manage an Enterprise Project "),e("a",{class:"header-anchor",href:"#manage-an-enterprise-project"},"#")],-1),pt=e("p",null,"Each Enterprise Project is customized, so it can\u2019t be managed from the Cloud Dashboard. The Project will be managed in tandem with the Directus Core Team.",-1),_t=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Ready to to go Enterprise?"),e("p",null,[e("a",{href:"https://directus.io/contact/",target:"_blank",rel:"noopener noreferrer"},"Contact Sales")])],-1),mt=e("h2",{id:"resume-a-community-project"},[t("Resume a Community Project "),e("a",{class:"header-anchor",href:"#resume-a-community-project"},"#")],-1),jt=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220322A/resume-paused-project-20220322A.webp",alt:"Resume Paused Project"})],-1),gt=t("If there is no app activity for 3 days on a Community Project, the "),ft=t("Infrastructure"),Pt=t(" gets paused. Projects that remain paused for a certain duration will be automatically deleted (see details in "),yt=e("a",{href:"https://directus.io/cloud-policies/#",target:"_blank",rel:"noopener noreferrer"},"Cloud Policies",-1),Ct=t("). To avoid deletion, you have to manually resume the Project within the Cloud Dashboard, because requests to the app will not resume the Project. To resume a paused Community Project:"),bt=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page.")]),e("li",null,"Click the paused Project to enter the Project Monitor page."),e("li",null,[t("Click "),e("strong",null,"\u201CResume Project\u201D"),t(".")])],-1),wt=e("h2",{id:"destroy-a-project"},[t("Destroy a Project "),e("a",{class:"header-anchor",href:"#destroy-a-project"},"#")],-1),vt=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/cloud/projects/projects-20220322A/destroy-a-project-20220225A.webp",alt:"Destroying a Project"})],-1),Tt=e("p",null,"Destroying a Directus Cloud Project completely removes all its data, assets, settings and users from the platform. To destroy a Directus Cloud Project, follow these steps:",-1),kt=e("ol",null,[e("li",null,"Open the Team Menu in the Dashboard Header and click the desired Team."),e("li",null,[t("Click "),e("strong",null,"\u201CProjects\u201D"),t(" to enter the Projects page.")]),e("li",null,"Click the Project you wish to delete."),e("li",null,[t("Scroll to the bottom of the page and toggle "),e("span",{mi:"",icon:"",dngr:""},"local_fire_department"),t(".")]),e("li",null,"Type in the Project Name."),e("li",null,[t("Click "),e("strong",null,"\u201CDestroy Project\u201D"),t(".")])],-1),Nt=e("div",{class:"tip hint"},[e("p",null,[t("This action will break any external apps connecting to the Project\u2019s API or linking to Project files, and is permanent and irreversible. "),e("strong",null,"Directus Cloud is not responsible for data or files lost due to this action!")])],-1),Et={setup(St,{expose:l}){const a={title:"Cloud Projects",modularExtension:!1};return l({frontmatter:a}),(At,Dt)=>{const s=r("router-link"),c=r("DocsWrapper");return i(),d(c,{frontmatter:a},{default:o(()=>[e("div",u,[h,p,e("p",null,[_,n(s,{to:"/docs/cloud/glossary/#infrastructure"},{default:o(()=>[m]),_:1}),j,n(s,{to:"/docs/cloud/glossary/#asset-storage"},{default:o(()=>[g]),_:1}),f,n(s,{to:"/docs/cloud/glossary/#quotas"},{default:o(()=>[P]),_:1}),y,n(s,{to:"/docs/cloud/glossary/#cloud-exclusives"},{default:o(()=>[C]),_:1}),b,n(s,{to:"/docs/cloud/glossary/#support-options"},{default:o(()=>[w]),_:1}),v]),T,e("p",null,[k,n(s,{to:"/docs/cloud/overview"},{default:o(()=>[N]),_:1}),S]),A,D,e("p",null,[M,n(s,{to:"/docs/cloud/glossary/#system-status"},{default:o(()=>[E]),_:1}),O,R,I,U,H,x,L]),q,B,V,z,e("ul",null,[F,Y,e("li",null,[n(s,{to:"/docs/cloud/glossary/#datacenter-regions"},{default:o(()=>[W]),_:1}),G,J,K]),e("li",null,[n(s,{to:"/docs/cloud/glossary/#node-types"},{default:o(()=>[Q]),_:1}),X]),e("li",null,[n(s,{to:"/docs/cloud/glossary/#load-balancing"},{default:o(()=>[Z]),_:1}),$]),ee]),e("p",null,[te,n(s,{to:"/docs/cloud/glossary/#auto-scaling"},{default:o(()=>[oe]),_:1}),se]),ne,ae,re,le,ce,ie,e("p",null,[de,n(s,{to:"/docs/cloud/glossary/#backups"},{default:o(()=>[ue]),_:1}),he]),pe,e("ul",null,[_e,me,e("li",null,[n(s,{to:"/docs/cloud/glossary/#datacenter-regions"},{default:o(()=>[je]),_:1}),ge,fe,Pe,ye,Ce]),e("li",null,[n(s,{to:"/docs/cloud/glossary/#node-types"},{default:o(()=>[be]),_:1}),we]),e("li",null,[n(s,{to:"/docs/cloud/glossary/#load-balancing"},{default:o(()=>[ve]),_:1}),Te]),e("li",null,[n(s,{to:"/docs/cloud/glossary/#auto-scaling"},{default:o(()=>[ke]),_:1}),Ne])]),Se,Ae,De,Me,e("p",null,[Ee,n(s,{to:"/docs/cloud/glossary/#datacenter-regions"},{default:o(()=>[Oe]),_:1}),Re,n(s,{to:"/docs/cloud/glossary/#support-options"},{default:o(()=>[Ie]),_:1}),Ue]),He,xe,Le,qe,Be,Ve,ze,Fe,Ye,We,Ge,Je,Ke,Qe,Xe,Ze,$e,et,tt,ot,st,e("p",null,[nt,n(s,{to:"/docs/cloud/glossary/#node-types"},{default:o(()=>[at]),_:1}),rt,n(s,{to:"/docs/cloud/glossary/#active-nodes"},{default:o(()=>[lt]),_:1}),ct,n(s,{to:"/docs/cloud/glossary/#standby-nodes"},{default:o(()=>[it]),_:1}),dt]),ut,ht,pt,_t,mt,jt,e("p",null,[gt,n(s,{to:"/docs/cloud/glossary/#infrastructure"},{default:o(()=>[ft]),_:1}),Pt,yt,Ct]),bt,wt,vt,Tt,kt,Nt])]),_:1})}}};export{Et as default};
@@ -1 +1 @@
1
- import{bV as p}from"./vendor.e0a21029.js";function c(r,f){return f.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(i){if(i!=="default"&&!(i in r)){var e=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(r,i,e.get?e:{enumerable:!0,get:function(){return n[i]}})}})}),Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(r,f){(function(n){n(p.exports)})(function(n){n.defineMode("properties",function(){return{token:function(i,e){var t=i.sol()||e.afterSection,u=i.eol();if(e.afterSection=!1,t&&(e.nextMultiline?(e.inMultiline=!0,e.nextMultiline=!1):e.position="def"),u&&!e.nextMultiline&&(e.inMultiline=!1,e.position="def"),t)for(;i.eatSpace(););var o=i.next();return t&&(o==="#"||o==="!"||o===";")?(e.position="comment",i.skipToEnd(),"comment"):t&&o==="["?(e.afterSection=!0,i.skipTo("]"),i.eat("]"),"header"):o==="="||o===":"?(e.position="quote",null):(o==="\\"&&e.position==="quote"&&i.eol()&&(e.nextMultiline=!0),e.position)},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}),n.defineMIME("text/x-properties","properties"),n.defineMIME("text/x-ini","properties")})})();var s=l.exports,x=c({__proto__:null,default:s},[l.exports]);export{x as p};
1
+ import{bV as p}from"./vendor.3b903562.js";function c(r,f){return f.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(i){if(i!=="default"&&!(i in r)){var e=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(r,i,e.get?e:{enumerable:!0,get:function(){return n[i]}})}})}),Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(r,f){(function(n){n(p.exports)})(function(n){n.defineMode("properties",function(){return{token:function(i,e){var t=i.sol()||e.afterSection,u=i.eol();if(e.afterSection=!1,t&&(e.nextMultiline?(e.inMultiline=!0,e.nextMultiline=!1):e.position="def"),u&&!e.nextMultiline&&(e.inMultiline=!1,e.position="def"),t)for(;i.eatSpace(););var o=i.next();return t&&(o==="#"||o==="!"||o===";")?(e.position="comment",i.skipToEnd(),"comment"):t&&o==="["?(e.afterSection=!0,i.skipTo("]"),i.eat("]"),"header"):o==="="||o===":"?(e.position="quote",null):(o==="\\"&&e.position==="quote"&&i.eol()&&(e.nextMultiline=!0),e.position)},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}),n.defineMIME("text/x-properties","properties"),n.defineMIME("text/x-ini","properties")})})();var s=l.exports,a=c({__proto__:null,default:s},[l.exports]);export{a as p};
@@ -1 +1 @@
1
- import{bV as p}from"./vendor.e0a21029.js";function d(o,i){return i.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(t){if(t!=="default"&&!(t in o)){var n=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return r[t]}})}})}),Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var f={exports:{}};(function(o,i){(function(r){r(p.exports)})(function(r){function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var n=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],u=t(n);r.registerHelper("hintWords","protobuf",n);var a=new RegExp("^[_A-Za-z\xA1-\uFFFF][_A-Za-z0-9\xA1-\uFFFF]*");function c(e){return e.eatSpace()?null:e.match("//")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(u)?"keyword":e.match(a)?"variable":(e.next(),null)}r.defineMode("protobuf",function(){return{token:c,fold:"brace"}}),r.defineMIME("text/x-protobuf","protobuf")})})();var s=f.exports,l=d({__proto__:null,default:s},[f.exports]);export{l as p};
1
+ import{bV as p}from"./vendor.3b903562.js";function d(o,i){return i.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(t){if(t!=="default"&&!(t in o)){var n=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return r[t]}})}})}),Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var f={exports:{}};(function(o,i){(function(r){r(p.exports)})(function(r){function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var n=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],u=t(n);r.registerHelper("hintWords","protobuf",n);var a=new RegExp("^[_A-Za-z\xA1-\uFFFF][_A-Za-z0-9\xA1-\uFFFF]*");function c(e){return e.eatSpace()?null:e.match("//")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(u)?"keyword":e.match(a)?"variable":(e.next(),null)}r.defineMode("protobuf",function(){return{token:c,fold:"brace"}}),r.defineMIME("text/x-protobuf","protobuf")})})();var s=f.exports,l=d({__proto__:null,default:s},[f.exports]);export{l as p};
@@ -1 +1 @@
1
- import{bV as un}from"./vendor.e0a21029.js";import{a as cn}from"./javascript.03bf484d.js";import{a as fn}from"./css.af9df8d9.js";import{a as ln}from"./htmlmixed.97a3b948.js";function an(f,o){return o.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(u){if(u!=="default"&&!(u in f)){var r=Object.getOwnPropertyDescriptor(t,u);Object.defineProperty(f,u,r.get?r:{enumerable:!0,get:function(){return t[u]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var v={exports:{}};(function(f,o){(function(t){t(un.exports,cn.exports,fn.exports,ln.exports)})(function(t){t.defineMode("pug",function(u){var r="keyword",g="meta",j="builtin",b="qualifier",p={"{":"}","(":")","[":"]"},c=t.getMode(u,"javascript");function l(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=t.startState(c),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.scriptType="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken="",this.innerMode=null,this.innerState=null,this.innerModeForLine=!1}l.prototype.copy=function(){var n=new l;return n.javaScriptLine=this.javaScriptLine,n.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,n.javaScriptArguments=this.javaScriptArguments,n.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,n.isInterpolating=this.isInterpolating,n.interpolationNesting=this.interpolationNesting,n.jsState=t.copyState(c,this.jsState),n.innerMode=this.innerMode,this.innerMode&&this.innerState&&(n.innerState=t.copyState(this.innerMode,this.innerState)),n.restOfLine=this.restOfLine,n.isIncludeFiltered=this.isIncludeFiltered,n.isEach=this.isEach,n.lastTag=this.lastTag,n.scriptType=this.scriptType,n.isAttrs=this.isAttrs,n.attrsNest=this.attrsNest.slice(),n.inAttributeName=this.inAttributeName,n.attributeIsType=this.attributeIsType,n.attrValue=this.attrValue,n.indentOf=this.indentOf,n.indentToken=this.indentToken,n.innerModeForLine=this.innerModeForLine,n};function L(n,i){if(n.sol()&&(i.javaScriptLine=!1,i.javaScriptLineExcludesColon=!1),i.javaScriptLine){if(i.javaScriptLineExcludesColon&&n.peek()===":"){i.javaScriptLine=!1,i.javaScriptLineExcludesColon=!1;return}var e=c.token(n,i.jsState);return n.eol()&&(i.javaScriptLine=!1),e||!0}}function y(n,i){if(i.javaScriptArguments){if(i.javaScriptArgumentsDepth===0&&n.peek()!=="("){i.javaScriptArguments=!1;return}if(n.peek()==="("?i.javaScriptArgumentsDepth++:n.peek()===")"&&i.javaScriptArgumentsDepth--,i.javaScriptArgumentsDepth===0){i.javaScriptArguments=!1;return}var e=c.token(n,i.jsState);return e||!0}}function x(n){if(n.match(/^yield\b/))return"keyword"}function A(n){if(n.match(/^(?:doctype) *([^\n]+)?/))return g}function h(n,i){if(n.match("#{"))return i.isInterpolating=!0,i.interpolationNesting=0,"punctuation"}function T(n,i){if(i.isInterpolating){if(n.peek()==="}"){if(i.interpolationNesting--,i.interpolationNesting<0)return n.next(),i.isInterpolating=!1,"punctuation"}else n.peek()==="{"&&i.interpolationNesting++;return c.token(n,i.jsState)||!0}}function O(n,i){if(n.match(/^case\b/))return i.javaScriptLine=!0,r}function k(n,i){if(n.match(/^when\b/))return i.javaScriptLine=!0,i.javaScriptLineExcludesColon=!0,r}function N(n){if(n.match(/^default\b/))return r}function w(n,i){if(n.match(/^extends?\b/))return i.restOfLine="string",r}function I(n,i){if(n.match(/^append\b/))return i.restOfLine="variable",r}function E(n,i){if(n.match(/^prepend\b/))return i.restOfLine="variable",r}function F(n,i){if(n.match(/^block\b *(?:(prepend|append)\b)?/))return i.restOfLine="variable",r}function D(n,i){if(n.match(/^include\b/))return i.restOfLine="string",r}function M(n,i){if(n.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&n.match("include"))return i.isIncludeFiltered=!0,r}function C(n,i){if(i.isIncludeFiltered){var e=s(n,i);return i.isIncludeFiltered=!1,i.restOfLine="string",e}}function m(n,i){if(n.match(/^mixin\b/))return i.javaScriptLine=!0,r}function V(n,i){if(n.match(/^\+([-\w]+)/))return n.match(/^\( *[-\w]+ *=/,!1)||(i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0),"variable";if(n.match("+#{",!1))return n.next(),i.mixinCallAfter=!0,h(n,i)}function _(n,i){if(i.mixinCallAfter)return i.mixinCallAfter=!1,n.match(/^\( *[-\w]+ *=/,!1)||(i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0),!0}function P(n,i){if(n.match(/^(if|unless|else if|else)\b/))return i.javaScriptLine=!0,r}function $(n,i){if(n.match(/^(- *)?(each|for)\b/))return i.isEach=!0,r}function z(n,i){if(i.isEach){if(n.match(/^ in\b/))return i.javaScriptLine=!0,i.isEach=!1,r;if(n.sol()||n.eol())i.isEach=!1;else if(n.next()){for(;!n.match(/^ in\b/,!1)&&n.next(););return"variable"}}}function R(n,i){if(n.match(/^while\b/))return i.javaScriptLine=!0,r}function Y(n,i){var e;if(e=n.match(/^(\w(?:[-:\w]*\w)?)\/?/))return i.lastTag=e[1].toLowerCase(),i.lastTag==="script"&&(i.scriptType="application/javascript"),"tag"}function s(n,i){if(n.match(/^:([\w\-]+)/)){var e;return u&&u.innerModes&&(e=u.innerModes(n.current().substring(1))),e||(e=n.current().substring(1)),typeof e=="string"&&(e=t.getMode(u,e)),a(n,i,e),"atom"}}function q(n,i){if(n.match(/^(!?=|-)/))return i.javaScriptLine=!0,"punctuation"}function B(n){if(n.match(/^#([\w-]+)/))return j}function K(n){if(n.match(/^\.([\w-]+)/))return b}function U(n,i){if(n.peek()=="(")return n.next(),i.isAttrs=!0,i.attrsNest=[],i.inAttributeName=!0,i.attrValue="",i.attributeIsType=!1,"punctuation"}function d(n,i){if(i.isAttrs){if(p[n.peek()]&&i.attrsNest.push(p[n.peek()]),i.attrsNest[i.attrsNest.length-1]===n.peek())i.attrsNest.pop();else if(n.eat(")"))return i.isAttrs=!1,"punctuation";if(i.inAttributeName&&n.match(/^[^=,\)!]+/))return(n.peek()==="="||n.peek()==="!")&&(i.inAttributeName=!1,i.jsState=t.startState(c),i.lastTag==="script"&&n.current().trim().toLowerCase()==="type"?i.attributeIsType=!0:i.attributeIsType=!1),"attribute";var e=c.token(n,i.jsState);if(i.attributeIsType&&e==="string"&&(i.scriptType=n.current().toString()),i.attrsNest.length===0&&(e==="string"||e==="variable"||e==="keyword"))try{return Function("","var x "+i.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),i.inAttributeName=!0,i.attrValue="",n.backUp(n.current().length),d(n,i)}catch{}return i.attrValue+=n.current(),e||!0}}function W(n,i){if(n.match(/^&attributes\b/))return i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0,"keyword"}function Z(n){if(n.sol()&&n.eatSpace())return"indent"}function G(n,i){if(n.match(/^ *\/\/(-)?([^\n]*)/))return i.indentOf=n.indentation(),i.indentToken="comment","comment"}function H(n){if(n.match(/^: */))return"colon"}function J(n,i){if(n.match(/^(?:\| ?| )([^\n]+)/))return"string";if(n.match(/^(<[^\n]*)/,!1))return a(n,i,"htmlmixed"),i.innerModeForLine=!0,S(n,i,!0)}function Q(n,i){if(n.eat(".")){var e=null;return i.lastTag==="script"&&i.scriptType.toLowerCase().indexOf("javascript")!=-1?e=i.scriptType.toLowerCase().replace(/"|'/g,""):i.lastTag==="style"&&(e="css"),a(n,i,e),"dot"}}function X(n){return n.next(),null}function a(n,i,e){e=t.mimeModes[e]||e,e=u.innerModes&&u.innerModes(e)||e,e=t.mimeModes[e]||e,e=t.getMode(u,e),i.indentOf=n.indentation(),e&&e.name!=="null"?i.innerMode=e:i.indentToken="string"}function S(n,i,e){if(n.indentation()>i.indentOf||i.innerModeForLine&&!n.sol()||e)return i.innerMode?(i.innerState||(i.innerState=i.innerMode.startState?t.startState(i.innerMode,n.indentation()):{}),n.hideFirstChars(i.indentOf+2,function(){return i.innerMode.token(n,i.innerState)||!0})):(n.skipToEnd(),i.indentToken);n.sol()&&(i.indentOf=1/0,i.indentToken=null,i.innerMode=null,i.innerState=null)}function nn(n,i){if(n.sol()&&(i.restOfLine=""),i.restOfLine){n.skipToEnd();var e=i.restOfLine;return i.restOfLine="",e}}function en(){return new l}function tn(n){return n.copy()}function rn(n,i){var e=S(n,i)||nn(n,i)||T(n,i)||C(n,i)||z(n,i)||d(n,i)||L(n,i)||y(n,i)||_(n,i)||x(n)||A(n)||h(n,i)||O(n,i)||k(n,i)||N(n)||w(n,i)||I(n,i)||E(n,i)||F(n,i)||D(n,i)||M(n,i)||m(n,i)||V(n,i)||P(n,i)||$(n,i)||R(n,i)||Y(n,i)||s(n,i)||q(n,i)||B(n)||K(n)||U(n,i)||W(n,i)||Z(n)||J(n,i)||G(n,i)||H(n)||Q(n,i)||X(n);return e===!0?null:e}return{startState:en,copyState:tn,token:rn}},"javascript","css","htmlmixed"),t.defineMIME("text/x-pug","pug"),t.defineMIME("text/x-jade","pug")})})();var on=v.exports,vn=an({__proto__:null,default:on},[v.exports]);export{v as a,vn as p};
1
+ import{bV as un}from"./vendor.3b903562.js";import{a as cn}from"./javascript.3248781e.js";import{a as fn}from"./css.9ca6545e.js";import{a as ln}from"./htmlmixed.6ded1069.js";function an(f,o){return o.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(u){if(u!=="default"&&!(u in f)){var r=Object.getOwnPropertyDescriptor(t,u);Object.defineProperty(f,u,r.get?r:{enumerable:!0,get:function(){return t[u]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var v={exports:{}};(function(f,o){(function(t){t(un.exports,cn.exports,fn.exports,ln.exports)})(function(t){t.defineMode("pug",function(u){var r="keyword",g="meta",j="builtin",b="qualifier",p={"{":"}","(":")","[":"]"},c=t.getMode(u,"javascript");function l(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=t.startState(c),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.scriptType="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken="",this.innerMode=null,this.innerState=null,this.innerModeForLine=!1}l.prototype.copy=function(){var n=new l;return n.javaScriptLine=this.javaScriptLine,n.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,n.javaScriptArguments=this.javaScriptArguments,n.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,n.isInterpolating=this.isInterpolating,n.interpolationNesting=this.interpolationNesting,n.jsState=t.copyState(c,this.jsState),n.innerMode=this.innerMode,this.innerMode&&this.innerState&&(n.innerState=t.copyState(this.innerMode,this.innerState)),n.restOfLine=this.restOfLine,n.isIncludeFiltered=this.isIncludeFiltered,n.isEach=this.isEach,n.lastTag=this.lastTag,n.scriptType=this.scriptType,n.isAttrs=this.isAttrs,n.attrsNest=this.attrsNest.slice(),n.inAttributeName=this.inAttributeName,n.attributeIsType=this.attributeIsType,n.attrValue=this.attrValue,n.indentOf=this.indentOf,n.indentToken=this.indentToken,n.innerModeForLine=this.innerModeForLine,n};function L(n,i){if(n.sol()&&(i.javaScriptLine=!1,i.javaScriptLineExcludesColon=!1),i.javaScriptLine){if(i.javaScriptLineExcludesColon&&n.peek()===":"){i.javaScriptLine=!1,i.javaScriptLineExcludesColon=!1;return}var e=c.token(n,i.jsState);return n.eol()&&(i.javaScriptLine=!1),e||!0}}function y(n,i){if(i.javaScriptArguments){if(i.javaScriptArgumentsDepth===0&&n.peek()!=="("){i.javaScriptArguments=!1;return}if(n.peek()==="("?i.javaScriptArgumentsDepth++:n.peek()===")"&&i.javaScriptArgumentsDepth--,i.javaScriptArgumentsDepth===0){i.javaScriptArguments=!1;return}var e=c.token(n,i.jsState);return e||!0}}function x(n){if(n.match(/^yield\b/))return"keyword"}function A(n){if(n.match(/^(?:doctype) *([^\n]+)?/))return g}function h(n,i){if(n.match("#{"))return i.isInterpolating=!0,i.interpolationNesting=0,"punctuation"}function T(n,i){if(i.isInterpolating){if(n.peek()==="}"){if(i.interpolationNesting--,i.interpolationNesting<0)return n.next(),i.isInterpolating=!1,"punctuation"}else n.peek()==="{"&&i.interpolationNesting++;return c.token(n,i.jsState)||!0}}function O(n,i){if(n.match(/^case\b/))return i.javaScriptLine=!0,r}function k(n,i){if(n.match(/^when\b/))return i.javaScriptLine=!0,i.javaScriptLineExcludesColon=!0,r}function N(n){if(n.match(/^default\b/))return r}function w(n,i){if(n.match(/^extends?\b/))return i.restOfLine="string",r}function I(n,i){if(n.match(/^append\b/))return i.restOfLine="variable",r}function E(n,i){if(n.match(/^prepend\b/))return i.restOfLine="variable",r}function F(n,i){if(n.match(/^block\b *(?:(prepend|append)\b)?/))return i.restOfLine="variable",r}function D(n,i){if(n.match(/^include\b/))return i.restOfLine="string",r}function M(n,i){if(n.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&n.match("include"))return i.isIncludeFiltered=!0,r}function C(n,i){if(i.isIncludeFiltered){var e=s(n,i);return i.isIncludeFiltered=!1,i.restOfLine="string",e}}function m(n,i){if(n.match(/^mixin\b/))return i.javaScriptLine=!0,r}function V(n,i){if(n.match(/^\+([-\w]+)/))return n.match(/^\( *[-\w]+ *=/,!1)||(i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0),"variable";if(n.match("+#{",!1))return n.next(),i.mixinCallAfter=!0,h(n,i)}function _(n,i){if(i.mixinCallAfter)return i.mixinCallAfter=!1,n.match(/^\( *[-\w]+ *=/,!1)||(i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0),!0}function P(n,i){if(n.match(/^(if|unless|else if|else)\b/))return i.javaScriptLine=!0,r}function $(n,i){if(n.match(/^(- *)?(each|for)\b/))return i.isEach=!0,r}function z(n,i){if(i.isEach){if(n.match(/^ in\b/))return i.javaScriptLine=!0,i.isEach=!1,r;if(n.sol()||n.eol())i.isEach=!1;else if(n.next()){for(;!n.match(/^ in\b/,!1)&&n.next(););return"variable"}}}function R(n,i){if(n.match(/^while\b/))return i.javaScriptLine=!0,r}function Y(n,i){var e;if(e=n.match(/^(\w(?:[-:\w]*\w)?)\/?/))return i.lastTag=e[1].toLowerCase(),i.lastTag==="script"&&(i.scriptType="application/javascript"),"tag"}function s(n,i){if(n.match(/^:([\w\-]+)/)){var e;return u&&u.innerModes&&(e=u.innerModes(n.current().substring(1))),e||(e=n.current().substring(1)),typeof e=="string"&&(e=t.getMode(u,e)),a(n,i,e),"atom"}}function q(n,i){if(n.match(/^(!?=|-)/))return i.javaScriptLine=!0,"punctuation"}function B(n){if(n.match(/^#([\w-]+)/))return j}function K(n){if(n.match(/^\.([\w-]+)/))return b}function U(n,i){if(n.peek()=="(")return n.next(),i.isAttrs=!0,i.attrsNest=[],i.inAttributeName=!0,i.attrValue="",i.attributeIsType=!1,"punctuation"}function d(n,i){if(i.isAttrs){if(p[n.peek()]&&i.attrsNest.push(p[n.peek()]),i.attrsNest[i.attrsNest.length-1]===n.peek())i.attrsNest.pop();else if(n.eat(")"))return i.isAttrs=!1,"punctuation";if(i.inAttributeName&&n.match(/^[^=,\)!]+/))return(n.peek()==="="||n.peek()==="!")&&(i.inAttributeName=!1,i.jsState=t.startState(c),i.lastTag==="script"&&n.current().trim().toLowerCase()==="type"?i.attributeIsType=!0:i.attributeIsType=!1),"attribute";var e=c.token(n,i.jsState);if(i.attributeIsType&&e==="string"&&(i.scriptType=n.current().toString()),i.attrsNest.length===0&&(e==="string"||e==="variable"||e==="keyword"))try{return Function("","var x "+i.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),i.inAttributeName=!0,i.attrValue="",n.backUp(n.current().length),d(n,i)}catch{}return i.attrValue+=n.current(),e||!0}}function W(n,i){if(n.match(/^&attributes\b/))return i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0,"keyword"}function Z(n){if(n.sol()&&n.eatSpace())return"indent"}function G(n,i){if(n.match(/^ *\/\/(-)?([^\n]*)/))return i.indentOf=n.indentation(),i.indentToken="comment","comment"}function H(n){if(n.match(/^: */))return"colon"}function J(n,i){if(n.match(/^(?:\| ?| )([^\n]+)/))return"string";if(n.match(/^(<[^\n]*)/,!1))return a(n,i,"htmlmixed"),i.innerModeForLine=!0,S(n,i,!0)}function Q(n,i){if(n.eat(".")){var e=null;return i.lastTag==="script"&&i.scriptType.toLowerCase().indexOf("javascript")!=-1?e=i.scriptType.toLowerCase().replace(/"|'/g,""):i.lastTag==="style"&&(e="css"),a(n,i,e),"dot"}}function X(n){return n.next(),null}function a(n,i,e){e=t.mimeModes[e]||e,e=u.innerModes&&u.innerModes(e)||e,e=t.mimeModes[e]||e,e=t.getMode(u,e),i.indentOf=n.indentation(),e&&e.name!=="null"?i.innerMode=e:i.indentToken="string"}function S(n,i,e){if(n.indentation()>i.indentOf||i.innerModeForLine&&!n.sol()||e)return i.innerMode?(i.innerState||(i.innerState=i.innerMode.startState?t.startState(i.innerMode,n.indentation()):{}),n.hideFirstChars(i.indentOf+2,function(){return i.innerMode.token(n,i.innerState)||!0})):(n.skipToEnd(),i.indentToken);n.sol()&&(i.indentOf=1/0,i.indentToken=null,i.innerMode=null,i.innerState=null)}function nn(n,i){if(n.sol()&&(i.restOfLine=""),i.restOfLine){n.skipToEnd();var e=i.restOfLine;return i.restOfLine="",e}}function en(){return new l}function tn(n){return n.copy()}function rn(n,i){var e=S(n,i)||nn(n,i)||T(n,i)||C(n,i)||z(n,i)||d(n,i)||L(n,i)||y(n,i)||_(n,i)||x(n)||A(n)||h(n,i)||O(n,i)||k(n,i)||N(n)||w(n,i)||I(n,i)||E(n,i)||F(n,i)||D(n,i)||M(n,i)||m(n,i)||V(n,i)||P(n,i)||$(n,i)||R(n,i)||Y(n,i)||s(n,i)||q(n,i)||B(n)||K(n)||U(n,i)||W(n,i)||Z(n)||J(n,i)||G(n,i)||H(n)||Q(n,i)||X(n);return e===!0?null:e}return{startState:en,copyState:tn,token:rn}},"javascript","css","htmlmixed"),t.defineMIME("text/x-pug","pug"),t.defineMIME("text/x-jade","pug")})})();var on=v.exports,vn=an({__proto__:null,default:on},[v.exports]);export{v as a,vn as p};
@@ -1 +1 @@
1
- import{bV as _}from"./vendor.e0a21029.js";function v(c,l){return l.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(o){if(o!=="default"&&!(o in c)){var u=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(c,o,u.get?u:{enumerable:!0,get:function(){return r[o]}})}})}),Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var d={exports:{}};(function(c,l){(function(r){r(_.exports)})(function(r){r.defineMode("puppet",function(){var o={},u=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function f(e,n){for(var i=n.split(" "),a=0;a<i.length;a++)o[i[a]]=e}f("keyword","class define site node include import inherits"),f("keyword","case if else in and elsif default or"),f("atom","false true running present absent file directory undef"),f("builtin","action augeas burst chain computer cron destination dport exec file filebucket group host icmp iniface interface jump k5login limit log_level log_prefix macauthorization mailalias maillist mcx mount nagios_command nagios_contact nagios_contactgroup nagios_host nagios_hostdependency nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo nagios_servicegroup nagios_timeperiod name notify outiface package proto reject resources router schedule scheduled_task selboolean selmodule service source sport ssh_authorized_key sshkey stage state table tidy todest toports tosource user vlan yumrepo zfs zone zpool");function p(e,n){for(var i,a,s=!1;!e.eol()&&(i=e.next())!=n.pending;){if(i==="$"&&a!="\\"&&n.pending=='"'){s=!0;break}a=i}return s&&e.backUp(1),i==n.pending?n.continueString=!1:n.continueString=!0,"string"}function g(e,n){var i=e.match(/[\w]+/,!1),a=e.match(/(\s+)?\w+\s+=>.*/,!1),s=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),h=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),t=e.next();if(t==="$")return e.match(u)?n.continueString?"variable-2":"variable":"error";if(n.continueString)return e.backUp(1),p(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):a?(e.match(/(\s+)?\w+/),"tag"):i&&o.hasOwnProperty(i)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),i=="include"&&(n.inInclude=!0),o[i]):/(^|\s+)[A-Z][\w:_]+/.test(i)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):s?(e.match(/(\s+)?[\w:_]+/),"def"):h?(e.match(/(\s+)?[@]{1,2}/),"special"):t=="#"?(e.skipToEnd(),"comment"):t=="'"||t=='"'?(n.pending=t,p(e,n)):t=="{"||t=="}"?"bracket":t=="/"?(e.match(/^[^\/]*\//),"variable-3"):t.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):t=="="?(e.peek()==">"&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}return{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,n){return e.eatSpace()?null:g(e,n)}}}),r.defineMIME("text/x-puppet","puppet")})})();var b=d.exports,y=v({__proto__:null,default:b},[d.exports]);export{y as p};
1
+ import{bV as _}from"./vendor.3b903562.js";function v(u,l){return l.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(o){if(o!=="default"&&!(o in u)){var a=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(u,o,a.get?a:{enumerable:!0,get:function(){return r[o]}})}})}),Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var d={exports:{}};(function(u,l){(function(r){r(_.exports)})(function(r){r.defineMode("puppet",function(){var o={},a=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function f(e,n){for(var i=n.split(" "),c=0;c<i.length;c++)o[i[c]]=e}f("keyword","class define site node include import inherits"),f("keyword","case if else in and elsif default or"),f("atom","false true running present absent file directory undef"),f("builtin","action augeas burst chain computer cron destination dport exec file filebucket group host icmp iniface interface jump k5login limit log_level log_prefix macauthorization mailalias maillist mcx mount nagios_command nagios_contact nagios_contactgroup nagios_host nagios_hostdependency nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo nagios_servicegroup nagios_timeperiod name notify outiface package proto reject resources router schedule scheduled_task selboolean selmodule service source sport ssh_authorized_key sshkey stage state table tidy todest toports tosource user vlan yumrepo zfs zone zpool");function p(e,n){for(var i,c,s=!1;!e.eol()&&(i=e.next())!=n.pending;){if(i==="$"&&c!="\\"&&n.pending=='"'){s=!0;break}c=i}return s&&e.backUp(1),i==n.pending?n.continueString=!1:n.continueString=!0,"string"}function g(e,n){var i=e.match(/[\w]+/,!1),c=e.match(/(\s+)?\w+\s+=>.*/,!1),s=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),h=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),t=e.next();if(t==="$")return e.match(a)?n.continueString?"variable-2":"variable":"error";if(n.continueString)return e.backUp(1),p(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):c?(e.match(/(\s+)?\w+/),"tag"):i&&o.hasOwnProperty(i)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),i=="include"&&(n.inInclude=!0),o[i]):/(^|\s+)[A-Z][\w:_]+/.test(i)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):s?(e.match(/(\s+)?[\w:_]+/),"def"):h?(e.match(/(\s+)?[@]{1,2}/),"special"):t=="#"?(e.skipToEnd(),"comment"):t=="'"||t=='"'?(n.pending=t,p(e,n)):t=="{"||t=="}"?"bracket":t=="/"?(e.match(/^[^\/]*\//),"variable-3"):t.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):t=="="?(e.peek()==">"&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}return{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,n){return e.eatSpace()?null:g(e,n)}}}),r.defineMIME("text/x-puppet","puppet")})})();var b=d.exports,y=v({__proto__:null,default:b},[d.exports]);export{y as p};
@@ -1 +1 @@
1
- import{bV as J}from"./vendor.e0a21029.js";function K(b,S){return S.forEach(function(c){c&&typeof c!="string"&&!Array.isArray(c)&&Object.keys(c).forEach(function(p){if(p!=="default"&&!(p in b)){var v=Object.getOwnPropertyDescriptor(c,p);Object.defineProperty(b,p,v.get?v:{enumerable:!0,get:function(){return c[p]}})}})}),Object.freeze(Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}))}var L={exports:{}};(function(b,S){(function(c){c(J.exports)})(function(c){function p(a){return new RegExp("^(("+a.join(")|(")+"))\\b")}var v=p(["and","or","not","is"]),E=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],O=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];c.registerHelper("hintWords","python",E.concat(O));function f(a){return a.scopes[a.scopes.length-1]}c.defineMode("python",function(a,l){for(var h="error",B=l.delimiters||l.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,s=[l.singleOperators,l.doubleOperators,l.doubleDelimiters,l.tripleDelimiters,l.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],k=0;k<s.length;k++)s[k]||s.splice(k--,1);var z=l.hangingIndent||a.indentUnit,y=E,g=O;l.extra_keywords!=null&&(y=y.concat(l.extra_keywords)),l.extra_builtins!=null&&(g=g.concat(l.extra_builtins));var T=!(l.version&&Number(l.version)<3);if(T){var x=l.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;y=y.concat(["nonlocal","False","True","None","async","await"]),g=g.concat(["ascii","bytes","exec","print"]);var F=new RegExp(`^(([rbuf]|(br)|(rb)|(fr)|(rf))?('{3}|"{3}|['"]))`,"i")}else{var x=l.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;y=y.concat(["exec","print"]),g=g.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","False","True","None"]);var F=new RegExp(`^(([rubf]|(ur)|(br))?('{3}|"{3}|['"]))`,"i")}var N=p(y),P=p(g);function m(e,n){var r=e.sol()&&n.lastToken!="\\";if(r&&(n.indent=e.indentation()),r&&f(n).type=="py"){var i=f(n).offset;if(e.eatSpace()){var t=e.indentation();return t>i?A(n):t<i&&I(e,n)&&e.peek()!="#"&&(n.errorToken=!0),null}else{var u=_(e,n);return i>0&&I(e,n)&&(u+=" "+h),u}}return _(e,n)}function _(e,n,r){if(e.eatSpace())return null;if(!r&&e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var i=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),e.match(/^[\d_]+\.\d*/)&&(i=!0),e.match(/^\.\d+/)&&(i=!0),i)return e.eat(/J/i),"number";var t=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(t=!0),e.match(/^0b[01_]+/i)&&(t=!0),e.match(/^0o[0-7_]+/i)&&(t=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),t=!0),e.match(/^0(?![\dx])/i)&&(t=!0),t)return e.eat(/L/i),"number"}if(e.match(F)){var u=e.current().toLowerCase().indexOf("f")!==-1;return u?(n.tokenize=D(e.current(),n.tokenize),n.tokenize(e,n)):(n.tokenize=$(e.current(),n.tokenize),n.tokenize(e,n))}for(var o=0;o<s.length;o++)if(e.match(s[o]))return"operator";return e.match(B)?"punctuation":n.lastToken=="."&&e.match(x)?"property":e.match(N)||e.match(v)?"keyword":e.match(P)?"builtin":e.match(/^(self|cls)\b/)?"variable-2":e.match(x)?n.lastToken=="def"||n.lastToken=="class"?"def":"variable":(e.next(),r?null:h)}function D(e,n){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var r=e.length==1,i="string";function t(o){return function(d,w){var j=_(d,w,!0);return j=="punctuation"&&(d.current()=="{"?w.tokenize=t(o+1):d.current()=="}"&&(o>1?w.tokenize=t(o-1):w.tokenize=u)),j}}function u(o,d){for(;!o.eol();)if(o.eatWhile(/[^'"\{\}\\]/),o.eat("\\")){if(o.next(),r&&o.eol())return i}else{if(o.match(e))return d.tokenize=n,i;if(o.match("{{"))return i;if(o.match("{",!1))return d.tokenize=t(0),o.current()?i:d.tokenize(o,d);if(o.match("}}"))return i;if(o.match("}"))return h;o.eat(/['"]/)}if(r){if(l.singleLineStringErrors)return h;d.tokenize=n}return i}return u.isString=!0,u}function $(e,n){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var r=e.length==1,i="string";function t(u,o){for(;!u.eol();)if(u.eatWhile(/[^'"\\]/),u.eat("\\")){if(u.next(),r&&u.eol())return i}else{if(u.match(e))return o.tokenize=n,i;u.eat(/['"]/)}if(r){if(l.singleLineStringErrors)return h;o.tokenize=n}return i}return t.isString=!0,t}function A(e){for(;f(e).type!="py";)e.scopes.pop();e.scopes.push({offset:f(e).offset+a.indentUnit,type:"py",align:null})}function U(e,n,r){var i=e.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:e.column()+1;n.scopes.push({offset:n.indent+z,type:r,align:i})}function I(e,n){for(var r=e.indentation();n.scopes.length>1&&f(n).offset>r;){if(f(n).type!="py")return!0;n.scopes.pop()}return f(n).offset!=r}function Z(e,n){e.sol()&&(n.beginningOfLine=!0,n.dedent=!1);var r=n.tokenize(e,n),i=e.current();if(n.beginningOfLine&&i=="@")return e.match(x,!1)?"meta":T?"operator":h;if(/\S/.test(i)&&(n.beginningOfLine=!1),(r=="variable"||r=="builtin")&&n.lastToken=="meta"&&(r="meta"),(i=="pass"||i=="return")&&(n.dedent=!0),i=="lambda"&&(n.lambda=!0),i==":"&&!n.lambda&&f(n).type=="py"&&e.match(/^\s*(?:#|$)/,!1)&&A(n),i.length==1&&!/string|comment/.test(r)){var t="[({".indexOf(i);if(t!=-1&&U(e,n,"])}".slice(t,t+1)),t="])}".indexOf(i),t!=-1)if(f(n).type==i)n.indent=n.scopes.pop().offset-z;else return h}return n.dedent&&e.eol()&&f(n).type=="py"&&n.scopes.length>1&&n.scopes.pop(),r}var W={startState:function(e){return{tokenize:m,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,n){var r=n.errorToken;r&&(n.errorToken=!1);var i=Z(e,n);return i&&i!="comment"&&(n.lastToken=i=="keyword"||i=="punctuation"?e.current():i),i=="punctuation"&&(i=null),e.eol()&&n.lambda&&(n.lambda=!1),r?i+" "+h:i},indent:function(e,n){if(e.tokenize!=m)return e.tokenize.isString?c.Pass:0;var r=f(e),i=r.type==n.charAt(0)||r.type=="py"&&!e.dedent&&/^(else:|elif |except |finally:)/.test(n);return r.align!=null?r.align-(i?1:0):r.offset-(i?z:0)},electricInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,closeBrackets:{triples:`'"`},lineComment:"#",fold:"indent"};return W}),c.defineMIME("text/x-python","python");var R=function(a){return a.split(" ")};c.defineMIME("text/x-cython",{name:"python",extra_keywords:R("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})})();var M=L.exports,V=K({__proto__:null,default:M},[L.exports]);export{L as a,V as p};
1
+ import{bV as J}from"./vendor.3b903562.js";function K(b,S){return S.forEach(function(c){c&&typeof c!="string"&&!Array.isArray(c)&&Object.keys(c).forEach(function(p){if(p!=="default"&&!(p in b)){var v=Object.getOwnPropertyDescriptor(c,p);Object.defineProperty(b,p,v.get?v:{enumerable:!0,get:function(){return c[p]}})}})}),Object.freeze(Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}))}var L={exports:{}};(function(b,S){(function(c){c(J.exports)})(function(c){function p(a){return new RegExp("^(("+a.join(")|(")+"))\\b")}var v=p(["and","or","not","is"]),E=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],O=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];c.registerHelper("hintWords","python",E.concat(O));function f(a){return a.scopes[a.scopes.length-1]}c.defineMode("python",function(a,l){for(var h="error",B=l.delimiters||l.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,s=[l.singleOperators,l.doubleOperators,l.doubleDelimiters,l.tripleDelimiters,l.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],k=0;k<s.length;k++)s[k]||s.splice(k--,1);var z=l.hangingIndent||a.indentUnit,y=E,g=O;l.extra_keywords!=null&&(y=y.concat(l.extra_keywords)),l.extra_builtins!=null&&(g=g.concat(l.extra_builtins));var T=!(l.version&&Number(l.version)<3);if(T){var x=l.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;y=y.concat(["nonlocal","False","True","None","async","await"]),g=g.concat(["ascii","bytes","exec","print"]);var F=new RegExp(`^(([rbuf]|(br)|(rb)|(fr)|(rf))?('{3}|"{3}|['"]))`,"i")}else{var x=l.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;y=y.concat(["exec","print"]),g=g.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","False","True","None"]);var F=new RegExp(`^(([rubf]|(ur)|(br))?('{3}|"{3}|['"]))`,"i")}var N=p(y),P=p(g);function m(e,n){var r=e.sol()&&n.lastToken!="\\";if(r&&(n.indent=e.indentation()),r&&f(n).type=="py"){var i=f(n).offset;if(e.eatSpace()){var t=e.indentation();return t>i?A(n):t<i&&I(e,n)&&e.peek()!="#"&&(n.errorToken=!0),null}else{var u=_(e,n);return i>0&&I(e,n)&&(u+=" "+h),u}}return _(e,n)}function _(e,n,r){if(e.eatSpace())return null;if(!r&&e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var i=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),e.match(/^[\d_]+\.\d*/)&&(i=!0),e.match(/^\.\d+/)&&(i=!0),i)return e.eat(/J/i),"number";var t=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(t=!0),e.match(/^0b[01_]+/i)&&(t=!0),e.match(/^0o[0-7_]+/i)&&(t=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),t=!0),e.match(/^0(?![\dx])/i)&&(t=!0),t)return e.eat(/L/i),"number"}if(e.match(F)){var u=e.current().toLowerCase().indexOf("f")!==-1;return u?(n.tokenize=D(e.current(),n.tokenize),n.tokenize(e,n)):(n.tokenize=$(e.current(),n.tokenize),n.tokenize(e,n))}for(var o=0;o<s.length;o++)if(e.match(s[o]))return"operator";return e.match(B)?"punctuation":n.lastToken=="."&&e.match(x)?"property":e.match(N)||e.match(v)?"keyword":e.match(P)?"builtin":e.match(/^(self|cls)\b/)?"variable-2":e.match(x)?n.lastToken=="def"||n.lastToken=="class"?"def":"variable":(e.next(),r?null:h)}function D(e,n){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var r=e.length==1,i="string";function t(o){return function(d,w){var j=_(d,w,!0);return j=="punctuation"&&(d.current()=="{"?w.tokenize=t(o+1):d.current()=="}"&&(o>1?w.tokenize=t(o-1):w.tokenize=u)),j}}function u(o,d){for(;!o.eol();)if(o.eatWhile(/[^'"\{\}\\]/),o.eat("\\")){if(o.next(),r&&o.eol())return i}else{if(o.match(e))return d.tokenize=n,i;if(o.match("{{"))return i;if(o.match("{",!1))return d.tokenize=t(0),o.current()?i:d.tokenize(o,d);if(o.match("}}"))return i;if(o.match("}"))return h;o.eat(/['"]/)}if(r){if(l.singleLineStringErrors)return h;d.tokenize=n}return i}return u.isString=!0,u}function $(e,n){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var r=e.length==1,i="string";function t(u,o){for(;!u.eol();)if(u.eatWhile(/[^'"\\]/),u.eat("\\")){if(u.next(),r&&u.eol())return i}else{if(u.match(e))return o.tokenize=n,i;u.eat(/['"]/)}if(r){if(l.singleLineStringErrors)return h;o.tokenize=n}return i}return t.isString=!0,t}function A(e){for(;f(e).type!="py";)e.scopes.pop();e.scopes.push({offset:f(e).offset+a.indentUnit,type:"py",align:null})}function U(e,n,r){var i=e.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:e.column()+1;n.scopes.push({offset:n.indent+z,type:r,align:i})}function I(e,n){for(var r=e.indentation();n.scopes.length>1&&f(n).offset>r;){if(f(n).type!="py")return!0;n.scopes.pop()}return f(n).offset!=r}function Z(e,n){e.sol()&&(n.beginningOfLine=!0,n.dedent=!1);var r=n.tokenize(e,n),i=e.current();if(n.beginningOfLine&&i=="@")return e.match(x,!1)?"meta":T?"operator":h;if(/\S/.test(i)&&(n.beginningOfLine=!1),(r=="variable"||r=="builtin")&&n.lastToken=="meta"&&(r="meta"),(i=="pass"||i=="return")&&(n.dedent=!0),i=="lambda"&&(n.lambda=!0),i==":"&&!n.lambda&&f(n).type=="py"&&e.match(/^\s*(?:#|$)/,!1)&&A(n),i.length==1&&!/string|comment/.test(r)){var t="[({".indexOf(i);if(t!=-1&&U(e,n,"])}".slice(t,t+1)),t="])}".indexOf(i),t!=-1)if(f(n).type==i)n.indent=n.scopes.pop().offset-z;else return h}return n.dedent&&e.eol()&&f(n).type=="py"&&n.scopes.length>1&&n.scopes.pop(),r}var W={startState:function(e){return{tokenize:m,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,n){var r=n.errorToken;r&&(n.errorToken=!1);var i=Z(e,n);return i&&i!="comment"&&(n.lastToken=i=="keyword"||i=="punctuation"?e.current():i),i=="punctuation"&&(i=null),e.eol()&&n.lambda&&(n.lambda=!1),r?i+" "+h:i},indent:function(e,n){if(e.tokenize!=m)return e.tokenize.isString?c.Pass:0;var r=f(e),i=r.type==n.charAt(0)||r.type=="py"&&!e.dedent&&/^(else:|elif |except |finally:)/.test(n);return r.align!=null?r.align-(i?1:0):r.offset-(i?z:0)},electricInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,closeBrackets:{triples:`'"`},lineComment:"#",fold:"indent"};return W}),c.defineMIME("text/x-python","python");var R=function(a){return a.split(" ")};c.defineMIME("text/x-cython",{name:"python",extra_keywords:R("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})})();var M=L.exports,V=K({__proto__:null,default:M},[L.exports]);export{L as a,V as p};
@@ -1 +1 @@
1
- import{bV as w}from"./vendor.e0a21029.js";function j(f,s){return s.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(c){if(c!=="default"&&!(c in f)){var d=Object.getOwnPropertyDescriptor(i,c);Object.defineProperty(f,c,d.get?d:{enumerable:!0,get:function(){return i[c]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var v={exports:{}};(function(f,s){(function(i){i(w.exports)})(function(i){i.defineMode("q",function(c){var d=c.indentUnit,l,a=k(["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"]),m=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;function k(e){return new RegExp("^("+e.join("|")+")$")}function u(e,n){var o=e.sol(),t=e.next();if(l=null,o){if(t=="/")return(n.tokenize=g)(e,n);if(t=="\\")return e.eol()||/\s/.test(e.peek())?(e.skipToEnd(),/^\\\s*$/.test(e.current())?(n.tokenize=y)(e):n.tokenize=u,"comment"):(n.tokenize=u,"builtin")}if(/\s/.test(t))return e.peek()=="/"?(e.skipToEnd(),"comment"):"whitespace";if(t=='"')return(n.tokenize=b)(e,n);if(t=="`")return e.eatWhile(/[A-Za-z\d_:\/.]/),"symbol";if(t=="."&&/\d/.test(e.peek())||/\d/.test(t)){var r=null;return e.backUp(1),e.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||e.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||e.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||e.match(/^\d+[ptuv]{1}/)?r="temporal":(e.match(/^0[NwW]{1}/)||e.match(/^0x[\da-fA-F]*/)||e.match(/^[01]+[b]{1}/)||e.match(/^\d+[chijn]{1}/)||e.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(r="number"),r&&(!(t=e.peek())||m.test(t))?r:(e.next(),"error")}return/[A-Za-z]|\./.test(t)?(e.eatWhile(/[A-Za-z._\d]/),a.test(e.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(t)||/[{}\(\[\]\)]/.test(t)?null:"error"}function g(e,n){return e.skipToEnd(),/\/\s*$/.test(e.current())?(n.tokenize=h)(e,n):n.tokenize=u,"comment"}function h(e,n){var o=e.sol()&&e.peek()=="\\";return e.skipToEnd(),o&&/^\\\s*$/.test(e.current())&&(n.tokenize=u),"comment"}function y(e){return e.skipToEnd(),"comment"}function b(e,n){for(var o=!1,t,r=!1;t=e.next();){if(t=='"'&&!o){r=!0;break}o=!o&&t=="\\"}return r&&(n.tokenize=u),"string"}function p(e,n,o){e.context={prev:e.context,indent:e.indent,col:o,type:n}}function x(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:u,context:null,indent:0,col:0}},token:function(e,n){e.sol()&&(n.context&&n.context.align==null&&(n.context.align=!1),n.indent=e.indentation());var o=n.tokenize(e,n);if(o!="comment"&&n.context&&n.context.align==null&&n.context.type!="pattern"&&(n.context.align=!0),l=="(")p(n,")",e.column());else if(l=="[")p(n,"]",e.column());else if(l=="{")p(n,"}",e.column());else if(/[\]\}\)]/.test(l)){for(;n.context&&n.context.type=="pattern";)x(n);n.context&&l==n.context.type&&x(n)}else l=="."&&n.context&&n.context.type=="pattern"?x(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?p(n,"pattern",e.column()):n.context.type=="pattern"&&!n.context.align&&(n.context.align=!0,n.context.col=e.column()));return o},indent:function(e,n){var o=n&&n.charAt(0),t=e.context;if(/[\]\}]/.test(o))for(;t&&t.type=="pattern";)t=t.prev;var r=t&&o==t.type;return t?t.type=="pattern"?t.col:t.align?t.col+(r?0:1):t.indent+(r?0:d):0}}}),i.defineMIME("text/x-q","q")})})();var z=v.exports,q=j({__proto__:null,default:z},[v.exports]);export{q};
1
+ import{bV as w}from"./vendor.3b903562.js";function j(f,s){return s.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(c){if(c!=="default"&&!(c in f)){var d=Object.getOwnPropertyDescriptor(i,c);Object.defineProperty(f,c,d.get?d:{enumerable:!0,get:function(){return i[c]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var v={exports:{}};(function(f,s){(function(i){i(w.exports)})(function(i){i.defineMode("q",function(c){var d=c.indentUnit,l,a=k(["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"]),m=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;function k(e){return new RegExp("^("+e.join("|")+")$")}function u(e,n){var o=e.sol(),t=e.next();if(l=null,o){if(t=="/")return(n.tokenize=g)(e,n);if(t=="\\")return e.eol()||/\s/.test(e.peek())?(e.skipToEnd(),/^\\\s*$/.test(e.current())?(n.tokenize=y)(e):n.tokenize=u,"comment"):(n.tokenize=u,"builtin")}if(/\s/.test(t))return e.peek()=="/"?(e.skipToEnd(),"comment"):"whitespace";if(t=='"')return(n.tokenize=b)(e,n);if(t=="`")return e.eatWhile(/[A-Za-z\d_:\/.]/),"symbol";if(t=="."&&/\d/.test(e.peek())||/\d/.test(t)){var r=null;return e.backUp(1),e.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||e.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||e.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||e.match(/^\d+[ptuv]{1}/)?r="temporal":(e.match(/^0[NwW]{1}/)||e.match(/^0x[\da-fA-F]*/)||e.match(/^[01]+[b]{1}/)||e.match(/^\d+[chijn]{1}/)||e.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(r="number"),r&&(!(t=e.peek())||m.test(t))?r:(e.next(),"error")}return/[A-Za-z]|\./.test(t)?(e.eatWhile(/[A-Za-z._\d]/),a.test(e.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(t)||/[{}\(\[\]\)]/.test(t)?null:"error"}function g(e,n){return e.skipToEnd(),/\/\s*$/.test(e.current())?(n.tokenize=h)(e,n):n.tokenize=u,"comment"}function h(e,n){var o=e.sol()&&e.peek()=="\\";return e.skipToEnd(),o&&/^\\\s*$/.test(e.current())&&(n.tokenize=u),"comment"}function y(e){return e.skipToEnd(),"comment"}function b(e,n){for(var o=!1,t,r=!1;t=e.next();){if(t=='"'&&!o){r=!0;break}o=!o&&t=="\\"}return r&&(n.tokenize=u),"string"}function p(e,n,o){e.context={prev:e.context,indent:e.indent,col:o,type:n}}function x(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:u,context:null,indent:0,col:0}},token:function(e,n){e.sol()&&(n.context&&n.context.align==null&&(n.context.align=!1),n.indent=e.indentation());var o=n.tokenize(e,n);if(o!="comment"&&n.context&&n.context.align==null&&n.context.type!="pattern"&&(n.context.align=!0),l=="(")p(n,")",e.column());else if(l=="[")p(n,"]",e.column());else if(l=="{")p(n,"}",e.column());else if(/[\]\}\)]/.test(l)){for(;n.context&&n.context.type=="pattern";)x(n);n.context&&l==n.context.type&&x(n)}else l=="."&&n.context&&n.context.type=="pattern"?x(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?p(n,"pattern",e.column()):n.context.type=="pattern"&&!n.context.align&&(n.context.align=!0,n.context.col=e.column()));return o},indent:function(e,n){var o=n&&n.charAt(0),t=e.context;if(/[\]\}]/.test(o))for(;t&&t.type=="pattern";)t=t.prev;var r=t&&o==t.type;return t?t.type=="pattern"?t.col:t.align?t.col+(r?0:1):t.indent+(r?0:d):0}}}),i.defineMIME("text/x-q","q")})})();var z=v.exports,q=j({__proto__:null,default:z},[v.exports]);export{q};
@@ -1,4 +1,4 @@
1
- import{w as a,y as o,z as d,A as s,E as e,C as c,W as l}from"./vendor.e0a21029.js";const h={class:"markdown-body"},u=e("div",{class:"two-up"},[e("div",{class:"left"},[e("blockquote",null,[e("p",null,"Most Directus API Endpoint operations can be manipulated with the following parameters. It is important to understand them to get the most out of the platform.")])]),e("div",{class:"right"},[e("p"),e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#fields"},"Fields")]),e("li",null,[e("a",{href:"#filter"},"Filter")]),e("li",null,[e("a",{href:"#search"},"Search")]),e("li",null,[e("a",{href:"#sort"},"Sort")]),e("li",null,[e("a",{href:"#limit"},"Limit")]),e("li",null,[e("a",{href:"#offset"},"Offset"),l(" / "),e("a",{href:"#page"},"Page")]),e("li",null,[e("a",{href:"#aggregation-grouping"},"Aggregation & Grouping")]),e("li",null,[e("a",{href:"#deep"},"Deep")]),e("li",null,[e("a",{href:"#aliases"},"Aliases")]),e("li",null,[e("a",{href:"#export"},"Export")])]),e("p"),l(" - [Functions](#functions) "),e("p"),l(" - [Metadata](#metadata) - [Total Count](#total-count) - [Filter Count](#filter-count) ")])])],-1),p=e("hr",null,null,-1),f=e("h2",{id:"fields"},[l("Fields "),e("a",{class:"header-anchor",href:"#fields"},"#")],-1),g=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"Choose the fields that are returned in the current dataset. This parameter supports dot notation to request nested relational fields. You can also use a wildcard (*) to include all fields at a specific depth.")])],-1),m=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"examples"},[l("Examples "),e("a",{class:"header-anchor",href:"#examples"},"#")]),e("p",null,[l("Get all top-level fields"),e("br"),e("code",null,"*")]),e("p",null,[l("Get all top-level fields and all second-level relational fields"),e("br"),e("code",null,"*.*")]),e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Performance & Size"),e("p",null,[l("While the fields wildcard is very useful for debugging purposes, we recommend only requesting "),e("em",null,"specific"),l(" fields for production use. By only requesting the fields you really need, you can speed up the request, and reduce the overall output size.")])]),e("p",null,[l("Get all top-level fields and second-level relational fields within images"),e("br"),e("code",null,"*,images.*")]),e("p",null,[l("Get only the first_name and last_name fields"),e("br"),e("code",null,"first_name,last_name")]),e("p",null,[l("Get all top-level and second-level relational fields, and third-level fields within images.thumbnails"),e("br"),e("code",null,"*.*,images.thumbnails.*")]),e("h3",{id:"many-to-any-(union-types)"},[l("Many-To-Any (Union Types) "),e("a",{class:"header-anchor",href:"#many-to-any-(union-types)"},"#")]),e("p",null,[l("Seeing that Many-to-Any (m2a) fields have nested data from multiple collections, it\u2019s not always safe / wanted to fetch the same field from every related collection. In m2a fields, you can use the following syntax to specify what fields to fetch from which related nested collection type:"),e("br"),e("code",null,"?fields=<m2a-field>:<collection-scope>.<field>"),l(".")]),e("p",null,[l("Lets say we have a collection "),e("code",null,"pages"),l(" with a many-to-any field called "),e("code",null,"sections"),l(" that points to "),e("code",null,"headings"),l(", "),e("code",null,"paragraphs"),l(", and "),e("code",null,"videos"),l(". We only want to fetch "),e("code",null,"title"),l(" and "),e("code",null,"level"),l(" from "),e("code",null,"headings"),l(", "),e("code",null,"body"),l(" from "),e("code",null,"paragraphs"),l(" and "),e("code",null,"source"),l(" from "),e("code",null,"videos"),l(". We can achieve that by using:")]),e("pre",null,[e("code",null,`sections.item:headings.title
1
+ import{w as a,y as o,z as d,A as s,E as e,C as c,W as l}from"./vendor.3b903562.js";const h={class:"markdown-body"},u=e("div",{class:"two-up"},[e("div",{class:"left"},[e("blockquote",null,[e("p",null,"Most Directus API Endpoint operations can be manipulated with the following parameters. It is important to understand them to get the most out of the platform.")])]),e("div",{class:"right"},[e("p"),e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#fields"},"Fields")]),e("li",null,[e("a",{href:"#filter"},"Filter")]),e("li",null,[e("a",{href:"#search"},"Search")]),e("li",null,[e("a",{href:"#sort"},"Sort")]),e("li",null,[e("a",{href:"#limit"},"Limit")]),e("li",null,[e("a",{href:"#offset"},"Offset"),l(" / "),e("a",{href:"#page"},"Page")]),e("li",null,[e("a",{href:"#aggregation-grouping"},"Aggregation & Grouping")]),e("li",null,[e("a",{href:"#deep"},"Deep")]),e("li",null,[e("a",{href:"#aliases"},"Aliases")]),e("li",null,[e("a",{href:"#export"},"Export")])]),e("p"),l(" - [Functions](#functions) "),e("p"),l(" - [Metadata](#metadata) - [Total Count](#total-count) - [Filter Count](#filter-count) ")])])],-1),p=e("hr",null,null,-1),f=e("h2",{id:"fields"},[l("Fields "),e("a",{class:"header-anchor",href:"#fields"},"#")],-1),g=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"Choose the fields that are returned in the current dataset. This parameter supports dot notation to request nested relational fields. You can also use a wildcard (*) to include all fields at a specific depth.")])],-1),m=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"examples"},[l("Examples "),e("a",{class:"header-anchor",href:"#examples"},"#")]),e("p",null,[l("Get all top-level fields"),e("br"),e("code",null,"*")]),e("p",null,[l("Get all top-level fields and all second-level relational fields"),e("br"),e("code",null,"*.*")]),e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Performance & Size"),e("p",null,[l("While the fields wildcard is very useful for debugging purposes, we recommend only requesting "),e("em",null,"specific"),l(" fields for production use. By only requesting the fields you really need, you can speed up the request, and reduce the overall output size.")])]),e("p",null,[l("Get all top-level fields and second-level relational fields within images"),e("br"),e("code",null,"*,images.*")]),e("p",null,[l("Get only the first_name and last_name fields"),e("br"),e("code",null,"first_name,last_name")]),e("p",null,[l("Get all top-level and second-level relational fields, and third-level fields within images.thumbnails"),e("br"),e("code",null,"*.*,images.thumbnails.*")]),e("h3",{id:"many-to-any-(union-types)"},[l("Many-To-Any (Union Types) "),e("a",{class:"header-anchor",href:"#many-to-any-(union-types)"},"#")]),e("p",null,[l("Seeing that Many-to-Any (m2a) fields have nested data from multiple collections, it\u2019s not always safe / wanted to fetch the same field from every related collection. In m2a fields, you can use the following syntax to specify what fields to fetch from which related nested collection type:"),e("br"),e("code",null,"?fields=<m2a-field>:<collection-scope>.<field>"),l(".")]),e("p",null,[l("Lets say we have a collection "),e("code",null,"pages"),l(" with a many-to-any field called "),e("code",null,"sections"),l(" that points to "),e("code",null,"headings"),l(", "),e("code",null,"paragraphs"),l(", and "),e("code",null,"videos"),l(". We only want to fetch "),e("code",null,"title"),l(" and "),e("code",null,"level"),l(" from "),e("code",null,"headings"),l(", "),e("code",null,"body"),l(" from "),e("code",null,"paragraphs"),l(" and "),e("code",null,"source"),l(" from "),e("code",null,"videos"),l(". We can achieve that by using:")]),e("pre",null,[e("code",null,`sections.item:headings.title
2
2
  sections.item:headings.level
3
3
  sections.item:paragraphs.body
4
4
  sections.item:videos.source
@@ -58,13 +58,13 @@ sections.item:videos.source
58
58
  id
59
59
  }
60
60
  }
61
- `)])])])],-1),I=e("hr",null,null,-1),P=e("h2",{id:"limit"},[l("Limit "),e("a",{class:"header-anchor",href:"#limit"},"#")],-1),D=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[l("Set the maximum number of items that will be returned. The default limit is set to "),e("code",null,"100"),l(".")])])],-1),F=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"examples-4"},[l("Examples "),e("a",{class:"header-anchor",href:"#examples-4"},"#")]),e("p",null,[l("Get the first 200 items"),e("br"),e("code",null,"200")]),e("p",null,[l("Get all items"),e("br"),e("code",null,"-1")]),e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"All Items"),e("p",null,"Depending on the size of your collection, fetching unlimited data may result in degraded performance or timeouts, use with caution.")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-5"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-5"},"#")]),e("pre",null,[e("code",null,`?limit=200
61
+ `)])])])],-1),I=e("hr",null,null,-1),P=e("h2",{id:"limit"},[l("Limit "),e("a",{class:"header-anchor",href:"#limit"},"#")],-1),Q=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[l("Set the maximum number of items that will be returned. The default limit is set to "),e("code",null,"100"),l(".")])])],-1),D=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"examples-4"},[l("Examples "),e("a",{class:"header-anchor",href:"#examples-4"},"#")]),e("p",null,[l("Get the first 200 items"),e("br"),e("code",null,"200")]),e("p",null,[l("Get all items"),e("br"),e("code",null,"-1")]),e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"All Items"),e("p",null,"Depending on the size of your collection, fetching unlimited data may result in degraded performance or timeouts, use with caution.")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-5"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-5"},"#")]),e("pre",null,[e("code",null,`?limit=200
62
62
  `)]),e("h3",{id:"graphql-5"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-5"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),l(` {
63
63
  articles(limit: `),e("span",{class:"hljs-number"},"200"),l(`) {
64
64
  id
65
65
  }
66
66
  }
67
- `)])])])],-1),Q=e("hr",null,null,-1),N=e("h2",{id:"offset"},[l("Offset "),e("a",{class:"header-anchor",href:"#offset"},"#")],-1),C=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[l("Skip the first "),e("code",null,"n"),l(" items in the response. Can be used for pagination.")])])],-1),B=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"examples-5"},[l("Examples "),e("a",{class:"header-anchor",href:"#examples-5"},"#")]),e("p",null,[l("Get items 101\u2014200"),e("br"),e("code",null,"100")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-6"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),e("pre",null,[e("code",null,`?offset=100
67
+ `)])])])],-1),F=e("hr",null,null,-1),N=e("h2",{id:"offset"},[l("Offset "),e("a",{class:"header-anchor",href:"#offset"},"#")],-1),C=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[l("Skip the first "),e("code",null,"n"),l(" items in the response. Can be used for pagination.")])])],-1),B=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"examples-5"},[l("Examples "),e("a",{class:"header-anchor",href:"#examples-5"},"#")]),e("p",null,[l("Get items 101\u2014200"),e("br"),e("code",null,"100")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-6"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),e("pre",null,[e("code",null,`?offset=100
68
68
  `)]),e("h3",{id:"graphql-6"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-6"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),l(` {
69
69
  articles(offset: `),e("span",{class:"hljs-number"},"100"),l(`) {
70
70
  id
@@ -76,7 +76,7 @@ sections.item:videos.source
76
76
  id
77
77
  }
78
78
  }
79
- `)])])])],-1),U=e("hr",null,null,-1),V=e("h2",{id:"aggregation-%26-grouping"},[l("Aggregation & Grouping "),e("a",{class:"header-anchor",href:"#aggregation-%26-grouping"},"#")],-1),J=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"Aggregate functions allow you to perform calculations on a set of values, returning a single result.")])],-1),Y=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"The following aggregation functions are available in Directus:"),e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Description")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("code",null,"count")]),e("td",null,"Counts how many items there are")]),e("tr",null,[e("td",null,[e("code",null,"countDistinct")]),e("td",null,"Counts how many unique items there are")]),e("tr",null,[e("td",null,[e("code",null,"sum")]),e("td",null,"Adds together the values in the given field")]),e("tr",null,[e("td",null,[e("code",null,"sumDistinct")]),e("td",null,"Adds together the unique values in the given field")]),e("tr",null,[e("td",null,[e("code",null,"avg")]),e("td",null,"Get the average value of the given field")]),e("tr",null,[e("td",null,[e("code",null,"avgDistinct")]),e("td",null,"Get the average value of the unique values in the given field")]),e("tr",null,[e("td",null,[e("code",null,"min")]),e("td",null,"Return the lowest value in the field")]),e("tr",null,[e("td",null,[e("code",null,"max")]),e("td",null,"Return the highest value in the field")])])]),e("h3",{id:"grouping"},[l("Grouping "),e("a",{class:"header-anchor",href:"#grouping"},"#")]),e("p",null,[l("By default, the above aggregation functions run on the whole dataset. To allow for more flexible reporting, you can combine the above aggregation with grouping. Grouping allows for running the aggregation functions based on a shared value. This allows for things like "),e("em",null,"\u201CAverage rating per month\u201D"),l(" or "),e("em",null,"\u201CTotal sales of items in the jeans category\u201D"),l(".")]),e("p",null,[l("The "),e("code",null,"groupBy"),l(" query allows for grouping on multiple fields simultaneously. Combined with the "),e("a",{href:"#functions"},"Functions"),l(", this allows for aggregate reporting per year-month-date.")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-8"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-8"},"#")]),e("pre",null,[e("code",null,`?aggregate[avg]=cost
79
+ `)])])])],-1),U=e("hr",null,null,-1),V=e("h2",{id:"aggregation-%26-grouping"},[l("Aggregation & Grouping "),e("a",{class:"header-anchor",href:"#aggregation-%26-grouping"},"#")],-1),J=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"Aggregate functions allow you to perform calculations on a set of values, returning a single result.")])],-1),Y=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"The following aggregation functions are available in Directus:"),e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Description")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("code",null,"count")]),e("td",null,"Counts how many items there are")]),e("tr",null,[e("td",null,[e("code",null,"countDistinct")]),e("td",null,"Counts how many unique items there are")]),e("tr",null,[e("td",null,[e("code",null,"sum")]),e("td",null,"Adds together the values in the given field")]),e("tr",null,[e("td",null,[e("code",null,"sumDistinct")]),e("td",null,"Adds together the unique values in the given field")]),e("tr",null,[e("td",null,[e("code",null,"avg")]),e("td",null,"Get the average value of the given field")]),e("tr",null,[e("td",null,[e("code",null,"avgDistinct")]),e("td",null,"Get the average value of the unique values in the given field")]),e("tr",null,[e("td",null,[e("code",null,"min")]),e("td",null,"Return the lowest value in the field")]),e("tr",null,[e("td",null,[e("code",null,"max")]),e("td",null,"Return the highest value in the field")]),e("tr",null,[e("td",null,[e("code",null,"countAll")]),e("td",null,[l("Equivalent to "),e("code",null,"?aggregate[count]=*"),l(" (GraphQL only)")])])])]),e("h3",{id:"grouping"},[l("Grouping "),e("a",{class:"header-anchor",href:"#grouping"},"#")]),e("p",null,[l("By default, the above aggregation functions run on the whole dataset. To allow for more flexible reporting, you can combine the above aggregation with grouping. Grouping allows for running the aggregation functions based on a shared value. This allows for things like "),e("em",null,"\u201CAverage rating per month\u201D"),l(" or "),e("em",null,"\u201CTotal sales of items in the jeans category\u201D"),l(".")]),e("p",null,[l("The "),e("code",null,"groupBy"),l(" query allows for grouping on multiple fields simultaneously. Combined with the "),e("a",{href:"#functions"},"Functions"),l(", this allows for aggregate reporting per year-month-date.")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-8"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-8"},"#")]),e("pre",null,[e("code",null,`?aggregate[avg]=cost
80
80
  &groupBy[]=author
81
81
  &groupBy[]=year(publish_date)
82
82
  `)]),e("h3",{id:"graphql-8"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-8"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),l(` {
@@ -130,10 +130,10 @@ sections.item:videos.source
130
130
  }
131
131
  }
132
132
  }
133
- `)])])])],-1),ae=e("hr",null,null,-1),se=e("h2",{id:"export"},[l("Export "),e("a",{class:"header-anchor",href:"#export"},"#")],-1),ne=e("p",null,"Save the current API response to a file.",-1),ie=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[l("Saves the API response to a file. Accepts one of "),e("code",null,"json"),l(", "),e("code",null,"csv"),l(", "),e("code",null,"xml"),l(".")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-11"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-11"},"#")]),e("pre",null,[e("code",null,`?export=json
133
+ `)])])])],-1),ae=e("hr",null,null,-1),se=e("h2",{id:"export"},[l("Export "),e("a",{class:"header-anchor",href:"#export"},"#")],-1),ne=e("p",null,"Save the current API response to a file.",-1),re=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[l("Saves the API response to a file. Accepts one of "),e("code",null,"json"),l(", "),e("code",null,"csv"),l(", "),e("code",null,"xml"),l(".")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-11"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-11"},"#")]),e("pre",null,[e("code",null,`?export=json
134
134
  ?export=csv
135
135
  ?export=xml
136
- `)]),e("h3",{id:"graphql-11"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-11"},"#")]),e("p",null,"n/a")])],-1),re=e("hr",null,null,-1),oe=e("h2",{id:"functions"},[l("Functions "),e("a",{class:"header-anchor",href:"#functions"},"#")],-1),de=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"Functions allow for \u201Clive\u201D modification of values stored in a field. Functions can be used in any query parameter you\u2019d normally supply a field key, including fields, aggregation, and filter.")])],-1),ce=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"Functions can be used by wrapping the field key in a JavaScript like syntax, for example:"),e("p",null,[e("code",null,"timestamp"),l(" -> "),e("code",null,"year(timestamp)")]),e("h3",{id:"datetime-functions"},[l("DateTime Functions "),e("a",{class:"header-anchor",href:"#datetime-functions"},"#")]),e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"Filter"),e("th",null,"Description")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("code",null,"year")]),e("td",null,"Extract the year from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"month")]),e("td",null,"Extract the month from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"week")]),e("td",null,"Extract the week from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"day")]),e("td",null,"Extract the day from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"weekday")]),e("td",null,"Extract the weekday from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"hour")]),e("td",null,"Extract the hour from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"minute")]),e("td",null,"Extract the minute from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"second")]),e("td",null,"Extract the second from a datetime/date/timestamp field")])])]),e("h3",{id:"array-functions"},[l("Array Functions "),e("a",{class:"header-anchor",href:"#array-functions"},"#")]),e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"Filter"),e("th",null,"Description")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("code",null,"count")]),e("td",null,"Extract the number of items from a JSON array or relational field")])])]),e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"GraphQL"),e("p",null,[l("Names aren\u2019t allowed to include any special characters in GraphQL, preventing the "),e("code",null,"()"),l(" syntax from being used.")]),e("p",null,[l("As an alternative, the above functions can be used by appending "),e("code",null,"_func"),l(" at the end of the field name, and using the function name as the nested field (see the example that follows).")])])]),e("div",{class:"right"},[e("h3",{id:"rest-api-12"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-12"},"#")]),e("pre",null,[e("code",null,`?fields=id,title,weekday(date_published)
136
+ `)]),e("h3",{id:"graphql-11"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-11"},"#")]),e("p",null,"n/a")])],-1),ie=e("hr",null,null,-1),oe=e("h2",{id:"functions"},[l("Functions "),e("a",{class:"header-anchor",href:"#functions"},"#")],-1),de=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"Functions allow for \u201Clive\u201D modification of values stored in a field. Functions can be used in any query parameter you\u2019d normally supply a field key, including fields, aggregation, and filter.")])],-1),ce=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,"Functions can be used by wrapping the field key in a JavaScript like syntax, for example:"),e("p",null,[e("code",null,"timestamp"),l(" -> "),e("code",null,"year(timestamp)")]),e("h3",{id:"datetime-functions"},[l("DateTime Functions "),e("a",{class:"header-anchor",href:"#datetime-functions"},"#")]),e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"Filter"),e("th",null,"Description")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("code",null,"year")]),e("td",null,"Extract the year from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"month")]),e("td",null,"Extract the month from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"week")]),e("td",null,"Extract the week from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"day")]),e("td",null,"Extract the day from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"weekday")]),e("td",null,"Extract the weekday from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"hour")]),e("td",null,"Extract the hour from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"minute")]),e("td",null,"Extract the minute from a datetime/date/timestamp field")]),e("tr",null,[e("td",null,[e("code",null,"second")]),e("td",null,"Extract the second from a datetime/date/timestamp field")])])]),e("h3",{id:"array-functions"},[l("Array Functions "),e("a",{class:"header-anchor",href:"#array-functions"},"#")]),e("table",null,[e("thead",null,[e("tr",null,[e("th",null,"Filter"),e("th",null,"Description")])]),e("tbody",null,[e("tr",null,[e("td",null,[e("code",null,"count")]),e("td",null,"Extract the number of items from a JSON array or relational field")])])]),e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"GraphQL"),e("p",null,[l("Names aren\u2019t allowed to include any special characters in GraphQL, preventing the "),e("code",null,"()"),l(" syntax from being used.")]),e("p",null,[l("As an alternative, the above functions can be used by appending "),e("code",null,"_func"),l(" at the end of the field name, and using the function name as the nested field (see the example that follows).")])])]),e("div",{class:"right"},[e("h3",{id:"rest-api-12"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-12"},"#")]),e("pre",null,[e("code",null,`?fields=id,title,weekday(date_published)
137
137
  &filter[year(date_published)][_eq]=2021
138
138
  `)]),e("h3",{id:"graphql-12"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-12"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),l(` {
139
139
  articles(filter: { date_published_func: { year: { _eq: `),e("span",{class:"hljs-number"},"2021"),l(` } } }) {
@@ -149,4 +149,4 @@ sections.item:videos.source
149
149
  ?meta=filter_count
150
150
 
151
151
  ?meta=*
152
- `)]),e("h3",{id:"graphql-13"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-13"},"#")]),e("p",null,"n/a")])],-1),ye={setup(ge,{expose:n}){const t={title:"Global Query Parameters",modularExtension:!1,pageClass:"page-reference"};return n({frontmatter:t}),(me,_e)=>{const i=a("router-link"),r=a("DocsWrapper");return o(),d(r,{frontmatter:t},{default:s(()=>[e("div",h,[u,p,f,g,m,_,v,e("div",y,[e("div",w,[e("p",null,[b,c(i,{to:"/docs/configuration/filter-rules"},{default:s(()=>[q]),_:1}),j])])]),x,k,G,A,E,S,T,R,L,I,P,D,F,Q,N,C,B,M,W,z,O,U,V,J,Y,H,K,X,Z,$,ee,le,te,ae,se,ne,ie,re,oe,de,ce,he,ue,pe,fe])]),_:1})}}};export{ye as default};
152
+ `)]),e("h3",{id:"graphql-13"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-13"},"#")]),e("p",null,"n/a")])],-1),ye={setup(ge,{expose:n}){const t={title:"Global Query Parameters",modularExtension:!1,pageClass:"page-reference"};return n({frontmatter:t}),(me,_e)=>{const r=a("router-link"),i=a("DocsWrapper");return o(),d(i,{frontmatter:t},{default:s(()=>[e("div",h,[u,p,f,g,m,_,v,e("div",y,[e("div",w,[e("p",null,[b,c(r,{to:"/docs/configuration/filter-rules"},{default:s(()=>[q]),_:1}),j])])]),x,k,G,A,E,S,T,R,L,I,P,Q,D,F,N,C,B,M,W,z,O,U,V,J,Y,H,K,X,Z,$,ee,le,te,ae,se,ne,re,ie,oe,de,ce,he,ue,pe,fe])]),_:1})}}};export{ye as default};
@@ -1,4 +1,4 @@
1
- import{w as i,y as c,z as d,A as o,E as t,C as n,W as e}from"./vendor.e0a21029.js";const h={class:"markdown-body"},u=t("blockquote",null,[t("p",null,"If you\u2019re looking for the fastest way to get up-and-running with Directus, this guide will walk you through getting things installed, configured, and modeled.")],-1),p=t("h2",{id:"1.-installation"},[e("1. Installation "),t("a",{class:"header-anchor",href:"#1.-installation"},"#")],-1),_=t("p",null,[e("Make sure you have the latest LTS version or newer of "),t("a",{href:"https://nodejs.dev",target:"_blank",rel:"noopener noreferrer"},"Node.js"),e(" installed, and have a running database ready to connect to.")],-1),m=t("p",null,"Run the following command in your terminal and follow the prompts.",-1),g=t("pre",null,[t("code",{class:"language-bash"},`npm init directus-project example-project
1
+ import{w as i,y as c,z as d,A as o,E as t,C as n,W as e}from"./vendor.3b903562.js";const h={class:"markdown-body"},u=t("blockquote",null,[t("p",null,"If you\u2019re looking for the fastest way to get up-and-running with Directus, this guide will walk you through getting things installed, configured, and modeled.")],-1),p=t("h2",{id:"1.-installation"},[e("1. Installation "),t("a",{class:"header-anchor",href:"#1.-installation"},"#")],-1),_=t("p",null,[e("Make sure you have the latest LTS version or newer of "),t("a",{href:"https://nodejs.dev",target:"_blank",rel:"noopener noreferrer"},"Node.js"),e(" installed, and have a running database ready to connect to.")],-1),m=t("p",null,"Run the following command in your terminal and follow the prompts.",-1),g=t("pre",null,[t("code",{class:"language-bash"},`npm init directus-project example-project
2
2
  `)],-1),f=t("p",null,"Choose SQLite from the list. Use up/down arrow keys to select the SQL type.",-1),b=t("pre",null,[t("code",{class:"language-bash"},`? Choose your database client SQLite
3
3
  `)],-1),y=t("p",null,[e("After that a file path for "),t("code",null,"data.db"),e(", your database, will be suggested. Hit the enter key to stick with the default path.")],-1),w=t("pre",null,[t("code",{class:"language-bash"},`? Database File Path: <file-path>/example-project/data.db
4
4
  `)],-1),v=t("p",null,"Next you\u2019ll set your username/email and password.",-1),k=t("pre",null,[t("code",{class:"language-bash"},`Create your first admin user:
@@ -1 +1 @@
1
- import{bV as S}from"./vendor.e0a21029.js";function O(c,b){return b.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(l){if(l!=="default"&&!(l in c)){var f=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(c,l,f.get?f:{enumerable:!0,get:function(){return t[l]}})}})}),Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(c,b){(function(t){t(S.exports)})(function(t){t.registerHelper("wordChars","r",/[\w.]/),t.defineMode("r",function(l){function f(e){for(var n={},r=0;r<e.length;++r)n[e[r]]=!0;return n}var x=["NULL","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","TRUE","FALSE"],y=["list","quote","bquote","eval","return","call","parse","deparse"],g=["if","else","repeat","while","function","for","in","next","break"],A=["if","else","repeat","while","function","for"];t.registerHelper("hintWords","r",x.concat(y,g));var E=f(x),w=f(y),N=f(g),I=f(A),k=/[+\-*\/^<>=!&|~$:]/,o;function p(e,n){o=null;var r=e.next();if(r=="#")return e.skipToEnd(),"comment";if(r=="0"&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if(r=="."&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(r))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if(r=="'"||r=='"')return n.tokenize=L(r),"string";if(r=="`")return e.match(/[^`]+`/),"variable-3";if(r=="."&&e.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(r)){e.eatWhile(/[\w\.]/);var i=e.current();return E.propertyIsEnumerable(i)?"atom":N.propertyIsEnumerable(i)?(I.propertyIsEnumerable(i)&&!e.match(/\s*if(\s+|$)/,!1)&&(o="block"),"keyword"):w.propertyIsEnumerable(i)?"builtin":"variable"}else return r=="%"?(e.skipTo("%")&&e.next(),"operator variable-2"):r=="<"&&e.eat("-")||r=="<"&&e.match("<-")||r=="-"&&e.match(/>>?/)?"operator arrow":r=="="&&n.ctx.argList?"arg-is":k.test(r)?r=="$"?"operator dollar":(e.eatWhile(k),"operator"):/[\(\){}\[\];]/.test(r)?(o=r,r==";"?"semi":null):null}function L(e){return function(n,r){if(n.eat("\\")){var i=n.next();return i=="x"?n.match(/^[a-f0-9]{2}/i):(i=="u"||i=="U")&&n.eat("{")&&n.skipTo("}")?n.next():i=="u"?n.match(/^[a-f0-9]{4}/i):i=="U"?n.match(/^[a-f0-9]{8}/i):/[0-7]/.test(i)&&n.match(/^[0-7]{1,2}/),"string-2"}else{for(var u;(u=n.next())!=null;){if(u==e){r.tokenize=p;break}if(u=="\\"){n.backUp(1);break}}return"string"}}}var h=1,d=2,s=4;function a(e,n,r){e.ctx={type:n,indent:e.indent,flags:0,column:r.column(),prev:e.ctx}}function m(e,n){var r=e.ctx;e.ctx={type:r.type,indent:r.indent,flags:r.flags|n,column:r.column,prev:r.prev}}function v(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}return{startState:function(){return{tokenize:p,ctx:{type:"top",indent:-l.indentUnit,flags:d},indent:0,afterIdent:!1}},token:function(e,n){if(e.sol()&&((n.ctx.flags&3)==0&&(n.ctx.flags|=d),n.ctx.flags&s&&v(n),n.indent=e.indentation()),e.eatSpace())return null;var r=n.tokenize(e,n);return r!="comment"&&(n.ctx.flags&d)==0&&m(n,h),(o==";"||o=="{"||o=="}")&&n.ctx.type=="block"&&v(n),o=="{"?a(n,"}",e):o=="("?(a(n,")",e),n.afterIdent&&(n.ctx.argList=!0)):o=="["?a(n,"]",e):o=="block"?a(n,"block",e):o==n.ctx.type?v(n):n.ctx.type=="block"&&r!="comment"&&m(n,s),n.afterIdent=r=="variable"||r=="keyword",r},indent:function(e,n){if(e.tokenize!=p)return 0;var r=n&&n.charAt(0),i=e.ctx,u=r==i.type;return i.flags&s&&(i=i.prev),i.type=="block"?i.indent+(r=="{"?0:l.indentUnit):i.flags&h?i.column+(u?0:1):i.indent+(u?0:l.indentUnit)},lineComment:"#"}}),t.defineMIME("text/x-rsrc","r")})})();var U=_.exports,z=O({__proto__:null,default:U},[_.exports]);export{z as r};
1
+ import{bV as S}from"./vendor.3b903562.js";function O(c,b){return b.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(l){if(l!=="default"&&!(l in c)){var f=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(c,l,f.get?f:{enumerable:!0,get:function(){return t[l]}})}})}),Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(c,b){(function(t){t(S.exports)})(function(t){t.registerHelper("wordChars","r",/[\w.]/),t.defineMode("r",function(l){function f(e){for(var n={},r=0;r<e.length;++r)n[e[r]]=!0;return n}var x=["NULL","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","TRUE","FALSE"],y=["list","quote","bquote","eval","return","call","parse","deparse"],g=["if","else","repeat","while","function","for","in","next","break"],A=["if","else","repeat","while","function","for"];t.registerHelper("hintWords","r",x.concat(y,g));var E=f(x),w=f(y),N=f(g),I=f(A),k=/[+\-*\/^<>=!&|~$:]/,o;function p(e,n){o=null;var r=e.next();if(r=="#")return e.skipToEnd(),"comment";if(r=="0"&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if(r=="."&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(r))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if(r=="'"||r=='"')return n.tokenize=L(r),"string";if(r=="`")return e.match(/[^`]+`/),"variable-3";if(r=="."&&e.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(r)){e.eatWhile(/[\w\.]/);var i=e.current();return E.propertyIsEnumerable(i)?"atom":N.propertyIsEnumerable(i)?(I.propertyIsEnumerable(i)&&!e.match(/\s*if(\s+|$)/,!1)&&(o="block"),"keyword"):w.propertyIsEnumerable(i)?"builtin":"variable"}else return r=="%"?(e.skipTo("%")&&e.next(),"operator variable-2"):r=="<"&&e.eat("-")||r=="<"&&e.match("<-")||r=="-"&&e.match(/>>?/)?"operator arrow":r=="="&&n.ctx.argList?"arg-is":k.test(r)?r=="$"?"operator dollar":(e.eatWhile(k),"operator"):/[\(\){}\[\];]/.test(r)?(o=r,r==";"?"semi":null):null}function L(e){return function(n,r){if(n.eat("\\")){var i=n.next();return i=="x"?n.match(/^[a-f0-9]{2}/i):(i=="u"||i=="U")&&n.eat("{")&&n.skipTo("}")?n.next():i=="u"?n.match(/^[a-f0-9]{4}/i):i=="U"?n.match(/^[a-f0-9]{8}/i):/[0-7]/.test(i)&&n.match(/^[0-7]{1,2}/),"string-2"}else{for(var u;(u=n.next())!=null;){if(u==e){r.tokenize=p;break}if(u=="\\"){n.backUp(1);break}}return"string"}}}var h=1,d=2,s=4;function a(e,n,r){e.ctx={type:n,indent:e.indent,flags:0,column:r.column(),prev:e.ctx}}function m(e,n){var r=e.ctx;e.ctx={type:r.type,indent:r.indent,flags:r.flags|n,column:r.column,prev:r.prev}}function v(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}return{startState:function(){return{tokenize:p,ctx:{type:"top",indent:-l.indentUnit,flags:d},indent:0,afterIdent:!1}},token:function(e,n){if(e.sol()&&((n.ctx.flags&3)==0&&(n.ctx.flags|=d),n.ctx.flags&s&&v(n),n.indent=e.indentation()),e.eatSpace())return null;var r=n.tokenize(e,n);return r!="comment"&&(n.ctx.flags&d)==0&&m(n,h),(o==";"||o=="{"||o=="}")&&n.ctx.type=="block"&&v(n),o=="{"?a(n,"}",e):o=="("?(a(n,")",e),n.afterIdent&&(n.ctx.argList=!0)):o=="["?a(n,"]",e):o=="block"?a(n,"block",e):o==n.ctx.type?v(n):n.ctx.type=="block"&&r!="comment"&&m(n,s),n.afterIdent=r=="variable"||r=="keyword",r},indent:function(e,n){if(e.tokenize!=p)return 0;var r=n&&n.charAt(0),i=e.ctx,u=r==i.type;return i.flags&s&&(i=i.prev),i.type=="block"?i.indent+(r=="{"?0:l.indentUnit):i.flags&h?i.column+(u?0:1):i.indent+(u?0:l.indentUnit)},lineComment:"#"}}),t.defineMIME("text/x-rsrc","r")})})();var U=_.exports,z=O({__proto__:null,default:U},[_.exports]);export{z as r};
@@ -1,4 +1,4 @@
1
- import{w as s,y as i,z as c,A as t,E as e,C as h,W as l}from"./vendor.e0a21029.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},_=l("What data is linked to what other data. Allows you to assign authors to articles, products to sales, and whatever other structures you can think of. "),g=l("Learn more about Relationships"),f=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-relation-object"},"The Relation Object")]),e("li",null,[e("a",{href:"#list-relations"},"List relations")]),e("li",null,[e("a",{href:"#list-relations-in-collection"},"List relations in collection")]),e("li",null,[e("a",{href:"#retrieve-a-relation"},"Retrieve a relation")]),e("li",null,[e("a",{href:"#create-a-relation"},"Create a Relation")]),e("li",null,[e("a",{href:"#update-a-relation"},"Update a Relation")]),e("li",null,[e("a",{href:"#delete-a-relation"},"Delete a Relation")])])])])],-1),y=e("hr",null,null,-1),j=e("h2",{id:"the-relation-object"},[l("The Relation Object "),e("a",{class:"header-anchor",href:"#the-relation-object"},"#")],-1),b=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"definitions"},[e("p",null,[e("code",null,"collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the collection. This matches the table name in the database.")]),e("p",null,[e("code",null,"field"),l(),e("strong",null,"string"),e("br"),l(" Name of the field that holds the related primary key. This matches the column name in the database.")]),e("p",null,[e("code",null,"related_collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the related collection. This matches the table name in the database.")])]),e("h4",{id:"meta"},[l("Meta "),e("a",{class:"header-anchor",href:"#meta"},"#")]),e("p",null,"Directus metadata. Used to enable non-database relationship types"),e("div",{class:"definitions"},[e("p",null,[e("code",null,"id"),l(),e("strong",null,"integer"),e("br"),l(" Primary key of the metadata row in "),e("code",null,"directus_relations"),l(".")]),e("p",null,[e("code",null,"many_collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the collection. Matches the top level "),e("code",null,"collection"),l(" field.")]),e("p",null,[e("code",null,"many_field"),l(),e("strong",null,"string"),e("br"),l(" Name of the field. Matches the top level "),e("code",null,"field"),l(" field.")]),e("p",null,[e("code",null,"one_collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the related collection. Matches the top level "),e("code",null,"related_collection"),l(" field.")]),e("p",null,[e("code",null,"one_field"),l(),e("strong",null,"string"),e("br"),l(" Name of the one to many field on the other side of the relation.")]),e("p",null,[e("code",null,"one_allowed_collections"),l(),e("strong",null,"string"),e("br"),l(" What collections are allowed to be used in a many-to-any context.")]),e("p",null,[e("code",null,"one_collection_field"),l(),e("strong",null,"string"),e("br"),l(" Field that holds the collection name in a many-to-any context.")]),e("p",null,[e("code",null,"one_deselect_action"),l(),e("strong",null,"nullify | delete"),e("br"),l(" Whether to nullify or delete related one-to-many records.")]),e("p",null,[e("code",null,"sort_field"),l(),e("strong",null,"string"),e("br"),l(" What field is used to hold the sort field.")]),e("p",null,[e("code",null,"junction_field"),l(),e("strong",null,"string"),e("br"),l(" What field connects two relations in a many-to-many (o2m-m2o) context.")])]),e("h4",{id:"schema"},[l("Schema "),e("a",{class:"header-anchor",href:"#schema"},"#")]),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."),e("div",{class:"definitions"},[e("p",null,[e("code",null,"table"),l(),e("strong",null,"string"),e("br"),l(" The table name.")]),e("p",null,[e("code",null,"column"),l(),e("strong",null,"string"),e("br"),l(" The column name.")]),e("p",null,[e("code",null,"foreign_key_table"),l(),e("strong",null,"string"),e("br"),l(" Related table name.")]),e("p",null,[e("code",null,"foreign_key_column"),l(),e("strong",null,"string"),e("br"),l(" Related column name.")]),e("p",null,[e("code",null,"constraint_name"),l(),e("strong",null,"string"),e("br"),l(" Name for the foreign key constraint.")]),e("p",null,[e("code",null,"on_update"),l(),e("strong",null,"string"),e("br"),l(" Update trigger for the foreign key constraint.")]),e("p",null,[e("code",null,"on_delete"),l(),e("strong",null,"string"),e("br"),l(" Delete trigger for the foreign key constraint.")])])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[l(`{
1
+ import{w as s,y as i,z as c,A as t,E as e,C as h,W as l}from"./vendor.3b903562.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},_=l("What data is linked to what other data. Allows you to assign authors to articles, products to sales, and whatever other structures you can think of. "),g=l("Learn more about Relationships"),f=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-relation-object"},"The Relation Object")]),e("li",null,[e("a",{href:"#list-relations"},"List relations")]),e("li",null,[e("a",{href:"#list-relations-in-collection"},"List relations in collection")]),e("li",null,[e("a",{href:"#retrieve-a-relation"},"Retrieve a relation")]),e("li",null,[e("a",{href:"#create-a-relation"},"Create a Relation")]),e("li",null,[e("a",{href:"#update-a-relation"},"Update a Relation")]),e("li",null,[e("a",{href:"#delete-a-relation"},"Delete a Relation")])])])])],-1),y=e("hr",null,null,-1),j=e("h2",{id:"the-relation-object"},[l("The Relation Object "),e("a",{class:"header-anchor",href:"#the-relation-object"},"#")],-1),b=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"definitions"},[e("p",null,[e("code",null,"collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the collection. This matches the table name in the database.")]),e("p",null,[e("code",null,"field"),l(),e("strong",null,"string"),e("br"),l(" Name of the field that holds the related primary key. This matches the column name in the database.")]),e("p",null,[e("code",null,"related_collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the related collection. This matches the table name in the database.")])]),e("h4",{id:"meta"},[l("Meta "),e("a",{class:"header-anchor",href:"#meta"},"#")]),e("p",null,"Directus metadata. Used to enable non-database relationship types"),e("div",{class:"definitions"},[e("p",null,[e("code",null,"id"),l(),e("strong",null,"integer"),e("br"),l(" Primary key of the metadata row in "),e("code",null,"directus_relations"),l(".")]),e("p",null,[e("code",null,"many_collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the collection. Matches the top level "),e("code",null,"collection"),l(" field.")]),e("p",null,[e("code",null,"many_field"),l(),e("strong",null,"string"),e("br"),l(" Name of the field. Matches the top level "),e("code",null,"field"),l(" field.")]),e("p",null,[e("code",null,"one_collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the related collection. Matches the top level "),e("code",null,"related_collection"),l(" field.")]),e("p",null,[e("code",null,"one_field"),l(),e("strong",null,"string"),e("br"),l(" Name of the one to many field on the other side of the relation.")]),e("p",null,[e("code",null,"one_allowed_collections"),l(),e("strong",null,"string"),e("br"),l(" What collections are allowed to be used in a many-to-any context.")]),e("p",null,[e("code",null,"one_collection_field"),l(),e("strong",null,"string"),e("br"),l(" Field that holds the collection name in a many-to-any context.")]),e("p",null,[e("code",null,"one_deselect_action"),l(),e("strong",null,"nullify | delete"),e("br"),l(" Whether to nullify or delete related one-to-many records.")]),e("p",null,[e("code",null,"sort_field"),l(),e("strong",null,"string"),e("br"),l(" What field is used to hold the sort field.")]),e("p",null,[e("code",null,"junction_field"),l(),e("strong",null,"string"),e("br"),l(" What field connects two relations in a many-to-many (o2m-m2o) context.")])]),e("h4",{id:"schema"},[l("Schema "),e("a",{class:"header-anchor",href:"#schema"},"#")]),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."),e("div",{class:"definitions"},[e("p",null,[e("code",null,"table"),l(),e("strong",null,"string"),e("br"),l(" The table name.")]),e("p",null,[e("code",null,"column"),l(),e("strong",null,"string"),e("br"),l(" The column name.")]),e("p",null,[e("code",null,"foreign_key_table"),l(),e("strong",null,"string"),e("br"),l(" Related table name.")]),e("p",null,[e("code",null,"foreign_key_column"),l(),e("strong",null,"string"),e("br"),l(" Related column name.")]),e("p",null,[e("code",null,"constraint_name"),l(),e("strong",null,"string"),e("br"),l(" Name for the foreign key constraint.")]),e("p",null,[e("code",null,"on_update"),l(),e("strong",null,"string"),e("br"),l(" Update trigger for the foreign key constraint.")]),e("p",null,[e("code",null,"on_delete"),l(),e("strong",null,"string"),e("br"),l(" Delete trigger for the foreign key constraint.")])])]),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"},'"about_us"'),l(`,
3
3
  `),e("span",{class:"hljs-attr"},'"field"'),l(": "),e("span",{class:"hljs-string"},'"logo"'),l(`,
4
4
  `),e("span",{class:"hljs-attr"},'"related_collection"'),l(": "),e("span",{class:"hljs-string"},'"directus_files"'),l(`,
@@ -1,4 +1,4 @@
1
- import{w as s,y as c,z as d,A as n,E as e,C as l,W as t}from"./vendor.e0a21029.js";const h={class:"markdown-body"},u=e("blockquote",null,[e("p",null,[t("As you might have guessed, relationships are a crucial part of any relational database. Directus supports all standard relationship types, as well as a few more "),e("em",null,"compound"),t(" types that offer greater flexibility.")])],-1),f=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#many-to-one-(m2o)"},"Many-to-One (M2O)")]),e("li",null,[e("a",{href:"#one-to-many-(o2m)"},"One-to-Many (O2M)")]),e("li",null,[e("a",{href:"#translations-(o2m)"},"Translations (O2M)")]),e("li",null,[e("a",{href:"#many-to-many-(m2m)"},"Many-to-Many (M2M)")]),e("li",null,[e("a",{href:"#many-to-any-(m2a)"},"Many-to-Any (M2A)")]),e("li",null,[e("a",{href:"#one-to-one-(o2o)"},"One-to-One (O2O)")])])])],-1),p=e("h3",{id:"introduction"},[t("Introduction "),e("a",{class:"header-anchor",href:"#introduction"},"#")],-1),m=e("p",null,"While it may seem complex at first, relational data is actually quite straightforward once you understand what\u2019s happening behind the sometimes confusing terminology. Before diving into the details of each type, let\u2019s first cover a few basics that will help you better visualize them in your mind\u2019s eye.",-1),_=e("h3",{id:"primary-and-foreign-keys"},[t("Primary and Foreign Keys "),e("a",{class:"header-anchor",href:"#primary-and-foreign-keys"},"#")],-1),y=t("Every "),g=t("Item"),w=t(" in a relational database has a unique "),M=t("Primary Key"),b=t(" (or \u201CPK\u201D) that identifies it within its "),v=t("Collection"),O=t(". Because it\u2019s required, the key is the first "),k=t("field"),T=t(" created within a collection, typically storing an \u201Cauto-increment\u201D number, an automatically generated unique hash, or a manually entered value. They are often abbreviated to \u201CPK\u201D (Primary Key), \u201CID\u201D (Identifier), \u201CUID\u201D (Unique Identifier), or \u201CUUID\u201D (Universally Unique Identifier), depending on the type of value they store. After it\u2019s created, the value of an item\u2019s PK should "),C=e("em",null,"never",-1),x=t(" change."),A=e("p",null,[t("To link items together relationally, you simply save a reference to an item\u2019s PK in a different field. That "),e("em",null,"reference"),t(" is called a Foreign Key (FK). If the primary key is a "),e("em",null,"person"),t(", the foreign key is like their "),e("em",null,"business card"),t(". It references the actual person, providing just enough information to find them.")],-1),j=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Composite & Compound Keys"),e("p",null,[t("In the above explanation we\u2019ve ignored "),e("em",null,"composite"),t(" and "),e("em",null,"compound"),t(" keys, which are essentially unique keys created by combining "),e("em",null,"multiple"),t(" field/column values.")])],-1),I=e("h3",{id:"perspective-matters"},[t("Perspective Matters "),e("a",{class:"header-anchor",href:"#perspective-matters"},"#")],-1),P=e("p",null,"Just like primary and foreign keys, relationships are always described relative to their \u201Cparent\u201D collection. Looking at the same relationship/key from the perspective of the opposite collection would reverse it. This means that a many-to-one relationship can also be seen as a one-to-many relationship, it just depends on which collection is considered the parent.",-1),D=e("h2",{id:"many-to-one-(m2o)"},[t("Many-to-One (M2O) "),e("a",{class:"header-anchor",href:"#many-to-one-(m2o)"},"#")],-1),S=e("p",null,[t("The Many-to-One is the only relationship type with an actual field on the parent Collection. This field saves the foreign key to a single related item. For example, a "),e("em",null,"city"),t(" can only be in one "),e("em",null,"country"),t(", but a "),e("em",null,"country"),t(" can have many "),e("em",null,"cities"),t(".")],-1),F=e("p",null,"Below is an example of a M2O relationship:",-1),R=e("pre",null,[e("code",null,`cities (the "Many" Collection)
1
+ import{w as s,y as c,z as d,A as n,E as e,C as l,W as t}from"./vendor.3b903562.js";const h={class:"markdown-body"},u=e("blockquote",null,[e("p",null,[t("As you might have guessed, relationships are a crucial part of any relational database. Directus supports all standard relationship types, as well as a few more "),e("em",null,"compound"),t(" types that offer greater flexibility.")])],-1),f=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#many-to-one-(m2o)"},"Many-to-One (M2O)")]),e("li",null,[e("a",{href:"#one-to-many-(o2m)"},"One-to-Many (O2M)")]),e("li",null,[e("a",{href:"#translations-(o2m)"},"Translations (O2M)")]),e("li",null,[e("a",{href:"#many-to-many-(m2m)"},"Many-to-Many (M2M)")]),e("li",null,[e("a",{href:"#many-to-any-(m2a)"},"Many-to-Any (M2A)")]),e("li",null,[e("a",{href:"#one-to-one-(o2o)"},"One-to-One (O2O)")])])])],-1),p=e("h3",{id:"introduction"},[t("Introduction "),e("a",{class:"header-anchor",href:"#introduction"},"#")],-1),m=e("p",null,"While it may seem complex at first, relational data is actually quite straightforward once you understand what\u2019s happening behind the sometimes confusing terminology. Before diving into the details of each type, let\u2019s first cover a few basics that will help you better visualize them in your mind\u2019s eye.",-1),_=e("h3",{id:"primary-and-foreign-keys"},[t("Primary and Foreign Keys "),e("a",{class:"header-anchor",href:"#primary-and-foreign-keys"},"#")],-1),y=t("Every "),g=t("Item"),w=t(" in a relational database has a unique "),M=t("Primary Key"),b=t(" (or \u201CPK\u201D) that identifies it within its "),v=t("Collection"),O=t(". Because it\u2019s required, the key is the first "),k=t("field"),T=t(" created within a collection, typically storing an \u201Cauto-increment\u201D number, an automatically generated unique hash, or a manually entered value. They are often abbreviated to \u201CPK\u201D (Primary Key), \u201CID\u201D (Identifier), \u201CUID\u201D (Unique Identifier), or \u201CUUID\u201D (Universally Unique Identifier), depending on the type of value they store. After it\u2019s created, the value of an item\u2019s PK should "),C=e("em",null,"never",-1),x=t(" change."),A=e("p",null,[t("To link items together relationally, you simply save a reference to an item\u2019s PK in a different field. That "),e("em",null,"reference"),t(" is called a Foreign Key (FK). If the primary key is a "),e("em",null,"person"),t(", the foreign key is like their "),e("em",null,"business card"),t(". It references the actual person, providing just enough information to find them.")],-1),j=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Composite & Compound Keys"),e("p",null,[t("In the above explanation we\u2019ve ignored "),e("em",null,"composite"),t(" and "),e("em",null,"compound"),t(" keys, which are essentially unique keys created by combining "),e("em",null,"multiple"),t(" field/column values.")])],-1),I=e("h3",{id:"perspective-matters"},[t("Perspective Matters "),e("a",{class:"header-anchor",href:"#perspective-matters"},"#")],-1),P=e("p",null,"Just like primary and foreign keys, relationships are always described relative to their \u201Cparent\u201D collection. Looking at the same relationship/key from the perspective of the opposite collection would reverse it. This means that a many-to-one relationship can also be seen as a one-to-many relationship, it just depends on which collection is considered the parent.",-1),D=e("h2",{id:"many-to-one-(m2o)"},[t("Many-to-One (M2O) "),e("a",{class:"header-anchor",href:"#many-to-one-(m2o)"},"#")],-1),S=e("p",null,[t("The Many-to-One is the only relationship type with an actual field on the parent Collection. This field saves the foreign key to a single related item. For example, a "),e("em",null,"city"),t(" can only be in one "),e("em",null,"country"),t(", but a "),e("em",null,"country"),t(" can have many "),e("em",null,"cities"),t(".")],-1),F=e("p",null,"Below is an example of a M2O relationship:",-1),R=e("pre",null,[e("code",null,`cities (the "Many" Collection)
2
2
  - id (Primary Key)
3
3
  - name
4
4
  - country (the M2O field that stores the country key)
@@ -1,4 +1,4 @@
1
- import{w as l,y as c,z as h,A as t,E as s,C as o,W as e}from"./vendor.e0a21029.js";const d={class:"markdown-body"},_={class:"two-up"},p={class:"left"},u=e("Revisions are individual changes to items made. Directus keeps track of changes made, so you\u2019re able to revert to a previous state at will. "),v=e("Learn more about Revisions"),m=e("."),f=s("div",{class:"right"},[s("p",null,[s("div",{class:"table-of-contents"},[s("ul",null,[s("li",null,[s("a",{href:"#the-revision-object"},"The Revision Object")]),s("li",null,[s("a",{href:"#list-revisions"},"List revisions")]),s("li",null,[s("a",{href:"#retrieve-a-revision"},"Retrieve a revision")])])])])],-1),g=s("hr",null,null,-1),y=s("h2",{id:"the-revision-object"},[e("The Revision Object "),s("a",{class:"header-anchor",href:"#the-revision-object"},"#")],-1),j={class:"two-up"},b={class:"left"},q={class:"definitions"},x=s("p",null,[s("code",null,"id"),e(),s("strong",null,"integer"),s("br"),e(" Primary key of the revision.")],-1),w=s("code",null,"activity",-1),k=e(),R=s("strong",null,"many-to-one",-1),E=s("br",null,null,-1),T=e(" Related activity record. Many-to-one to "),P=e("activity"),S=e("."),L=s("p",null,[s("code",null,"collection"),e(),s("strong",null,"string"),s("br"),e(" Collection in which this revision happened.")],-1),C=s("p",null,[s("code",null,"item"),e(),s("strong",null,"string"),s("br"),e(" Primary key of the item that was changed.")],-1),A=s("p",null,[s("code",null,"data"),e(),s("strong",null,"object"),s("br"),e(" Snapshot of the top-level item data.")],-1),D=s("p",null,[s("code",null,"delta"),e(),s("strong",null,"object"),s("br"),e(" Snapshot of the changes made in this revision.")],-1),Q=s("p",null,[s("code",null,"parent"),e(),s("strong",null,"many-to-one"),s("br"),e(" Parent revision that triggered this revision. Many-to-one to revisions (recursive).")],-1),G=s("div",{class:"right"},[s("pre",null,[s("code",{class:"language-json"},[e(`{
1
+ import{w as l,y as c,z as h,A as t,E as s,C as o,W as e}from"./vendor.3b903562.js";const d={class:"markdown-body"},_={class:"two-up"},p={class:"left"},u=e("Revisions are individual changes to items made. Directus keeps track of changes made, so you\u2019re able to revert to a previous state at will. "),v=e("Learn more about Revisions"),m=e("."),f=s("div",{class:"right"},[s("p",null,[s("div",{class:"table-of-contents"},[s("ul",null,[s("li",null,[s("a",{href:"#the-revision-object"},"The Revision Object")]),s("li",null,[s("a",{href:"#list-revisions"},"List revisions")]),s("li",null,[s("a",{href:"#retrieve-a-revision"},"Retrieve a revision")])])])])],-1),g=s("hr",null,null,-1),y=s("h2",{id:"the-revision-object"},[e("The Revision Object "),s("a",{class:"header-anchor",href:"#the-revision-object"},"#")],-1),b={class:"two-up"},j={class:"left"},q={class:"definitions"},x=s("p",null,[s("code",null,"id"),e(),s("strong",null,"integer"),s("br"),e(" Primary key of the revision.")],-1),w=s("code",null,"activity",-1),k=e(),R=s("strong",null,"many-to-one",-1),E=s("br",null,null,-1),T=e(" Related activity record. Many-to-one to "),P=e("activity"),S=e("."),L=s("p",null,[s("code",null,"collection"),e(),s("strong",null,"string"),s("br"),e(" Collection in which this revision happened.")],-1),C=s("p",null,[s("code",null,"item"),e(),s("strong",null,"string"),s("br"),e(" Primary key of the item that was changed.")],-1),A=s("p",null,[s("code",null,"data"),e(),s("strong",null,"object"),s("br"),e(" Snapshot of the top-level item data.")],-1),D=s("p",null,[s("code",null,"delta"),e(),s("strong",null,"object"),s("br"),e(" Snapshot of the changes made in this revision.")],-1),Q=s("p",null,[s("code",null,"parent"),e(),s("strong",null,"many-to-one"),s("br"),e(" Parent revision that triggered this revision. Many-to-one to revisions (recursive).")],-1),G=s("div",{class:"right"},[s("pre",null,[s("code",{class:"language-json"},[e(`{
2
2
  `),s("span",{class:"hljs-attr"},'"id"'),e(": "),s("span",{class:"hljs-number"},"368"),e(`,
3
3
  `),s("span",{class:"hljs-attr"},'"activity"'),e(": "),s("span",{class:"hljs-number"},"438"),e(`,
4
4
  `),s("span",{class:"hljs-attr"},'"collection"'),e(": "),s("span",{class:"hljs-string"},'"articles"'),e(`,
@@ -37,4 +37,4 @@ SEARCH /revisions
37
37
  delta
38
38
  }
39
39
  }
40
- `)])])],-1),ws={setup(js,{expose:r}){const a={title:"Revisions",modularExtension:!1,pageClass:"page-reference"};return r({frontmatter:a}),(bs,qs)=>{const n=l("router-link"),i=l("DocsWrapper");return c(),h(i,{frontmatter:a},{default:t(()=>[s("div",d,[s("div",_,[s("div",p,[s("blockquote",null,[s("p",null,[u,o(n,{to:"/docs/getting-started/glossary/#revisions"},{default:t(()=>[v]),_:1}),m])])]),f]),g,y,s("div",j,[s("div",b,[s("div",q,[x,s("p",null,[w,k,R,E,T,o(n,{to:"/docs/reference/system/activity/"},{default:t(()=>[P]),_:1}),S]),L,C,A,D,Q])]),G]),H,I,O,s("div",W,[s("div",B,[N,V,s("p",null,[M,o(n,{to:"/docs/reference/query"},{default:t(()=>[z]),_:1}),F]),J,s("p",null,[K,o(n,{to:"/docs/reference/query/#limit"},{default:t(()=>[U]),_:1}),X,Y,Z])]),s("div",$,[ss,es,s("p",null,[o(n,{to:"/docs/reference/introduction/#search-http-method"},{default:t(()=>[ts]),_:1})]),ns,os,as,ls,rs])]),is,cs,hs,s("div",ds,[s("div",_s,[ps,s("p",null,[us,o(n,{to:"/docs/reference/query"},{default:t(()=>[vs]),_:1}),ms]),fs,gs]),ys])])]),_:1})}}};export{ws as default};
40
+ `)])])],-1),ws={setup(bs,{expose:r}){const a={title:"Revisions",modularExtension:!1,pageClass:"page-reference"};return r({frontmatter:a}),(js,qs)=>{const n=l("router-link"),i=l("DocsWrapper");return c(),h(i,{frontmatter:a},{default:t(()=>[s("div",d,[s("div",_,[s("div",p,[s("blockquote",null,[s("p",null,[u,o(n,{to:"/docs/getting-started/glossary/#revisions"},{default:t(()=>[v]),_:1}),m])])]),f]),g,y,s("div",b,[s("div",j,[s("div",q,[x,s("p",null,[w,k,R,E,T,o(n,{to:"/docs/reference/system/activity/"},{default:t(()=>[P]),_:1}),S]),L,C,A,D,Q])]),G]),H,I,O,s("div",W,[s("div",B,[N,V,s("p",null,[M,o(n,{to:"/docs/reference/query"},{default:t(()=>[z]),_:1}),F]),J,s("p",null,[K,o(n,{to:"/docs/reference/query/#limit"},{default:t(()=>[U]),_:1}),X,Y,Z])]),s("div",$,[ss,es,s("p",null,[o(n,{to:"/docs/reference/introduction/#search-http-method"},{default:t(()=>[ts]),_:1})]),ns,os,as,ls,rs])]),is,cs,hs,s("div",ds,[s("div",_s,[ps,s("p",null,[us,o(n,{to:"/docs/reference/query"},{default:t(()=>[vs]),_:1}),ms]),fs,gs]),ys])])]),_:1})}}};export{ws as default};