mirror of https://github.com/abpframework/abp.git
14 changed files with 3945 additions and 48502 deletions
File diff suppressed because it is too large
@ -1,20 +1,24 @@ |
|||
import type { TenantUserSharingStrategy } from '../../../multi-tenancy/tenant-user-sharing-strategy.enum'; |
|||
|
|||
export interface FindTenantResultDto { |
|||
success?: boolean; |
|||
tenantId?: string | null; |
|||
name?: string | null; |
|||
normalizedName?: string | null; |
|||
isActive?: boolean; |
|||
success: boolean; |
|||
tenantId?: string; |
|||
name?: string; |
|||
normalizedName?: string; |
|||
isActive: boolean; |
|||
} |
|||
|
|||
export interface CurrentTenantDto { |
|||
id?: string | null; |
|||
name?: string | null; |
|||
isAvailable?: boolean; |
|||
id?: string; |
|||
name?: string; |
|||
isAvailable: boolean; |
|||
} |
|||
|
|||
export interface MultiTenancyInfoDto { |
|||
isEnabled?: boolean; |
|||
userSharingStrategy?: TenantUserSharingStrategy; |
|||
} |
|||
export enum TenantUserSharingStrategy { |
|||
Isolated = 0, |
|||
Shared = 1, |
|||
} |
|||
|
|||
export interface MultiTenancyInfoDto { |
|||
isEnabled: boolean; |
|||
userSharingStrategy?: TenantUserSharingStrategy; |
|||
} |
|||
|
|||
@ -1,6 +1,5 @@ |
|||
import * as AspNetCore from './asp-net-core'; |
|||
import * as Http from './http'; |
|||
import * as Localization from './localization'; |
|||
import * as MultiTenancy from './multi-tenancy'; |
|||
export * from './models'; |
|||
export { AspNetCore, Http, Localization, MultiTenancy }; |
|||
export { AspNetCore, Http, Localization }; |
|||
|
|||
@ -1,5 +1,5 @@ |
|||
|
|||
export interface NameValue<T = "string"> { |
|||
export interface NameValue<T = string> { |
|||
name?: string; |
|||
value?: T | null; |
|||
value: T; |
|||
} |
|||
|
|||
@ -1 +0,0 @@ |
|||
export * from './tenant-user-sharing-strategy.enum'; |
|||
@ -1,8 +0,0 @@ |
|||
import { mapEnumToOptions } from '@abp/ng.core'; |
|||
|
|||
export enum TenantUserSharingStrategy { |
|||
Isolated = 0, |
|||
Shared = 1, |
|||
} |
|||
|
|||
export const tenantUserSharingStrategyOptions = mapEnumToOptions(TenantUserSharingStrategy); |
|||
Loading…
Reference in new issue