mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-04 09:06:01 +00:00
refactor auth/media entities to separate files, suppress node:sqlite warning
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { boolean, datetime, json, number, text } from "data/prototype";
|
||||
|
||||
export const mediaFields = {
|
||||
path: text().required(),
|
||||
folder: boolean({ default_value: false, hidden: true, fillable: ["create"] }),
|
||||
mime_type: text(),
|
||||
size: number(),
|
||||
scope: text({ hidden: true, fillable: ["create"] }),
|
||||
etag: text(),
|
||||
modified_at: datetime(),
|
||||
reference: text(),
|
||||
entity_id: number(),
|
||||
metadata: json(),
|
||||
};
|
||||
Reference in New Issue
Block a user