feat(core): add new types to ApplicationConfiguration namespace

pull/6617/head
mehmet-erim 5 years ago
parent 60fafb3702
commit 3c817c80d7

@ -10,8 +10,10 @@ export namespace ApplicationConfiguration {
}
export interface Localization {
values: LocalizationValue;
currentCulture: CurrentCulture;
defaultResourceName: string;
languages: Language[];
values: LocalizationValue;
}
export interface LocalizationValue {
@ -25,6 +27,27 @@ export namespace ApplicationConfiguration {
flagIcon: string;
}
export interface CurrentCulture {
cultureName: string;
dateTimeFormat: DateTimeFormat;
displayName: string;
englishName: string;
isRightToLeft: boolean;
name: string;
nativeName: string;
threeLetterIsoLanguageName: string;
twoLetterIsoLanguageName: string;
}
export interface DateTimeFormat {
calendarAlgorithmType: string;
dateSeparator: string;
fullDateTimePattern: string;
longTimePattern: string;
shortDatePattern: string;
shortTimePattern: string;
}
export interface Auth {
policies: Policy;
grantedPolicies: Policy;

Loading…
Cancel
Save