mirror of https://github.com/abpframework/abp.git
committed by
GitHub
9 changed files with 77 additions and 49 deletions
@ -1,4 +1,4 @@ |
|||
export interface Tenant { |
|||
success: boolean; |
|||
tenantId: string; |
|||
} |
|||
export interface TenantIdResponse { |
|||
success: boolean; |
|||
tenantId: string; |
|||
} |
|||
|
|||
@ -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