2024-11-03 12:13:36 +00:00
|
|
|
import type BaseImage from "../component/baseImage";
|
|
|
|
import type ContentField from "../field/content";
|
|
|
|
|
2024-11-03 10:21:44 +00:00
|
|
|
export default interface BaseCollection {
|
|
|
|
id: number;
|
|
|
|
documentId: string;
|
|
|
|
title: string;
|
|
|
|
description: string;
|
|
|
|
slug: string;
|
|
|
|
date: string;
|
|
|
|
createdAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
publishedAt: string;
|
|
|
|
locale: string;
|
2024-11-03 12:13:36 +00:00
|
|
|
|
|
|
|
content: ContentField | undefined;
|
|
|
|
image: BaseImage | undefined;
|
|
|
|
attachment: Array<BaseImage>;
|
2024-11-03 10:21:44 +00:00
|
|
|
}
|