⚙️ Upgrade API types

This commit is contained in:
pheralb 2025-01-15 16:05:54 +00:00
parent b29dfd8332
commit a03589d795

View File

@ -39,17 +39,18 @@ export interface Category {
- For SVGs: - For SVGs:
```ts ```ts
type ThemeOptions = { export type ThemeOptions = {
light: string;
dark: string; dark: string;
light: string;
}; };
export interface iSVG { export interface iSVG {
id: number; id?: number;
title: string; title: string;
category: string | string[]; category: tCategory | tCategory[];
route: string | ThemeOptions; route: string | ThemeOptions;
wordmark?: string | ThemeOptions; wordmark?: string | ThemeOptions;
brandUrl?: string;
url: string; url: string;
} }
``` ```