refactor: move localization types to localization.ts

pull/6156/head
mehmet-erim 5 years ago
parent 817ca703b3
commit 28dad4ccdb

@ -2,11 +2,11 @@ import { EventEmitter, Type } from '@angular/core';
import { Router } from '@angular/router';
import { Subject } from 'rxjs';
import { eLayoutType } from '../enums/common';
import { Config } from './config';
import { Environment } from './environment';
export namespace ABP {
export interface Root {
environment: Partial<Config.Environment>;
environment: Partial<Environment>;
registerLocaleFn: (locale: string) => Promise<any>;
skipGetAppConfiguration?: boolean;
sendNullsAsQueryParam?: boolean;

@ -2,7 +2,9 @@ export * from './application-configuration';
export * from './common';
export * from './config';
export * from './dtos';
export * from './environment';
export * from './find-tenant-result-dto';
export * from './localization';
export * from './profile';
export * from './replaceable-components';
export * from './rest';

@ -0,0 +1,6 @@
export interface LocalizationWithDefault {
key: string;
defaultValue: string;
}
export type LocalizationParam = string | LocalizationWithDefault;
Loading…
Cancel
Save