mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
⚙️ Fix category types
This commit is contained in:
+1
-4
@@ -1,8 +1,5 @@
|
||||
import type { tCategory } from './categories';
|
||||
|
||||
type CategoryPair = [tCategory, tCategory];
|
||||
type CategoryTriple = [tCategory, tCategory, tCategory];
|
||||
|
||||
export type ThemeOptions = {
|
||||
dark: string;
|
||||
light: string;
|
||||
@@ -11,7 +8,7 @@ export type ThemeOptions = {
|
||||
export interface iSVG {
|
||||
id?: number;
|
||||
title: string;
|
||||
category: tCategory | CategoryPair | CategoryTriple;
|
||||
category: tCategory | tCategory[];
|
||||
route: string | ThemeOptions;
|
||||
wordmark?: string | ThemeOptions;
|
||||
url: string;
|
||||
|
||||
Reference in New Issue
Block a user