directus 9.24.0 → 9.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (861) hide show
  1. package/cli.js +1 -1
  2. package/package.json +5 -170
  3. package/LICENSE +0 -674
  4. package/dist/app.d.ts +0 -2
  5. package/dist/app.js +0 -250
  6. package/dist/app.test.d.ts +0 -1
  7. package/dist/auth/auth.d.ts +0 -46
  8. package/dist/auth/auth.js +0 -40
  9. package/dist/auth/drivers/index.d.ts +0 -5
  10. package/dist/auth/drivers/index.js +0 -21
  11. package/dist/auth/drivers/ldap.d.ts +0 -20
  12. package/dist/auth/drivers/ldap.js +0 -349
  13. package/dist/auth/drivers/local.d.ts +0 -9
  14. package/dist/auth/drivers/local.js +0 -91
  15. package/dist/auth/drivers/oauth2.d.ts +0 -19
  16. package/dist/auth/drivers/oauth2.js +0 -310
  17. package/dist/auth/drivers/openid.d.ts +0 -19
  18. package/dist/auth/drivers/openid.js +0 -332
  19. package/dist/auth/drivers/saml.d.ts +0 -14
  20. package/dist/auth/drivers/saml.js +0 -169
  21. package/dist/auth.d.ts +0 -3
  22. package/dist/auth.js +0 -70
  23. package/dist/cache.d.ts +0 -20
  24. package/dist/cache.js +0 -151
  25. package/dist/cli/commands/bootstrap/index.d.ts +0 -3
  26. package/dist/cli/commands/bootstrap/index.js +0 -98
  27. package/dist/cli/commands/count/index.d.ts +0 -1
  28. package/dist/cli/commands/count/index.js +0 -27
  29. package/dist/cli/commands/database/install.d.ts +0 -1
  30. package/dist/cli/commands/database/install.js +0 -22
  31. package/dist/cli/commands/database/migrate.d.ts +0 -1
  32. package/dist/cli/commands/database/migrate.js +0 -29
  33. package/dist/cli/commands/init/index.d.ts +0 -1
  34. package/dist/cli/commands/init/index.js +0 -108
  35. package/dist/cli/commands/init/questions.d.ts +0 -20
  36. package/dist/cli/commands/init/questions.js +0 -71
  37. package/dist/cli/commands/roles/create.d.ts +0 -4
  38. package/dist/cli/commands/roles/create.js +0 -29
  39. package/dist/cli/commands/schema/apply.d.ts +0 -4
  40. package/dist/cli/commands/schema/apply.js +0 -183
  41. package/dist/cli/commands/schema/snapshot.d.ts +0 -4
  42. package/dist/cli/commands/schema/snapshot.js +0 -63
  43. package/dist/cli/commands/security/key.d.ts +0 -1
  44. package/dist/cli/commands/security/key.js +0 -8
  45. package/dist/cli/commands/security/secret.d.ts +0 -1
  46. package/dist/cli/commands/security/secret.js +0 -8
  47. package/dist/cli/commands/users/create.d.ts +0 -5
  48. package/dist/cli/commands/users/create.js +0 -29
  49. package/dist/cli/commands/users/passwd.d.ts +0 -4
  50. package/dist/cli/commands/users/passwd.js +0 -41
  51. package/dist/cli/index.d.ts +0 -2
  52. package/dist/cli/index.js +0 -96
  53. package/dist/cli/index.test.d.ts +0 -1
  54. package/dist/cli/run.d.ts +0 -1
  55. package/dist/cli/run.js +0 -10
  56. package/dist/cli/utils/create-db-connection.d.ts +0 -13
  57. package/dist/cli/utils/create-db-connection.js +0 -61
  58. package/dist/cli/utils/create-env/env-stub.liquid +0 -325
  59. package/dist/cli/utils/create-env/index.d.ts +0 -3
  60. package/dist/cli/utils/create-env/index.js +0 -44
  61. package/dist/cli/utils/defaults.d.ts +0 -11
  62. package/dist/cli/utils/defaults.js +0 -14
  63. package/dist/cli/utils/drivers.d.ts +0 -3
  64. package/dist/cli/utils/drivers.js +0 -19
  65. package/dist/constants.d.ts +0 -13
  66. package/dist/constants.js +0 -59
  67. package/dist/controllers/activity.d.ts +0 -2
  68. package/dist/controllers/activity.js +0 -135
  69. package/dist/controllers/assets.d.ts +0 -2
  70. package/dist/controllers/assets.js +0 -186
  71. package/dist/controllers/auth.d.ts +0 -2
  72. package/dist/controllers/auth.js +0 -167
  73. package/dist/controllers/collections.d.ts +0 -2
  74. package/dist/controllers/collections.js +0 -105
  75. package/dist/controllers/dashboards.d.ts +0 -2
  76. package/dist/controllers/dashboards.js +0 -144
  77. package/dist/controllers/extensions.d.ts +0 -2
  78. package/dist/controllers/extensions.js +0 -40
  79. package/dist/controllers/fields.d.ts +0 -2
  80. package/dist/controllers/fields.js +0 -160
  81. package/dist/controllers/files.d.ts +0 -4
  82. package/dist/controllers/files.js +0 -274
  83. package/dist/controllers/files.test.d.ts +0 -1
  84. package/dist/controllers/flows.d.ts +0 -2
  85. package/dist/controllers/flows.js +0 -163
  86. package/dist/controllers/folders.d.ts +0 -2
  87. package/dist/controllers/folders.js +0 -153
  88. package/dist/controllers/graphql.d.ts +0 -2
  89. package/dist/controllers/graphql.js +0 -36
  90. package/dist/controllers/items.d.ts +0 -2
  91. package/dist/controllers/items.js +0 -183
  92. package/dist/controllers/not-found.d.ts +0 -14
  93. package/dist/controllers/not-found.js +0 -36
  94. package/dist/controllers/notifications.d.ts +0 -2
  95. package/dist/controllers/notifications.js +0 -153
  96. package/dist/controllers/operations.d.ts +0 -2
  97. package/dist/controllers/operations.js +0 -144
  98. package/dist/controllers/panels.d.ts +0 -2
  99. package/dist/controllers/panels.js +0 -144
  100. package/dist/controllers/permissions.d.ts +0 -2
  101. package/dist/controllers/permissions.js +0 -155
  102. package/dist/controllers/presets.d.ts +0 -2
  103. package/dist/controllers/presets.js +0 -153
  104. package/dist/controllers/relations.d.ts +0 -2
  105. package/dist/controllers/relations.js +0 -117
  106. package/dist/controllers/revisions.d.ts +0 -2
  107. package/dist/controllers/revisions.js +0 -39
  108. package/dist/controllers/roles.d.ts +0 -2
  109. package/dist/controllers/roles.js +0 -144
  110. package/dist/controllers/schema.d.ts +0 -2
  111. package/dist/controllers/schema.js +0 -98
  112. package/dist/controllers/server.d.ts +0 -2
  113. package/dist/controllers/server.js +0 -61
  114. package/dist/controllers/settings.d.ts +0 -2
  115. package/dist/controllers/settings.js +0 -41
  116. package/dist/controllers/shares.d.ts +0 -2
  117. package/dist/controllers/shares.js +0 -218
  118. package/dist/controllers/users.d.ts +0 -2
  119. package/dist/controllers/users.js +0 -358
  120. package/dist/controllers/utils.d.ts +0 -2
  121. package/dist/controllers/utils.js +0 -121
  122. package/dist/controllers/webhooks.d.ts +0 -2
  123. package/dist/controllers/webhooks.js +0 -141
  124. package/dist/database/helpers/date/dialects/default.d.ts +0 -3
  125. package/dist/database/helpers/date/dialects/default.js +0 -7
  126. package/dist/database/helpers/date/dialects/mssql.d.ts +0 -4
  127. package/dist/database/helpers/date/dialects/mssql.js +0 -12
  128. package/dist/database/helpers/date/dialects/mysql.d.ts +0 -5
  129. package/dist/database/helpers/date/dialects/mysql.js +0 -16
  130. package/dist/database/helpers/date/dialects/oracle.d.ts +0 -4
  131. package/dist/database/helpers/date/dialects/oracle.js +0 -15
  132. package/dist/database/helpers/date/dialects/sqlite.d.ts +0 -5
  133. package/dist/database/helpers/date/dialects/sqlite.js +0 -30
  134. package/dist/database/helpers/date/index.d.ts +0 -7
  135. package/dist/database/helpers/date/index.js +0 -17
  136. package/dist/database/helpers/date/types.d.ts +0 -7
  137. package/dist/database/helpers/date/types.js +0 -24
  138. package/dist/database/helpers/fn/dialects/mssql.d.ts +0 -13
  139. package/dist/database/helpers/fn/dialects/mssql.js +0 -48
  140. package/dist/database/helpers/fn/dialects/mysql.d.ts +0 -13
  141. package/dist/database/helpers/fn/dialects/mysql.js +0 -42
  142. package/dist/database/helpers/fn/dialects/oracle.d.ts +0 -13
  143. package/dist/database/helpers/fn/dialects/oracle.js +0 -48
  144. package/dist/database/helpers/fn/dialects/postgres.d.ts +0 -13
  145. package/dist/database/helpers/fn/dialects/postgres.js +0 -52
  146. package/dist/database/helpers/fn/dialects/sqlite.d.ts +0 -13
  147. package/dist/database/helpers/fn/dialects/sqlite.js +0 -72
  148. package/dist/database/helpers/fn/index.d.ts +0 -7
  149. package/dist/database/helpers/fn/index.js +0 -17
  150. package/dist/database/helpers/fn/types.d.ts +0 -22
  151. package/dist/database/helpers/fn/types.js +0 -30
  152. package/dist/database/helpers/geometry/dialects/mssql.d.ts +0 -14
  153. package/dist/database/helpers/geometry/dialects/mssql.js +0 -36
  154. package/dist/database/helpers/geometry/dialects/mysql.d.ts +0 -7
  155. package/dist/database/helpers/geometry/dialects/mysql.js +0 -16
  156. package/dist/database/helpers/geometry/dialects/oracle.d.ts +0 -15
  157. package/dist/database/helpers/geometry/dialects/oracle.js +0 -39
  158. package/dist/database/helpers/geometry/dialects/postgres.d.ts +0 -10
  159. package/dist/database/helpers/geometry/dialects/postgres.js +0 -22
  160. package/dist/database/helpers/geometry/dialects/redshift.d.ts +0 -7
  161. package/dist/database/helpers/geometry/dialects/redshift.js +0 -16
  162. package/dist/database/helpers/geometry/dialects/sqlite.d.ts +0 -6
  163. package/dist/database/helpers/geometry/dialects/sqlite.js +0 -14
  164. package/dist/database/helpers/geometry/index.d.ts +0 -7
  165. package/dist/database/helpers/geometry/index.js +0 -17
  166. package/dist/database/helpers/geometry/types.d.ts +0 -20
  167. package/dist/database/helpers/geometry/types.js +0 -53
  168. package/dist/database/helpers/index.d.ts +0 -13
  169. package/dist/database/helpers/index.js +0 -45
  170. package/dist/database/helpers/schema/dialects/cockroachdb.d.ts +0 -6
  171. package/dist/database/helpers/schema/dialects/cockroachdb.js +0 -21
  172. package/dist/database/helpers/schema/dialects/default.d.ts +0 -3
  173. package/dist/database/helpers/schema/dialects/default.js +0 -7
  174. package/dist/database/helpers/schema/dialects/mssql.d.ts +0 -7
  175. package/dist/database/helpers/schema/dialects/mssql.js +0 -24
  176. package/dist/database/helpers/schema/dialects/mysql.d.ts +0 -5
  177. package/dist/database/helpers/schema/dialects/mysql.js +0 -18
  178. package/dist/database/helpers/schema/dialects/oracle.d.ts +0 -9
  179. package/dist/database/helpers/schema/dialects/oracle.js +0 -36
  180. package/dist/database/helpers/schema/dialects/sqlite.d.ts +0 -5
  181. package/dist/database/helpers/schema/dialects/sqlite.js +0 -17
  182. package/dist/database/helpers/schema/index.d.ts +0 -7
  183. package/dist/database/helpers/schema/index.js +0 -17
  184. package/dist/database/helpers/schema/types.d.ts +0 -26
  185. package/dist/database/helpers/schema/types.js +0 -95
  186. package/dist/database/helpers/types.d.ts +0 -5
  187. package/dist/database/helpers/types.js +0 -10
  188. package/dist/database/index.d.ts +0 -20
  189. package/dist/database/index.js +0 -279
  190. package/dist/database/migrations/20201028A-remove-collection-foreign-keys.d.ts +0 -3
  191. package/dist/database/migrations/20201028A-remove-collection-foreign-keys.js +0 -47
  192. package/dist/database/migrations/20201029A-remove-system-relations.d.ts +0 -3
  193. package/dist/database/migrations/20201029A-remove-system-relations.js +0 -127
  194. package/dist/database/migrations/20201029B-remove-system-collections.d.ts +0 -3
  195. package/dist/database/migrations/20201029B-remove-system-collections.js +0 -98
  196. package/dist/database/migrations/20201029C-remove-system-fields.d.ts +0 -3
  197. package/dist/database/migrations/20201029C-remove-system-fields.js +0 -1648
  198. package/dist/database/migrations/20201105A-add-cascade-system-relations.d.ts +0 -8
  199. package/dist/database/migrations/20201105A-add-cascade-system-relations.js +0 -136
  200. package/dist/database/migrations/20201105B-change-webhook-url-type.d.ts +0 -3
  201. package/dist/database/migrations/20201105B-change-webhook-url-type.js +0 -17
  202. package/dist/database/migrations/20210225A-add-relations-sort-field.d.ts +0 -3
  203. package/dist/database/migrations/20210225A-add-relations-sort-field.js +0 -33
  204. package/dist/database/migrations/20210304A-remove-locked-fields.d.ts +0 -3
  205. package/dist/database/migrations/20210304A-remove-locked-fields.js +0 -15
  206. package/dist/database/migrations/20210312A-webhooks-collections-text.d.ts +0 -3
  207. package/dist/database/migrations/20210312A-webhooks-collections-text.js +0 -17
  208. package/dist/database/migrations/20210331A-add-refresh-interval.d.ts +0 -3
  209. package/dist/database/migrations/20210331A-add-refresh-interval.js +0 -15
  210. package/dist/database/migrations/20210415A-make-filesize-nullable.d.ts +0 -3
  211. package/dist/database/migrations/20210415A-make-filesize-nullable.js +0 -20
  212. package/dist/database/migrations/20210416A-add-collections-accountability.d.ts +0 -3
  213. package/dist/database/migrations/20210416A-add-collections-accountability.js +0 -16
  214. package/dist/database/migrations/20210422A-remove-files-interface.d.ts +0 -3
  215. package/dist/database/migrations/20210422A-remove-files-interface.js +0 -11
  216. package/dist/database/migrations/20210506A-rename-interfaces.d.ts +0 -3
  217. package/dist/database/migrations/20210506A-rename-interfaces.js +0 -79
  218. package/dist/database/migrations/20210510A-restructure-relations.d.ts +0 -3
  219. package/dist/database/migrations/20210510A-restructure-relations.js +0 -32
  220. package/dist/database/migrations/20210518A-add-foreign-key-constraints.d.ts +0 -3
  221. package/dist/database/migrations/20210518A-add-foreign-key-constraints.js +0 -114
  222. package/dist/database/migrations/20210519A-add-system-fk-triggers.d.ts +0 -3
  223. package/dist/database/migrations/20210519A-add-system-fk-triggers.js +0 -172
  224. package/dist/database/migrations/20210521A-add-collections-icon-color.d.ts +0 -3
  225. package/dist/database/migrations/20210521A-add-collections-icon-color.js +0 -15
  226. package/dist/database/migrations/20210525A-add-insights.d.ts +0 -3
  227. package/dist/database/migrations/20210525A-add-insights.js +0 -36
  228. package/dist/database/migrations/20210608A-add-deep-clone-config.d.ts +0 -3
  229. package/dist/database/migrations/20210608A-add-deep-clone-config.js +0 -15
  230. package/dist/database/migrations/20210626A-change-filesize-bigint.d.ts +0 -3
  231. package/dist/database/migrations/20210626A-change-filesize-bigint.js +0 -24
  232. package/dist/database/migrations/20210716A-add-conditions-to-fields.d.ts +0 -3
  233. package/dist/database/migrations/20210716A-add-conditions-to-fields.js +0 -15
  234. package/dist/database/migrations/20210721A-add-default-folder.d.ts +0 -3
  235. package/dist/database/migrations/20210721A-add-default-folder.js +0 -23
  236. package/dist/database/migrations/20210802A-replace-groups.d.ts +0 -3
  237. package/dist/database/migrations/20210802A-replace-groups.js +0 -53
  238. package/dist/database/migrations/20210803A-add-required-to-fields.d.ts +0 -3
  239. package/dist/database/migrations/20210803A-add-required-to-fields.js +0 -15
  240. package/dist/database/migrations/20210805A-update-groups.d.ts +0 -3
  241. package/dist/database/migrations/20210805A-update-groups.js +0 -34
  242. package/dist/database/migrations/20210805B-change-image-metadata-structure.d.ts +0 -3
  243. package/dist/database/migrations/20210805B-change-image-metadata-structure.js +0 -89
  244. package/dist/database/migrations/20210811A-add-geometry-config.d.ts +0 -3
  245. package/dist/database/migrations/20210811A-add-geometry-config.js +0 -17
  246. package/dist/database/migrations/20210831A-remove-limit-column.d.ts +0 -3
  247. package/dist/database/migrations/20210831A-remove-limit-column.js +0 -15
  248. package/dist/database/migrations/20210903A-add-auth-provider.d.ts +0 -3
  249. package/dist/database/migrations/20210903A-add-auth-provider.js +0 -40
  250. package/dist/database/migrations/20210907A-webhooks-collections-not-null.d.ts +0 -3
  251. package/dist/database/migrations/20210907A-webhooks-collections-not-null.js +0 -18
  252. package/dist/database/migrations/20210910A-move-module-setup.d.ts +0 -3
  253. package/dist/database/migrations/20210910A-move-module-setup.js +0 -21
  254. package/dist/database/migrations/20210920A-webhooks-url-not-null.d.ts +0 -3
  255. package/dist/database/migrations/20210920A-webhooks-url-not-null.js +0 -26
  256. package/dist/database/migrations/20210924A-add-collection-organization.d.ts +0 -3
  257. package/dist/database/migrations/20210924A-add-collection-organization.js +0 -19
  258. package/dist/database/migrations/20210927A-replace-fields-group.d.ts +0 -3
  259. package/dist/database/migrations/20210927A-replace-fields-group.js +0 -53
  260. package/dist/database/migrations/20210927B-replace-m2m-interface.d.ts +0 -3
  261. package/dist/database/migrations/20210927B-replace-m2m-interface.js +0 -21
  262. package/dist/database/migrations/20210929A-rename-login-action.d.ts +0 -3
  263. package/dist/database/migrations/20210929A-rename-login-action.js +0 -19
  264. package/dist/database/migrations/20211007A-update-presets.d.ts +0 -3
  265. package/dist/database/migrations/20211007A-update-presets.js +0 -103
  266. package/dist/database/migrations/20211009A-add-auth-data.d.ts +0 -3
  267. package/dist/database/migrations/20211009A-add-auth-data.js +0 -15
  268. package/dist/database/migrations/20211016A-add-webhook-headers.d.ts +0 -3
  269. package/dist/database/migrations/20211016A-add-webhook-headers.js +0 -15
  270. package/dist/database/migrations/20211103A-set-unique-to-user-token.d.ts +0 -3
  271. package/dist/database/migrations/20211103A-set-unique-to-user-token.js +0 -15
  272. package/dist/database/migrations/20211103B-update-special-geometry.d.ts +0 -3
  273. package/dist/database/migrations/20211103B-update-special-geometry.js +0 -25
  274. package/dist/database/migrations/20211104A-remove-collections-listing.d.ts +0 -3
  275. package/dist/database/migrations/20211104A-remove-collections-listing.js +0 -15
  276. package/dist/database/migrations/20211118A-add-notifications.d.ts +0 -3
  277. package/dist/database/migrations/20211118A-add-notifications.js +0 -28
  278. package/dist/database/migrations/20211211A-add-shares.d.ts +0 -3
  279. package/dist/database/migrations/20211211A-add-shares.js +0 -38
  280. package/dist/database/migrations/20211230A-add-project-descriptor.d.ts +0 -3
  281. package/dist/database/migrations/20211230A-add-project-descriptor.js +0 -15
  282. package/dist/database/migrations/20220303A-remove-default-project-color.d.ts +0 -3
  283. package/dist/database/migrations/20220303A-remove-default-project-color.js +0 -22
  284. package/dist/database/migrations/20220308A-add-bookmark-icon-and-color.d.ts +0 -3
  285. package/dist/database/migrations/20220308A-add-bookmark-icon-and-color.js +0 -17
  286. package/dist/database/migrations/20220314A-add-translation-strings.d.ts +0 -3
  287. package/dist/database/migrations/20220314A-add-translation-strings.js +0 -15
  288. package/dist/database/migrations/20220322A-rename-field-typecast-flags.d.ts +0 -3
  289. package/dist/database/migrations/20220322A-rename-field-typecast-flags.js +0 -77
  290. package/dist/database/migrations/20220323A-add-field-validation.d.ts +0 -3
  291. package/dist/database/migrations/20220323A-add-field-validation.js +0 -17
  292. package/dist/database/migrations/20220325A-fix-typecast-flags.d.ts +0 -3
  293. package/dist/database/migrations/20220325A-fix-typecast-flags.js +0 -49
  294. package/dist/database/migrations/20220325B-add-default-language.d.ts +0 -3
  295. package/dist/database/migrations/20220325B-add-default-language.js +0 -28
  296. package/dist/database/migrations/20220402A-remove-default-value-panel-icon.d.ts +0 -3
  297. package/dist/database/migrations/20220402A-remove-default-value-panel-icon.js +0 -22
  298. package/dist/database/migrations/20220429A-add-flows.d.ts +0 -3
  299. package/dist/database/migrations/20220429A-add-flows.js +0 -82
  300. package/dist/database/migrations/20220429B-add-color-to-insights-icon.d.ts +0 -3
  301. package/dist/database/migrations/20220429B-add-color-to-insights-icon.js +0 -15
  302. package/dist/database/migrations/20220429C-drop-non-null-from-ip-of-activity.d.ts +0 -3
  303. package/dist/database/migrations/20220429C-drop-non-null-from-ip-of-activity.js +0 -15
  304. package/dist/database/migrations/20220429D-drop-non-null-from-sender-of-notifications.d.ts +0 -3
  305. package/dist/database/migrations/20220429D-drop-non-null-from-sender-of-notifications.js +0 -15
  306. package/dist/database/migrations/20220614A-rename-hook-trigger-to-event.d.ts +0 -3
  307. package/dist/database/migrations/20220614A-rename-hook-trigger-to-event.js +0 -11
  308. package/dist/database/migrations/20220801A-update-notifications-timestamp-column.d.ts +0 -3
  309. package/dist/database/migrations/20220801A-update-notifications-timestamp-column.js +0 -19
  310. package/dist/database/migrations/20220802A-add-custom-aspect-ratios.d.ts +0 -3
  311. package/dist/database/migrations/20220802A-add-custom-aspect-ratios.js +0 -15
  312. package/dist/database/migrations/20220826A-add-origin-to-accountability.d.ts +0 -3
  313. package/dist/database/migrations/20220826A-add-origin-to-accountability.js +0 -21
  314. package/dist/database/migrations/run.d.ts +0 -2
  315. package/dist/database/migrations/run.js +0 -96
  316. package/dist/database/migrations/run.test.d.ts +0 -1
  317. package/dist/database/run-ast.d.ts +0 -26
  318. package/dist/database/run-ast.js +0 -474
  319. package/dist/database/seeds/01-collections.yaml +0 -42
  320. package/dist/database/seeds/02-roles.yaml +0 -36
  321. package/dist/database/seeds/03-users.yaml +0 -63
  322. package/dist/database/seeds/04-fields.yaml +0 -58
  323. package/dist/database/seeds/05-activity.yaml +0 -35
  324. package/dist/database/seeds/06-folders.yaml +0 -16
  325. package/dist/database/seeds/07-files.yaml +0 -74
  326. package/dist/database/seeds/08-permissions.yaml +0 -32
  327. package/dist/database/seeds/09-presets.yaml +0 -37
  328. package/dist/database/seeds/10-relations.yaml +0 -40
  329. package/dist/database/seeds/11-revisions.yaml +0 -33
  330. package/dist/database/seeds/12-sessions.yaml +0 -23
  331. package/dist/database/seeds/13-settings.yaml +0 -49
  332. package/dist/database/seeds/14-webhooks.yaml +0 -35
  333. package/dist/database/seeds/15-migrations.yaml +0 -14
  334. package/dist/database/seeds/run.d.ts +0 -2
  335. package/dist/database/seeds/run.js +0 -76
  336. package/dist/database/system-data/app-access-permissions/app-access-permissions.yaml +0 -102
  337. package/dist/database/system-data/app-access-permissions/index.d.ts +0 -3
  338. package/dist/database/system-data/app-access-permissions/index.js +0 -17
  339. package/dist/database/system-data/app-access-permissions/schema-access-permissions.yaml +0 -17
  340. package/dist/database/system-data/collections/collections.yaml +0 -74
  341. package/dist/database/system-data/collections/index.d.ts +0 -2
  342. package/dist/database/system-data/collections/index.js +0 -9
  343. package/dist/database/system-data/fields/_defaults.yaml +0 -16
  344. package/dist/database/system-data/fields/activity.yaml +0 -83
  345. package/dist/database/system-data/fields/collections.yaml +0 -214
  346. package/dist/database/system-data/fields/dashboards.yaml +0 -20
  347. package/dist/database/system-data/fields/fields.yaml +0 -104
  348. package/dist/database/system-data/fields/files.yaml +0 -144
  349. package/dist/database/system-data/fields/flows.yaml +0 -26
  350. package/dist/database/system-data/fields/folders.yaml +0 -14
  351. package/dist/database/system-data/fields/index.d.ts +0 -2
  352. package/dist/database/system-data/fields/index.js +0 -37
  353. package/dist/database/system-data/fields/migrations.yaml +0 -10
  354. package/dist/database/system-data/fields/notifications.yaml +0 -15
  355. package/dist/database/system-data/fields/operations.yaml +0 -23
  356. package/dist/database/system-data/fields/panels.yaml +0 -29
  357. package/dist/database/system-data/fields/permissions.yaml +0 -37
  358. package/dist/database/system-data/fields/presets.yaml +0 -56
  359. package/dist/database/system-data/fields/relations.yaml +0 -34
  360. package/dist/database/system-data/fields/revisions.yaml +0 -27
  361. package/dist/database/system-data/fields/roles.yaml +0 -61
  362. package/dist/database/system-data/fields/sessions.yaml +0 -16
  363. package/dist/database/system-data/fields/settings.yaml +0 -413
  364. package/dist/database/system-data/fields/shares.yaml +0 -83
  365. package/dist/database/system-data/fields/users.yaml +0 -182
  366. package/dist/database/system-data/fields/webhooks.yaml +0 -141
  367. package/dist/database/system-data/relations/index.d.ts +0 -2
  368. package/dist/database/system-data/relations/index.js +0 -9
  369. package/dist/database/system-data/relations/relations.yaml +0 -125
  370. package/dist/emitter.d.ts +0 -19
  371. package/dist/emitter.js +0 -86
  372. package/dist/env.d.ts +0 -15
  373. package/dist/env.js +0 -466
  374. package/dist/env.test.d.ts +0 -1
  375. package/dist/exceptions/database/contains-null-values.d.ts +0 -9
  376. package/dist/exceptions/database/contains-null-values.js +0 -10
  377. package/dist/exceptions/database/dialects/mssql.d.ts +0 -2
  378. package/dist/exceptions/database/dialects/mssql.js +0 -159
  379. package/dist/exceptions/database/dialects/mysql.d.ts +0 -2
  380. package/dist/exceptions/database/dialects/mysql.js +0 -148
  381. package/dist/exceptions/database/dialects/oracle.d.ts +0 -2
  382. package/dist/exceptions/database/dialects/oracle.js +0 -27
  383. package/dist/exceptions/database/dialects/postgres.d.ts +0 -2
  384. package/dist/exceptions/database/dialects/postgres.js +0 -106
  385. package/dist/exceptions/database/dialects/sqlite.d.ts +0 -2
  386. package/dist/exceptions/database/dialects/sqlite.js +0 -55
  387. package/dist/exceptions/database/dialects/types.d.ts +0 -41
  388. package/dist/exceptions/database/dialects/types.js +0 -2
  389. package/dist/exceptions/database/invalid-foreign-key.d.ts +0 -10
  390. package/dist/exceptions/database/invalid-foreign-key.js +0 -15
  391. package/dist/exceptions/database/not-null-violation.d.ts +0 -9
  392. package/dist/exceptions/database/not-null-violation.js +0 -10
  393. package/dist/exceptions/database/record-not-unique.d.ts +0 -10
  394. package/dist/exceptions/database/record-not-unique.js +0 -15
  395. package/dist/exceptions/database/translate.d.ts +0 -11
  396. package/dist/exceptions/database/translate.js +0 -74
  397. package/dist/exceptions/database/value-out-of-range.d.ts +0 -10
  398. package/dist/exceptions/database/value-out-of-range.js +0 -15
  399. package/dist/exceptions/database/value-too-long.d.ts +0 -9
  400. package/dist/exceptions/database/value-too-long.js +0 -15
  401. package/dist/exceptions/forbidden.d.ts +0 -4
  402. package/dist/exceptions/forbidden.js +0 -16
  403. package/dist/exceptions/graphql-validation.d.ts +0 -4
  404. package/dist/exceptions/graphql-validation.js +0 -10
  405. package/dist/exceptions/hit-rate-limit.d.ts +0 -9
  406. package/dist/exceptions/hit-rate-limit.js +0 -10
  407. package/dist/exceptions/illegal-asset-transformation.d.ts +0 -4
  408. package/dist/exceptions/illegal-asset-transformation.js +0 -10
  409. package/dist/exceptions/index.d.ts +0 -21
  410. package/dist/exceptions/index.js +0 -37
  411. package/dist/exceptions/invalid-config.d.ts +0 -4
  412. package/dist/exceptions/invalid-config.js +0 -10
  413. package/dist/exceptions/invalid-credentials.d.ts +0 -4
  414. package/dist/exceptions/invalid-credentials.js +0 -10
  415. package/dist/exceptions/invalid-ip.d.ts +0 -4
  416. package/dist/exceptions/invalid-ip.js +0 -10
  417. package/dist/exceptions/invalid-otp.d.ts +0 -4
  418. package/dist/exceptions/invalid-otp.js +0 -10
  419. package/dist/exceptions/invalid-payload.d.ts +0 -4
  420. package/dist/exceptions/invalid-payload.js +0 -10
  421. package/dist/exceptions/invalid-provider.d.ts +0 -4
  422. package/dist/exceptions/invalid-provider.js +0 -10
  423. package/dist/exceptions/invalid-query.d.ts +0 -4
  424. package/dist/exceptions/invalid-query.js +0 -10
  425. package/dist/exceptions/invalid-token.d.ts +0 -4
  426. package/dist/exceptions/invalid-token.js +0 -10
  427. package/dist/exceptions/method-not-allowed.d.ts +0 -8
  428. package/dist/exceptions/method-not-allowed.js +0 -10
  429. package/dist/exceptions/range-not-satisfiable.d.ts +0 -5
  430. package/dist/exceptions/range-not-satisfiable.js +0 -13
  431. package/dist/exceptions/route-not-found.d.ts +0 -4
  432. package/dist/exceptions/route-not-found.js +0 -10
  433. package/dist/exceptions/service-unavailable.d.ts +0 -9
  434. package/dist/exceptions/service-unavailable.js +0 -10
  435. package/dist/exceptions/token-expired.d.ts +0 -4
  436. package/dist/exceptions/token-expired.js +0 -10
  437. package/dist/exceptions/unexpected-response.d.ts +0 -4
  438. package/dist/exceptions/unexpected-response.js +0 -10
  439. package/dist/exceptions/unprocessable-entity.d.ts +0 -4
  440. package/dist/exceptions/unprocessable-entity.js +0 -10
  441. package/dist/exceptions/unsupported-media-type.d.ts +0 -4
  442. package/dist/exceptions/unsupported-media-type.js +0 -10
  443. package/dist/exceptions/user-suspended.d.ts +0 -4
  444. package/dist/exceptions/user-suspended.js +0 -10
  445. package/dist/extensions.d.ts +0 -49
  446. package/dist/extensions.js +0 -501
  447. package/dist/flows.d.ts +0 -22
  448. package/dist/flows.js +0 -377
  449. package/dist/index.d.ts +0 -3
  450. package/dist/index.js +0 -24
  451. package/dist/logger.d.ts +0 -7
  452. package/dist/logger.js +0 -134
  453. package/dist/logger.test.d.ts +0 -1
  454. package/dist/mailer.d.ts +0 -2
  455. package/dist/mailer.js +0 -71
  456. package/dist/messenger.d.ts +0 -24
  457. package/dist/messenger.js +0 -66
  458. package/dist/middleware/authenticate.d.ts +0 -8
  459. package/dist/middleware/authenticate.js +0 -82
  460. package/dist/middleware/authenticate.test.d.ts +0 -1
  461. package/dist/middleware/cache.d.ts +0 -3
  462. package/dist/middleware/cache.js +0 -61
  463. package/dist/middleware/check-ip.d.ts +0 -2
  464. package/dist/middleware/check-ip.js +0 -24
  465. package/dist/middleware/collection-exists.d.ts +0 -6
  466. package/dist/middleware/collection-exists.js +0 -30
  467. package/dist/middleware/cors.d.ts +0 -3
  468. package/dist/middleware/cors.js +0 -19
  469. package/dist/middleware/error-handler.d.ts +0 -3
  470. package/dist/middleware/error-handler.js +0 -95
  471. package/dist/middleware/extract-token.d.ts +0 -11
  472. package/dist/middleware/extract-token.js +0 -32
  473. package/dist/middleware/extract-token.test.d.ts +0 -1
  474. package/dist/middleware/get-permissions.d.ts +0 -3
  475. package/dist/middleware/get-permissions.js +0 -15
  476. package/dist/middleware/graphql.d.ts +0 -2
  477. package/dist/middleware/graphql.js +0 -69
  478. package/dist/middleware/rate-limiter-global.d.ts +0 -5
  479. package/dist/middleware/rate-limiter-global.js +0 -48
  480. package/dist/middleware/rate-limiter-ip.d.ts +0 -5
  481. package/dist/middleware/rate-limiter-ip.js +0 -34
  482. package/dist/middleware/respond.d.ts +0 -2
  483. package/dist/middleware/respond.js +0 -88
  484. package/dist/middleware/sanitize-query.d.ts +0 -7
  485. package/dist/middleware/sanitize-query.js +0 -21
  486. package/dist/middleware/schema.d.ts +0 -3
  487. package/dist/middleware/schema.js +0 -12
  488. package/dist/middleware/use-collection.d.ts +0 -7
  489. package/dist/middleware/use-collection.js +0 -11
  490. package/dist/middleware/validate-batch.d.ts +0 -3
  491. package/dist/middleware/validate-batch.js +0 -49
  492. package/dist/middleware/validate-batch.test.d.ts +0 -1
  493. package/dist/operations/condition/index.d.ts +0 -6
  494. package/dist/operations/condition/index.js +0 -15
  495. package/dist/operations/condition/index.test.d.ts +0 -1
  496. package/dist/operations/exec/index.d.ts +0 -5
  497. package/dist/operations/exec/index.js +0 -40
  498. package/dist/operations/exec/index.test.d.ts +0 -1
  499. package/dist/operations/item-create/index.d.ts +0 -8
  500. package/dist/operations/item-create/index.js +0 -38
  501. package/dist/operations/item-create/index.test.d.ts +0 -1
  502. package/dist/operations/item-delete/index.d.ts +0 -10
  503. package/dist/operations/item-delete/index.js +0 -46
  504. package/dist/operations/item-delete/index.test.d.ts +0 -1
  505. package/dist/operations/item-read/index.d.ts +0 -10
  506. package/dist/operations/item-read/index.js +0 -46
  507. package/dist/operations/item-read/index.test.d.ts +0 -1
  508. package/dist/operations/item-update/index.d.ts +0 -11
  509. package/dist/operations/item-update/index.js +0 -50
  510. package/dist/operations/item-update/index.test.d.ts +0 -1
  511. package/dist/operations/log/index.d.ts +0 -5
  512. package/dist/operations/log/index.js +0 -13
  513. package/dist/operations/log/index.test.d.ts +0 -1
  514. package/dist/operations/mail/index.d.ts +0 -8
  515. package/dist/operations/mail/index.js +0 -19
  516. package/dist/operations/notification/index.d.ts +0 -8
  517. package/dist/operations/notification/index.js +0 -40
  518. package/dist/operations/notification/index.test.d.ts +0 -1
  519. package/dist/operations/request/index.d.ts +0 -11
  520. package/dist/operations/request/index.js +0 -38
  521. package/dist/operations/request/index.test.d.ts +0 -1
  522. package/dist/operations/sleep/index.d.ts +0 -5
  523. package/dist/operations/sleep/index.js +0 -9
  524. package/dist/operations/sleep/index.test.d.ts +0 -1
  525. package/dist/operations/transform/index.d.ts +0 -5
  526. package/dist/operations/transform/index.js +0 -9
  527. package/dist/operations/transform/index.test.d.ts +0 -1
  528. package/dist/operations/trigger/index.d.ts +0 -8
  529. package/dist/operations/trigger/index.js +0 -39
  530. package/dist/operations/trigger/index.test.d.ts +0 -1
  531. package/dist/rate-limiter.d.ts +0 -4
  532. package/dist/rate-limiter.js +0 -38
  533. package/dist/request/index.d.ts +0 -5
  534. package/dist/request/index.js +0 -18
  535. package/dist/request/index.test.d.ts +0 -1
  536. package/dist/request/request-interceptor.d.ts +0 -2
  537. package/dist/request/request-interceptor.js +0 -33
  538. package/dist/request/request-interceptor.test.d.ts +0 -1
  539. package/dist/request/response-interceptor.d.ts +0 -2
  540. package/dist/request/response-interceptor.js +0 -9
  541. package/dist/request/response-interceptor.test.d.ts +0 -1
  542. package/dist/request/validate-ip.d.ts +0 -1
  543. package/dist/request/validate-ip.js +0 -27
  544. package/dist/request/validate-ip.test.d.ts +0 -1
  545. package/dist/server.d.ts +0 -4
  546. package/dist/server.js +0 -162
  547. package/dist/services/activity.d.ts +0 -10
  548. package/dist/services/activity.js +0 -101
  549. package/dist/services/assets.d.ts +0 -18
  550. package/dist/services/assets.js +0 -179
  551. package/dist/services/authentication.d.ts +0 -21
  552. package/dist/services/authentication.js +0 -332
  553. package/dist/services/authorization.d.ts +0 -17
  554. package/dist/services/authorization.js +0 -451
  555. package/dist/services/collections.d.ts +0 -64
  556. package/dist/services/collections.js +0 -595
  557. package/dist/services/dashboards.d.ts +0 -5
  558. package/dist/services/dashboards.js +0 -10
  559. package/dist/services/fields.d.ts +0 -32
  560. package/dist/services/fields.js +0 -625
  561. package/dist/services/fields.test.d.ts +0 -1
  562. package/dist/services/files.d.ts +0 -34
  563. package/dist/services/files.js +0 -280
  564. package/dist/services/files.test.d.ts +0 -1
  565. package/dist/services/flows.d.ts +0 -11
  566. package/dist/services/flows.js +0 -43
  567. package/dist/services/flows.test.d.ts +0 -1
  568. package/dist/services/folders.d.ts +0 -5
  569. package/dist/services/folders.js +0 -10
  570. package/dist/services/graphql/index.d.ts +0 -86
  571. package/dist/services/graphql/index.js +0 -2519
  572. package/dist/services/graphql/types/bigint.d.ts +0 -2
  573. package/dist/services/graphql/types/bigint.js +0 -39
  574. package/dist/services/graphql/types/date.d.ts +0 -2
  575. package/dist/services/graphql/types/date.js +0 -9
  576. package/dist/services/graphql/types/geojson.d.ts +0 -2
  577. package/dist/services/graphql/types/geojson.js +0 -10
  578. package/dist/services/graphql/types/hash.d.ts +0 -2
  579. package/dist/services/graphql/types/hash.js +0 -9
  580. package/dist/services/graphql/types/string-or-float.d.ts +0 -5
  581. package/dist/services/graphql/types/string-or-float.js +0 -34
  582. package/dist/services/graphql/types/void.d.ts +0 -2
  583. package/dist/services/graphql/types/void.js +0 -17
  584. package/dist/services/graphql/utils/add-path-to-validation-error.d.ts +0 -2
  585. package/dist/services/graphql/utils/add-path-to-validation-error.js +0 -19
  586. package/dist/services/graphql/utils/process-error.d.ts +0 -4
  587. package/dist/services/graphql/utils/process-error.js +0 -46
  588. package/dist/services/graphql/utils/process-error.test.d.ts +0 -1
  589. package/dist/services/import-export.d.ts +0 -37
  590. package/dist/services/import-export.js +0 -300
  591. package/dist/services/import-export.test.d.ts +0 -1
  592. package/dist/services/index.d.ts +0 -33
  593. package/dist/services/index.js +0 -50
  594. package/dist/services/items.d.ts +0 -83
  595. package/dist/services/items.js +0 -719
  596. package/dist/services/items.test.d.ts +0 -1
  597. package/dist/services/mail/index.d.ts +0 -20
  598. package/dist/services/mail/index.js +0 -96
  599. package/dist/services/mail/templates/base.liquid +0 -162
  600. package/dist/services/mail/templates/password-reset.liquid +0 -24
  601. package/dist/services/mail/templates/user-invitation.liquid +0 -19
  602. package/dist/services/meta.d.ts +0 -12
  603. package/dist/services/meta.js +0 -78
  604. package/dist/services/notifications.d.ts +0 -13
  605. package/dist/services/notifications.js +0 -59
  606. package/dist/services/notifications.test.d.ts +0 -1
  607. package/dist/services/operations.d.ts +0 -11
  608. package/dist/services/operations.js +0 -41
  609. package/dist/services/operations.test.d.ts +0 -1
  610. package/dist/services/panels.d.ts +0 -5
  611. package/dist/services/panels.js +0 -10
  612. package/dist/services/payload.d.ts +0 -73
  613. package/dist/services/payload.js +0 -644
  614. package/dist/services/payload.test.d.ts +0 -1
  615. package/dist/services/permissions.d.ts +0 -17
  616. package/dist/services/permissions.js +0 -84
  617. package/dist/services/permissions.test.d.ts +0 -1
  618. package/dist/services/presets.d.ts +0 -5
  619. package/dist/services/presets.js +0 -10
  620. package/dist/services/relations.d.ts +0 -60
  621. package/dist/services/relations.js +0 -477
  622. package/dist/services/revisions.d.ts +0 -6
  623. package/dist/services/revisions.js +0 -24
  624. package/dist/services/roles.d.ts +0 -14
  625. package/dist/services/roles.js +0 -148
  626. package/dist/services/roles.test.d.ts +0 -1
  627. package/dist/services/schema.d.ts +0 -15
  628. package/dist/services/schema.js +0 -56
  629. package/dist/services/schema.test.d.ts +0 -1
  630. package/dist/services/server.d.ts +0 -13
  631. package/dist/services/server.js +0 -366
  632. package/dist/services/settings.d.ts +0 -5
  633. package/dist/services/settings.js +0 -10
  634. package/dist/services/shares.d.ts +0 -17
  635. package/dist/services/shares.js +0 -136
  636. package/dist/services/specifications.d.ts +0 -53
  637. package/dist/services/specifications.js +0 -500
  638. package/dist/services/specifications.test.d.ts +0 -1
  639. package/dist/services/tfa.d.ts +0 -12
  640. package/dist/services/tfa.js +0 -57
  641. package/dist/services/users.d.ts +0 -55
  642. package/dist/services/users.js +0 -380
  643. package/dist/services/users.test.d.ts +0 -1
  644. package/dist/services/utils.d.ts +0 -13
  645. package/dist/services/utils.js +0 -115
  646. package/dist/services/webhooks.d.ts +0 -11
  647. package/dist/services/webhooks.js +0 -33
  648. package/dist/services/webhooks.test.d.ts +0 -1
  649. package/dist/start.d.ts +0 -1
  650. package/dist/start.js +0 -4
  651. package/dist/storage/get-storage-driver.d.ts +0 -3
  652. package/dist/storage/get-storage-driver.js +0 -20
  653. package/dist/storage/get-storage-driver.test.d.ts +0 -1
  654. package/dist/storage/index.d.ts +0 -5
  655. package/dist/storage/index.js +0 -20
  656. package/dist/storage/index.test.d.ts +0 -1
  657. package/dist/storage/register-drivers.d.ts +0 -2
  658. package/dist/storage/register-drivers.js +0 -22
  659. package/dist/storage/register-drivers.test.d.ts +0 -1
  660. package/dist/storage/register-locations.d.ts +0 -2
  661. package/dist/storage/register-locations.js +0 -17
  662. package/dist/storage/register-locations.test.d.ts +0 -1
  663. package/dist/types/assets.d.ts +0 -20
  664. package/dist/types/assets.js +0 -54
  665. package/dist/types/ast.d.ts +0 -56
  666. package/dist/types/ast.js +0 -2
  667. package/dist/types/auth.d.ts +0 -54
  668. package/dist/types/auth.js +0 -2
  669. package/dist/types/collection.d.ts +0 -19
  670. package/dist/types/collection.js +0 -2
  671. package/dist/types/database.d.ts +0 -3
  672. package/dist/types/database.js +0 -4
  673. package/dist/types/events.d.ts +0 -18
  674. package/dist/types/events.js +0 -2
  675. package/dist/types/files.d.ts +0 -29
  676. package/dist/types/files.js +0 -2
  677. package/dist/types/graphql.d.ts +0 -14
  678. package/dist/types/graphql.js +0 -2
  679. package/dist/types/index.d.ts +0 -15
  680. package/dist/types/index.js +0 -31
  681. package/dist/types/items.d.ts +0 -49
  682. package/dist/types/items.js +0 -6
  683. package/dist/types/meta.d.ts +0 -4
  684. package/dist/types/meta.js +0 -8
  685. package/dist/types/migration.d.ts +0 -5
  686. package/dist/types/migration.js +0 -2
  687. package/dist/types/revision.d.ts +0 -7
  688. package/dist/types/revision.js +0 -2
  689. package/dist/types/services.d.ts +0 -21
  690. package/dist/types/services.js +0 -2
  691. package/dist/types/snapshot.d.ts +0 -55
  692. package/dist/types/snapshot.js +0 -16
  693. package/dist/types/webhooks.d.ts +0 -15
  694. package/dist/types/webhooks.js +0 -2
  695. package/dist/utils/apply-diff.d.ts +0 -9
  696. package/dist/utils/apply-diff.js +0 -256
  697. package/dist/utils/apply-diff.test.d.ts +0 -1
  698. package/dist/utils/apply-function-to-column-name.d.ts +0 -12
  699. package/dist/utils/apply-function-to-column-name.js +0 -26
  700. package/dist/utils/apply-function-to-column-name.test.d.ts +0 -1
  701. package/dist/utils/apply-query.d.ts +0 -34
  702. package/dist/utils/apply-query.js +0 -568
  703. package/dist/utils/apply-snapshot.d.ts +0 -9
  704. package/dist/utils/apply-snapshot.js +0 -22
  705. package/dist/utils/apply-snapshot.test.d.ts +0 -1
  706. package/dist/utils/async-handler.d.ts +0 -3
  707. package/dist/utils/async-handler.js +0 -4
  708. package/dist/utils/async-handler.test.d.ts +0 -1
  709. package/dist/utils/calculate-field-depth.d.ts +0 -33
  710. package/dist/utils/calculate-field-depth.js +0 -75
  711. package/dist/utils/calculate-field-depth.test.d.ts +0 -1
  712. package/dist/utils/compress.d.ts +0 -3
  713. package/dist/utils/compress.js +0 -17
  714. package/dist/utils/construct-flow-tree.d.ts +0 -2
  715. package/dist/utils/construct-flow-tree.js +0 -31
  716. package/dist/utils/dynamic-import.d.ts +0 -1
  717. package/dist/utils/dynamic-import.js +0 -7
  718. package/dist/utils/filter-items.d.ts +0 -2
  719. package/dist/utils/filter-items.js +0 -37
  720. package/dist/utils/filter-items.test.d.ts +0 -1
  721. package/dist/utils/generate-hash.d.ts +0 -1
  722. package/dist/utils/generate-hash.js +0 -16
  723. package/dist/utils/get-accountability-for-role.d.ts +0 -7
  724. package/dist/utils/get-accountability-for-role.js +0 -45
  725. package/dist/utils/get-ast-from-query.d.ts +0 -13
  726. package/dist/utils/get-ast-from-query.js +0 -300
  727. package/dist/utils/get-auth-providers.d.ts +0 -8
  728. package/dist/utils/get-auth-providers.js +0 -19
  729. package/dist/utils/get-auth-providers.test.d.ts +0 -1
  730. package/dist/utils/get-cache-headers.d.ts +0 -10
  731. package/dist/utils/get-cache-headers.js +0 -43
  732. package/dist/utils/get-cache-headers.test.d.ts +0 -1
  733. package/dist/utils/get-cache-key.d.ts +0 -2
  734. package/dist/utils/get-cache-key.js +0 -21
  735. package/dist/utils/get-cache-key.test.d.ts +0 -1
  736. package/dist/utils/get-collection-from-alias.d.ts +0 -6
  737. package/dist/utils/get-collection-from-alias.js +0 -16
  738. package/dist/utils/get-collection-from-alias.test.d.ts +0 -1
  739. package/dist/utils/get-column-path.d.ts +0 -26
  740. package/dist/utils/get-column-path.js +0 -65
  741. package/dist/utils/get-column-path.test.d.ts +0 -1
  742. package/dist/utils/get-column.d.ts +0 -20
  743. package/dist/utils/get-column.js +0 -52
  744. package/dist/utils/get-config-from-env.d.ts +0 -1
  745. package/dist/utils/get-config-from-env.js +0 -48
  746. package/dist/utils/get-config-from-env.test.d.ts +0 -1
  747. package/dist/utils/get-date-formatted.d.ts +0 -1
  748. package/dist/utils/get-date-formatted.js +0 -14
  749. package/dist/utils/get-date-formatted.test.d.ts +0 -1
  750. package/dist/utils/get-default-index-name.d.ts +0 -10
  751. package/dist/utils/get-default-index-name.js +0 -25
  752. package/dist/utils/get-default-value.d.ts +0 -3
  753. package/dist/utils/get-default-value.js +0 -62
  754. package/dist/utils/get-graphql-query-and-variables.d.ts +0 -2
  755. package/dist/utils/get-graphql-query-and-variables.js +0 -9
  756. package/dist/utils/get-graphql-query-and-variables.test.d.ts +0 -1
  757. package/dist/utils/get-graphql-type.d.ts +0 -3
  758. package/dist/utils/get-graphql-type.js +0 -40
  759. package/dist/utils/get-ip-from-req.d.ts +0 -2
  760. package/dist/utils/get-ip-from-req.js +0 -24
  761. package/dist/utils/get-local-type.d.ts +0 -9
  762. package/dist/utils/get-local-type.js +0 -131
  763. package/dist/utils/get-milliseconds.d.ts +0 -4
  764. package/dist/utils/get-milliseconds.js +0 -14
  765. package/dist/utils/get-milliseconds.test.d.ts +0 -1
  766. package/dist/utils/get-module-default.d.ts +0 -3
  767. package/dist/utils/get-module-default.js +0 -9
  768. package/dist/utils/get-os-info.d.ts +0 -9
  769. package/dist/utils/get-os-info.js +0 -47
  770. package/dist/utils/get-permissions.d.ts +0 -2
  771. package/dist/utils/get-permissions.js +0 -158
  772. package/dist/utils/get-relation-info.d.ts +0 -7
  773. package/dist/utils/get-relation-info.js +0 -49
  774. package/dist/utils/get-relation-info.test.d.ts +0 -1
  775. package/dist/utils/get-relation-type.d.ts +0 -6
  776. package/dist/utils/get-relation-type.js +0 -22
  777. package/dist/utils/get-relation-type.test.d.ts +0 -1
  778. package/dist/utils/get-schema.d.ts +0 -10
  779. package/dist/utils/get-schema.js +0 -138
  780. package/dist/utils/get-snapshot-diff.d.ts +0 -2
  781. package/dist/utils/get-snapshot-diff.js +0 -82
  782. package/dist/utils/get-snapshot.d.ts +0 -7
  783. package/dist/utils/get-snapshot.js +0 -80
  784. package/dist/utils/get-string-byte-size.d.ts +0 -4
  785. package/dist/utils/get-string-byte-size.js +0 -10
  786. package/dist/utils/get-string-byte-size.test.d.ts +0 -1
  787. package/dist/utils/get-versioned-hash.d.ts +0 -1
  788. package/dist/utils/get-versioned-hash.js +0 -12
  789. package/dist/utils/get-versioned-hash.test.d.ts +0 -1
  790. package/dist/utils/is-directus-jwt.d.ts +0 -5
  791. package/dist/utils/is-directus-jwt.js +0 -22
  792. package/dist/utils/is-directus-jwt.test.d.ts +0 -1
  793. package/dist/utils/is-url-allowed.d.ts +0 -4
  794. package/dist/utils/is-url-allowed.js +0 -36
  795. package/dist/utils/job-queue.d.ts +0 -9
  796. package/dist/utils/job-queue.js +0 -26
  797. package/dist/utils/jwt.d.ts +0 -2
  798. package/dist/utils/jwt.js +0 -53
  799. package/dist/utils/jwt.test.d.ts +0 -1
  800. package/dist/utils/map-values-deep.d.ts +0 -1
  801. package/dist/utils/map-values-deep.js +0 -29
  802. package/dist/utils/map-values-deep.test.d.ts +0 -1
  803. package/dist/utils/md.d.ts +0 -4
  804. package/dist/utils/md.js +0 -15
  805. package/dist/utils/md.test.d.ts +0 -1
  806. package/dist/utils/merge-permissions-for-share.d.ts +0 -4
  807. package/dist/utils/merge-permissions-for-share.js +0 -115
  808. package/dist/utils/merge-permissions.d.ts +0 -14
  809. package/dist/utils/merge-permissions.js +0 -100
  810. package/dist/utils/merge-permissions.test.d.ts +0 -1
  811. package/dist/utils/parse-image-metadata.d.ts +0 -3
  812. package/dist/utils/parse-image-metadata.js +0 -73
  813. package/dist/utils/reduce-schema.d.ts +0 -9
  814. package/dist/utils/reduce-schema.js +0 -82
  815. package/dist/utils/require-yaml.d.ts +0 -1
  816. package/dist/utils/require-yaml.js +0 -13
  817. package/dist/utils/sanitize-query.d.ts +0 -2
  818. package/dist/utils/sanitize-query.js +0 -179
  819. package/dist/utils/sanitize-query.test.d.ts +0 -1
  820. package/dist/utils/sanitize-schema.d.ts +0 -30
  821. package/dist/utils/sanitize-schema.js +0 -80
  822. package/dist/utils/sanitize-schema.test.d.ts +0 -1
  823. package/dist/utils/should-skip-cache.d.ts +0 -7
  824. package/dist/utils/should-skip-cache.js +0 -30
  825. package/dist/utils/should-skip-cache.test.d.ts +0 -1
  826. package/dist/utils/stall.d.ts +0 -26
  827. package/dist/utils/stall.js +0 -38
  828. package/dist/utils/stall.test.d.ts +0 -1
  829. package/dist/utils/strip-function.d.ts +0 -4
  830. package/dist/utils/strip-function.js +0 -16
  831. package/dist/utils/strip-function.test.d.ts +0 -1
  832. package/dist/utils/telemetry.d.ts +0 -1
  833. package/dist/utils/telemetry.js +0 -30
  834. package/dist/utils/transformations.d.ts +0 -6
  835. package/dist/utils/transformations.js +0 -55
  836. package/dist/utils/url.d.ts +0 -17
  837. package/dist/utils/url.js +0 -63
  838. package/dist/utils/url.test.d.ts +0 -1
  839. package/dist/utils/user-name.d.ts +0 -2
  840. package/dist/utils/user-name.js +0 -19
  841. package/dist/utils/user-name.test.d.ts +0 -1
  842. package/dist/utils/validate-diff.d.ts +0 -7
  843. package/dist/utils/validate-diff.js +0 -113
  844. package/dist/utils/validate-diff.test.d.ts +0 -1
  845. package/dist/utils/validate-env.d.ts +0 -1
  846. package/dist/utils/validate-env.js +0 -18
  847. package/dist/utils/validate-env.test.d.ts +0 -1
  848. package/dist/utils/validate-keys.d.ts +0 -6
  849. package/dist/utils/validate-keys.js +0 -28
  850. package/dist/utils/validate-keys.test.d.ts +0 -1
  851. package/dist/utils/validate-query.d.ts +0 -2
  852. package/dist/utils/validate-query.js +0 -205
  853. package/dist/utils/validate-query.test.d.ts +0 -1
  854. package/dist/utils/validate-snapshot.d.ts +0 -5
  855. package/dist/utils/validate-snapshot.js +0 -71
  856. package/dist/utils/validate-snapshot.test.d.ts +0 -1
  857. package/dist/utils/validate-storage.d.ts +0 -1
  858. package/dist/utils/validate-storage.js +0 -38
  859. package/dist/webhooks.d.ts +0 -4
  860. package/dist/webhooks.js +0 -89
  861. /package/{README.md → readme.md} +0 -0
