mirror of https://github.com/abpframework/abp.git
9 changed files with 77 additions and 49 deletions
@ -1,4 +1,4 @@ |
|||||
export interface Tenant { |
export interface TenantIdResponse { |
||||
success: boolean; |
success: boolean; |
||||
tenantId: string; |
tenantId: string; |
||||
} |
} |
||||
|
|||||
@ -1,8 +1,10 @@ |
|||||
|
import { ABP } from '../models'; |
||||
|
|
||||
export class SessionSetLanguage { |
export class SessionSetLanguage { |
||||
static readonly type = '[Session] Set Language'; |
static readonly type = '[Session] Set Language'; |
||||
constructor(public payload: string) {} |
constructor(public payload: string) {} |
||||
} |
} |
||||
export class SessionSetTenantId { |
export class SessionSetTenant { |
||||
static readonly type = '[Session] Set Tenant Id'; |
static readonly type = '[Session] Set Tenant'; |
||||
constructor(public payload: string) {} |
constructor(public payload: ABP.BasicItem) {} |
||||
} |
} |
||||
|
|||||
@ -1,6 +1,8 @@ |
|||||
|
import { ABP } from '../models'; |
||||
|
|
||||
export namespace Session { |
export namespace Session { |
||||
export interface State { |
export interface State { |
||||
language: string; |
language: string; |
||||
tenantId: string; |
tenant: ABP.BasicItem; |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue