@directus/app 9.16.1 → 9.17.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 (379) hide show
  1. package/dist/assets/{@directus_extensions-sdk.a04f8e82.entry.js → @directus_extensions-sdk.3ef017de.entry.js} +1 -1
  2. package/dist/assets/{accounts.2e114db8.js → accounts.e4c64fb1.js} +1 -1
  3. package/dist/assets/{active-line.c78f18d1.js → active-line.1a58c745.js} +1 -1
  4. package/dist/assets/activity-log.147dd93e.js +1 -0
  5. package/dist/assets/{activity.5589dea9.js → activity.dd401932.js} +4 -4
  6. package/dist/assets/{apl.3bd507ca.js → apl.54876b5a.js} +1 -1
  7. package/dist/assets/{architecture.d16e36b1.js → architecture.aaf5c296.js} +1 -1
  8. package/dist/assets/{asciiarmor.23cc7d28.js → asciiarmor.cb3baff4.js} +1 -1
  9. package/dist/assets/{asn.1.914dce71.js → asn.1.d62f0365.js} +1 -1
  10. package/dist/assets/{asterisk.960196ef.js → asterisk.3b59378d.js} +1 -1
  11. package/dist/assets/{authentication.ee6465fd.js → authentication.61c42dda.js} +7 -7
  12. package/dist/assets/{autorefresh.9c9423b3.js → autorefresh.c4183851.js} +1 -1
  13. package/dist/assets/{aws.8fa603ce.js → aws.55405db9.js} +1 -1
  14. package/dist/assets/{backing-directus.450274bb.js → backing-directus.bd29d5e2.js} +1 -1
  15. package/dist/assets/bg-BG.173012de.js +1 -0
  16. package/dist/assets/{brainfuck.652d067a.js → brainfuck.f4d448f4.js} +1 -1
  17. package/dist/assets/{cli.495194f0.js → cli.b2fbc62f.js} +4 -4
  18. package/dist/assets/{cli.f4f23732.js → cli.ca0055cb.js} +2 -2
  19. package/dist/assets/{clike.d1e347d7.js → clike.e4048935.js} +1 -1
  20. package/dist/assets/{clojure.0ed660e3.js → clojure.754181ba.js} +1 -1
  21. package/dist/assets/{cloudron.aa3368a8.js → cloudron.8200e84b.js} +1 -1
  22. package/dist/assets/{cmake.795b52a3.js → cmake.abb9659c.js} +1 -1
  23. package/dist/assets/{cobol.dadc6a67.js → cobol.1e66a7c9.js} +1 -1
  24. package/dist/assets/{codebase-overview.cf29e0f6.js → codebase-overview.7f69e795.js} +1 -1
  25. package/dist/assets/{coffeescript.ebb229e0.js → coffeescript.020b8eec.js} +1 -1
  26. package/dist/assets/{collections.7776a374.js → collections.18cc2518.js} +2 -2
  27. package/dist/assets/{collections.74218877.js → collections.2fa0dd8e.js} +2 -2
  28. package/dist/assets/{collections.9e3af468.js → collections.b7aafbfb.js} +6 -6
  29. package/dist/assets/{commonlisp.3ab42a16.js → commonlisp.bea6c921.js} +1 -1
  30. package/dist/assets/{conditions.1d6c9ac3.js → conditions.281a6ed5.js} +1 -1
  31. package/dist/assets/{config-options.3845d956.js → config-options.d33aab72.js} +14 -14
  32. package/dist/assets/{content.84d14f92.js → content.f9b34bf7.js} +1 -1
  33. package/dist/assets/{creating-extensions.50afb69b.js → creating-extensions.4533b8ed.js} +1 -1
  34. package/dist/assets/{crystal.efbb1bd7.js → crystal.fd7831f1.js} +1 -1
  35. package/dist/assets/{css.6fb39c02.js → css.c3f2ba9c.js} +1 -1
  36. package/dist/assets/{cypher.62403d7d.js → cypher.3812adce.js} +1 -1
  37. package/dist/assets/{d.3e09de4f.js → d.c23c175b.js} +1 -1
  38. package/dist/assets/{dart.41841dee.js → dart.ad969d10.js} +1 -1
  39. package/dist/assets/{data-model.ef4eedaf.js → data-model.dbce1366.js} +7 -7
  40. package/dist/assets/de-DE.9b0cb798.js +1 -0
  41. package/dist/assets/{diff.545183ee.js → diff.55fa2e75.js} +1 -1
  42. package/dist/assets/{digitalocean-app-platform.5dd9a78b.js → digitalocean-app-platform.b046ae55.js} +2 -2
  43. package/dist/assets/{display-templates.6412d9bf.js → display-templates.91e34e9f.js} +1 -1
  44. package/dist/assets/display.494b7d1f.js +1 -0
  45. package/dist/assets/{displays.c3b9934b.js → displays.54ddeb10.js} +3 -3
  46. package/dist/assets/{django.17509d05.js → django.790045e7.js} +1 -1
  47. package/dist/assets/{docker.2130afa6.js → docker.36215dae.js} +2 -2
  48. package/dist/assets/{dockerfile.8e4c8627.js → dockerfile.1f25303f.js} +1 -1
  49. package/dist/assets/{documentation.e232fdb2.js → documentation.cb5bf843.js} +1 -1
  50. package/dist/assets/{dtd.c5634f07.js → dtd.6e6a3545.js} +1 -1
  51. package/dist/assets/{dylan.ed64e93d.js → dylan.b609acb8.js} +1 -1
  52. package/dist/assets/{ebnf.f0a160c2.js → ebnf.82c75be0.js} +1 -1
  53. package/dist/assets/{ecl.f410edf0.js → ecl.b0193626.js} +1 -1
  54. package/dist/assets/{eiffel.fc6fa090.js → eiffel.e22b2ddf.js} +1 -1
  55. package/dist/assets/{elm.d1f7e66b.js → elm.273a08e2.js} +1 -1
  56. package/dist/assets/{email-templates.0aa59541.js → email-templates.b0b82036.js} +1 -1
  57. package/dist/assets/{endpoints.b664ef10.js → endpoints.1ba44e66.js} +1 -1
  58. package/dist/assets/{erlang.f5c5e431.js → erlang.a39c5f2d.js} +1 -1
  59. package/dist/assets/es-419.733b82e4.js +1 -0
  60. package/dist/assets/es-CL.1db5f1f8.js +1 -0
  61. package/dist/assets/es-ES.62e820db.js +1 -0
  62. package/dist/assets/es-MX.37c3d88e.js +1 -0
  63. package/dist/assets/{extensions.e511fc6d.js → extensions.b4c93ce0.js} +2 -2
  64. package/dist/assets/{factor.fdee7d27.js → factor.abb1d150.js} +1 -1
  65. package/dist/assets/{faq.cc159e10.js → faq.4ca4b467.js} +1 -1
  66. package/dist/assets/{fcl.8ef841db.js → fcl.201b4224.js} +1 -1
  67. package/dist/assets/fi-FI.38180e94.js +1 -0
  68. package/dist/assets/{field-types.129a2c41.js → field-types.ed85836e.js} +1 -1
  69. package/dist/assets/{field.3061af3d.js → field.fb2213dd.js} +1 -1
  70. package/dist/assets/{fields.9e13d3e0.js → fields.057754cf.js} +5 -5
  71. package/dist/assets/{fields.1a3f05d2.js → fields.f3868bd3.js} +1 -1
  72. package/dist/assets/{file-library.531c267c.js → file-library.5d646392.js} +1 -1
  73. package/dist/assets/{files.af2c1a43.js → files.e0ad4209.js} +6 -6
  74. package/dist/assets/{filter-rules.454352d1.js → filter-rules.22fc9a6d.js} +1 -1
  75. package/dist/assets/{filters.57f37ec6.js → filters.5cf9b5c5.js} +1 -1
  76. package/dist/assets/flows.79e56304.js +17 -0
  77. package/dist/assets/{flows.4d2856ca.js → flows.eec58d0b.js} +5 -5
  78. package/dist/assets/{folders.10accc4b.js → folders.83d5bb9d.js} +1 -1
  79. package/dist/assets/{forth.2b2f71e9.js → forth.ef65c814.js} +1 -1
  80. package/dist/assets/{fortran.eeb26d81.js → fortran.08c1ca68.js} +1 -1
  81. package/dist/assets/fr-CA.67ca57c5.js +1 -0
  82. package/dist/assets/fr-FR.ae06065b.js +1 -0
  83. package/dist/assets/{gas.12f084f2.js → gas.d7413afc.js} +1 -1
  84. package/dist/assets/{gcp.c7937b1a.js → gcp.60b49ff2.js} +1 -1
  85. package/dist/assets/{gfm.3b66480c.js → gfm.527c31bf.js} +1 -1
  86. package/dist/assets/{gherkin.91e46d93.js → gherkin.da237d8e.js} +1 -1
  87. package/dist/assets/{github-ci.f7ee57b8.js → github-ci.b23bbe2d.js} +2 -2
  88. package/dist/assets/{glossary.80e53e05.js → glossary.238763c8.js} +1 -1
  89. package/dist/assets/{glossary.c84cb559.js → glossary.db37b807.js} +1 -1
  90. package/dist/assets/{go.b86f91ab.js → go.66559a1b.js} +1 -1
  91. package/dist/assets/{groovy.cd378bb4.js → groovy.dd5aa6ca.js} +1 -1
  92. package/dist/assets/{haml.a6cabf01.js → haml.c0ef60f2.js} +1 -1
  93. package/dist/assets/{handlebars.5c6be823.js → handlebars.76b15ded.js} +1 -1
  94. package/dist/assets/{haskell-literate.c38a1697.js → haskell-literate.8bce8183.js} +1 -1
  95. package/dist/assets/{haskell.a43190de.js → haskell.4d6cd941.js} +1 -1
  96. package/dist/assets/{haxe.67ea76a0.js → haxe.561cd86a.js} +1 -1
  97. package/dist/assets/he-IL.767fa735.js +1 -0
  98. package/dist/assets/{hooks.d1b00fc1.js → hooks.7b1e235e.js} +4 -4
  99. package/dist/assets/{htmlembedded.d7fc4ddf.js → htmlembedded.f35c4a09.js} +1 -1
  100. package/dist/assets/{htmlmixed.42236134.js → htmlmixed.3d063271.js} +1 -1
  101. package/dist/assets/{http.8876645f.js → http.be1a7f13.js} +1 -1
  102. package/dist/assets/{idl.1e06cb13.js → idl.961123e9.js} +1 -1
  103. package/dist/assets/{iis.2b991a80.js → iis.67a83939.js} +1 -1
  104. package/dist/assets/{import-export.74a08d53.js → import-export.92aee031.js} +1 -1
  105. package/dist/assets/{index.ab135b59.js → index.0645834a.js} +1 -1
  106. package/dist/assets/{index.4894f51e.js → index.0d2e59f7.js} +1 -1
  107. package/dist/assets/{index.15e3c95b.js → index.0eaf700c.js} +1 -1
  108. package/dist/assets/{index.58ce5d3f.js → index.197b17c1.js} +1 -1
  109. package/dist/assets/{index.36361e5b.js → index.1a3f31c4.js} +1 -1
  110. package/dist/assets/{index.e24720c2.js → index.1bbfd138.js} +1 -1
  111. package/dist/assets/{index.aeca2d25.js → index.1cd3d5ba.js} +1 -1
  112. package/dist/assets/{index.094d7435.js → index.22f2ba3c.js} +1 -1
  113. package/dist/assets/{index.b3227ed5.js → index.26419dc6.js} +1 -1
  114. package/dist/assets/{index.c0a6d945.js → index.27f67d42.js} +1 -1
  115. package/dist/assets/{index.5e2156f1.js → index.28a0ece3.js} +1 -1
  116. package/dist/assets/{index.719a1bf6.css → index.29c0adc9.css} +1 -1
  117. package/dist/assets/{index.43fc16cf.js → index.2e9e634f.js} +1 -1
  118. package/dist/assets/{index.a157d24b.js → index.322dc6a4.js} +1 -1
  119. package/dist/assets/{index.970729f9.js → index.32e3af07.js} +1 -1
  120. package/dist/assets/{index.44dfee18.js → index.34878ac2.js} +1 -1
  121. package/dist/assets/{index.b91f7cb9.js → index.38794fb2.js} +1 -1
  122. package/dist/assets/{index.4f3e1405.js → index.3907fbe9.js} +1 -1
  123. package/dist/assets/{index.8e6a2df6.js → index.39c3868e.js} +1 -1
  124. package/dist/assets/{index.6b8582b3.js → index.46908e35.js} +1 -1
  125. package/dist/assets/{index.5785bd5b.js → index.4a4f8949.js} +1 -1
  126. package/dist/assets/{index.8b727b3d.js → index.4a82f998.js} +1 -1
  127. package/dist/assets/{index.3dbbeee8.js → index.54ef22f3.js} +1 -1
  128. package/dist/assets/index.556512f9.js +1 -0
  129. package/dist/assets/{index.ee33b489.js → index.5713cf94.js} +1 -1
  130. package/dist/assets/{index.5efaa053.js → index.57954ae2.js} +1 -1
  131. package/dist/assets/{index.21e15966.js → index.594e4655.js} +1 -1
  132. package/dist/assets/{index.5bccbb70.js → index.5af46380.js} +1 -1
  133. package/dist/assets/{index.f45296e2.js → index.5b4bffdb.js} +1 -1
  134. package/dist/assets/{index.7fe2a6c1.js → index.5b507941.js} +1 -1
  135. package/dist/assets/{index.b990ffa7.js → index.6120d483.js} +1 -1
  136. package/dist/assets/{index.1c2bca61.js → index.620380a7.js} +1 -1
  137. package/dist/assets/{index.4caf473d.js → index.66b6c68b.js} +1 -1
  138. package/dist/assets/{index.286f3139.js → index.686784f1.js} +1 -1
  139. package/dist/assets/{index.b4512435.js → index.6c88db6e.js} +1 -1
  140. package/dist/assets/{index.238d8ccc.js → index.78f834f7.js} +1 -1
  141. package/dist/assets/{index.ac660d97.js → index.7ce1e572.js} +1 -1
  142. package/dist/assets/{index.34e50685.js → index.7dfe02f2.js} +1 -1
  143. package/dist/assets/{index.16102ca4.js → index.7e2708ed.js} +1 -1
  144. package/dist/assets/{index.ca46607e.js → index.7e4713d2.js} +1 -1
  145. package/dist/assets/{index.d9e06c0f.js → index.7eae9d5a.js} +1 -1
  146. package/dist/assets/{index.63beca13.js → index.81aae858.js} +1 -1
  147. package/dist/assets/{index.fee1fadb.js → index.83e516d5.js} +1 -1
  148. package/dist/assets/{index.2fa94ca6.js → index.84f0c372.js} +1 -1
  149. package/dist/assets/{index.8d64a2cc.js → index.86670575.js} +1 -1
  150. package/dist/assets/{index.ebc5fd3e.js → index.87b80a1b.js} +1 -1
  151. package/dist/assets/{index.d78b4dd1.js → index.92f081c8.js} +1 -1
  152. package/dist/assets/{index.86900d0e.js → index.9728d28b.js} +1 -1
  153. package/dist/assets/{index.ebace2a1.js → index.9ea39797.js} +1 -1
  154. package/dist/assets/{index.ce459a32.js → index.9f6f893d.js} +1 -1
  155. package/dist/assets/{index.38ca65a8.js → index.a07c2783.js} +1 -1
  156. package/dist/assets/{index.3a449212.js → index.a1938c4c.js} +1 -1
  157. package/dist/assets/{index.d3e27d97.js → index.a1e36825.js} +1 -1
  158. package/dist/assets/{index.fd19f059.js → index.a4be7bd2.js} +1 -1
  159. package/dist/assets/{index.048bfcd4.js → index.a4f50556.js} +1 -1
  160. package/dist/assets/{index.5552d1ba.entry.js → index.a6745321.entry.js} +219 -219
  161. package/dist/assets/index.a696cf7a.css +1 -0
  162. package/dist/assets/{index.727f38c4.js → index.a84a7598.js} +1 -1
  163. package/dist/assets/{index.9a2ded43.js → index.a981939a.js} +1 -1
  164. package/dist/assets/{index.ffa2a1cd.js → index.ad382721.js} +1 -1
  165. package/dist/assets/{index.dd5b5aec.js → index.b07b6c71.js} +1 -1
  166. package/dist/assets/{index.766f9329.js → index.b440ccbe.js} +1 -1
  167. package/dist/assets/{index.8b83352c.js → index.b4f005cc.js} +1 -1
  168. package/dist/assets/{index.504c871e.js → index.b7016c72.js} +1 -1
  169. package/dist/assets/{index.dae019ea.js → index.b73fc9df.js} +1 -1
  170. package/dist/assets/{index.efb2f918.js → index.b7eac46d.js} +1 -1
  171. package/dist/assets/{index.65ef9955.js → index.b8bc9ce9.js} +1 -1
  172. package/dist/assets/{index.6be1ec19.js → index.ba4d69a6.js} +1 -1
  173. package/dist/assets/{index.7f1515ca.js → index.babc408d.js} +1 -1
  174. package/dist/assets/{index.a14f652a.js → index.bb9b3d77.js} +1 -1
  175. package/dist/assets/{index.6ac5a367.js → index.bcef0184.js} +1 -1
  176. package/dist/assets/{index.558dbe9d.js → index.bf489604.js} +1 -1
  177. package/dist/assets/{index.73791b0b.js → index.c210d71e.js} +1 -1
  178. package/dist/assets/{index.6c3cfd9d.js → index.c378895c.js} +1 -1
  179. package/dist/assets/{index.8b6e1cf5.js → index.c7c5db2b.js} +1 -1
  180. package/dist/assets/{index.791e9a3d.js → index.d1f370bc.js} +3 -3
  181. package/dist/assets/{index.909efb92.js → index.d7318062.js} +1 -1
  182. package/dist/assets/{index.bb39eac1.js → index.db3bc6a7.js} +1 -1
  183. package/dist/assets/{index.87997092.js → index.e18ed1ac.js} +1 -1
  184. package/dist/assets/{index.b73eaa87.js → index.e22e6eb6.js} +1 -1
  185. package/dist/assets/{index.e7e3b4f1.js → index.e3c74acd.js} +1 -1
  186. package/dist/assets/{index.0152af18.js → index.e5ffe5fd.js} +1 -1
  187. package/dist/assets/{index.dccdb81c.js → index.ef505888.js} +1 -1
  188. package/dist/assets/{index.938b9c64.js → index.f32b69c8.js} +1 -1
  189. package/dist/assets/{index.22cbe4df.js → index.f7c78032.js} +1 -1
  190. package/dist/assets/{index.937b45e4.js → index.fd0568fe.js} +1 -1
  191. package/dist/assets/{input-rich-text-html.c3a5d829.js → input-rich-text-html.282b90c3.js} +30 -30
  192. package/dist/assets/{insights.0f2b188e.js → insights.c3df1bb3.js} +2 -2
  193. package/dist/assets/{installation.131e828a.js → installation.4ab6ce97.js} +1 -1
  194. package/dist/assets/{interface.aa4f61a0.js → interface.1195a442.js} +1 -1
  195. package/dist/assets/{interfaces.fc4c7384.js → interfaces.0dddec2f.js} +1 -1
  196. package/dist/assets/{introduction.b1da78a4.js → introduction.201b3a46.js} +2 -2
  197. package/dist/assets/{introduction.0f06a30b.js → introduction.2a49238f.js} +1 -1
  198. package/dist/assets/{introduction.24acabd2.js → introduction.569a3b41.js} +4 -4
  199. package/dist/assets/{introduction.e8ce5583.js → introduction.daef5dfe.js} +1 -1
  200. package/dist/assets/it-IT.1ddbc757.js +1 -0
  201. package/dist/assets/{items.cc5ed80d.js → items.207153dc.js} +10 -10
  202. package/dist/assets/{items.b5bb1efd.js → items.cc802753.js} +1 -1
  203. package/dist/assets/{javascript-hint.6d6f81e5.js → javascript-hint.d349fe4e.js} +1 -1
  204. package/dist/assets/{javascript.b46feeed.js → javascript.9e388b6a.js} +1 -1
  205. package/dist/assets/{jinja2.b4f1b6ad.js → jinja2.14046576.js} +1 -1
  206. package/dist/assets/{jsx.211683b6.js → jsx.3806b5c1.js} +1 -1
  207. package/dist/assets/{julia.baee0bfc.js → julia.644e2413.js} +1 -1
  208. package/dist/assets/{layouts.1b59a4c4.js → layouts.39ffa712.js} +1 -1
  209. package/dist/assets/{layouts.2759613b.js → layouts.6d10b629.js} +3 -3
  210. package/dist/assets/{livescript.cce15eeb.js → livescript.44370233.js} +1 -1
  211. package/dist/assets/{localization.854fe2a6.js → localization.6486db5d.js} +1 -1
  212. package/dist/assets/{lua.2285f263.js → lua.b2bbf8d0.js} +1 -1
  213. package/dist/assets/{manual.e19c207e.js → manual.edc6cff6.js} +4 -4
  214. package/dist/assets/{mark-selection.4abbe02e.js → mark-selection.62e88e54.js} +1 -1
  215. package/dist/assets/{match-highlighter.28d31a20.js → match-highlighter.42dd5ae0.js} +1 -1
  216. package/dist/assets/{mathematica.326d84f6.js → mathematica.f444d867.js} +1 -1
  217. package/dist/assets/{mbox.0bf9befe.js → mbox.4555191b.js} +1 -1
  218. package/dist/assets/{migrations.70984e94.js → migrations.ecdb3334.js} +1 -1
  219. package/dist/assets/{mirc.6eedfef8.js → mirc.c7058e56.js} +1 -1
  220. package/dist/assets/{mllike.96a9792b.js → mllike.0772bdf6.js} +1 -1
  221. package/dist/assets/{modelica.a729f46d.js → modelica.3c6ca1ec.js} +1 -1
  222. package/dist/assets/{modules.368e658d.js → modules.0dab0325.js} +1 -1
  223. package/dist/assets/{mscgen.fcbf244c.js → mscgen.0802d4ca.js} +1 -1
  224. package/dist/assets/{multiplex.e75d927b.js → multiplex.a84ab750.js} +1 -1
  225. package/dist/assets/{mumps.b063975e.js → mumps.36cf22cb.js} +1 -1
  226. package/dist/assets/{nginx.486ac0b3.js → nginx.82d6f736.js} +1 -1
  227. package/dist/assets/{notifications.71793dcb.js → notifications.5b10ad0b.js} +1 -1
  228. package/dist/assets/{nsis.1f1f7f19.js → nsis.0ef55402.js} +1 -1
  229. package/dist/assets/{ntriples.23df3a06.js → ntriples.74ea90a6.js} +1 -1
  230. package/dist/assets/{octave.a7c39dfd.js → octave.df936382.js} +1 -1
  231. package/dist/assets/{operations.3a53915d.js → operations.296e9710.js} +11 -11
  232. package/dist/assets/operations.30fc2625.js +1 -0
  233. package/dist/assets/{operations.687b2da1.js → operations.c5ee7367.js} +3 -3
  234. package/dist/assets/{overlay.25718331.js → overlay.1ea7740c.js} +1 -1
  235. package/dist/assets/{overview.2aef2737.js → overview.211898b7.js} +1 -1
  236. package/dist/assets/{overview.77c84906.js → overview.91ec2552.js} +1 -1
  237. package/dist/assets/{overview.42c9bc71.js → overview.eb55d14f.js} +1 -1
  238. package/dist/assets/{oz.50920854.js → oz.83930d1a.js} +1 -1
  239. package/dist/assets/{panels.1c9e59a5.js → panels.9b48e2ab.js} +3 -3
  240. package/dist/assets/{pascal.254524bf.js → pascal.3bcd9be2.js} +1 -1
  241. package/dist/assets/{pegjs.109b328f.js → pegjs.a13f9ba3.js} +1 -1
  242. package/dist/assets/{perl.a6a13b0b.js → perl.ff0d453b.js} +1 -1
  243. package/dist/assets/{permissions.7c6e7d90.js → permissions.66ecdced.js} +7 -7
  244. package/dist/assets/{php.ffc2eaca.js → php.d0378b2e.js} +1 -1
  245. package/dist/assets/{pig.5098455f.js → pig.b09085f8.js} +1 -1
  246. package/dist/assets/{pinia.b8e2dbe3.entry.js → pinia.ee5b7a45.entry.js} +2 -2
  247. package/dist/assets/pl-PL.ce204e00.js +1 -0
  248. package/dist/assets/{plesk.09c47961.js → plesk.0a2c4855.js} +5 -5
  249. package/dist/assets/{powershell.1a2fb8e0.js → powershell.3c83684c.js} +1 -1
  250. package/dist/assets/presets-bookmarks.0a83b030.js +1 -0
  251. package/dist/assets/{presets.a6220515.js → presets.198afe35.js} +6 -6
  252. package/dist/assets/project-settings.eebfbd8c.js +1 -0
  253. package/dist/assets/{projects.7b210ac2.js → projects.398642da.js} +1 -1
  254. package/dist/assets/{properties.f55a4bf0.js → properties.bc9c351d.js} +1 -1
  255. package/dist/assets/{protobuf.9cc87b15.js → protobuf.d94d8d4b.js} +1 -1
  256. package/dist/assets/pt-BR.664ac34b.js +1 -0
  257. package/dist/assets/{pug.09de4b33.js → pug.acdcf421.js} +1 -1
  258. package/dist/assets/{puppet.7cd5c3df.js → puppet.77eef81d.js} +1 -1
  259. package/dist/assets/{python.8647bbb6.js → python.b5ceceb5.js} +1 -1
  260. package/dist/assets/{q.83eacee3.js → q.0d05269a.js} +1 -1
  261. package/dist/assets/{query.b72e23c9.js → query.8ccae3a9.js} +1 -1
  262. package/dist/assets/{quickstart.1d485356.js → quickstart.a567dd49.js} +2 -2
  263. package/dist/assets/{quickstart.0e152d2a.js → quickstart.de9843d9.js} +1 -1
  264. package/dist/assets/{r.22d59660.js → r.91e27c7f.js} +1 -1
  265. package/dist/assets/{readme.a5652282.js → readme.1996f39f.js} +1 -1
  266. package/dist/assets/{relations.804b318b.js → relations.ad6c2398.js} +4 -4
  267. package/dist/assets/{relationship.040a5095.js → relationship.32af0bee.js} +1 -1
  268. package/dist/assets/{relationships.ff02a9ff.js → relationships.1cd9b5d9.js} +8 -8
  269. package/dist/assets/{resources.efe9810e.js → resources.f947272a.js} +1 -1
  270. package/dist/assets/{revisions.121cb7de.js → revisions.c13b66e0.js} +3 -3
  271. package/dist/assets/{roles.680acff2.js → roles.e767878c.js} +11 -11
  272. package/dist/assets/{rpm.45123b1f.js → rpm.014edd6b.js} +1 -1
  273. package/dist/assets/{rst.0d2ffa96.js → rst.32625068.js} +1 -1
  274. package/dist/assets/{ruby.0befbc72.js → ruby.feba6f75.js} +1 -1
  275. package/dist/assets/{running-locally.4b4aa0d8.js → running-locally.6bdbd71e.js} +4 -4
  276. package/dist/assets/{runtime-core.esm-bundler.e3d5f5b7.js → runtime-core.esm-bundler.32cac88a.js} +1 -1
  277. package/dist/assets/{rust.0aadcb17.js → rust.aebd6832.js} +1 -1
  278. package/dist/assets/{sas.6509cc75.js → sas.e59b46ec.js} +1 -1
  279. package/dist/assets/{sass.3fef2c5c.js → sass.e99e8513.js} +1 -1
  280. package/dist/assets/{schema.5f5eb18e.js → schema.7eb35ba9.js} +1 -1
  281. package/dist/assets/{scheme.6583195f.js → scheme.12ef2907.js} +1 -1
  282. package/dist/assets/{sdk.84d76266.js → sdk.d1cc970a.js} +9 -9
  283. package/dist/assets/{security.6a8942ba.js → security.0f4880b1.js} +1 -1
  284. package/dist/assets/{server.b24a421b.js → server.bcf6175e.js} +5 -5
  285. package/dist/assets/{settings.d91e399d.js → settings.25cab07d.js} +1 -1
  286. package/dist/assets/{settings.d3a9b46c.js → settings.f21d244b.js} +10 -10
  287. package/dist/assets/{shares.6bb87993.js → shares.cc7ce751.js} +1 -1
  288. package/dist/assets/{shell.c33a256a.js → shell.1da47370.js} +1 -1
  289. package/dist/assets/{show-hint.e10f26ff.js → show-hint.68480f4b.js} +1 -1
  290. package/dist/assets/{sieve.adb9c5cd.js → sieve.448a2294.js} +1 -1
  291. package/dist/assets/{slim.34875ef9.js → slim.e742b868.js} +1 -1
  292. package/dist/assets/{smalltalk.ce10cb5f.js → smalltalk.0519616f.js} +1 -1
  293. package/dist/assets/{smarty.42882935.js → smarty.f1c37335.js} +1 -1
  294. package/dist/assets/{solr.5286f18c.js → solr.80d4e627.js} +1 -1
  295. package/dist/assets/{soy.4f95bef4.js → soy.e241e43d.js} +1 -1
  296. package/dist/assets/{sparql.771a3939.js → sparql.0825a985.js} +1 -1
  297. package/dist/assets/{spreadsheet.84749884.js → spreadsheet.3d74a74a.js} +1 -1
  298. package/dist/assets/{sql.e6ae0ded.js → sql.6a932e46.js} +1 -1
  299. package/dist/assets/{sso-examples.eb8e7423.js → sso-examples.0b7c81f4.js} +3 -3
  300. package/dist/assets/{sso.c929d07f.js → sso.49e87f3a.js} +2 -2
  301. package/dist/assets/{stex.248311c6.js → stex.6c78fa60.js} +1 -1
  302. package/dist/assets/{stylus.75da53bc.js → stylus.88f0619a.js} +1 -1
  303. package/dist/assets/{support.09b549ef.js → support.55199a3e.js} +1 -1
  304. package/dist/assets/{swift.9d07c193.js → swift.de2921df.js} +1 -1
  305. package/dist/assets/{tcl.7a1d8f5e.js → tcl.6c5dac08.js} +1 -1
  306. package/dist/assets/{teams.ab67345b.js → teams.541d1f0c.js} +1 -1
  307. package/dist/assets/{textile.3f318174.js → textile.654e7c73.js} +1 -1
  308. package/dist/assets/{themes.078e9124.js → themes.47d63f74.js} +2 -2
  309. package/dist/assets/{tiddlywiki.70063591.js → tiddlywiki.b7e79b0f.js} +1 -1
  310. package/dist/assets/{tiki.be5148f3.js → tiki.9a99e175.js} +1 -1
  311. package/dist/assets/{toml.1c4a2454.js → toml.a476a385.js} +1 -1
  312. package/dist/assets/{tornado.2951da45.js → tornado.ec0e2ed1.js} +1 -1
  313. package/dist/assets/tr-TR.ea217e38.js +1 -0
  314. package/dist/assets/{translation-strings.2e3ee87a.js → translation-strings.6f6737a7.js} +1 -1
  315. package/dist/assets/{translations.36a34606.js → translations.4a2d59ad.js} +1 -1
  316. package/dist/assets/{translations.fb062afb.js → translations.7e97efc3.js} +1 -1
  317. package/dist/assets/triggers.6baf300f.js +1 -0
  318. package/dist/assets/{troff.87ee9d68.js → troff.9d44c1e9.js} +1 -1
  319. package/dist/assets/{ttcn-cfg.c84cc180.js → ttcn-cfg.667f8595.js} +1 -1
  320. package/dist/assets/{ttcn.2e4df029.js → ttcn.941dc1c5.js} +1 -1
  321. package/dist/assets/{turtle.95894809.js → turtle.6ab53dab.js} +1 -1
  322. package/dist/assets/{twig.d66473bf.js → twig.a5b9e950.js} +1 -1
  323. package/dist/assets/{ubuntu.79ece84b.js → ubuntu.14eb3ea1.js} +2 -2
  324. package/dist/assets/{upgrades-migrations.ea8bea7b.js → upgrades-migrations.a9a9ca7c.js} +1 -1
  325. package/dist/assets/{use-sync.1dee2657.js → use-sync.3af8e920.js} +8 -8
  326. package/dist/assets/{user-directory.bac5f2ee.js → user-directory.59b8470a.js} +1 -1
  327. package/dist/assets/{users-roles-permissions.e36d0bc8.js → users-roles-permissions.ed9e814c.js} +1 -1
  328. package/dist/assets/{users.a9ad4dd9.js → users.de050e21.js} +1 -1
  329. package/dist/assets/{utilities.00432834.js → utilities.99f7a370.js} +1 -1
  330. package/dist/assets/{validation.2c0c5444.js → validation.10b8a2f3.js} +1 -1
  331. package/dist/assets/{vb.6fa3f35c.js → vb.f5ad7d8e.js} +1 -1
  332. package/dist/assets/{vbscript.9733613a.js → vbscript.4e331a4a.js} +1 -1
  333. package/dist/assets/{velocity.01fb0be3.js → velocity.58ff92f8.js} +1 -1
  334. package/dist/assets/{verilog.424d22ca.js → verilog.88d1f1ca.js} +1 -1
  335. package/dist/assets/{vhdl.f35cfe5f.js → vhdl.872b8dd6.js} +1 -1
  336. package/dist/assets/vi-VN.a2a22682.js +1 -0
  337. package/dist/assets/{vue-i18n.3cc3a25f.entry.js → vue-i18n.ab96dd58.entry.js} +1 -1
  338. package/dist/assets/{vue-router.1ad5ff1f.entry.js → vue-router.4ad81e1d.entry.js} +2 -2
  339. package/dist/assets/vue.1c9ff390.entry.js +1 -0
  340. package/dist/assets/{vue.00bb2733.js → vue.9e899a50.js} +1 -1
  341. package/dist/assets/{vue.runtime.esm-bundler.ee2a778f.js → vue.runtime.esm-bundler.61bedc6f.js} +1 -1
  342. package/dist/assets/{wast.70fe5a84.js → wast.ca758f8e.js} +1 -1
  343. package/dist/assets/{webhooks.e7e122b7.js → webhooks.53b2215e.js} +1 -1
  344. package/dist/assets/{webhooks.f0dfc270.js → webhooks.a7e035b7.js} +1 -1
  345. package/dist/assets/{webidl.b85758c5.js → webidl.cf25afda.js} +1 -1
  346. package/dist/assets/{xquery.ac0d6186.js → xquery.df5e5b32.js} +1 -1
  347. package/dist/assets/{yacas.bbc1de95.js → yacas.8af76adc.js} +1 -1
  348. package/dist/assets/{yaml-frontmatter.bcf994b4.js → yaml-frontmatter.3f544bc2.js} +1 -1
  349. package/dist/assets/{yaml.aa565fd3.js → yaml.5fd7d7fc.js} +1 -1
  350. package/dist/assets/{z80.6ef87436.js → z80.17c1db87.js} +1 -1
  351. package/dist/assets/zh-CN.074a708e.js +1 -0
  352. package/dist/index.html +8 -8
  353. package/package.json +26 -5
  354. package/dist/assets/activity-log.86a173c5.js +0 -1
  355. package/dist/assets/bg-BG.6ccbe392.js +0 -1
  356. package/dist/assets/de-DE.980a9df8.js +0 -1
  357. package/dist/assets/display.c9e4c238.js +0 -1
  358. package/dist/assets/es-419.b77b2103.js +0 -1
  359. package/dist/assets/es-CL.e5af69da.js +0 -1
  360. package/dist/assets/es-ES.7fd65f45.js +0 -1
  361. package/dist/assets/es-MX.84fb11f1.js +0 -1
  362. package/dist/assets/fi-FI.f2ba369a.js +0 -1
  363. package/dist/assets/flows.c21cd837.js +0 -16
  364. package/dist/assets/fr-CA.bd73b96f.js +0 -1
  365. package/dist/assets/fr-FR.f86a9f41.js +0 -1
  366. package/dist/assets/he-IL.7b11dc5e.js +0 -1
  367. package/dist/assets/index.03840c13.css +0 -1
  368. package/dist/assets/index.cd90c757.js +0 -1
  369. package/dist/assets/it-IT.922112b6.js +0 -1
  370. package/dist/assets/operations.845da620.js +0 -1
  371. package/dist/assets/pl-PL.dfc1a032.js +0 -1
  372. package/dist/assets/presets-bookmarks.3d6f189f.js +0 -1
  373. package/dist/assets/project-settings.5ba0a483.js +0 -1
  374. package/dist/assets/pt-BR.a8e95f48.js +0 -1
  375. package/dist/assets/tr-TR.039a12a9.js +0 -1
  376. package/dist/assets/triggers.44226865.js +0 -1
  377. package/dist/assets/vi-VN.fff05bda.js +0 -1
  378. package/dist/assets/vue.f73b7cd5.entry.js +0 -1
  379. package/dist/assets/zh-CN.e03e0e56.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as l,o as c,b as h,w as t,g as s,e as a,B as e}from"./runtime-core.esm-bundler.e3d5f5b7.js";const d={class:"markdown-body"},p=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. "),u=e("Learn more about Revisions"),_=e("."),m=s("hr",null,null,-1),v=s("h2",{id:"the-revision-object",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#the-revision-object"},"#"),e(" The Revision Object")],-1),j=s("p",null,[s("code",null,"id"),e(),s("strong",null,"integer"),s("br"),e(" Primary key of the revision.")],-1),y=s("code",null,"activity",-1),g=e(),b=s("strong",null,"many-to-one",-1),f=s("br",null,null,-1),x=e(" Related activity record. Many-to-one to "),q=e("activity"),R=e("."),k=s("p",null,[s("code",null,"collection"),e(),s("strong",null,"string"),s("br"),e(" Collection in which this revision happened.")],-1),w=s("p",null,[s("code",null,"item"),e(),s("strong",null,"string"),s("br"),e(" Primary key of the item that was changed.")],-1),E=s("p",null,[s("code",null,"data"),e(),s("strong",null,"object"),s("br"),e(" Snapshot of the top-level item data.")],-1),T=s("p",null,[s("code",null,"delta"),e(),s("strong",null,"object"),s("br"),e(" Snapshot of the changes made in this revision.")],-1),P=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),S=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-punctuation"},"{"),e(`
1
+ import{a as l,o as c,b as h,w as t,l as s,e as a,E as e}from"./runtime-core.esm-bundler.32cac88a.js";const d={class:"markdown-body"},p=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. "),u=e("Learn more about Revisions"),_=e("."),m=s("hr",null,null,-1),v=s("h2",{id:"the-revision-object",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#the-revision-object"},"#"),e(" The Revision Object")],-1),j=s("p",null,[s("code",null,"id"),e(),s("strong",null,"integer"),s("br"),e(" Primary key of the revision.")],-1),y=s("code",null,"activity",-1),g=e(),b=s("strong",null,"many-to-one",-1),f=s("br",null,null,-1),x=e(" Related activity record. Many-to-one to "),q=e("activity"),R=e("."),k=s("p",null,[s("code",null,"collection"),e(),s("strong",null,"string"),s("br"),e(" Collection in which this revision happened.")],-1),w=s("p",null,[s("code",null,"item"),e(),s("strong",null,"string"),s("br"),e(" Primary key of the item that was changed.")],-1),E=s("p",null,[s("code",null,"data"),e(),s("strong",null,"object"),s("br"),e(" Snapshot of the top-level item data.")],-1),T=s("p",null,[s("code",null,"delta"),e(),s("strong",null,"object"),s("br"),e(" Snapshot of the changes made in this revision.")],-1),P=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),S=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-punctuation"},"{"),e(`
2
2
  `),s("span",{class:"hljs-attr"},'"id"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-number"},"368"),s("span",{class:"hljs-punctuation"},","),e(`
3
3
  `),s("span",{class:"hljs-attr"},'"activity"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-number"},"438"),s("span",{class:"hljs-punctuation"},","),e(`
4
4
  `),s("span",{class:"hljs-attr"},'"collection"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-string"},'"articles"'),s("span",{class:"hljs-punctuation"},","),e(`
@@ -11,7 +11,7 @@ import{a as l,o as c,b as h,w as t,g as s,e as a,B as e}from"./runtime-core.esm-
11
11
  `),s("span",{class:"hljs-punctuation"},"}"),s("span",{class:"hljs-punctuation"},","),e(`
12
12
  `),s("span",{class:"hljs-attr"},'"parent"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-literal"},[s("span",{class:"hljs-keyword"},"null")]),e(`
13
13
  `),s("span",{class:"hljs-punctuation"},"}"),e(`
14
- `)])],-1),L=s("hr",null,null,-1),Q=s("h2",{id:"list-revisions",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#list-revisions"},"#"),e(" List revisions")],-1),A=s("p",null,"List all revisions that exist in Directus.",-1),C=s("div",{class:"tip hint"},[s("div",{class:"hint-title"},"Permissions"),s("p",null,"The data returned in this endpoint will be filtered based on the user\u2019s permissions. For example, revisions that apply to a collection that the current user doesn\u2019t have access to are stripped out.")],-1),G=s("h3",{id:"query-parameters",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters"},"#"),e(" Query Parameters")],-1),D=e("Supports all "),I=e("global query parameters"),B=e("."),H=s("h3",{id:"returns",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns"},"#"),e(" Returns")],-1),N=e("An array of up to "),O=e("limit"),V=e(),M=s("a",{href:"#the-revision-object"},"revision objects",-1),F=e(". If no items are available, data will be an empty array."),W=s("h3",{id:"rest-api",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api"},"#"),e(" REST API")],-1),z=s("pre",null,[s("code",null,`GET /revisions
14
+ `)])],-1),L=s("hr",null,null,-1),Q=s("h2",{id:"list-revisions",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#list-revisions"},"#"),e(" List revisions")],-1),A=s("p",null,"List all revisions that exist in Directus.",-1),C=s("div",{class:"tip hint"},[s("div",{class:"hint-title"},"Permissions"),s("p",null,"The data returned in this endpoint will be filtered based on the user\u2019s permissions. For example, revisions that apply to a collection that the current user doesn\u2019t have access to are stripped out.")],-1),G=s("h3",{id:"query-parameters",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters"},"#"),e(" Query Parameters")],-1),D=e("Supports all "),I=e("global query parameters"),H=e("."),B=s("h3",{id:"returns",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns"},"#"),e(" Returns")],-1),N=e("An array of up to "),O=e("limit"),V=e(),M=s("a",{href:"#the-revision-object"},"revision objects",-1),F=e(". If no items are available, data will be an empty array."),W=s("h3",{id:"rest-api",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api"},"#"),e(" REST API")],-1),z=s("pre",null,[s("code",null,`GET /revisions
15
15
  SEARCH /revisions
16
16
  `)],-1),J=e("Learn more about SEARCH ->"),K=s("h3",{id:"graphql",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql"},"#"),e(" GraphQL")],-1),U=s("pre",null,[s("code",null,`POST /graphql/system
17
17
  `)],-1),X=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
@@ -37,4 +37,4 @@ SEARCH /revisions
37
37
  delta
38
38
  }
39
39
  }
40
- `)])],-1),fs="Revisions",xs=!1,qs="REST and GraphQL API documentation on the Revisions collection in Directus.",Rs="2 min read",ks="page-reference",ws={name:"revisions",setup(js,{expose:i}){const o={title:"Revisions",modularExtension:!1,description:"REST and GraphQL API documentation on the Revisions collection in Directus.",readTime:"2 min read",pageClass:"page-reference"};return i({frontmatter:o}),(ys,gs)=>{const n=l("router-link"),r=l("docs-wrapper");return c(),h(r,{frontmatter:o},{default:t(()=>[s("div",d,[s("blockquote",null,[s("p",null,[p,a(n,{to:"/docs/getting-started/glossary#revisions"},{default:t(()=>[u]),_:1}),_])]),m,v,j,s("p",null,[y,g,b,f,x,a(n,{to:"/docs/reference/system/activity"},{default:t(()=>[q]),_:1}),R]),k,w,E,T,P,S,L,Q,A,C,G,s("p",null,[D,a(n,{to:"/docs/reference/query"},{default:t(()=>[I]),_:1}),B]),H,s("p",null,[N,a(n,{to:"/docs/reference/query#limit"},{default:t(()=>[O]),_:1}),V,M,F]),W,z,s("p",null,[a(n,{to:"/docs/reference/introduction#search-http-method"},{default:t(()=>[J]),_:1})]),K,U,X,Y,Z,$,ss,es,ts,s("p",null,[ns,a(n,{to:"/docs/reference/query"},{default:t(()=>[as]),_:1}),os]),ls,is,rs,cs,hs,ds,ps,us,_s,ms,vs])]),_:1})}}};export{ws as default,qs as description,xs as modularExtension,ks as pageClass,Rs as readTime,fs as title};
40
+ `)])],-1),fs="Revisions",xs=!1,qs="REST and GraphQL API documentation on the Revisions collection in Directus.",Rs="2 min read",ks="page-reference",ws={name:"revisions",setup(js,{expose:i}){const o={title:"Revisions",modularExtension:!1,description:"REST and GraphQL API documentation on the Revisions collection in Directus.",readTime:"2 min read",pageClass:"page-reference"};return i({frontmatter:o}),(ys,gs)=>{const n=l("router-link"),r=l("docs-wrapper");return c(),h(r,{frontmatter:o},{default:t(()=>[s("div",d,[s("blockquote",null,[s("p",null,[p,a(n,{to:"/docs/getting-started/glossary#revisions"},{default:t(()=>[u]),_:1}),_])]),m,v,j,s("p",null,[y,g,b,f,x,a(n,{to:"/docs/reference/system/activity"},{default:t(()=>[q]),_:1}),R]),k,w,E,T,P,S,L,Q,A,C,G,s("p",null,[D,a(n,{to:"/docs/reference/query"},{default:t(()=>[I]),_:1}),H]),B,s("p",null,[N,a(n,{to:"/docs/reference/query#limit"},{default:t(()=>[O]),_:1}),V,M,F]),W,z,s("p",null,[a(n,{to:"/docs/reference/introduction#search-http-method"},{default:t(()=>[J]),_:1})]),K,U,X,Y,Z,$,ss,es,ts,s("p",null,[ns,a(n,{to:"/docs/reference/query"},{default:t(()=>[as]),_:1}),os]),ls,is,rs,cs,hs,ds,ps,us,_s,ms,vs])]),_:1})}}};export{ws as default,qs as description,xs as modularExtension,ks as pageClass,Rs as readTime,fs as title};
@@ -1,4 +1,4 @@
1
- import{a as o,o as h,b as i,w as a,g as s,e as n,B as e}from"./runtime-core.esm-bundler.e3d5f5b7.js";const d={class:"markdown-body"},p=e("Roles define a specific set of access permissions, and are the primary organizational structure for Users within the platform. "),u=e("Learn more about Roles"),_=e("."),j=s("hr",null,null,-1),m=s("h2",{id:"the-role-object",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#the-role-object"},"#"),e(" The Role Object")],-1),f=s("p",null,[s("code",null,"id"),e(),s("strong",null,"uuid"),s("br"),e(" Primary key of the role.")],-1),g=s("p",null,[s("code",null,"name"),e(),s("strong",null,"string"),s("br"),e(" Name of the role.")],-1),b=s("p",null,[s("code",null,"icon"),e(),s("strong",null,"string"),s("br"),e(" Icon for the role. Displayed in the Admin App.")],-1),y=s("p",null,[s("code",null,"description"),e(),s("strong",null,"string"),s("br"),e(" Description for the role. Displayed in the Admin App.")],-1),x=s("p",null,[s("code",null,"ip_access"),e(),s("strong",null,"csv"),s("br"),e(" A CSV of IP addresses that have access to this role. Allows you to configure an allowlist of IP addresses.")],-1),q=s("p",null,[s("code",null,"enforce_tfa"),e(),s("strong",null,"boolean"),s("br"),e(" Whether or not Two-Factor Authentication is required for users in this role.")],-1),R=s("p",null,[s("code",null,"admin_access"),e(),s("strong",null,"boolean"),s("br"),e(" If this role is considered an admin role. This means that users in this role have full permissions to everything.")],-1),E=s("p",null,[s("code",null,"app_access"),e(),s("strong",null,"boolean"),s("br"),e(" Whether or not users in this role have access to use the Admin App.")],-1),k=s("code",null,"users",-1),w=e(),T=s("strong",null,"one-to-many",-1),P=s("br",null,null,-1),A=e(" The users in this role. One-to-many to "),S=e("users"),I=e("."),D=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-punctuation"},"{"),e(`
1
+ import{a as o,o as h,b as i,w as a,l as s,e as n,E as e}from"./runtime-core.esm-bundler.32cac88a.js";const d={class:"markdown-body"},p=e("Roles define a specific set of access permissions, and are the primary organizational structure for Users within the platform. "),u=e("Learn more about Roles"),_=e("."),j=s("hr",null,null,-1),m=s("h2",{id:"the-role-object",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#the-role-object"},"#"),e(" The Role Object")],-1),f=s("p",null,[s("code",null,"id"),e(),s("strong",null,"uuid"),s("br"),e(" Primary key of the role.")],-1),b=s("p",null,[s("code",null,"name"),e(),s("strong",null,"string"),s("br"),e(" Name of the role.")],-1),g=s("p",null,[s("code",null,"icon"),e(),s("strong",null,"string"),s("br"),e(" Icon for the role. Displayed in the Admin App.")],-1),y=s("p",null,[s("code",null,"description"),e(),s("strong",null,"string"),s("br"),e(" Description for the role. Displayed in the Admin App.")],-1),x=s("p",null,[s("code",null,"ip_access"),e(),s("strong",null,"csv"),s("br"),e(" A CSV of IP addresses that have access to this role. Allows you to configure an allowlist of IP addresses.")],-1),q=s("p",null,[s("code",null,"enforce_tfa"),e(),s("strong",null,"boolean"),s("br"),e(" Whether or not Two-Factor Authentication is required for users in this role.")],-1),R=s("p",null,[s("code",null,"admin_access"),e(),s("strong",null,"boolean"),s("br"),e(" If this role is considered an admin role. This means that users in this role have full permissions to everything.")],-1),E=s("p",null,[s("code",null,"app_access"),e(),s("strong",null,"boolean"),s("br"),e(" Whether or not users in this role have access to use the Admin App.")],-1),k=s("code",null,"users",-1),w=e(),T=s("strong",null,"one-to-many",-1),P=s("br",null,null,-1),A=e(" The users in this role. One-to-many to "),S=e("users"),I=e("."),D=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-punctuation"},"{"),e(`
2
2
  `),s("span",{class:"hljs-attr"},'"id"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-string"},'"653925a9-970e-487a-bfc0-ab6c96affcdc"'),s("span",{class:"hljs-punctuation"},","),e(`
3
3
  `),s("span",{class:"hljs-attr"},'"name"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-string"},'"Admin"'),s("span",{class:"hljs-punctuation"},","),e(`
4
4
  `),s("span",{class:"hljs-attr"},'"icon"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-string"},'"supervised_user_circle"'),s("span",{class:"hljs-punctuation"},","),e(`
@@ -9,7 +9,7 @@ import{a as o,o as h,b as i,w as a,g as s,e as n,B as e}from"./runtime-core.esm-
9
9
  `),s("span",{class:"hljs-attr"},'"app_access"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-literal"},[s("span",{class:"hljs-keyword"},"true")]),s("span",{class:"hljs-punctuation"},","),e(`
10
10
  `),s("span",{class:"hljs-attr"},'"users"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-punctuation"},"["),s("span",{class:"hljs-string"},'"0bc7b36a-9ba9-4ce0-83f0-0a526f354e07"'),s("span",{class:"hljs-punctuation"},"]"),e(`
11
11
  `),s("span",{class:"hljs-punctuation"},"}"),e(`
12
- `)])],-1),L=s("hr",null,null,-1),Q=s("h2",{id:"list-roles",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#list-roles"},"#"),e(" List Roles")],-1),C=s("p",null,"List all roles that exist in Directus.",-1),v=s("h3",{id:"query-parameters",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters"},"#"),e(" Query Parameters")],-1),O=e("Supports all "),G=e("global query parameters"),B=e("."),M=s("h3",{id:"returns",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns"},"#"),e(" Returns")],-1),H=e("An array of up to "),U=e("limit"),N=e(),V=s("a",{href:"#the-role-object"},"role objects",-1),W=e(". If no items are available, data will be an empty array."),z=s("h3",{id:"rest-api",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api"},"#"),e(" REST API")],-1),F=s("pre",null,[s("code",null,`GET /roles
12
+ `)])],-1),L=s("hr",null,null,-1),Q=s("h2",{id:"list-roles",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#list-roles"},"#"),e(" List Roles")],-1),C=s("p",null,"List all roles that exist in Directus.",-1),v=s("h3",{id:"query-parameters",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters"},"#"),e(" Query Parameters")],-1),O=e("Supports all "),G=e("global query parameters"),M=e("."),B=s("h3",{id:"returns",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns"},"#"),e(" Returns")],-1),H=e("An array of up to "),U=e("limit"),N=e(),V=s("a",{href:"#the-role-object"},"role objects",-1),W=e(". If no items are available, data will be an empty array."),z=s("h3",{id:"rest-api",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api"},"#"),e(" REST API")],-1),F=s("pre",null,[s("code",null,`GET /roles
13
13
  SEARCH /roles
14
14
  `)],-1),J=e("Learn more about SEARCH ->"),K=s("h3",{id:"graphql",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql"},"#"),e(" GraphQL")],-1),X=s("pre",null,[s("code",null,`POST /graphql/system
15
15
  `)],-1),Y=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
@@ -39,7 +39,7 @@ SEARCH /roles
39
39
  }
40
40
  }
41
41
  }
42
- `)])],-1),gs=s("hr",null,null,-1),bs=s("h2",{id:"create-a-role",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#create-a-role"},"#"),e(" Create a Role")],-1),ys=s("p",null,"Create a new role.",-1),xs=s("h3",{id:"query-parameters-2",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters-2"},"#"),e(" Query Parameters")],-1),qs=e("Supports all "),Rs=e("global query parameters"),Es=e("."),ks=s("h3",{id:"request-body",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body"},"#"),e(" Request Body")],-1),ws=s("p",null,[e("A partial "),s("a",{href:"#the-role-object"},"role object"),e(".")],-1),Ts=s("h3",{id:"returns-2",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-2"},"#"),e(" Returns")],-1),Ps=s("p",null,[e("Returns the "),s("a",{href:"#the-role-object"},"role object"),e(" for the created role.")],-1),As=s("h3",{id:"rest-api-2",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-2"},"#"),e(" REST API")],-1),Ss=s("pre",null,[s("code",null,`POST /roles
42
+ `)])],-1),bs=s("hr",null,null,-1),gs=s("h2",{id:"create-a-role",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#create-a-role"},"#"),e(" Create a Role")],-1),ys=s("p",null,"Create a new role.",-1),xs=s("h3",{id:"query-parameters-2",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters-2"},"#"),e(" Query Parameters")],-1),qs=e("Supports all "),Rs=e("global query parameters"),Es=e("."),ks=s("h3",{id:"request-body",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body"},"#"),e(" Request Body")],-1),ws=s("p",null,[e("A partial "),s("a",{href:"#the-role-object"},"role object"),e(".")],-1),Ts=s("h3",{id:"returns-2",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-2"},"#"),e(" Returns")],-1),Ps=s("p",null,[e("Returns the "),s("a",{href:"#the-role-object"},"role object"),e(" for the created role.")],-1),As=s("h3",{id:"rest-api-2",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-2"},"#"),e(" REST API")],-1),Ss=s("pre",null,[s("code",null,`POST /roles
43
43
  `)],-1),Is=s("h5",{id:"example-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-3"},"#"),e(" Example")],-1),Ds=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// POST /roles"),e(`
44
44
 
45
45
  `),s("span",{class:"hljs-punctuation"},"{"),e(`
@@ -64,7 +64,7 @@ SEARCH /roles
64
64
  }
65
65
  }
