Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
import { DirectusFolder } from "./folder.cjs";
|
|
import { DirectusUser } from "./user.cjs";
|
|
import { MergeCoreCollection } from "../types/schema.cjs";
|
|
|
|
//#region src/schema/file.d.ts
|
|
type DirectusFile<Schema = any> = MergeCoreCollection<Schema, 'directus_files', {
|
|
id: string;
|
|
storage: string;
|
|
filename_disk: string | null;
|
|
filename_download: string;
|
|
title: string | null;
|
|
type: string | null;
|
|
folder: DirectusFolder<Schema> | string | null;
|
|
uploaded_by: DirectusUser<Schema> | string | null;
|
|
uploaded_on: 'datetime';
|
|
modified_by: DirectusUser<Schema> | string | null;
|
|
modified_on: 'datetime';
|
|
charset: string | null;
|
|
filesize: string | null;
|
|
width: number | null;
|
|
height: number | null;
|
|
duration: number | null;
|
|
embed: unknown | null;
|
|
description: string | null;
|
|
location: string | null;
|
|
tags: string[] | null;
|
|
metadata: Record<string, any> | null;
|
|
focal_point_x: number | null;
|
|
focal_point_y: number | null;
|
|
}>;
|
|
//#endregion
|
|
export { DirectusFile };
|
|
//# sourceMappingURL=file.d.cts.map |