@@ -1,1648 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.down = exports.up = void 0;
4
- const lodash_1 = require("lodash");
5
- const defaults = {
6
- collection: null,
7
- field: null,
8
- special: null,
9
- interface: null,
10
- options: null,
11
- display: null,
12
- display_options: null,
13
- locked: false,
14
- readonly: false,
15
- hidden: false,
16
- sort: null,
17
- width: 'full',
18
- group: null,
19
- translations: null,
20
- note: null,
21
- };
22
- const systemFields = [
23
- {
24
- collection: 'directus_collections',
25
- field: 'collection_divider',
26
- special: 'alias',
27
- interface: 'divider',
28
- options: {
29
- icon: 'box',
30
- title: 'Collection Setup',
31
- color: '#2F80ED',
32
- },
33
- locked: true,
34
- sort: 1,
35
- width: 'full',
36
- },
37
- {
38
- collection: 'directus_collections',
39
- field: 'collection',
40
- interface: 'text-input',
41
- options: {
42
- font: 'monospace',
43
- },
44
- locked: true,
45
- readonly: true,
46
- sort: 2,
47
- width: 'half',
48
- },
49
- {
50
- collection: 'directus_collections',
51
- field: 'icon',
52
- interface: 'icon',
53
- options: null,
54
- locked: true,
55
- sort: 3,
56
- width: 'half',
57
- },
58
- {
59
- collection: 'directus_collections',
60
- field: 'note',
61
- interface: 'text-input',
62
- options: {
63
- placeholder: 'A description of this collection...',
64
- },
65
- locked: true,
66
- sort: 4,
67
- width: 'full',
68
- },
69
- {
70
- collection: 'directus_collections',
71
- field: 'display_template',
72
- interface: 'display-template',
73
- options: {
74
- collectionField: 'collection',
75
- },
76
- locked: true,
77
- sort: 5,
78
- width: 'full',
79
- },
80
- {
81
- collection: 'directus_collections',
82
- field: 'hidden',
83
- special: 'boolean',
84
- interface: 'toggle',
85
- options: {
86
- label: 'Hide within the App',
87
- },
88
- locked: true,
89
- sort: 6,
90
- width: 'half',
91
- },
92
- {
93
- collection: 'directus_collections',
94
- field: 'singleton',
95
- special: 'boolean',
96
- interface: 'toggle',
97
- options: {
98
- label: 'Treat as single object',
99
- },
100
- locked: true,
101
- sort: 7,
102
- width: 'half',
103
- },
104
- {
105
- collection: 'directus_collections',
106
- field: 'translations',
107
- special: 'json',
108
- interface: 'repeater',
109
- options: {
110
- template: '{{ translation }} ({{ language }})',
111
- fields: [
112
- {
113
- field: 'language',
114
- name: 'Language',
115
- type: 'string',
116
- schema: {
117
- default_value: 'en-US',
118
- },
119
- meta: {
120
- interface: 'system-language',
121
- width: 'half',
122
- },
123
- },
124
- {
125
- field: 'translation',
126
- name: 'translation',
127
- type: 'string',
128
- meta: {
129
- interface: 'text-input',
130
- width: 'half',
131
- options: {
132
- placeholder: 'Enter a translation...',
133
- },
134
- },
135
- },
136
- ],
137
- },
138
- locked: true,
139
- sort: 8,
140
- width: 'full',
141
- },
142
- {
143
- collection: 'directus_collections',
144
- field: 'archive_divider',
145
- special: 'alias',
146
- interface: 'divider',
147
- options: {
148
- icon: 'archive',
149
- title: 'Archive',
150
- color: '#2F80ED',
151
- },
152
- locked: true,
153
- sort: 9,
154
- width: 'full',
155
- },
156
- {
157
- collection: 'directus_collections',
158
- field: 'archive_field',
159
- interface: 'field',
160
- options: {
161
- collectionField: 'collection',
162
- allowNone: true,
163
- placeholder: 'Choose a field...',
164
- },
165
- locked: true,
166
- sort: 10,
167
- width: 'half',
168
- },
169
- {
170
- collection: 'directus_collections',
171
- field: 'archive_app_filter',
172
- interface: 'toggle',
173
- special: 'boolean',
174
- options: {
175
- label: 'Enable App Archive Filter',
176
- },
177
- locked: true,
178
- sort: 11,
179
- width: 'half',
180
- },
181
- {
182
- collection: 'directus_collections',
183
- field: 'archive_value',
184
- interface: 'text-input',
185
- options: {
186
- font: 'monospace',
187
- iconRight: 'archive',
188
- placeholder: 'Value set when archiving...',
189
- },
190
- locked: true,
191
- sort: 12,
192
- width: 'half',
193
- },
194
- {
195
- collection: 'directus_collections',
196
- field: 'unarchive_value',
197
- interface: 'text-input',
198
- options: {
199
- font: 'monospace',
200
- iconRight: 'unarchive',
201
- placeholder: 'Value set when unarchiving...',
202
- },
203
- locked: true,
204
- sort: 13,
205
- width: 'half',
206
- },
207
- {
208
- collection: 'directus_collections',
209
- field: 'sort_divider',
210
- special: 'alias',
211
- interface: 'divider',
212
- options: {
213
- icon: 'sort',
214
- title: 'Sort',
215
- color: '#2F80ED',
216
- },
217
- locked: true,
218
- sort: 14,
219
- width: 'full',
220
- },
221
- {
222
- collection: 'directus_collections',
223
- field: 'sort_field',
224
- interface: 'field',
225
- options: {
226
- collectionField: 'collection',
227
- placeholder: 'Choose a field...',
228
- typeAllowList: ['float', 'decimal', 'integer'],
229
- allowNone: true,
230
- },
231
- locked: true,
232
- sort: 15,
233
- width: 'half',
234
- },
235
- {
236
- collection: 'directus_roles',
237
- field: 'id',
238
- hidden: true,
239
- interface: 'text-input',
240
- locked: true,
241
- special: 'uuid',
242
- },
243
- {
244
- collection: 'directus_roles',
245
- field: 'name',
246
- interface: 'text-input',
247
- options: {
248
- placeholder: 'The unique name for this role...',
249
- },
250
- locked: true,
251
- sort: 1,
252
- width: 'half',
253
- },
254
- {
255
- collection: 'directus_roles',
256
- field: 'icon',
257
- interface: 'icon',
258
- display: 'icon',
259
- locked: true,
260
- sort: 2,
261
- width: 'half',
262
- },
263
- {
264
- collection: 'directus_roles',
265
- field: 'description',
266
- interface: 'text-input',
267
- options: {
268
- placeholder: 'A description of this role...',
269
- },
270
- locked: true,
271
- sort: 3,
272
- width: 'full',
273
- },
274
- {
275
- collection: 'directus_roles',
276
- field: 'app_access',
277
- interface: 'toggle',
278
- locked: true,
279
- special: 'boolean',
280
- sort: 4,
281
- width: 'half',
282
- },
283
- {
284
- collection: 'directus_roles',
285
- field: 'admin_access',
286
- interface: 'toggle',
287
- locked: true,
288
- special: 'boolean',
289
- sort: 5,
290
- width: 'half',
291
- },
292
- {
293
- collection: 'directus_roles',
294
- field: 'ip_access',
295
- interface: 'tags',
296
- options: {
297
- placeholder: 'Add allowed IP addresses, leave empty to allow all...',
298
- },
299
- locked: true,
300
- special: 'csv',
301
- sort: 6,
302
- width: 'full',
303
- },
304
- {
305
- collection: 'directus_roles',
306
- field: 'enforce_tfa',
307
- interface: 'toggle',
308
- locked: true,
309
- sort: 7,
310
- special: 'boolean',
311
- width: 'half',
312
- },
313
- {
314
- collection: 'directus_roles',
315
- field: 'users',
316
- interface: 'one-to-many',
317
- locked: true,
318
- special: 'o2m',
319
- sort: 8,
320
- options: {
321
- fields: ['first_name', 'last_name'],
322
- },
323
- width: 'full',
324
- },
325
- {
326
- collection: 'directus_roles',
327
- field: 'module_list',
328
- interface: 'repeater',
329
- locked: true,
330
- options: {
331
- template: '{{ name }}',
332
- addLabel: 'Add New Module...',
333
- fields: [
334
- {
335
- name: 'Icon',
336
- field: 'icon',
337
- type: 'string',
338
- meta: {
339
- interface: 'icon',
340
- width: 'half',
341
- },
342
- },
343
- {
344
- name: 'Name',
345
- field: 'name',
346
- type: 'string',
347
- meta: {
348
- interface: 'text-input',
349
- width: 'half',
350
- options: {
351
- iconRight: 'title',
352
- placeholder: 'Enter a title...',
353
- },
354
- },
355
- },
356
- {
357
- name: 'Link',
358
- field: 'link',
359
- type: 'string',
360
- meta: {
361
- interface: 'text-input',
362
- width: 'full',
363
- options: {
364
- iconRight: 'link',
365
- placeholder: 'Relative or absolute URL...',
366
- },
367
- },
368
- },
369
- ],
370
- },
371
- special: 'json',
372
- sort: 9,
373
- width: 'full',
374
- },
375
- {
376
- collection: 'directus_roles',
377
- field: 'collection_list',
378
- interface: 'repeater',
379
- locked: true,
380
- options: {
381
- template: '{{ group_name }}',
382
- addLabel: 'Add New Group...',
383
- fields: [
384
- {
385
- name: 'Group Name',
386
- field: 'group_name',
387
- type: 'string',
388
- meta: {
389
- width: 'half',
390
- interface: 'text-input',
391
- options: {
392
- iconRight: 'title',
393
- placeholder: 'Label this group...',
394
- },
395
- },
396
- schema: {
397
- is_nullable: false,
398
- },
399
- },
400
- {
401
- name: 'Type',
402
- field: 'accordion',
403
- type: 'string',
404
- schema: {
405
- default_value: 'always_open',
406
- },
407
- meta: {
408
- width: 'half',
409
- interface: 'dropdown',
410
- options: {
411
- choices: [
412
- {
413
- value: 'always_open',
414
- text: 'Always Open',
415
- },
416
- {
417
- value: 'start_open',
418
- text: 'Start Open',
419
- },
420
- {
421
- value: 'start_collapsed',
422
- text: 'Start Collapsed',
423
- },
424
- ],
425
- },
426
- },
427
- },
428
- {
429
- name: 'Collections',
430
- field: 'collections',
431
- type: 'JSON',
432
- meta: {
433
- interface: 'repeater',
434
- options: {
435
- addLabel: 'Add New Collection...',
436
- template: '{{ collection }}',
437
- fields: [
438
- {
439
- name: 'Collection',
440
- field: 'collection',
441
- type: 'string',
442
- meta: {
443
- interface: 'collection',
444
- width: 'full',
445
- },
446
- schema: {
447
- is_nullable: false,
448
- },
449
- },
450
- ],
451
- },
452
- },
453
- },
454
- ],
455
- },
456
- special: 'json',
457
- sort: 10,
458
- width: 'full',
459
- },
460
- {
461
- collection: 'directus_fields',
462
- field: 'options',
463
- hidden: true,
464
- locked: true,
465
- special: 'json',
466
- },
467
- {
468
- collection: 'directus_fields',
469
- field: 'display_options',
470
- hidden: true,
471
- locked: true,
472
- special: 'json',
473
- },
474
- {
475
- collection: 'directus_fields',
476
- field: 'locked',
477
- hidden: true,
478
- locked: true,
479
- special: 'boolean',
480
- },
481
- {
482
- collection: 'directus_fields',
483
- field: 'readonly',
484
- hidden: true,
485
- locked: true,
486
- special: 'boolean',
487
- },
488
- {
489
- collection: 'directus_fields',
490
- field: 'hidden',
491
- hidden: true,
492
- locked: true,
493
- special: 'boolean',
494
- },
495
- {
496
- collection: 'directus_fields',
497
- field: 'special',
498
- hidden: true,
499
- locked: true,
500
- special: 'csv',
501
- },
502
- {
503
- collection: 'directus_fields',
504
- field: 'translations',
505
- hidden: true,
506
- locked: true,
507
- special: 'json',
508
- },
509
- {
510
- collection: 'directus_users',
511
- field: 'first_name',
512
- interface: 'text-input',
513
- locked: true,
514
- options: {
515
- iconRight: 'account_circle',
516
- },
517
- sort: 1,
518
- width: 'half',
519
- },
520
- {
521
- collection: 'directus_users',
522
- field: 'last_name',
523
- interface: 'text-input',
524
- locked: true,
525
- options: {
526
- iconRight: 'account_circle',
527
- },
528
- sort: 2,
529
- width: 'half',
530
- },
531
- {
532
- collection: 'directus_users',
533
- field: 'email',
534
- interface: 'text-input',
535
- locked: true,
536
- options: {
537
- iconRight: 'email',
538
- },
539
- sort: 3,
540
- width: 'half',
541
- },
542
- {
543
- collection: 'directus_users',
544
- field: 'password',
545
- special: 'hash, conceal',
546
- interface: 'hash',
547
- locked: true,
548
- options: {
549
- iconRight: 'lock',
550
- masked: true,
551
- },
552
- sort: 4,
553
- width: 'half',
554
- },
555
- {
556
- collection: 'directus_users',
557
- field: 'avatar',
558
- interface: 'file',
559
- locked: true,
560
- sort: 5,
561
- width: 'full',
562
- },
563
- {
564
- collection: 'directus_users',
565
- field: 'location',
566
- interface: 'text-input',
567
- options: {
568
- iconRight: 'place',
569
- },
570
- sort: 6,
571
- width: 'half',
572
- },
573
- {
574
- collection: 'directus_users',
575
- field: 'title',
576
- interface: 'text-input',
577
- options: {
578
- iconRight: 'work',
579
- },
580
- sort: 7,
581
- width: 'half',
582
- },
583
- {
584
- collection: 'directus_users',
585
- field: 'description',
586
- interface: 'textarea',
587
- sort: 8,
588
- width: 'full',
589
- },
590
- {
591
- collection: 'directus_users',
592
- field: 'tags',
593
- interface: 'tags',
594
- special: 'json',
595
- sort: 9,
596
- width: 'full',
597
- options: {
598
- iconRight: 'local_offer',
599
- },
600
- },
601
- {
602
- collection: 'directus_users',
603
- field: 'preferences_divider',
604
- interface: 'divider',
605
- options: {
606
- icon: 'face',
607
- title: 'User Preferences',
608
- color: '#2F80ED',
609
- },
610
- special: 'alias',
611
- sort: 10,
612
- width: 'full',
613
- },
614
- {
615
- collection: 'directus_users',
616
- field: 'language',
617
- interface: 'dropdown',
618
- locked: true,
619
- options: {
620
- choices: [
621
- {
622
- text: 'Afrikaans (South Africa)',
623
- value: 'af-ZA',
624
- },
625
- {
626
- text: 'Arabic (Saudi Arabia)',
627
- value: 'ar-SA',
628
- },
629
- {
630
- text: 'Catalan (Spain)',
631
- value: 'ca-ES',
632
- },
633
- {
634
- text: 'Chinese (Simplified)',
635
- value: 'zh-CN',
636
- },
637
- {
638
- text: 'Czech (Czech Republic)',
639
- value: 'cs-CZ',
640
- },
641
- {
642
- text: 'Danish (Denmark)',
643
- value: 'da-DK',
644
- },
645
- {
646
- text: 'Dutch (Netherlands)',
647
- value: 'nl-NL',
648
- },
649
- {
650
- text: 'English (United States)',
651
- value: 'en-US',
652
- },
653
- {
654
- text: 'Finnish (Finland)',
655
- value: 'fi-FI',
656
- },
657
- {
658
- text: 'French (France)',
659
- value: 'fr-FR',
660
- },
661
- {
662
- text: 'German (Germany)',
663
- value: 'de-DE',
664
- },
665
- {
666
- text: 'Greek (Greece)',
667
- value: 'el-GR',
668
- },
669
- {
670
- text: 'Hebrew (Israel)',
671
- value: 'he-IL',
672
- },
673
- {
674
- text: 'Hungarian (Hungary)',
675
- value: 'hu-HU',
676
- },
677
- {
678
- text: 'Icelandic (Iceland)',
679
- value: 'is-IS',
680
- },
681
- {
682
- text: 'Indonesian (Indonesia)',
683
- value: 'id-ID',
684
- },
685
- {
686
- text: 'Italian (Italy)',
687
- value: 'it-IT',
688
- },
689
- {
690
- text: 'Japanese (Japan)',
691
- value: 'ja-JP',
692
- },
693
- {
694
- text: 'Korean (Korea)',
695
- value: 'ko-KR',
696
- },
697
- {
698
- text: 'Malay (Malaysia)',
699
- value: 'ms-MY',
700
- },
701
- {
702
- text: 'Norwegian (Norway)',
703
- value: 'no-NO',
704
- },
705
- {
706
- text: 'Polish (Poland)',
707
- value: 'pl-PL',
708
- },
709
- {
710
- text: 'Portuguese (Brazil)',
711
- value: 'pt-BR',
712
- },
713
- {
714
- text: 'Portuguese (Portugal)',
715
- value: 'pt-PT',
716
- },
717
- {
718
- text: 'Russian (Russian Federation)',
719
- value: 'ru-RU',
720
- },
721
- {
722
- text: 'Spanish (Spain)',
723
- value: 'es-ES',
724
- },
725
- {
726
- text: 'Spanish (Latin America)',
727
- value: 'es-419',
728
- },
729
- {
730
- text: 'Taiwanese Mandarin (Taiwan)',
731
- value: 'zh-TW',
732
- },
733
- {
734
- text: 'Turkish (Turkey)',
735
- value: 'tr-TR',
736
- },
737
- {
738
- text: 'Ukrainian (Ukraine)',
739
- value: 'uk-UA',
740
- },
741
- {
742
- text: 'Vietnamese (Vietnam)',
743
- value: 'vi-VN',
744
- },
745
- ],
746
- },
747
- sort: 11,
748
- width: 'half',
749
- },
750
- {
751
- collection: 'directus_users',
752
- field: 'theme',
753
- interface: 'dropdown',
754
- locked: true,
755
- options: {
756
- choices: [
757
- {
758
- value: 'auto',
759
- text: 'Automatic (Based on System)',
760
- },
761
- {
762
- value: 'light',
763
- text: 'Light Mode',
764
- },
765
- {
766
- value: 'dark',
767
- text: 'Dark Mode',
768
- },
769
- ],
770
- },
771
- sort: 12,
772
- width: 'half',
773
- },
774
- {
775
- collection: 'directus_users',
776
- field: 'tfa_secret',
777
- interface: 'tfa-setup',
778
- locked: true,
779
- special: 'conceal',
780
- sort: 13,
781
- width: 'half',
782
- },
783
- {
784
- collection: 'directus_users',
785
- field: 'admin_divider',
786
- interface: 'divider',
787
- locked: true,
788
- options: {
789
- icon: 'verified_user',
790
- title: 'Admin Options',
791
- color: '#F2994A',
792
- },
793
- special: 'alias',
794
- sort: 14,
795
- width: 'full',
796
- },
797
- {
798
- collection: 'directus_users',
799
- field: 'status',
800
- interface: 'dropdown',
801
- locked: true,
802
- options: {
803
- choices: [
804
- {
805
- text: 'Draft',
806
- value: 'draft',
807
- },
808
- {
809
- text: 'Invited',
810
- value: 'invited',
811
- },
812
- {
813
- text: 'Active',
814
- value: 'active',
815
- },
816
- {
817
- text: 'Suspended',
818
- value: 'suspended',
819
- },
820
- {
821
- text: 'Archived',
822
- value: 'archived',
823
- },
824
- ],
825
- },
826
- sort: 15,
827
- width: 'half',
828
- },
829
- {
830
- collection: 'directus_users',
831
- field: 'role',
832
- interface: 'many-to-one',
833
- locked: true,
834
- options: {
835
- template: '{{ name }}',
836
- },
837
- special: 'm2o',
838
- sort: 16,
839
- width: 'half',
840
- },
841
- {
842
- collection: 'directus_users',
843
- field: 'token',
844
- interface: 'token',
845
- locked: true,
846
- options: {
847
- iconRight: 'vpn_key',
848
- placeholder: 'Enter a secure access token...',
849
- },
850
- sort: 17,
851
- width: 'full',
852
- },
853
- {
854
- collection: 'directus_users',
855
- field: 'id',
856
- special: 'uuid',
857
- interface: 'text-input',
858
- locked: true,
859
- options: {
860
- iconRight: 'vpn_key',
861
- },
862
- sort: 18,
863
- width: 'full',
864
- },
865
- {
866
- collection: 'directus_folders',
867
- field: 'id',
868
- interface: 'text-input',
869
- locked: true,
870
- special: 'uuid',
871
- },
872
- {
873
- collection: 'directus_files',
874
- field: 'id',
875
- hidden: true,
876
- interface: 'text-input',
877
- locked: true,
878
- special: 'uuid',
879
- },
880
- {
881
- collection: 'directus_files',
882
- field: 'title',
883
- interface: 'text-input',
884
- locked: true,
885
- options: {
886
- iconRight: 'title',
887
- placeholder: 'A unique title...',
888
- },
889
- sort: 1,
890
- width: 'full',
891
- },
892
- {
893
- collection: 'directus_files',
894
- field: 'description',
895
- interface: 'textarea',
896
- locked: true,
897
- sort: 2,
898
- width: 'full',
899
- options: {
900
- placeholder: 'An optional description...',
901
- },
902
- },
903
- {
904
- collection: 'directus_files',
905
- field: 'tags',
906
- interface: 'tags',
907
- locked: true,
908
- options: {
909
- iconRight: 'local_offer',
910
- },
911
- special: 'json',
912
- sort: 3,
913
- width: 'full',
914
- display: 'tags',
915
- },
916
- {
917
- collection: 'directus_files',
918
- field: 'location',
919
- interface: 'text-input',
920
- locked: true,
921
- options: {
922
- iconRight: 'place',
923
- placeholder: 'An optional location...',
924
- },
925
- sort: 4,
926
- width: 'half',
927
- },
928
- {
929
- collection: 'directus_files',
930
- field: 'storage',
931
- interface: 'text-input',
932
- locked: true,
933
- options: {
934
- iconRight: 'storage',
935
- },
936
- sort: 5,
937
- width: 'half',
938
- readonly: true,
939
- },
940
- {
941
- collection: 'directus_files',
942
- field: 'storage_divider',
943
- interface: 'divider',
944
- locked: true,
945
- options: {
946
- icon: 'insert_drive_file',
947
- title: 'File Naming',
948
- color: '#2F80ED',
949
- },
950
- special: 'alias',
951
- sort: 6,
952
- width: 'full',
953
- },
954
- {
955
- collection: 'directus_files',
956
- field: 'filename_disk',
957
- interface: 'text-input',
958
- locked: true,
959
- options: {
960
- iconRight: 'publish',
961
- placeholder: 'Name on disk storage...',
962
- },
963
- sort: 7,
964
- width: 'half',
965
- },
966
- {
967
- collection: 'directus_files',
968
- field: 'filename_download',
969
- interface: 'text-input',
970
- locked: true,
971
- options: {
972
- iconRight: 'get_app',
973
- placeholder: 'Name when downloading...',
974
- },
975
- sort: 8,
976
- width: 'half',
977
- },
978
- {
979
- collection: 'directus_files',
980
- field: 'metadata',
981
- hidden: true,
982
- locked: true,
983
- special: 'json',
984
- },
985
- {
986
- collection: 'directus_files',
987
- field: 'type',
988
- display: 'mime-type',
989
- },
990
- {
991
- collection: 'directus_files',
992
- field: 'filesize',
993
- display: 'filesize',
994
- },
995
- {
996
- collection: 'directus_files',
997
- field: 'modified_by',
998
- interface: 'user',
999
- locked: true,
1000
- special: 'user-updated',
1001
- width: 'half',
1002
- display: 'user',
1003
- },
1004
- {
1005
- collection: 'directus_files',
1006
- field: 'modified_on',
1007
- interface: 'datetime',
1008
- locked: true,
1009
- special: 'date-updated',
1010
- width: 'half',
1011
- display: 'datetime',
1012
- },
1013
- {
1014
- collection: 'directus_files',
1015
- field: 'created_on',
1016
- display: 'datetime',
1017
- },
1018
- {
1019
- collection: 'directus_files',
1020
- field: 'created_by',
1021
- display: 'user',
1022
- },
1023
- {
1024
- collection: 'directus_permissions',
1025
- field: 'permissions',
1026
- hidden: true,
1027
- locked: true,
1028
- special: 'json',
1029
- },
1030
- {
1031
- collection: 'directus_permissions',
1032
- field: 'presets',
1033
- hidden: true,
1034
- locked: true,
1035
- special: 'json',
1036
- },
1037
- {
1038
- collection: 'directus_presets',
1039
- field: 'filters',
1040
- hidden: true,
1041
- locked: true,
1042
- special: 'json',
1043
- },
1044
- {
1045
- collection: 'directus_presets',
1046
- field: 'layout_query',
1047
- hidden: true,
1048
- locked: true,
1049
- special: 'json',
1050
- },
1051
- {
1052
- collection: 'directus_presets',
1053
- field: 'layout_options',
1054
- hidden: true,
1055
- locked: true,
1056
- special: 'json',
1057
- },
1058
- {
1059
- collection: 'directus_revisions',
1060
- field: 'data',
1061
- hidden: true,
1062
- locked: true,
1063
- special: 'json',
1064
- },
1065
- {
1066
- collection: 'directus_revisions',
1067
- field: 'delta',
1068
- hidden: true,
1069
- locked: true,
1070
- special: 'json',
1071
- },
1072
- {
1073
- collection: 'directus_settings',
1074
- field: 'project_name',
1075
- interface: 'text-input',
1076
- locked: true,
1077
- options: {
1078
- iconRight: 'title',
1079
- placeholder: 'My project...',
1080
- },
1081
- sort: 1,
1082
- translations: {
1083
- language: 'en-US',
1084
- translations: 'Name',
1085
- },
1086
- width: 'half',
1087
- },
1088
- {
1089
- collection: 'directus_settings',
1090
- field: 'project_url',
1091
- interface: 'text-input',
1092
- locked: true,
1093
- options: {
1094
- iconRight: 'link',
1095
- placeholder: 'https://example.com',
1096
- },
1097
- sort: 2,
1098
- translations: {
1099
- language: 'en-US',
1100
- translations: 'Website',
1101
- },
1102
- width: 'half',
1103
- },
1104
- {
1105
- collection: 'directus_settings',
1106
- field: 'project_color',
1107
- interface: 'color',
1108
- locked: true,
1109
- note: 'Login & Logo Background',
1110
- sort: 3,
1111
- translations: {
1112
- language: 'en-US',
1113
- translations: 'Brand Color',
1114
- },
1115
- width: 'half',
1116
- },
1117
- {
1118
- collection: 'directus_settings',
1119
- field: 'project_logo',
1120
- interface: 'file',
1121
- locked: true,
1122
- note: 'White 40x40 SVG/PNG',
1123
- sort: 4,
1124
- translations: {
1125
- language: 'en-US',
1126
- translations: 'Brand Logo',
1127
- },
1128
- width: 'half',
1129
- },
1130
- {
1131
- collection: 'directus_settings',
1132
- field: 'public_divider',
1133
- interface: 'divider',
1134
- locked: true,
1135
- options: {
1136
- icon: 'public',
1137
- title: 'Public Pages',
1138
- color: '#2F80ED',
1139
- },
1140
- special: 'alias',
1141
- sort: 5,
1142
- width: 'full',
1143
- },
1144
- {
1145
- collection: 'directus_settings',
1146
- field: 'public_foreground',
1147
- interface: 'file',
1148
- locked: true,
1149
- sort: 6,
1150
- translations: {
1151
- language: 'en-US',
1152
- translations: 'Login Foreground',
1153
- },
1154
- width: 'half',
1155
- },
1156
- {
1157
- collection: 'directus_settings',
1158
- field: 'public_background',
1159
- interface: 'file',
1160
- locked: true,
1161
- sort: 7,
1162
- translations: {
1163
- language: 'en-US',
1164
- translations: 'Login Background',
1165
- },
1166
- width: 'half',
1167
- },
1168
- {
1169
- collection: 'directus_settings',
1170
- field: 'public_note',
1171
- interface: 'textarea',
1172
- locked: true,
1173
- options: {
1174
- placeholder: 'A short, public message that supports markdown formatting...',
1175
- },
1176
- sort: 8,
1177
- width: 'full',
1178
- },
1179
- {
1180
- collection: 'directus_settings',
1181
- field: 'security_divider',
1182
- interface: 'divider',
1183
- locked: true,
1184
- options: {
1185
- icon: 'security',
1186
- title: 'Security',
1187
- color: '#2F80ED',
1188
- },
1189
- special: 'alias',
1190
- sort: 9,
1191
- width: 'full',
1192
- },
1193
- {
1194
- collection: 'directus_settings',
1195
- field: 'auth_password_policy',
1196
- interface: 'dropdown',
1197
- locked: true,
1198
- options: {
1199
- choices: [
1200
- {
1201
- value: null,
1202
- text: 'None – Not Recommended',
1203
- },
1204
- {
1205
- value: '/^.{8,}$/',
1206
- text: 'Weak – Minimum 8 Characters',
1207
- },
1208
- {
1209
- value: "/(?=^.{8,}$)(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()_+}{';'?>.<,])(?!.*\\s).*$/",
1210
- text: 'Strong – Upper / Lowercase / Numbers / Special',
1211
- },
1212
- ],
1213
- },
1214
- sort: 10,
1215
- width: 'half',
1216
- },
1217
- {
1218
- collection: 'directus_settings',
1219
- field: 'auth_login_attempts',
1220
- interface: 'numeric',
1221
- locked: true,
1222
- options: {
1223
- iconRight: 'lock',
1224
- },
1225
- sort: 11,
1226
- width: 'half',
1227
- },
1228
- {
1229
- collection: 'directus_settings',
1230
- field: 'files_divider',
1231
- interface: 'divider',
1232
- locked: true,
1233
- options: {
1234
- icon: 'storage',
1235
- title: 'Files & Thumbnails',
1236
- color: '#2F80ED',
1237
- },
1238
- special: 'alias',
1239
- sort: 12,
1240
- width: 'full',
1241
- },
1242
- {
1243
- collection: 'directus_settings',
1244
- field: 'storage_asset_presets',
1245
- interface: 'repeater',
1246
- locked: true,
1247
- options: {
1248
- fields: [
1249
- {
1250
- field: 'key',
1251
- name: 'Key',
1252
- type: 'string',
1253
- schema: {
1254
- is_nullable: false,
1255
- },
1256
- meta: {
1257
- interface: 'slug',
1258
- options: {
1259
- onlyOnCreate: false,
1260
- },
1261
- width: 'half',
1262
- },
1263
- },
1264
- {
1265
- field: 'fit',
1266
- name: 'Fit',
1267
- type: 'string',
1268
- schema: {
1269
- is_nullable: false,
1270
- },
1271
- meta: {
1272
- interface: 'dropdown',
1273
- options: {
1274
- choices: [
1275
- {
1276
- value: 'contain',
1277
- text: 'Contain (preserve aspect ratio)',
1278
- },
1279
- {
1280
- value: 'cover',
1281
- text: 'Cover (forces exact size)',
1282
- },
1283
- ],
1284
- },
1285
- width: 'half',
1286
- },
1287
- },
1288
- {
1289
- field: 'width',
1290
- name: 'Width',
1291
- type: 'integer',
1292
- schema: {
1293
- is_nullable: false,
1294
- },
1295
- meta: {
1296
- interface: 'numeric',
1297
- width: 'half',
1298
- },
1299
- },
1300
- {
1301
- field: 'height',
1302
- name: 'Height',
1303
- type: 'integer',
1304
- schema: {
1305
- is_nullable: false,
1306
- },
1307
- meta: {
1308
- interface: 'numeric',
1309
- width: 'half',
1310
- },
1311
- },
1312
- {
1313
- field: 'quality',
1314
- type: 'integer',
1315
- name: 'Quality',
1316
- schema: {
1317
- default_value: 80,
1318
- is_nullable: false,
1319
- },
1320
- meta: {
1321
- interface: 'slider',
1322
- options: {
1323
- max: 100,
1324
- min: 0,
1325
- step: 1,
1326
- },
1327
- width: 'full',
1328
- },
1329
- },
1330
- ],
1331
- template: '{{key}}',
1332
- },
1333
- special: 'json',
1334
- sort: 13,
1335
- width: 'full',
1336
- },
1337
- {
1338
- collection: 'directus_settings',
1339
- field: 'storage_asset_transform',
1340
- interface: 'dropdown',
1341
- locked: true,
1342
- options: {
1343
- choices: [
1344
- {
1345
- value: 'all',
1346
- text: 'All',
1347
- },
1348
- {
1349
- value: 'none',
1350
- text: 'None',
1351
- },
1352
- {
1353
- value: 'presets',
1354
- text: 'Presets Only',
1355
- },
1356
- ],
1357
- },
1358
- sort: 14,
1359
- width: 'half',
1360
- },
1361
- {
1362
- collection: 'directus_settings',
1363
- field: 'id',
1364
- hidden: true,
1365
- locked: true,
1366
- },
1367
- {
1368
- collection: 'directus_settings',
1369
- field: 'overrides_divider',
1370
- interface: 'divider',
1371
- locked: true,
1372
- options: {
1373
- icon: 'brush',
1374
- title: 'App Overrides',
1375
- color: '#2F80ED',
1376
- },
1377
- special: 'alias',
1378
- sort: 15,
1379
- width: 'full',
1380
- },
1381
- {
1382
- collection: 'directus_settings',
1383
- field: 'custom_css',
1384
- interface: 'code',
1385
- locked: true,
1386
- options: {
1387
- language: 'css',
1388
- lineNumber: true,
1389
- },
1390
- sort: 16,
1391
- width: 'full',
1392
- },
1393
- {
1394
- collection: 'directus_webhooks',
1395
- field: 'id',
1396
- hidden: true,
1397
- locked: true,
1398
- },
1399
- {
1400
- collection: 'directus_webhooks',
1401
- field: 'name',
1402
- interface: 'text-input',
1403
- locked: true,
1404
- options: {
1405
- iconRight: 'title',
1406
- },
1407
- sort: 1,
1408
- width: 'full',
1409
- },
1410
- {
1411
- collection: 'directus_webhooks',
1412
- field: 'method',
1413
- interface: 'dropdown',
1414
- display: 'labels',
1415
- display_options: {
1416
- defaultBackground: '#ECEFF1',
1417
- choices: null,
1418
- format: false,
1419
- },
1420
- locked: true,
1421
- options: {
1422
- choices: ['GET', 'POST'],
1423
- },
1424
- sort: 2,
1425
- width: 'half',
1426
- },
1427
- {
1428
- collection: 'directus_webhooks',
1429
- field: 'url',
1430
- interface: 'text-input',
1431
- locked: true,
1432
- options: {
1433
- iconRight: 'link',
1434
- },
1435
- sort: 3,
1436
- width: 'half',
1437
- },
1438
- {
1439
- collection: 'directus_webhooks',
1440
- field: 'status',
1441
- interface: 'dropdown',
1442
- display: 'labels',
1443
- display_options: {
1444
- defaultColor: '#B0BEC5',
1445
- defaultBackground: '#ECEFF1',
1446
- showAsDot: true,
1447
- choices: [
1448
- {
1449
- text: 'Active',
1450
- value: 'active',
1451
- foreground: '#607D8B',
1452
- background: '#2F80ED',
1453
- },
1454
- {
1455
- text: 'Inactive',
1456
- value: 'inactive',
1457
- foreground: '#607D8B',
1458
- background: '#ECEFF1',
1459
- },
1460
- ],
1461
- },
1462
- locked: true,
1463
- options: {
1464
- choices: [
1465
- {
1466
- text: 'Active',
1467
- value: 'active',
1468
- },
1469
- {
1470
- text: 'Inactive',
1471
- value: 'inactive',
1472
- },
1473
- ],
1474
- },
1475
- sort: 4,
1476
- width: 'half',
1477
- },
1478
- {
1479
- collection: 'directus_webhooks',
1480
- field: 'data',
1481
- interface: 'toggle',
1482
- locked: true,
1483
- options: {
1484
- label: 'Send Event Data',
1485
- },
1486
- special: 'boolean',
1487
- sort: 5,
1488
- width: 'half',
1489
- },
1490
- {
1491
- collection: 'directus_webhooks',
1492
- field: 'triggers_divider',
1493
- interface: 'divider',
1494
- options: {
1495
- icon: 'api',
1496
- title: 'Triggers',
1497
- color: '#2F80ED',
1498
- },
1499
- special: 'alias',
1500
- sort: 6,
1501
- width: 'full',
1502
- },
1503
- {
1504
- collection: 'directus_webhooks',
1505
- field: 'actions',
1506
- interface: 'checkboxes',
1507
- options: {
1508
- choices: [
1509
- {
1510
- text: 'Create',
1511
- value: 'create',
1512
- },
1513
- {
1514
- text: 'Update',
1515
- value: 'update',
1516
- },
1517
- {
1518
- text: 'Delete',
1519
- value: 'delete',
1520
- },
1521
- ],
1522
- },
1523
- special: 'csv',
1524
- sort: 7,
1525
- width: 'full',
1526
- },
1527
- {
1528
- collection: 'directus_webhooks',
1529
- field: 'collections',
1530
- interface: 'collections',
1531
- special: 'csv',
1532
- sort: 8,
1533
- width: 'full',
1534
- },
1535
- {
1536
- collection: 'directus_activity',
1537
- field: 'action',
1538
- display: 'labels',
1539
- display_options: {
1540
- defaultForeground: '#263238',
1541
- defaultBackground: '#eceff1',
1542
- choices: [
1543
- {
1544
- text: 'Create',
1545
- value: 'create',
1546
- foreground: '#27ae60',
1547
- background: '#c9ebd7',
1548
- },
1549
- {
1550
- text: 'Update',
1551
- value: 'update',
1552
- foreground: '#2f80ed',
1553
- background: '#cbdffb',
1554
- },
1555
- {
1556
- text: 'Delete',
1557
- value: 'delete',
1558
- foreground: '#eb5757',
1559
- background: '#fad5d5',
1560
- },
1561
- {
1562
- text: 'Login',
1563
- value: 'authenticate',
1564
- foreground: '#9b51e0',
1565
- background: '#e6d3f7',
1566
- },
1567
- ],
1568
- },
1569
- },
1570
- {
1571
- collection: 'directus_activity',
1572
- field: 'collection',
1573
- display: 'collection',
1574
- display_options: {
1575
- icon: true,
1576
- },
1577
- },
1578
- {
1579
- collection: 'directus_activity',
1580
- field: 'timestamp',
1581
- display: 'datetime',
1582
- options: {
1583
- relative: true,
1584
- },
1585
- },
1586
- {
1587
- collection: 'directus_activity',
1588
- field: 'user',
1589
- display: 'user',
1590
- },
1591
- {
1592
- collection: 'directus_activity',
1593
- field: 'comment',
1594
- display: 'formatted-text',
1595
- display_options: {
1596
- subdued: true,
1597
- },
1598
- },
1599
- {
1600
- collection: 'directus_activity',
1601
- field: 'user_agent',
1602
- display: 'formatted-text',
1603
- display_options: {
1604
- font: 'monospace',
1605
- },
1606
- },
1607
- {
1608
- collection: 'directus_activity',
1609
- field: 'ip',
1610
- display: 'formatted-text',
1611
- display_options: {
1612
- font: 'monospace',
1613
- },
1614
- },
1615
- {
1616
- collection: 'directus_activity',
1617
- field: 'revisions',
1618
- interface: 'one-to-many',
1619
- locked: true,
1620
- special: 'o2m',
1621
- options: {
1622
- fields: ['collection', 'item'],
1623
- },
1624
- width: 'full',
1625
- },
1626
- {
1627
- collection: 'directus_relations',
1628
- field: 'one_allowed_collections',
1629
- locked: true,
1630
- special: 'csv',
1631
- },
1632
- ].map((row) => {
1633
- for (const [key, value] of Object.entries(row)) {
1634
- if (value !== null && (typeof value === 'object' || Array.isArray(value))) {
1635
- row[key] = JSON.stringify(value);
1636
- }
1637
- }
1638
- return (0, lodash_1.merge)({}, defaults, row);
1639
- });
1640
- async function up(knex) {
1641
- const fieldKeys = (0, lodash_1.uniq)(systemFields.map((field) => field.field));
1642
- await knex('directus_fields').delete().where('collection', 'like', 'directus_%').whereIn('field', fieldKeys);
1643
- }
1644
- exports.up = up;
1645
- async function down(knex) {
1646
- await knex.insert(systemFields).into('directus_fields');
1647
- }
1648
- exports.down = down;