66
66
  }
67
- `)])],-1),Gs=s("hr",null,null,-1),Bs=s("h2",{id:"create-multiple-roles",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#create-multiple-roles"},"#"),e(" Create Multiple Roles")],-1),Ms=s("p",null,"Create multiple new roles.",-1),Hs=s("h3",{id:"query-parameters-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters-3"},"#"),e(" Query Parameters")],-1),Us=e("Supports all "),Ns=e("global query parameters"),Vs=e("."),Ws=s("h3",{id:"request-body-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body-1"},"#"),e(" Request Body")],-1),zs=s("p",null,[e("An array of partial "),s("a",{href:"#the-role-object"},"role objects"),e(".")],-1),Fs=s("h3",{id:"returns-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-3"},"#"),e(" Returns")],-1),Js=s("p",null,[e("Returns the "),s("a",{href:"#the-role-object"},"role objects"),e(" for the created roles.")],-1),Ks=s("h3",{id:"rest-api-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-3"},"#"),e(" REST API")],-1),Xs=s("pre",null,[s("code",null,`POST /roles
67
+ `)])],-1),Gs=s("hr",null,null,-1),Ms=s("h2",{id:"create-multiple-roles",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#create-multiple-roles"},"#"),e(" Create Multiple Roles")],-1),Bs=s("p",null,"Create multiple new roles.",-1),Hs=s("h3",{id:"query-parameters-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters-3"},"#"),e(" Query Parameters")],-1),Us=e("Supports all "),Ns=e("global query parameters"),Vs=e("."),Ws=s("h3",{id:"request-body-1",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body-1"},"#"),e(" Request Body")],-1),zs=s("p",null,[e("An array of partial "),s("a",{href:"#the-role-object"},"role objects"),e(".")],-1),Fs=s("h3",{id:"returns-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-3"},"#"),e(" Returns")],-1),Js=s("p",null,[e("Returns the "),s("a",{href:"#the-role-object"},"role objects"),e(" for the created roles.")],-1),Ks=s("h3",{id:"rest-api-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-3"},"#"),e(" REST API")],-1),Xs=s("pre",null,[s("code",null,`POST /roles
68
68
  `)],-1),Ys=s("h5",{id:"example-5",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-5"},"#"),e(" Example")],-1),Zs=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// POST /roles"),e(`
