Web:Login: update interfaces and add new IError for error from server
This commit is contained in:
parent
2397482010
commit
03116b8ffa
25
packages/login/index.d.ts
vendored
25
packages/login/index.d.ts
vendored
@ -56,6 +56,7 @@ declare global {
|
||||
utcHoursOffset: number;
|
||||
utcOffset: string;
|
||||
version: string;
|
||||
standalone: boolean;
|
||||
}
|
||||
|
||||
interface IBuildInfo {
|
||||
@ -89,15 +90,23 @@ declare global {
|
||||
selected: number;
|
||||
themes: ITheme[];
|
||||
}
|
||||
|
||||
interface IError {
|
||||
status: number;
|
||||
standalone: boolean;
|
||||
message: string | unknown;
|
||||
}
|
||||
|
||||
interface IInitialState {
|
||||
portalSettings: IPortalSettings;
|
||||
buildInfo: IBuildInfo;
|
||||
providers: ProvidersType;
|
||||
capabilities: ICapabilities;
|
||||
match: MatchType;
|
||||
currentColorScheme: ITheme;
|
||||
isAuth: boolean;
|
||||
logoUrls: any;
|
||||
portalSettings?: IPortalSettings;
|
||||
buildInfo?: IBuildInfo;
|
||||
providers?: ProvidersType;
|
||||
capabilities?: ICapabilities;
|
||||
match?: MatchType;
|
||||
currentColorScheme?: ITheme;
|
||||
isAuth?: boolean;
|
||||
logoUrls?: any;
|
||||
error?: IError;
|
||||
}
|
||||
|
||||
interface DevRequest {
|
||||
|
Loading…
Reference in New Issue
Block a user