mirror of https://github.com/abpframework/abp.git
11 changed files with 3868 additions and 3637 deletions
File diff suppressed because it is too large
@ -1,30 +1,29 @@ |
|||
import { Injectable } from '@angular/core'; |
|||
import { RestService } from '../../../../services/rest.service'; |
|||
import type { FindTenantResultDto } from '../../../volo/abp/asp-net-core/mvc/multi-tenancy/models'; |
|||
|
|||
@Injectable({ |
|||
providedIn: 'root', |
|||
}) |
|||
export class AbpTenantService { |
|||
apiName = 'abp'; |
|||
|
|||
findTenantById = (id: string) => |
|||
this.restService.request<any, FindTenantResultDto>( |
|||
{ |
|||
method: 'GET', |
|||
url: `/api/abp/multi-tenancy/tenants/by-id/${id}`, |
|||
}, |
|||
{ apiName: this.apiName }, |
|||
); |
|||
|
|||
findTenantByName = (name: string) => |
|||
this.restService.request<any, FindTenantResultDto>( |
|||
{ |
|||
method: 'GET', |
|||
url: `/api/abp/multi-tenancy/tenants/by-name/${name}`, |
|||
}, |
|||
{ apiName: this.apiName }, |
|||
); |
|||
|
|||
constructor(private restService: RestService) {} |
|||
} |
|||
import { RestService } from '../../../../services'; |
|||
import { Rest } from '../../../../models'; |
|||
import { Injectable } from '@angular/core'; |
|||
import type { FindTenantResultDto } from '../../../volo/abp/asp-net-core/mvc/multi-tenancy/models'; |
|||
|
|||
@Injectable({ |
|||
providedIn: 'root', |
|||
}) |
|||
export class AbpTenantService { |
|||
apiName = 'abp'; |
|||
|
|||
|
|||
findTenantById = (id: string, config?: Partial<Rest.Config>) => |
|||
this.restService.request<any, FindTenantResultDto>({ |
|||
method: 'GET', |
|||
url: `/api/abp/multi-tenancy/tenants/by-id/${id}`, |
|||
}, |
|||
{ apiName: this.apiName,...config }); |
|||
|
|||
|
|||
findTenantByName = (name: string, config?: Partial<Rest.Config>) => |
|||
this.restService.request<any, FindTenantResultDto>({ |
|||
method: 'GET', |
|||
url: `/api/abp/multi-tenancy/tenants/by-name/${name}`, |
|||
}, |
|||
{ apiName: this.apiName,...config }); |
|||
|
|||
constructor(private restService: RestService) {} |
|||
} |
|||
|
|||
@ -1,25 +1,22 @@ |
|||
import { RestService } from '../../../../../../services/rest.service'; |
|||
import { Injectable } from '@angular/core'; |
|||
import type { |
|||
ApplicationApiDescriptionModel, |
|||
ApplicationApiDescriptionModelRequestDto, |
|||
} from '../../../http/modeling/models'; |
|||
|
|||
@Injectable({ |
|||
providedIn: 'root', |
|||
}) |
|||
export class AbpApiDefinitionService { |
|||
apiName = 'abp'; |
|||
|
|||
getByModel = (model: ApplicationApiDescriptionModelRequestDto) => |
|||
this.restService.request<any, ApplicationApiDescriptionModel>( |
|||
{ |
|||
method: 'GET', |
|||
url: '/api/abp/api-definition', |
|||
params: { includeTypes: model.includeTypes }, |
|||
}, |
|||
{ apiName: this.apiName }, |
|||
); |
|||
|
|||
constructor(private restService: RestService) {} |
|||
} |
|||
import { RestService } from '../../../../../../services'; |
|||
import { Rest } from '../../../../../../models'; |
|||
import { Injectable } from '@angular/core'; |
|||
import type { ApplicationApiDescriptionModel, ApplicationApiDescriptionModelRequestDto } from '../../../http/modeling/models'; |
|||
|
|||
@Injectable({ |
|||
providedIn: 'root', |
|||
}) |
|||
export class AbpApiDefinitionService { |
|||
apiName = 'abp'; |
|||
|
|||
|
|||
getByModel = (model: ApplicationApiDescriptionModelRequestDto, config?: Partial<Rest.Config>) => |
|||
this.restService.request<any, ApplicationApiDescriptionModel>({ |
|||
method: 'GET', |
|||
url: '/api/abp/api-definition', |
|||
params: { includeTypes: model.includeTypes }, |
|||
}, |
|||
{ apiName: this.apiName,...config }); |
|||
|
|||
constructor(private restService: RestService) {} |
|||
} |
|||
|
|||
@ -1,22 +1,22 @@ |
|||
import type { ApplicationConfigurationDto, ApplicationConfigurationRequestOptions } from './models'; |
|||
import { RestService } from '../../../../../../services/rest.service'; |
|||
import { Injectable } from '@angular/core'; |
|||
|
|||
@Injectable({ |
|||
providedIn: 'root', |
|||
}) |
|||
export class AbpApplicationConfigurationService { |
|||
apiName = 'abp'; |
|||
|
|||
get = (options: ApplicationConfigurationRequestOptions) => |
|||
this.restService.request<any, ApplicationConfigurationDto>( |
|||
{ |
|||
method: 'GET', |
|||
url: '/api/abp/application-configuration', |
|||
params: { includeLocalizationResources: options.includeLocalizationResources }, |
|||
}, |
|||
{ apiName: this.apiName }, |
|||
); |
|||
|
|||
constructor(private restService: RestService) {} |
|||
} |
|||
import type { ApplicationConfigurationDto, ApplicationConfigurationRequestOptions } from './models'; |
|||
import { RestService } from '../../../../../../services'; |
|||
import { Rest } from '../../../../../../models'; |
|||
import { Injectable } from '@angular/core'; |
|||
|
|||
@Injectable({ |
|||
providedIn: 'root', |
|||
}) |
|||
export class AbpApplicationConfigurationService { |
|||
apiName = 'abp'; |
|||
|
|||
|
|||
get = (options: ApplicationConfigurationRequestOptions, config?: Partial<Rest.Config>) => |
|||
this.restService.request<any, ApplicationConfigurationDto>({ |
|||
method: 'GET', |
|||
url: '/api/abp/application-configuration', |
|||
params: { includeLocalizationResources: options.includeLocalizationResources }, |
|||
}, |
|||
{ apiName: this.apiName, ...config }); |
|||
|
|||
constructor(private restService: RestService) { } |
|||
} |
|||
|
|||
@ -1,22 +1,22 @@ |
|||
import type { ApplicationLocalizationDto, ApplicationLocalizationRequestDto } from './models'; |
|||
import { RestService } from '../../../../../../services/rest.service'; |
|||
import { Injectable } from '@angular/core'; |
|||
|
|||
@Injectable({ |
|||
providedIn: 'root', |
|||
}) |
|||
export class AbpApplicationLocalizationService { |
|||
apiName = 'abp'; |
|||
|
|||
get = (input: ApplicationLocalizationRequestDto) => |
|||
this.restService.request<any, ApplicationLocalizationDto>( |
|||
{ |
|||
method: 'GET', |
|||
url: '/api/abp/application-localization', |
|||
params: { cultureName: input.cultureName, onlyDynamics: input.onlyDynamics }, |
|||
}, |
|||
{ apiName: this.apiName }, |
|||
); |
|||
|
|||
constructor(private restService: RestService) {} |
|||
} |
|||
import type { ApplicationLocalizationDto, ApplicationLocalizationRequestDto } from './models'; |
|||
import { RestService } from '../../../../../../services'; |
|||
import { Rest } from '../../../../../../models'; |
|||
import { Injectable } from '@angular/core'; |
|||
|
|||
@Injectable({ |
|||
providedIn: 'root', |
|||
}) |
|||
export class AbpApplicationLocalizationService { |
|||
apiName = 'abp'; |
|||
|
|||
|
|||
get = (input: ApplicationLocalizationRequestDto, config?: Partial<Rest.Config>) => |
|||
this.restService.request<any, ApplicationLocalizationDto>({ |
|||
method: 'GET', |
|||
url: '/api/abp/application-localization', |
|||
params: { cultureName: input.cultureName, onlyDynamics: input.onlyDynamics }, |
|||
}, |
|||
{ apiName: this.apiName,...config }); |
|||
|
|||
constructor(private restService: RestService) {} |
|||
} |
|||
|
|||
@ -1,124 +1,125 @@ |
|||
import type { CurrentTenantDto, MultiTenancyInfoDto } from '../multi-tenancy/models'; |
|||
import type { ObjectExtensionsDto } from './object-extending/models'; |
|||
import type { LanguageInfo } from '../../../localization/models'; |
|||
import type { NameValue } from '../../../models'; |
|||
|
|||
export interface ApplicationAuthConfigurationDto { |
|||
grantedPolicies: Record<string, boolean>; |
|||
} |
|||
|
|||
export interface ApplicationConfigurationDto { |
|||
localization: ApplicationLocalizationConfigurationDto; |
|||
auth: ApplicationAuthConfigurationDto; |
|||
setting: ApplicationSettingConfigurationDto; |
|||
currentUser: CurrentUserDto; |
|||
features: ApplicationFeatureConfigurationDto; |
|||
globalFeatures: ApplicationGlobalFeatureConfigurationDto; |
|||
multiTenancy: MultiTenancyInfoDto; |
|||
currentTenant: CurrentTenantDto; |
|||
timing: TimingDto; |
|||
clock: ClockDto; |
|||
objectExtensions: ObjectExtensionsDto; |
|||
extraProperties: Record<string, object>; |
|||
} |
|||
|
|||
export interface ApplicationConfigurationRequestOptions { |
|||
includeLocalizationResources: boolean; |
|||
} |
|||
|
|||
export interface ApplicationFeatureConfigurationDto { |
|||
values: Record<string, string>; |
|||
} |
|||
|
|||
export interface ApplicationGlobalFeatureConfigurationDto { |
|||
enabledFeatures: string[]; |
|||
} |
|||
|
|||
export interface ApplicationLocalizationConfigurationDto { |
|||
values: Record<string, Record<string, string>>; |
|||
resources: Record<string, ApplicationLocalizationResourceDto>; |
|||
languages: LanguageInfo[]; |
|||
currentCulture: CurrentCultureDto; |
|||
defaultResourceName?: string; |
|||
languagesMap: Record<string, NameValue[]>; |
|||
languageFilesMap: Record<string, NameValue[]>; |
|||
} |
|||
|
|||
export interface ApplicationLocalizationDto { |
|||
resources: Record<string, ApplicationLocalizationResourceDto>; |
|||
} |
|||
|
|||
export interface ApplicationLocalizationRequestDto { |
|||
cultureName: string; |
|||
onlyDynamics: boolean; |
|||
} |
|||
|
|||
export interface ApplicationLocalizationResourceDto { |
|||
texts: Record<string, string>; |
|||
baseResources: string[]; |
|||
} |
|||
|
|||
export interface ApplicationSettingConfigurationDto { |
|||
values: Record<string, string>; |
|||
} |
|||
|
|||
export interface ClockDto { |
|||
kind?: string; |
|||
} |
|||
|
|||
export interface CurrentCultureDto { |
|||
displayName?: string; |
|||
englishName?: string; |
|||
threeLetterIsoLanguageName?: string; |
|||
twoLetterIsoLanguageName?: string; |
|||
isRightToLeft: boolean; |
|||
cultureName?: string; |
|||
name?: string; |
|||
nativeName?: string; |
|||
dateTimeFormat: DateTimeFormatDto; |
|||
} |
|||
|
|||
export interface CurrentUserDto { |
|||
isAuthenticated: boolean; |
|||
id?: string; |
|||
tenantId?: string; |
|||
impersonatorUserId?: string; |
|||
impersonatorTenantId?: string; |
|||
impersonatorUserName?: string; |
|||
impersonatorTenantName?: string; |
|||
userName?: string; |
|||
name?: string; |
|||
surName?: string; |
|||
email?: string; |
|||
emailVerified: boolean; |
|||
phoneNumber?: string; |
|||
phoneNumberVerified: boolean; |
|||
roles: string[]; |
|||
} |
|||
|
|||
export interface DateTimeFormatDto { |
|||
calendarAlgorithmType?: string; |
|||
dateTimeFormatLong?: string; |
|||
shortDatePattern?: string; |
|||
fullDateTimePattern?: string; |
|||
dateSeparator?: string; |
|||
shortTimePattern?: string; |
|||
longTimePattern?: string; |
|||
} |
|||
|
|||
export interface IanaTimeZone { |
|||
timeZoneName?: string; |
|||
} |
|||
|
|||
export interface TimeZone { |
|||
iana: IanaTimeZone; |
|||
windows: WindowsTimeZone; |
|||
} |
|||
|
|||
export interface TimingDto { |
|||
timeZone: TimeZone; |
|||
} |
|||
|
|||
export interface WindowsTimeZone { |
|||
timeZoneId?: string; |
|||
} |
|||
import type { CurrentTenantDto, MultiTenancyInfoDto } from '../multi-tenancy/models'; |
|||
import type { ObjectExtensionsDto } from './object-extending/models'; |
|||
import type { LanguageInfo } from '../../../localization/models'; |
|||
import type { NameValue } from '../../../models'; |
|||
|
|||
export interface ApplicationAuthConfigurationDto { |
|||
grantedPolicies: Record<string, boolean>; |
|||
} |
|||
|
|||
export interface ApplicationConfigurationDto { |
|||
localization: ApplicationLocalizationConfigurationDto; |
|||
auth: ApplicationAuthConfigurationDto; |
|||
setting: ApplicationSettingConfigurationDto; |
|||
currentUser: CurrentUserDto; |
|||
features: ApplicationFeatureConfigurationDto; |
|||
globalFeatures: ApplicationGlobalFeatureConfigurationDto; |
|||
multiTenancy: MultiTenancyInfoDto; |
|||
currentTenant: CurrentTenantDto; |
|||
timing: TimingDto; |
|||
clock: ClockDto; |
|||
objectExtensions: ObjectExtensionsDto; |
|||
extraProperties: Record<string, object>; |
|||
} |
|||
|
|||
export interface ApplicationConfigurationRequestOptions { |
|||
includeLocalizationResources: boolean; |
|||
} |
|||
|
|||
export interface ApplicationFeatureConfigurationDto { |
|||
values: Record<string, string>; |
|||
} |
|||
|
|||
export interface ApplicationGlobalFeatureConfigurationDto { |
|||
enabledFeatures: string[]; |
|||
} |
|||
|
|||
export interface ApplicationLocalizationConfigurationDto { |
|||
values: Record<string, Record<string, string>>; |
|||
resources: Record<string, ApplicationLocalizationResourceDto>; |
|||
languages: LanguageInfo[]; |
|||
currentCulture: CurrentCultureDto; |
|||
defaultResourceName?: string; |
|||
languagesMap: Record<string, NameValue[]>; |
|||
languageFilesMap: Record<string, NameValue[]>; |
|||
} |
|||
|
|||
export interface ApplicationLocalizationDto { |
|||
resources: Record<string, ApplicationLocalizationResourceDto>; |
|||
currentCulture: CurrentCultureDto; |
|||
} |
|||
|
|||
export interface ApplicationLocalizationRequestDto { |
|||
cultureName: string; |
|||
onlyDynamics: boolean; |
|||
} |
|||
|
|||
export interface ApplicationLocalizationResourceDto { |
|||
texts: Record<string, string>; |
|||
baseResources: string[]; |
|||
} |
|||
|
|||
export interface ApplicationSettingConfigurationDto { |
|||
values: Record<string, string>; |
|||
} |
|||
|
|||
export interface ClockDto { |
|||
kind?: string; |
|||
} |
|||
|
|||
export interface CurrentCultureDto { |
|||
displayName?: string; |
|||
englishName?: string; |
|||
threeLetterIsoLanguageName?: string; |
|||
twoLetterIsoLanguageName?: string; |
|||
isRightToLeft: boolean; |
|||
cultureName?: string; |
|||
name?: string; |
|||
nativeName?: string; |
|||
dateTimeFormat: DateTimeFormatDto; |
|||
} |
|||
|
|||
export interface CurrentUserDto { |
|||
isAuthenticated: boolean; |
|||
id?: string; |
|||
tenantId?: string; |
|||
impersonatorUserId?: string; |
|||
impersonatorTenantId?: string; |
|||
impersonatorUserName?: string; |
|||
impersonatorTenantName?: string; |
|||
userName?: string; |
|||
name?: string; |
|||
surName?: string; |
|||
email?: string; |
|||
emailVerified: boolean; |
|||
phoneNumber?: string; |
|||
phoneNumberVerified: boolean; |
|||
roles: string[]; |
|||
} |
|||
|
|||
export interface DateTimeFormatDto { |
|||
calendarAlgorithmType?: string; |
|||
dateTimeFormatLong?: string; |
|||
shortDatePattern?: string; |
|||
fullDateTimePattern?: string; |
|||
dateSeparator?: string; |
|||
shortTimePattern?: string; |
|||
longTimePattern?: string; |
|||
} |
|||
|
|||
export interface IanaTimeZone { |
|||
timeZoneName?: string; |
|||
} |
|||
|
|||
export interface TimeZone { |
|||
iana: IanaTimeZone; |
|||
windows: WindowsTimeZone; |
|||
} |
|||
|
|||
export interface TimingDto { |
|||
timeZone: TimeZone; |
|||
} |
|||
|
|||
export interface WindowsTimeZone { |
|||
timeZoneId?: string; |
|||
} |
|||
|
|||
@ -1,87 +1,87 @@ |
|||
|
|||
export interface EntityExtensionDto { |
|||
properties: Record<string, ExtensionPropertyDto>; |
|||
configuration: Record<string, object>; |
|||
} |
|||
|
|||
export interface ExtensionEnumDto { |
|||
fields: ExtensionEnumFieldDto[]; |
|||
localizationResource?: string; |
|||
} |
|||
|
|||
export interface ExtensionEnumFieldDto { |
|||
name?: string; |
|||
value: object; |
|||
} |
|||
|
|||
export interface ExtensionPropertyApiCreateDto { |
|||
isAvailable: boolean; |
|||
} |
|||
|
|||
export interface ExtensionPropertyApiDto { |
|||
onGet: ExtensionPropertyApiGetDto; |
|||
onCreate: ExtensionPropertyApiCreateDto; |
|||
onUpdate: ExtensionPropertyApiUpdateDto; |
|||
} |
|||
|
|||
export interface ExtensionPropertyApiGetDto { |
|||
isAvailable: boolean; |
|||
} |
|||
|
|||
export interface ExtensionPropertyApiUpdateDto { |
|||
isAvailable: boolean; |
|||
} |
|||
|
|||
export interface ExtensionPropertyAttributeDto { |
|||
typeSimple?: string; |
|||
config: Record<string, object>; |
|||
} |
|||
|
|||
export interface ExtensionPropertyDto { |
|||
type?: string; |
|||
typeSimple?: string; |
|||
displayName: LocalizableStringDto; |
|||
api: ExtensionPropertyApiDto; |
|||
ui: ExtensionPropertyUiDto; |
|||
attributes: ExtensionPropertyAttributeDto[]; |
|||
configuration: Record<string, object>; |
|||
defaultValue: object; |
|||
} |
|||
|
|||
export interface ExtensionPropertyUiDto { |
|||
onTable: ExtensionPropertyUiTableDto; |
|||
onCreateForm: ExtensionPropertyUiFormDto; |
|||
onEditForm: ExtensionPropertyUiFormDto; |
|||
lookup: ExtensionPropertyUiLookupDto; |
|||
} |
|||
|
|||
export interface ExtensionPropertyUiFormDto { |
|||
isVisible: boolean; |
|||
} |
|||
|
|||
export interface ExtensionPropertyUiLookupDto { |
|||
url?: string; |
|||
resultListPropertyName?: string; |
|||
displayPropertyName?: string; |
|||
valuePropertyName?: string; |
|||
filterParamName?: string; |
|||
} |
|||
|
|||
export interface ExtensionPropertyUiTableDto { |
|||
isVisible: boolean; |
|||
} |
|||
|
|||
export interface LocalizableStringDto { |
|||
name?: string; |
|||
resource?: string; |
|||
} |
|||
|
|||
export interface ModuleExtensionDto { |
|||
entities: Record<string, EntityExtensionDto>; |
|||
configuration: Record<string, object>; |
|||
} |
|||
|
|||
export interface ObjectExtensionsDto { |
|||
modules: Record<string, ModuleExtensionDto>; |
|||
enums: Record<string, ExtensionEnumDto>; |
|||
} |
|||
|
|||
export interface EntityExtensionDto { |
|||
properties: Record<string, ExtensionPropertyDto>; |
|||
configuration: Record<string, object>; |
|||
} |
|||
|
|||
export interface ExtensionEnumDto { |
|||
fields: ExtensionEnumFieldDto[]; |
|||
localizationResource?: string; |
|||
} |
|||
|
|||
export interface ExtensionEnumFieldDto { |
|||
name?: string; |
|||
value: object; |
|||
} |
|||
|
|||
export interface ExtensionPropertyApiCreateDto { |
|||
isAvailable: boolean; |
|||
} |
|||
|
|||
export interface ExtensionPropertyApiDto { |
|||
onGet: ExtensionPropertyApiGetDto; |
|||
onCreate: ExtensionPropertyApiCreateDto; |
|||
onUpdate: ExtensionPropertyApiUpdateDto; |
|||
} |
|||
|
|||
export interface ExtensionPropertyApiGetDto { |
|||
isAvailable: boolean; |
|||
} |
|||
|
|||
export interface ExtensionPropertyApiUpdateDto { |
|||
isAvailable: boolean; |
|||
} |
|||
|
|||
export interface ExtensionPropertyAttributeDto { |
|||
typeSimple?: string; |
|||
config: Record<string, object>; |
|||
} |
|||
|
|||
export interface ExtensionPropertyDto { |
|||
type?: string; |
|||
typeSimple?: string; |
|||
displayName: LocalizableStringDto; |
|||
api: ExtensionPropertyApiDto; |
|||
ui: ExtensionPropertyUiDto; |
|||
attributes: ExtensionPropertyAttributeDto[]; |
|||
configuration: Record<string, object>; |
|||
defaultValue: object; |
|||
} |
|||
|
|||
export interface ExtensionPropertyUiDto { |
|||
onTable: ExtensionPropertyUiTableDto; |
|||
onCreateForm: ExtensionPropertyUiFormDto; |
|||
onEditForm: ExtensionPropertyUiFormDto; |
|||
lookup: ExtensionPropertyUiLookupDto; |
|||
} |
|||
|
|||
export interface ExtensionPropertyUiFormDto { |
|||
isVisible: boolean; |
|||
} |
|||
|
|||
export interface ExtensionPropertyUiLookupDto { |
|||
url?: string; |
|||
resultListPropertyName?: string; |
|||
displayPropertyName?: string; |
|||
valuePropertyName?: string; |
|||
filterParamName?: string; |
|||
} |
|||
|
|||
export interface ExtensionPropertyUiTableDto { |
|||
isVisible: boolean; |
|||
} |
|||
|
|||
export interface LocalizableStringDto { |
|||
name?: string; |
|||
resource?: string; |
|||
} |
|||
|
|||
export interface ModuleExtensionDto { |
|||
entities: Record<string, EntityExtensionDto>; |
|||
configuration: Record<string, object>; |
|||
} |
|||
|
|||
export interface ObjectExtensionsDto { |
|||
modules: Record<string, ModuleExtensionDto>; |
|||
enums: Record<string, ExtensionEnumDto>; |
|||
} |
|||
|
|||
@ -1,17 +1,18 @@ |
|||
|
|||
export interface FindTenantResultDto { |
|||
success: boolean; |
|||
tenantId?: string; |
|||
name?: string; |
|||
isActive: boolean; |
|||
} |
|||
|
|||
export interface CurrentTenantDto { |
|||
id?: string; |
|||
name?: string; |
|||
isAvailable: boolean; |
|||
} |
|||
|
|||
export interface MultiTenancyInfoDto { |
|||
isEnabled: boolean; |
|||
} |
|||
|
|||
export interface FindTenantResultDto { |
|||
success: boolean; |
|||
tenantId?: string; |
|||
name?: string; |
|||
normalizedName?: string; |
|||
isActive: boolean; |
|||
} |
|||
|
|||
export interface CurrentTenantDto { |
|||
id?: string; |
|||
name?: string; |
|||
isAvailable: boolean; |
|||
} |
|||
|
|||
export interface MultiTenancyInfoDto { |
|||
isEnabled: boolean; |
|||
} |
|||
|
|||
@ -1,99 +1,100 @@ |
|||
export interface ActionApiDescriptionModel { |
|||
uniqueName?: string; |
|||
name?: string; |
|||
httpMethod?: string; |
|||
url?: string; |
|||
supportedVersions: string[]; |
|||
parametersOnMethod: MethodParameterApiDescriptionModel[]; |
|||
parameters: ParameterApiDescriptionModel[]; |
|||
returnValue: ReturnValueApiDescriptionModel; |
|||
allowAnonymous?: boolean; |
|||
implementFrom?: string; |
|||
} |
|||
|
|||
export interface ApplicationApiDescriptionModel { |
|||
modules: Record<string, ModuleApiDescriptionModel>; |
|||
types: Record<string, TypeApiDescriptionModel>; |
|||
} |
|||
|
|||
export interface ApplicationApiDescriptionModelRequestDto { |
|||
includeTypes: boolean; |
|||
} |
|||
|
|||
export interface ControllerApiDescriptionModel { |
|||
controllerName?: string; |
|||
controllerGroupName?: string; |
|||
isRemoteService: boolean; |
|||
isIntegrationService: boolean; |
|||
apiVersion?: string; |
|||
type?: string; |
|||
interfaces: ControllerInterfaceApiDescriptionModel[]; |
|||
actions: Record<string, ActionApiDescriptionModel>; |
|||
} |
|||
|
|||
export interface ControllerInterfaceApiDescriptionModel { |
|||
type?: string; |
|||
name?: string; |
|||
methods: InterfaceMethodApiDescriptionModel[]; |
|||
} |
|||
|
|||
export interface InterfaceMethodApiDescriptionModel { |
|||
name?: string; |
|||
parametersOnMethod: MethodParameterApiDescriptionModel[]; |
|||
returnValue: ReturnValueApiDescriptionModel; |
|||
} |
|||
|
|||
export interface MethodParameterApiDescriptionModel { |
|||
name?: string; |
|||
typeAsString?: string; |
|||
type?: string; |
|||
typeSimple?: string; |
|||
isOptional: boolean; |
|||
defaultValue: object; |
|||
} |
|||
|
|||
export interface ModuleApiDescriptionModel { |
|||
rootPath?: string; |
|||
remoteServiceName?: string; |
|||
controllers: Record<string, ControllerApiDescriptionModel>; |
|||
} |
|||
|
|||
export interface ParameterApiDescriptionModel { |
|||
nameOnMethod?: string; |
|||
name?: string; |
|||
jsonName?: string; |
|||
type?: string; |
|||
typeSimple?: string; |
|||
isOptional: boolean; |
|||
defaultValue: object; |
|||
constraintTypes: string[]; |
|||
bindingSourceId?: string; |
|||
descriptorName?: string; |
|||
} |
|||
|
|||
export interface PropertyApiDescriptionModel { |
|||
name?: string; |
|||
jsonName?: string; |
|||
type?: string; |
|||
typeSimple?: string; |
|||
isRequired: boolean; |
|||
minLength?: number; |
|||
maxLength?: number; |
|||
minimum?: string; |
|||
maximum?: string; |
|||
regex?: string; |
|||
} |
|||
|
|||
export interface ReturnValueApiDescriptionModel { |
|||
type?: string; |
|||
typeSimple?: string; |
|||
} |
|||
|
|||
export interface TypeApiDescriptionModel { |
|||
baseType?: string; |
|||
isEnum: boolean; |
|||
enumNames: string[]; |
|||
enumValues: object[]; |
|||
genericArguments: string[]; |
|||
properties: PropertyApiDescriptionModel[]; |
|||
} |
|||
|
|||
export interface ActionApiDescriptionModel { |
|||
uniqueName?: string; |
|||
name?: string; |
|||
httpMethod?: string; |
|||
url?: string; |
|||
supportedVersions: string[]; |
|||
parametersOnMethod: MethodParameterApiDescriptionModel[]; |
|||
parameters: ParameterApiDescriptionModel[]; |
|||
returnValue: ReturnValueApiDescriptionModel; |
|||
allowAnonymous?: boolean; |
|||
implementFrom?: string; |
|||
} |
|||
|
|||
export interface ApplicationApiDescriptionModel { |
|||
modules: Record<string, ModuleApiDescriptionModel>; |
|||
types: Record<string, TypeApiDescriptionModel>; |
|||
} |
|||
|
|||
export interface ApplicationApiDescriptionModelRequestDto { |
|||
includeTypes: boolean; |
|||
} |
|||
|
|||
export interface ControllerApiDescriptionModel { |
|||
controllerName?: string; |
|||
controllerGroupName?: string; |
|||
isRemoteService: boolean; |
|||
isIntegrationService: boolean; |
|||
apiVersion?: string; |
|||
type?: string; |
|||
interfaces: ControllerInterfaceApiDescriptionModel[]; |
|||
actions: Record<string, ActionApiDescriptionModel>; |
|||
} |
|||
|
|||
export interface ControllerInterfaceApiDescriptionModel { |
|||
type?: string; |
|||
name?: string; |
|||
methods: InterfaceMethodApiDescriptionModel[]; |
|||
} |
|||
|
|||
export interface InterfaceMethodApiDescriptionModel { |
|||
name?: string; |
|||
parametersOnMethod: MethodParameterApiDescriptionModel[]; |
|||
returnValue: ReturnValueApiDescriptionModel; |
|||
} |
|||
|
|||
export interface MethodParameterApiDescriptionModel { |
|||
name?: string; |
|||
typeAsString?: string; |
|||
type?: string; |
|||
typeSimple?: string; |
|||
isOptional: boolean; |
|||
defaultValue: object; |
|||
} |
|||
|
|||
export interface ModuleApiDescriptionModel { |
|||
rootPath?: string; |
|||
remoteServiceName?: string; |
|||
controllers: Record<string, ControllerApiDescriptionModel>; |
|||
} |
|||
|
|||
export interface ParameterApiDescriptionModel { |
|||
nameOnMethod?: string; |
|||
name?: string; |
|||
jsonName?: string; |
|||
type?: string; |
|||
typeSimple?: string; |
|||
isOptional: boolean; |
|||
defaultValue: object; |
|||
constraintTypes: string[]; |
|||
bindingSourceId?: string; |
|||
descriptorName?: string; |
|||
} |
|||
|
|||
export interface PropertyApiDescriptionModel { |
|||
name?: string; |
|||
jsonName?: string; |
|||
type?: string; |
|||
typeSimple?: string; |
|||
isRequired: boolean; |
|||
minLength?: number; |
|||
maxLength?: number; |
|||
minimum?: string; |
|||
maximum?: string; |
|||
regex?: string; |
|||
} |
|||
|
|||
export interface ReturnValueApiDescriptionModel { |
|||
type?: string; |
|||
typeSimple?: string; |
|||
} |
|||
|
|||
export interface TypeApiDescriptionModel { |
|||
baseType?: string; |
|||
isEnum: boolean; |
|||
enumNames: string[]; |
|||
enumValues: object[]; |
|||
genericArguments: string[]; |
|||
properties: PropertyApiDescriptionModel[]; |
|||
} |
|||
|
|||
@ -1,7 +1,8 @@ |
|||
export interface LanguageInfo { |
|||
cultureName?: string; |
|||
uiCultureName?: string; |
|||
displayName?: string; |
|||
twoLetterISOLanguageName?: string; |
|||
flagIcon?: string; |
|||
} |
|||
|
|||
export interface LanguageInfo { |
|||
cultureName?: string; |
|||
uiCultureName?: string; |
|||
displayName?: string; |
|||
twoLetterISOLanguageName?: string; |
|||
flagIcon?: string; |
|||
} |
|||
|
|||
@ -1,5 +1,5 @@ |
|||
|
|||
export interface NameValue<T = string> { |
|||
name?: string; |
|||
value: T; |
|||
} |
|||
|
|||
export interface NameValue<T = "string"> { |
|||
name?: string; |
|||
value: T; |
|||
} |
|||
|
|||
Loading…
Reference in new issue