mirror of https://github.com/abpframework/abp
parent
dffc71bcf2
commit
b1c30fdcd1
@ -1,8 +1,10 @@
|
||||
import { ABP } from '../models';
|
||||
|
||||
export class SessionSetLanguage {
|
||||
static readonly type = '[Session] Set Language';
|
||||
constructor(public payload: string) {}
|
||||
}
|
||||
export class SessionSetTenantId {
|
||||
static readonly type = '[Session] Set Tenant Id';
|
||||
constructor(public payload: string) {}
|
||||
export class SessionSetTenant {
|
||||
static readonly type = '[Session] Set Tenant';
|
||||
constructor(public payload: ABP.BasicItem) {}
|
||||
}
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
import { ABP } from '../models';
|
||||
|
||||
export namespace Session {
|
||||
export interface State {
|
||||
language: string;
|
||||
tenantId: string;
|
||||
tenant: ABP.BasicItem;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue