mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-05 22:48:17 +08:00
⚙️ Upgrade API types
This commit is contained in:
parent
b29dfd8332
commit
a03589d795
@ -39,17 +39,18 @@ export interface Category {
|
||||
- For SVGs:
|
||||
|
||||
```ts
|
||||
type ThemeOptions = {
|
||||
light: string;
|
||||
export type ThemeOptions = {
|
||||
dark: string;
|
||||
light: string;
|
||||
};
|
||||
|
||||
export interface iSVG {
|
||||
id: number;
|
||||
id?: number;
|
||||
title: string;
|
||||
category: string | string[];
|
||||
category: tCategory | tCategory[];
|
||||
route: string | ThemeOptions;
|
||||
wordmark?: string | ThemeOptions;
|
||||
brandUrl?: string;
|
||||
url: string;
|
||||
}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user