feat: move categories to directus

This commit is contained in:
2026-02-26 15:00:52 -06:00
parent 734e9cacae
commit 93bf44f89a
16 changed files with 36 additions and 75 deletions

View File

@@ -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;

View File

@@ -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;