69
69
 
70
70
  `),s("span",{class:"hljs-punctuation"},"["),e(`
@@ -102,12 +102,12 @@ SEARCH /roles
102
102
  }
103
103
  }
104
104
  `)])],-1),ne=s("hr",null,null,-1),le=s("h2",{id:"update-a-role",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#update-a-role"},"#"),e(" Update a Role")],-1),oe=s("p",null,"Update an existing role.",-1),re=s("h3",{id:"query-parameters-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters-4"},"#"),e(" Query Parameters")],-1),ce=e("Supports all "),he=e("global query parameters"),ie=e("."),de=s("h3",{id:"request-body-2",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body-2"},"#"),e(" Request Body")],-1),pe=s("p",null,[e("A partial "),s("a",{href:"#the-role-object"},"role object"),e(".")],-1),ue=s("h3",{id:"returns-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-4"},"#"),e(" Returns")],-1),_e=s("p",null,[e("Returns the "),s("a",{href:"#the-role-object"},"role object"),e(" for the updated role.")],-1),je=s("h3",{id:"rest-api-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-4"},"#"),e(" REST API")],-1),me=s("pre",null,[s("code",null,`PATCH /roles/:id
105
- `)],-1),fe=s("h5",{id:"example-7",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-7"},"#"),e(" Example")],-1),ge=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// PATCH /roles/c86c2761-65d3-43c3-897f-6f74ad6a5bd7"),e(`
105
+ `)],-1),fe=s("h5",{id:"example-7",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-7"},"#"),e(" Example")],-1),be=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// PATCH /roles/c86c2761-65d3-43c3-897f-6f74ad6a5bd7"),e(`
106
106
 
