feat: move categories to directus
This commit is contained in:
@@ -4,6 +4,7 @@ import type {
|
||||
Global,
|
||||
Weather,
|
||||
Post,
|
||||
Category,
|
||||
Application,
|
||||
Experience,
|
||||
Education,
|
||||
@@ -18,6 +19,7 @@ type Schema = {
|
||||
site_global: Global;
|
||||
site_weather: Weather;
|
||||
posts: Post[];
|
||||
categories: Category[];
|
||||
site_applications: Application;
|
||||
site_experience: Experience;
|
||||
site_education: Education;
|
||||
|
||||
@@ -49,6 +49,12 @@ export type Post = {
|
||||
updated_date: Date;
|
||||
};
|
||||
|
||||
export type Category = {
|
||||
slug: string;
|
||||
title: string;
|
||||
description: string;
|
||||
};
|
||||
|
||||
export type Application = {
|
||||
id: string;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user