mirror of https://github.com/abpframework/abp.git
1 changed files with 37 additions and 0 deletions
@ -0,0 +1,37 @@ |
|||||
|
import { |
||||
|
CreateFormPropContributorCallback, |
||||
|
EditFormPropContributorCallback, |
||||
|
EntityActionContributorCallback, |
||||
|
EntityPropContributorCallback, |
||||
|
ToolbarActionContributorCallback, |
||||
|
} from '@abp/ng.theme.shared/extensions'; |
||||
|
import { eTenantManagementComponents } from '../enums/components'; |
||||
|
import { TenantCreateDto, TenantDto, TenantUpdateDto } from '../proxy/models'; |
||||
|
|
||||
|
export type TenantManagementEntityActionContributors = Partial<{ |
||||
|
[eTenantManagementComponents.Tenants]: EntityActionContributorCallback<TenantDto>[]; |
||||
|
}>; |
||||
|
|
||||
|
export type TenantManagementToolbarActionContributors = Partial<{ |
||||
|
[eTenantManagementComponents.Tenants]: ToolbarActionContributorCallback<TenantDto[]>[]; |
||||
|
}>; |
||||
|
|
||||
|
export type TenantManagementEntityPropContributors = Partial<{ |
||||
|
[eTenantManagementComponents.Tenants]: EntityPropContributorCallback<TenantDto>[]; |
||||
|
}>; |
||||
|
|
||||
|
export type TenantManagementCreateFormPropContributors = Partial<{ |
||||
|
[eTenantManagementComponents.Tenants]: CreateFormPropContributorCallback<TenantCreateDto>[]; |
||||
|
}>; |
||||
|
|
||||
|
export type TenantManagementEditFormPropContributors = Partial<{ |
||||
|
[eTenantManagementComponents.Tenants]: EditFormPropContributorCallback<TenantUpdateDto>[]; |
||||
|
}>; |
||||
|
|
||||
|
export interface TenantManagementConfigOptions { |
||||
|
entityActionContributors?: TenantManagementEntityActionContributors; |
||||
|
toolbarActionContributors?: TenantManagementToolbarActionContributors; |
||||
|
entityPropContributors?: TenantManagementEntityPropContributors; |
||||
|
createFormPropContributors?: TenantManagementCreateFormPropContributors; |
||||
|
editFormPropContributors?: TenantManagementEditFormPropContributors; |
||||
|
} |
||||
Loading…
Reference in new issue