ff-webpage/types/collection/baseCollection.ts

20 lines
449 B
TypeScript
Raw Normal View History

2025-01-18 10:30:46 +00: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 14:34:48 +00:00
title: string;
description: string;
date: string | undefined;
content: ContentField | undefined;
2025-01-18 10:30:46 +00:00
image: BaseFile | undefined;
attachment: Array<BaseFile>;
}