file download component

This commit is contained in:
Julian Krauser 2025-01-18 11:30:46 +01:00
parent 2189a3d33b
commit 9d81666a3c
14 changed files with 75 additions and 20 deletions

View file

@ -1,4 +1,4 @@
import type BaseImage from "../component/baseImage";
import type BaseFile from "../component/baseFile";
import type BaseCollection from "./baseCollection";
export default interface Article extends BaseCollection {}

View file

@ -1,4 +1,4 @@
import type BaseImage from "../component/baseImage";
import type BaseFile from "../component/baseFile";
import type ContentField from "../field/content";
export default interface BaseCollection {
@ -14,6 +14,6 @@ export default interface BaseCollection {
description: string;
date: string | undefined;
content: ContentField | undefined;
image: BaseImage | undefined;
attachment: Array<BaseImage>;
image: BaseFile | undefined;
attachment: Array<BaseFile>;
}

View file

@ -1,4 +1,4 @@
import type BaseImage from "../component/baseImage";
import type BaseFile from "../component/baseFile";
import type BaseCollection from "./baseCollection";
export default interface Vehicle extends BaseCollection {