@e280/quay
Version:
File-browser and outliner UI for the web
19 lines (18 loc) • 458 B
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;
};
};
}>;