mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
feat: multiple category feature
This commit is contained in:
+4
-1
@@ -1,9 +1,12 @@
|
||||
import type { tCategory } from './categories';
|
||||
|
||||
type tCategoryPair = [tCategory, tCategory];
|
||||
type CategoryTriple = [tCategory, tCategory, tCategory];
|
||||
|
||||
export interface iSVG {
|
||||
id?: number;
|
||||
title: string;
|
||||
category: tCategory;
|
||||
category: tCategory | tCategoryPair | CategoryTriple;
|
||||
route:
|
||||
| string // for backwards compat of when theme support was not added
|
||||
| {
|
||||
|
||||
Reference in New Issue
Block a user