mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-27 12:16:36 +00:00
Created base structure to manage domains
This commit is contained in:
@@ -65,9 +65,16 @@ export interface ShlinkShortUrlData extends ShortUrlMeta {
|
||||
tags?: string[];
|
||||
}
|
||||
|
||||
interface ShlinkDomainRedirects {
|
||||
baseUrlRedirect: string,
|
||||
regular404Redirect: string,
|
||||
invalidShortUrlRedirect: string
|
||||
}
|
||||
|
||||
export interface ShlinkDomain {
|
||||
domain: string;
|
||||
isDefault: boolean;
|
||||
redirects?: ShlinkDomainRedirects; // Optional only for Shlink older than 2.8
|
||||
}
|
||||
|
||||
export interface ShlinkDomainsResponse {
|
||||
|
||||
Reference in New Issue
Block a user