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 { |
export interface FindTenantResultDto { |
||||
success?: boolean; |
success: boolean; |
||||
tenantId?: string | null; |
tenantId?: string; |
||||
name?: string | null; |
name?: string; |
||||
normalizedName?: string | null; |
normalizedName?: string; |
||||
isActive?: boolean; |
isActive: boolean; |
||||
} |
} |
||||
|
|
||||
export interface CurrentTenantDto { |
export interface CurrentTenantDto { |
||||
id?: string | null; |
id?: string; |
||||
name?: string | null; |
name?: string; |
||||
isAvailable?: boolean; |
isAvailable: boolean; |
||||
} |
} |
||||
|
|
||||
export interface MultiTenancyInfoDto { |
export enum TenantUserSharingStrategy { |
||||
isEnabled?: boolean; |
Isolated = 0, |
||||
userSharingStrategy?: TenantUserSharingStrategy; |
Shared = 1, |
||||
} |
} |
||||
|
|
||||
|
export interface MultiTenancyInfoDto { |
||||
|
isEnabled: boolean; |
||||
|
userSharingStrategy?: TenantUserSharingStrategy; |
||||
|
} |
||||
|
|||||
@ -1,6 +1,5 @@ |
|||||
import * as AspNetCore from './asp-net-core'; |
import * as AspNetCore from './asp-net-core'; |
||||
import * as Http from './http'; |
import * as Http from './http'; |
||||
import * as Localization from './localization'; |
import * as Localization from './localization'; |
||||
import * as MultiTenancy from './multi-tenancy'; |
|
||||
export * from './models'; |
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; |
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