mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
19 lines
412 B
TypeScript
19 lines
412 B
TypeScript
import type { tCategory } from './categories';
|
|
|
|
type CategoryPair = [tCategory, tCategory];
|
|
type CategoryTriple = [tCategory, tCategory, tCategory];
|
|
|
|
export type ThemeOptions = {
|
|
dark: string;
|
|
light: string;
|
|
};
|
|
|
|
export interface iSVG {
|
|
id?: number;
|
|
title: string;
|
|
category: tCategory | CategoryPair | CategoryTriple;
|
|
route: string | ThemeOptions;
|
|
wordmark?: string | ThemeOptions;
|
|
url: string;
|
|
}
|