mirror of
https://github.com/directus/directus.git
synced 2026-02-18 17:14:32 -05:00
19 lines
242 B
TypeScript
19 lines
242 B
TypeScript
import { ID } from '../src/types';
|
|
|
|
export type Post = {
|
|
id: ID;
|
|
title: string;
|
|
body: string;
|
|
published: boolean;
|
|
};
|
|
|
|
export type Category = {
|
|
slug: string;
|
|
name: string;
|
|
};
|
|
|
|
export type Blog = {
|
|
posts: Post;
|
|
categories: Category;
|
|
};
|