mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
15 lines
424 B
TypeScript
15 lines
424 B
TypeScript
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(),
|
|
};
|