ff-webpage/types/collection/baseCollection.ts

20 lines
437 B
TypeScript
Raw Normal View History

2025-01-18 11:30:46 +01:00
import type BaseFile from "../component/baseFile";
import type ContentField from "../field/content";
export default interface BaseCollection {
id: number;
documentId: string;
slug: string;
createdAt: string;
updatedAt: string;
publishedAt: string;
locale: string;
2024-11-03 15:34:48 +01:00
title: string;
description: string;
2025-02-14 13:57:55 +01:00
date: string;
content: ContentField | undefined;
2025-01-18 11:30:46 +01:00
image: BaseFile | undefined;
attachment: Array<BaseFile>;
}