@directus/app 9.0.0-beta.9 → 9.0.0-rc.100

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 (1266) hide show
  1. package/LICENSE.md +359 -524
  2. package/README.md +2 -56
  3. package/dist/@directus_extensions-sdk.c8cc38ef.js +1 -0
  4. package/dist/assets/200-200-cover-100.6a119754.jpg +0 -0
  5. package/dist/assets/200-200-cover-50.b5c757be.jpg +0 -0
  6. package/dist/assets/200-200-cover-75.5e0d9ff8.jpg +0 -0
  7. package/dist/assets/FiraMono-Medium.33e88fa9.woff2 +0 -0
  8. package/dist/assets/FiraMono-Medium.f2ff9941.woff +0 -0
  9. package/dist/assets/Inter-Black.5ab3de07.woff2 +0 -0
  10. package/dist/assets/Inter-Black.f11705b0.woff +0 -0
  11. package/dist/assets/Inter-Bold.cd06b48a.woff +0 -0
  12. package/dist/assets/Inter-Bold.f0f54a06.woff2 +0 -0
  13. package/dist/{fonts/Inter-Medium.c709803c.woff2 → assets/Inter-Medium.a4e1e7e6.woff2} +0 -0
  14. package/dist/{fonts/Inter-Medium.95b8a989.woff → assets/Inter-Medium.f500bbb9.woff} +0 -0
  15. package/dist/{fonts/Inter-MediumItalic.0011f9a5.woff → assets/Inter-MediumItalic.d06751dd.woff} +0 -0
  16. package/dist/{fonts/Inter-MediumItalic.6b08fbd7.woff2 → assets/Inter-MediumItalic.d4a7f5d9.woff2} +0 -0
  17. package/dist/{fonts/Inter-Regular.3ae6a7d3.woff → assets/Inter-Regular.b825f1bc.woff} +0 -0
  18. package/dist/{fonts/Inter-Regular.1e081edc.woff2 → assets/Inter-Regular.c342b1b7.woff2} +0 -0
  19. package/dist/{fonts/Inter-SemiBold.19b57197.woff → assets/Inter-SemiBold.3041a990.woff} +0 -0
  20. package/dist/{fonts/Inter-SemiBold.46633223.woff2 → assets/Inter-SemiBold.af44b8a2.woff2} +0 -0
  21. package/dist/assets/active-line.371dff1d.js +1 -0
  22. package/dist/assets/activity-log.7d8df9fa.js +1 -0
  23. package/dist/assets/activity.fd7b6243.js +80 -0
  24. package/dist/assets/add-field.880542d6.png +0 -0
  25. package/dist/assets/af-ZA.5bc87dbc.js +1 -0
  26. package/dist/assets/af.0ae12dd5.js +1 -0
  27. package/dist/assets/api-endpoints.8b6665bc.js +30 -0
  28. package/dist/assets/apl.7b0220f6.js +1 -0
  29. package/dist/assets/app-overview.9d9e9cee.svg +85 -0
  30. package/dist/assets/app-translations.e3fe7cd1.js +1 -0
  31. package/dist/assets/ar-SA.860d1d77.js +1 -0
  32. package/dist/assets/ar-dz.4def840c.js +1 -0
  33. package/dist/assets/ar-kw.8e19bfac.js +1 -0
  34. package/dist/assets/ar-ly.1c517370.js +1 -0
  35. package/dist/assets/ar-ma.f01598f3.js +1 -0
  36. package/dist/assets/ar-sa.c5fe14e9.js +1 -0
  37. package/dist/assets/ar-tn.121f69b2.js +1 -0
  38. package/dist/assets/ar.bed29460.js +1 -0
  39. package/dist/assets/asciiarmor.49edbb99.js +1 -0
  40. package/dist/assets/asn.1.c8f84984.js +1 -0
  41. package/dist/assets/asterisk.3cd5b4ae.js +1 -0
  42. package/dist/assets/authentication.1e341f2f.js +72 -0
  43. package/dist/assets/autorefresh.c0fd8d01.js +1 -0
  44. package/dist/assets/avatar-placeholder.446bf113.svg +6 -0
  45. package/dist/assets/aws.a8ab59c5.js +1 -0
  46. package/dist/assets/az.706ff558.js +1 -0
  47. package/dist/assets/backing-directus.17cbd2a3.js +1 -0
  48. package/dist/assets/bg-BG.5cc489fe.js +2 -0
  49. package/dist/assets/bg.1c68ab52.js +1 -0
  50. package/dist/assets/bn-IN.4b03e908.js +1 -0
  51. package/dist/assets/bn.52d26e23.js +1 -0
  52. package/dist/assets/br-FR.4052e8cf.js +1 -0
  53. package/dist/assets/brainfuck.821c35ff.js +1 -0
  54. package/dist/assets/bs.4d20add5.js +1 -0
  55. package/dist/assets/ca-ES.345260dc.js +1 -0
  56. package/dist/assets/ca.a79eb6d2.js +1 -0
  57. package/dist/assets/cli.6bd5bc90.js +4 -0
  58. package/dist/assets/cli.a05f102d.js +10 -0
  59. package/dist/assets/clike.da13aced.js +1 -0
  60. package/dist/assets/clojure.418da74e.js +1 -0
  61. package/dist/assets/cmake.19bf25d7.js +1 -0
  62. package/dist/assets/cobol.78e26693.js +1 -0
  63. package/dist/assets/codebase-overview.22216b31.js +1 -0
  64. package/dist/assets/coffeescript.b4959f24.js +1 -0
  65. package/dist/assets/collections.8348d9d9.js +104 -0
  66. package/dist/assets/commonlisp.603b8e11.js +1 -0
  67. package/dist/assets/config-options.f81455a4.js +127 -0
  68. package/dist/assets/content-collections.32b7e9af.js +1 -0
  69. package/dist/assets/content-items.23767b16.js +1 -0
  70. package/dist/assets/content.a2ee19a6.js +1 -0
  71. package/dist/assets/create-item.32e17f40.png +0 -0
  72. package/dist/assets/crystal.2b6cf479.js +1 -0
  73. package/dist/assets/cs-CZ.d7386f11.js +1 -0
  74. package/dist/assets/cs.b1e8bc14.js +1 -0
  75. package/dist/assets/css.7db3fa79.js +1 -0
  76. package/dist/assets/cy.ac181a59.js +1 -0
  77. package/dist/assets/cypher.8d1a8da8.js +4 -0
  78. package/dist/assets/d.12e1f6f6.js +1 -0
  79. package/dist/assets/da-DK.0f81c484.js +1 -0
  80. package/dist/assets/da.4016bc22.js +1 -0
  81. package/dist/assets/dart.2b573e36.js +1 -0
  82. package/dist/assets/data-model.227c725c.js +1 -0
  83. package/dist/assets/de-DE.c3c8875b.js +1 -0
  84. package/dist/assets/de-at.c5829c18.js +1 -0
  85. package/dist/assets/de.a55d079e.js +1 -0
  86. package/dist/assets/diff.2844ed04.js +1 -0
  87. package/dist/assets/digitalocean-app-platform.b3aaf883.js +3 -0
  88. package/dist/assets/displays.637199aa.js +45 -0
  89. package/dist/assets/django.3838c55f.js +1 -0
  90. package/dist/assets/docker.4570ab49.js +74 -0
  91. package/dist/assets/dockerfile.b4049a2c.js +1 -0
  92. package/dist/assets/documentation.5c345a9a.js +1 -0
  93. package/dist/assets/dtd.9357cddd.js +1 -0
  94. package/dist/assets/dylan.0614ba2b.js +1 -0
  95. package/dist/assets/ebnf.cfc59980.js +1 -0
  96. package/dist/assets/ecl.8637b1d9.js +1 -0
  97. package/dist/assets/eiffel.795eb219.js +1 -0
  98. package/dist/assets/el-GR.aed67eec.js +1 -0
  99. package/dist/assets/el.59a913c2.js +1 -0
  100. package/dist/assets/elm.add82df7.js +1 -0
  101. package/dist/assets/email-templates.02899282.js +2 -0
  102. package/dist/assets/empty-state.bbc4e874.png +0 -0
  103. package/dist/assets/en-au.169355d7.js +1 -0
  104. package/dist/assets/en-gb.0b977da8.js +1 -0
  105. package/dist/assets/en-nz.6296f2b6.js +1 -0
  106. package/dist/assets/eo.d92d8fbf.js +1 -0
  107. package/dist/assets/erlang.66a92fdb.js +1 -0
  108. package/dist/assets/es-419.e48fc8e4.js +1 -0
  109. package/dist/assets/es-CL.702f7901.js +1 -0
  110. package/dist/assets/es-ES.3f206cd4.js +1 -0
  111. package/dist/assets/es-us.35915abe.js +1 -0
  112. package/dist/assets/es.c516dd05.js +1 -0
  113. package/dist/assets/et-EE.8e75a2f9.js +3 -0
  114. package/dist/assets/et.420b5f6d.js +1 -0
  115. package/dist/assets/eu.edaff4b0.js +1 -0
  116. package/dist/assets/extensions.4264cbcf.js +12 -0
  117. package/dist/assets/fa-IR.10a601f8.js +1 -0
  118. package/dist/assets/fa.f3993a60.js +1 -0
  119. package/dist/assets/factor.cb1d198d.js +1 -0
  120. package/dist/assets/faq.b76623c8.js +1 -0
  121. package/dist/assets/fcl.35e7cf6f.js +1 -0
  122. package/dist/assets/fi-FI.69fa5875.js +1 -0
  123. package/dist/assets/fi.3ee32d07.js +1 -0
  124. package/dist/assets/fields.6d8548ea.js +135 -0
  125. package/dist/assets/file-library.317c090a.js +1 -0
  126. package/dist/assets/files.7444d9c4.js +187 -0
  127. package/dist/assets/filter-rules.32866105.js +60 -0
  128. package/dist/assets/folders.455a5469.js +132 -0
  129. package/dist/assets/forth.3c311fbd.js +1 -0
  130. package/dist/assets/fortran.ad9ca302.js +1 -0
  131. package/dist/assets/fr-FR.6ed449bf.js +1 -0
  132. package/dist/assets/fr-ca.e2e64899.js +1 -0
  133. package/dist/assets/fr-ch.e9042a4c.js +1 -0
  134. package/dist/assets/fr.9d599b24.js +1 -0
  135. package/dist/assets/gas.664c6bc3.js +1 -0
  136. package/dist/assets/gfm.e1cc76de.js +1 -0
  137. package/dist/assets/gherkin.77c03057.js +1 -0
  138. package/dist/assets/github-ci.af32ea02.js +2 -0
  139. package/dist/assets/gl.b8341ed4.js +1 -0
  140. package/dist/assets/glossary.001f6de4.js +1 -0
  141. package/dist/assets/go.4fed1a69.js +1 -0
  142. package/dist/assets/groovy.df97063d.js +1 -0
  143. package/dist/assets/haml.212d83b7.js +1 -0
  144. package/dist/assets/handlebars.0fa68a0f.js +1 -0
  145. package/dist/assets/haskell-literate.1cffdcb1.js +1 -0
  146. package/dist/assets/haskell.b8d46669.js +1 -0
  147. package/dist/assets/haxe.f9669745.js +1 -0
  148. package/dist/assets/he-IL.26f18aa8.js +1 -0
  149. package/dist/assets/he.18403882.js +1 -0
  150. package/dist/assets/hi-IN.d224762a.js +1 -0
  151. package/dist/assets/hi.e2a17765.js +1 -0
  152. package/dist/assets/hooks.f6f769ce.js +77 -0
  153. package/dist/assets/hr.57f77dc3.js +1 -0
  154. package/dist/assets/htmlembedded.bd778157.js +1 -0
  155. package/dist/assets/htmlmixed.5ede4bee.js +1 -0
  156. package/dist/assets/http.57b16981.js +1 -0
  157. package/dist/assets/hu-HU.dfee1b41.js +1 -0
  158. package/dist/assets/hu.adb9ccdc.js +1 -0
  159. package/dist/assets/hy-am.59b7a75e.js +1 -0
  160. package/dist/assets/id-ID.dbd87477.js +1 -0
  161. package/dist/assets/id.bc299c4a.js +1 -0
  162. package/dist/assets/idl.853b6de3.js +1 -0
  163. package/dist/assets/iis.d005c998.js +23 -0
  164. package/dist/assets/index.0161115f.js +1 -0
  165. package/dist/assets/index.021ec2ed.js +1 -0
  166. package/dist/assets/index.050970fa.js +1 -0
  167. package/dist/assets/index.0683673e.js +1 -0
  168. package/dist/assets/index.0c46ce60.js +1 -0
  169. package/dist/assets/index.0ee85545.js +1 -0
  170. package/dist/assets/index.14d94064.js +1 -0
  171. package/dist/assets/index.14f12309.js +1 -0
  172. package/dist/assets/index.1523b28b.js +1 -0
  173. package/dist/assets/index.1b3cf886.js +1 -0
  174. package/dist/assets/index.1bd41359.js +1 -0
  175. package/dist/assets/index.1ecc7901.js +1 -0
  176. package/dist/assets/index.21e31dc2.js +1 -0
  177. package/dist/assets/index.278f3377.js +1 -0
  178. package/dist/assets/index.27fad8c0.js +1 -0
  179. package/dist/assets/index.303f4649.js +1 -0
  180. package/dist/assets/index.327b1f83.js +1 -0
  181. package/dist/assets/index.36e26fbc.js +1 -0
  182. package/dist/assets/index.3bb0036b.js +1 -0
  183. package/dist/assets/index.3d18d582.js +1 -0
  184. package/dist/assets/index.3e8ca338.js +1 -0
  185. package/dist/assets/index.42bb0be0.js +1 -0
  186. package/dist/assets/index.440d8ed4.css +1 -0
  187. package/dist/assets/index.44ba1091.js +1 -0
  188. package/dist/assets/index.4a7ba94b.js +1 -0
  189. package/dist/assets/index.52b7a4aa.js +1 -0
  190. package/dist/assets/index.5391758c.js +1 -0
  191. package/dist/assets/index.55d799e2.js +1 -0
  192. package/dist/assets/index.55fe44ce.js +1 -0
  193. package/dist/assets/index.5dc009b1.js +1 -0
  194. package/dist/assets/index.632f4918.js +1 -0
  195. package/dist/assets/index.6ac9df8b.js +1 -0
  196. package/dist/assets/index.6c0f68e5.js +1 -0
  197. package/dist/assets/index.73b1c40e.js +1 -0
  198. package/dist/assets/index.73febbe7.js +1 -0
  199. package/dist/assets/index.77a60252.js +1 -0
  200. package/dist/assets/index.79ee8818.js +1 -0
  201. package/dist/assets/index.7b2f54b1.js +1 -0
  202. package/dist/assets/index.859960e0.js +1 -0
  203. package/dist/assets/index.85b8ba68.js +1 -0
  204. package/dist/assets/index.86888948.css +1 -0
  205. package/dist/assets/index.86caf2fd.js +1 -0
  206. package/dist/assets/index.8faed5d6.js +1 -0
  207. package/dist/assets/index.945a8768.js +1 -0
  208. package/dist/assets/index.95c6adda.js +1 -0
  209. package/dist/assets/index.9a15ca3b.js +1 -0
  210. package/dist/assets/index.9afc73f5.js +26 -0
  211. package/dist/assets/index.9f87bca1.js +1 -0
  212. package/dist/assets/index.9fa5f9af.js +1 -0
  213. package/dist/assets/index.a0f1b976.js +1 -0
  214. package/dist/assets/index.a28c4b38.js +1 -0
  215. package/dist/assets/index.a5a6ced6.js +1 -0
  216. package/dist/assets/index.a928e2bb.js +1 -0
  217. package/dist/assets/index.a9c42883.js +1 -0
  218. package/dist/assets/index.b08cb9df.js +1 -0
  219. package/dist/assets/index.b09bb571.js +1 -0
  220. package/dist/assets/index.b1a2f99c.js +1 -0
  221. package/dist/assets/index.be90d060.js +1 -0
  222. package/dist/assets/index.bec0eae5.js +1 -0
  223. package/dist/assets/index.bf63884f.js +1 -0
  224. package/dist/assets/index.c4f02a00.js +1 -0
  225. package/dist/assets/index.c6711208.js +1 -0
  226. package/dist/assets/index.cc8ba010.js +1 -0
  227. package/dist/assets/index.cdc9bc45.js +1 -0
  228. package/dist/assets/index.cf4b0211.js +1 -0
  229. package/dist/assets/index.d15c3ba5.js +1 -0
  230. package/dist/assets/index.d1b023a1.js +1 -0
  231. package/dist/assets/index.d2f93af2.js +1 -0
  232. package/dist/assets/index.d3512f3a.js +1 -0
  233. package/dist/assets/index.d5f91430.js +1 -0
  234. package/dist/assets/index.d64fbed5.js +1 -0
  235. package/dist/assets/index.d73d6ffb.js +1 -0
  236. package/dist/assets/index.dc71b91a.js +1 -0
  237. package/dist/assets/index.ddbab783.js +1 -0
  238. package/dist/assets/index.e51c9fdd.js +1 -0
  239. package/dist/assets/index.e77198db.js +1 -0
  240. package/dist/assets/index.e883ec84.js +1 -0
  241. package/dist/assets/index.ea82a46a.js +1 -0
  242. package/dist/assets/index.edb10393.js +1 -0
  243. package/dist/assets/index.eedadecd.js +1 -0
  244. package/dist/assets/index.eeed5740.js +1 -0
  245. package/dist/assets/index.ef0c94d9.js +1 -0
  246. package/dist/assets/index.f0ba373d.js +1 -0
  247. package/dist/assets/index.f18fdb88.js +1 -0
  248. package/dist/assets/index.f3fc704b.js +1 -0
  249. package/dist/assets/index.f8385a15.js +1 -0
  250. package/dist/assets/index.fb8b3daa.js +1 -0
  251. package/dist/assets/index.feb3452a.js +1 -0
  252. package/dist/assets/index.ffc6c203.js +1 -0
  253. package/dist/assets/input-rich-text-html.67ebfae2.css +1 -0
  254. package/dist/assets/input-rich-text-html.ebd9c8b1.js +215 -0
  255. package/dist/assets/insights.22c55251.js +1 -0
  256. package/dist/assets/installation.7e440a6f.js +1 -0
  257. package/dist/assets/interfaces.26529940.js +41 -0
  258. package/dist/assets/introduction.57cee287.js +90 -0
  259. package/dist/assets/introduction.82d2a7ca.js +1 -0
  260. package/dist/assets/introduction.841b990b.js +1 -0
  261. package/dist/assets/introduction.ef035a84.js +4 -0
  262. package/dist/assets/is-IS.35706417.js +1 -0
  263. package/dist/assets/is.2eb43668.js +1 -0
  264. package/dist/assets/it-IT.5037e3c6.js +1 -0
  265. package/dist/assets/it.e663f69e.js +1 -0
  266. package/dist/assets/items.d9dab22c.js +136 -0
  267. package/dist/assets/ja-JP.a1973b18.js +1 -0
  268. package/dist/assets/ja.21755c02.js +1 -0
  269. package/dist/assets/javascript-hint.59a3c90b.js +1 -0
  270. package/dist/assets/javascript.604ba3ba.js +1 -0
  271. package/dist/assets/jinja2.742297e2.js +1 -0
  272. package/dist/assets/jsonlint.09bf5bab.js +8 -0
  273. package/dist/assets/jsx.cc362d2d.js +1 -0
  274. package/dist/assets/julia.d089bc50.js +1 -0
  275. package/dist/assets/ka-GE.eff8ef9c.js +1 -0
  276. package/dist/assets/ka.09267484.js +1 -0
  277. package/dist/assets/kk.c27d7d0f.js +1 -0
  278. package/dist/assets/ko-KR.735832c7.js +1 -0
  279. package/dist/assets/ko.86462d08.js +1 -0
  280. package/dist/assets/ku-TR.281a8d73.js +1 -0
  281. package/dist/assets/layouts.68316239.js +55 -0
  282. package/dist/assets/lb.b4fb4102.js +1 -0
  283. package/dist/assets/livescript.73d67fed.js +1 -0
  284. package/dist/assets/localization.826918c8.js +1 -0
  285. package/dist/assets/logo-light.1a93a59d.svg +3 -0
  286. package/dist/assets/lt-LT.d08feb77.js +1 -0
  287. package/dist/assets/lt.bec1e735.js +1 -0
  288. package/dist/assets/lua.145c8352.js +1 -0
  289. package/dist/assets/lv.1d9eac62.js +1 -0
  290. package/dist/assets/m2a.347ed339.png +0 -0
  291. package/dist/assets/m2m.07bed843.png +0 -0
  292. package/dist/assets/m2o.ac02ed03.png +0 -0
  293. package/dist/assets/manual.291deb6d.js +10 -0
  294. package/dist/assets/mark-selection.b84103c4.js +1 -0
  295. package/dist/assets/match-highlighter.d51d2e19.js +1 -0
  296. package/dist/assets/material-icons-outline.63af6c49.woff2 +0 -0
  297. package/dist/assets/material-icons.3f0e2efd.woff2 +0 -0
  298. package/dist/assets/mathematica.8a1377ca.js +1 -0
  299. package/dist/assets/mbox.eb8648e1.js +1 -0
  300. package/dist/{fonts/merriweather-bold.0bd17c32.woff → assets/merriweather-bold.3e45b7e7.woff} +0 -0
  301. package/dist/{fonts/merriweather-bold.f958af12.woff2 → assets/merriweather-bold.8c5b2abc.woff2} +0 -0
  302. package/dist/{fonts/merriweather-italic.b21e2501.woff → assets/merriweather-italic.bbef4854.woff} +0 -0
  303. package/dist/{fonts/merriweather-italic.7f25c994.woff2 → assets/merriweather-italic.d40a22c6.woff2} +0 -0
  304. package/dist/{fonts/merriweather-light.ef842820.woff2 → assets/merriweather-light.1e84f5cb.woff2} +0 -0
  305. package/dist/{fonts/merriweather-light.bbaece54.woff → assets/merriweather-light.499d4490.woff} +0 -0
  306. package/dist/{fonts/merriweather-regular.7b694d55.woff2 → assets/merriweather-regular.2661709b.woff2} +0 -0
  307. package/dist/{fonts/merriweather-regular.dbe3f4d9.woff → assets/merriweather-regular.ff8db8bc.woff} +0 -0
  308. package/dist/assets/migrations.8c50b104.js +15 -0
  309. package/dist/assets/mirc.b1f2c88f.js +1 -0
  310. package/dist/assets/mk.ac873732.js +1 -0
  311. package/dist/assets/mllike.070703f7.js +1 -0
  312. package/dist/assets/mn-MN.4a40eb3e.js +1 -0
  313. package/dist/assets/modelica.913543fa.js +1 -0
  314. package/dist/assets/modules.b4663334.js +70 -0
  315. package/dist/assets/ms-MY.7729b3c2.js +1 -0
  316. package/dist/assets/ms.a8caaf33.js +1 -0
  317. package/dist/assets/mscgen.17e999d9.js +1 -0
  318. package/dist/assets/multiplex.b32be9ad.js +3 -0
  319. package/dist/assets/mumps.332d1e04.js +1 -0
  320. package/dist/assets/nb.02bf1f1e.js +1 -0
  321. package/dist/assets/ne.8c2e7d13.js +1 -0
  322. package/dist/assets/nginx.0035962c.js +1 -0
  323. package/dist/assets/nl-NL.a5123a56.js +1 -0
  324. package/dist/assets/nl.15edef36.js +1 -0
  325. package/dist/assets/nn.33ea37c6.js +1 -0
  326. package/dist/assets/no-NO.2f342eff.js +1 -0
  327. package/dist/assets/nsis.b4fd8bfb.js +1 -0
  328. package/dist/assets/ntriples.9719aaf3.js +1 -0
  329. package/dist/assets/o2m.339378e0.png +0 -0
  330. package/dist/assets/octave.4a08ed12.js +1 -0
  331. package/dist/assets/original.888775a8.jpg +0 -0
  332. package/dist/assets/overlay.0ecac296.js +1 -0
  333. package/dist/assets/overview.0ce2a214.js +1 -0
  334. package/dist/assets/overview.6ee45247.js +1 -0
  335. package/dist/assets/oz.664ee1cd.js +1 -0
  336. package/dist/assets/panels.53ad06b2.js +1 -0
  337. package/dist/assets/pascal.6d2656c0.js +1 -0
  338. package/dist/assets/pegjs.1a7a2693.js +1 -0
  339. package/dist/assets/perl.288c27cb.js +1 -0
  340. package/dist/assets/permissions.5af725fe.js +178 -0
  341. package/dist/assets/permissions.b47530e9.png +0 -0
  342. package/dist/assets/php.0a6c7975.js +1 -0
  343. package/dist/assets/pig.275068fc.js +1 -0
  344. package/dist/assets/pl-PL.dab4fb33.js +1 -0
  345. package/dist/assets/pl.8a0826b3.js +1 -0
  346. package/dist/assets/plesk-screenshot.9485a115.png +0 -0
  347. package/dist/assets/plesk.a8c3b07c.js +21 -0
  348. package/dist/assets/powershell.cc581ad0.js +1 -0
  349. package/dist/assets/presets-bookmarks.6ed5a6d3.js +1 -0
  350. package/dist/assets/presets.027402ac.js +164 -0
  351. package/dist/assets/project-settings.a06f24a8.js +1 -0
  352. package/dist/assets/properties.90e3f8ae.js +1 -0
  353. package/dist/assets/protobuf.22a6748e.js +1 -0
  354. package/dist/assets/pt-BR.28b14312.js +1 -0
  355. package/dist/assets/pt-PT.62f3a1fb.js +1 -0
  356. package/dist/assets/pt-br.e87cb008.js +1 -0
  357. package/dist/assets/pt.de450764.js +1 -0
  358. package/dist/assets/pug.d190458d.js +1 -0
  359. package/dist/assets/puppet.e32dcf07.js +1 -0
  360. package/dist/assets/python.fc50bb55.js +1 -0
  361. package/dist/assets/q.45e1dd6b.js +1 -0
  362. package/dist/assets/query.a3c64049.js +152 -0
  363. package/dist/assets/quickstart.493ca63d.js +11 -0
  364. package/dist/assets/r.3004d68a.js +1 -0
  365. package/dist/assets/relations.b1f7eb74.js +115 -0
  366. package/dist/assets/relationships.33c07fc4.js +58 -0
  367. package/dist/assets/revisions.b6ec71ee.js +40 -0
  368. package/dist/assets/ro-RO.5d125b41.js +1 -0
  369. package/dist/assets/ro.1786958f.js +1 -0
  370. package/dist/assets/roles.ae589bbd.js +172 -0
  371. package/dist/assets/rpm.60cdf00c.js +1 -0
  372. package/dist/assets/rst.883cfc81.js +1 -0
  373. package/dist/assets/ru-RU.d5479ce4.js +1 -0
  374. package/dist/assets/ru.2c0e4894.js +1 -0
  375. package/dist/assets/ruby.24dc7e00.js +1 -0
  376. package/dist/assets/running-locally.224b7919.js +17 -0
  377. package/dist/assets/rust.39cef768.js +1 -0
  378. package/dist/assets/sas.8391726b.js +1 -0
  379. package/dist/assets/sass.b225618e.js +1 -0
  380. package/dist/assets/scheme.61a5071c.js +1 -0
  381. package/dist/assets/sdk.31ee128a.js +297 -0
  382. package/dist/assets/security.ae0c3c63.js +1 -0
  383. package/dist/assets/server.c1ccab17.js +114 -0
  384. package/dist/assets/settings.183ef0d8.js +46 -0
  385. package/dist/assets/settings.ee8d8715.js +1 -0
  386. package/dist/assets/shell.6388c0d1.js +1 -0
  387. package/dist/assets/show-hint.a1d6f238.css +1 -0
  388. package/dist/assets/show-hint.f2f04b52.js +1 -0
  389. package/dist/assets/si-LK.2e97c6ef.js +1 -0
  390. package/dist/assets/sieve.ea97dcbc.js +1 -0
  391. package/dist/assets/simple.59cb2742.js +1 -0
  392. package/dist/assets/sk-SK.8e0ff1f5.js +1 -0
  393. package/dist/assets/sk.e174a41b.js +1 -0
  394. package/dist/assets/sl-SI.a7bae658.js +2 -0
  395. package/dist/assets/sl.34422efd.js +1 -0
  396. package/dist/assets/slim.1f1a085f.js +1 -0
  397. package/dist/assets/smalltalk.a7e431f3.js +1 -0
  398. package/dist/assets/smarty.bc771c75.js +1 -0
  399. package/dist/assets/solr.a1a095ac.js +1 -0
  400. package/dist/assets/soy.5a072eb3.js +1 -0
  401. package/dist/assets/sparql.3b29dda3.js +1 -0
  402. package/dist/assets/spreadsheet.6c53951e.js +1 -0
  403. package/dist/{img/sprite.66406298.svg → assets/sprite.e37451a6.svg} +0 -0
  404. package/dist/assets/sq.ee367a13.js +1 -0
  405. package/dist/assets/sql.0b29fbbe.js +1 -0
  406. package/dist/assets/sr-CS.800cddbc.js +1 -0
  407. package/dist/assets/sr-SP.2cb9f65c.js +1 -0
  408. package/dist/assets/sr-cyrl.0abb2793.js +1 -0
  409. package/dist/assets/sr.efb7e3ec.js +1 -0
  410. package/dist/assets/stex.d0851e6b.js +1 -0
  411. package/dist/assets/stylus.5c2736e1.js +1 -0
  412. package/dist/assets/support.e53f8098.js +1 -0
  413. package/dist/assets/sv-SE.d1d47530.js +1 -0
  414. package/dist/assets/sv.f13855af.js +1 -0
  415. package/dist/assets/swift.6dd39581.js +1 -0
  416. package/dist/assets/ta-in.8c88aa82.js +1 -0
  417. package/dist/assets/tcl.b03979f9.js +1 -0
  418. package/dist/assets/terminal-install.44adb787.png +0 -0
  419. package/dist/assets/terminal-start.72064e09.png +0 -0
  420. package/dist/assets/textile.0c67d086.js +1 -0
  421. package/dist/assets/th-TH.50aef143.js +2 -0
  422. package/dist/assets/th.d0e24ade.js +1 -0
  423. package/dist/assets/themes.ae776c13.js +5 -0
  424. package/dist/assets/tiddlywiki.f555b366.js +1 -0
  425. package/dist/assets/tiki.a956dc1a.js +1 -0
  426. package/dist/assets/toml.8a0d3920.js +1 -0
  427. package/dist/assets/tornado.8da2ca4c.js +1 -0
  428. package/dist/assets/tr-TR.4ed0c151.js +1 -0
  429. package/dist/assets/tr.d887c301.js +1 -0
  430. package/dist/assets/translations-2.29d07342.png +0 -0
  431. package/dist/assets/translations.2f0017a9.png +0 -0
  432. package/dist/assets/translations.568ebf15.js +1 -0
  433. package/dist/assets/troff.f53d5640.js +1 -0
  434. package/dist/assets/ttcn-cfg.6fcc7763.js +1 -0
  435. package/dist/assets/ttcn.310decfd.js +1 -0
  436. package/dist/assets/turtle.4d1d74df.js +1 -0
  437. package/dist/assets/twig.9749b86e.js +1 -0
  438. package/dist/assets/ubuntu.ac6b8828.js +11 -0
  439. package/dist/assets/ug.2ae6849b.js +1 -0
  440. package/dist/assets/uk-UA.7ce8bb3e.js +1 -0
  441. package/dist/assets/uk.69d22b7d.js +1 -0
  442. package/dist/assets/upgrades-migrations.1bec08e3.js +1 -0
  443. package/dist/assets/use-sync.042e848f.js +1 -0
  444. package/dist/assets/user-directory.f11be162.js +1 -0
  445. package/dist/assets/users-roles-permissions.0fc3f63b.js +1 -0
  446. package/dist/assets/users.d24ded2b.js +237 -0
  447. package/dist/assets/utilities.23218934.js +60 -0
  448. package/dist/assets/uz.a2abf7be.js +1 -0
  449. package/dist/assets/vb.01ae664c.js +1 -0
  450. package/dist/assets/vbscript.7297ed1d.js +1 -0
  451. package/dist/assets/velocity.de817e33.js +1 -0
  452. package/dist/assets/vendor.6ad70522.js +2039 -0
  453. package/dist/assets/vendor.fe7856f0.css +1 -0
  454. package/dist/assets/verilog.16313953.js +1 -0
  455. package/dist/assets/vhdl.3f92f00b.js +1 -0
  456. package/dist/assets/vi-VN.fbca0e2b.js +1 -0
  457. package/dist/assets/vi.cc30f87c.js +1 -0
  458. package/dist/assets/vue.f47900e5.js +1 -0
  459. package/dist/assets/wast.909dd757.js +1 -0
  460. package/dist/assets/webhooks.28adbbaa.js +1 -0
  461. package/dist/assets/webhooks.65bd5f07.js +147 -0
  462. package/dist/assets/webidl.6be0ebee.js +1 -0
  463. package/dist/assets/xquery.1c3bfe5e.js +1 -0
  464. package/dist/assets/yacas.bbeb9c41.js +1 -0
  465. package/dist/assets/yaml-frontmatter.38a5e8a1.js +1 -0
  466. package/dist/assets/yaml.a1596c9f.js +1 -0
  467. package/dist/assets/z80.d5def58d.js +1 -0
  468. package/dist/assets/zh-CN.2fffb3f3.js +1 -0
  469. package/dist/assets/zh-TW.0b0eaf72.js +1 -0
  470. package/dist/assets/zh-cn.f12689f7.js +1 -0
  471. package/dist/assets/zh-tw.c5aeda5a.js +1 -0
  472. package/dist/browserconfig.xml +9 -0
  473. package/dist/favicon.ico +0 -0
  474. package/dist/img/directus-white.png +0 -0
  475. package/dist/img/icons/android-chrome-192x192.png +0 -0
  476. package/dist/img/icons/android-chrome-512x512.png +0 -0
  477. package/dist/img/icons/apple-touch-icon-152x152.png +0 -0
  478. package/dist/img/icons/apple-touch-icon.png +0 -0
  479. package/dist/img/icons/favicon-16x16.png +0 -0
  480. package/dist/img/icons/favicon-32x32.png +0 -0
  481. package/dist/img/icons/maskable.png +0 -0
  482. package/dist/img/icons/mstile-150x150.png +0 -0
  483. package/dist/img/splashscreens/apple-splash-1125-2436.jpg +0 -0
  484. package/dist/img/splashscreens/apple-splash-1136-640.jpg +0 -0
  485. package/dist/img/splashscreens/apple-splash-1242-2208.jpg +0 -0
  486. package/dist/img/splashscreens/apple-splash-1242-2688.jpg +0 -0
  487. package/dist/img/splashscreens/apple-splash-1334-750.jpg +0 -0
  488. package/dist/img/splashscreens/apple-splash-1536-2048.jpg +0 -0
  489. package/dist/img/splashscreens/apple-splash-1620-2160.jpg +0 -0
  490. package/dist/img/splashscreens/apple-splash-1668-2224.jpg +0 -0
  491. package/dist/img/splashscreens/apple-splash-1668-2388.jpg +0 -0
  492. package/dist/img/splashscreens/apple-splash-1792-828.jpg +0 -0
  493. package/dist/img/splashscreens/apple-splash-2048-1536.jpg +0 -0
  494. package/dist/img/splashscreens/apple-splash-2048-2732.jpg +0 -0
  495. package/dist/img/splashscreens/apple-splash-2160-1620.jpg +0 -0
  496. package/dist/img/splashscreens/apple-splash-2208-1242.jpg +0 -0
  497. package/dist/img/splashscreens/apple-splash-2224-1668.jpg +0 -0
  498. package/dist/img/splashscreens/apple-splash-2388-1668.jpg +0 -0
  499. package/dist/img/splashscreens/apple-splash-2436-1125.jpg +0 -0
  500. package/dist/img/splashscreens/apple-splash-2688-1242.jpg +0 -0
  501. package/dist/img/splashscreens/apple-splash-2732-2048.jpg +0 -0
  502. package/dist/img/splashscreens/apple-splash-640-1136.jpg +0 -0
  503. package/dist/img/splashscreens/apple-splash-750-1334.jpg +0 -0
  504. package/dist/img/splashscreens/apple-splash-828-1792.jpg +0 -0
  505. package/dist/index.6cd9935b.js +340 -0
  506. package/dist/index.html +155 -1
  507. package/dist/manifest.webmanifest +10 -3
  508. package/dist/robots.txt +2 -0
  509. package/dist/vue-i18n.8cad2387.js +1 -0
  510. package/dist/vue-router.2ecf8762.js +1 -0
  511. package/dist/vue.7c9ccadf.js +1 -0
  512. package/package.json +99 -95
  513. package/dist/.htaccess +0 -12
  514. package/dist/assets.json +0 -464
  515. package/dist/css/app.17049dcb.css +0 -1
  516. package/dist/css/chunk-76f03b76.3f0c0f89.css +0 -1
  517. package/dist/css/chunk-vendors.78ef4d89.css +0 -1
  518. package/dist/css/private-view.dfadf8c3.css +0 -1
  519. package/dist/fonts/FiraCode-Regular.0cab7c03.woff +0 -0
  520. package/dist/fonts/FiraCode-Regular.ea8e3416.woff2 +0 -0
  521. package/dist/fonts/material-icons-outline.f17eb849.woff2 +0 -0
  522. package/dist/fonts/material-icons.ad0c1bf1.woff2 +0 -0
  523. package/dist/img/avatar-placeholder.c569995c.svg +0 -7
  524. package/dist/img/icons/browserconfig.xml +0 -9
  525. package/dist/img/icons/favicon.ico +0 -0
  526. package/dist/img/icons/site.webmanifest +0 -19
  527. package/dist/img/logo-dark.2c0bedba.svg +0 -3
  528. package/dist/js/app.9bed18e0.js +0 -1
  529. package/dist/js/chunk-02fe587e.20273e20.js +0 -1
  530. package/dist/js/chunk-0475b1f4.6c2405b2.js +0 -1
  531. package/dist/js/chunk-0bb22374.437a9106.js +0 -1
  532. package/dist/js/chunk-1076ff7a.42ba1a7a.js +0 -41
  533. package/dist/js/chunk-130e5a6c.52bef12a.js +0 -25
  534. package/dist/js/chunk-22990efa.00549b97.js +0 -1
  535. package/dist/js/chunk-22fd476a.dcd56c98.js +0 -1
  536. package/dist/js/chunk-23301ba5.b23aa0e2.js +0 -1
  537. package/dist/js/chunk-247c64ca.d1bbe468.js +0 -1
  538. package/dist/js/chunk-2d0a3201.9fc09e52.js +0 -1
  539. package/dist/js/chunk-2d0a330a.9879d3eb.js +0 -1
  540. package/dist/js/chunk-2d0a3374.75e01ad8.js +0 -1
  541. package/dist/js/chunk-2d0a3a69.21864c22.js +0 -1
  542. package/dist/js/chunk-2d0a3b14.f0146e5b.js +0 -1
  543. package/dist/js/chunk-2d0a3c3c.997735e8.js +0 -1
  544. package/dist/js/chunk-2d0a3e4f.f1bc3799.js +0 -1
  545. package/dist/js/chunk-2d0a4049.4571648b.js +0 -1
  546. package/dist/js/chunk-2d0a43ee.6d900c47.js +0 -1
  547. package/dist/js/chunk-2d0a447c.3e7cc0f1.js +0 -1
  548. package/dist/js/chunk-2d0aa603.480c8344.js +0 -1
  549. package/dist/js/chunk-2d0aa7c5.6253404c.js +0 -1
  550. package/dist/js/chunk-2d0aa7d3.30853305.js +0 -1
  551. package/dist/js/chunk-2d0ab08b.821b4525.js +0 -1
  552. package/dist/js/chunk-2d0ab6e6.45fa0cc2.js +0 -1
  553. package/dist/js/chunk-2d0ab8c7.80bebeec.js +0 -1
  554. package/dist/js/chunk-2d0ac362.57235502.js +0 -1
  555. package/dist/js/chunk-2d0ae52c.16e6540f.js +0 -1
  556. package/dist/js/chunk-2d0aed04.07f32c17.js +0 -1
  557. package/dist/js/chunk-2d0aed08.14aa2ea2.js +0 -1
  558. package/dist/js/chunk-2d0af27e.0dc6f3fc.js +0 -1
  559. package/dist/js/chunk-2d0af7b0.1c2201eb.js +0 -1
  560. package/dist/js/chunk-2d0b1e22.84862cef.js +0 -1
  561. package/dist/js/chunk-2d0b219a.42742050.js +0 -1
  562. package/dist/js/chunk-2d0b21b7.e2d82798.js +0 -1
  563. package/dist/js/chunk-2d0b21f4.f439f2ba.js +0 -1
  564. package/dist/js/chunk-2d0b2596.74f69ea0.js +0 -1
  565. package/dist/js/chunk-2d0b25d5.33c33aa0.js +0 -1
  566. package/dist/js/chunk-2d0b2ac8.a533a446.js +0 -1
  567. package/dist/js/chunk-2d0b2caa.319b7917.js +0 -1
  568. package/dist/js/chunk-2d0b2e9d.763c3489.js +0 -1
  569. package/dist/js/chunk-2d0b3098.2443ed40.js +0 -1
  570. package/dist/js/chunk-2d0b360e.08657138.js +0 -1
  571. package/dist/js/chunk-2d0b3898.25d5e828.js +0 -1
  572. package/dist/js/chunk-2d0b5dc8.13199699.js +0 -1
  573. package/dist/js/chunk-2d0b5f9b.82de718b.js +0 -1
  574. package/dist/js/chunk-2d0b6165.d81d9105.js +0 -1
  575. package/dist/js/chunk-2d0b61e5.07c9101e.js +0 -1
  576. package/dist/js/chunk-2d0b63a6.21e67b74.js +0 -1
  577. package/dist/js/chunk-2d0b6b0b.b12fb51c.js +0 -1
  578. package/dist/js/chunk-2d0b6e96.333f4833.js +0 -1
  579. package/dist/js/chunk-2d0b71fa.d9311eb3.js +0 -1
  580. package/dist/js/chunk-2d0b729d.449258c0.js +0 -1
  581. package/dist/js/chunk-2d0b8a51.38e6b2ab.js +0 -1
  582. package/dist/js/chunk-2d0b8a59.25396c6b.js +0 -1
  583. package/dist/js/chunk-2d0b969e.a767f2cf.js +0 -1
  584. package/dist/js/chunk-2d0b97d6.b7c2f953.js +0 -1
  585. package/dist/js/chunk-2d0b9853.2866526e.js +0 -1
  586. package/dist/js/chunk-2d0ba16a.86fcdb4c.js +0 -1
  587. package/dist/js/chunk-2d0ba2fb.f3b6b26e.js +0 -1
  588. package/dist/js/chunk-2d0ba6b0.f541c7c1.js +0 -1
  589. package/dist/js/chunk-2d0ba909.835de919.js +0 -1
  590. package/dist/js/chunk-2d0bb21c.9b4760bd.js +0 -1
  591. package/dist/js/chunk-2d0bd407.7aaea161.js +0 -1
  592. package/dist/js/chunk-2d0bd432.812237f0.js +0 -1
  593. package/dist/js/chunk-2d0be0da.a302ad8f.js +0 -3
  594. package/dist/js/chunk-2d0c02ed.d8fcbc7d.js +0 -1
  595. package/dist/js/chunk-2d0c0aff.a4a7423d.js +0 -1
  596. package/dist/js/chunk-2d0c0fa6.5d8c9001.js +0 -1
  597. package/dist/js/chunk-2d0c1028.75bf4b52.js +0 -1
  598. package/dist/js/chunk-2d0c15c8.96af9f0c.js +0 -1
  599. package/dist/js/chunk-2d0c195a.9791eb60.js +0 -1
  600. package/dist/js/chunk-2d0c2080.32f9480b.js +0 -1
  601. package/dist/js/chunk-2d0c2167.7ca75a2e.js +0 -1
  602. package/dist/js/chunk-2d0c45f7.1631c22d.js +0 -1
  603. package/dist/js/chunk-2d0c4663.3fbabc94.js +0 -1
  604. package/dist/js/chunk-2d0c49c9.466d7c9c.js +0 -1
  605. package/dist/js/chunk-2d0c4d9b.767d7c76.js +0 -1
  606. package/dist/js/chunk-2d0c5199.64446c5b.js +0 -1
  607. package/dist/js/chunk-2d0c55f7.247b804b.js +0 -1
  608. package/dist/js/chunk-2d0c5773.e03a0ce8.js +0 -1
  609. package/dist/js/chunk-2d0c5b36.9f749d66.js +0 -1
  610. package/dist/js/chunk-2d0c78e0.e4450335.js +0 -1
  611. package/dist/js/chunk-2d0c7a93.fdf836c7.js +0 -1
  612. package/dist/js/chunk-2d0c7f10.e82485a9.js +0 -1
  613. package/dist/js/chunk-2d0c823b.c05f7ef0.js +0 -1
  614. package/dist/js/chunk-2d0c8244.e4869336.js +0 -1
  615. package/dist/js/chunk-2d0c8807.202ea44b.js +0 -1
  616. package/dist/js/chunk-2d0c8856.50e131c2.js +0 -1
  617. package/dist/js/chunk-2d0c8d5d.5a65ea15.js +0 -1
  618. package/dist/js/chunk-2d0c9365.73dd8899.js +0 -1
  619. package/dist/js/chunk-2d0c939a.0e86e691.js +0 -1
  620. package/dist/js/chunk-2d0c95a9.0c78af01.js +0 -1
  621. package/dist/js/chunk-2d0c96eb.1dbdcc4b.js +0 -1
  622. package/dist/js/chunk-2d0cbabf.bd131e45.js +0 -1
  623. package/dist/js/chunk-2d0cbae7.e9578c63.js +0 -1
  624. package/dist/js/chunk-2d0cbec3.632b01a2.js +0 -1
  625. package/dist/js/chunk-2d0cc01b.ea51b892.js +0 -1
  626. package/dist/js/chunk-2d0cc2a0.ba46e789.js +0 -1
  627. package/dist/js/chunk-2d0cc466.f2e1856f.js +0 -1
  628. package/dist/js/chunk-2d0cc643.35827844.js +0 -1
  629. package/dist/js/chunk-2d0cc676.206ea2b8.js +0 -1
  630. package/dist/js/chunk-2d0cc687.124f0808.js +0 -1
  631. package/dist/js/chunk-2d0cc7d4.f23680e0.js +0 -1
  632. package/dist/js/chunk-2d0cc96f.6328f959.js +0 -1
  633. package/dist/js/chunk-2d0cc97b.836e2ec2.js +0 -1
  634. package/dist/js/chunk-2d0cca44.fd645913.js +0 -1
  635. package/dist/js/chunk-2d0ccba8.02528191.js +0 -1
  636. package/dist/js/chunk-2d0ccbca.f25567a1.js +0 -1
  637. package/dist/js/chunk-2d0ceb62.e9ac5cea.js +0 -1
  638. package/dist/js/chunk-2d0ceed1.96c6eef6.js +0 -1
  639. package/dist/js/chunk-2d0cf16e.1652c5b7.js +0 -1
  640. package/dist/js/chunk-2d0cf298.8a6c7e4c.js +0 -1
  641. package/dist/js/chunk-2d0cf501.0bd7cef5.js +0 -1
  642. package/dist/js/chunk-2d0cf730.34658e22.js +0 -1
  643. package/dist/js/chunk-2d0cfa45.8aa997e6.js +0 -1
  644. package/dist/js/chunk-2d0cfe39.2bc73a08.js +0 -1
  645. package/dist/js/chunk-2d0cfefe.58b06e06.js +0 -1
  646. package/dist/js/chunk-2d0d0988.678b7e71.js +0 -1
  647. package/dist/js/chunk-2d0d0bf3.67f82926.js +0 -1
  648. package/dist/js/chunk-2d0d2ac9.0927a7b6.js +0 -1
  649. package/dist/js/chunk-2d0d2f00.fcb378f9.js +0 -1
  650. package/dist/js/chunk-2d0d3142.fc274e64.js +0 -1
  651. package/dist/js/chunk-2d0d3264.149c37e1.js +0 -1
  652. package/dist/js/chunk-2d0d34d8.b1534374.js +0 -1
  653. package/dist/js/chunk-2d0d374f.4506a5eb.js +0 -1
  654. package/dist/js/chunk-2d0d3ac2.7a9f2d8b.js +0 -1
  655. package/dist/js/chunk-2d0d3dcb.12fb67b5.js +0 -1
  656. package/dist/js/chunk-2d0d3de7.4d846565.js +0 -1
  657. package/dist/js/chunk-2d0d67ec.b2e92170.js +0 -1
  658. package/dist/js/chunk-2d0d6921.0647b00d.js +0 -1
  659. package/dist/js/chunk-2d0d6981.18c39309.js +0 -1
  660. package/dist/js/chunk-2d0d7246.014d46f1.js +0 -1
  661. package/dist/js/chunk-2d0d76c4.4fa57cf2.js +0 -1
  662. package/dist/js/chunk-2d0d7dda.5a60e094.js +0 -1
  663. package/dist/js/chunk-2d0d837c.0e7283a9.js +0 -1
  664. package/dist/js/chunk-2d0daf3f.3f7efd8f.js +0 -1
  665. package/dist/js/chunk-2d0db313.d9200c3d.js +0 -1
  666. package/dist/js/chunk-2d0db814.fcbb184b.js +0 -1
  667. package/dist/js/chunk-2d0dd07c.1dab45b1.js +0 -1
  668. package/dist/js/chunk-2d0dd0b0.451d6959.js +0 -1
  669. package/dist/js/chunk-2d0dd450.29c85ab8.js +0 -1
  670. package/dist/js/chunk-2d0de3fd.d1224ff3.js +0 -1
  671. package/dist/js/chunk-2d0dea59.0d2373c7.js +0 -1
  672. package/dist/js/chunk-2d0dea67.a6dbe898.js +0 -1
  673. package/dist/js/chunk-2d0df0c3.a4b857ed.js +0 -1
  674. package/dist/js/chunk-2d0df1fe.f473a0c3.js +0 -1
  675. package/dist/js/chunk-2d0df7c6.cbcea322.js +0 -1
  676. package/dist/js/chunk-2d0e14cd.b229d572.js +0 -1
  677. package/dist/js/chunk-2d0e1db4.136dc28b.js +0 -1
  678. package/dist/js/chunk-2d0e2371.ae9f2efd.js +0 -1
  679. package/dist/js/chunk-2d0e26e5.d08964b2.js +0 -1
  680. package/dist/js/chunk-2d0e2903.abfce933.js +0 -1
  681. package/dist/js/chunk-2d0e2c85.3bf17bf6.js +0 -1
  682. package/dist/js/chunk-2d0e4519.060f3949.js +0 -1
  683. package/dist/js/chunk-2d0e4d18.a79e6efb.js +0 -1
  684. package/dist/js/chunk-2d0e5222.e9b4609e.js +0 -1
  685. package/dist/js/chunk-2d0e5260.ac6a2f3c.js +0 -1
  686. package/dist/js/chunk-2d0e5986.f4a08a3d.js +0 -1
  687. package/dist/js/chunk-2d0e5adc.7471894f.js +0 -1
  688. package/dist/js/chunk-2d0e5f24.7d3b082a.js +0 -1
  689. package/dist/js/chunk-2d0e6693.1dfade98.js +0 -1
  690. package/dist/js/chunk-2d0e6c6b.db4c7c2b.js +0 -1
  691. package/dist/js/chunk-2d0e9b85.fbf3e1de.js +0 -1
  692. package/dist/js/chunk-2d0ea0d3.bc77a1c1.js +0 -1
  693. package/dist/js/chunk-2d0efd3d.fd8937c7.js +0 -1
  694. package/dist/js/chunk-2d0f00bd.59c44af9.js +0 -1
  695. package/dist/js/chunk-2d0f024d.57a874c3.js +0 -1
  696. package/dist/js/chunk-2d0f0691.2845c01c.js +0 -1
  697. package/dist/js/chunk-2d0f0be2.e0e152b4.js +0 -1
  698. package/dist/js/chunk-2d0f1156.92273fb4.js +0 -1
  699. package/dist/js/chunk-2d207365.4fc8c806.js +0 -1
  700. package/dist/js/chunk-2d207934.d645fb59.js +0 -1
  701. package/dist/js/chunk-2d207986.f78efaf3.js +0 -1
  702. package/dist/js/chunk-2d207bd3.2852c1d4.js +0 -1
  703. package/dist/js/chunk-2d207d1c.ef08ce2c.js +0 -1
  704. package/dist/js/chunk-2d2084ab.e0670985.js +0 -1
  705. package/dist/js/chunk-2d2086e8.c7681e4d.js +0 -1
  706. package/dist/js/chunk-2d20916f.f1faaa71.js +0 -1
  707. package/dist/js/chunk-2d2097bc.2dcf71bb.js +0 -1
  708. package/dist/js/chunk-2d20f139.d1bb53f5.js +0 -1
  709. package/dist/js/chunk-2d20fa50.b99192b1.js +0 -1
  710. package/dist/js/chunk-2d20fc7a.dcaa2fc6.js +0 -1
  711. package/dist/js/chunk-2d21008a.4e0a005a.js +0 -1
  712. package/dist/js/chunk-2d210099.77b07851.js +0 -1
  713. package/dist/js/chunk-2d212f99.0cc806d2.js +0 -1
  714. package/dist/js/chunk-2d212fa3.6359deb0.js +0 -1
  715. package/dist/js/chunk-2d2131a9.1d9aeeef.js +0 -1
  716. package/dist/js/chunk-2d213507.a5bf17ff.js +0 -1
  717. package/dist/js/chunk-2d21365c.45a2bcda.js +0 -1
  718. package/dist/js/chunk-2d213744.e7a73dc3.js +0 -1
  719. package/dist/js/chunk-2d2138fb.1b0e8891.js +0 -1
  720. package/dist/js/chunk-2d213b3a.42acf95a.js +0 -1
  721. package/dist/js/chunk-2d213de2.140a8f8a.js +0 -1
  722. package/dist/js/chunk-2d21443c.7b83d1b6.js +0 -1
  723. package/dist/js/chunk-2d215c03.beea7bdf.js +0 -1
  724. package/dist/js/chunk-2d215fac.b51a7a48.js +0 -1
  725. package/dist/js/chunk-2d216024.4a7456c7.js +0 -1
  726. package/dist/js/chunk-2d2162a1.3323dadb.js +0 -1
  727. package/dist/js/chunk-2d2163a7.8c3fb532.js +0 -1
  728. package/dist/js/chunk-2d216fa3.264212ac.js +0 -1
  729. package/dist/js/chunk-2d217269.5999ab3b.js +0 -1
  730. package/dist/js/chunk-2d2176e8.f7bbceb6.js +0 -1
  731. package/dist/js/chunk-2d21785f.5d65eea0.js +0 -1
  732. package/dist/js/chunk-2d217aec.2eb79c04.js +0 -1
  733. package/dist/js/chunk-2d21808c.3ca689de.js +0 -1
  734. package/dist/js/chunk-2d21a3f7.7e043ef4.js +0 -1
  735. package/dist/js/chunk-2d21a415.e2eb92fe.js +0 -1
  736. package/dist/js/chunk-2d21adb6.b11ae4bc.js +0 -1
  737. package/dist/js/chunk-2d21b2db.7471aa5b.js +0 -1
  738. package/dist/js/chunk-2d21b4ce.7db9e67c.js +0 -1
  739. package/dist/js/chunk-2d21b8db.f930430a.js +0 -1
  740. package/dist/js/chunk-2d21d18e.8aee4621.js +0 -1
  741. package/dist/js/chunk-2d21d816.05c149bb.js +0 -1
  742. package/dist/js/chunk-2d21d818.8510f645.js +0 -1
  743. package/dist/js/chunk-2d21d895.fd8eff5f.js +0 -1
  744. package/dist/js/chunk-2d21dbb6.8de2cbff.js +0 -1
  745. package/dist/js/chunk-2d21e1b8.87d1e231.js +0 -1
  746. package/dist/js/chunk-2d21e6c9.d5514009.js +0 -1
  747. package/dist/js/chunk-2d21e76c.b84d3c08.js +0 -1
  748. package/dist/js/chunk-2d21eaab.25b62852.js +0 -1
  749. package/dist/js/chunk-2d21f22d.66286dd8.js +0 -1
  750. package/dist/js/chunk-2d21f270.11a12042.js +0 -1
  751. package/dist/js/chunk-2d2217fa.df4ca1cb.js +0 -1
  752. package/dist/js/chunk-2d2218b5.d2214c31.js +0 -1
  753. package/dist/js/chunk-2d221f49.5c4ff57e.js +0 -1
  754. package/dist/js/chunk-2d2221c6.c4837a00.js +0 -1
  755. package/dist/js/chunk-2d22233d.534bcda1.js +0 -1
  756. package/dist/js/chunk-2d222736.a04d316c.js +0 -1
  757. package/dist/js/chunk-2d222778.ad097c18.js +0 -1
  758. package/dist/js/chunk-2d224c66.31e74df1.js +0 -1
  759. package/dist/js/chunk-2d224c96.915ab4fc.js +0 -1
  760. package/dist/js/chunk-2d224d1e.00b7a9c3.js +0 -1
  761. package/dist/js/chunk-2d224d3f.a1f2610a.js +0 -1
  762. package/dist/js/chunk-2d225486.7f7775fb.js +0 -1
  763. package/dist/js/chunk-2d22576b.96d78242.js +0 -1
  764. package/dist/js/chunk-2d225c3f.e4c68cc0.js +0 -1
  765. package/dist/js/chunk-2d225f3a.4621773c.js +0 -1
  766. package/dist/js/chunk-2d225fd8.236be3d4.js +0 -1
  767. package/dist/js/chunk-2d22619b.a940f113.js +0 -1
  768. package/dist/js/chunk-2d2262cf.35eb69cc.js +0 -1
  769. package/dist/js/chunk-2d226539.2b0d31e0.js +0 -1
  770. package/dist/js/chunk-2d226557.3103c445.js +0 -1
  771. package/dist/js/chunk-2d22671a.82f563d8.js +0 -1
  772. package/dist/js/chunk-2d228c45.c413ae8a.js +0 -1
  773. package/dist/js/chunk-2d229019.49d85692.js +0 -1
  774. package/dist/js/chunk-2d229778.ff3e3c38.js +0 -1
  775. package/dist/js/chunk-2d2297f5.e87d93c4.js +0 -1
  776. package/dist/js/chunk-2d229811.9886170e.js +0 -1
  777. package/dist/js/chunk-2d22987f.c725eab6.js +0 -1
  778. package/dist/js/chunk-2d2299f6.f5ac9d0e.js +0 -1
  779. package/dist/js/chunk-2d22c0d4.0ff40235.js +0 -1
  780. package/dist/js/chunk-2d22c120.bd659b9e.js +0 -1
  781. package/dist/js/chunk-2d22c132.9b7ef804.js +0 -1
  782. package/dist/js/chunk-2d22c2b9.ac329796.js +0 -1
  783. package/dist/js/chunk-2d22c2d0.dc4b92a4.js +0 -1
  784. package/dist/js/chunk-2d22c304.b0e59eeb.js +0 -1
  785. package/dist/js/chunk-2d22c380.5d187aaa.js +0 -1
  786. package/dist/js/chunk-2d22c885.256b855d.js +0 -1
  787. package/dist/js/chunk-2d22cac3.c65725c2.js +0 -1
  788. package/dist/js/chunk-2d22cbe7.80608579.js +0 -1
  789. package/dist/js/chunk-2d22cd0e.fb9cbcf1.js +0 -1
  790. package/dist/js/chunk-2d22cea1.c1953d61.js +0 -1
  791. package/dist/js/chunk-2d22cfa9.38db524d.js +0 -1
  792. package/dist/js/chunk-2d22d73b.3549ea1b.js +0 -1
  793. package/dist/js/chunk-2d22daff.fedbcc11.js +0 -1
  794. package/dist/js/chunk-2d22dbf3.0fdd2f41.js +0 -1
  795. package/dist/js/chunk-2d22fdde.1b04cfd9.js +0 -1
  796. package/dist/js/chunk-2d230058.b842b5fd.js +0 -1
  797. package/dist/js/chunk-2d2302b7.2a619000.js +0 -1
  798. package/dist/js/chunk-2d23053f.fbb4680f.js +0 -1
  799. package/dist/js/chunk-2d230fdc.714f92c3.js +0 -1
  800. package/dist/js/chunk-2d231056.1d563a18.js +0 -1
  801. package/dist/js/chunk-2d231234.8f777f25.js +0 -1
  802. package/dist/js/chunk-2d23787a.c5d0a8f3.js +0 -1
  803. package/dist/js/chunk-2d237c9a.051c1bc5.js +0 -1
  804. package/dist/js/chunk-2d238045.87aa052a.js +0 -1
  805. package/dist/js/chunk-2d2380f1.9f68eea1.js +0 -1
  806. package/dist/js/chunk-3a691400.74d8c284.js +0 -1
  807. package/dist/js/chunk-3b0e6be2.39d8ad21.js +0 -1
  808. package/dist/js/chunk-3bae5698.8d2f49f3.js +0 -1
  809. package/dist/js/chunk-4027c874.4db535b4.js +0 -1
  810. package/dist/js/chunk-4426ff63.0f1653c4.js +0 -1
  811. package/dist/js/chunk-53c2a582.caab6c8b.js +0 -1
  812. package/dist/js/chunk-6a59ddac.f9a313fb.js +0 -1
  813. package/dist/js/chunk-6b7a9436.1324cb66.js +0 -1
  814. package/dist/js/chunk-731ad129.0b35391b.js +0 -1
  815. package/dist/js/chunk-745a6caa.ac0320cf.js +0 -1
  816. package/dist/js/chunk-745c03e5.6229aade.js +0 -1
  817. package/dist/js/chunk-7460d8d2.462321d6.js +0 -1
  818. package/dist/js/chunk-7475c05d.705a6c7f.js +0 -1
  819. package/dist/js/chunk-747cc27b.ae61ad9e.js +0 -1
  820. package/dist/js/chunk-7483cff5.03217bf6.js +0 -1
  821. package/dist/js/chunk-74c3b594.5e39061d.js +0 -1
  822. package/dist/js/chunk-74c43cda.649efd2a.js +0 -1
  823. package/dist/js/chunk-74e8dd44.f2739142.js +0 -1
  824. package/dist/js/chunk-74f09ed8.61fdc3bd.js +0 -1
  825. package/dist/js/chunk-74f0b5b8.a7bfdbef.js +0 -1
  826. package/dist/js/chunk-76f03b76.e07f3cb6.js +0 -1
  827. package/dist/js/chunk-76f136d2.1c759c0a.js +0 -1
  828. package/dist/js/chunk-7ed78fc8.e3cf44e4.js +0 -1
  829. package/dist/js/chunk-af4352d8.3fb31f0f.js +0 -1
  830. package/dist/js/chunk-c040b4fa.6d5523d8.js +0 -1
  831. package/dist/js/chunk-dfad1efc.8cbcee78.js +0 -1
  832. package/dist/js/chunk-vendors.3cb7772e.js +0 -122
  833. package/dist/js/df-0.d656b172.js +0 -1
  834. package/dist/js/df-1.02f81a76.js +0 -1
  835. package/dist/js/df-10.c487b9a0.js +0 -1
  836. package/dist/js/df-100.fcb7b80e.js +0 -1
  837. package/dist/js/df-101.c04fd324.js +0 -1
  838. package/dist/js/df-102.71d96fa8.js +0 -1
  839. package/dist/js/df-103.ff206e4a.js +0 -1
  840. package/dist/js/df-104.057adafa.js +0 -1
  841. package/dist/js/df-105.1fe84fcb.js +0 -1
  842. package/dist/js/df-106.cd927167.js +0 -1
  843. package/dist/js/df-107.f2fc35de.js +0 -1
  844. package/dist/js/df-108.71dac2a4.js +0 -1
  845. package/dist/js/df-109.d181d5c8.js +0 -1
  846. package/dist/js/df-11.c34a8a2b.js +0 -1
  847. package/dist/js/df-110.09c582f3.js +0 -1
  848. package/dist/js/df-111.19e2b05a.js +0 -1
  849. package/dist/js/df-112.63a4df3d.js +0 -1
  850. package/dist/js/df-113.2b239d15.js +0 -1
  851. package/dist/js/df-114.f055c433.js +0 -1
  852. package/dist/js/df-115.5753d848.js +0 -1
  853. package/dist/js/df-116.ba419081.js +0 -1
  854. package/dist/js/df-117.45585891.js +0 -1
  855. package/dist/js/df-118.8628ef69.js +0 -1
  856. package/dist/js/df-119.59266e81.js +0 -1
  857. package/dist/js/df-12.b352c301.js +0 -1
  858. package/dist/js/df-120.4041b382.js +0 -1
  859. package/dist/js/df-121.1cc0d26d.js +0 -1
  860. package/dist/js/df-122.52510f7a.js +0 -1
  861. package/dist/js/df-123.92db88fa.js +0 -1
  862. package/dist/js/df-124.0ec96d11.js +0 -1
  863. package/dist/js/df-125.dcb3c2dc.js +0 -1
  864. package/dist/js/df-126.a087ebed.js +0 -1
  865. package/dist/js/df-127.3cdf27ea.js +0 -1
  866. package/dist/js/df-128.8c33dba9.js +0 -1
  867. package/dist/js/df-129.6fffb48d.js +0 -1
  868. package/dist/js/df-13.bdcedefa.js +0 -1
  869. package/dist/js/df-130.37f5ff66.js +0 -1
  870. package/dist/js/df-131.1c53dbde.js +0 -1
  871. package/dist/js/df-132.c76c76dc.js +0 -1
  872. package/dist/js/df-133.1566bd4c.js +0 -1
  873. package/dist/js/df-134.e1366f80.js +0 -1
  874. package/dist/js/df-135.32a19052.js +0 -1
  875. package/dist/js/df-136.0272668a.js +0 -1
  876. package/dist/js/df-137.249fed80.js +0 -1
  877. package/dist/js/df-138.2b436c0c.js +0 -1
  878. package/dist/js/df-139.745aca97.js +0 -1
  879. package/dist/js/df-14.da0a83cc.js +0 -1
  880. package/dist/js/df-140.1ac4c815.js +0 -1
  881. package/dist/js/df-141.8ebb5a5f.js +0 -1
  882. package/dist/js/df-142.aaa9a9b4.js +0 -1
  883. package/dist/js/df-143.8a842341.js +0 -1
  884. package/dist/js/df-144.22684c21.js +0 -1
  885. package/dist/js/df-145.bda52b7c.js +0 -1
  886. package/dist/js/df-146.047e24b1.js +0 -1
  887. package/dist/js/df-147.c0e10920.js +0 -1
  888. package/dist/js/df-148.7628b6ed.js +0 -1
  889. package/dist/js/df-149.3ba3d00b.js +0 -1
  890. package/dist/js/df-15.a5979ba7.js +0 -1
  891. package/dist/js/df-150.5d6fd7e1.js +0 -1
  892. package/dist/js/df-151.e568397a.js +0 -1
  893. package/dist/js/df-152.7a9a450b.js +0 -1
  894. package/dist/js/df-153.2cd45645.js +0 -1
  895. package/dist/js/df-154.7ebd152a.js +0 -1
  896. package/dist/js/df-155.ecc51159.js +0 -1
  897. package/dist/js/df-156.5f90eedd.js +0 -1
  898. package/dist/js/df-157.aa256b9d.js +0 -1
  899. package/dist/js/df-158.14628d40.js +0 -1
  900. package/dist/js/df-159.0785e8fe.js +0 -1
  901. package/dist/js/df-16.b6507380.js +0 -1
  902. package/dist/js/df-160.faec8822.js +0 -1
  903. package/dist/js/df-161.8c6c2cb3.js +0 -1
  904. package/dist/js/df-162.856dff02.js +0 -1
  905. package/dist/js/df-163.43e49468.js +0 -1
  906. package/dist/js/df-164.dc51e6b9.js +0 -1
  907. package/dist/js/df-165.6398a0ad.js +0 -1
  908. package/dist/js/df-166.8b978287.js +0 -1
  909. package/dist/js/df-167.575f9b44.js +0 -1
  910. package/dist/js/df-168.0f73cfd0.js +0 -1
  911. package/dist/js/df-169.38fe0541.js +0 -1
  912. package/dist/js/df-17.280f8935.js +0 -1
  913. package/dist/js/df-170.950263e2.js +0 -1
  914. package/dist/js/df-171.1838114e.js +0 -1
  915. package/dist/js/df-172.4504f018.js +0 -1
  916. package/dist/js/df-173.e45262ee.js +0 -1
  917. package/dist/js/df-174.964143d3.js +0 -1
  918. package/dist/js/df-175.bd1422eb.js +0 -1
  919. package/dist/js/df-176.56bd09a2.js +0 -1
  920. package/dist/js/df-177.3fae11a5.js +0 -1
  921. package/dist/js/df-178.93913a20.js +0 -1
  922. package/dist/js/df-179.217f18d5.js +0 -1
  923. package/dist/js/df-18.7809cd2e.js +0 -1
  924. package/dist/js/df-180.e466f7ac.js +0 -1
  925. package/dist/js/df-181.9c3d037e.js +0 -1
  926. package/dist/js/df-182.c2ec12bf.js +0 -1
  927. package/dist/js/df-183.875c8ae5.js +0 -1
  928. package/dist/js/df-184.03fd8195.js +0 -1
  929. package/dist/js/df-185.14085b46.js +0 -1
  930. package/dist/js/df-186.2cc2526d.js +0 -1
  931. package/dist/js/df-187.8b80458a.js +0 -1
  932. package/dist/js/df-188.6a01095b.js +0 -1
  933. package/dist/js/df-189.41372f31.js +0 -1
  934. package/dist/js/df-19.96f97d25.js +0 -1
  935. package/dist/js/df-190.e5ac7692.js +0 -1
  936. package/dist/js/df-191.6b53ff2e.js +0 -1
  937. package/dist/js/df-192.ee153594.js +0 -1
  938. package/dist/js/df-193.4126c636.js +0 -1
  939. package/dist/js/df-194.55edadf8.js +0 -1
  940. package/dist/js/df-195.45757613.js +0 -1
  941. package/dist/js/df-196.fc2f1334.js +0 -1
  942. package/dist/js/df-197.19a0edd4.js +0 -1
  943. package/dist/js/df-198.6c0e81f4.js +0 -1
  944. package/dist/js/df-199.c550a49e.js +0 -1
  945. package/dist/js/df-2.6f31eb43.js +0 -1
  946. package/dist/js/df-20.09e4d8ee.js +0 -1
  947. package/dist/js/df-200.e4d19c3a.js +0 -1
  948. package/dist/js/df-201.57cd02d5.js +0 -1
  949. package/dist/js/df-202.26abe306.js +0 -1
  950. package/dist/js/df-203.57652694.js +0 -1
  951. package/dist/js/df-204.30c0f7f7.js +0 -1
  952. package/dist/js/df-205.ea6b3562.js +0 -1
  953. package/dist/js/df-206.b579f721.js +0 -1
  954. package/dist/js/df-207.847d1cee.js +0 -1
  955. package/dist/js/df-208.0f9cf318.js +0 -1
  956. package/dist/js/df-209.53e446ca.js +0 -1
  957. package/dist/js/df-21.7cb51940.js +0 -1
  958. package/dist/js/df-210.d8fc38c8.js +0 -1
  959. package/dist/js/df-211.9ff4dafc.js +0 -1
  960. package/dist/js/df-212.210792a9.js +0 -1
  961. package/dist/js/df-213.5dba1b01.js +0 -1
  962. package/dist/js/df-214.c42b1201.js +0 -1
  963. package/dist/js/df-215.dea43971.js +0 -1
  964. package/dist/js/df-216.9eaf9657.js +0 -1
  965. package/dist/js/df-217.f1452963.js +0 -1
  966. package/dist/js/df-218.94f9348f.js +0 -1
  967. package/dist/js/df-219.e662f1cb.js +0 -1
  968. package/dist/js/df-22.1f69f10a.js +0 -1
  969. package/dist/js/df-220.1babf56a.js +0 -1
  970. package/dist/js/df-221.51afd338.js +0 -1
  971. package/dist/js/df-222.f323116a.js +0 -1
  972. package/dist/js/df-223.397ffc7f.js +0 -1
  973. package/dist/js/df-224.75b6b62c.js +0 -1
  974. package/dist/js/df-225.3ec573ac.js +0 -1
  975. package/dist/js/df-226.02427cec.js +0 -1
  976. package/dist/js/df-227.79fd023a.js +0 -1
  977. package/dist/js/df-228.d103e2ab.js +0 -1
  978. package/dist/js/df-229.a2b41599.js +0 -1
  979. package/dist/js/df-23.1cd0efff.js +0 -1
  980. package/dist/js/df-230.1714e8fa.js +0 -1
  981. package/dist/js/df-231.729e8742.js +0 -1
  982. package/dist/js/df-232.23c5ffd9.js +0 -1
  983. package/dist/js/df-233.a9258aae.js +0 -1
  984. package/dist/js/df-234.b5c650c4.js +0 -1
  985. package/dist/js/df-235.bd8f6a12.js +0 -1
  986. package/dist/js/df-236.4ae912cb.js +0 -1
  987. package/dist/js/df-237.041dade6.js +0 -1
  988. package/dist/js/df-238.1178feb7.js +0 -1
  989. package/dist/js/df-239.a03b3ad1.js +0 -1
  990. package/dist/js/df-24.7fdcba2a.js +0 -1
  991. package/dist/js/df-240.4dd769fc.js +0 -1
  992. package/dist/js/df-241.55390382.js +0 -1
  993. package/dist/js/df-242.0babb184.js +0 -1
  994. package/dist/js/df-243.04a2c7a9.js +0 -1
  995. package/dist/js/df-244.201035d8.js +0 -1
  996. package/dist/js/df-245.1c010cc0.js +0 -1
  997. package/dist/js/df-246.cbd6843b.js +0 -1
  998. package/dist/js/df-247.1fb0fce3.js +0 -1
  999. package/dist/js/df-248.7e93c9bc.js +0 -1
  1000. package/dist/js/df-249.de1ac11f.js +0 -1
  1001. package/dist/js/df-25.5ac2d31d.js +0 -1
  1002. package/dist/js/df-250.87e6e134.js +0 -1
  1003. package/dist/js/df-251.6ba4cef0.js +0 -1
  1004. package/dist/js/df-252.373dd04c.js +0 -1
  1005. package/dist/js/df-253.264e494c.js +0 -1
  1006. package/dist/js/df-254.947fbbea.js +0 -1
  1007. package/dist/js/df-255.ab965786.js +0 -1
  1008. package/dist/js/df-256.8321c00f.js +0 -1
  1009. package/dist/js/df-257.f23adae8.js +0 -1
  1010. package/dist/js/df-258.f1f8c0a7.js +0 -1
  1011. package/dist/js/df-259.a839b6ae.js +0 -1
  1012. package/dist/js/df-26.e9c3e9c3.js +0 -1
  1013. package/dist/js/df-260.a0a03ba8.js +0 -1
  1014. package/dist/js/df-261.b37e26a2.js +0 -1
  1015. package/dist/js/df-262.41f4195b.js +0 -1
  1016. package/dist/js/df-263.16565bc0.js +0 -1
  1017. package/dist/js/df-264.4fc2dd2b.js +0 -1
  1018. package/dist/js/df-265.b8bab1e6.js +0 -1
  1019. package/dist/js/df-266.7efad727.js +0 -1
  1020. package/dist/js/df-267.5bf70241.js +0 -1
  1021. package/dist/js/df-268.baaeaab4.js +0 -1
  1022. package/dist/js/df-269.938503e7.js +0 -1
  1023. package/dist/js/df-27.c026a489.js +0 -1
  1024. package/dist/js/df-270.10ae4c1e.js +0 -1
  1025. package/dist/js/df-271.4c37c47b.js +0 -1
  1026. package/dist/js/df-272.e8f5c2ce.js +0 -1
  1027. package/dist/js/df-273.ed9dc227.js +0 -1
  1028. package/dist/js/df-274.5968153a.js +0 -1
  1029. package/dist/js/df-275.291a26e3.js +0 -1
  1030. package/dist/js/df-276.ccc4c52b.js +0 -1
  1031. package/dist/js/df-277.ff1d9495.js +0 -1
  1032. package/dist/js/df-278.79303fc8.js +0 -1
  1033. package/dist/js/df-279.b0587400.js +0 -1
  1034. package/dist/js/df-28.523c68a2.js +0 -1
  1035. package/dist/js/df-280.cf7157b1.js +0 -1
  1036. package/dist/js/df-281.5999c49e.js +0 -1
  1037. package/dist/js/df-282.8c4ff6d1.js +0 -1
  1038. package/dist/js/df-283.3121fec5.js +0 -1
  1039. package/dist/js/df-284.d7a83a72.js +0 -1
  1040. package/dist/js/df-285.ef6e7c76.js +0 -1
  1041. package/dist/js/df-286.55b4c07b.js +0 -1
  1042. package/dist/js/df-287.910f1a9c.js +0 -1
  1043. package/dist/js/df-288.2665693e.js +0 -1
  1044. package/dist/js/df-289.2f331a7d.js +0 -1
  1045. package/dist/js/df-29.3779270a.js +0 -1
  1046. package/dist/js/df-290.9ee37043.js +0 -1
  1047. package/dist/js/df-291.3d3e991e.js +0 -1
  1048. package/dist/js/df-292.76b2fb05.js +0 -1
  1049. package/dist/js/df-293.a9af8b21.js +0 -1
  1050. package/dist/js/df-294.21ee165c.js +0 -1
  1051. package/dist/js/df-295.e7d27699.js +0 -1
  1052. package/dist/js/df-296.701c66a6.js +0 -1
  1053. package/dist/js/df-297.e45b35fb.js +0 -1
  1054. package/dist/js/df-298.4c16dc7c.js +0 -1
  1055. package/dist/js/df-299.e3088615.js +0 -1
  1056. package/dist/js/df-3.4e0722b6.js +0 -1
  1057. package/dist/js/df-30.324d337a.js +0 -1
  1058. package/dist/js/df-300.05c34727.js +0 -1
  1059. package/dist/js/df-301.906818be.js +0 -1
  1060. package/dist/js/df-302.f62b9233.js +0 -1
  1061. package/dist/js/df-303.8fef09bc.js +0 -1
  1062. package/dist/js/df-304.cb6bb3c7.js +0 -1
  1063. package/dist/js/df-305.afb6fc4d.js +0 -1
  1064. package/dist/js/df-306.d5af693c.js +0 -1
  1065. package/dist/js/df-307.9863e2dd.js +0 -1
  1066. package/dist/js/df-308.0fef117b.js +0 -1
  1067. package/dist/js/df-309.ecab01e0.js +0 -1
  1068. package/dist/js/df-31.202b95b1.js +0 -1
  1069. package/dist/js/df-310.8cb2a9a3.js +0 -1
  1070. package/dist/js/df-311.6edf3593.js +0 -1
  1071. package/dist/js/df-312.489a1ed8.js +0 -1
  1072. package/dist/js/df-313.0ab553fd.js +0 -1
  1073. package/dist/js/df-314.98e11df3.js +0 -1
  1074. package/dist/js/df-315.bbbd1b60.js +0 -1
  1075. package/dist/js/df-316.0c2aad4a.js +0 -1
  1076. package/dist/js/df-317.17273b08.js +0 -1
  1077. package/dist/js/df-318.78170196.js +0 -1
  1078. package/dist/js/df-319.9068282d.js +0 -1
  1079. package/dist/js/df-32.f7c57b9a.js +0 -1
  1080. package/dist/js/df-320.c68688be.js +0 -1
  1081. package/dist/js/df-321.0833414e.js +0 -1
  1082. package/dist/js/df-322.437a54d0.js +0 -1
  1083. package/dist/js/df-323.c297a33e.js +0 -1
  1084. package/dist/js/df-324.7ea80f8c.js +0 -1
  1085. package/dist/js/df-325.ca49206a.js +0 -1
  1086. package/dist/js/df-326.a2d4a50a.js +0 -1
  1087. package/dist/js/df-327.92324463.js +0 -1
  1088. package/dist/js/df-328.a9c117ec.js +0 -1
  1089. package/dist/js/df-329.1d236758.js +0 -1
  1090. package/dist/js/df-33.ef5bd683.js +0 -1
  1091. package/dist/js/df-330.9fff8a53.js +0 -1
  1092. package/dist/js/df-331.14884ad7.js +0 -1
  1093. package/dist/js/df-332.2a6925d2.js +0 -1
  1094. package/dist/js/df-333.55fee768.js +0 -1
  1095. package/dist/js/df-334.19f6c770.js +0 -1
  1096. package/dist/js/df-335.6bd78f6f.js +0 -1
  1097. package/dist/js/df-336.96064814.js +0 -1
  1098. package/dist/js/df-337.85c1d596.js +0 -1
  1099. package/dist/js/df-338.f2066de7.js +0 -1
  1100. package/dist/js/df-339.ef3c1a51.js +0 -1
  1101. package/dist/js/df-34.5ec173de.js +0 -1
  1102. package/dist/js/df-340.7f41ff84.js +0 -1
  1103. package/dist/js/df-341.724a811a.js +0 -1
  1104. package/dist/js/df-342.807d1253.js +0 -1
  1105. package/dist/js/df-343.df5bee0f.js +0 -1
  1106. package/dist/js/df-344.b2950576.js +0 -1
  1107. package/dist/js/df-345.e5061bea.js +0 -1
  1108. package/dist/js/df-346.2ccad647.js +0 -1
  1109. package/dist/js/df-347.7abc689e.js +0 -1
  1110. package/dist/js/df-348.5e22c6e5.js +0 -1
  1111. package/dist/js/df-349.2f3cedf8.js +0 -1
  1112. package/dist/js/df-35.2258a751.js +0 -1
  1113. package/dist/js/df-350.81e61ad7.js +0 -1
  1114. package/dist/js/df-351.14f2994b.js +0 -1
  1115. package/dist/js/df-352.f74b2113.js +0 -1
  1116. package/dist/js/df-353.d2e1949b.js +0 -1
  1117. package/dist/js/df-354.97ccfd8e.js +0 -1
  1118. package/dist/js/df-355.2638caba.js +0 -1
  1119. package/dist/js/df-356.c4043906.js +0 -1
  1120. package/dist/js/df-357.2cbdb03d.js +0 -1
  1121. package/dist/js/df-358.5540e7a4.js +0 -1
  1122. package/dist/js/df-359.5182e22d.js +0 -1
  1123. package/dist/js/df-36.d6b52974.js +0 -1
  1124. package/dist/js/df-360.a632a5a4.js +0 -1
  1125. package/dist/js/df-361.16e9bf01.js +0 -1
  1126. package/dist/js/df-362.a995700e.js +0 -1
  1127. package/dist/js/df-363.dc0710ce.js +0 -1
  1128. package/dist/js/df-364.631c4bbb.js +0 -1
  1129. package/dist/js/df-365.f1cc99de.js +0 -1
  1130. package/dist/js/df-366.fa226127.js +0 -1
  1131. package/dist/js/df-367.ab489fde.js +0 -1
  1132. package/dist/js/df-368.517c2db2.js +0 -1
  1133. package/dist/js/df-369.c17cca89.js +0 -1
  1134. package/dist/js/df-37.09fe5aa7.js +0 -1
  1135. package/dist/js/df-370.09e70363.js +0 -1
  1136. package/dist/js/df-371.f21c0493.js +0 -1
  1137. package/dist/js/df-372.14be5697.js +0 -1
  1138. package/dist/js/df-373.383d84f8.js +0 -1
  1139. package/dist/js/df-374.854cb999.js +0 -1
  1140. package/dist/js/df-375.f3ae034d.js +0 -1
  1141. package/dist/js/df-376.d98038a8.js +0 -1
  1142. package/dist/js/df-377.92de490c.js +0 -1
  1143. package/dist/js/df-378.f15bdbb8.js +0 -1
  1144. package/dist/js/df-379.e4f38f08.js +0 -1
  1145. package/dist/js/df-38.90058071.js +0 -1
  1146. package/dist/js/df-380.d7ebfb78.js +0 -1
  1147. package/dist/js/df-381.6089f387.js +0 -1
  1148. package/dist/js/df-382.40c68410.js +0 -1
  1149. package/dist/js/df-383.75dda3c1.js +0 -1
  1150. package/dist/js/df-384.7e77bb33.js +0 -1
  1151. package/dist/js/df-385.d386801b.js +0 -1
  1152. package/dist/js/df-386.508dd882.js +0 -1
  1153. package/dist/js/df-387.8f23553f.js +0 -1
  1154. package/dist/js/df-388.189b125f.js +0 -1
  1155. package/dist/js/df-389.a3f605c7.js +0 -1
  1156. package/dist/js/df-39.7c8ef451.js +0 -1
  1157. package/dist/js/df-390.fb6435d5.js +0 -1
  1158. package/dist/js/df-391.e57b56a6.js +0 -1
  1159. package/dist/js/df-392.bb9a8669.js +0 -1
  1160. package/dist/js/df-393.f2595a80.js +0 -1
  1161. package/dist/js/df-394.116dab6c.js +0 -1
  1162. package/dist/js/df-395.c9763c5a.js +0 -1
  1163. package/dist/js/df-396.bbed2b1f.js +0 -1
  1164. package/dist/js/df-397.81db8cd5.js +0 -1
  1165. package/dist/js/df-398.67f87860.js +0 -1
  1166. package/dist/js/df-399.d6f48a6e.js +0 -1
  1167. package/dist/js/df-4.a7cc9ba0.js +0 -1
  1168. package/dist/js/df-40.83ea41de.js +0 -1
  1169. package/dist/js/df-400.cb601efc.js +0 -1
  1170. package/dist/js/df-401.e1a19696.js +0 -1
  1171. package/dist/js/df-402.3d3a1374.js +0 -1
  1172. package/dist/js/df-403.124c01e3.js +0 -1
  1173. package/dist/js/df-404.abeb215f.js +0 -1
  1174. package/dist/js/df-405.447e0880.js +0 -1
  1175. package/dist/js/df-406.5f6606c0.js +0 -1
  1176. package/dist/js/df-407.16a9f86f.js +0 -1
  1177. package/dist/js/df-408.db202d81.js +0 -1
  1178. package/dist/js/df-409.f0455c02.js +0 -1
  1179. package/dist/js/df-41.94a3cc14.js +0 -1
  1180. package/dist/js/df-410.4f164f53.js +0 -1
  1181. package/dist/js/df-411.60153ba3.js +0 -1
  1182. package/dist/js/df-412.4699f1b9.js +0 -1
  1183. package/dist/js/df-413.2b779afb.js +0 -1
  1184. package/dist/js/df-414.80826077.js +0 -1
  1185. package/dist/js/df-415.e2bb9b3b.js +0 -1
  1186. package/dist/js/df-416.a1831010.js +0 -1
  1187. package/dist/js/df-417.73330f81.js +0 -1
  1188. package/dist/js/df-418.405c357b.js +0 -1
  1189. package/dist/js/df-419.5d907dc5.js +0 -1
  1190. package/dist/js/df-42.f3cc1454.js +0 -1
  1191. package/dist/js/df-420.07a44d97.js +0 -1
  1192. package/dist/js/df-421.fa0e2745.js +0 -1
  1193. package/dist/js/df-422.633c18ac.js +0 -1
  1194. package/dist/js/df-423.19023bcc.js +0 -1
  1195. package/dist/js/df-424.38e94bff.js +0 -1
  1196. package/dist/js/df-425.e52bc2dc.js +0 -1
  1197. package/dist/js/df-426.6e7c4afd.js +0 -1
  1198. package/dist/js/df-427.1db11468.js +0 -1
  1199. package/dist/js/df-428.344e4b9c.js +0 -1
  1200. package/dist/js/df-429.fd427208.js +0 -1
  1201. package/dist/js/df-43.021ce156.js +0 -1
  1202. package/dist/js/df-430.a88f3961.js +0 -1
  1203. package/dist/js/df-431.f8f19719.js +0 -1
  1204. package/dist/js/df-432.72f78f25.js +0 -1
  1205. package/dist/js/df-44.da896370.js +0 -1
  1206. package/dist/js/df-45.3cee6407.js +0 -1
  1207. package/dist/js/df-46.89a0afb9.js +0 -1
  1208. package/dist/js/df-47.57efe2ab.js +0 -1
  1209. package/dist/js/df-48.44816bc8.js +0 -1
  1210. package/dist/js/df-49.45503868.js +0 -1
  1211. package/dist/js/df-5.d062f0b0.js +0 -1
  1212. package/dist/js/df-50.d8ba4830.js +0 -1
  1213. package/dist/js/df-51.66344cfa.js +0 -1
  1214. package/dist/js/df-52.35627210.js +0 -1
  1215. package/dist/js/df-53.0c054e21.js +0 -1
  1216. package/dist/js/df-54.99f33fdc.js +0 -1
  1217. package/dist/js/df-55.0ec01f4e.js +0 -1
  1218. package/dist/js/df-56.bfe1bf6f.js +0 -1
  1219. package/dist/js/df-57.6e405537.js +0 -1
  1220. package/dist/js/df-58.717a2809.js +0 -1
  1221. package/dist/js/df-59.bb25839f.js +0 -1
  1222. package/dist/js/df-6.3ada10e7.js +0 -1
  1223. package/dist/js/df-60.4e02b53f.js +0 -1
  1224. package/dist/js/df-61.b0fe4233.js +0 -1
  1225. package/dist/js/df-62.28023ee7.js +0 -1
  1226. package/dist/js/df-63.31f06db5.js +0 -1
  1227. package/dist/js/df-64.68d82ce8.js +0 -1
  1228. package/dist/js/df-65.6542c265.js +0 -1
  1229. package/dist/js/df-66.c0171e44.js +0 -1
  1230. package/dist/js/df-67.51dd15a5.js +0 -1
  1231. package/dist/js/df-68.1db36e6a.js +0 -1
  1232. package/dist/js/df-69.2a2f49ec.js +0 -1
  1233. package/dist/js/df-7.51f83cc2.js +0 -1
  1234. package/dist/js/df-70.28735db3.js +0 -1
  1235. package/dist/js/df-71.4cfcb3c8.js +0 -1
  1236. package/dist/js/df-72.71e5e383.js +0 -1
  1237. package/dist/js/df-73.7bce3762.js +0 -1
  1238. package/dist/js/df-74.aee7a8d2.js +0 -1
  1239. package/dist/js/df-75.5cbb907f.js +0 -1
  1240. package/dist/js/df-76.0882d434.js +0 -1
  1241. package/dist/js/df-77.feecd422.js +0 -1
  1242. package/dist/js/df-78.0d294e7b.js +0 -1
  1243. package/dist/js/df-79.888b2abd.js +0 -1
  1244. package/dist/js/df-8.b278f4cf.js +0 -1
  1245. package/dist/js/df-80.920e4fac.js +0 -1
  1246. package/dist/js/df-81.5ec4223a.js +0 -1
  1247. package/dist/js/df-82.c84c8593.js +0 -1
  1248. package/dist/js/df-83.4884cd68.js +0 -1
  1249. package/dist/js/df-84.9f14593d.js +0 -1
  1250. package/dist/js/df-85.24bb7f28.js +0 -1
  1251. package/dist/js/df-86.855330ed.js +0 -1
  1252. package/dist/js/df-87.0d607689.js +0 -1
  1253. package/dist/js/df-88.6da2f63d.js +0 -1
  1254. package/dist/js/df-89.9a965988.js +0 -1
  1255. package/dist/js/df-9.c302c74a.js +0 -1
  1256. package/dist/js/df-90.7983948f.js +0 -1
  1257. package/dist/js/df-91.f8071fc0.js +0 -1
  1258. package/dist/js/df-92.60cce9bc.js +0 -1
  1259. package/dist/js/df-93.bbe9c5e4.js +0 -1
  1260. package/dist/js/df-94.96f300f0.js +0 -1
  1261. package/dist/js/df-95.42cff854.js +0 -1
  1262. package/dist/js/df-96.9cf1dec8.js +0 -1
  1263. package/dist/js/df-97.bc2a2200.js +0 -1
  1264. package/dist/js/df-98.26147256.js +0 -1
  1265. package/dist/js/df-99.8023250a.js +0 -1
  1266. package/dist/js/private-view.eb1b3ae0.js +0 -1
