mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🛠️ Rename type tCategory to Category for consistency in type definitions
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
export type tCategory =
|
export type Category =
|
||||||
| "All"
|
| "All"
|
||||||
| "AI"
|
| "AI"
|
||||||
| "Software"
|
| "Software"
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
import type { tCategory } from "./categories";
|
import type { Category } from "./categories";
|
||||||
|
|
||||||
export type ThemeOptions = {
|
export type ThemeOptions = {
|
||||||
dark: string;
|
dark: string;
|
||||||
@@ -8,7 +8,7 @@ export type ThemeOptions = {
|
|||||||
export interface iSVG {
|
export interface iSVG {
|
||||||
id?: number;
|
id?: number;
|
||||||
title: string;
|
title: string;
|
||||||
category: tCategory | tCategory[];
|
category: Category | Category[];
|
||||||
route: string | ThemeOptions;
|
route: string | ThemeOptions;
|
||||||
wordmark?: string | ThemeOptions;
|
wordmark?: string | ThemeOptions;
|
||||||
brandUrl?: string;
|
brandUrl?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user