mirror of https://github.com/abpframework/abp.git
Browse Source
Update generated proxy metadata and related ABP exports. The generate-proxy.json was extended with many Account endpoints (email/phone confirmation, two-factor, profile picture upload/download, security logs, confirmation checks, etc.), added authorizeDatas fields, and switched Account contract type references to the Pro.Public.Application.Contracts package while changing the account remoteServiceName to AbpAccountPublic. Also add multi-tenancy index and tenant-user-sharing-strategy enum exports and update several Volo.Abp model/index files to reflect these API and model changes to support ABP Pro public account and multi-tenancy features.pull/25051/head
7 changed files with 48410 additions and 3845 deletions
File diff suppressed because it is too large
@ -1,24 +1,20 @@ |
|||||
|
import type { TenantUserSharingStrategy } from '../../../multi-tenancy/tenant-user-sharing-strategy.enum'; |
||||
|
|
||||
export interface FindTenantResultDto { |
export interface FindTenantResultDto { |
||||
success: boolean; |
success?: boolean; |
||||
tenantId?: string; |
tenantId?: string | null; |
||||
name?: string; |
name?: string | null; |
||||
normalizedName?: string; |
normalizedName?: string | null; |
||||
isActive: boolean; |
isActive?: boolean; |
||||
} |
} |
||||
|
|
||||
export interface CurrentTenantDto { |
export interface CurrentTenantDto { |
||||
id?: string; |
id?: string | null; |
||||
name?: string; |
name?: string | null; |
||||
isAvailable: boolean; |
isAvailable?: boolean; |
||||
} |
|
||||
|
|
||||
export enum TenantUserSharingStrategy { |
|
||||
Isolated = 0, |
|
||||
Shared = 1, |
|
||||
} |
} |
||||
|
|
||||
export interface MultiTenancyInfoDto { |
export interface MultiTenancyInfoDto { |
||||
isEnabled: boolean; |
isEnabled?: boolean; |
||||
userSharingStrategy?: TenantUserSharingStrategy; |
userSharingStrategy?: TenantUserSharingStrategy; |
||||
} |
} |
||||
|
|||||
@ -1,5 +1,6 @@ |
|||||
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 }; |
export { AspNetCore, Http, Localization, MultiTenancy }; |
||||
|
|||||
@ -0,0 +1 @@ |
|||||
|
export * from './tenant-user-sharing-strategy.enum'; |
||||
@ -0,0 +1,8 @@ |
|||||
|
import { mapEnumToOptions } from '@abp/ng.core'; |
||||
|
|
||||
|
export enum TenantUserSharingStrategy { |
||||
|
Isolated = 0, |
||||
|
Shared = 1, |
||||
|
} |
||||
|
|
||||
|
export const tenantUserSharingStrategyOptions = mapEnumToOptions(TenantUserSharingStrategy); |
||||
Loading…
Reference in new issue