@e280/quay
Version:
File-browser and outliner UI for the web
23 lines (18 loc) • 367 B
text/typescript
import {Content} from "@benev/slate"
import {AsSchema} from "../../aspects/codex/parts/types.js"
export type MediaFormat = "video" | "image" | "audio" | "other"
export type MediaSchema = AsSchema<{
taxon: {
icon: Content
}
specimens: {
folder: {
label: string
}
file: {
label: string
format: MediaFormat
previewUrl: string | null
}
}
}>