Add initial /servers route
This commit is contained in:
parent
99679cc45b
commit
abea3f1be9
7 changed files with 247 additions and 60 deletions
src/lib/types
|
@ -1,7 +1,7 @@
|
|||
export type Service = {
|
||||
readonly name: string;
|
||||
readonly icon: string;
|
||||
readonly iconType: IconType;
|
||||
readonly icon?: string;
|
||||
readonly iconType?: IconType;
|
||||
readonly href: string;
|
||||
readonly desc: string;
|
||||
readonly warn: string;
|
||||
|
@ -9,6 +9,17 @@ export type Service = {
|
|||
readonly id: number;
|
||||
};
|
||||
|
||||
export type Server = {
|
||||
readonly name: string;
|
||||
readonly icon?: string;
|
||||
readonly iconType?: IconType;
|
||||
readonly connection?: string;
|
||||
readonly href?: string;
|
||||
readonly desc?: string;
|
||||
readonly extLink?: string;
|
||||
readonly id?: number;
|
||||
};
|
||||
|
||||
export enum IconType {
|
||||
SVG = 'svg',
|
||||
AVIF = 'avif',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue