ff-webpage/types/collection/baseCollection.ts

20 lines
441 B
TypeScript
Raw Normal View History

import type BaseImage from "../component/baseImage";
import type ContentField from "../field/content";
export default interface BaseCollection {
id: number;
documentId: string;
title: string;
description: string;
slug: string;
date: string;
createdAt: string;
updatedAt: string;
publishedAt: string;
locale: string;
content: ContentField | undefined;
image: BaseImage | undefined;
attachment: Array<BaseImage>;
}