107
107
  `),s("span",{class:"hljs-punctuation"},"{"),e(`
108
108
  `),s("span",{class:"hljs-attr"},'"icon"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-string"},'"attractions"'),e(`
109
109
  `),s("span",{class:"hljs-punctuation"},"}"),e(`
110
- `)])],-1),be=s("h3",{id:"graphql-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-4"},"#"),e(" GraphQL")],-1),ye=s("pre",null,[s("code",null,`POST /graphql/system
110
+ `)])],-1),ge=s("h3",{id:"graphql-4",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-4"},"#"),e(" GraphQL")],-1),ye=s("pre",null,[s("code",null,`POST /graphql/system
111
111
  `)],-1),xe=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
112
112
  update_roles_item(id:`),s("span",{class:"hljs-literal"}," ID"),e(`!, data: update_directus_roles_input): directus_roles
113
113
  }
@@ -121,7 +121,7 @@ SEARCH /roles
121
121
  }
122
122
  }
123
123
  `)])],-1),Ee=s("hr",null,null,-1),ke=s("h2",{id:"update-multiple-roles",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#update-multiple-roles"},"#"),e(" Update Multiple Roles")],-1),we=s("p",null,"Update multiple existing roles.",-1),Te=s("h3",{id:"query-parameters-5",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#query-parameters-5"},"#"),e(" Query Parameters")],-1),Pe=e("Supports all "),Ae=e("global query parameters"),Se=e("."),Ie=s("h3",{id:"request-body-3",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#request-body-3"},"#"),e(" Request Body")],-1),De=s("p",null,[s("code",null,"keys"),e(),s("strong",null,"Required"),s("br"),e(" Array of primary keys of the roles you\u2019d like to update.")],-1),Le=s("p",null,[s("code",null,"data"),e(),s("strong",null,"Required"),s("br"),e(" Any of "),s("a",{href:"#the-role-object"},"the role object"),e("\u2019s properties.")],-1),Qe=s("h3",{id:"returns-5",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns-5"},"#"),e(" Returns")],-1),Ce=s("p",null,[e("Returns the "),s("a",{href:"#the-role-object"},"role objects"),e(" for the updated roles.")],-1),ve=s("h3",{id:"rest-api-5",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#rest-api-5"},"#"),e(" REST API")],-1),Oe=s("pre",null,[s("code",null,`PATCH /roles
124
- `)],-1),Ge=s("h5",{id:"example-9",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-9"},"#"),e(" Example")],-1),Be=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// PATCH /roles"),e(`
124
+ `)],-1),Ge=s("h5",{id:"example-9",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-9"},"#"),e(" Example")],-1),Me=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// PATCH /roles"),e(`
125
125
 
126
126
  `),s("span",{class:"hljs-punctuation"},"{"),e(`
127
127
  `),s("span",{class:"hljs-attr"},'"keys"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-punctuation"},"["),s("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),s("span",{class:"hljs-punctuation"},","),e(),s("span",{class:"hljs-string"},'"6fc3d5d3-a37b-4da8-a2f4-ed62ad5abe03"'),s("span",{class:"hljs-punctuation"},"]"),s("span",{class:"hljs-punctuation"},","),e(`
@@ -129,7 +129,7 @@ SEARCH /roles
129
129
  `),s("span",{class:"hljs-attr"},'"icon"'),s("span",{class:"hljs-punctuation"},":"),e(),s("span",{class:"hljs-string"},'"attractions"'),e(`
130
130
  `),s("span",{class:"hljs-punctuation"},"}"),e(`
131
131
  `),s("span",{class:"hljs-punctuation"},"}"),e(`
132
- `)])],-1),Me=s("h3",{id:"graphql-5",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-5"},"#"),e(" GraphQL")],-1),He=s("pre",null,[s("code",null,`POST /graphql/system
132
+ `)])],-1),Be=s("h3",{id:"graphql-5",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-5"},"#"),e(" GraphQL")],-1),He=s("pre",null,[s("code",null,`POST /graphql/system
133
133
  `)],-1),Ue=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
134
134
  update_roles_items(ids: `),s("span",{class:"hljs-literal"},"[ID"),e(`!]!, data: update_directus_roles_input): [directus_roles]
135
135
  }
@@ -160,12 +160,12 @@ SEARCH /roles
160
160
  `)],-1),_a=s("h5",{id:"example-13",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-13"},"#"),e(" Example")],-1),ja=s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// DELETE /roles"),e(`
161
161
  `),s("span",{class:"hljs-punctuation"},"["),s("span",{class:"hljs-string"},'"653925a9-970e-487a-bfc0-ab6c96affcdc"'),s("span",{class:"hljs-punctuation"},","),e(),s("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),s("span",{class:"hljs-punctuation"},"]"),e(`
162
162
  `)])],-1),ma=s("h3",{id:"graphql-7",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#graphql-7"},"#"),e(" GraphQL")],-1),fa=s("pre",null,[s("code",null,`POST /graphql/system
163
- `)],-1),ga=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
163
+ `)],-1),ba=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
164
164
  delete_roles_items(ids: `),s("span",{class:"hljs-literal"},"[ID"),e(`!]!): delete_many
165
165
  }
166
- `)])],-1),ba=s("h5",{id:"example-14",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-14"},"#"),e(" Example")],-1),ya=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),e(` {
166
+ `)])],-1),ga=s("h5",{id:"example-14",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#example-14"},"#"),e(" Example")],-1),ya=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),e(` {
167
167
  delete_roles_items(ids: [`),s("span",{class:"hljs-string"},'"653925a9-970e-487a-bfc0-ab6c96affcdc"'),e(", "),s("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),e(`]) {
168
168
  ids
169
169
  }
170
170
  }
171
- `)])],-1),xa=s("hr",null,null,-1),wa="Roles",Ta=!1,Pa="REST and GraphQL API documentation on the Roles collection in Directus.",Aa="5 min read",Sa="page-reference",Ia={name:"roles",setup(qa,{expose:r}){const l={title:"Roles",modularExtension:!1,description:"REST and GraphQL API documentation on the Roles collection in Directus.",readTime:"5 min read",pageClass:"page-reference"};return r({frontmatter:l}),(Ra,Ea)=>{const t=o("router-link"),c=o("docs-wrapper");return h(),i(c,{frontmatter:l},{default:a(()=>[s("div",d,[s("blockquote",null,[s("p",null,[p,n(t,{to:"/docs/getting-started/glossary#roles"},{default:a(()=>[u]),_:1}),_])]),j,m,f,g,b,y,x,q,R,E,s("p",null,[k,w,T,P,A,n(t,{to:"/docs/reference/system/users"},{default:a(()=>[S]),_:1}),I]),D,L,Q,C,v,s("p",null,[O,n(t,{to:"/docs/reference/query"},{default:a(()=>[G]),_:1}),B]),M,s("p",null,[H,n(t,{to:"/docs/reference/query#limit"},{default:a(()=>[U]),_:1}),N,V,W]),z,F,s("p",null,[n(t,{to:"/docs/reference/introduction#search-http-method"},{default:a(()=>[J]),_:1})]),K,X,Y,Z,$,ss,es,as,ts,s("p",null,[ns,n(t,{to:"/docs/reference/query"},{default:a(()=>[ls]),_:1}),os]),rs,cs,hs,is,ds,ps,us,_s,js,ms,fs,gs,bs,ys,xs,s("p",null,[qs,n(t,{to:"/docs/reference/query"},{default:a(()=>[Rs]),_:1}),Es]),ks,ws,Ts,Ps,As,Ss,Is,Ds,Ls,Qs,Cs,vs,Os,Gs,Bs,Ms,Hs,s("p",null,[Us,n(t,{to:"/docs/reference/query"},{default:a(()=>[Ns]),_:1}),Vs]),Ws,zs,Fs,Js,Ks,Xs,Ys,Zs,$s,se,ee,ae,te,ne,le,oe,re,s("p",null,[ce,n(t,{to:"/docs/reference/query"},{default:a(()=>[he]),_:1}),ie]),de,pe,ue,_e,je,me,fe,ge,be,ye,xe,qe,Re,Ee,ke,we,Te,s("p",null,[Pe,n(t,{to:"/docs/reference/query"},{default:a(()=>[Ae]),_:1}),Se]),Ie,De,Le,Qe,Ce,ve,Oe,Ge,Be,Me,He,Ue,Ne,Ve,We,ze,Fe,Je,Ke,Xe,Ye,Ze,$e,sa,ea,aa,ta,na,la,oa,ra,ca,ha,ia,da,pa,ua,_a,ja,ma,fa,ga,ba,ya,xa])]),_:1})}}};export{Ia as default,Pa as description,Ta as modularExtension,Sa as pageClass,Aa as readTime,wa as title};
171
+ `)])],-1),xa=s("hr",null,null,-1),wa="Roles",Ta=!1,Pa="REST and GraphQL API documentation on the Roles collection in Directus.",Aa="5 min read",Sa="page-reference",Ia={name:"roles",setup(qa,{expose:r}){const l={title:"Roles",modularExtension:!1,description:"REST and GraphQL API documentation on the Roles collection in Directus.",readTime:"5 min read",pageClass:"page-reference"};return r({frontmatter:l}),(Ra,Ea)=>{const t=o("router-link"),c=o("docs-wrapper");return h(),i(c,{frontmatter:l},{default:a(()=>[s("div",d,[s("blockquote",null,[s("p",null,[p,n(t,{to:"/docs/getting-started/glossary#roles"},{default:a(()=>[u]),_:1}),_])]),j,m,f,b,g,y,x,q,R,E,s("p",null,[k,w,T,P,A,n(t,{to:"/docs/reference/system/users"},{default:a(()=>[S]),_:1}),I]),D,L,Q,C,v,s("p",null,[O,n(t,{to:"/docs/reference/query"},{default:a(()=>[G]),_:1}),M]),B,s("p",null,[H,n(t,{to:"/docs/reference/query#limit"},{default:a(()=>[U]),_:1}),N,V,W]),z,F,s("p",null,[n(t,{to:"/docs/reference/introduction#search-http-method"},{default:a(()=>[J]),_:1})]),K,X,Y,Z,$,ss,es,as,ts,s("p",null,[ns,n(t,{to:"/docs/reference/query"},{default:a(()=>[ls]),_:1}),os]),rs,cs,hs,is,ds,ps,us,_s,js,ms,fs,bs,gs,ys,xs,s("p",null,[qs,n(t,{to:"/docs/reference/query"},{default:a(()=>[Rs]),_:1}),Es]),ks,ws,Ts,Ps,As,Ss,Is,Ds,Ls,Qs,Cs,vs,Os,Gs,Ms,Bs,Hs,s("p",null,[Us,n(t,{to:"/docs/reference/query"},{default:a(()=>[Ns]),_:1}),Vs]),Ws,zs,Fs,Js,Ks,Xs,Ys,Zs,$s,se,ee,ae,te,ne,le,oe,re,s("p",null,[ce,n(t,{to:"/docs/reference/query"},{default:a(()=>[he]),_:1}),ie]),de,pe,ue,_e,je,me,fe,be,ge,ye,xe,qe,Re,Ee,ke,we,Te,s("p",null,[Pe,n(t,{to:"/docs/reference/query"},{default:a(()=>[Ae]),_:1}),Se]),Ie,De,Le,Qe,Ce,ve,Oe,Ge,Me,Be,He,Ue,Ne,Ve,We,ze,Fe,Je,Ke,Xe,Ye,Ze,$e,sa,ea,aa,ta,na,la,oa,ra,ca,ha,ia,da,pa,ua,_a,ja,ma,fa,ba,ga,ya,xa])]),_:1})}}};export{Ia as default,Pa as description,Ta as modularExtension,Sa as pageClass,Aa as readTime,wa as title};
@@ -1 +1 @@
1
- import{y as d}from"./index.5552d1ba.entry.js";function m(i,f){return f.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(n){if(n!=="default"&&!(n in i)){var c=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(i,n,c.get?c:{enumerable:!0,get:function(){return e[n]}})}})}),Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};(function(i,f){(function(e){e(d.exports)})(function(e){e.defineMode("rpm-changes",function(){var n=/^-+$/,c=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,a=/^[\w+.-]+@[\w.-]+/;return{token:function(o){return o.sol()&&(o.match(n)||o.match(c))?"tag":o.match(a)?"string":(o.next(),null)}}}),e.defineMIME("text/x-rpm-changes","rpm-changes"),e.defineMode("rpm-spec",function(){var n=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,c=/^[a-zA-Z0-9()]+:/,a=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,o=/^%(ifnarch|ifarch|if)/,u=/^%(else|endif)/,l=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(r,t){var h=r.peek();if(h=="#")return r.skipToEnd(),"comment";if(r.sol()){if(r.match(c))return"header";if(r.match(a))return"atom"}if(r.match(/^\$\w+/)||r.match(/^\$\{\w+\}/))return"def";if(r.match(u))return"keyword";if(r.match(o))return t.controlFlow=!0,"keyword";if(t.controlFlow){if(r.match(l))return"operator";if(r.match(/^(\d+)/))return"number";r.eol()&&(t.controlFlow=!1)}if(r.match(n))return r.eol()&&(t.controlFlow=!1),"number";if(r.match(/^%[\w]+/))return r.match("(")&&(t.macroParameters=!0),"keyword";if(t.macroParameters){if(r.match(/^\d+/))return"number";if(r.match(")"))return t.macroParameters=!1,"keyword"}return r.match(/^%\{\??[\w \-\:\!]+\}/)?(r.eol()&&(t.controlFlow=!1),"def"):(r.next(),null)}}}),e.defineMIME("text/x-rpm-spec","rpm-spec")})})();var g=p.exports,v=m({__proto__:null,default:g},[p.exports]);export{v as r};
1
+ import{y as d}from"./index.a6745321.entry.js";function m(i,f){return f.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(n){if(n!=="default"&&!(n in i)){var c=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(i,n,c.get?c:{enumerable:!0,get:function(){return e[n]}})}})}),Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};(function(i,f){(function(e){e(d.exports)})(function(e){e.defineMode("rpm-changes",function(){var n=/^-+$/,c=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,a=/^[\w+.-]+@[\w.-]+/;return{token:function(o){return o.sol()&&(o.match(n)||o.match(c))?"tag":o.match(a)?"string":(o.next(),null)}}}),e.defineMIME("text/x-rpm-changes","rpm-changes"),e.defineMode("rpm-spec",function(){var n=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,c=/^[a-zA-Z0-9()]+:/,a=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,o=/^%(ifnarch|ifarch|if)/,u=/^%(else|endif)/,l=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(r,t){var h=r.peek();if(h=="#")return r.skipToEnd(),"comment";if(r.sol()){if(r.match(c))return"header";if(r.match(a))return"atom"}if(r.match(/^\$\w+/)||r.match(/^\$\{\w+\}/))return"def";if(r.match(u))return"keyword";if(r.match(o))return t.controlFlow=!0,"keyword";if(t.controlFlow){if(r.match(l))return"operator";if(r.match(/^(\d+)/))return"number";r.eol()&&(t.controlFlow=!1)}if(r.match(n))return r.eol()&&(t.controlFlow=!1),"number";if(r.match(/^%[\w]+/))return r.match("(")&&(t.macroParameters=!0),"keyword";if(t.macroParameters){if(r.match(/^\d+/))return"number";if(r.match(")"))return t.macroParameters=!1,"keyword"}return r.match(/^%\{\??[\w \-\:\!]+\}/)?(r.eol()&&(t.controlFlow=!1),"def"):(r.next(),null)}}}),e.defineMIME("text/x-rpm-spec","rpm-spec")})})();var g=p.exports,v=m({__proto__:null,default:g},[p.exports]);export{v as r};
@@ -1 +1 @@
1
- import{y as oe}from"./index.5552d1ba.entry.js";import{a as ae}from"./python.8647bbb6.js";import{a as ie}from"./stex.248311c6.js";import{o as le}from"./overlay.25718331.js";function fe(s,I){return I.forEach(function(l){l&&typeof l!="string"&&!Array.isArray(l)&&Object.keys(l).forEach(function(p){if(p!=="default"&&!(p in s)){var i=Object.getOwnPropertyDescriptor(l,p);Object.defineProperty(s,p,i.get?i:{enumerable:!0,get:function(){return l[p]}})}})}),Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(s,I){(function(l){l(oe.exports,ae.exports,ie.exports,le.exports)})(function(l){l.defineMode("rst",function(p,i){var v=/^\*\*[^\*\s](?:[^\*]*[^\*\s])?\*\*/,b=/^\*[^\*\s](?:[^\*]*[^\*\s])?\*/,w=/^``[^`\s](?:[^`]*[^`\s])``/,u=/^(?:[\d]+(?:[\.,]\d+)*)/,E=/^(?:\s\+[\d]+(?:[\.,]\d+)*)/,_=/^(?:\s\-[\d]+(?:[\.,]\d+)*)/,T="[Hh][Tt][Tt][Pp][Ss]?://",P="(?:[\\d\\w.-]+)\\.(?:\\w{2,6})",x="(?:/[\\d\\w\\#\\%\\&\\-\\.\\,\\/\\:\\=\\?\\~]+)*",y=new RegExp("^"+T+P+x),R={token:function(f){if(f.match(v)&&f.match(/\W+|$/,!1))return"strong";if(f.match(b)&&f.match(/\W+|$/,!1))return"em";if(f.match(w)&&f.match(/\W+|$/,!1))return"string-2";if(f.match(u))return"number";if(f.match(E))return"positive";if(f.match(_))return"negative";if(f.match(y))return"link";for(;f.next()!=null&&!(f.match(v,!1)||f.match(b,!1)||f.match(w,!1)||f.match(u,!1)||f.match(E,!1)||f.match(_,!1)||f.match(y,!1)););return null}},W=l.getMode(p,i.backdrop||"rst-base");return l.overlayMode(W,R,!0)},"python","stex"),l.defineMode("rst-base",function(p){function i(n){var e=Array.prototype.slice.call(arguments,1);return n.replace(/{(\d+)}/g,function(r,N){return typeof e[N]!="undefined"?e[N]:r})}var v=l.getMode(p,"python"),b=l.getMode(p,"stex"),w="\\s+",u="(?:\\s*|\\W|$)",E=new RegExp(i("^{0}",u)),_=`(?:[^\\W\\d_](?:[\\w!"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)`,T=new RegExp(i("^{0}",_)),P=`(?:[^\\W\\d_](?:[\\w\\s!"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)`,x=i("(?:{0}|`{1}`)",_,P),y="(?:[^\\s\\|](?:[^\\|]*[^\\s\\|])?)",R="(?:[^\\`]+)",W=new RegExp(i("^{0}",R)),f=new RegExp("^([!'#$%&\"()*+,-./:;<=>?@\\[\\\\\\]^_`{|}~])\\1{3,}\\s*$"),z=new RegExp(i("^\\.\\.{0}",w)),O=new RegExp(i("^_{0}:{1}|^__:{1}",x,u)),A=new RegExp(i("^{0}::{1}",x,u)),S=new RegExp(i("^\\|{0}\\|{1}{2}::{3}",y,w,x,u)),D=new RegExp(i("^\\[(?:\\d+|#{0}?|\\*)]{1}",x,u)),F=new RegExp(i("^\\[{0}\\]{1}",x,u)),j=new RegExp(i("^\\|{0}\\|",y)),H=new RegExp(i("^\\[(?:\\d+|#{0}?|\\*)]_",x)),B=new RegExp(i("^\\[{0}\\]_",x)),G=new RegExp(i("^{0}__?",x)),g=new RegExp(i("^`{0}`_",R)),h=new RegExp(i("^:{0}:`{1}`{2}",_,R,u)),m=new RegExp(i("^`{1}`:{0}:{2}",_,R,u)),$=new RegExp(i("^:{0}:{1}",_,u)),J=new RegExp(i("^{0}",x)),K=new RegExp(i("^::{0}",u)),X=new RegExp(i("^\\|{0}\\|",y)),Q=new RegExp(i("^{0}",w)),U=new RegExp(i("^{0}",x)),V=new RegExp(i("^::{0}",u)),Y=new RegExp("^_"),Z=new RegExp(i("^{0}|_",x)),C=new RegExp(i("^:{0}",u)),ee=new RegExp("^::\\s*$"),ne=new RegExp("^\\s+(?:>>>|In \\[\\d+\\]:)\\s");function o(n,e){var r=null;if(n.sol()&&n.match(ne,!1))c(e,q,{mode:v,local:l.startState(v)});else if(n.sol()&&n.match(z))c(e,t),r="meta";else if(n.sol()&&n.match(f))c(e,o),r="header";else if(k(e)==h||n.match(h,!1))switch(d(e)){case 0:c(e,o,a(h,1)),n.match(/^:/),r="meta";break;case 1:c(e,o,a(h,2)),n.match(T),r="keyword",n.current().match(/^(?:math|latex)/)&&(e.tmp_stex=!0);break;case 2:c(e,o,a(h,3)),n.match(/^:`/),r="meta";break;case 3:if(e.tmp_stex&&(e.tmp_stex=void 0,e.tmp={mode:b,local:l.startState(b)}),e.tmp){if(n.peek()=="`"){c(e,o,a(h,4)),e.tmp=void 0;break}r=e.tmp.mode.token(n,e.tmp.local);break}c(e,o,a(h,4)),n.match(W),r="string";break;case 4:c(e,o,a(h,5)),n.match(/^`/),r="meta";break;case 5:c(e,o,a(h,6)),n.match(E);break;default:c(e,o)}else if(k(e)==m||n.match(m,!1))switch(d(e)){case 0:c(e,o,a(m,1)),n.match(/^`/),r="meta";break;case 1:c(e,o,a(m,2)),n.match(W),r="string";break;case 2:c(e,o,a(m,3)),n.match(/^`:/),r="meta";break;case 3:c(e,o,a(m,4)),n.match(T),r="keyword";break;case 4:c(e,o,a(m,5)),n.match(/^:/),r="meta";break;case 5:c(e,o,a(m,6)),n.match(E);break;default:c(e,o)}else if(k(e)==$||n.match($,!1))switch(d(e)){case 0:c(e,o,a($,1)),n.match(/^:/),r="meta";break;case 1:c(e,o,a($,2)),n.match(T),r="keyword";break;case 2:c(e,o,a($,3)),n.match(/^:/),r="meta";break;case 3:c(e,o,a($,4)),n.match(E);break;default:c(e,o)}else if(k(e)==j||n.match(j,!1))switch(d(e)){case 0:c(e,o,a(j,1)),n.match(X),r="variable-2";break;case 1:c(e,o,a(j,2)),n.match(/^_?_?/)&&(r="link");break;default:c(e,o)}else if(n.match(H))c(e,o),r="quote";else if(n.match(B))c(e,o),r="quote";else if(n.match(G))c(e,o),(!n.peek()||n.peek().match(/^\W$/))&&(r="link");else if(k(e)==g||n.match(g,!1))switch(d(e)){case 0:!n.peek()||n.peek().match(/^\W$/)?c(e,o,a(g,1)):n.match(g);break;case 1:c(e,o,a(g,2)),n.match(/^`/),r="link";break;case 2:c(e,o,a(g,3)),n.match(W);break;case 3:c(e,o,a(g,4)),n.match(/^`_/),r="link";break;default:c(e,o)}else n.match(ee)?c(e,re):n.next()&&c(e,o);return r}function t(n,e){var r=null;if(k(e)==S||n.match(S,!1))switch(d(e)){case 0:c(e,t,a(S,1)),n.match(X),r="variable-2";break;case 1:c(e,t,a(S,2)),n.match(Q);break;case 2:c(e,t,a(S,3)),n.match(U),r="keyword";break;case 3:c(e,t,a(S,4)),n.match(V),r="meta";break;default:c(e,o)}else if(k(e)==A||n.match(A,!1))switch(d(e)){case 0:c(e,t,a(A,1)),n.match(J),r="keyword",n.current().match(/^(?:math|latex)/)?e.tmp_stex=!0:n.current().match(/^python/)&&(e.tmp_py=!0);break;case 1:c(e,t,a(A,2)),n.match(K),r="meta",(n.match(/^latex\s*$/)||e.tmp_stex)&&(e.tmp_stex=void 0,c(e,q,{mode:b,local:l.startState(b)}));break;case 2:c(e,t,a(A,3)),(n.match(/^python\s*$/)||e.tmp_py)&&(e.tmp_py=void 0,c(e,q,{mode:v,local:l.startState(v)}));break;default:c(e,o)}else if(k(e)==O||n.match(O,!1))switch(d(e)){case 0:c(e,t,a(O,1)),n.match(Y),n.match(Z),r="link";break;case 1:c(e,t,a(O,2)),n.match(C),r="meta";break;default:c(e,o)}else n.match(D)||n.match(F)?(c(e,o),r="quote"):(n.eatSpace(),n.eol()?c(e,o):(n.skipToEnd(),c(e,ce),r="comment"));return r}function ce(n,e){return L(n,e,"comment")}function re(n,e){return L(n,e,"meta")}function L(n,e,r){return n.eol()||n.eatSpace()?(n.skipToEnd(),r):(c(e,o),null)}function q(n,e){return e.ctx.mode&&e.ctx.local?n.sol()?(n.eatSpace()||c(e,o),null):e.ctx.mode.token(n,e.ctx.local):(c(e,o),null)}function a(n,e,r,N){return{phase:n,stage:e,mode:r,local:N}}function c(n,e,r){n.tok=e,n.ctx=r||{}}function d(n){return n.ctx.stage||0}function k(n){return n.ctx.phase}return{startState:function(){return{tok:o,ctx:a(void 0,0)}},copyState:function(n){var e=n.ctx,r=n.tmp;return e.local&&(e={mode:e.mode,local:l.copyState(e.mode,e.local)}),r&&(r={mode:r.mode,local:l.copyState(r.mode,r.local)}),{tok:n.tok,ctx:e,tmp:r}},innerMode:function(n){return n.tmp?{state:n.tmp.local,mode:n.tmp.mode}:n.ctx.mode?{state:n.ctx.local,mode:n.ctx.mode}:null},token:function(n,e){return e.tok(n,e)}}},"python","stex"),l.defineMIME("text/x-rst","rst")})})();var ue=M.exports,_e=fe({__proto__:null,default:ue},[M.exports]);export{_e as r};
1
+ import{y as oe}from"./index.a6745321.entry.js";import{a as ae}from"./python.b5ceceb5.js";import{a as ie}from"./stex.6c78fa60.js";import{o as le}from"./overlay.1ea7740c.js";function fe(s,I){return I.forEach(function(l){l&&typeof l!="string"&&!Array.isArray(l)&&Object.keys(l).forEach(function(p){if(p!=="default"&&!(p in s)){var i=Object.getOwnPropertyDescriptor(l,p);Object.defineProperty(s,p,i.get?i:{enumerable:!0,get:function(){return l[p]}})}})}),Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(s,I){(function(l){l(oe.exports,ae.exports,ie.exports,le.exports)})(function(l){l.defineMode("rst",function(p,i){var v=/^\*\*[^\*\s](?:[^\*]*[^\*\s])?\*\*/,b=/^\*[^\*\s](?:[^\*]*[^\*\s])?\*/,w=/^``[^`\s](?:[^`]*[^`\s])``/,u=/^(?:[\d]+(?:[\.,]\d+)*)/,E=/^(?:\s\+[\d]+(?:[\.,]\d+)*)/,_=/^(?:\s\-[\d]+(?:[\.,]\d+)*)/,T="[Hh][Tt][Tt][Pp][Ss]?://",P="(?:[\\d\\w.-]+)\\.(?:\\w{2,6})",x="(?:/[\\d\\w\\#\\%\\&\\-\\.\\,\\/\\:\\=\\?\\~]+)*",y=new RegExp("^"+T+P+x),R={token:function(f){if(f.match(v)&&f.match(/\W+|$/,!1))return"strong";if(f.match(b)&&f.match(/\W+|$/,!1))return"em";if(f.match(w)&&f.match(/\W+|$/,!1))return"string-2";if(f.match(u))return"number";if(f.match(E))return"positive";if(f.match(_))return"negative";if(f.match(y))return"link";for(;f.next()!=null&&!(f.match(v,!1)||f.match(b,!1)||f.match(w,!1)||f.match(u,!1)||f.match(E,!1)||f.match(_,!1)||f.match(y,!1)););return null}},W=l.getMode(p,i.backdrop||"rst-base");return l.overlayMode(W,R,!0)},"python","stex"),l.defineMode("rst-base",function(p){function i(n){var e=Array.prototype.slice.call(arguments,1);return n.replace(/{(\d+)}/g,function(r,N){return typeof e[N]!="undefined"?e[N]:r})}var v=l.getMode(p,"python"),b=l.getMode(p,"stex"),w="\\s+",u="(?:\\s*|\\W|$)",E=new RegExp(i("^{0}",u)),_=`(?:[^\\W\\d_](?:[\\w!"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)`,T=new RegExp(i("^{0}",_)),P=`(?:[^\\W\\d_](?:[\\w\\s!"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)`,x=i("(?:{0}|`{1}`)",_,P),y="(?:[^\\s\\|](?:[^\\|]*[^\\s\\|])?)",R="(?:[^\\`]+)",W=new RegExp(i("^{0}",R)),f=new RegExp("^([!'#$%&\"()*+,-./:;<=>?@\\[\\\\\\]^_`{|}~])\\1{3,}\\s*$"),z=new RegExp(i("^\\.\\.{0}",w)),O=new RegExp(i("^_{0}:{1}|^__:{1}",x,u)),A=new RegExp(i("^{0}::{1}",x,u)),S=new RegExp(i("^\\|{0}\\|{1}{2}::{3}",y,w,x,u)),D=new RegExp(i("^\\[(?:\\d+|#{0}?|\\*)]{1}",x,u)),F=new RegExp(i("^\\[{0}\\]{1}",x,u)),j=new RegExp(i("^\\|{0}\\|",y)),H=new RegExp(i("^\\[(?:\\d+|#{0}?|\\*)]_",x)),B=new RegExp(i("^\\[{0}\\]_",x)),G=new RegExp(i("^{0}__?",x)),g=new RegExp(i("^`{0}`_",R)),h=new RegExp(i("^:{0}:`{1}`{2}",_,R,u)),m=new RegExp(i("^`{1}`:{0}:{2}",_,R,u)),$=new RegExp(i("^:{0}:{1}",_,u)),J=new RegExp(i("^{0}",x)),K=new RegExp(i("^::{0}",u)),X=new RegExp(i("^\\|{0}\\|",y)),Q=new RegExp(i("^{0}",w)),U=new RegExp(i("^{0}",x)),V=new RegExp(i("^::{0}",u)),Y=new RegExp("^_"),Z=new RegExp(i("^{0}|_",x)),C=new RegExp(i("^:{0}",u)),ee=new RegExp("^::\\s*$"),ne=new RegExp("^\\s+(?:>>>|In \\[\\d+\\]:)\\s");function o(n,e){var r=null;if(n.sol()&&n.match(ne,!1))c(e,q,{mode:v,local:l.startState(v)});else if(n.sol()&&n.match(z))c(e,t),r="meta";else if(n.sol()&&n.match(f))c(e,o),r="header";else if(k(e)==h||n.match(h,!1))switch(d(e)){case 0:c(e,o,a(h,1)),n.match(/^:/),r="meta";break;case 1:c(e,o,a(h,2)),n.match(T),r="keyword",n.current().match(/^(?:math|latex)/)&&(e.tmp_stex=!0);break;case 2:c(e,o,a(h,3)),n.match(/^:`/),r="meta";break;case 3:if(e.tmp_stex&&(e.tmp_stex=void 0,e.tmp={mode:b,local:l.startState(b)}),e.tmp){if(n.peek()=="`"){c(e,o,a(h,4)),e.tmp=void 0;break}r=e.tmp.mode.token(n,e.tmp.local);break}c(e,o,a(h,4)),n.match(W),r="string";break;case 4:c(e,o,a(h,5)),n.match(/^`/),r="meta";break;case 5:c(e,o,a(h,6)),n.match(E);break;default:c(e,o)}else if(k(e)==m||n.match(m,!1))switch(d(e)){case 0:c(e,o,a(m,1)),n.match(/^`/),r="meta";break;case 1:c(e,o,a(m,2)),n.match(W),r="string";break;case 2:c(e,o,a(m,3)),n.match(/^`:/),r="meta";break;case 3:c(e,o,a(m,4)),n.match(T),r="keyword";break;case 4:c(e,o,a(m,5)),n.match(/^:/),r="meta";break;case 5:c(e,o,a(m,6)),n.match(E);break;default:c(e,o)}else if(k(e)==$||n.match($,!1))switch(d(e)){case 0:c(e,o,a($,1)),n.match(/^:/),r="meta";break;case 1:c(e,o,a($,2)),n.match(T),r="keyword";break;case 2:c(e,o,a($,3)),n.match(/^:/),r="meta";break;case 3:c(e,o,a($,4)),n.match(E);break;default:c(e,o)}else if(k(e)==j||n.match(j,!1))switch(d(e)){case 0:c(e,o,a(j,1)),n.match(X),r="variable-2";break;case 1:c(e,o,a(j,2)),n.match(/^_?_?/)&&(r="link");break;default:c(e,o)}else if(n.match(H))c(e,o),r="quote";else if(n.match(B))c(e,o),r="quote";else if(n.match(G))c(e,o),(!n.peek()||n.peek().match(/^\W$/))&&(r="link");else if(k(e)==g||n.match(g,!1))switch(d(e)){case 0:!n.peek()||n.peek().match(/^\W$/)?c(e,o,a(g,1)):n.match(g);break;case 1:c(e,o,a(g,2)),n.match(/^`/),r="link";break;case 2:c(e,o,a(g,3)),n.match(W);break;case 3:c(e,o,a(g,4)),n.match(/^`_/),r="link";break;default:c(e,o)}else n.match(ee)?c(e,re):n.next()&&c(e,o);return r}function t(n,e){var r=null;if(k(e)==S||n.match(S,!1))switch(d(e)){case 0:c(e,t,a(S,1)),n.match(X),r="variable-2";break;case 1:c(e,t,a(S,2)),n.match(Q);break;case 2:c(e,t,a(S,3)),n.match(U),r="keyword";break;case 3:c(e,t,a(S,4)),n.match(V),r="meta";break;default:c(e,o)}else if(k(e)==A||n.match(A,!1))switch(d(e)){case 0:c(e,t,a(A,1)),n.match(J),r="keyword",n.current().match(/^(?:math|latex)/)?e.tmp_stex=!0:n.current().match(/^python/)&&(e.tmp_py=!0);break;case 1:c(e,t,a(A,2)),n.match(K),r="meta",(n.match(/^latex\s*$/)||e.tmp_stex)&&(e.tmp_stex=void 0,c(e,q,{mode:b,local:l.startState(b)}));break;case 2:c(e,t,a(A,3)),(n.match(/^python\s*$/)||e.tmp_py)&&(e.tmp_py=void 0,c(e,q,{mode:v,local:l.startState(v)}));break;default:c(e,o)}else if(k(e)==O||n.match(O,!1))switch(d(e)){case 0:c(e,t,a(O,1)),n.match(Y),n.match(Z),r="link";break;case 1:c(e,t,a(O,2)),n.match(C),r="meta";break;default:c(e,o)}else n.match(D)||n.match(F)?(c(e,o),r="quote"):(n.eatSpace(),n.eol()?c(e,o):(n.skipToEnd(),c(e,ce),r="comment"));return r}function ce(n,e){return L(n,e,"comment")}function re(n,e){return L(n,e,"meta")}function L(n,e,r){return n.eol()||n.eatSpace()?(n.skipToEnd(),r):(c(e,o),null)}function q(n,e){return e.ctx.mode&&e.ctx.local?n.sol()?(n.eatSpace()||c(e,o),null):e.ctx.mode.token(n,e.ctx.local):(c(e,o),null)}function a(n,e,r,N){return{phase:n,stage:e,mode:r,local:N}}function c(n,e,r){n.tok=e,n.ctx=r||{}}function d(n){return n.ctx.stage||0}function k(n){return n.ctx.phase}return{startState:function(){return{tok:o,ctx:a(void 0,0)}},copyState:function(n){var e=n.ctx,r=n.tmp;return e.local&&(e={mode:e.mode,local:l.copyState(e.mode,e.local)}),r&&(r={mode:r.mode,local:l.copyState(r.mode,r.local)}),{tok:n.tok,ctx:e,tmp:r}},innerMode:function(n){return n.tmp?{state:n.tmp.local,mode:n.tmp.mode}:n.ctx.mode?{state:n.ctx.local,mode:n.ctx.mode}:null},token:function(n,e){return e.tok(n,e)}}},"python","stex"),l.defineMIME("text/x-rst","rst")})})();var ue=M.exports,_e=fe({__proto__:null,default:ue},[M.exports]);export{_e as r};
@@ -1 +1 @@
1
- import{y as A}from"./index.5552d1ba.entry.js";function I(x,y){return y.forEach(function(u){u&&typeof u!="string"&&!Array.isArray(u)&&Object.keys(u).forEach(function(d){if(d!=="default"&&!(d in x)){var h=Object.getOwnPropertyDescriptor(u,d);Object.defineProperty(x,d,h.get?h:{enumerable:!0,get:function(){return u[d]}})}})}),Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}var s={exports:{}};(function(x,y){(function(u){u(A.exports)})(function(u){function d(p){for(var f={},l=0,a=p.length;l<a;++l)f[p[l]]=!0;return f}var h=["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"],g=d(h),z=d(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),w=d(["end","until"]),_={"[":"]","{":"}","(":")"},E={"]":"[","}":"{",")":"("};u.defineMode("ruby",function(p){var f;function l(e,i,n){return n.tokenize.push(e),e(i,n)}function a(e,i){if(e.sol()&&e.match("=begin")&&e.eol())return i.tokenize.push(O),"comment";if(e.eatSpace())return null;var n=e.next(),r;if(n=="`"||n=="'"||n=='"')return l(v(n,"string",n=='"'||n=="`"),e,i);if(n=="/")return W(e)?l(v(n,"string-2",!0),e,i):"operator";if(n=="%"){var t="string",o=!0;e.eat("s")?t="atom":e.eat(/[WQ]/)?t="string":e.eat(/[r]/)?t="string-2":e.eat(/[wxq]/)&&(t="string",o=!1);var c=e.eat(/[^\w\s=]/);return c?(_.propertyIsEnumerable(c)&&(c=_[c]),l(v(c,t,o,!0),e,i)):"operator"}else{if(n=="#")return e.skipToEnd(),"comment";if(n=="<"&&(r=e.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return l(L(r[2],r[1]),e,i);if(n=="0")return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(n))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if(n=="?"){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}else{if(n==":")return e.eat("'")?l(v("'","atom",!1),e,i):e.eat('"')?l(v('"',"atom",!0),e,i):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if(n=="@"&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if(n=="$")return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(n))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if(n=="|"&&(i.varList||i.lastTok=="{"||i.lastTok=="do"))return f="|",null;if(/[\(\)\[\]{}\\;]/.test(n))return f=n,null;if(n=="-"&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(n)){var k=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return n=="."&&!k&&(f="."),"operator"}else return null}}}function W(e){for(var i=e.pos,n=0,r,t=!1,o=!1;(r=e.next())!=null;)if(o)o=!1;else{if("[{(".indexOf(r)>-1)n++;else if("]})".indexOf(r)>-1){if(n--,n<0)break}else if(r=="/"&&n==0){t=!0;break}o=r=="\\"}return e.backUp(e.pos-i),t}function b(e){return e||(e=1),function(i,n){if(i.peek()=="}"){if(e==1)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n);n.tokenize[n.tokenize.length-1]=b(e-1)}else i.peek()=="{"&&(n.tokenize[n.tokenize.length-1]=b(e+1));return a(i,n)}}function T(){var e=!1;return function(i,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n)):(e=!0,a(i,n))}}function v(e,i,n,r){return function(t,o){var c=!1,k;for(o.context.type==="read-quoted-paused"&&(o.context=o.context.prev,t.eat("}"));(k=t.next())!=null;){if(k==e&&(r||!c)){o.tokenize.pop();break}if(n&&k=="#"&&!c){if(t.eat("{")){e=="}"&&(o.context={prev:o.context,type:"read-quoted-paused"}),o.tokenize.push(b());break}else if(/[@\$]/.test(t.peek())){o.tokenize.push(T());break}}c=!c&&k=="\\"}return i}}function L(e,i){return function(n,r){return i&&n.eatSpace(),n.match(e)?r.tokenize.pop():n.skipToEnd(),"string"}}function O(e,i){return e.sol()&&e.match("=end")&&e.eol()&&i.tokenize.pop(),e.skipToEnd(),"comment"}return{startState:function(){return{tokenize:[a],indented:0,context:{type:"top",indented:-p.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,i){f=null,e.sol()&&(i.indented=e.indentation());var n=i.tokenize[i.tokenize.length-1](e,i),r,t=f;if(n=="ident"){var o=e.current();n=i.lastTok=="."?"property":g.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(o)?"tag":i.lastTok=="def"||i.lastTok=="class"||i.varList?"def":"variable",n=="keyword"&&(t=o,z.propertyIsEnumerable(o)?r="indent":w.propertyIsEnumerable(o)?r="dedent":((o=="if"||o=="unless")&&e.column()==e.indentation()||o=="do"&&i.context.indented<i.indented)&&(r="indent"))}return(f||n&&n!="comment")&&(i.lastTok=t),f=="|"&&(i.varList=!i.varList),r=="indent"||/[\(\[\{]/.test(f)?i.context={prev:i.context,type:f||n,indented:i.indented}:(r=="dedent"||/[\)\]\}]/.test(f))&&i.context.prev&&(i.context=i.context.prev),e.eol()&&(i.continuedLine=f=="\\"||n=="operator"),n},indent:function(e,i){if(e.tokenize[e.tokenize.length-1]!=a)return u.Pass;var n=i&&i.charAt(0),r=e.context,t=r.type==E[n]||r.type=="keyword"&&/^(?:end|until|else|elsif|when|rescue)\b/.test(i);return r.indented+(t?0:p.indentUnit)+(e.continuedLine?p.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"}}),u.defineMIME("text/x-ruby","ruby"),u.registerHelper("hintWords","ruby",h)})})();var $=s.exports,B=I({__proto__:null,default:$},[s.exports]);export{s as a,B as r};
1
+ import{y as A}from"./index.a6745321.entry.js";function I(x,y){return y.forEach(function(u){u&&typeof u!="string"&&!Array.isArray(u)&&Object.keys(u).forEach(function(d){if(d!=="default"&&!(d in x)){var h=Object.getOwnPropertyDescriptor(u,d);Object.defineProperty(x,d,h.get?h:{enumerable:!0,get:function(){return u[d]}})}})}),Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}var s={exports:{}};(function(x,y){(function(u){u(A.exports)})(function(u){function d(p){for(var f={},l=0,a=p.length;l<a;++l)f[p[l]]=!0;return f}var h=["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"],g=d(h),z=d(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),w=d(["end","until"]),_={"[":"]","{":"}","(":")"},E={"]":"[","}":"{",")":"("};u.defineMode("ruby",function(p){var f;function l(e,i,n){return n.tokenize.push(e),e(i,n)}function a(e,i){if(e.sol()&&e.match("=begin")&&e.eol())return i.tokenize.push(O),"comment";if(e.eatSpace())return null;var n=e.next(),r;if(n=="`"||n=="'"||n=='"')return l(v(n,"string",n=='"'||n=="`"),e,i);if(n=="/")return W(e)?l(v(n,"string-2",!0),e,i):"operator";if(n=="%"){var t="string",o=!0;e.eat("s")?t="atom":e.eat(/[WQ]/)?t="string":e.eat(/[r]/)?t="string-2":e.eat(/[wxq]/)&&(t="string",o=!1);var c=e.eat(/[^\w\s=]/);return c?(_.propertyIsEnumerable(c)&&(c=_[c]),l(v(c,t,o,!0),e,i)):"operator"}else{if(n=="#")return e.skipToEnd(),"comment";if(n=="<"&&(r=e.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return l(L(r[2],r[1]),e,i);if(n=="0")return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(n))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if(n=="?"){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}else{if(n==":")return e.eat("'")?l(v("'","atom",!1),e,i):e.eat('"')?l(v('"',"atom",!0),e,i):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if(n=="@"&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if(n=="$")return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(n))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if(n=="|"&&(i.varList||i.lastTok=="{"||i.lastTok=="do"))return f="|",null;if(/[\(\)\[\]{}\\;]/.test(n))return f=n,null;if(n=="-"&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(n)){var k=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return n=="."&&!k&&(f="."),"operator"}else return null}}}function W(e){for(var i=e.pos,n=0,r,t=!1,o=!1;(r=e.next())!=null;)if(o)o=!1;else{if("[{(".indexOf(r)>-1)n++;else if("]})".indexOf(r)>-1){if(n--,n<0)break}else if(r=="/"&&n==0){t=!0;break}o=r=="\\"}return e.backUp(e.pos-i),t}function b(e){return e||(e=1),function(i,n){if(i.peek()=="}"){if(e==1)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n);n.tokenize[n.tokenize.length-1]=b(e-1)}else i.peek()=="{"&&(n.tokenize[n.tokenize.length-1]=b(e+1));return a(i,n)}}function T(){var e=!1;return function(i,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n)):(e=!0,a(i,n))}}function v(e,i,n,r){return function(t,o){var c=!1,k;for(o.context.type==="read-quoted-paused"&&(o.context=o.context.prev,t.eat("}"));(k=t.next())!=null;){if(k==e&&(r||!c)){o.tokenize.pop();break}if(n&&k=="#"&&!c){if(t.eat("{")){e=="}"&&(o.context={prev:o.context,type:"read-quoted-paused"}),o.tokenize.push(b());break}else if(/[@\$]/.test(t.peek())){o.tokenize.push(T());break}}c=!c&&k=="\\"}return i}}function L(e,i){return function(n,r){return i&&n.eatSpace(),n.match(e)?r.tokenize.pop():n.skipToEnd(),"string"}}function O(e,i){return e.sol()&&e.match("=end")&&e.eol()&&i.tokenize.pop(),e.skipToEnd(),"comment"}return{startState:function(){return{tokenize:[a],indented:0,context:{type:"top",indented:-p.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,i){f=null,e.sol()&&(i.indented=e.indentation());var n=i.tokenize[i.tokenize.length-1](e,i),r,t=f;if(n=="ident"){var o=e.current();n=i.lastTok=="."?"property":g.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(o)?"tag":i.lastTok=="def"||i.lastTok=="class"||i.varList?"def":"variable",n=="keyword"&&(t=o,z.propertyIsEnumerable(o)?r="indent":w.propertyIsEnumerable(o)?r="dedent":((o=="if"||o=="unless")&&e.column()==e.indentation()||o=="do"&&i.context.indented<i.indented)&&(r="indent"))}return(f||n&&n!="comment")&&(i.lastTok=t),f=="|"&&(i.varList=!i.varList),r=="indent"||/[\(\[\{]/.test(f)?i.context={prev:i.context,type:f||n,indented:i.indented}:(r=="dedent"||/[\)\]\}]/.test(f))&&i.context.prev&&(i.context=i.context.prev),e.eol()&&(i.continuedLine=f=="\\"||n=="operator"),n},indent:function(e,i){if(e.tokenize[e.tokenize.length-1]!=a)return u.Pass;var n=i&&i.charAt(0),r=e.context,t=r.type==E[n]||r.type=="keyword"&&/^(?:end|until|else|elsif|when|rescue)\b/.test(i);return r.indented+(t?0:p.indentUnit)+(e.continuedLine?p.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"}}),u.defineMIME("text/x-ruby","ruby"),u.registerHelper("hintWords","ruby",h)})})();var $=s.exports,B=I({__proto__:null,default:$},[s.exports]);export{s as a,B as r};
@@ -1,13 +1,13 @@
1
- import{a,o as c,b as h,w as o,g as e,e as r,B as t}from"./runtime-core.esm-bundler.e3d5f5b7.js";const d={class:"markdown-body"},u=t("This guide explains how to install the "),p=e("em",null,"Development",-1),m=t(" version of Directus locally so that you can work on the platform\u2019s source code. To install the "),_=e("em",null,"Production",-1),g=t(" version locally, please follow to our "),f=t("standard installation guides"),b=t("."),y=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Minimum Requirements"),e("p",null,[t("You will need to have "),e("a",{href:"https://nodejs.org/en/download/current",target:"_blank",rel:"noopener noreferrer"},"the latest version of Node"),t(" to "),e("em",null,"build"),t(" a Development version of Directus.")]),e("p",null,[t("You can use the JavaScript tool manager "),e("a",{href:"https://volta.sh",target:"_blank",rel:"noopener noreferrer"},"volta"),t(" to automatically install the current node and npm versions.")]),e("p",null,[t("You will also need to have the package manager "),e("a",{href:"https://pnpm.io",target:"_blank",rel:"noopener noreferrer"},"pnpm"),t(" installed. You can install pnpm using the following command: "),e("code",null,"npm install -g pnpm"),t(".")])],-1),k=e("h2",{id:"1.-fork-the-directus-repository",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#1.-fork-the-directus-repository"},"#"),t(" 1. Fork the Directus repository")],-1),v=e("p",null,[t("Go to the "),e("a",{href:"https://github.com/directus/directus",target:"_blank",rel:"noopener noreferrer"},"repository"),t(" and fork it to your GitHub account. A fork is your copy of the Directus repository. Forking the repository allows you to freely experiment with changes without affecting the original project.")],-1),w=e("h2",{id:"2.-clone-from-your-repository",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#2.-clone-from-your-repository"},"#"),t(" 2. Clone from your repository")],-1),x=e("pre",null,[e("code",{class:"language-bash"},[t("git "),e("span",{class:"hljs-built_in"},"clone"),t(` git@github.com:YOUR-USERNAME/directus.git
1
+ import{a,o as c,b as h,w as o,l as e,e as r,E as t}from"./runtime-core.esm-bundler.32cac88a.js";const d={class:"markdown-body"},u=t("This guide explains how to install the "),p=e("em",null,"Development",-1),m=t(" version of Directus locally so that you can work on the platform\u2019s source code. To install the "),_=e("em",null,"Production",-1),g=t(" version locally, please follow to our "),f=t("standard installation guides"),b=t("."),y=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Minimum Requirements"),e("p",null,[t("You will need to have "),e("a",{href:"https://nodejs.org/en/download/current",target:"_blank",rel:"noopener noreferrer"},"the latest version of Node"),t(" to "),e("em",null,"build"),t(" a Development version of Directus.")]),e("p",null,[t("You can use the JavaScript tool manager "),e("a",{href:"https://volta.sh",target:"_blank",rel:"noopener noreferrer"},"volta"),t(" to automatically install the current node and npm versions.")]),e("p",null,[t("You will also need to have the package manager "),e("a",{href:"https://pnpm.io",target:"_blank",rel:"noopener noreferrer"},"pnpm"),t(" installed. You can install pnpm using the following command: "),e("code",null,"npm install -g pnpm"),t(".")])],-1),k=e("h2",{id:"1.-fork-the-directus-repository",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#1.-fork-the-directus-repository"},"#"),t(" 1. Fork the Directus repository")],-1),v=e("p",null,[t("Go to the "),e("a",{href:"https://github.com/directus/directus",target:"_blank",rel:"noopener noreferrer"},"repository"),t(" and fork it to your GitHub account. A fork is your copy of the Directus repository. Forking the repository allows you to freely experiment with changes without affecting the original project.")],-1),w=e("h2",{id:"2.-clone-from-your-repository",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#2.-clone-from-your-repository"},"#"),t(" 2. Clone from your repository")],-1),x=e("pre",null,[e("code",{class:"language-bash"},[t("git "),e("span",{class:"hljs-built_in"},"clone"),t(` git@github.com:YOUR-USERNAME/directus.git
2
2
  `)])],-1),j=e("h2",{id:"3.-make-a-new-branch",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#3.-make-a-new-branch"},"#"),t(" 3. Make a new branch")],-1),D=e("pre",null,[e("code",{class:"language-bash"},`git checkout -b YOUR-BRANCH-NAME
3
3
  `)],-1),A=e("h2",{id:"4.-install-the-dependencies-and-build-the-project",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#4.-install-the-dependencies-and-build-the-project"},"#"),t(" 4. Install the dependencies and build the project")],-1),T=e("pre",null,[e("code",{class:"language-bash"},`pnpm install
4
4
  pnpm -r build
5
- `)],-1),I=e("h2",{id:"5.-create-a-.env-file",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#5.-create-a-.env-file"},"#"),t(" 5. Create a "),e("code",null,".env"),t(" file")],-1),C=e("p",null,[t("Create an "),e("code",null,".env"),t(" file under the "),e("code",null,"api"),t(" folder using vars from the online "),e("a",{href:"https://docs.directus.io/self-hosted/config-options",target:"_blank",rel:"noopener noreferrer"},"config help")],-1),R=e("h2",{id:"6.-initialize-the-database",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#6.-initialize-the-database"},"#"),t(" 6. Initialize the database")],-1),Y=e("p",null,"For this step, you\u2019ll need to already have a SQL database up-and-running, except if you\u2019re using the SQLite driver, which will create the database (file) for you.",-1),E=e("p",null,"To start the initialization run the following command:",-1),F=e("pre",null,[e("code",{class:"language-bash"},[e("span",{class:"hljs-comment"},"# From within the root of the project"),t(`
5
+ `)],-1),I=e("h2",{id:"5.-create-a-.env-file",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#5.-create-a-.env-file"},"#"),t(" 5. Create a "),e("code",null,".env"),t(" file")],-1),C=e("p",null,[t("Create an "),e("code",null,".env"),t(" file under the "),e("code",null,"api"),t(" folder using vars from the online "),e("a",{href:"https://docs.directus.io/self-hosted/config-options",target:"_blank",rel:"noopener noreferrer"},"config help")],-1),R=e("h2",{id:"6.-initialize-the-database",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#6.-initialize-the-database"},"#"),t(" 6. Initialize the database")],-1),E=e("p",null,"For this step, you\u2019ll need to already have a SQL database up-and-running, except if you\u2019re using the SQLite driver, which will create the database (file) for you.",-1),Y=e("p",null,"To start the initialization run the following command:",-1),F=e("pre",null,[e("code",{class:"language-bash"},[e("span",{class:"hljs-comment"},"# From within the root of the project"),t(`
6
6
  pnpm cli bootstrap
7
7
 
8
8
  `),e("span",{class:"hljs-comment"},"# For SQLite you need to run the command in the 'api' context (to ensure the database file is created in the right directory)"),t(`
9
9
  pnpm --`),e("span",{class:"hljs-built_in"},"dir"),t(` api cli bootstrap
10
- `)])],-1),N=e("p",null,"This will set-up the required tables for Directus and make sure all the migrations have run.",-1),S=e("h2",{id:"7.-start-the-development-server",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#7.-start-the-development-server"},"#"),t(" 7. Start the development server")],-1),B=e("p",null,"You can run all packages in development with the following command:",-1),P=e("pre",null,[e("code",{class:"language-bash"},`pnpm -r dev
10
+ `)])],-1),N=e("p",null,"This will set-up the required tables for Directus and make sure all the migrations have run.",-1),S=e("h2",{id:"7.-start-the-development-server",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#7.-start-the-development-server"},"#"),t(" 7. Start the development server")],-1),P=e("p",null,"You can run all packages in development with the following command:",-1),B=e("pre",null,[e("code",{class:"language-bash"},`pnpm -r dev
11
11
  `)],-1),L=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Race Conditions"),e("p",null,[t("When running multiple or all packages, sometimes "),e("code",null,"ts-node"),t(" may not start up the API properly because of race conditions due to changes happening to other packages. You can either rerun the command to restart the API or opt to choose what packages to work on as described below.")])],-1),M=e("p",null,[t("If you wish to choose what packages to work on, you should run the "),e("code",null,"dev"),t(" script for that package. You can see their names and list of scripts in their related "),e("code",null,"package.json"),t(".")],-1),q=e("p",null,"Example of running the API only:",-1),z=e("pre",null,[e("code",{class:"language-bash"},`pnpm --filter directus dev
12
12
  `)],-1),H=e("p",null,"If you want to work on multiple packages at once, you should create a new instance of your terminal for each package. Example of running both the API and App at the same time:",-1),G=e("table",null,[e("tr",null,[e("th",null," Terminal 1 [Api] "),e("th",null," Terminal 2 [App] ")]),e("tr",null,[e("td",null,[e("pre",null,[e("code",{class:"language-bash"},`pnpm --filter directus dev
13
13
  `)])]),e("td",null,[e("pre",null,[e("code",{class:"language-bash"},`pnpm --filter @directus/app dev
@@ -24,4 +24,4 @@ docker compose -f tests/docker-compose.yml up -d --`),e("span",{class:"hljs-buil
24
24
 
25
25
  `),e("span",{class:"hljs-comment"},"# Run the tests"),t(`
26
26
  pnpm `),e("span",{class:"hljs-built_in"},"test"),t(`:e2e
27
- `)])],-1),le="Running Locally",ie=!1,ce="This guide explains how to install the _Development_ version of Directus locally so that you can work on the platform's source code.",he="4 min read",de={name:"running-locally",setup(ne,{expose:l}){const n={title:"Running Locally",modularExtension:!1,description:"This guide explains how to install the _Development_ version of Directus locally so that you can work on the platform's source code.",readTime:"4 min read"};return l({frontmatter:n}),(se,ae)=>{const s=a("router-link"),i=a("docs-wrapper");return c(),h(i,{frontmatter:n},{default:o(()=>[e("div",d,[e("blockquote",null,[e("p",null,[u,p,m,_,g,r(s,{to:"/docs/self-hosted/installation"},{default:o(()=>[f]),_:1}),b])]),y,k,v,w,x,j,D,A,T,I,C,R,Y,E,F,N,S,B,P,L,M,q,z,H,G,Q,U,V,O,W,e("p",null,[J,r(s,{to:"/docs/contributing/introduction"},{default:o(()=>[K]),_:1}),X]),Z,$,ee,te,oe])]),_:1})}}};export{de as default,ce as description,ie as modularExtension,he as readTime,le as title};
27
+ `)])],-1),le="Running Locally",ie=!1,ce="This guide explains how to install the _Development_ version of Directus locally so that you can work on the platform's source code.",he="4 min read",de={name:"running-locally",setup(ne,{expose:l}){const n={title:"Running Locally",modularExtension:!1,description:"This guide explains how to install the _Development_ version of Directus locally so that you can work on the platform's source code.",readTime:"4 min read"};return l({frontmatter:n}),(se,ae)=>{const s=a("router-link"),i=a("docs-wrapper");return c(),h(i,{frontmatter:n},{default:o(()=>[e("div",d,[e("blockquote",null,[e("p",null,[u,p,m,_,g,r(s,{to:"/docs/self-hosted/installation"},{default:o(()=>[f]),_:1}),b])]),y,k,v,w,x,j,D,A,T,I,C,R,E,Y,F,N,S,P,B,L,M,q,z,H,G,Q,U,V,O,W,e("p",null,[J,r(s,{to:"/docs/contributing/introduction"},{default:o(()=>[K]),_:1}),X]),Z,$,ee,te,oe])]),_:1})}}};export{de as default,ce as description,ie as modularExtension,he as readTime,le as title};