mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
⚙️ Fix category type.
This commit is contained in:
parent
d645f744f1
commit
54860b5f3b
14
src/types/categories.ts
Normal file
14
src/types/categories.ts
Normal file
@ -0,0 +1,14 @@
|
||||
export type tCategory =
|
||||
| 'All'
|
||||
| 'Software'
|
||||
| 'Library'
|
||||
| 'Hosting'
|
||||
| 'Framework'
|
||||
| 'CMS'
|
||||
| 'Database'
|
||||
| 'Compiler'
|
||||
| 'Social'
|
||||
| 'Entertainment'
|
||||
| 'Browser'
|
||||
| 'Language'
|
||||
| 'Education';
|
@ -1,7 +1,9 @@
|
||||
import type { tCategory } from './categories';
|
||||
|
||||
export interface iSVG {
|
||||
id: number;
|
||||
title: string;
|
||||
category: string;
|
||||
category: tCategory;
|
||||
route: string;
|
||||
url: string;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user