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"
|
||||
| "AI"
|
||||
| "Software"
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
import type { tCategory } from "./categories";
|
||||
import type { Category } from "./categories";
|
||||
|
||||
export type ThemeOptions = {
|
||||
dark: string;
|
||||
@@ -8,7 +8,7 @@ export type ThemeOptions = {
|
||||
export interface iSVG {
|
||||
id?: number;
|
||||
title: string;
|
||||
category: tCategory | tCategory[];
|
||||
category: Category | Category[];
|
||||
route: string | ThemeOptions;
|
||||
wordmark?: string | ThemeOptions;
|
||||
brandUrl?: string;
|
||||
|
||||
Reference in New Issue
Block a user