mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-07-21 19:21:57 +00:00
Added babel plugins to support latest TS functionalities
This commit is contained in:
15
src/servers/data/index.ts
Normal file
15
src/servers/data/index.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export interface RegularServer {
|
||||
id: string;
|
||||
name: string;
|
||||
url: string;
|
||||
apiKey: string;
|
||||
version?: string;
|
||||
printableVersion?: string;
|
||||
serverNotReachable?: boolean;
|
||||
}
|
||||
|
||||
interface NotFoundServer {
|
||||
serverNotFound: true;
|
||||
}
|
||||
|
||||
export type Server = RegularServer | NotFoundServer;
|
||||
Reference in New Issue
Block a user