@@ -0,0 +1,115 @@
1
+ import{r as s,p as i,q as c,w as t,B as e,t as h,P as l}from"./vendor.6ad70522.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},_=l("What data is linked to what other data. Allows you to assign authors to articles, products to sales, and whatever other structures you can think of. "),g=l("Learn more about Relationships"),f=l("."),m=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-relation-object"},"The Relation Object")]),e("li",null,[e("a",{href:"#list-relations"},"List relations")]),e("li",null,[e("a",{href:"#list-relations-in-collection"},"List relations in collection")]),e("li",null,[e("a",{href:"#retrieve-a-relation"},"Retrieve a relation")]),e("li",null,[e("a",{href:"#create-a-relation"},"Create a Relation")]),e("li",null,[e("a",{href:"#update-a-relation"},"Update a Relation")]),e("li",null,[e("a",{href:"#delete-a-relation"},"Delete a Relation")])])])])],-1),y=e("hr",null,null,-1),j=e("h2",{id:"the-relation-object"},[l("The Relation Object "),e("a",{class:"header-anchor",href:"#the-relation-object"},"#")],-1),b=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"definitions"},[e("p",null,[e("code",null,"collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the collection. This matches the table name in the database.")]),e("p",null,[e("code",null,"field"),l(),e("strong",null,"string"),e("br"),l(" Name of the field that holds the related primary key. This matches the column name in the database.")]),e("p",null,[e("code",null,"related_collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the related collection. This matches the table name in the database.")])]),e("h4",{id:"meta"},[l("Meta "),e("a",{class:"header-anchor",href:"#meta"},"#")]),e("p",null,"Directus metadata. Used to enable non-database relationship types"),e("div",{class:"definitions"},[e("p",null,[e("code",null,"id"),l(),e("strong",null,"integer"),e("br"),l(" Primary key of the metadata row in "),e("code",null,"directus_relations"),l(".")]),e("p",null,[e("code",null,"many_collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the collection. Matches the top level "),e("code",null,"collection"),l(" field.")]),e("p",null,[e("code",null,"many_field"),l(),e("strong",null,"string"),e("br"),l(" Name of the field. Matches the top level "),e("code",null,"field"),l(" field.")]),e("p",null,[e("code",null,"one_collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the related collection. Matches the top level "),e("code",null,"related_collection"),l(" field.")]),e("p",null,[e("code",null,"one_field"),l(),e("strong",null,"string"),e("br"),l(" Name of the one to many field on the other side of the relation.")]),e("p",null,[e("code",null,"one_allowed_collections"),l(),e("strong",null,"string"),e("br"),l(" What collections are allowed to be used in a many-to-any context.")]),e("p",null,[e("code",null,"one_collection_field"),l(),e("strong",null,"string"),e("br"),l(" Field that holds the collection name in a many-to-any context.")]),e("p",null,[e("code",null,"one_deselect_action"),l(),e("strong",null,"nullify | delete"),e("br"),l(" Whether to nullify or delete related one-to-many records.")]),e("p",null,[e("code",null,"sort_field"),l(),e("strong",null,"string"),e("br"),l(" What field is used to hold the sort field.")]),e("p",null,[e("code",null,"junction_field"),l(),e("strong",null,"string"),e("br"),l(" What field connects two relations in a many-to-many (o2m-m2o) context.")])]),e("h4",{id:"schema"},[l("Schema "),e("a",{class:"header-anchor",href:"#schema"},"#")]),e("p",null,"\u201CRaw\u201D database information. Based on the database vendor used, different information might be returned. The following are available for all drivers."),e("div",{class:"definitions"},[e("p",null,[e("code",null,"table"),l(),e("strong",null,"string"),e("br"),l(" The table name.")]),e("p",null,[e("code",null,"column"),l(),e("strong",null,"string"),e("br"),l(" The column name.")]),e("p",null,[e("code",null,"foreign_key_table"),l(),e("strong",null,"string"),e("br"),l(" Related table name.")]),e("p",null,[e("code",null,"foreign_key_column"),l(),e("strong",null,"string"),e("br"),l(" Related column name.")]),e("p",null,[e("code",null,"constraint_name"),l(),e("strong",null,"string"),e("br"),l(" Name for the foreign key constraint.")]),e("p",null,[e("code",null,"on_update"),l(),e("strong",null,"string"),e("br"),l(" Update trigger for the foreign key constraint.")]),e("p",null,[e("code",null,"on_delete"),l(),e("strong",null,"string"),e("br"),l(" Delete trigger for the foreign key constraint.")])])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[l(`{
2
+ `),e("span",{class:"hljs-attr"},'"collection"'),l(": "),e("span",{class:"hljs-string"},'"about_us"'),l(`,
3
+ `),e("span",{class:"hljs-attr"},'"field"'),l(": "),e("span",{class:"hljs-string"},'"logo"'),l(`,
4
+ `),e("span",{class:"hljs-attr"},'"related_collection"'),l(": "),e("span",{class:"hljs-string"},'"directus_files"'),l(`,
5
+ `),e("span",{class:"hljs-attr"},'"schema"'),l(`: {
6
+ `),e("span",{class:"hljs-attr"},'"table"'),l(": "),e("span",{class:"hljs-string"},'"about_us"'),l(`,
7
+ `),e("span",{class:"hljs-attr"},'"column"'),l(": "),e("span",{class:"hljs-string"},'"logo"'),l(`,
8
+ `),e("span",{class:"hljs-attr"},'"foreign_key_table"'),l(": "),e("span",{class:"hljs-string"},'"directus_files"'),l(`,
9
+ `),e("span",{class:"hljs-attr"},'"foreign_key_column"'),l(": "),e("span",{class:"hljs-string"},'"id"'),l(`,
10
+ `),e("span",{class:"hljs-attr"},'"constraint_name"'),l(": "),e("span",{class:"hljs-string"},'"about_us_logo_foreign"'),l(`,
11
+ `),e("span",{class:"hljs-attr"},'"on_update"'),l(": "),e("span",{class:"hljs-string"},'"NO ACTION"'),l(`,
12
+ `),e("span",{class:"hljs-attr"},'"on_delete"'),l(": "),e("span",{class:"hljs-string"},'"SET NULL"'),l(`
13
+ },
14
+ `),e("span",{class:"hljs-attr"},'"meta"'),l(`: {
15
+ `),e("span",{class:"hljs-attr"},'"id"'),l(": "),e("span",{class:"hljs-number"},"1"),l(`,
16
+ `),e("span",{class:"hljs-attr"},'"junction_field"'),l(": "),e("span",{class:"hljs-literal"},"null"),l(`,
17
+ `),e("span",{class:"hljs-attr"},'"many_collection"'),l(": "),e("span",{class:"hljs-string"},'"about_us"'),l(`,
18
+ `),e("span",{class:"hljs-attr"},'"many_field"'),l(": "),e("span",{class:"hljs-string"},'"logo"'),l(`,
19
+ `),e("span",{class:"hljs-attr"},'"one_allowed_collections"'),l(": "),e("span",{class:"hljs-literal"},"null"),l(`,
20
+ `),e("span",{class:"hljs-attr"},'"one_collection"'),l(": "),e("span",{class:"hljs-string"},'"directus_files"'),l(`,
21
+ `),e("span",{class:"hljs-attr"},'"one_collection_field"'),l(": "),e("span",{class:"hljs-literal"},"null"),l(`,
22
+ `),e("span",{class:"hljs-attr"},'"one_deselect_action"'),l(": "),e("span",{class:"hljs-string"},'"nullify"'),l(`,
23
+ `),e("span",{class:"hljs-attr"},'"one_field"'),l(": "),e("span",{class:"hljs-literal"},"null"),l(`,
24
+ `),e("span",{class:"hljs-attr"},'"sort_field"'),l(": "),e("span",{class:"hljs-literal"},"null"),l(`
25
+ }
26
+ }
27
+ `)])])])],-1),q=e("hr",null,null,-1),v=e("h2",{id:"list-relations"},[l("List relations "),e("a",{class:"header-anchor",href:"#list-relations"},"#")],-1),x=e("p",null,"List all relations that exist in Directus.",-1),w=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Permissions"),e("p",null,"The data returned in this endpoint will be filtered based on the user\u2019s permissions. For example, relations that apply to a collection that the current user doesn\u2019t have access to are stripped out.")]),e("h3",{id:"query-parameters"},[l("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters"},"#")]),e("p",null,"Doesn\u2019t support any query parameters."),e("h3",{id:"returns"},[l("Returns "),e("a",{class:"header-anchor",href:"#returns"},"#")]),e("p",null,[l("Array of "),e("a",{href:"#the-relation-object"},"relation objects"),l(". If no items are available, data will be an empty array.")])]),e("div",{class:"right"},[e("h3",{id:"rest-api"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api"},"#")]),e("pre",null,[e("code",null,`GET /relations
28
+ `)]),e("h3",{id:"graphql"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
29
+ `)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),l(` {
30
+ relations: [directus_relations]
31
+ }
32
+ `)])]),e("h5",{id:"example"},[l("Example "),e("a",{class:"header-anchor",href:"#example"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),l(` {
33
+ relations {
34
+ collection
35
+ field
36
+ }
37
+ }
38
+ `)])])])],-1),T=e("hr",null,null,-1),R=e("h2",{id:"list-relations-in-collection"},[l("List relations in collection "),e("a",{class:"header-anchor",href:"#list-relations-in-collection"},"#")],-1),E=e("p",null,"List all relations that exist in a given collection.",-1),k=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Permissions"),e("p",null,"The data returned in this endpoint will be filtered based on the user\u2019s permissions. For example, relations that apply to a collection that the current user doesn\u2019t have access to are stripped out.")]),e("h3",{id:"query-parameters-2"},[l("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-2"},"#")]),e("p",null,"Doesn\u2019t support any query parameters."),e("h3",{id:"returns-2"},[l("Returns "),e("a",{class:"header-anchor",href:"#returns-2"},"#")]),e("p",null,[l("Array of "),e("a",{href:"#the-relation-object"},"relation objects"),l(". If no items are available, data will be an empty array.")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-2"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),e("pre",null,[e("code",null,`GET /relations/:collection
39
+ `)]),e("h5",{id:"example-2"},[l("Example "),e("a",{class:"header-anchor",href:"#example-2"},"#")]),e("pre",null,[e("code",null,`GET /relations/articles
40
+ `)]),e("h3",{id:"graphql-2"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-2"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
41
+ `)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),l(` {
42
+ relations_in_collection(collection:`),e("span",{class:"hljs-type"}," String"),l(`!): [directus_relations]
43
+ }
44
+ `)])]),e("h5",{id:"example-3"},[l("Example "),e("a",{class:"header-anchor",href:"#example-3"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),l(` {
45
+ relations_in_collection(collection: `),e("span",{class:"hljs-string"},'"articles"'),l(`) {
46
+ collection
47
+ field
48
+ }
49
+ }
50
+ `)])])])],-1),P=e("hr",null,null,-1),S=e("h2",{id:"retrieve-a-relation"},[l("Retrieve a relation "),e("a",{class:"header-anchor",href:"#retrieve-a-relation"},"#")],-1),L=e("p",null,"List an existing relation by collection/field name.",-1),D=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"query-parameters-3"},[l("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-3"},"#")]),e("p",null,"Doesn\u2019t support any query parameters."),e("h3",{id:"returns-3"},[l("Returns "),e("a",{class:"header-anchor",href:"#returns-3"},"#")]),e("p",null,[l("Returns the requested "),e("a",{href:"#the-relation-object"},"relation object"),l(".")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-3"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),e("pre",null,[e("code",null,`GET /relations/:collection/:field
51
+ `)]),e("h5",{id:"example-4"},[l("Example "),e("a",{class:"header-anchor",href:"#example-4"},"#")]),e("pre",null,[e("code",null,`GET /relations/articles/featured_image
52
+ `)]),e("h3",{id:"graphql-3"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-3"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
53
+ `)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),l(` {
54
+ relations_by_name(collection:`),e("span",{class:"hljs-type"}," String"),l("!, field:"),e("span",{class:"hljs-type"}," String"),l(`!): directus_relations
55
+ }
56
+ `)])]),e("h5",{id:"example-5"},[l("Example "),e("a",{class:"header-anchor",href:"#example-5"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),l(` {
57
+ relations_by_name(collection: `),e("span",{class:"hljs-string"},'"articles"'),l(", field: "),e("span",{class:"hljs-string"},'"featured_image"'),l(`) {
58
+ collection
59
+ field
60
+ related_collection
61
+ }
62
+ }
63
+ `)])])])],-1),A=e("hr",null,null,-1),N=e("h2",{id:"create-a-relation"},[l("Create a Relation "),e("a",{class:"header-anchor",href:"#create-a-relation"},"#")],-1),Q=e("p",null,"Create a new relation.",-1),O=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"query-parameters-4"},[l("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-4"},"#")]),e("p",null,"Doesn\u2019t support any query parameters."),e("h3",{id:"request-body"},[l("Request Body "),e("a",{class:"header-anchor",href:"#request-body"},"#")]),e("p",null,[l("A partial "),e("a",{href:"#the-relation-object"},"relation object"),l(".")]),e("h3",{id:"returns-4"},[l("Returns "),e("a",{class:"header-anchor",href:"#returns-4"},"#")]),e("p",null,[l("Returns the "),e("a",{href:"#the-relation-object"},"relation object"),l(" for the created relation.")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-4"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-4"},"#")]),e("pre",null,[e("code",null,`POST /relations
64
+ `)]),e("h5",{id:"example-6"},[l("Example "),e("a",{class:"header-anchor",href:"#example-6"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /relations"),l(`
65
+
66
+ {
67
+ `),e("span",{class:"hljs-attr"},'"collection"'),l(": "),e("span",{class:"hljs-string"},'"articles"'),l(`,
68
+ `),e("span",{class:"hljs-attr"},'"field"'),l(": "),e("span",{class:"hljs-string"},'"featured_image"'),l(`,
69
+ `),e("span",{class:"hljs-attr"},'"related_collection"'),l(": "),e("span",{class:"hljs-string"},'"directus_files"'),l(`
70
+ }
71
+ `)])]),e("h3",{id:"graphql-4"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-4"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
72
+ `)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),l(` {
73
+ create_relations_item(data: create_directus_relations_input!): directus_relations
74
+ }
75
+ `)])]),e("h5",{id:"example-7"},[l("Example "),e("a",{class:"header-anchor",href:"#example-7"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),l(` {
76
+ create_relations_item(
77
+ data: { collection: `),e("span",{class:"hljs-string"},'"articles"'),l(", field: "),e("span",{class:"hljs-string"},'"featured_image"'),l(", related_collection: "),e("span",{class:"hljs-string"},'"directus_files"'),l(` }
78
+ ) {
79
+ collection
80
+ field
81
+ related_collection
82
+ }
83
+ }
84
+ `)])])])],-1),G=e("hr",null,null,-1),C=e("h2",{id:"update-a-relation"},[l("Update a Relation "),e("a",{class:"header-anchor",href:"#update-a-relation"},"#")],-1),I=e("p",null,"Update an existing relation.",-1),B=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"query-parameters-5"},[l("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-5"},"#")]),e("p",null,"Doesn\u2019t support any query parameters."),e("h3",{id:"request-body-2"},[l("Request Body "),e("a",{class:"header-anchor",href:"#request-body-2"},"#")]),e("p",null,[l("A partial "),e("a",{href:"#the-relation-object"},"relation object"),l(".")]),e("h3",{id:"returns-5"},[l("Returns "),e("a",{class:"header-anchor",href:"#returns-5"},"#")]),e("p",null,[l("Returns the "),e("a",{href:"#the-relation-object"},"relation object"),l(" for the created relation.")])]),e("div",{class:"right"},[e("h3",{id:"rest-api-5"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-5"},"#")]),e("pre",null,[e("code",null,`PATCH /relations/:collection/:field
85
+ `)]),e("h5",{id:"example-8"},[l("Example "),e("a",{class:"header-anchor",href:"#example-8"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// PATCH /relations/articles/author"),l(`
86
+
87
+ {
88
+ `),e("span",{class:"hljs-attr"},'"meta"'),l(`: {
89
+ `),e("span",{class:"hljs-attr"},'"one_field"'),l(": "),e("span",{class:"hljs-string"},'"articles"'),l(`
90
+ }
91
+ }
92
+ `)])]),e("h3",{id:"graphql-5"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-5"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
93
+ `)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),l(` {
94
+ update_relations_item(collection:`),e("span",{class:"hljs-type"}," String"),l("!, field:"),e("span",{class:"hljs-type"}," String"),l(`!, data: update_directus_relations_input!): directus_relations
95
+ }
96
+ `)])]),e("h5",{id:"example-9"},[l("Example "),e("a",{class:"header-anchor",href:"#example-9"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),l(` {
97
+ update_relations_item(collection: `),e("span",{class:"hljs-string"},'"articles"'),l(", field: "),e("span",{class:"hljs-string"},'"author"'),l(", data: { meta: { one_field: "),e("span",{class:"hljs-string"},'"articles"'),l(` } }) {
98
+ collection
99
+ field
100
+ related_collection
101
+ }
102
+ }
103
+ `)])])])],-1),M=e("hr",null,null,-1),W=e("h2",{id:"delete-a-relation"},[l("Delete a Relation "),e("a",{class:"header-anchor",href:"#delete-a-relation"},"#")],-1),U=e("p",null,"Delete an existing relation.",-1),F=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"returns-6"},[l("Returns "),e("a",{class:"header-anchor",href:"#returns-6"},"#")]),e("p",null,"Empty body.")]),e("div",{class:"right"},[e("h3",{id:"rest-api-6"},[l("REST API "),e("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),e("pre",null,[e("code",null,`DELETE /relations/:collection/:field
104
+ `)]),e("h5",{id:"example-10"},[l("Example "),e("a",{class:"header-anchor",href:"#example-10"},"#")]),e("pre",null,[e("code",null,`DELETE /relations/articles/author
105
+ `)]),e("h3",{id:"graphql-6"},[l("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-6"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
106
+ `)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),l(` {
107
+ delete_relations_item(collection:`),e("span",{class:"hljs-type"}," String"),l("!, field:"),e("span",{class:"hljs-type"}," String"),l(`!): delete_one
108
+ }
109
+ `)])]),e("h5",{id:"example-11"},[l("Example "),e("a",{class:"header-anchor",href:"#example-11"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),l(` {
110
+ delete_relations_item(collection: `),e("span",{class:"hljs-string"},'"articles"'),l(", field: "),e("span",{class:"hljs-string"},'"author"'),l(`) {
111
+ collection
112
+ field
113
+ }
114
+ }
115
+ `)])])])],-1),K={setup(V,{expose:n}){const a={title:"Relations",modularExtension:!1,pageClass:"page-reference"};return n({frontmatter:a}),(H,z)=>{const r=s("router-link"),o=s("DocsWrapper");return i(),c(o,{frontmatter:a},{default:t(()=>[e("div",d,[e("div",p,[e("div",u,[e("blockquote",null,[e("p",null,[_,h(r,{to:"/docs/concepts/relationships/"},{default:t(()=>[g]),_:1}),f])])]),m]),y,j,b,q,v,x,w,T,R,E,k,P,S,L,D,A,N,Q,O,G,C,I,B,M,W,U,F])]),_:1})}}};export{K as default};
@@ -0,0 +1,58 @@
1
+ import{r as s,p as c,q as h,w as n,B as e,t as l,P as t}from"./vendor.6ad70522.js";var d="assets/m2o.ac02ed03.png",u="assets/o2m.339378e0.png",f="assets/translations.2f0017a9.png",m="assets/translations-2.29d07342.png",_="assets/m2m.07bed843.png",p="assets/m2a.347ed339.png";const y={class:"markdown-body"},g=e("blockquote",null,[e("p",null,[t("As you might have guessed, relationships are a crucial part of any relational database. Directus supports all standard relationship types, as well as a few more "),e("em",null,"compound"),t(" types that offer greater flexibility.")])],-1),w=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#many-to-one-(m2o)"},"Many-to-One (M2O)")]),e("li",null,[e("a",{href:"#one-to-many-(o2m)"},"One-to-Many (O2M)")]),e("li",null,[e("a",{href:"#translations-(o2m)"},"Translations (O2M)")]),e("li",null,[e("a",{href:"#many-to-many-(m2m)"},"Many-to-Many (M2M)")]),e("li",null,[e("a",{href:"#many-to-any-(m2a)"},"Many-to-Any (M2A)")]),e("li",null,[e("a",{href:"#one-to-one-(o2o)"},"One-to-One (O2O)")])])])],-1),M=e("h3",{id:"introduction"},[t("Introduction "),e("a",{class:"header-anchor",href:"#introduction"},"#")],-1),b=e("p",null,"While it may seem complex at first, relational data is actually quite straightforward once you understand what\u2019s happening behind the sometimes confusing terminology. Before diving into the details of each type, let\u2019s first cover a few basics that will help you better visualize them in your mind\u2019s eye.",-1),v=e("h3",{id:"primary-and-foreign-keys"},[t("Primary and Foreign Keys "),e("a",{class:"header-anchor",href:"#primary-and-foreign-keys"},"#")],-1),O=t("Every "),k=t("Item"),T=t(" in a relational database has a unique "),C=t("Primary Key"),x=t(" (or \u201CPK\u201D) that identifies it within its "),P=t("Collection"),j=t(". Because it\u2019s required, the key is the first "),A=t("field"),I=t(" created within a collection, typically storing an \u201Cauto-increment\u201D number, an automatically generated unique hash, or a manually entered value. They are often abbreviated to \u201CPK\u201D (Primary Key), \u201CID\u201D (Identifier), \u201CUID\u201D (Unique Identifier), or \u201CUUID\u201D (Universally Unique Identifier), depending on the type of value they store. After it\u2019s created, the value of an item\u2019s PK should "),D=e("em",null,"never",-1),K=t(" change."),S=e("p",null,[t("To link items together relationally, you simply save a reference to an item\u2019s PK in a different field. That "),e("em",null,"reference"),t(" is called a Foreign Key (FK). If the primary key is a "),e("em",null,"person"),t(", the foreign key is like their "),e("em",null,"business card"),t(". It references the actual person, providing just enough information to find them.")],-1),F=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Composite & Compound Keys"),e("p",null,[t("In the above explanation we\u2019ve ignored "),e("em",null,"composite"),t(" and "),e("em",null,"compound"),t(" keys, which are essentially unique keys created by combining "),e("em",null,"multiple"),t(" field/column values.")])],-1),R=e("h3",{id:"perspective-matters"},[t("Perspective Matters "),e("a",{class:"header-anchor",href:"#perspective-matters"},"#")],-1),q=e("p",null,"Just like primary and foreign keys, relationships are always described relative to their \u201Cparent\u201D collection. Looking at the same relationship/key from the perspective of the opposite collection would reverse it. This means that a many-to-one relationship can also be seen as a one-to-many relationship, it just depends on which collection is considered the parent.",-1),N=e("h2",{id:"many-to-one-(m2o)"},[t("Many-to-One (M2O) "),e("a",{class:"header-anchor",href:"#many-to-one-(m2o)"},"#")],-1),B=e("p",null,[t("The Many-to-One is the only relationship type with an actual field on the parent Collection. This field saves the foreign key to a single related item. For example, a "),e("em",null,"city"),t(" can only be in one "),e("em",null,"country"),t(", but a "),e("em",null,"country"),t(" can have many "),e("em",null,"cities"),t(".")],-1),J=e("p",null,"Below is an example of a M2O relationship:",-1),W=e("pre",null,[e("code",null,`cities (the "Many" Collection)
2
+ - id (Primary Key)
3
+ - name
4
+ - country (the M2O field that stores the country key)
5
+
6
+ countries (the "One" Collection)
7
+ - id (Primary Key)
8
+ - name
9
+ `)],-1),Y=e("h3",{id:"setup"},[t("Setup "),e("a",{class:"header-anchor",href:"#setup"},"#")],-1),U=e("p",null,[e("img",{src:d,alt:"M2O"})],-1),L=e("p",null,"The parent collection and field are already known (it\u2019s the field you\u2019re currently creating), so configuring those are disabled. All you need to configure is the related collection and its primary key field.",-1),E=e("p",null,[t("If you select or enter an "),e("strong",null,"existing"),t(" Related Collection (highlights green) then the primary key field is known and automatically selected. If you enter the name of a "),e("strong",null,"new"),t(" Related Collection (doesn\u2019t already exist), you will also be prompted to enter the name of its primary key field, which will default to an auto-increment integer type.")],-1),H=e("p",null,[t("You also have the option to create a "),e("strong",null,"Corresponding Field"),t(" during this process. This allows you to more easily create the O2M alias (see below) that pairs with with this M2O.")],-1),V=e("p",null,[e("strong",null,"Relational Triggers"),t(" allow for control over what happens when a relationship is broken. There is one option:")],-1),z=e("ul",null,[e("li",null,[e("strong",null,"On Delete of [Related Collection]"),t(" \u2014 When the related item (O2M) is deleted\u2026 "),e("ul",null,[e("li",null,"Nullify the parent M2O field (default)"),e("li",null,"Set the parent M2O field to its default value"),e("li",null,"Delete the parent collection\u2019s item (cascade)"),e("li",null,"Prevent the deletion")])])],-1),G=e("h2",{id:"one-to-many-(o2m)"},[t("One-to-Many (O2M) "),e("a",{class:"header-anchor",href:"#one-to-many-(o2m)"},"#")],-1),Q=t("The One-to-Many relationship is the "),X=e("strong",null,"exact same relationship",-1),Z=t(" as a Many-to-One (above), just seen from the opposite collection\u2019s perspective. The O2M is stored as an "),$=t("Alias"),ee=t(" field on its parent Collection that dynamically lists all items connected via the opposite Many-to-One. So, while the M2O will show a single country for the parent city, the O2M shows all cities for the parent country."),te=e("p",null,"Below is an example of a O2M relationship:",-1),ne=e("pre",null,[e("code",null,`countries (the "One" Collection)
10
+ - id (Primary Key)
11
+ - name
12
+ - *cities* (the O2M alias field that lists references from "cities.country")
13
+
14
+ cities (the "Many" Collection)
15
+ - id (Primary Key)
16
+ - name
17
+ - country (the M2O field that stores the country key)
18
+ `)],-1),oe=e("h3",{id:"setup-2"},[t("Setup "),e("a",{class:"header-anchor",href:"#setup-2"},"#")],-1),le=e("p",null,[e("img",{src:u,alt:"O2M"})],-1),ie=e("p",null,"The parent collection and field are already known (it\u2019s the field you\u2019re currently creating), so configuring those are disabled. All you need to configure is the related collection and its M2O field.",-1),se=e("p",null,[t("You can select or enter an "),e("strong",null,"existing"),t(" Related Collection (highlights green) or create a "),e("strong",null,"new"),t(" one by entering a unique collection name. Next, you can select an existing field (highlights green) or create a new one by entering a field name unique to its collection.")],-1),ae=e("p",null,"The related field will store the value of this collection\u2019s primary key field, so both must have the same type. For this reason, when selecting existing fields, options will be disabled if they don\u2019t have a matching type.",-1),re=e("p",null,[t("You also have the option to create a "),e("strong",null,"Corresponding Field"),t(" during this process. This allows you to more easily create the M2O field (see above) that pairs with with this O2M.")],-1),ce=e("p",null,[t("The optional "),e("strong",null,"Sort Field"),t(" can be used enable manual reordering of items within this O2M field. This is configured by selecting an existing numeric type field (highlights green) from the Related Collection, or entering the name of a new field to be created.")],-1),he=e("p",null,[e("strong",null,"Relational Triggers"),t(" allow for control over what happens when a relationship is broken. There are two options:")],-1),de=e("ul",null,[e("li",null,[e("strong",null,"On Deselect of [Related Collection]"),t(" \u2014 When the value of the M2O is deselected\u2026 "),e("ul",null,[e("li",null,"Nullify the M2O field value (default)"),e("li",null,"Delete the M2O item (cascade)")])]),e("li",null,[e("strong",null,"On Delete of [Parent Collection Item]"),t(" \u2014 When this O2M item is deleted\u2026 "),e("ul",null,[e("li",null,"Nullify the related M2O field (default)"),e("li",null,"Set the related M2O field to its default value"),e("li",null,"Delete the related collection\u2019s item (cascade)"),e("li",null,"Prevent the deletion")])])],-1),ue=e("h2",{id:"translations-(o2m)"},[t("Translations (O2M) "),e("a",{class:"header-anchor",href:"#translations-(o2m)"},"#")],-1),fe=t("The Translations relationship is just a special version of the standard O2M. Just like the O2M, it creates an "),me=t("Alias"),_e=t(" field that is used to list all related items (the translations). Translations themselves are stored in a separate collection, which is then further related to "),pe=e("em",null,"third",-1),ye=t(" collection that stores all languages."),ge=e("h3",{id:"setup-3"},[t("Setup "),e("a",{class:"header-anchor",href:"#setup-3"},"#")],-1),we=e("p",null,[e("img",{src:f,alt:"Translations"})],-1),Me=e("p",null,"The easiest way to add translations is to use the wizard, which only asks for the Translation field name. All required fields and relationships will then be automatically created and configured.",-1),be=e("p",null,[e("img",{src:m,alt:"Translations"})],-1),ve=e("p",null,[t("If you choose to switch to "),e("strong",null,"manual setup"),t(", you will be presented with a similar relationship setup to O2M or M2M. The parent collection and primary key are know, so those fields are disabled.")],-1),Oe=e("p",null,"Next, we configure the Translation Collection. Set to \u201CAuto Fill\u201D by default, this will enter intelligent naming based on related names, and disables all fields. Disabling Auto Fill will enable all fields, allowing you to name the collection that holds the translations, as well as the two fields (each a M2O) that store foreign keys to the parent item and language.",-1),ke=e("p",null,[t("Lastly, you would select/create the Languages collection, which stores the languages available for this translations field. It is common practice to reuse a single languages collection throughout your project, unless translation fields need to support different language sets. For the language "),e("code",null,"code"),t(" we recommend using the IETF language tag (eg: "),e("code",null,"en-US"),t(") which combines the ISO 639-1 and ISO 3166\u20111 standards, but anything can be used (eg: "),e("code",null,"english"),t(").")],-1),Te=e("h2",{id:"many-to-many-(m2m)"},[t("Many-to-Many (M2M) "),e("a",{class:"header-anchor",href:"#many-to-many-(m2m)"},"#")],-1),Ce=t("The Many-to-Many relationship is actually just "),xe=e("strong",null,"two relationships combined",-1),Pe=t(" (O2M+M2O) that join together three different collections. The M2M is stored as an "),je=t("Alias"),Ae=t(" field on its parent Collection that dynamically lists all items connected via a "),Ie=t("junction collection"),De=t(". For example, a "),Ke=e("em",null,"recipe",-1),Se=t(" can have many "),Fe=e("em",null,"ingredients",-1),Re=t(", and "),qe=e("em",null,"ingredients",-1),Ne=t(" can be in many "),Be=e("em",null,"recipes",-1),Je=t("."),We=e("p",null,"Below is an example of a M2M relationship:",-1),Ye=e("pre",null,[e("code",null,`recipes (Collection)
19
+ - id (Primary Key)
20
+ - name
21
+ - *ingredients* (M2M/O2M alias field that lists references from "recipe_ingredients")
22
+
23
+ ingredients (Collection)
24
+ - id (Primary Key)
25
+ - name
26
+ - *recipes* (M2M/O2M alias field that lists references from "recipe_ingredients")
27
+
28
+ recipe_ingredients (Junction Collection)
29
+ - id (Primary Key)
30
+ - recipe (stores the recipe key)
31
+ - ingredient (stores ingredient key)
32
+ - quantity (other optional data on the connection)
33
+ `)],-1),Ue=e("p",null,[t("Notice that the example above also has a "),e("code",null,"quantity"),t(" field on the Junction Collection, which tracks how much of each ingredient is needed for the recipe. You can add any other "),e("em",null,"contextual"),t(" fields to the junction, and they will also be included at the top of the App\u2019s relational Item Page form.")],-1),Le=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Self-Referencing"),e("p",null,[t("You can also have a M2M relationship that connects items within the "),e("em",null,"same"),t(" collection. An example of this is \u201CRelated Articles\u201D, where an article might relate to many other articles.")])],-1),Ee=e("h3",{id:"setup-4"},[t("Setup "),e("a",{class:"header-anchor",href:"#setup-4"},"#")],-1),He=e("p",null,[e("img",{src:_,alt:"M2M"})],-1),Ve=e("p",null,"The parent collection and field are already known (it\u2019s the field you\u2019re currently creating), so configuring those are disabled.",-1),ze=e("p",null,[t("Next you should configure the Related Collection. If you select or enter an "),e("strong",null,"existing"),t(" Related Collection (highlights green) then the primary key field is known and automatically selected. If you enter the name of a "),e("strong",null,"new"),t(" Related Collection (doesn\u2019t already exist), you will also be prompted to enter the name of its primary key field, which will default to an auto-increment integer type.")],-1),Ge=t("Lastly, we configure the "),Qe=t("Junction Collection"),Xe=t(", which sits between the two related collections, storing all links between the two. You can leave this set to \u201CAuto-Fill\u201D, which sets intelligent naming defaults, or disable it to select existing options or enter custom names."),Ze=e("p",null,[t("You also have the option to create a "),e("strong",null,"Corresponding Field"),t(" during this process. This allows you to more easily create the reverse M2M field on the "),e("em",null,"related"),t(" collection.")],-1),$e=e("p",null,[t("The optional "),e("strong",null,"Sort Field"),t(" can be used enable manual reordering of items within this O2M field. This is configured by selecting an existing numeric type field (highlights green) from the Junction Collection, or entering the name of a new field to be created.")],-1),et=e("p",null,[e("strong",null,"Relational Triggers"),t(" allow for control over what happens when a relationship is broken. There are three options:")],-1),tt=e("ul",null,[e("li",null,[e("strong",null,"On Deselect of [Junction Collection]"),t(" \u2014 When the value of this M2M is deselected\u2026 "),e("ul",null,[e("li",null,"Nullify the junction field (default)"),e("li",null,"Delete the junction item (cascade)")])]),e("li",null,[e("strong",null,"On Delete of [Parent Collection Item]"),t(" \u2014 When this M2M item is deleted\u2026 "),e("ul",null,[e("li",null,"Nullify the junction field (default)"),e("li",null,"Set the junction field to its default value"),e("li",null,"Delete the related junction item (cascade)"),e("li",null,"Prevent the deletion")])]),e("li",null,[e("strong",null,"On Delete of [Related Collection Item]"),t(" \u2014 When the related M2M item is deleted\u2026 "),e("ul",null,[e("li",null,"Nullify the junction field (default)"),e("li",null,"Set the junction field to its default value"),e("li",null,"Delete the related junction item (cascade)"),e("li",null,"Prevent the deletion")])])],-1),nt=e("h2",{id:"many-to-any-(m2a)"},[t("Many-to-Any (M2A) "),e("a",{class:"header-anchor",href:"#many-to-any-(m2a)"},"#")],-1),ot=t("Sometimes called a \u201Cmatrix field\u201D or \u201Creplicator\u201D. Like the M2M, the M2A is stored as an "),lt=t("Alias"),it=t(" field on its parent Collection that dynamically lists all items connected via a "),st=t("junction collection"),at=t(". However, there is one key difference: one side of the junction also stores a "),rt=e("strong",null,"collection key",-1),ct=t(". This combination of collection name and primary key means that you can effectively store a reference to "),ht=e("em",null,"any",-1),dt=t(" item in the database. You can then artificially limit which collections are valid through an related collections \u201Callow list\u201D."),ut=e("p",null,[t("An common example of a M2A is a \u201CPage Builder\u201D, which has a "),e("em",null,"Pages"),t(" collection that includes any number of different \u201Csection\u201D Collections, such as: \u201CHeading\u201D, \u201CText\u201D, and \u201CImage\u201D. In this example the junction table will link different sections (from different collections) with a page, creating relational layouts.")],-1),ft=e("p",null,"Below is an example of a M2A relationship:",-1),mt=e("pre",null,[e("code",null,`pages (Collection)
34
+ - id (Primary Key)
35
+ - name
36
+ - *sections* (O2M/M2A alias field that lists references from "sections")
37
+
38
+ headings (Collection)
39
+ - id (Primary Key)
40
+ - title
41
+ - *section* (alias field that lists references from "sections")
42
+
43
+ text (Collection)
44
+ - id (Primary Key)
45
+ - text
46
+ - *section* (alias field that lists references from "sections")
47
+
48
+ images (Collection)
49
+ - id (Primary Key)
50
+ - file
51
+ - *section* (alias field that lists references from "sections")
52
+
53
+ page_sections (Junction Collection)
54
+ - id (Primary Key)
55
+ - page (stores the page key)
56
+ - section (stores section key)
57
+ - section_collection (determines which collection the section_id belongs to)
58
+ `)],-1),_t=e("h3",{id:"setup-5"},[t("Setup "),e("a",{class:"header-anchor",href:"#setup-5"},"#")],-1),pt=e("p",null,[e("img",{src:p,alt:"M2A"})],-1),yt=e("p",null,"The parent collection and field are already known (it\u2019s the field you\u2019re currently creating), so configuring those are disabled.",-1),gt=t("Next, we configure the "),wt=t("Junction Collection"),Mt=t(", which sits between the related collections, storing all links between them. You can leave this set to \u201CAuto-Fill\u201D, which sets intelligent naming defaults, or disable it to select existing options or enter custom names."),bt=e("p",null,[t("Lastly, you should select any desired Related Collections. Unlike other relationships, you can\u2019t "),e("em",null,"create"),t(" these related collections here, so ensure all related collections you need are created before hand.")],-1),vt=e("p",null,[t("The optional "),e("strong",null,"Sort Field"),t(" can be used enable manual reordering of items within this M2A field. This is configured by selecting an existing numeric type field (highlights green) from the Junction Collection, or entering the name of a new field to be created.")],-1),Ot=e("p",null,[e("strong",null,"Relational Triggers"),t(" allow for control over what happens when a relationship is broken. There are three options:")],-1),kt=e("ul",null,[e("li",null,[e("strong",null,"On Delete of [Parent Collection Item]"),t(" \u2014 When a M2A item is deleted\u2026 "),e("ul",null,[e("li",null,"Nullify the junction field (default)"),e("li",null,"Set the junction field to its default value"),e("li",null,"Delete the related junction item (cascade)"),e("li",null,"Prevent the deletion")])]),e("li",null,[e("strong",null,"On Deselect of [Junction Collection]"),t(" \u2014 When the value of this M2A is deselected\u2026 "),e("ul",null,[e("li",null,"Nullify the junction field (default)"),e("li",null,"Delete the junction item (cascade)")])])],-1),Tt=e("h2",{id:"one-to-one-(o2o)"},[t("One-to-One (O2O) "),e("a",{class:"header-anchor",href:"#one-to-one-(o2o)"},"#")],-1),Ct=t("Directus does not include a dedicated One-to-One (O2O) relationship type or interface. However, O2O is essentially the same as a M2O (storing a foreign key). The only difference is that a O2O enforces the cardinality. In other words, selecting a relational item in a O2O means that item can not be selected elsewhere (it can only be used once). This functionality can be added by checking and constraining uniqueness via a "),xt=t("custom event hook"),Pt=t(" or "),jt=t("custom interface"),At=t("."),It=e("p",null,[t("An example of this is a "),e("em",null,"person"),t(" only has one unique set of "),e("em",null,"fingerprints"),t(", and those "),e("em",null,"fingerprints"),t(" only belong to one "),e("em",null,"person"),t(".")],-1),Rt={setup(Dt,{expose:a}){const i={title:"Relationships",modularExtension:!1};return a({frontmatter:i}),(Kt,St)=>{const o=s("router-link"),r=s("DocsWrapper");return c(),h(r,{frontmatter:i},{default:n(()=>[e("div",y,[g,w,M,b,v,e("p",null,[O,l(o,{to:"/docs/getting-started/glossary/#items"},{default:n(()=>[k]),_:1}),T,l(o,{to:"/docs/getting-started/glossary/#primary-key-pk"},{default:n(()=>[C]),_:1}),x,l(o,{to:"/docs/getting-started/glossary/#collections"},{default:n(()=>[P]),_:1}),j,l(o,{to:"/docs/getting-started/glossary/#fields"},{default:n(()=>[A]),_:1}),I,D,K]),S,F,R,q,N,B,J,W,Y,U,L,E,H,V,z,G,e("p",null,[Q,X,Z,l(o,{to:"/docs/getting-started/glossary/#alias"},{default:n(()=>[$]),_:1}),ee]),te,ne,oe,le,ie,se,ae,re,ce,he,de,ue,e("p",null,[fe,l(o,{to:"/docs/glossary/#fields"},{default:n(()=>[me]),_:1}),_e,pe,ye]),ge,we,Me,be,ve,Oe,ke,Te,e("p",null,[Ce,xe,Pe,l(o,{to:"/docs/getting-started/glossary/#alias"},{default:n(()=>[je]),_:1}),Ae,l(o,{to:"/docs/getting-started/glossary/#junction-collections"},{default:n(()=>[Ie]),_:1}),De,Ke,Se,Fe,Re,qe,Ne,Be,Je]),We,Ye,Ue,Le,Ee,He,Ve,ze,e("p",null,[Ge,l(o,{to:"/docs/getting-started/glossary/#junction-collections"},{default:n(()=>[Qe]),_:1}),Xe]),Ze,$e,et,tt,nt,e("p",null,[ot,l(o,{to:"/docs/getting-started/glossary/#alias"},{default:n(()=>[lt]),_:1}),it,l(o,{to:"/docs/getting-started/glossary/#junction-collections"},{default:n(()=>[st]),_:1}),at,rt,ct,ht,dt]),ut,ft,mt,_t,pt,yt,e("p",null,[gt,l(o,{to:"/docs/getting-started/glossary/#junction-collections"},{default:n(()=>[wt]),_:1}),Mt]),bt,vt,Ot,kt,Tt,e("p",null,[Ct,l(o,{to:"/docs/extensions/hooks/"},{default:n(()=>[xt]),_:1}),Pt,l(o,{to:"/docs/extensions/interfaces/"},{default:n(()=>[jt]),_:1}),At]),It])]),_:1})}}};export{Rt as default};
@@ -0,0 +1,40 @@
1
+ import{r as l,p as c,q as h,w as t,B as s,t as o,P as e}from"./vendor.6ad70522.js";const d={class:"markdown-body"},_={class:"two-up"},p={class:"left"},u=e("Revisions are individual changes to items made. Directus keeps track of changes made, so you\u2019re able to revert to a previous state at will. "),v=e("Learn more about Revisions"),m=e("."),f=s("div",{class:"right"},[s("p",null,[s("div",{class:"table-of-contents"},[s("ul",null,[s("li",null,[s("a",{href:"#the-revision-object"},"The Revision Object")]),s("li",null,[s("a",{href:"#list-revisions"},"List revisions")]),s("li",null,[s("a",{href:"#retrieve-a-revision"},"Retrieve a revision")])])])])],-1),g=s("hr",null,null,-1),y=s("h2",{id:"the-revision-object"},[e("The Revision Object "),s("a",{class:"header-anchor",href:"#the-revision-object"},"#")],-1),j={class:"two-up"},b={class:"left"},q={class:"definitions"},x=s("p",null,[s("code",null,"id"),e(),s("strong",null,"integer"),s("br"),e(" Primary key of the revision.")],-1),w=s("code",null,"activity",-1),k=e(),R=s("strong",null,"many-to-one",-1),E=s("br",null,null,-1),P=e(" Related activity record. Many-to-one to "),T=e("activity"),S=e("."),L=s("p",null,[s("code",null,"collection"),e(),s("strong",null,"string"),s("br"),e(" Collection in which this revision happened.")],-1),C=s("p",null,[s("code",null,"item"),e(),s("strong",null,"string"),s("br"),e(" Primary key of the item that was changed.")],-1),D=s("p",null,[s("code",null,"data"),e(),s("strong",null,"object"),s("br"),e(" Snapshot of the top-level item data.")],-1),Q=s("p",null,[s("code",null,"delta"),e(),s("strong",null,"object"),s("br"),e(" Snapshot of the changes made in this revision.")],-1),A=s("p",null,[s("code",null,"parent"),e(),s("strong",null,"many-to-one"),s("br"),e(" Parent revision that triggered this revision. Many-to-one to revisions (recursive).")],-1),G=s("div",{class:"right"},[s("pre",null,[s("code",{class:"language-json"},[e(`{
2
+ `),s("span",{class:"hljs-attr"},'"id"'),e(": "),s("span",{class:"hljs-number"},"368"),e(`,
3
+ `),s("span",{class:"hljs-attr"},'"activity"'),e(": "),s("span",{class:"hljs-number"},"438"),e(`,
4
+ `),s("span",{class:"hljs-attr"},'"collection"'),e(": "),s("span",{class:"hljs-string"},'"articles"'),e(`,
5
+ `),s("span",{class:"hljs-attr"},'"item"'),e(": "),s("span",{class:"hljs-string"},'"1"'),e(`,
6
+ `),s("span",{class:"hljs-attr"},'"data"'),e(`: {
7
+ `),s("span",{class:"hljs-attr"},'"title"'),e(": "),s("span",{class:"hljs-string"},'"Hello World"'),e(`
8
+ },
9
+ `),s("span",{class:"hljs-attr"},'"delta"'),e(`: {
10
+ `),s("span",{class:"hljs-attr"},'"title"'),e(": "),s("span",{class:"hljs-string"},'"Hello from the Docs!"'),e(`
11
+ },
12
+ `),s("span",{class:"hljs-attr"},'"parent"'),e(": "),s("span",{class:"hljs-literal"},"null"),e(`
13
+ }
14
+ `)])])],-1),B=s("hr",null,null,-1),H=s("h2",{id:"list-revisions"},[e("List revisions "),s("a",{class:"header-anchor",href:"#list-revisions"},"#")],-1),I=s("p",null,"List all revisions that exist in Directus.",-1),O={class:"two-up"},N={class:"left"},V=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),W=s("h3",{id:"query-parameters"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),M=e("Supports all "),F=e("global query parameters"),z=e("."),J=s("h3",{id:"returns"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns"},"#")],-1),K=e("An array of up to "),U=e("limit"),X=e(),Y=s("a",{href:"#the-revision-object"},"revision objects",-1),Z=e(". If no items are available, data will be an empty array."),$={class:"right"},ss=s("h3",{id:"rest-api"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api"},"#")],-1),es=s("pre",null,[s("code",null,`GET /revisions
15
+ SEARCH /revisions
16
+ `)],-1),ts=e("Learn more about SEARCH ->"),ns=s("h3",{id:"graphql"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql"},"#")],-1),os=s("pre",null,[s("code",null,`POST /graphql/system
17
+ `)],-1),as=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
18
+ revisions: [directus_revisions]
19
+ }
20
+ `)])],-1),ls=s("h5",{id:"examples"},[e("Examples "),s("a",{class:"header-anchor",href:"#examples"},"#")],-1),rs=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
21
+ revisions {
22
+ id
23
+ data
24
+ delta
25
+ }
26
+ }
27
+ `)])],-1),is=s("hr",null,null,-1),cs=s("h2",{id:"retrieve-a-revision"},[e("Retrieve a revision "),s("a",{class:"header-anchor",href:"#retrieve-a-revision"},"#")],-1),hs=s("p",null,"List an existing revision by primary key.",-1),ds={class:"two-up"},_s={class:"left"},ps=s("h3",{id:"query-parameters-2"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-2"},"#")],-1),us=e("Supports all "),vs=e("global query parameters"),ms=e("."),fs=s("h3",{id:"returns-2"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-2"},"#")],-1),gs=s("p",null,[e("Returns the requested "),s("a",{href:"#the-revision-object"},"revision object"),e(".")],-1),ys=s("div",{class:"right"},[s("h3",{id:"rest-api-2"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),s("pre",null,[s("code",null,`GET /revisions/:id
28
+ `)]),s("h5",{id:"example"},[e("Example "),s("a",{class:"header-anchor",href:"#example"},"#")]),s("pre",null,[s("code",null,`GET /revisions/322
29
+ `)]),s("h3",{id:"graphql-2"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-2"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
30
+ `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
31
+ revisions_by_id(id:`),s("span",{class:"hljs-literal"}," ID"),e(`!): directus_revisions
32
+ }
33
+ `)])]),s("h5",{id:"example-2"},[e("Example "),s("a",{class:"header-anchor",href:"#example-2"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
34
+ revisions_by_id(id: `),s("span",{class:"hljs-number"},"322"),e(`) {
35
+ id
36
+ data
37
+ delta
38
+ }
39
+ }
40
+ `)])])],-1),ws={setup(js,{expose:r}){const a={title:"Revisions",modularExtension:!1,pageClass:"page-reference"};return r({frontmatter:a}),(bs,qs)=>{const n=l("router-link"),i=l("DocsWrapper");return c(),h(i,{frontmatter:a},{default:t(()=>[s("div",d,[s("div",_,[s("div",p,[s("blockquote",null,[s("p",null,[u,o(n,{to:"/docs/getting-started/glossary/#revisions"},{default:t(()=>[v]),_:1}),m])])]),f]),g,y,s("div",j,[s("div",b,[s("div",q,[x,s("p",null,[w,k,R,E,P,o(n,{to:"/docs/reference/system/activity/"},{default:t(()=>[T]),_:1}),S]),L,C,D,Q,A])]),G]),B,H,I,s("div",O,[s("div",N,[V,W,s("p",null,[M,o(n,{to:"/docs/reference/query"},{default:t(()=>[F]),_:1}),z]),J,s("p",null,[K,o(n,{to:"/docs/reference/query/#limit"},{default:t(()=>[U]),_:1}),X,Y,Z])]),s("div",$,[ss,es,s("p",null,[o(n,{to:"/docs/reference/introduction/#search-http-method"},{default:t(()=>[ts]),_:1})]),ns,os,as,ls,rs])]),is,cs,hs,s("div",ds,[s("div",_s,[ps,s("p",null,[us,o(n,{to:"/docs/reference/query"},{default:t(()=>[vs]),_:1}),ms]),fs,gs]),ys])])]),_:1})}}};export{ws as default};
@@ -0,0 +1 @@
1
+ var e={avatar:"Avatar",default_provider:"Implicit",published:"Publicat",draft:"Ciorn\u0103",archived:"Arhivat",modules:"Module",module_bar:"Bar\u0103 module",edit_field:"Editeaz\u0103 c\xE2mp",conditions:"Condi\u021Bii",maps:"H\u0103r\u0163i",item_creation:"Creare articol",item_revision:"Revizuire element",enter_a_name:"Introduce\u021Bi un nume...",duplicate_field:"Duplicare c\xE2mp",half_width:"Jum\u0103tate de l\u0103\u0163ime",full_width:"L\u0103\u0163ime total\u0103",group:"Grup",and:"\u015Ei",or:"Sau",fill_width:"Umple l\u0103\u0163ime",field_name_translations:"Traducerile numelui c\xE2mpului",enter_password_to_enable_tfa:"Introduce\u021Bi parola pentru a activa autentificarea \xEEn doi pa\u015Fi",add_field:"Adaug\u0103 c\xE2mp",role_name:"Nume de rol",branch:"Ramur\u0103",leaf:"Frunz\u0103",edit_collection:"Editeaz\u0103 colec\u021Bia",exclusive:"Exclusiv",children:"Copii",db_only_click_to_configure:"Doar baza de date: ap\u0103sa\u021Bi pentru configurare",show_archived_items:"Arat\u0103 elementele arhivate",edited:"Valoare editat\u0103",required:"Necesar",required_for_app_access:"Necesar pentru acces aplica\u0163ie",requires_value:"Necesit\u0103 valoare",create_preset:"Creeaz\u0103 presetare",create_role:"Creeaz\u0103 Rol",create_user:"Creeaz\u0103 utilizator",create_webhook:"Creeaz\u0103 Webhook",invite_users:"Invit\u0103 utilizatori",invite:"Invit\u0103",emails:"E-mailuri",connection_excellent:"Conexiune excelent\u0103",connection_good:"Conexiune bun\u0103",connection_fair:"Conexiune rezonabil\u0103",connection_poor:"Conexiune slab\u0103",rename_folder:"Redenume\u015Fte folderul",delete_folder:"\u015Eterge folderul",reset_bookmark:"Reseteaz\u0103 semnul de carte",rename_bookmark:"Redenume\u015Fte semnul de carte",update_bookmark:"Actualizeaz\u0103 semnul de carte",delete_bookmark:"\u0218terge semn de carte",delete_bookmark_copy:'Sunte\u0163i sigur c\u0103 dori\u0163i s\u0103 \u015Fterge\u0163i semnul de carte "{bookmark}"? Aceast\u0103 ac\u0163iune nu poate fi modificat\u0103 ulterior.',logoutReason:{SIGN_OUT:"Deconectat",SESSION_EXPIRED:"Sesiunea a expirat"},public_description:"Controleaz\u0103 ce date API sunt disponibile f\u0103r\u0103 autentificare.",not_allowed:"Nu este permis",directus_version:"Versiune Directus",node_version:"Versiune Node",node_uptime:"Timp de activitate Node",os_type:"Tipul SO",os_version:"Versiunea SO",os_uptime:"Timpul de activitate al SO",os_totalmem:"Memoria SO",archive:"Arhiveaz\u0103",archive_confirm:"Sunte\u0163i sigur c\u0103 dori\u0163i s\u0103 arhiva\u0163i acest element?",archive_confirm_count:"Niciun element selectat | Sunte\u0163i sigur c\u0103 dori\u0163i s\u0103 arhiva\u0163i acest element? | Sunte\u0163i sigur c\u0103 dori\u0163i s\u0103 arhiva\u0163i aceste {count} elemente?",unarchive:"Dezarhivare",unarchive_confirm:"Sunte\u0163i sigur c\u0103 dori\u0163i s\u0103 dezarhiva\u0163i acest element?",nested_files_folders_will_be_moved:"Fi\u015Fierele \u015Fi folderele suprapuse vor fi mutate cu un nivel mai sus.",create_field:"Creeaz\u0103 C\xE2mp",auto_generate:"Generare automat\u0103",add_note:"Adaug\u0103 o not\u0103 ajut\u0103toare pentru utilizatori...",default_value:"Valoare implicit\u0103",clear_value:"\u0218terge valoarea",title:"Titlu",checksum:"Sum\u0103 de control",owner:"Proprietar",download:"Desc\u0103rca\u021Bi",created_by:"Creat De",created_on:"Creat Pe",comments:"Comentarii",create_collection:"Creeaz\u0103 Colec\u021Bie",users:"Utilizatori",activity:"Activitate",action:"Ac\u0163iune",ip_address:"Adres\u0103 IP",user_agent:"User Agent",duration:"Durat\u0103",status:"Stare",bookmarks:"Semne de carte",back:"\xCEnapoi",operators:{gt:"Mai mare ca",gte:"Mai mare sau egal cu",contains:"Con\u021Bine"},role:"Rol",create:"Creeaz\u0103",width:"L\u0103\u021Bime",height:"\xCEn\u0103l\u0163ime",wysiwyg_options:{table:"Tabel"},choices:"Op\u021Biuni",deselect:"Deselecta\u0163i",editing_in_batch:"Editare lot de {count} elemente",discard_changes:"Renun\u021B\u0103 la modific\u0103ri",add_new:"Adaugare intrare nou\u0103",all:"Tot",batch_delete_confirm:"Nu au fost selectate articole | Sigur dori\u021Bi s\u0103 \u0219terge\u021Bi acest articol? Aceast\u0103 ac\u021Biune nu poate fi anulat\u0103. | Sigur dori\u021Bi s\u0103 \u0219terge\u021Bi aceste {count} elemente? Aceast\u0103 ac\u021Biune nu poate fi anulat\u0103.",cancel:"Anuleaz\u0103",collection:"Colec\u021Bie",collections:"Colec\u021Bii",fields:{directus_activity:{item:"Cheia primar\u0103 a elementului",action:"Ac\u0163iune",collection:"Colec\u021Bie",timestamp:"Ac\u021Biune pe",user:"Ac\u021Biune de",comment:"Comentariu",user_agent:"User Agent",ip:"Adres\u0103 IP"},directus_collections:{collection:"Colec\u021Bie",icon:"Iconi\u021B\u0103",hidden:"Ascuns"},directus_files:{title:"Titlu",description:"Descriere",tags:"Etichete",location:"Loca\u021Bie",metadata:"Metadate",filesize:"Dimensiune fi\u015Fier",created_on:"Creat Pe",created_by:"Creat De",embed:"\xCEncorpora\u021Bi",uploaded_by:"\xCEnc\u0103rcat de",width:"L\u0103\u021Bime",uploaded_on:"\xCEnc\u0103rcat pe",height:"\xCEn\u0103l\u0163ime",duration:"Durat\u0103"},directus_users:{first_name:"Prenume",last_name:"Nume",email:"Email",password:"Parol\u0103",avatar:"Avatar",location:"Loca\u021Bie",title:"Titlu",description:"Descriere",tags:"Etichete",theme:"Tem\u0103",tfa_secret:"Autentificare \xEEn doi pa\u0219i",status:"Stare",role:"Rol"},directus_fields:{hidden:"Ascuns",translation:"Traducerile numelui c\xE2mpului"},directus_roles:{name:"Nume de rol",description:"Descriere"},directus_webhooks:{status:"Stare"}},field_options:{directus_activity:{create:"Creeaz\u0103"},directus_collections:{archive_divider:"Arhiveaz\u0103"},directus_roles:{fields:{icon_name:"Iconi\u021B\u0103"},collections_name:"Colec\u021Bii"},directus_webhooks:{actions_create:"Creeaz\u0103"}},comment:"Comentariu",delete_field_are_you_sure:'Sunte\u0163i sigur c\u0103 dori\u0163i s\u0103 \u015Fterge\u0163i c\xE2mpul "{field}"? Aceast\u0103 ac\u0163iune nu poate fi modificat\u0103 ulterior.',description:"Descriere",done:"Efectuat",duplicate:"Duplicare",email:"Email",embed:"\xCEncorpora\u021Bi",field:"C\xE2mp | C\xE2mpuri",hidden:"Ascuns",icon:"Iconi\u021B\u0103",info:"Info",password:"Parol\u0103",interfaces:{filter:{all:"Tot"},"system-collection":{collection:"Colec\u021Bie"},"system-collections":{collections:"Colec\u021Bii"},files:{files:"Fi\u015Fiere"},"select-icon":{icon:"Iconi\u021B\u0103"},tags:{tags:"Etichete"}},displays:{collection:{collection:"Colec\u021Bie"},icon:{icon:"Iconi\u021B\u0103"},user:{avatar:"Avatar",both:"Ambele"}},layouts:{cards:{cards:"Carduri",image_source:"Sursa Imaginii",title:"Titlu",subtitle:"Subtitlu"},tabular:{tabular:"Tabel",comfortable:"Confortabil",compact:"Compact",cozy:"Comod"}}},a=e.avatar,i=e.default_provider,r=e.published,t=e.draft,o=e.archived,c=e.modules,n=e.module_bar,l=e.edit_field,d=e.conditions,s=e.maps,_=e.item_creation,u=e.item_revision,v=e.enter_a_name,m=e.duplicate_field,p=e.half_width,f=e.full_width,h=e.group,b=e.and,g=e.or,k=e.fill_width,w=e.field_name_translations,C=e.enter_password_to_enable_tfa,y=e.add_field,A=e.role_name,z=e.branch,S=e.leaf,D=e.edit_collection,I=e.exclusive,T=e.children,x=e.db_only_click_to_configure,E=e.show_archived_items,N=e.edited,R=e.required,P=e.required_for_app_access,q=e.requires_value,O=e.create_preset,L=e.create_role,M=e.create_user,U=e.create_webhook,V=e.invite_users,F=e.invite,G=e.emails,j=e.connection_excellent,B=e.connection_good,H=e.connection_fair,J=e.connection_poor,W=e.rename_folder,X=e.delete_folder,K=e.reset_bookmark,Q=e.rename_bookmark,Y=e.update_bookmark,Z=e.delete_bookmark,$=e.delete_bookmark_copy,ee=e.logoutReason,ae=e.public_description,ie=e.not_allowed,re=e.directus_version,te=e.node_version,oe=e.node_uptime,ce=e.os_type,ne=e.os_version,le=e.os_uptime,de=e.os_totalmem,se=e.archive,_e=e.archive_confirm,ue=e.archive_confirm_count,ve=e.unarchive,me=e.unarchive_confirm,pe=e.nested_files_folders_will_be_moved,fe=e.create_field,he=e.auto_generate,be=e.add_note,ge=e.default_value,ke=e.clear_value,we=e.title,Ce=e.checksum,ye=e.owner,Ae=e.download,ze=e.created_by,Se=e.created_on,De=e.comments,Ie=e.create_collection,Te=e.users,xe=e.activity,Ee=e.action,Ne=e.ip_address,Re=e.user_agent,Pe=e.duration,qe=e.status,Oe=e.bookmarks,Le=e.back,Me=e.operators,Ue=e.role,Ve=e.create,Fe=e.width,Ge=e.height,je=e.wysiwyg_options,Be=e.choices,He=e.deselect,Je=e.editing_in_batch,We=e.discard_changes,Xe=e.add_new,Ke=e.all,Qe=e.batch_delete_confirm,Ye=e.cancel,Ze=e.collection,$e=e.collections,ea=e.fields,aa=e.field_options,ia=e.comment,ra=e.delete_field_are_you_sure,ta=e.description,oa=e.done,ca=e.duplicate,na=e.email,la=e.embed,da=e.field,sa=e.hidden,_a=e.icon,ua=e.info,va=e.password,ma=e.interfaces,pa=e.displays,fa=e.layouts;export{Ee as action,xe as activity,y as add_field,Xe as add_new,be as add_note,Ke as all,b as and,se as archive,_e as archive_confirm,ue as archive_confirm_count,o as archived,he as auto_generate,a as avatar,Le as back,Qe as batch_delete_confirm,Oe as bookmarks,z as branch,Ye as cancel,Ce as checksum,T as children,Be as choices,ke as clear_value,Ze as collection,$e as collections,ia as comment,De as comments,d as conditions,j as connection_excellent,H as connection_fair,B as connection_good,J as connection_poor,Ve as create,Ie as create_collection,fe as create_field,O as create_preset,L as create_role,M as create_user,U as create_webhook,ze as created_by,Se as created_on,x as db_only_click_to_configure,e as default,i as default_provider,ge as default_value,Z as delete_bookmark,$ as delete_bookmark_copy,ra as delete_field_are_you_sure,X as delete_folder,ta as description,He as deselect,re as directus_version,We as discard_changes,pa as displays,oa as done,Ae as download,t as draft,ca as duplicate,m as duplicate_field,Pe as duration,D as edit_collection,l as edit_field,N as edited,Je as editing_in_batch,na as email,G as emails,la as embed,v as enter_a_name,C as enter_password_to_enable_tfa,I as exclusive,da as field,w as field_name_translations,aa as field_options,ea as fields,k as fill_width,f as full_width,h as group,p as half_width,Ge as height,sa as hidden,_a as icon,ua as info,ma as interfaces,F as invite,V as invite_users,Ne as ip_address,_ as item_creation,u as item_revision,fa as layouts,S as leaf,ee as logoutReason,s as maps,n as module_bar,c as modules,pe as nested_files_folders_will_be_moved,oe as node_uptime,te as node_version,ie as not_allowed,Me as operators,g as or,de as os_totalmem,ce as os_type,le as os_uptime,ne as os_version,ye as owner,va as password,ae as public_description,r as published,Q as rename_bookmark,W as rename_folder,R as required,P as required_for_app_access,q as requires_value,K as reset_bookmark,Ue as role,A as role_name,E as show_archived_items,qe as status,we as title,ve as unarchive,me as unarchive_confirm,Y as update_bookmark,Re as user_agent,Te as users,Fe as width,je as wysiwyg_options};
@@ -0,0 +1 @@
1
+ function u(t,a){return a.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(r){if(r!=="default"&&!(r in t)){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})}),Object.freeze(t)}var o={};Object.defineProperty(o,"__esModule",{value:!0});var i={code:"ro",week:{dow:1,doy:7},buttonText:{prev:"precedent\u0103",next:"urm\u0103toare",today:"Azi",month:"Lun\u0103",week:"S\u0103pt\u0103m\xE2n\u0103",day:"Zi",list:"Agend\u0103"},weekText:"S\u0103pt",allDayText:"Toat\u0103 ziua",moreLinkText:function(t){return"+alte "+t},noEventsText:"Nu exist\u0103 evenimente de afi\u0219at"},f=o.default=i,c=Object.freeze(u({__proto__:null,[Symbol.toStringTag]:"Module",default:f},[o]));export{c as r};
@@ -0,0 +1,172 @@
1
+ import{r,p as h,q as i,w as l,B as s,t,P as e}from"./vendor.6ad70522.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},_=e("Roles define a specific set of access permissions, and are the primary organizational structure for Users within the platform. "),f=e("Learn more about Roles"),m=e("."),g=s("div",{class:"right"},[s("p",null,[s("div",{class:"table-of-contents"},[s("ul",null,[s("li",null,[s("a",{href:"#the-role-object"},"The Role Object")]),s("li",null,[s("a",{href:"#list-roles"},"List Roles")]),s("li",null,[s("a",{href:"#retrieve-a-role"},"Retrieve a Role")]),s("li",null,[s("a",{href:"#create-a-role"},"Create a Role")]),s("li",null,[s("a",{href:"#create-multiple-roles"},"Create Multiple Roles")]),s("li",null,[s("a",{href:"#update-a-role"},"Update a Role")]),s("li",null,[s("a",{href:"#update-multiple-roles"},"Update Multiple Roles")]),s("li",null,[s("a",{href:"#delete-a-role"},"Delete a Role")]),s("li",null,[s("a",{href:"#delete-multiple-roles"},"Delete Multiple Roles")])])])])],-1),j=s("hr",null,null,-1),y=s("h2",{id:"the-role-object"},[e("The Role Object "),s("a",{class:"header-anchor",href:"#the-role-object"},"#")],-1),b={class:"two-up"},q={class:"left"},x={class:"definitions"},v=s("p",null,[s("code",null,"id"),e(),s("strong",null,"uuid"),s("br"),e(" Primary key of the role.")],-1),R=s("p",null,[s("code",null,"name"),e(),s("strong",null,"string"),s("br"),e(" Name of the role.")],-1),E=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),T=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),w=s("p",null,[s("code",null,"ip_access"),e(),s("strong",null,"csv"),s("br"),e(" CSV of IP addresses that have access to this role. Allows you to configure an allowlist of IP addresses.")],-1),P=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),A=s("p",null,[s("code",null,"collection_list"),e(),s("strong",null,"object"),s("br"),e(" Override for the collection listing in the navigation of the collections module in the Admin App.")],-1),k=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),S=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),I=s("code",null,"users",-1),D=e(),C=s("strong",null,"one-to-many",-1),L=s("br",null,null,-1),O=e(" The users in this role. One-to-many to "),Q=e("users"),M=e("."),G=s("div",{class:"right"},[s("pre",null,[s("code",{class:"language-json"},[e(`{
2
+ `),s("span",{class:"hljs-attr"},'"id"'),e(": "),s("span",{class:"hljs-string"},'"653925a9-970e-487a-bfc0-ab6c96affcdc"'),e(`,
3
+ `),s("span",{class:"hljs-attr"},'"name"'),e(": "),s("span",{class:"hljs-string"},'"Admin"'),e(`,
4
+ `),s("span",{class:"hljs-attr"},'"icon"'),e(": "),s("span",{class:"hljs-string"},'"supervised_user_circle"'),e(`,
5
+ `),s("span",{class:"hljs-attr"},'"description"'),e(": "),s("span",{class:"hljs-literal"},"null"),e(`,
6
+ `),s("span",{class:"hljs-attr"},'"ip_access"'),e(": "),s("span",{class:"hljs-literal"},"null"),e(`,
7
+ `),s("span",{class:"hljs-attr"},'"enforce_tfa"'),e(": "),s("span",{class:"hljs-literal"},"false"),e(`,
8
+ `),s("span",{class:"hljs-attr"},'"collection_list"'),e(": "),s("span",{class:"hljs-literal"},"null"),e(`,
9
+ `),s("span",{class:"hljs-attr"},'"admin_access"'),e(": "),s("span",{class:"hljs-literal"},"true"),e(`,
10
+ `),s("span",{class:"hljs-attr"},'"app_access"'),e(": "),s("span",{class:"hljs-literal"},"true"),e(`,
11
+ `),s("span",{class:"hljs-attr"},'"users"'),e(": ["),s("span",{class:"hljs-string"},'"0bc7b36a-9ba9-4ce0-83f0-0a526f354e07"'),e(`]
12
+ }
13
+ `)])])],-1),B=s("hr",null,null,-1),U=s("h2",{id:"list-roles"},[e("List Roles "),s("a",{class:"header-anchor",href:"#list-roles"},"#")],-1),H=s("p",null,"List all roles that exist in Directus.",-1),N={class:"two-up"},V={class:"left"},W=s("h3",{id:"query-parameters"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),z=e("Supports all "),F=e("global query parameters"),J=e("."),K=s("h3",{id:"returns"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns"},"#")],-1),X=e("An array of up to "),Y=e("limit"),Z=e(),$=s("a",{href:"#the-role-object"},"role objects",-1),ss=e(". If no items are available, data will be an empty array."),es={class:"right"},ls=s("h3",{id:"rest-api"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api"},"#")],-1),as=s("pre",null,[s("code",null,`GET /roles
14
+ SEARCH /roles
15
+ `)],-1),ts=e("Learn more about SEARCH ->"),ns=s("h3",{id:"graphql"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql"},"#")],-1),rs=s("pre",null,[s("code",null,`POST /graphql/system
16
+ `)],-1),os=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
17
+ roles: [directus_roles]
18
+ }
19
+ `)])],-1),cs=s("h5",{id:"example"},[e("Example "),s("a",{class:"header-anchor",href:"#example"},"#")],-1),hs=s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
20
+ roles {
21
+ id
22
+ name
23
+ users {
24
+ email
25
+ }
26
+ }
27
+ }
28
+ `)])],-1),is=s("hr",null,null,-1),ds=s("h2",{id:"retrieve-a-role"},[e("Retrieve a Role "),s("a",{class:"header-anchor",href:"#retrieve-a-role"},"#")],-1),ps=s("p",null,"List an existing role by primary key.",-1),us={class:"two-up"},_s={class:"left"},fs=s("h3",{id:"query-parameters-2"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-2"},"#")],-1),ms=e("Supports all "),gs=e("global query parameters"),js=e("."),ys=s("h3",{id:"returns-2"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-2"},"#")],-1),bs=s("p",null,[e("Returns the requested "),s("a",{href:"#the-role-object"},"role object"),e(".")],-1),qs=s("div",{class:"right"},[s("h3",{id:"rest-api-2"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),s("pre",null,[s("code",null,`GET /roles/:id
29
+ `)]),s("h5",{id:"example-2"},[e("Example "),s("a",{class:"header-anchor",href:"#example-2"},"#")]),s("pre",null,[s("code",null,`GET /roles/b4cb3b64-8580-4ad9-a099-eade6da24302
30
+ `)]),s("h3",{id:"graphql-2"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-2"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
31
+ `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
32
+ roles_by_id(id:`),s("span",{class:"hljs-literal"}," ID"),e(`!): directus_roles
33
+ }
34
+ `)])]),s("h5",{id:"example-3"},[e("Example "),s("a",{class:"header-anchor",href:"#example-3"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
35
+ roles_by_id(id: `),s("span",{class:"hljs-number"},"2"),e(`) {
36
+ id
37
+ name
38
+ users {
39
+ email
40
+ }
41
+ }
42
+ }
43
+ `)])])],-1),xs=s("hr",null,null,-1),vs=s("h2",{id:"create-a-role"},[e("Create a Role "),s("a",{class:"header-anchor",href:"#create-a-role"},"#")],-1),Rs=s("p",null,"Create a new role.",-1),Es={class:"two-up"},Ts={class:"left"},ws=s("h3",{id:"query-parameters-3"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-3"},"#")],-1),Ps=e("Supports all "),As=e("global query parameters"),ks=e("."),Ss=s("h3",{id:"request-body"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body"},"#")],-1),Is=s("p",null,[e("A partial "),s("a",{href:"#the-role-object"},"role object"),e(".")],-1),Ds=s("h3",{id:"returns-3"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-3"},"#")],-1),Cs=s("p",null,[e("Returns the "),s("a",{href:"#the-role-object"},"role object"),e(" for the created role.")],-1),Ls=s("div",{class:"right"},[s("h3",{id:"rest-api-3"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),s("pre",null,[s("code",null,`POST /roles
44
+ `)]),s("h5",{id:"example-4"},[e("Example "),s("a",{class:"header-anchor",href:"#example-4"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// POST /roles"),e(`
45
+
46
+ {
47
+ `),s("span",{class:"hljs-attr"},'"name"'),e(": "),s("span",{class:"hljs-string"},'"Interns"'),e(`,
48
+ `),s("span",{class:"hljs-attr"},'"icon"'),e(": "),s("span",{class:"hljs-string"},'"verified_user"'),e(`,
49
+ `),s("span",{class:"hljs-attr"},'"description"'),e(": "),s("span",{class:"hljs-literal"},"null"),e(`,
50
+ `),s("span",{class:"hljs-attr"},'"admin_access"'),e(": "),s("span",{class:"hljs-literal"},"false"),e(`,
51
+ `),s("span",{class:"hljs-attr"},'"app_access"'),e(": "),s("span",{class:"hljs-literal"},"true"),e(`
52
+ }
53
+ `)])]),s("h3",{id:"graphql-3"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-3"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
54
+ `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
55
+ create_roles_item(data: create_directus_roles_input!): directus_roles
56
+ }
57
+ `)])]),s("h5",{id:"example-5"},[e("Example "),s("a",{class:"header-anchor",href:"#example-5"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),e(` {
58
+ create_roles_item(
59
+ data: { name: `),s("span",{class:"hljs-string"},'"Interns"'),e(", icon: "),s("span",{class:"hljs-string"},'"verified_user"'),e(", description: "),s("span",{class:"hljs-literal"},"null"),e(", admin_access: "),s("span",{class:"hljs-literal"},"false"),e(", app_access: "),s("span",{class:"hljs-literal"},"true"),e(` }
60
+ ) {
61
+ id
62
+ name
63
+ users {
64
+ email
65
+ }
66
+ }
67
+ }
68
+ `)])])],-1),Os=s("hr",null,null,-1),Qs=s("h2",{id:"create-multiple-roles"},[e("Create Multiple Roles "),s("a",{class:"header-anchor",href:"#create-multiple-roles"},"#")],-1),Ms=s("p",null,"Create multiple new roles.",-1),Gs={class:"two-up"},Bs={class:"left"},Us=s("h3",{id:"query-parameters-4"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-4"},"#")],-1),Hs=e("Supports all "),Ns=e("global query parameters"),Vs=e("."),Ws=s("h3",{id:"request-body-2"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-2"},"#")],-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-4"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-4"},"#")],-1),Js=s("p",null,[e("Returns the "),s("a",{href:"#the-role-object"},"role objects"),e(" for the created roles.")],-1),Ks=s("div",{class:"right"},[s("h3",{id:"rest-api-4"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-4"},"#")]),s("pre",null,[s("code",null,`POST /roles
69
+ `)]),s("h5",{id:"example-6"},[e("Example "),s("a",{class:"header-anchor",href:"#example-6"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// POST /roles"),e(`
70
+
71
+ [
72
+ {
73
+ `),s("span",{class:"hljs-attr"},'"name"'),e(": "),s("span",{class:"hljs-string"},'"Interns"'),e(`,
74
+ `),s("span",{class:"hljs-attr"},'"icon"'),e(": "),s("span",{class:"hljs-string"},'"verified_user"'),e(`,
75
+ `),s("span",{class:"hljs-attr"},'"description"'),e(": "),s("span",{class:"hljs-literal"},"null"),e(`,
76
+ `),s("span",{class:"hljs-attr"},'"admin_access"'),e(": "),s("span",{class:"hljs-literal"},"false"),e(`,
77
+ `),s("span",{class:"hljs-attr"},'"app_access"'),e(": "),s("span",{class:"hljs-literal"},"true"),e(`
78
+ },
79
+ {
80
+ `),s("span",{class:"hljs-attr"},'"name"'),e(": "),s("span",{class:"hljs-string"},'"Customers"'),e(`,
81
+ `),s("span",{class:"hljs-attr"},'"icon"'),e(": "),s("span",{class:"hljs-string"},'"person"'),e(`,
82
+ `),s("span",{class:"hljs-attr"},'"description"'),e(": "),s("span",{class:"hljs-literal"},"null"),e(`,
83
+ `),s("span",{class:"hljs-attr"},'"admin_access"'),e(": "),s("span",{class:"hljs-literal"},"false"),e(`,
84
+ `),s("span",{class:"hljs-attr"},'"app_access"'),e(": "),s("span",{class:"hljs-literal"},"false"),e(`
85
+ }
86
+ ]
87
+ `)])]),s("h3",{id:"graphql-4"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-4"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
88
+ `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
89
+ create_roles_items(data: [create_directus_roles_input!]!): [directus_roles]
90
+ }
91
+ `)])]),s("h5",{id:"example-7"},[e("Example "),s("a",{class:"header-anchor",href:"#example-7"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),e(` {
92
+ create_roles_items(
93
+ data: [
94
+ { name: `),s("span",{class:"hljs-string"},'"Interns"'),e(", icon: "),s("span",{class:"hljs-string"},'"verified_user"'),e(", description: "),s("span",{class:"hljs-literal"},"null"),e(", admin_access: "),s("span",{class:"hljs-literal"},"false"),e(", app_access: "),s("span",{class:"hljs-literal"},"true"),e(` }
95
+ { name: `),s("span",{class:"hljs-string"},'"Customers"'),e(", icon: "),s("span",{class:"hljs-string"},'"person"'),e(", description: "),s("span",{class:"hljs-literal"},"null"),e(", admin_access: "),s("span",{class:"hljs-literal"},"false"),e(", app_access: "),s("span",{class:"hljs-literal"},"false"),e(` }
96
+ ]
97
+ ) {
98
+ id
99
+ name
100
+ users {
101
+ email
102
+ }
103
+ }
104
+ }
105
+ `)])])],-1),Xs=s("hr",null,null,-1),Ys=s("h2",{id:"update-a-role"},[e("Update a Role "),s("a",{class:"header-anchor",href:"#update-a-role"},"#")],-1),Zs=s("p",null,"Update an existing role.",-1),$s={class:"two-up"},se={class:"left"},ee=s("h3",{id:"query-parameters-5"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-5"},"#")],-1),le=e("Supports all "),ae=e("global query parameters"),te=e("."),ne=s("h3",{id:"request-body-3"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-3"},"#")],-1),re=s("p",null,[e("A partial "),s("a",{href:"#the-role-object"},"role object"),e(".")],-1),oe=s("h3",{id:"returns-5"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-5"},"#")],-1),ce=s("p",null,[e("Returns the "),s("a",{href:"#the-role-object"},"role object"),e(" for the updated role.")],-1),he=s("div",{class:"right"},[s("h3",{id:"rest-api-5"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-5"},"#")]),s("pre",null,[s("code",null,`PATCH /roles/:id
106
+ `)]),s("h5",{id:"example-8"},[e("Example "),s("a",{class:"header-anchor",href:"#example-8"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// PATCH /roles/c86c2761-65d3-43c3-897f-6f74ad6a5bd7"),e(`
107
+
108
+ {
109
+ `),s("span",{class:"hljs-attr"},'"icon"'),e(": "),s("span",{class:"hljs-string"},'"attractions"'),e(`
110
+ }
111
+ `)])]),s("h3",{id:"graphql-5"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-5"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
112
+ `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
113
+ update_roles_item(id:`),s("span",{class:"hljs-literal"}," ID"),e(`!, data: update_directus_roles_input): directus_roles
114
+ }
115
+ `)])]),s("h5",{id:"example-9"},[e("Example "),s("a",{class:"header-anchor",href:"#example-9"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),e(` {
116
+ update_roles_item(id: `),s("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),e(", data: { icon: "),s("span",{class:"hljs-string"},'"attractions"'),e(` }) {
117
+ id
118
+ name
119
+ users {
120
+ email
121
+ }
122
+ }
123
+ }
124
+ `)])])],-1),ie=s("hr",null,null,-1),de=s("h2",{id:"update-multiple-roles"},[e("Update Multiple Roles "),s("a",{class:"header-anchor",href:"#update-multiple-roles"},"#")],-1),pe=s("p",null,"Update multiple existing roles.",-1),ue={class:"two-up"},_e={class:"left"},fe=s("h3",{id:"query-parameters-6"},[e("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-6"},"#")],-1),me=e("Supports all "),ge=e("global query parameters"),je=e("."),ye=s("h3",{id:"request-body-4"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-4"},"#")],-1),be=s("div",{class:"definitions"},[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.")]),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-6"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-6"},"#")],-1),xe=s("p",null,[e("Returns the "),s("a",{href:"#the-role-object"},"role objects"),e(" for the updated roles.")],-1),ve=s("div",{class:"right"},[s("h3",{id:"rest-api-6"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),s("pre",null,[s("code",null,`PATCH /roles
125
+ `)]),s("h5",{id:"example-10"},[e("Example "),s("a",{class:"header-anchor",href:"#example-10"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// PATCH /roles"),e(`
126
+
127
+ {
128
+ `),s("span",{class:"hljs-attr"},'"keys"'),e(": ["),s("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),e(", "),s("span",{class:"hljs-string"},'"6fc3d5d3-a37b-4da8-a2f4-ed62ad5abe03"'),e(`],
129
+ `),s("span",{class:"hljs-attr"},'"data"'),e(`: {
130
+ `),s("span",{class:"hljs-attr"},'"icon"'),e(": "),s("span",{class:"hljs-string"},'"attractions"'),e(`
131
+ }
132
+ }
133
+ `)])]),s("h3",{id:"graphql-6"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-6"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
134
+ `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
135
+ update_roles_items(ids: `),s("span",{class:"hljs-literal"},"[ID"),e(`!]!, data: update_directus_roles_input): [directus_roles]
136
+ }
137
+ `)])]),s("h5",{id:"example-11"},[e("Example "),s("a",{class:"header-anchor",href:"#example-11"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),e(` {
138
+ update_roles_items(
139
+ ids: [`),s("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),e(", "),s("span",{class:"hljs-string"},'"6fc3d5d3-a37b-4da8-a2f4-ed62ad5abe03"'),e(`]
140
+ data: { icon: `),s("span",{class:"hljs-string"},'"attractions"'),e(` }
141
+ ) {
142
+ id
143
+ name
144
+ users {
145
+ email
146
+ }
147
+ }
148
+ }
149
+ `)])])],-1),Re=s("hr",null,null,-1),Ee=s("h2",{id:"delete-a-role"},[e("Delete a Role "),s("a",{class:"header-anchor",href:"#delete-a-role"},"#")],-1),Te=s("p",null,"Delete an existing role.",-1),we=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"returns-7"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-7"},"#")]),s("p",null,"Empty body.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-7"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-7"},"#")]),s("pre",null,[s("code",null,`DELETE /roles/:id
150
+ `)]),s("h5",{id:"example-12"},[e("Example "),s("a",{class:"header-anchor",href:"#example-12"},"#")]),s("pre",null,[s("code",null,`DELETE /roles/c86c2761-65d3-43c3-897f-6f74ad6a5bd7
151
+ `)]),s("h3",{id:"graphql-7"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-7"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
152
+ `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
153
+ delete_roles_item(id:`),s("span",{class:"hljs-literal"}," ID"),e(`!): delete_one
154
+ }
155
+ `)])]),s("h5",{id:"example-13"},[e("Example "),s("a",{class:"header-anchor",href:"#example-13"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),e(` {
156
+ delete_roles_item(id: `),s("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),e(`) {
157
+ id
158
+ }
159
+ }
160
+ `)])])])],-1),Pe=s("hr",null,null,-1),Ae=s("h2",{id:"delete-multiple-roles"},[e("Delete Multiple Roles "),s("a",{class:"header-anchor",href:"#delete-multiple-roles"},"#")],-1),ke=s("p",null,"Delete multiple existing roles.",-1),Se=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"request-body-5"},[e("Request Body "),s("a",{class:"header-anchor",href:"#request-body-5"},"#")]),s("p",null,"An array of role primary keys"),s("h3",{id:"returns-8"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-8"},"#")]),s("p",null,"Empty body.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-8"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-8"},"#")]),s("pre",null,[s("code",null,`DELETE /roles
161
+ `)]),s("h5",{id:"example-14"},[e("Example "),s("a",{class:"header-anchor",href:"#example-14"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// DELETE /roles"),e(`
162
+ [`),s("span",{class:"hljs-string"},'"653925a9-970e-487a-bfc0-ab6c96affcdc"'),e(", "),s("span",{class:"hljs-string"},'"c86c2761-65d3-43c3-897f-6f74ad6a5bd7"'),e(`]
163
+ `)])]),s("h3",{id:"graphql-8"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-8"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
164
+ `)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Mutation"),e(` {
165
+ delete_roles_items(ids: `),s("span",{class:"hljs-literal"},"[ID"),e(`!]!): delete_many
166
+ }
167
+ `)])]),s("h5",{id:"example-15"},[e("Example "),s("a",{class:"header-anchor",href:"#example-15"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"mutation"),e(` {
168
+ 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(`]) {
169
+ ids
170
+ }
171
+ }
172
+ `)])])])],-1),Ie=s("hr",null,null,-1),Qe={setup(De,{expose:o}){const n={title:"Roles",modularExtension:!1,pageClass:"page-reference"};return o({frontmatter:n}),(Ce,Le)=>{const a=r("router-link"),c=r("DocsWrapper");return h(),i(c,{frontmatter:n},{default:l(()=>[s("div",d,[s("div",p,[s("div",u,[s("blockquote",null,[s("p",null,[_,t(a,{to:"/docs/concepts/roles/"},{default:l(()=>[f]),_:1}),m])])]),g]),j,y,s("div",b,[s("div",q,[s("div",x,[v,R,E,T,w,P,A,k,S,s("p",null,[I,D,C,L,O,t(a,{to:"/docs/reference/api/system/users/"},{default:l(()=>[Q]),_:1}),M])])]),G]),B,U,H,s("div",N,[s("div",V,[W,s("p",null,[z,t(a,{to:"/docs/reference/api/query"},{default:l(()=>[F]),_:1}),J]),K,s("p",null,[X,t(a,{to:"/docs/reference/api/query/#limit"},{default:l(()=>[Y]),_:1}),Z,$,ss])]),s("div",es,[ls,as,s("p",null,[t(a,{to:"/docs/reference/api/introduction/#search-http-method"},{default:l(()=>[ts]),_:1})]),ns,rs,os,cs,hs])]),is,ds,ps,s("div",us,[s("div",_s,[fs,s("p",null,[ms,t(a,{to:"/docs/reference/api/query"},{default:l(()=>[gs]),_:1}),js]),ys,bs]),qs]),xs,vs,Rs,s("div",Es,[s("div",Ts,[ws,s("p",null,[Ps,t(a,{to:"/docs/reference/api/query"},{default:l(()=>[As]),_:1}),ks]),Ss,Is,Ds,Cs]),Ls]),Os,Qs,Ms,s("div",Gs,[s("div",Bs,[Us,s("p",null,[Hs,t(a,{to:"/docs/reference/api/query"},{default:l(()=>[Ns]),_:1}),Vs]),Ws,zs,Fs,Js]),Ks]),Xs,Ys,Zs,s("div",$s,[s("div",se,[ee,s("p",null,[le,t(a,{to:"/docs/reference/api/query"},{default:l(()=>[ae]),_:1}),te]),ne,re,oe,ce]),he]),ie,de,pe,s("div",ue,[s("div",_e,[fe,s("p",null,[me,t(a,{to:"/docs/reference/api/query"},{default:l(()=>[ge]),_:1}),je]),ye,be,qe,xe]),ve]),Re,Ee,Te,we,Pe,Ae,ke,Se,Ie])]),_:1})}}};export{Qe as default};
@@ -0,0 +1 @@
1
+ import{bF as d}from"./vendor.6ad70522.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(i)}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 s=p.exports,v=Object.freeze(m({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[p.exports]));export{v as r};