ace-front-end 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +8 -0
- package/.hintrc +9 -0
- package/.run/build-app-bolts.run.xml +12 -0
- package/.run/build-app-manager-ui.run.xml +12 -0
- package/.run/build-cloud-shell.run.xml +12 -0
- package/.run/build-element-plus-component.run.xml +12 -0
- package/.run/build-monnolith-shell.run.xml +12 -0
- package/.run/dev-app-manager.run.xml +12 -0
- package/.run/dev-monolith-shell.run.xml +12 -0
- package/README.md +59 -0
- package/ace-app-bolts-ui/.eslintrc.cjs +15 -0
- package/ace-app-bolts-ui/.vscode/extensions.json +3 -0
- package/ace-app-bolts-ui/.vscode/settings.json +27 -0
- package/ace-app-bolts-ui/folder-alias.json +1 -0
- package/ace-app-bolts-ui/package.json +76 -0
- package/ace-app-bolts-ui/src/api/apiCache.ts +26 -0
- package/ace-app-bolts-ui/src/api/appService/aceInstall.ts +29 -0
- package/ace-app-bolts-ui/src/api/appService/appAdmin.ts +58 -0
- package/ace-app-bolts-ui/src/api/appService/appInstance.ts +186 -0
- package/ace-app-bolts-ui/src/api/appService/appMessage.ts +123 -0
- package/ace-app-bolts-ui/src/api/appService/appRoute.ts +128 -0
- package/ace-app-bolts-ui/src/api/appService/appService.ts +135 -0
- package/ace-app-bolts-ui/src/api/appService/appSetting.ts +163 -0
- package/ace-app-bolts-ui/src/api/appService/appSettingGroup.ts +129 -0
- package/ace-app-bolts-ui/src/api/appService/appliedPasswordPolicy.ts +77 -0
- package/ace-app-bolts-ui/src/api/appService/eventCompensation.ts +61 -0
- package/ace-app-bolts-ui/src/api/appService/externalApp.ts +209 -0
- package/ace-app-bolts-ui/src/api/auditService/auditLog.ts +63 -0
- package/ace-app-bolts-ui/src/api/bizFlow/flowComment.ts +76 -0
- package/ace-app-bolts-ui/src/api/bizFlow/flowDefinition.ts +321 -0
- package/ace-app-bolts-ui/src/api/bizFlow/taskQuery.ts +91 -0
- package/ace-app-bolts-ui/src/api/domainModel/aggregate.ts +107 -0
- package/ace-app-bolts-ui/src/api/domainModel/command.ts +257 -0
- package/ace-app-bolts-ui/src/api/domainModel/constraint.ts +101 -0
- package/ace-app-bolts-ui/src/api/domainModel/dataScope.ts +84 -0
- package/ace-app-bolts-ui/src/api/domainModel/dataSource.ts +194 -0
- package/ace-app-bolts-ui/src/api/domainModel/dto.ts +243 -0
- package/ace-app-bolts-ui/src/api/domainModel/dtoConstraint.ts +101 -0
- package/ace-app-bolts-ui/src/api/domainModel/entity.ts +207 -0
- package/ace-app-bolts-ui/src/api/domainModel/enum.ts +170 -0
- package/ace-app-bolts-ui/src/api/domainModel/indexDef.ts +82 -0
- package/ace-app-bolts-ui/src/api/domainModel/query.ts +292 -0
- package/ace-app-bolts-ui/src/api/domainModel/release.ts +97 -0
- package/ace-app-bolts-ui/src/api/fileService/fileConfiguration.ts +161 -0
- package/ace-app-bolts-ui/src/api/fileService/fileStorage.ts +165 -0
- package/ace-app-bolts-ui/src/api/fileService/files.ts +207 -0
- package/ace-app-bolts-ui/src/api/idGenService/leafSegment.ts +55 -0
- package/ace-app-bolts-ui/src/api/idGenService/stringIdTemplate.ts +170 -0
- package/ace-app-bolts-ui/src/api/orgService/customGroup.ts +73 -0
- package/ace-app-bolts-ui/src/api/orgService/department.ts +186 -0
- package/ace-app-bolts-ui/src/api/orgService/departmentAttrDef.ts +90 -0
- package/ace-app-bolts-ui/src/api/orgService/group.ts +249 -0
- package/ace-app-bolts-ui/src/api/orgService/realm.ts +70 -0
- package/ace-app-bolts-ui/src/api/orgService/resourceScope.ts +132 -0
- package/ace-app-bolts-ui/src/api/orgService/role.ts +145 -0
- package/ace-app-bolts-ui/src/api/orgService/roleCategory.ts +77 -0
- package/ace-app-bolts-ui/src/api/orgService/session.ts +74 -0
- package/ace-app-bolts-ui/src/api/orgService/user.ts +1187 -0
- package/ace-app-bolts-ui/src/api/orgService/userAttrDef.ts +86 -0
- package/ace-app-bolts-ui/src/api/orgService/userAvatar.ts +32 -0
- package/ace-app-bolts-ui/src/api/pushService/MessageTemplate.ts +109 -0
- package/ace-app-bolts-ui/src/api/pushService/MessengerTemplateMap.ts +68 -0
- package/ace-app-bolts-ui/src/api/pushService/channel.ts +109 -0
- package/ace-app-bolts-ui/src/api/pushService/messenger.ts +82 -0
- package/ace-app-bolts-ui/src/api/pushService/sockJs.ts +43 -0
- package/ace-app-bolts-ui/src/api/pushService/soketIo.ts +50 -0
- package/ace-app-bolts-ui/src/api/pushService/userSubscription.ts +62 -0
- package/ace-app-bolts-ui/src/global.ts +238 -0
- package/ace-app-bolts-ui/src/http/IAceAxios.ts +183 -0
- package/ace-app-bolts-ui/src/http/types.ts +154 -0
- package/ace-app-bolts-ui/src/http/useAxios.ts +42 -0
- package/ace-app-bolts-ui/src/http/useLoading.ts +18 -0
- package/ace-app-bolts-ui/src/index.ts +250 -0
- package/ace-app-bolts-ui/src/locales/i18nLoader.ts +42 -0
- package/ace-app-bolts-ui/src/locales/setupI18n.ts +77 -0
- package/ace-app-bolts-ui/src/locales/useLocale.ts +70 -0
- package/ace-app-bolts-ui/src/models/AppBridge.ts +68 -0
- package/ace-app-bolts-ui/src/models/EntityBase.ts +10 -0
- package/ace-app-bolts-ui/src/models/LinkTreeNodeAddParam.ts +9 -0
- package/ace-app-bolts-ui/src/models/Page.ts +49 -0
- package/ace-app-bolts-ui/src/models/PageModel.ts +30 -0
- package/ace-app-bolts-ui/src/models/ProjectedSortPathTreeNode.ts +21 -0
- package/ace-app-bolts-ui/src/models/ProjectedUser.ts +17 -0
- package/ace-app-bolts-ui/src/models/Roles.ts +223 -0
- package/ace-app-bolts-ui/src/models/SortPathTreeNode.ts +21 -0
- package/ace-app-bolts-ui/src/models/SortPathTreeNodeAddParam.ts +13 -0
- package/ace-app-bolts-ui/src/models/SysSetting.ts +35 -0
- package/ace-app-bolts-ui/src/models/SystemSetting.ts +0 -0
- package/ace-app-bolts-ui/src/models/appService/AceInstallInfo.ts +43 -0
- package/ace-app-bolts-ui/src/models/appService/AppAdmin.ts +71 -0
- package/ace-app-bolts-ui/src/models/appService/AppInstance.ts +210 -0
- package/ace-app-bolts-ui/src/models/appService/AppMessage.ts +64 -0
- package/ace-app-bolts-ui/src/models/appService/AppRouter.ts +121 -0
- package/ace-app-bolts-ui/src/models/appService/AppService.ts +113 -0
- package/ace-app-bolts-ui/src/models/appService/AppSettingGroup.ts +81 -0
- package/ace-app-bolts-ui/src/models/appService/AppSettings.ts +163 -0
- package/ace-app-bolts-ui/src/models/appService/AppliedPasswordPolicy.ts +87 -0
- package/ace-app-bolts-ui/src/models/appService/ExternalApp.ts +272 -0
- package/ace-app-bolts-ui/src/models/appService/FailedEvent.ts +85 -0
- package/ace-app-bolts-ui/src/models/auditService/Audit.ts +160 -0
- package/ace-app-bolts-ui/src/models/bizFlow/CandidateNode.ts +43 -0
- package/ace-app-bolts-ui/src/models/bizFlow/FlowCommentDto.ts +45 -0
- package/ace-app-bolts-ui/src/models/bizFlow/FlowDefinitionDto.ts +80 -0
- package/ace-app-bolts-ui/src/models/bizFlow/FlowInstanceDto.ts +84 -0
- package/ace-app-bolts-ui/src/models/bizFlow/FlowProcessRequest.ts +80 -0
- package/ace-app-bolts-ui/src/models/bizFlow/FlowVariableValueDto.ts +21 -0
- package/ace-app-bolts-ui/src/models/bizFlow/NodeInstanceDto.ts +56 -0
- package/ace-app-bolts-ui/src/models/bizFlow/NodeLinkDto.ts +29 -0
- package/ace-app-bolts-ui/src/models/bizFlow/ProjectedFlowDefinitionDto.ts +62 -0
- package/ace-app-bolts-ui/src/models/bizFlow/ReplyCommentCommand.ts +47 -0
- package/ace-app-bolts-ui/src/models/bizFlow/SearchFlowDefinitionDto.ts +29 -0
- package/ace-app-bolts-ui/src/models/bizFlow/TaskInstanceDto.ts +57 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/AbstractNode.ts +37 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/CancelCheckoutFlowDefinitionCommand.ts +18 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/CheckinFlowDefinitionCommand.ts +26 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/CheckoutFlowDefinitionCommand.ts +18 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/CreateFlowDefinitionCommand.ts +58 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/DeleteWorkflowDefinitionCommand.ts +18 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/EndNode.ts +24 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/Flow.ts +95 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/ForwardCriteria.ts +24 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/Link.ts +40 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/StartNode.ts +82 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/TaskNode.ts +180 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/UpdateFlowModelCommand.ts +28 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/Variable.ts +33 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/index.ts +24 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BaseParty.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyAll.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyByGroup.ts +23 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyByUserAttribute.ts +29 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyCustomFilter.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyDeptSpecifiedByVariable.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyEntityOfDeptSpecifiedByVariable.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyHasRole.ts +23 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInDept.ts +23 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInInitiatorDept.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInInitiatorEntityDept.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInitiator.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfElResult.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfPrevNode.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfPrevOwnerDept.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfPrevOwnerEntityDept.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfSpecificNode.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecific.ts +23 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecificNodeDept.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecificNodeEntityDept.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecifiedByGroupVariable.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecifiedByVariable.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/ConditionalParty.ts +29 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/MergeParty.ts +25 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/Party.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/index.ts +31 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/AbstractCompareRule.ts +28 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/AndOrRule.ts +28 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/BizRule.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/ExpressionRule.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/IsNullOrEmptyRule.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/NotRule.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/NumberCompareRule.ts +21 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/ReferencedRule.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/StringCompareRule.ts +21 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/index.ts +15 -0
- package/ace-app-bolts-ui/src/models/bizFlow/enums.ts +219 -0
- package/ace-app-bolts-ui/src/models/bizFlow/index.ts +21 -0
- package/ace-app-bolts-ui/src/models/domainModel/index.ts +4145 -0
- package/ace-app-bolts-ui/src/models/expr/ExpressionBuilder.ts +654 -0
- package/ace-app-bolts-ui/src/models/expr/Interfaces.ts +1081 -0
- package/ace-app-bolts-ui/src/models/expr/impls/agg.ts +192 -0
- package/ace-app-bolts-ui/src/models/expr/impls/any.ts +92 -0
- package/ace-app-bolts-ui/src/models/expr/impls/base.ts +24 -0
- package/ace-app-bolts-ui/src/models/expr/impls/bool.ts +321 -0
- package/ace-app-bolts-ui/src/models/expr/impls/collection.ts +14 -0
- package/ace-app-bolts-ui/src/models/expr/impls/constant.ts +85 -0
- package/ace-app-bolts-ui/src/models/expr/impls/dateTime.ts +59 -0
- package/ace-app-bolts-ui/src/models/expr/impls/nullfun.ts +170 -0
- package/ace-app-bolts-ui/src/models/expr/impls/num.ts +75 -0
- package/ace-app-bolts-ui/src/models/expr/impls/path.ts +317 -0
- package/ace-app-bolts-ui/src/models/expr/impls/strfun.ts +112 -0
- package/ace-app-bolts-ui/src/models/expr/impls/subQuery.ts +211 -0
- package/ace-app-bolts-ui/src/models/expr/impls/when.ts +125 -0
- package/ace-app-bolts-ui/src/models/expr/mixins.ts +1946 -0
- package/ace-app-bolts-ui/src/models/expr/querySpecification.ts +136 -0
- package/ace-app-bolts-ui/src/models/fileService/index.ts +1060 -0
- package/ace-app-bolts-ui/src/models/idGenService/LeafSegment.ts +48 -0
- package/ace-app-bolts-ui/src/models/idGenService/StringIdTemplate.ts +199 -0
- package/ace-app-bolts-ui/src/models/orgService/CustomGroup.ts +62 -0
- package/ace-app-bolts-ui/src/models/orgService/Department.ts +125 -0
- package/ace-app-bolts-ui/src/models/orgService/DepartmentAttributeDef.ts +121 -0
- package/ace-app-bolts-ui/src/models/orgService/Group.ts +244 -0
- package/ace-app-bolts-ui/src/models/orgService/Realm.ts +34 -0
- package/ace-app-bolts-ui/src/models/orgService/Role.ts +284 -0
- package/ace-app-bolts-ui/src/models/orgService/Session.ts +33 -0
- package/ace-app-bolts-ui/src/models/orgService/User.ts +650 -0
- package/ace-app-bolts-ui/src/models/orgService/UserAttributeDef.ts +53 -0
- package/ace-app-bolts-ui/src/models/orgService/dsl.ts +254 -0
- package/ace-app-bolts-ui/src/models/pushService/Messenger.ts +519 -0
- package/ace-app-bolts-ui/src/settings/cacheSetting.ts +20 -0
- package/ace-app-bolts-ui/src/settings/localeSetting.ts +133 -0
- package/ace-app-bolts-ui/src/stores/index.ts +19 -0
- package/ace-app-bolts-ui/src/stores/loginUserStore.ts +35 -0
- package/ace-app-bolts-ui/src/stores/useEnums.ts +45 -0
- package/ace-app-bolts-ui/src/utils/LRUCache.ts +52 -0
- package/ace-app-bolts-ui/src/utils/cache/index.ts +50 -0
- package/ace-app-bolts-ui/src/utils/cache/storageCache.ts +124 -0
- package/ace-app-bolts-ui/src/utils/cipher.ts +81 -0
- package/ace-app-bolts-ui/src/utils/common.ts +13 -0
- package/ace-app-bolts-ui/src/utils/treeSort.ts +0 -0
- package/ace-app-bolts-ui/src/vite-env.d.ts +2 -0
- package/ace-app-bolts-ui/tsconfig.json +22 -0
- package/ace-app-bolts-ui/tsconfig.tsbuildinfo +1 -0
- package/ace-app-manager-ui/.env +5 -0
- package/ace-app-manager-ui/.env.development +1 -0
- package/ace-app-manager-ui/.env.production +1 -0
- package/ace-app-manager-ui/.eslintrc.cjs +48 -0
- package/ace-app-manager-ui/README.md +18 -0
- package/ace-app-manager-ui/auto-imports.d.ts +11 -0
- package/ace-app-manager-ui/components.d.ts +118 -0
- package/ace-app-manager-ui/customVitePlugin.d.ts +6 -0
- package/ace-app-manager-ui/customVitePlugin.js +37 -0
- package/ace-app-manager-ui/customVitePlugin.ts +44 -0
- package/ace-app-manager-ui/index.html +12 -0
- package/ace-app-manager-ui/jsconfig.json +19 -0
- package/ace-app-manager-ui/package.json +66 -0
- package/ace-app-manager-ui/src/App.vue +32 -0
- package/ace-app-manager-ui/src/assets/baseData/AppManageMenu.ts +284 -0
- package/ace-app-manager-ui/src/assets/baseData/GlobalManageMenu.ts +75 -0
- package/ace-app-manager-ui/src/assets/logo.png +0 -0
- package/ace-app-manager-ui/src/assets/scss/element/element-var.scss +1117 -0
- package/ace-app-manager-ui/src/assets/scss/element/index.scss +72 -0
- package/ace-app-manager-ui/src/assets/scss/normalize.scss +524 -0
- package/ace-app-manager-ui/src/assets/scss/vars.scss +12 -0
- package/ace-app-manager-ui/src/components/appSelector/Index.vue +23 -0
- package/ace-app-manager-ui/src/components/departmentPicker/index.ts +3 -0
- package/ace-app-manager-ui/src/components/departmentPicker/src/SinglePicker.vue +102 -0
- package/ace-app-manager-ui/src/components/departmentSelector/index.ts +4 -0
- package/ace-app-manager-ui/src/components/departmentSelector/src/SingleSelector.vue +123 -0
- package/ace-app-manager-ui/src/components/departmentSelector/src/consts.ts +2 -0
- package/ace-app-manager-ui/src/components/enumPicker/EnumPicker.vue +57 -0
- package/ace-app-manager-ui/src/components/fieldControl/index.ts +2 -0
- package/ace-app-manager-ui/src/components/fieldControl/src/FieldControl.vue +130 -0
- package/ace-app-manager-ui/src/components/header/ManageHeader.vue +43 -0
- package/ace-app-manager-ui/src/components/icon/JaIcon.vue +50 -0
- package/ace-app-manager-ui/src/components/icon/svg/SvgIcon.vue +56 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/index.ts +7 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/src/IconColorPicker.vue +104 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/src/colorPicker/ColorPicker.vue +128 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/src/colorPicker/baseData/colors.ts +155 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/src/iconPicker/IconPicker.vue +221 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/src/iconPicker/baseData/icons.json +1364 -0
- package/ace-app-manager-ui/src/components/multipleSelector/MultipleSelector.vue +136 -0
- package/ace-app-manager-ui/src/components/pages/AppEnter.vue +358 -0
- package/ace-app-manager-ui/src/components/pages/PageEnter.vue +227 -0
- package/ace-app-manager-ui/src/components/pages/components/topBar.vue +93 -0
- package/ace-app-manager-ui/src/components/realmPicker/index.ts +3 -0
- package/ace-app-manager-ui/src/components/realmPicker/src/RealmPicker.vue +194 -0
- package/ace-app-manager-ui/src/components/realmPicker/src/components/RealmEditor.vue +149 -0
- package/ace-app-manager-ui/src/components/roleSelector/index.ts +3 -0
- package/ace-app-manager-ui/src/components/roleSelector/src/RoleMultiSelector.vue +194 -0
- package/ace-app-manager-ui/src/components/settingValueEditor/ValueEditor.vue +180 -0
- package/ace-app-manager-ui/src/components/subPage/index.ts +3 -0
- package/ace-app-manager-ui/src/components/subPage/src/SubPage.vue +90 -0
- package/ace-app-manager-ui/src/components/userGroupSelector/index.ts +3 -0
- package/ace-app-manager-ui/src/components/userGroupSelector/src/UserGroupMultiSelector.vue +131 -0
- package/ace-app-manager-ui/src/hooks/useAppState.ts +31 -0
- package/ace-app-manager-ui/src/hooks/useDateFormats.ts +34 -0
- package/ace-app-manager-ui/src/hooks/usePageSize.ts +1 -0
- package/ace-app-manager-ui/src/hooks/useRealms.ts +27 -0
- package/ace-app-manager-ui/src/hooks/useUserQuery.ts +133 -0
- package/ace-app-manager-ui/src/init.ts +18 -0
- package/ace-app-manager-ui/src/locales/lang/en/common.json +3 -0
- package/ace-app-manager-ui/src/locales/lang/en/errors.json +42 -0
- package/ace-app-manager-ui/src/locales/lang/en.ts +14 -0
- package/ace-app-manager-ui/src/locales/lang/zh-CN/common.json +218 -0
- package/ace-app-manager-ui/src/locales/lang/zh-CN/errors.json +42 -0
- package/ace-app-manager-ui/src/locales/lang/zh-CN.ts +13 -0
- package/ace-app-manager-ui/src/locales/setupI18n.ts +14 -0
- package/ace-app-manager-ui/src/main.ts +114 -0
- package/ace-app-manager-ui/src/public-path.js +10 -0
- package/ace-app-manager-ui/src/router/index.ts +33 -0
- package/ace-app-manager-ui/src/router/modules/appRoutes.ts +24 -0
- package/ace-app-manager-ui/src/router/modules/demoRoutes.ts +22 -0
- package/ace-app-manager-ui/src/router/routes.ts +690 -0
- package/ace-app-manager-ui/src/stores/index.ts +3 -0
- package/ace-app-manager-ui/src/stores/modules/locale.ts +60 -0
- package/ace-app-manager-ui/src/stores/modules/system.ts +51 -0
- package/ace-app-manager-ui/src/types/ext.d.ts +13 -0
- package/ace-app-manager-ui/src/types/style.d.ts +7 -0
- package/ace-app-manager-ui/src/types/window.d.ts +24 -0
- package/ace-app-manager-ui/src/utils/index.ts +7 -0
- package/ace-app-manager-ui/src/utils/vxeTable.ts +58 -0
- package/ace-app-manager-ui/src/vars.scss +12 -0
- package/ace-app-manager-ui/src/views/appManage/AppManage.vue +266 -0
- package/ace-app-manager-ui/src/views/appManage/appInfo/AppInfo.vue +309 -0
- package/ace-app-manager-ui/src/views/appManage/appRelease/AppRelease.vue +181 -0
- package/ace-app-manager-ui/src/views/appManage/appRelease/components/Editor.vue +253 -0
- package/ace-app-manager-ui/src/views/appManage/appRouter/AppRouter.vue +381 -0
- package/ace-app-manager-ui/src/views/appManage/appRouter/base/index.ts +204 -0
- package/ace-app-manager-ui/src/views/appManage/appRouter/components/Editor.vue +368 -0
- package/ace-app-manager-ui/src/views/appManage/appRouter/components/MenuSelector.vue +12 -0
- package/ace-app-manager-ui/src/views/appManage/assignAppAdmin/AssignAppAdmin.vue +231 -0
- package/ace-app-manager-ui/src/views/appManage/assignAppAdmin/components/Editor.vue +135 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/Index.vue +53 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/CommandEditor.vue +209 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/CommandParamEditor.vue +246 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/ConstraintsEditor.vue +239 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/CreateEntityOperationsEditor.vue +90 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/LeftPanel.vue +282 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/RightPanel.vue +249 -0
- package/ace-app-manager-ui/src/views/appManage/components/AppManageLayout.vue +94 -0
- package/ace-app-manager-ui/src/views/appManage/components/GlobalUserGroupSingleSelector.vue +124 -0
- package/ace-app-manager-ui/src/views/appManage/components/SelectRealmForApp.vue +59 -0
- package/ace-app-manager-ui/src/views/appManage/components/ServiceSelector.vue +34 -0
- package/ace-app-manager-ui/src/views/appManage/components/SubMenu.vue +32 -0
- package/ace-app-manager-ui/src/views/appManage/components/UserGroupAuthSFC.vue +453 -0
- package/ace-app-manager-ui/src/views/appManage/components/UserGroupSingleSelector.vue +115 -0
- package/ace-app-manager-ui/src/views/appManage/configDefine/ConfigDefine.vue +392 -0
- package/ace-app-manager-ui/src/views/appManage/configDefine/GroupEditor.vue +133 -0
- package/ace-app-manager-ui/src/views/appManage/configDefine/SettingEditor.vue +231 -0
- package/ace-app-manager-ui/src/views/appManage/dataSourceDefine/DataSourceDefine.vue +198 -0
- package/ace-app-manager-ui/src/views/appManage/dataSourceDefine/createNewDidalog.vue +177 -0
- package/ace-app-manager-ui/src/views/appManage/dataSourceDefine/editDialog.vue +137 -0
- package/ace-app-manager-ui/src/views/appManage/digitalSequence/DigitalSequence.vue +163 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/AppendEntityPropToDtoDlg.vue +351 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/CreateDtoPropFromEntityPropEditor.vue +516 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/CreateFromEntityEditor.vue +217 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/DtoDefine.vue +77 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/DtoEditor.vue +144 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/LeftPanel.vue +283 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/PropertyEditor.vue +586 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/RightPanel.vue +574 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/uilts.ts +108 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/types.ts +42 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/EntityDefine.vue +80 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/AggregateEditor.vue +93 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/EntityEditor.vue +281 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/ImportEditor.vue +329 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/IndexDefinitionEditor.vue +424 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/LeftPanel.vue +343 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/MonacoEditor.vue +1659 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/PropertyEditor.vue +956 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/RightPanel.vue +660 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/monacoEditorType.ts +74 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/uilts.ts +108 -0
- package/ace-app-manager-ui/src/views/appManage/enumDefine/EnumDefine.vue +169 -0
- package/ace-app-manager-ui/src/views/appManage/enumDefine/editDialog.vue +266 -0
- package/ace-app-manager-ui/src/views/appManage/extendedDepartmentAttr/ExtendedDepartmentAttr.vue +272 -0
- package/ace-app-manager-ui/src/views/appManage/extendedDepartmentAttr/components/Editor.vue +267 -0
- package/ace-app-manager-ui/src/views/appManage/extendedUserAttr/ExtendedUserAttr.vue +270 -0
- package/ace-app-manager-ui/src/views/appManage/extendedUserAttr/components/Editor.vue +291 -0
- package/ace-app-manager-ui/src/views/appManage/globalUserGroupAuth/GlobalUserGroupAuth.vue +18 -0
- package/ace-app-manager-ui/src/views/appManage/i18nDefine/BundleEditor.vue +77 -0
- package/ace-app-manager-ui/src/views/appManage/i18nDefine/Editor.vue +78 -0
- package/ace-app-manager-ui/src/views/appManage/i18nDefine/I18nDefine.vue +173 -0
- package/ace-app-manager-ui/src/views/appManage/messageTemplate/Editor.vue +191 -0
- package/ace-app-manager-ui/src/views/appManage/messageTemplate/MessageTemplate.vue +142 -0
- package/ace-app-manager-ui/src/views/appManage/numberTemplate/NumberTemplate.vue +166 -0
- package/ace-app-manager-ui/src/views/appManage/numberTemplate/components/Editor.vue +373 -0
- package/ace-app-manager-ui/src/views/appManage/processDefinition/Editor.vue +168 -0
- package/ace-app-manager-ui/src/views/appManage/processDefinition/ProcessDefinition.vue +362 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/Index.vue +52 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/ConstraintsEditor.vue +239 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/JpqlEditor.vue +229 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/LeftPanel.vue +282 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/QueryEditor.vue +294 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/QueryParamEditor.vue +253 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/RightPanel.vue +247 -0
- package/ace-app-manager-ui/src/views/appManage/registerMessenger/Editor.vue +108 -0
- package/ace-app-manager-ui/src/views/appManage/registerMessenger/RegisterMessenger.vue +127 -0
- package/ace-app-manager-ui/src/views/appManage/registerPassageway/Editor.vue +117 -0
- package/ace-app-manager-ui/src/views/appManage/registerPassageway/RegisterPassageway.vue +150 -0
- package/ace-app-manager-ui/src/views/appManage/registerUpload/RegisterUpload.vue +267 -0
- package/ace-app-manager-ui/src/views/appManage/registerUpload/components/Editor.vue +425 -0
- package/ace-app-manager-ui/src/views/appManage/registerUpload/components/QuotaEditor.vue +202 -0
- package/ace-app-manager-ui/src/views/appManage/registerUpload/components/WebHookEditor.vue +174 -0
- package/ace-app-manager-ui/src/views/appManage/reverseAuth/ReverseAuth.vue +620 -0
- package/ace-app-manager-ui/src/views/appManage/reverseAuth/components/AddRoleUserDialog.vue +59 -0
- package/ace-app-manager-ui/src/views/appManage/reverseAuth/types.d.ts +7 -0
- package/ace-app-manager-ui/src/views/appManage/roleDefine/RoleDefine.vue +272 -0
- package/ace-app-manager-ui/src/views/appManage/roleDefine/components/CompositeRole.vue +195 -0
- package/ace-app-manager-ui/src/views/appManage/roleDefine/components/RoleEditor.vue +161 -0
- package/ace-app-manager-ui/src/views/appManage/roleDefine/components/RoleSelector.vue +135 -0
- package/ace-app-manager-ui/src/views/appManage/serviceManage/AppServiceManage.vue +204 -0
- package/ace-app-manager-ui/src/views/appManage/serviceManage/components/Editor.vue +153 -0
- package/ace-app-manager-ui/src/views/appManage/thirdPartyAppAuth/ThirdPartyAppAuth.vue +178 -0
- package/ace-app-manager-ui/src/views/appManage/types.ts +1 -0
- package/ace-app-manager-ui/src/views/appManage/userAuth/UserAuth.vue +668 -0
- package/ace-app-manager-ui/src/views/appManage/userGroupAuth/UserGroupAuth.vue +18 -0
- package/ace-app-manager-ui/src/views/appManage/userGroupManage/UserGroupManage.vue +326 -0
- package/ace-app-manager-ui/src/views/appManage/userGroupManage/components/Editor.vue +217 -0
- package/ace-app-manager-ui/src/views/appManage/userGroupManage/components/MemberUsers.vue +101 -0
- package/ace-app-manager-ui/src/views/demo/enumPicker/Index.vue +94 -0
- package/ace-app-manager-ui/src/views/demo/enumPicker/components/enumPicker/index.ts +1 -0
- package/ace-app-manager-ui/src/views/demo/enumPicker/components/enumPicker/src/EnumPicker.vue +103 -0
- package/ace-app-manager-ui/src/views/globalManage/GlobalManage.vue +150 -0
- package/ace-app-manager-ui/src/views/globalManage/aboutPlatform/AboutPlatform.vue +7 -0
- package/ace-app-manager-ui/src/views/globalManage/auditLogsManage/AuditLogDetail.vue +127 -0
- package/ace-app-manager-ui/src/views/globalManage/auditLogsManage/AuditLogsManage.vue +387 -0
- package/ace-app-manager-ui/src/views/globalManage/components/ExtendedAttrRender.vue +311 -0
- package/ace-app-manager-ui/src/views/globalManage/departmentManage/DepartmentManage.vue +336 -0
- package/ace-app-manager-ui/src/views/globalManage/departmentManage/RecycleBin.vue +127 -0
- package/ace-app-manager-ui/src/views/globalManage/departmentManage/components/DefaultGroupEditor.vue +191 -0
- package/ace-app-manager-ui/src/views/globalManage/departmentManage/components/Editor.vue +164 -0
- package/ace-app-manager-ui/src/views/globalManage/eventCompensate/Index.vue +189 -0
- package/ace-app-manager-ui/src/views/globalManage/externalAppManage/ExternalAppManage.vue +305 -0
- package/ace-app-manager-ui/src/views/globalManage/externalAppManage/components/Editor.vue +227 -0
- package/ace-app-manager-ui/src/views/globalManage/externalAppManage/components/RenewSecret.vue +91 -0
- package/ace-app-manager-ui/src/views/globalManage/globalSetting/Editor.vue +177 -0
- package/ace-app-manager-ui/src/views/globalManage/globalSetting/GlobalSettingManage.vue +201 -0
- package/ace-app-manager-ui/src/views/globalManage/globalSetting/types.ts +14 -0
- package/ace-app-manager-ui/src/views/globalManage/passwordManage/PasswordManage.vue +224 -0
- package/ace-app-manager-ui/src/views/globalManage/passwordManage/ValueEditor.vue +92 -0
- package/ace-app-manager-ui/src/views/globalManage/sessionManage/SessionManage.vue +251 -0
- package/ace-app-manager-ui/src/views/globalManage/userGroupManage/UserGroupManage.vue +332 -0
- package/ace-app-manager-ui/src/views/globalManage/userGroupManage/components/Editor.vue +160 -0
- package/ace-app-manager-ui/src/views/globalManage/userGroupManage/components/MemberUsers.vue +100 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/RecycleBin.vue +344 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/UserManage.vue +631 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/AttributeEditor.vue +191 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/ClassifiedLevelEditor.vue +79 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/DepartmentEditor.vue +70 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/Editor.vue +475 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/ExpirationEditor.vue +82 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/MaxSessionEditor.vue +76 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/PasswordEditor.vue +107 -0
- package/ace-app-manager-ui/src/views/home/Index.vue +457 -0
- package/ace-app-manager-ui/src/views/home/components/AppEditor.vue +208 -0
- package/ace-app-manager-ui/src/views/home/components/AppManage.vue +252 -0
- package/ace-app-manager-ui/src/views/home/components/FileRepositoryEditor.vue +292 -0
- package/ace-app-manager-ui/src/views/home/components/FileRepositoryManage.vue +246 -0
- package/ace-app-manager-ui/src/vite-env.d.ts +4 -0
- package/ace-app-manager-ui/tsconfig.json +41 -0
- package/ace-app-manager-ui/tsconfig.node.json +15 -0
- package/ace-app-manager-ui/tsconfig.node.tsbuildinfo +1 -0
- package/ace-app-manager-ui/vite.config.d.ts +2 -0
- package/ace-app-manager-ui/vite.config.js +112 -0
- package/ace-app-manager-ui/vite.config.ts +116 -0
- package/ace-app-manager-ui/vue-image-crop-upload.d.ts +1 -0
- package/ace-cloud-shell-ui/.env +2 -0
- package/ace-cloud-shell-ui/.env.development +5 -0
- package/ace-cloud-shell-ui/.env.production +1 -0
- package/ace-cloud-shell-ui/.eslintrc.js +33 -0
- package/ace-cloud-shell-ui/.vscode/extensions.json +6 -0
- package/ace-cloud-shell-ui/.vscode/settings.json +27 -0
- package/ace-cloud-shell-ui/auto-imports.d.ts +9 -0
- package/ace-cloud-shell-ui/components.d.ts +58 -0
- package/ace-cloud-shell-ui/doc/issue.md +6 -0
- package/ace-cloud-shell-ui/index.html +19 -0
- package/ace-cloud-shell-ui/package.json +72 -0
- package/ace-cloud-shell-ui/public/res/build/shell/favicon.ico +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/.keep +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/index.html +156 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.css +2583 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.eot +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.glyph.json +1 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.less +2585 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.module.less +2567 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.scss +5103 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.styl +2554 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.svg +7633 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.symbol.svg +11 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.ttf +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff2 +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/symbol.html +17913 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/tags.json +1364 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/unicode.html +175 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/hidden-right-sidebar.png +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/icon/deliver.svg +1 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/icon/logout.svg +28 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/jari-logo-2.png +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/jari-logo.png +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/public-code.png +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/show-right-sidebar.png +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/svg/shezhi.svg +11 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/svg/tuichu.svg +13 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/svg/xiaoxi.svg +13 -0
- package/ace-cloud-shell-ui/src/App.vue +24 -0
- package/ace-cloud-shell-ui/src/assets/base.css +80 -0
- package/ace-cloud-shell-ui/src/assets/element/index.scss +13 -0
- package/ace-cloud-shell-ui/src/assets/element/var.scss +1123 -0
- package/ace-cloud-shell-ui/src/assets/logo.svg +7 -0
- package/ace-cloud-shell-ui/src/assets/main.scss +128 -0
- package/ace-cloud-shell-ui/src/env.d.ts +14 -0
- package/ace-cloud-shell-ui/src/hooks/useSockJs.ts +146 -0
- package/ace-cloud-shell-ui/src/init.ts +21 -0
- package/ace-cloud-shell-ui/src/layout/Main.vue +160 -0
- package/ace-cloud-shell-ui/src/layout/components/AppMenu.vue +329 -0
- package/ace-cloud-shell-ui/src/layout/components/Fillet.vue +105 -0
- package/ace-cloud-shell-ui/src/layout/components/Sidebar.vue +194 -0
- package/ace-cloud-shell-ui/src/locales/lang/en/common.json +17 -0
- package/ace-cloud-shell-ui/src/locales/lang/en/errors.json +42 -0
- package/ace-cloud-shell-ui/src/locales/lang/en/layout.json +8 -0
- package/ace-cloud-shell-ui/src/locales/lang/en/updatePsw.json +9 -0
- package/ace-cloud-shell-ui/src/locales/lang/en/userProfile.json +3 -0
- package/ace-cloud-shell-ui/src/locales/lang/en.ts +14 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN/common.json +17 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN/errors.json +42 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN/layout.json +8 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN/updatePsw.json +9 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN/userProfile.json +3 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN.ts +14 -0
- package/ace-cloud-shell-ui/src/locales/setupI18n.ts +14 -0
- package/ace-cloud-shell-ui/src/main.ts +130 -0
- package/ace-cloud-shell-ui/src/router/index.ts +107 -0
- package/ace-cloud-shell-ui/src/shims-vue.d.ts +21 -0
- package/ace-cloud-shell-ui/src/stores/modules/accessibleApps.ts +149 -0
- package/ace-cloud-shell-ui/src/stores/modules/app.ts +147 -0
- package/ace-cloud-shell-ui/src/stores/modules/appContext.ts +53 -0
- package/ace-cloud-shell-ui/src/stores/modules/locale.ts +63 -0
- package/ace-cloud-shell-ui/src/stores/modules/oidc.ts +71 -0
- package/ace-cloud-shell-ui/src/stores/modules/system.ts +32 -0
- package/ace-cloud-shell-ui/src/types/ext.d.ts +35 -0
- package/ace-cloud-shell-ui/src/types/router.d.ts +12 -0
- package/ace-cloud-shell-ui/src/types/window.d.ts +15 -0
- package/ace-cloud-shell-ui/src/utils/axios/AceAxios.ts +657 -0
- package/ace-cloud-shell-ui/src/utils/axios/cache.ts +11 -0
- package/ace-cloud-shell-ui/src/utils/axios/index.ts +37 -0
- package/ace-cloud-shell-ui/src/utils/microApp/index.ts +6 -0
- package/ace-cloud-shell-ui/src/views/AboutView.vue +140 -0
- package/ace-cloud-shell-ui/src/views/DlgUpdatePassword.vue +120 -0
- package/ace-cloud-shell-ui/src/views/ExtendedAttrRender.vue +311 -0
- package/ace-cloud-shell-ui/src/views/MicroApp.vue +234 -0
- package/ace-cloud-shell-ui/src/views/UserProfileEditor.vue +303 -0
- package/ace-cloud-shell-ui/src/views/WorkBench.vue +10 -0
- package/ace-cloud-shell-ui/src/views/errors/HttpState404.vue +136 -0
- package/ace-cloud-shell-ui/src/views/errors/NoAppAvailable.vue +16 -0
- package/ace-cloud-shell-ui/src/vite-env.d.ts +3 -0
- package/ace-cloud-shell-ui/tsconfig.app.json +33 -0
- package/ace-cloud-shell-ui/tsconfig.app.tsbuildinfo +1 -0
- package/ace-cloud-shell-ui/tsconfig.config.json +23 -0
- package/ace-cloud-shell-ui/tsconfig.config.tsbuildinfo +1 -0
- package/ace-cloud-shell-ui/tsconfig.json +11 -0
- package/ace-cloud-shell-ui/vbuild/vite/proxy.ts +46 -0
- package/ace-cloud-shell-ui/vite.config.ts +119 -0
- package/ace-cloud-shell-ui/vue-image-crop-upload.d.ts +1 -0
- package/ace-element-plus-component/.babelrc +8 -0
- package/ace-element-plus-component/.env +1 -0
- package/ace-element-plus-component/.env.development +3 -0
- package/ace-element-plus-component/.env.production +1 -0
- package/ace-element-plus-component/.vscode/extensions.json +3 -0
- package/ace-element-plus-component/CHANGE.md +16 -0
- package/ace-element-plus-component/README.md +1 -0
- package/ace-element-plus-component/index.html +14 -0
- package/ace-element-plus-component/index.ts +20 -0
- package/ace-element-plus-component/package.json +72 -0
- package/ace-element-plus-component/packages/components/autoComplete/JaAutoComplete.vue +57 -0
- package/ace-element-plus-component/packages/components/autoComplete/README.md +35 -0
- package/ace-element-plus-component/packages/components/autoComplete/index.ts +5 -0
- package/ace-element-plus-component/packages/components/avatar/JaAvatar.vue +137 -0
- package/ace-element-plus-component/packages/components/avatar/README.md +45 -0
- package/ace-element-plus-component/packages/components/avatar/avatarToken.ts +11 -0
- package/ace-element-plus-component/packages/components/avatar/defaultImg.ts +14 -0
- package/ace-element-plus-component/packages/components/avatar/index.ts +7 -0
- package/ace-element-plus-component/packages/components/button/JaButton.vue +76 -0
- package/ace-element-plus-component/packages/components/button/README.md +57 -0
- package/ace-element-plus-component/packages/components/button/index.ts +4 -0
- package/ace-element-plus-component/packages/components/channelPicker/index.ts +7 -0
- package/ace-element-plus-component/packages/components/channelPicker/src/ChannelPicker.vue +43 -0
- package/ace-element-plus-component/packages/components/channelPicker/src/JaChannelPicker.vue +42 -0
- package/ace-element-plus-component/packages/components/checkbox/JaCheckbox.vue +63 -0
- package/ace-element-plus-component/packages/components/checkbox/README.md +21 -0
- package/ace-element-plus-component/packages/components/checkbox/index.ts +4 -0
- package/ace-element-plus-component/packages/components/checkboxGroup/JaCheckboxGroup.vue +56 -0
- package/ace-element-plus-component/packages/components/checkboxGroup/README.md +24 -0
- package/ace-element-plus-component/packages/components/checkboxGroup/index.ts +4 -0
- package/ace-element-plus-component/packages/components/customGroupTree/index.ts +10 -0
- package/ace-element-plus-component/packages/components/customGroupTree/src/customGroupTree.vue +91 -0
- package/ace-element-plus-component/packages/components/datePicker/JaDatePicker.vue +65 -0
- package/ace-element-plus-component/packages/components/datePicker/README.md +21 -0
- package/ace-element-plus-component/packages/components/datePicker/index.ts +4 -0
- package/ace-element-plus-component/packages/components/departmentPicker/index.ts +4 -0
- package/ace-element-plus-component/packages/components/departmentPicker/src/DepartmentPicker.vue +107 -0
- package/ace-element-plus-component/packages/components/departmentPicker/src/consts.ts +2 -0
- package/ace-element-plus-component/packages/components/departmentTree/index.ts +10 -0
- package/ace-element-plus-component/packages/components/departmentTree/src/departmentTree.vue +135 -0
- package/ace-element-plus-component/packages/components/dropdownButton/JaDropdownButton.vue +77 -0
- package/ace-element-plus-component/packages/components/dropdownButton/README.md +30 -0
- package/ace-element-plus-component/packages/components/dropdownButton/index.ts +4 -0
- package/ace-element-plus-component/packages/components/enumList/EnumListInput.vue +107 -0
- package/ace-element-plus-component/packages/components/enumList/JaEnumList.vue +39 -0
- package/ace-element-plus-component/packages/components/enumList/index.ts +7 -0
- package/ace-element-plus-component/packages/components/enumPicker/index.ts +5 -0
- package/ace-element-plus-component/packages/components/enumPicker/src/EnumPicker.vue +103 -0
- package/ace-element-plus-component/packages/components/flowShell/FlowFormShell.vue +628 -0
- package/ace-element-plus-component/packages/components/flowShell/index.ts +5 -0
- package/ace-element-plus-component/packages/components/form/JaForm.vue +186 -0
- package/ace-element-plus-component/packages/components/form/README.md +30 -0
- package/ace-element-plus-component/packages/components/form/index.ts +5 -0
- package/ace-element-plus-component/packages/components/form/types.ts +4 -0
- package/ace-element-plus-component/packages/components/formItem/JaFormItem.vue +123 -0
- package/ace-element-plus-component/packages/components/formItem/README.md +28 -0
- package/ace-element-plus-component/packages/components/formItem/index.ts +4 -0
- package/ace-element-plus-component/packages/components/index.ts +35 -0
- package/ace-element-plus-component/packages/components/input/JaInput.vue +107 -0
- package/ace-element-plus-component/packages/components/input/README.md +23 -0
- package/ace-element-plus-component/packages/components/input/index.ts +4 -0
- package/ace-element-plus-component/packages/components/inputI18n/I18nBundleEditor.vue +76 -0
- package/ace-element-plus-component/packages/components/inputI18n/InputI18n.vue +152 -0
- package/ace-element-plus-component/packages/components/inputI18n/JaInputI18n.vue +50 -0
- package/ace-element-plus-component/packages/components/inputI18n/index.ts +8 -0
- package/ace-element-plus-component/packages/components/inputNumber/JaInputNumber.vue +79 -0
- package/ace-element-plus-component/packages/components/inputNumber/README.md +21 -0
- package/ace-element-plus-component/packages/components/inputNumber/index.ts +4 -0
- package/ace-element-plus-component/packages/components/mapItemList/JaMapItemList.vue +35 -0
- package/ace-element-plus-component/packages/components/mapItemList/MapItemListInput.vue +191 -0
- package/ace-element-plus-component/packages/components/mapItemList/index.ts +7 -0
- package/ace-element-plus-component/packages/components/numberList/JaNumberList.vue +36 -0
- package/ace-element-plus-component/packages/components/numberList/NumberListInput.vue +111 -0
- package/ace-element-plus-component/packages/components/numberList/index.ts +7 -0
- package/ace-element-plus-component/packages/components/properyPicker/JaPropertyPicker.vue +38 -0
- package/ace-element-plus-component/packages/components/properyPicker/PropertyPicker.vue +310 -0
- package/ace-element-plus-component/packages/components/properyPicker/index.ts +7 -0
- package/ace-element-plus-component/packages/components/radioGroup/JaRadioGroup.vue +61 -0
- package/ace-element-plus-component/packages/components/radioGroup/README.md +24 -0
- package/ace-element-plus-component/packages/components/radioGroup/index.ts +4 -0
- package/ace-element-plus-component/packages/components/rolePicker/RoleCategorySelector.vue +154 -0
- package/ace-element-plus-component/packages/components/rolePicker/RoleEditor.vue +138 -0
- package/ace-element-plus-component/packages/components/rolePicker/RolePicker.vue +44 -0
- package/ace-element-plus-component/packages/components/rolePicker/RolePickerRaw.vue +56 -0
- package/ace-element-plus-component/packages/components/rolePicker/baseRolePicker.vue +84 -0
- package/ace-element-plus-component/packages/components/rolePicker/index.ts +13 -0
- package/ace-element-plus-component/packages/components/scrollbar/README.md +23 -0
- package/ace-element-plus-component/packages/components/scrollbar/Scrollbar.vue +100 -0
- package/ace-element-plus-component/packages/components/scrollbar/index.ts +5 -0
- package/ace-element-plus-component/packages/components/scrollbar/utils.ts +17 -0
- package/ace-element-plus-component/packages/components/select/JaSelect.vue +60 -0
- package/ace-element-plus-component/packages/components/select/README.md +24 -0
- package/ace-element-plus-component/packages/components/select/index.ts +4 -0
- package/ace-element-plus-component/packages/components/stringList/JaStringList.vue +36 -0
- package/ace-element-plus-component/packages/components/stringList/StringListInput.vue +96 -0
- package/ace-element-plus-component/packages/components/stringList/index.ts +7 -0
- package/ace-element-plus-component/packages/components/switch/JaSwitch.vue +61 -0
- package/ace-element-plus-component/packages/components/switch/README.md +21 -0
- package/ace-element-plus-component/packages/components/switch/index.ts +4 -0
- package/ace-element-plus-component/packages/components/timePicker/JaTimePicker.vue +65 -0
- package/ace-element-plus-component/packages/components/timePicker/README.md +21 -0
- package/ace-element-plus-component/packages/components/timePicker/index.ts +5 -0
- package/ace-element-plus-component/packages/components/tip/README.md +20 -0
- package/ace-element-plus-component/packages/components/tip/index.ts +4 -0
- package/ace-element-plus-component/packages/components/tip/src/AceTip.vue +51 -0
- package/ace-element-plus-component/packages/components/upload/FilePreviewer.vue +245 -0
- package/ace-element-plus-component/packages/components/upload/JaUploader.vue +72 -0
- package/ace-element-plus-component/packages/components/upload/README.md +24 -0
- package/ace-element-plus-component/packages/components/upload/index.ts +8 -0
- package/ace-element-plus-component/packages/components/upload/pdf-viewer/PdfViewerModal.vue +32 -0
- package/ace-element-plus-component/packages/components/upload/types.ts +4 -0
- package/ace-element-plus-component/packages/components/upload/uploader-locale-zh-cn.ts +223 -0
- package/ace-element-plus-component/packages/components/upload/uploader.vue +876 -0
- package/ace-element-plus-component/packages/components/userGroupPicker/index.ts +4 -0
- package/ace-element-plus-component/packages/components/userGroupPicker/src/UserGroupPicker.vue +94 -0
- package/ace-element-plus-component/packages/components/userGroupTree/index.ts +10 -0
- package/ace-element-plus-component/packages/components/userGroupTree/src/userGroupTree.vue +193 -0
- package/ace-element-plus-component/packages/components/userPicker/index.ts +10 -0
- package/ace-element-plus-component/packages/components/userPicker/src/CustomGroupManager.vue +189 -0
- package/ace-element-plus-component/packages/components/userPicker/src/JaUserList.vue +328 -0
- package/ace-element-plus-component/packages/components/userPicker/src/JaUserPicker.vue +40 -0
- package/ace-element-plus-component/packages/components/userPicker/src/UserPicker.vue +515 -0
- package/ace-element-plus-component/packages/components/userSelectDialog/index.ts +6 -0
- package/ace-element-plus-component/packages/components/userSelectDialog/src/userSelectDialog.vue +499 -0
- package/ace-element-plus-component/packages/components/userTag/UserInfoTag.vue +419 -0
- package/ace-element-plus-component/packages/components/userTag/index.ts +6 -0
- package/ace-element-plus-component/packages/components/userTag/sharedAxios.ts +8 -0
- package/ace-element-plus-component/packages/directives/auth/index.ts +41 -0
- package/ace-element-plus-component/packages/directives/autofocus/index.ts +29 -0
- package/ace-element-plus-component/packages/directives/index.ts +10 -0
- package/ace-element-plus-component/packages/directives/shortcut/index.ts +192 -0
- package/ace-element-plus-component/packages/hooks/useAppInstances.ts +130 -0
- package/ace-element-plus-component/packages/hooks/useBackendValidations.ts +81 -0
- package/ace-element-plus-component/packages/hooks/useBridage.ts +157 -0
- package/ace-element-plus-component/packages/hooks/useClassificationLevels.ts +86 -0
- package/ace-element-plus-component/packages/hooks/useConstraintProviders.ts +36 -0
- package/ace-element-plus-component/packages/hooks/useDateTimeShortCuts.ts +65 -0
- package/ace-element-plus-component/packages/hooks/useEntities.ts +44 -0
- package/ace-element-plus-component/packages/hooks/useEntityPropDataTypes.ts +37 -0
- package/ace-element-plus-component/packages/hooks/useFileConfigurations.ts +41 -0
- package/ace-element-plus-component/packages/hooks/useGroups.ts +81 -0
- package/ace-element-plus-component/packages/hooks/useNumberTemplates.ts +43 -0
- package/ace-element-plus-component/packages/hooks/useProperties.ts +44 -0
- package/ace-element-plus-component/packages/hooks/useRealms.ts +28 -0
- package/ace-element-plus-component/packages/hooks/useRoleCategories.ts +42 -0
- package/ace-element-plus-component/packages/hooks/useRoles.ts +44 -0
- package/ace-element-plus-component/packages/hooks/useRouteableVisible.ts +35 -0
- package/ace-element-plus-component/packages/hooks/useTreeData.ts +45 -0
- package/ace-element-plus-component/packages/hooks/useUserRefQuery.ts +232 -0
- package/ace-element-plus-component/packages/index.ts +34 -0
- package/ace-element-plus-component/packages/list.json +8 -0
- package/ace-element-plus-component/packages/types/custom.d.ts +13 -0
- package/ace-element-plus-component/packages/types/window.d.ts +16 -0
- package/ace-element-plus-component/packages/utils/formUtils.ts +57 -0
- package/ace-element-plus-component/packages/utils/install.ts +43 -0
- package/ace-element-plus-component/packages/utils/objectUtils.ts +31 -0
- package/ace-element-plus-component/public/vite.svg +1 -0
- package/ace-element-plus-component/theme-style/fonts/iconfont.js +1 -0
- package/ace-element-plus-component/theme-style/fonts/iconfont.json +5196 -0
- package/ace-element-plus-component/theme-style/fonts/iconfont.ttf +0 -0
- package/ace-element-plus-component/theme-style/fonts/iconfont.woff +0 -0
- package/ace-element-plus-component/theme-style/fonts/iconfont.woff2 +0 -0
- package/ace-element-plus-component/theme-style/index.scss +11 -0
- package/ace-element-plus-component/theme-style/styles/element-plus-var.scss +1419 -0
- package/ace-element-plus-component/theme-style/styles/iconfont.css +2979 -0
- package/ace-element-plus-component/theme-style/styles/reset.scss +0 -0
- package/ace-element-plus-component/theme-style/styles/theme-var.scss +72 -0
- package/ace-element-plus-component/theme-style/styles/transition.scss +122 -0
- package/ace-element-plus-component/tsconfig.json +42 -0
- package/ace-element-plus-component/tsconfig.node.json +9 -0
- package/ace-element-plus-component/tsconfig.node.tsbuildinfo +1 -0
- package/ace-element-plus-component/vite.config.d.ts +2 -0
- package/ace-element-plus-component/vite.config.js +55 -0
- package/ace-element-plus-component/vite.config.ts +59 -0
- package/ace-install-system-ui/.env +2 -0
- package/ace-install-system-ui/.env.development +5 -0
- package/ace-install-system-ui/.env.production +1 -0
- package/ace-install-system-ui/.eslintrc.cjs +18 -0
- package/ace-install-system-ui/CHANGE.md +1 -0
- package/ace-install-system-ui/README.md +18 -0
- package/ace-install-system-ui/index.html +13 -0
- package/ace-install-system-ui/lib.zip +0 -0
- package/ace-install-system-ui/package.json +45 -0
- package/ace-install-system-ui/public/images/desktopAppInstall/not-data.svg +1 -0
- package/ace-install-system-ui/public/images/login/Line.png +0 -0
- package/ace-install-system-ui/public/images/login/Path.png +0 -0
- package/ace-install-system-ui/public/images/login/Vector.png +0 -0
- package/ace-install-system-ui/public/images/login/down_line.png +0 -0
- package/ace-install-system-ui/public/images/login/exclamation.png +0 -0
- package/ace-install-system-ui/public/images/login/login_bg_img.png +0 -0
- package/ace-install-system-ui/public/images/title_01.png +0 -0
- package/ace-install-system-ui/public/images/title_02.png +0 -0
- package/ace-install-system-ui/public/images/title_03.png +0 -0
- package/ace-install-system-ui/public/images/title_04.png +0 -0
- package/ace-install-system-ui/public/images/uploader/upload-empty.svg +1 -0
- package/ace-install-system-ui/public/images/uploader/upload-files.svg +1710 -0
- package/ace-install-system-ui/public/logo.svg +1 -0
- package/ace-install-system-ui/public/vite.svg +1 -0
- package/ace-install-system-ui/src/App.vue +7 -0
- package/ace-install-system-ui/src/api/apiCache.ts +25 -0
- package/ace-install-system-ui/src/api/cache.ts +9 -0
- package/ace-install-system-ui/src/api/desktopAppApi.ts +149 -0
- package/ace-install-system-ui/src/api/desktopMachineApi.ts +75 -0
- package/ace-install-system-ui/src/api/loginApi.ts +46 -0
- package/ace-install-system-ui/src/api/taskReportApi.ts +46 -0
- package/ace-install-system-ui/src/assets/vue.svg +1 -0
- package/ace-install-system-ui/src/components/AppsManage/AddApp.vue +283 -0
- package/ace-install-system-ui/src/components/AppsManage/AppForm.vue +321 -0
- package/ace-install-system-ui/src/components/AppsManage/AppManageDrawer.vue +164 -0
- package/ace-install-system-ui/src/components/AppsManage/AppSelector.vue +93 -0
- package/ace-install-system-ui/src/components/AppsManage/AppsManage.vue +441 -0
- package/ace-install-system-ui/src/components/AppsManage/EditAppMetaData.vue +203 -0
- package/ace-install-system-ui/src/components/AppsManage/EnvForm.vue +180 -0
- package/ace-install-system-ui/src/components/AppsManage/IniForm.vue +294 -0
- package/ace-install-system-ui/src/components/AppsManage/UpdateAppForm.vue +218 -0
- package/ace-install-system-ui/src/components/CustomDialog.vue +170 -0
- package/ace-install-system-ui/src/components/HostMachineManage/AddHostMachine.vue +173 -0
- package/ace-install-system-ui/src/components/HostMachineManage/HostMachineManage.vue +509 -0
- package/ace-install-system-ui/src/components/HostMachineManage/HostMachineManageDrawer.vue +143 -0
- package/ace-install-system-ui/src/components/HostMachineManage/MachineSelector.vue +119 -0
- package/ace-install-system-ui/src/components/InstallModuleHeader.vue +36 -0
- package/ace-install-system-ui/src/components/Log/ViewAllLog.vue +175 -0
- package/ace-install-system-ui/src/components/Log/ViewLog.vue +80 -0
- package/ace-install-system-ui/src/components/TaskList/AppInstallTask.vue +33 -0
- package/ace-install-system-ui/src/components/TaskList/AppInstallTaskGroup.vue +152 -0
- package/ace-install-system-ui/src/components/TaskList/AppScanTask.vue +80 -0
- package/ace-install-system-ui/src/components/TaskList/AppUninstallTask.vue +33 -0
- package/ace-install-system-ui/src/components/TaskList/AppUninstallTaskGroup.vue +152 -0
- package/ace-install-system-ui/src/components/TaskList/TaskList.vue +314 -0
- package/ace-install-system-ui/src/components/TaskList/TaskListDrawer.vue +127 -0
- package/ace-install-system-ui/src/components/Uploader/GlobalUploader.vue +297 -0
- package/ace-install-system-ui/src/components/Uploader/Uploader.vue +346 -0
- package/ace-install-system-ui/src/components/WebTerminal/MachineTerminals.vue +187 -0
- package/ace-install-system-ui/src/components/WebTerminal/WebTerminal.vue +136 -0
- package/ace-install-system-ui/src/components/WebTerminal/WebTerminalDialog.vue +80 -0
- package/ace-install-system-ui/src/env.d.ts +15 -0
- package/ace-install-system-ui/src/init.ts +22 -0
- package/ace-install-system-ui/src/locales/lang/en/common.json +17 -0
- package/ace-install-system-ui/src/locales/lang/en/errors.json +40 -0
- package/ace-install-system-ui/src/locales/lang/en/layout.json +7 -0
- package/ace-install-system-ui/src/locales/lang/en.ts +14 -0
- package/ace-install-system-ui/src/locales/lang/zh-CN/common.json +17 -0
- package/ace-install-system-ui/src/locales/lang/zh-CN/errors.json +42 -0
- package/ace-install-system-ui/src/locales/lang/zh-CN/layout.json +7 -0
- package/ace-install-system-ui/src/locales/lang/zh-CN.ts +15 -0
- package/ace-install-system-ui/src/locales/setupI18n.ts +14 -0
- package/ace-install-system-ui/src/main.ts +28 -0
- package/ace-install-system-ui/src/model/Common.ts +8 -0
- package/ace-install-system-ui/src/model/DesktopApp.ts +472 -0
- package/ace-install-system-ui/src/model/TaskLog.ts +64 -0
- package/ace-install-system-ui/src/model/TaskReport.ts +136 -0
- package/ace-install-system-ui/src/pages/Home/Home.vue +307 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/InstallDesktopApp.vue +363 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/DependentApp.vue +138 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep1 copy.vue +232 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep1.vue +577 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep2.vue +267 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep3.vue +176 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/ViewDependencies.vue +74 -0
- package/ace-install-system-ui/src/pages/UninstallDesktopApp.vue +167 -0
- package/ace-install-system-ui/src/router/index.ts +118 -0
- package/ace-install-system-ui/src/stores/index.ts +181 -0
- package/ace-install-system-ui/src/stores/modules/locale.ts +60 -0
- package/ace-install-system-ui/src/styles/main.scss +73 -0
- package/ace-install-system-ui/src/styles/modules/cutom-element-table-cell.scss +33 -0
- package/ace-install-system-ui/src/styles/modules/element-dark-theme.scss +126 -0
- package/ace-install-system-ui/src/styles/modules/task-install-detail.scss +127 -0
- package/ace-install-system-ui/src/styles/modules/var-notused.scss +156 -0
- package/ace-install-system-ui/src/styles/modules/var.scss +151 -0
- package/ace-install-system-ui/src/types/global.d.ts +10 -0
- package/ace-install-system-ui/src/types/shims-vue-simple-uploader.d.ts +4 -0
- package/ace-install-system-ui/src/utils/EventBus.ts +5 -0
- package/ace-install-system-ui/src/utils/axios/AceAxios.ts +535 -0
- package/ace-install-system-ui/src/utils/axios/cache.ts +9 -0
- package/ace-install-system-ui/src/utils/axios/index.ts +35 -0
- package/ace-install-system-ui/src/views/Layout/Layout.vue +140 -0
- package/ace-install-system-ui/src/views/Layout/components/Header.vue +198 -0
- package/ace-install-system-ui/src/views/Login/Login.vue +283 -0
- package/ace-install-system-ui/src/views/NotFound/NotFound.vue +7 -0
- package/ace-install-system-ui/src/views/SignUp/SignUp.vue +204 -0
- package/ace-install-system-ui/src/views/WebSsh.vue +12 -0
- package/ace-install-system-ui/tsconfig.json +24 -0
- package/ace-install-system-ui/tsconfig.node.json +11 -0
- package/ace-install-system-ui/vite.config.ts +114 -0
- package/ace-monolith-shell-ui/.env +3 -0
- package/ace-monolith-shell-ui/.env.development +5 -0
- package/ace-monolith-shell-ui/.env.production +1 -0
- package/ace-monolith-shell-ui/.eslintrc.cjs +15 -0
- package/ace-monolith-shell-ui/.prettierrc.json +8 -0
- package/ace-monolith-shell-ui/.vscode/extensions.json +7 -0
- package/ace-monolith-shell-ui/.vscode/launch.json +22 -0
- package/ace-monolith-shell-ui/.vscode/settings.json +26 -0
- package/ace-monolith-shell-ui/README.md +7 -0
- package/ace-monolith-shell-ui/auto-imports.d.ts +9 -0
- package/ace-monolith-shell-ui/components.d.ts +45 -0
- package/ace-monolith-shell-ui/index.html +20 -0
- package/ace-monolith-shell-ui/package.json +67 -0
- package/ace-monolith-shell-ui/public/res/build/shell/favicon.ico +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/.keep +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/index.html +5348 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.css +2583 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.eot +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.glyph.json +1 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.less +2585 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.module.less +2567 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.scss +5103 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.styl +2554 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.svg +7633 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.symbol.svg +11 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.ttf +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff2 +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/symbol.html +18032 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/tags.json +1364 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/unicode.html +175 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/hidden-right-sidebar.png +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/icon/deliver.svg +1 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/icon/logout.svg +28 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/icon/notification.svg +17 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/jari-logo-2.png +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/jari-logo.png +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/public-code.png +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/show-right-sidebar.png +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/svg/shezhi.svg +11 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/svg/tuichu.svg +13 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/svg/xiaoxi.svg +13 -0
- package/ace-monolith-shell-ui/public/res/build/shell/styles/element-plus.css +1 -0
- package/ace-monolith-shell-ui/src/App.vue +25 -0
- package/ace-monolith-shell-ui/src/assets/base.css +80 -0
- package/ace-monolith-shell-ui/src/assets/element/index.scss +18 -0
- package/ace-monolith-shell-ui/src/assets/element/var.scss +1123 -0
- package/ace-monolith-shell-ui/src/assets/logo.svg +7 -0
- package/ace-monolith-shell-ui/src/assets/main.scss +123 -0
- package/ace-monolith-shell-ui/src/demo/Bridge.vue +176 -0
- package/ace-monolith-shell-ui/src/env.d.ts +17 -0
- package/ace-monolith-shell-ui/src/hooks/useBridge.ts +148 -0
- package/ace-monolith-shell-ui/src/hooks/usePreferences.ts +116 -0
- package/ace-monolith-shell-ui/src/hooks/useSockJs.ts +123 -0
- package/ace-monolith-shell-ui/src/http/AceAxios.ts +645 -0
- package/ace-monolith-shell-ui/src/http/cache.ts +11 -0
- package/ace-monolith-shell-ui/src/http/index.ts +33 -0
- package/ace-monolith-shell-ui/src/init.ts +21 -0
- package/ace-monolith-shell-ui/src/layout/Main.vue +176 -0
- package/ace-monolith-shell-ui/src/layout/components/AppMenu.vue +334 -0
- package/ace-monolith-shell-ui/src/layout/components/Fillet.vue +105 -0
- package/ace-monolith-shell-ui/src/layout/components/Sidebar.vue +213 -0
- package/ace-monolith-shell-ui/src/layout/widgets/notification/Notification.vue +307 -0
- package/ace-monolith-shell-ui/src/locales/lang/en/common.json +17 -0
- package/ace-monolith-shell-ui/src/locales/lang/en/errors.json +42 -0
- package/ace-monolith-shell-ui/src/locales/lang/en/layout.json +8 -0
- package/ace-monolith-shell-ui/src/locales/lang/en/updatePsw.json +9 -0
- package/ace-monolith-shell-ui/src/locales/lang/en/userProfile.json +3 -0
- package/ace-monolith-shell-ui/src/locales/lang/en.ts +14 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN/common.json +17 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN/errors.json +42 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN/layout.json +8 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN/updatePsw.json +9 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN/userProfile.json +3 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN.ts +14 -0
- package/ace-monolith-shell-ui/src/locales/setupI18n.ts +14 -0
- package/ace-monolith-shell-ui/src/main.ts +164 -0
- package/ace-monolith-shell-ui/src/router/index.ts +111 -0
- package/ace-monolith-shell-ui/src/shims-vue.d.ts +22 -0
- package/ace-monolith-shell-ui/src/stores/modules/accessibleApps.ts +149 -0
- package/ace-monolith-shell-ui/src/stores/modules/app.ts +164 -0
- package/ace-monolith-shell-ui/src/stores/modules/appContext.ts +57 -0
- package/ace-monolith-shell-ui/src/stores/modules/auth.ts +65 -0
- package/ace-monolith-shell-ui/src/stores/modules/locale.ts +63 -0
- package/ace-monolith-shell-ui/src/stores/modules/system.ts +41 -0
- package/ace-monolith-shell-ui/src/types/ext.d.ts +13 -0
- package/ace-monolith-shell-ui/src/types/router.d.ts +12 -0
- package/ace-monolith-shell-ui/src/types/window.d.ts +16 -0
- package/ace-monolith-shell-ui/src/views/AboutView.vue +141 -0
- package/ace-monolith-shell-ui/src/views/DlgUpdatePassword.vue +119 -0
- package/ace-monolith-shell-ui/src/views/ExtendedAttrRender.vue +311 -0
- package/ace-monolith-shell-ui/src/views/MicroAppContainer.vue +270 -0
- package/ace-monolith-shell-ui/src/views/UserProfileEditor.vue +303 -0
- package/ace-monolith-shell-ui/src/views/WorkBench.vue +10 -0
- package/ace-monolith-shell-ui/src/views/errors/HttpState404.vue +137 -0
- package/ace-monolith-shell-ui/src/views/errors/NoAppAvailable.vue +16 -0
- package/ace-monolith-shell-ui/src/vite-env.d.ts +3 -0
- package/ace-monolith-shell-ui/tsconfig.app.json +26 -0
- package/ace-monolith-shell-ui/tsconfig.json +11 -0
- package/ace-monolith-shell-ui/tsconfig.node.json +25 -0
- package/ace-monolith-shell-ui/vbuild/vite/proxy.ts +47 -0
- package/ace-monolith-shell-ui/vite.config.ts +127 -0
- package/ace-monolith-shell-ui/vue-image-crop-upload.d.ts +1 -0
- package/ace-vue-frame/.env +2 -0
- package/ace-vue-frame/.env.development +1 -0
- package/ace-vue-frame/.env.production +1 -0
- package/ace-vue-frame/.eslintrc.cjs +29 -0
- package/ace-vue-frame/.vscode/extensions.json +3 -0
- package/ace-vue-frame/README.md +18 -0
- package/ace-vue-frame/auto-imports.d.ts +9 -0
- package/ace-vue-frame/components.d.ts +16 -0
- package/ace-vue-frame/folder-alias.json +1 -0
- package/ace-vue-frame/index.html +13 -0
- package/ace-vue-frame/jsconfig.json +13 -0
- package/ace-vue-frame/package.json +30 -0
- package/ace-vue-frame/prettier.config.js +17 -0
- package/ace-vue-frame/public/vite.svg +1 -0
- package/ace-vue-frame/src/App.vue +30 -0
- package/ace-vue-frame/src/api/demo.ts +24 -0
- package/ace-vue-frame/src/assets/vue.svg +1 -0
- package/ace-vue-frame/src/components/HelloWorld.vue +38 -0
- package/ace-vue-frame/src/main.ts +38 -0
- package/ace-vue-frame/src/router/index.ts +18 -0
- package/ace-vue-frame/src/router/routes.ts +7 -0
- package/ace-vue-frame/src/router/whiteList.ts +4 -0
- package/ace-vue-frame/src/stores/index.ts +3 -0
- package/ace-vue-frame/src/stores/modules/main.ts +19 -0
- package/ace-vue-frame/src/style.css +80 -0
- package/ace-vue-frame/src/types/ext.d.ts +13 -0
- package/ace-vue-frame/src/types/style.d.ts +7 -0
- package/ace-vue-frame/src/types/window.d.ts +16 -0
- package/ace-vue-frame/src/utils/axios/index.ts +20 -0
- package/ace-vue-frame/src/utils/index.ts +7 -0
- package/ace-vue-frame/src/vite-env.d.ts +1 -0
- package/ace-vue-frame/tsconfig.json +52 -0
- package/ace-vue-frame/tsconfig.node.json +10 -0
- package/ace-vue-frame/vite.config.ts +75 -0
- package/folder-alias.json +1 -0
- package/frontends.code-workspace +10 -0
- package/package.json +35 -0
- package/pnpm-workspace.yaml +11 -0
- package/pom.xml +114 -0
|
@@ -0,0 +1,4145 @@
|
|
|
1
|
+
import type { EntityBase } from "../EntityBase";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* IndexPropertyLinkDTO
|
|
5
|
+
*/
|
|
6
|
+
export interface IndexPropertyLink {
|
|
7
|
+
/**
|
|
8
|
+
* 属性引用
|
|
9
|
+
*/
|
|
10
|
+
property: PropertyDefinitionReference;
|
|
11
|
+
/**
|
|
12
|
+
* 是否降序
|
|
13
|
+
*/
|
|
14
|
+
descending: boolean;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* IndexDefinitionDTO
|
|
19
|
+
*/
|
|
20
|
+
export interface IndexDefinition extends EntityBase {
|
|
21
|
+
/**
|
|
22
|
+
* 索引名称
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* 实体引用
|
|
27
|
+
*/
|
|
28
|
+
entity: EntityDefinitionReference;
|
|
29
|
+
/**
|
|
30
|
+
* 索引属性链接
|
|
31
|
+
*/
|
|
32
|
+
properties: IndexPropertyLink[];
|
|
33
|
+
/**
|
|
34
|
+
* 发布来源
|
|
35
|
+
*/
|
|
36
|
+
releaseSource?: string;
|
|
37
|
+
/**
|
|
38
|
+
* 来源ID
|
|
39
|
+
*/
|
|
40
|
+
sourceId?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* CreateIndexDefinitionCommand
|
|
45
|
+
*/
|
|
46
|
+
export interface CreateIndexDefinitionCommand {
|
|
47
|
+
/**
|
|
48
|
+
* 索引名称
|
|
49
|
+
*/
|
|
50
|
+
name: string;
|
|
51
|
+
/**
|
|
52
|
+
* 实体引用
|
|
53
|
+
*/
|
|
54
|
+
entity: EntityDefinitionReference;
|
|
55
|
+
/**
|
|
56
|
+
* 索引属性链接
|
|
57
|
+
*/
|
|
58
|
+
properties: IndexPropertyLink[];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* UpdateIndexDefinitionCommand
|
|
63
|
+
*/
|
|
64
|
+
export interface UpdateIndexDefinitionCommand extends EntityBase {
|
|
65
|
+
/**
|
|
66
|
+
* 索引名称
|
|
67
|
+
*/
|
|
68
|
+
name: string;
|
|
69
|
+
/**
|
|
70
|
+
* 索引属性链接
|
|
71
|
+
*/
|
|
72
|
+
properties: IndexPropertyLink[];
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* DeleteIndexCommand
|
|
77
|
+
*/
|
|
78
|
+
export interface DeleteIndexCommand extends EntityBase {
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* 创建数据源命令
|
|
84
|
+
*/
|
|
85
|
+
export interface CreateDataSourceCommand {
|
|
86
|
+
/**
|
|
87
|
+
* 应用名
|
|
88
|
+
*/
|
|
89
|
+
appName: string;
|
|
90
|
+
/**
|
|
91
|
+
* 数据源所属服务名
|
|
92
|
+
*/
|
|
93
|
+
serviceName: string;
|
|
94
|
+
/**
|
|
95
|
+
* 数据源标识
|
|
96
|
+
*/
|
|
97
|
+
name: string;
|
|
98
|
+
/**
|
|
99
|
+
* 数据库名称
|
|
100
|
+
*/
|
|
101
|
+
databaseType: string;
|
|
102
|
+
/**
|
|
103
|
+
* 是否创建新库(在数据库中执行新建schema命令)
|
|
104
|
+
*/
|
|
105
|
+
createNew: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* 是否只读库
|
|
108
|
+
*/
|
|
109
|
+
readonly: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* 数据库创建属性参数
|
|
112
|
+
*/
|
|
113
|
+
properties: Record<string, string>;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* 修改数据源
|
|
118
|
+
*/
|
|
119
|
+
export interface UpdateDataSourceCommand extends EntityBase {
|
|
120
|
+
/**
|
|
121
|
+
* 数据源标识
|
|
122
|
+
*/
|
|
123
|
+
name: string;
|
|
124
|
+
/**
|
|
125
|
+
* 数据库类型
|
|
126
|
+
*/
|
|
127
|
+
databaseType: string;
|
|
128
|
+
/**
|
|
129
|
+
* 是否只读库
|
|
130
|
+
*/
|
|
131
|
+
readonly: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* JDBC连接串
|
|
134
|
+
*/
|
|
135
|
+
jdbcUrl: string;
|
|
136
|
+
/**
|
|
137
|
+
* 模式名
|
|
138
|
+
*/
|
|
139
|
+
schemaName: string;
|
|
140
|
+
/**
|
|
141
|
+
* 用户名
|
|
142
|
+
*/
|
|
143
|
+
userName: string;
|
|
144
|
+
/**
|
|
145
|
+
* 密码
|
|
146
|
+
*/
|
|
147
|
+
password: string;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* 数据源定义
|
|
152
|
+
*/
|
|
153
|
+
export interface DataSourceDefinition extends EntityBase {
|
|
154
|
+
/**
|
|
155
|
+
* 数据源标识
|
|
156
|
+
*/
|
|
157
|
+
name: string;
|
|
158
|
+
/**
|
|
159
|
+
* 数据库类型
|
|
160
|
+
*/
|
|
161
|
+
databaseType: string;
|
|
162
|
+
/**
|
|
163
|
+
* 是否只读库
|
|
164
|
+
*/
|
|
165
|
+
readonly: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* JDBC连接串
|
|
168
|
+
*/
|
|
169
|
+
jdbcUrl: string;
|
|
170
|
+
/**
|
|
171
|
+
* 模式名
|
|
172
|
+
*/
|
|
173
|
+
schemaName: string;
|
|
174
|
+
/**
|
|
175
|
+
* 用户名
|
|
176
|
+
*/
|
|
177
|
+
userName: string;
|
|
178
|
+
/**
|
|
179
|
+
* 是否主数据源
|
|
180
|
+
*/
|
|
181
|
+
mainDatasource: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* 此数据源对应的实体类包名
|
|
184
|
+
*/
|
|
185
|
+
packageName: string;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* 数据源引用
|
|
190
|
+
*/
|
|
191
|
+
export interface DataSourceDefinitionReference extends EntityBase {
|
|
192
|
+
/**
|
|
193
|
+
* 数据源标识
|
|
194
|
+
*/
|
|
195
|
+
name: string;
|
|
196
|
+
/**
|
|
197
|
+
* 所属应用名
|
|
198
|
+
*/
|
|
199
|
+
appName: string;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* 数据库模式属性描述符
|
|
204
|
+
*/
|
|
205
|
+
export interface SchemaPropertyDescriptor {
|
|
206
|
+
/**
|
|
207
|
+
* 属性名
|
|
208
|
+
*/
|
|
209
|
+
name: string;
|
|
210
|
+
/**
|
|
211
|
+
* 标题
|
|
212
|
+
*/
|
|
213
|
+
caption: string;
|
|
214
|
+
/**
|
|
215
|
+
* 是否必填
|
|
216
|
+
*/
|
|
217
|
+
required: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* 是否密码
|
|
220
|
+
*/
|
|
221
|
+
isPassword: boolean;
|
|
222
|
+
/**
|
|
223
|
+
* 正则验证表达式
|
|
224
|
+
*/
|
|
225
|
+
regex: string;
|
|
226
|
+
/**
|
|
227
|
+
* 验证师表消息
|
|
228
|
+
*/
|
|
229
|
+
errorMessage: string;
|
|
230
|
+
/**
|
|
231
|
+
* 默认值
|
|
232
|
+
*/
|
|
233
|
+
defaultValue: string;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* 枚举定义
|
|
238
|
+
*/
|
|
239
|
+
export interface EnumDefinition {
|
|
240
|
+
/**
|
|
241
|
+
* 应用名
|
|
242
|
+
*/
|
|
243
|
+
appName: string;
|
|
244
|
+
/**
|
|
245
|
+
* 服务名
|
|
246
|
+
*/
|
|
247
|
+
serviceName: string;
|
|
248
|
+
/**
|
|
249
|
+
* 实体名
|
|
250
|
+
*/
|
|
251
|
+
name: string;
|
|
252
|
+
/**
|
|
253
|
+
* 标题
|
|
254
|
+
*/
|
|
255
|
+
caption: string;
|
|
256
|
+
/**
|
|
257
|
+
* 备注
|
|
258
|
+
*/
|
|
259
|
+
comment: string;
|
|
260
|
+
/**
|
|
261
|
+
* 下辖枚举值
|
|
262
|
+
*/
|
|
263
|
+
values: EnumValueDefinition[];
|
|
264
|
+
|
|
265
|
+
id: string;
|
|
266
|
+
dataVersion: number;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* 枚举值定义
|
|
271
|
+
*/
|
|
272
|
+
export interface EnumValueDefinition {
|
|
273
|
+
/**
|
|
274
|
+
* 排序序号
|
|
275
|
+
*/
|
|
276
|
+
sortIndex: number;
|
|
277
|
+
/**
|
|
278
|
+
* 枚举值,必须使用大写加下划线的规范,用于生成代码
|
|
279
|
+
*/
|
|
280
|
+
value: string;
|
|
281
|
+
/**
|
|
282
|
+
* 枚举值标题
|
|
283
|
+
*/
|
|
284
|
+
text: string;
|
|
285
|
+
/**
|
|
286
|
+
* 枚举值的数值型值
|
|
287
|
+
*/
|
|
288
|
+
numValue?: number;
|
|
289
|
+
/**
|
|
290
|
+
* 主键
|
|
291
|
+
*/
|
|
292
|
+
id: string;
|
|
293
|
+
/**
|
|
294
|
+
* 数据版本
|
|
295
|
+
*/
|
|
296
|
+
dataVersion: number;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* 枚举定义引用
|
|
301
|
+
*/
|
|
302
|
+
export interface EnumDefinitionReference extends EntityBase {
|
|
303
|
+
/**
|
|
304
|
+
* 枚举名(代码)
|
|
305
|
+
*/
|
|
306
|
+
name: string;
|
|
307
|
+
/**
|
|
308
|
+
* 枚举标题
|
|
309
|
+
*/
|
|
310
|
+
caption: string;
|
|
311
|
+
/**
|
|
312
|
+
* 枚举值定义
|
|
313
|
+
*/
|
|
314
|
+
values: EnumValueDefinition[];
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* 创建枚举值命令
|
|
319
|
+
*/
|
|
320
|
+
export interface CreateEnumValueCommand {
|
|
321
|
+
/**
|
|
322
|
+
* 排序序号
|
|
323
|
+
*/
|
|
324
|
+
sortIndex: number;
|
|
325
|
+
/**
|
|
326
|
+
* 枚举值,必须使用大写加下划线的规范,用于生成代码
|
|
327
|
+
*/
|
|
328
|
+
value: string;
|
|
329
|
+
/**
|
|
330
|
+
* 枚举值标题
|
|
331
|
+
*/
|
|
332
|
+
text?: string;
|
|
333
|
+
/**
|
|
334
|
+
* 枚举值的数值型值
|
|
335
|
+
*/
|
|
336
|
+
numValue?: number;
|
|
337
|
+
/**
|
|
338
|
+
* 所属枚举
|
|
339
|
+
*/
|
|
340
|
+
enumDefinition?: EnumDefinitionReference;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* 创建枚举命令
|
|
345
|
+
*/
|
|
346
|
+
export interface CreateEnumCommand {
|
|
347
|
+
/**
|
|
348
|
+
* 应用名
|
|
349
|
+
*/
|
|
350
|
+
appName: string;
|
|
351
|
+
/**
|
|
352
|
+
* 服务名
|
|
353
|
+
*/
|
|
354
|
+
serviceName: string;
|
|
355
|
+
/**
|
|
356
|
+
* 实体名
|
|
357
|
+
*/
|
|
358
|
+
name: string;
|
|
359
|
+
/**
|
|
360
|
+
* 标题
|
|
361
|
+
*/
|
|
362
|
+
caption: string;
|
|
363
|
+
/**
|
|
364
|
+
* 备注
|
|
365
|
+
*/
|
|
366
|
+
comment?: string;
|
|
367
|
+
/**
|
|
368
|
+
* 下辖枚举值
|
|
369
|
+
*/
|
|
370
|
+
createdValues?: CreateEnumValueCommand[];
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* 创建枚举值命令
|
|
375
|
+
*/
|
|
376
|
+
export interface UpdateEnumValueCommand extends EntityBase {
|
|
377
|
+
/**
|
|
378
|
+
* 排序序号
|
|
379
|
+
*/
|
|
380
|
+
sortIndex: number;
|
|
381
|
+
/**
|
|
382
|
+
* 枚举值,必须使用大写加下划线的规范,用于生成代码
|
|
383
|
+
*/
|
|
384
|
+
value: string;
|
|
385
|
+
/**
|
|
386
|
+
* 枚举值标题
|
|
387
|
+
*/
|
|
388
|
+
text?: string;
|
|
389
|
+
/**
|
|
390
|
+
* 枚举值的数值型值
|
|
391
|
+
*/
|
|
392
|
+
numValue?: number;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* 修改枚举命令
|
|
397
|
+
*/
|
|
398
|
+
export interface UpdateEnumCommand extends EntityBase {
|
|
399
|
+
/**
|
|
400
|
+
* 实体名
|
|
401
|
+
*/
|
|
402
|
+
name: string;
|
|
403
|
+
/**
|
|
404
|
+
* 标题
|
|
405
|
+
*/
|
|
406
|
+
caption?: string;
|
|
407
|
+
/**
|
|
408
|
+
* 备注
|
|
409
|
+
*/
|
|
410
|
+
comment?: string;
|
|
411
|
+
/**
|
|
412
|
+
* 创建枚举值
|
|
413
|
+
*/
|
|
414
|
+
createdValues?: CreateEnumValueCommand[];
|
|
415
|
+
/**
|
|
416
|
+
* 修改枚举值
|
|
417
|
+
*/
|
|
418
|
+
updatedValues?: UpdateEnumValueCommand[];
|
|
419
|
+
/**
|
|
420
|
+
* 删除枚举值
|
|
421
|
+
*/
|
|
422
|
+
deletedValues?: EntityBase[];
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* 树结构类型
|
|
427
|
+
*/
|
|
428
|
+
export type TreeStructureType = "NONE" | "PATH_TREE" | "LINK_TREE";
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* 实体定义
|
|
432
|
+
*/
|
|
433
|
+
export interface EntityDefinition extends EntityBase {
|
|
434
|
+
/**
|
|
435
|
+
* 实体名
|
|
436
|
+
*/
|
|
437
|
+
name: string;
|
|
438
|
+
/**
|
|
439
|
+
* 所属的数据源
|
|
440
|
+
*/
|
|
441
|
+
dataSource: DataSourceDefinitionReference;
|
|
442
|
+
/**
|
|
443
|
+
* 标题
|
|
444
|
+
*/
|
|
445
|
+
caption: string;
|
|
446
|
+
/**
|
|
447
|
+
* 备注
|
|
448
|
+
*/
|
|
449
|
+
comment: string;
|
|
450
|
+
/**
|
|
451
|
+
* 表名
|
|
452
|
+
*/
|
|
453
|
+
tableName: string;
|
|
454
|
+
/**
|
|
455
|
+
* 是否不可更改,true表示数据不可更改
|
|
456
|
+
*/
|
|
457
|
+
immutable: boolean;
|
|
458
|
+
/**
|
|
459
|
+
* 实体的树结构类型
|
|
460
|
+
*/
|
|
461
|
+
treeStructure: TreeStructureType;
|
|
462
|
+
/**
|
|
463
|
+
* 树节点路径掩码(路径树)
|
|
464
|
+
*/
|
|
465
|
+
pathTreeNodeMask: string;
|
|
466
|
+
/**
|
|
467
|
+
* 是否可回收实体
|
|
468
|
+
*/
|
|
469
|
+
recyclable: boolean;
|
|
470
|
+
/**
|
|
471
|
+
* 是否添加dataVersion字段,以支持并发乐观锁
|
|
472
|
+
*/
|
|
473
|
+
enableDataVersion: boolean;
|
|
474
|
+
/**
|
|
475
|
+
* 是否自动生成主键
|
|
476
|
+
*/
|
|
477
|
+
autoId: boolean;
|
|
478
|
+
/**
|
|
479
|
+
* 是否涉密数据(添加密级字段)
|
|
480
|
+
*/
|
|
481
|
+
sensitive: boolean;
|
|
482
|
+
/**
|
|
483
|
+
* 支持发布
|
|
484
|
+
*/
|
|
485
|
+
supportPublish: boolean;
|
|
486
|
+
/**
|
|
487
|
+
* 是否导入实体,对于导入实体不生成Liquibase代码
|
|
488
|
+
*/
|
|
489
|
+
imported: boolean;
|
|
490
|
+
/**
|
|
491
|
+
* 是否组织资产
|
|
492
|
+
*/
|
|
493
|
+
orgAssets: boolean;
|
|
494
|
+
/**
|
|
495
|
+
* 是否已发布
|
|
496
|
+
*/
|
|
497
|
+
released?: boolean;
|
|
498
|
+
/**
|
|
499
|
+
* 是否流程表单
|
|
500
|
+
*/
|
|
501
|
+
flowForm: boolean;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* 实体链接
|
|
506
|
+
*/
|
|
507
|
+
export interface EntityDefinitionReference extends EntityBase {
|
|
508
|
+
/**
|
|
509
|
+
* 实体名
|
|
510
|
+
*/
|
|
511
|
+
name: string;
|
|
512
|
+
/**
|
|
513
|
+
* 标题
|
|
514
|
+
*/
|
|
515
|
+
caption: string;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* 属性值数据类型
|
|
520
|
+
*/
|
|
521
|
+
export type PropertyDataType =
|
|
522
|
+
| "STRING"
|
|
523
|
+
| "BOOLEAN"
|
|
524
|
+
| "DATE"
|
|
525
|
+
| "DATETIME"
|
|
526
|
+
| "TIME"
|
|
527
|
+
| "INTEGER"
|
|
528
|
+
| "LONG"
|
|
529
|
+
| "ENUM"
|
|
530
|
+
| "ENTITY"
|
|
531
|
+
| "CLOB"
|
|
532
|
+
| "BLOB"
|
|
533
|
+
| "SHORT"
|
|
534
|
+
| "DECIMAL"
|
|
535
|
+
| "CHAR"
|
|
536
|
+
| "BYTE"
|
|
537
|
+
| "ATTACHMENT"
|
|
538
|
+
| "AUTO_NUMBER"
|
|
539
|
+
| "I18N_STRING";
|
|
540
|
+
|
|
541
|
+
export type PropertyDataTypes = Partial<Record<PropertyDataType, string>>;
|
|
542
|
+
/**
|
|
543
|
+
* 集合属性类型
|
|
544
|
+
*/
|
|
545
|
+
export type PropertyCollectionType = "NONE" | "LIST" | "SET" | "MAP";
|
|
546
|
+
/**
|
|
547
|
+
* MAP类型属性的Key类型
|
|
548
|
+
*/
|
|
549
|
+
export type PropertyMapDataKeyType =
|
|
550
|
+
| "STRING"
|
|
551
|
+
| "BOOLEAN"
|
|
552
|
+
| "INTEGER"
|
|
553
|
+
| "LONG"
|
|
554
|
+
| "ENUM"
|
|
555
|
+
| "SHORT"
|
|
556
|
+
| "DECIMAL"
|
|
557
|
+
| "CHAR"
|
|
558
|
+
| "BYTE";
|
|
559
|
+
/**
|
|
560
|
+
* 实体级联操作类型
|
|
561
|
+
*/
|
|
562
|
+
export type PropertyCascadeType = "ALL" | "PERSIST" | "MERGE" | "REMOVE" | "REFRESH" | "DETACH";
|
|
563
|
+
/**
|
|
564
|
+
* 实体关系类型
|
|
565
|
+
*/
|
|
566
|
+
export type PropertyRelationMode = "ONE_TO_ONE" | "MANY_TO_ONE" | "ONE_TO_MANY";
|
|
567
|
+
/**
|
|
568
|
+
* 排序类型
|
|
569
|
+
*/
|
|
570
|
+
export type PropertyOrderByDirection = "NONE" | "ASC" | "DESC";
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* 实体定义
|
|
574
|
+
*/
|
|
575
|
+
export interface PropertyDefinition extends EntityBase {
|
|
576
|
+
/**
|
|
577
|
+
* 所属实体
|
|
578
|
+
*/
|
|
579
|
+
entity: EntityDefinitionReference;
|
|
580
|
+
/**
|
|
581
|
+
* 属性名
|
|
582
|
+
*/
|
|
583
|
+
name: string;
|
|
584
|
+
/**
|
|
585
|
+
* 存储列名
|
|
586
|
+
*/
|
|
587
|
+
columnName: string;
|
|
588
|
+
/**
|
|
589
|
+
* 标题
|
|
590
|
+
*/
|
|
591
|
+
caption: string;
|
|
592
|
+
/**
|
|
593
|
+
* 备注
|
|
594
|
+
*/
|
|
595
|
+
comment?: string;
|
|
596
|
+
/**
|
|
597
|
+
* 数据类型
|
|
598
|
+
*/
|
|
599
|
+
dataType: PropertyDataType;
|
|
600
|
+
/**
|
|
601
|
+
* 属性值的集合类型
|
|
602
|
+
*/
|
|
603
|
+
collectionType: PropertyCollectionType;
|
|
604
|
+
/**
|
|
605
|
+
* 表名
|
|
606
|
+
*/
|
|
607
|
+
collectionTableName?: string;
|
|
608
|
+
/**
|
|
609
|
+
* 键类型
|
|
610
|
+
*/
|
|
611
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
612
|
+
/**
|
|
613
|
+
* Map键的枚举类型
|
|
614
|
+
*/
|
|
615
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
616
|
+
/**
|
|
617
|
+
* 键列名
|
|
618
|
+
*/
|
|
619
|
+
mapKeyColumnName?: string;
|
|
620
|
+
/**
|
|
621
|
+
* dataType为实体的属性引用的实体类型
|
|
622
|
+
*/
|
|
623
|
+
entityType?: EntityDefinitionReference;
|
|
624
|
+
/**
|
|
625
|
+
* 一对多双向关系中对方的关联属性
|
|
626
|
+
*/
|
|
627
|
+
mappedByProperty?: PropertyDefinitionReference;
|
|
628
|
+
/**
|
|
629
|
+
* 枚举类型属性引用的枚举类型
|
|
630
|
+
*/
|
|
631
|
+
enumType?: EnumDefinitionReference;
|
|
632
|
+
/**
|
|
633
|
+
* 对关联实体的级联操作
|
|
634
|
+
*/
|
|
635
|
+
cascadeType?: PropertyCascadeType[];
|
|
636
|
+
/**
|
|
637
|
+
* 是否删除孤立
|
|
638
|
+
*/
|
|
639
|
+
orphanRemoval?: boolean;
|
|
640
|
+
/**
|
|
641
|
+
* 关联方式
|
|
642
|
+
*/
|
|
643
|
+
relationMode?: PropertyRelationMode;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* 非实体集合是否保持有序
|
|
647
|
+
*/
|
|
648
|
+
orderedCollection: boolean;
|
|
649
|
+
/**
|
|
650
|
+
* 有序集合类型,并且元素为实体类型,使用OrderBy指定排序字段
|
|
651
|
+
*/
|
|
652
|
+
orderByDescriptors?: OrderByDescriptor[];
|
|
653
|
+
/**
|
|
654
|
+
* 属性上定义的约束
|
|
655
|
+
*/
|
|
656
|
+
constraints?: EntityConstraintDefinition[];
|
|
657
|
+
/**
|
|
658
|
+
* 能否为空
|
|
659
|
+
*/
|
|
660
|
+
notNull: boolean;
|
|
661
|
+
/**
|
|
662
|
+
* 是否主键
|
|
663
|
+
*/
|
|
664
|
+
primaryKey: boolean;
|
|
665
|
+
/**
|
|
666
|
+
* 文本类型长度
|
|
667
|
+
*/
|
|
668
|
+
size?: number;
|
|
669
|
+
/**
|
|
670
|
+
* 附件配置标识
|
|
671
|
+
*/
|
|
672
|
+
attachConfigKey?: string;
|
|
673
|
+
/**
|
|
674
|
+
* 编码模版名称
|
|
675
|
+
*/
|
|
676
|
+
numberTemplateName?: string;
|
|
677
|
+
/**
|
|
678
|
+
* 拥有读取权限的角色
|
|
679
|
+
*/
|
|
680
|
+
readRole?: string;
|
|
681
|
+
/**
|
|
682
|
+
* 拥有修改权限的角色
|
|
683
|
+
*/
|
|
684
|
+
writeRole?: string;
|
|
685
|
+
/**
|
|
686
|
+
* 是否树区分属性
|
|
687
|
+
*/
|
|
688
|
+
treeDiscriminator?: boolean;
|
|
689
|
+
/**
|
|
690
|
+
* 默认值
|
|
691
|
+
*/
|
|
692
|
+
defaultValue?: string;
|
|
693
|
+
/**
|
|
694
|
+
* 配置项发布源
|
|
695
|
+
*/
|
|
696
|
+
releaseSource: string;
|
|
697
|
+
/**
|
|
698
|
+
* 配置项在发布源的ID
|
|
699
|
+
*/
|
|
700
|
+
sourceId: string;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* 实体属性投影类型
|
|
705
|
+
*/
|
|
706
|
+
export interface ProjectedPropertyDefinition extends EntityBase {
|
|
707
|
+
/**
|
|
708
|
+
* 属性名
|
|
709
|
+
*/
|
|
710
|
+
name: string;
|
|
711
|
+
/**
|
|
712
|
+
* 属性标题
|
|
713
|
+
*/
|
|
714
|
+
caption: string;
|
|
715
|
+
/**
|
|
716
|
+
* 数据类型
|
|
717
|
+
*/
|
|
718
|
+
dataType: PropertyDataType;
|
|
719
|
+
/**
|
|
720
|
+
* 集合类型
|
|
721
|
+
*/
|
|
722
|
+
collectionType: PropertyCollectionType;
|
|
723
|
+
/**
|
|
724
|
+
* 数据类型为实体的实体类型
|
|
725
|
+
*/
|
|
726
|
+
entityType?: EntityDefinitionReference;
|
|
727
|
+
/**
|
|
728
|
+
* 实体注释
|
|
729
|
+
*/
|
|
730
|
+
comment?: string;
|
|
731
|
+
/**
|
|
732
|
+
* 是否主键
|
|
733
|
+
*/
|
|
734
|
+
primaryKey: boolean;
|
|
735
|
+
/**
|
|
736
|
+
* 能否为空
|
|
737
|
+
*/
|
|
738
|
+
notNull: boolean;
|
|
739
|
+
/**
|
|
740
|
+
* 是否内置
|
|
741
|
+
*/
|
|
742
|
+
builtIn: boolean;
|
|
743
|
+
/**
|
|
744
|
+
* 配置项发布源
|
|
745
|
+
*/
|
|
746
|
+
releaseSource?: string;
|
|
747
|
+
/**
|
|
748
|
+
* 配置项在发布源的ID
|
|
749
|
+
*/
|
|
750
|
+
sourceId?: string;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* 实体属性引用
|
|
755
|
+
*/
|
|
756
|
+
export interface PropertyDefinitionReference extends EntityBase {
|
|
757
|
+
/**
|
|
758
|
+
* 属性名
|
|
759
|
+
*/
|
|
760
|
+
name: string;
|
|
761
|
+
/**
|
|
762
|
+
* 属性标题
|
|
763
|
+
*/
|
|
764
|
+
caption: string;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* 排序定义描述符
|
|
769
|
+
*/
|
|
770
|
+
export interface OrderByDescriptor extends EntityBase {
|
|
771
|
+
/**
|
|
772
|
+
* 排序号
|
|
773
|
+
*/
|
|
774
|
+
sortIndex: number;
|
|
775
|
+
/**
|
|
776
|
+
* 作用于的集合属性
|
|
777
|
+
*/
|
|
778
|
+
definedOnProperty?: PropertyDefinitionReference;
|
|
779
|
+
/**
|
|
780
|
+
* 排序字段
|
|
781
|
+
*/
|
|
782
|
+
orderByProperty?: string;
|
|
783
|
+
/**
|
|
784
|
+
* 排序方向
|
|
785
|
+
*/
|
|
786
|
+
direction: PropertyOrderByDirection;
|
|
787
|
+
/**
|
|
788
|
+
* 配置项发布源
|
|
789
|
+
*/
|
|
790
|
+
releaseSource: string;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* 实体约束定义
|
|
795
|
+
*/
|
|
796
|
+
export interface EntityConstraintDefinition extends EntityBase {
|
|
797
|
+
/**
|
|
798
|
+
* 约束名称
|
|
799
|
+
*/
|
|
800
|
+
constraintName: string;
|
|
801
|
+
/**
|
|
802
|
+
* 受约束的实体属性
|
|
803
|
+
*/
|
|
804
|
+
properties: PropertyDefinitionReference[];
|
|
805
|
+
/**
|
|
806
|
+
* 约束属性值
|
|
807
|
+
*/
|
|
808
|
+
constraintParameters: Record<string, any>;
|
|
809
|
+
/**
|
|
810
|
+
* 违反约束后的错误信息
|
|
811
|
+
*/
|
|
812
|
+
message: string;
|
|
813
|
+
/**
|
|
814
|
+
* 验证器payload
|
|
815
|
+
*/
|
|
816
|
+
payloads: string[];
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* groups
|
|
820
|
+
*/
|
|
821
|
+
groups: string[];
|
|
822
|
+
/**
|
|
823
|
+
* 配置项发布源
|
|
824
|
+
*/
|
|
825
|
+
releaseSource: string;
|
|
826
|
+
/**
|
|
827
|
+
* 配置项在发布源的ID
|
|
828
|
+
*/
|
|
829
|
+
sourceId: string;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* 创建提示命令
|
|
834
|
+
*/
|
|
835
|
+
export interface CreateEntityCommand {
|
|
836
|
+
/**
|
|
837
|
+
* 所属聚合
|
|
838
|
+
*/
|
|
839
|
+
aggregate?: AggregateDefinitionReference;
|
|
840
|
+
/**
|
|
841
|
+
* 数据源
|
|
842
|
+
*/
|
|
843
|
+
dataSource: DataSourceDefinitionReference;
|
|
844
|
+
/**
|
|
845
|
+
* 实体名
|
|
846
|
+
*/
|
|
847
|
+
name: string;
|
|
848
|
+
/**
|
|
849
|
+
* 标题
|
|
850
|
+
*/
|
|
851
|
+
caption: string;
|
|
852
|
+
/**
|
|
853
|
+
* 备注
|
|
854
|
+
*/
|
|
855
|
+
comment: string;
|
|
856
|
+
/**
|
|
857
|
+
* 表名
|
|
858
|
+
*/
|
|
859
|
+
tableName: string;
|
|
860
|
+
/**
|
|
861
|
+
* 是否不可更改,true表示数据不可更改
|
|
862
|
+
*/
|
|
863
|
+
immutable: boolean;
|
|
864
|
+
/**
|
|
865
|
+
* 实体的树结构类型
|
|
866
|
+
*/
|
|
867
|
+
treeStructure: TreeStructureType;
|
|
868
|
+
/**
|
|
869
|
+
* 树节点路径掩码(路径树)
|
|
870
|
+
*/
|
|
871
|
+
pathTreeNodeMask: string;
|
|
872
|
+
/**
|
|
873
|
+
* 是否可回收实体
|
|
874
|
+
*/
|
|
875
|
+
recyclable: boolean;
|
|
876
|
+
/**
|
|
877
|
+
* 是否添加dataVersion字段,以支持并发乐观锁
|
|
878
|
+
*/
|
|
879
|
+
enableDataVersion: boolean;
|
|
880
|
+
/**
|
|
881
|
+
* 是否自动生成主键
|
|
882
|
+
*/
|
|
883
|
+
autoId: boolean;
|
|
884
|
+
/**
|
|
885
|
+
* 是否涉密数据(添加密级字段)
|
|
886
|
+
*/
|
|
887
|
+
sensitive: boolean;
|
|
888
|
+
/**
|
|
889
|
+
* 是否导入实体,对于导入实体不生成Liquibase代码
|
|
890
|
+
*/
|
|
891
|
+
imported: boolean;
|
|
892
|
+
/**
|
|
893
|
+
* 是否组织资产
|
|
894
|
+
*/
|
|
895
|
+
orgAssets: boolean;
|
|
896
|
+
/**
|
|
897
|
+
* 支持发布
|
|
898
|
+
*/
|
|
899
|
+
supportPublish: boolean;
|
|
900
|
+
/**
|
|
901
|
+
* 是否流程表单
|
|
902
|
+
*/
|
|
903
|
+
flowForm: boolean;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* 修改实体命令
|
|
908
|
+
*/
|
|
909
|
+
export interface UpdateEntityCommand extends EntityBase {
|
|
910
|
+
/**
|
|
911
|
+
* 所属聚合
|
|
912
|
+
*/
|
|
913
|
+
aggregate?: AggregateDefinitionReference;
|
|
914
|
+
/**
|
|
915
|
+
* 实体名
|
|
916
|
+
*/
|
|
917
|
+
name: string;
|
|
918
|
+
/**
|
|
919
|
+
* 标题
|
|
920
|
+
*/
|
|
921
|
+
caption: string;
|
|
922
|
+
/**
|
|
923
|
+
* 备注
|
|
924
|
+
*/
|
|
925
|
+
comment: string;
|
|
926
|
+
/**
|
|
927
|
+
* 表名
|
|
928
|
+
*/
|
|
929
|
+
tableName: string;
|
|
930
|
+
/**
|
|
931
|
+
* 是否不可更改,true表示数据不可更改
|
|
932
|
+
*/
|
|
933
|
+
immutable: boolean;
|
|
934
|
+
/**
|
|
935
|
+
* 树节点路径掩码(路径树)
|
|
936
|
+
*/
|
|
937
|
+
pathTreeNodeMask: string;
|
|
938
|
+
/**
|
|
939
|
+
* 是否涉密数据(添加密级字段)
|
|
940
|
+
*/
|
|
941
|
+
sensitive: boolean;
|
|
942
|
+
/**
|
|
943
|
+
* 是否导入实体,对于导入实体不生成Liquibase代码
|
|
944
|
+
*/
|
|
945
|
+
imported: boolean;
|
|
946
|
+
/**
|
|
947
|
+
* 是否组织资产
|
|
948
|
+
*/
|
|
949
|
+
orgAssets: boolean;
|
|
950
|
+
/**
|
|
951
|
+
* 是否流程表单
|
|
952
|
+
*/
|
|
953
|
+
flowForm: boolean;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* 创建排序描述符命令
|
|
958
|
+
*/
|
|
959
|
+
export interface CreateOrderByDescriptorCommand {
|
|
960
|
+
/**
|
|
961
|
+
* 排序号
|
|
962
|
+
*/
|
|
963
|
+
sortIndex: number;
|
|
964
|
+
/**
|
|
965
|
+
* 作用于的集合属性
|
|
966
|
+
*/
|
|
967
|
+
definedOnProperty?: PropertyDefinitionReference;
|
|
968
|
+
/**
|
|
969
|
+
* 排序字段
|
|
970
|
+
*/
|
|
971
|
+
orderByProperty: string;
|
|
972
|
+
/**
|
|
973
|
+
* 排序方向
|
|
974
|
+
*/
|
|
975
|
+
direction: PropertyOrderByDirection;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* 更新排序描述符命令
|
|
980
|
+
*/
|
|
981
|
+
export interface UpdateOrderByDescriptorCommand extends EntityBase {
|
|
982
|
+
/**
|
|
983
|
+
* 排序号
|
|
984
|
+
*/
|
|
985
|
+
sortIndex: number;
|
|
986
|
+
/**
|
|
987
|
+
* 作用于的集合属性
|
|
988
|
+
*/
|
|
989
|
+
definedOnProperty: PropertyDefinitionReference;
|
|
990
|
+
/**
|
|
991
|
+
* 排序字段
|
|
992
|
+
*/
|
|
993
|
+
orderByProperty: string;
|
|
994
|
+
/**
|
|
995
|
+
* 排序方向
|
|
996
|
+
*/
|
|
997
|
+
direction: PropertyOrderByDirection;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* 创建实体约束命令
|
|
1002
|
+
*/
|
|
1003
|
+
export interface CreateEntityConstraintCommand {
|
|
1004
|
+
/**
|
|
1005
|
+
* 约束名称
|
|
1006
|
+
*/
|
|
1007
|
+
constraintName: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* 所属的实体定义
|
|
1010
|
+
*/
|
|
1011
|
+
entity: EntityDefinitionReference;
|
|
1012
|
+
/**
|
|
1013
|
+
* 受约束的实体属性
|
|
1014
|
+
*/
|
|
1015
|
+
properties: PropertyDefinitionReference[];
|
|
1016
|
+
/**
|
|
1017
|
+
* 约束属性值
|
|
1018
|
+
*/
|
|
1019
|
+
constraintParameters: Record<string, string>;
|
|
1020
|
+
/**
|
|
1021
|
+
* 违反约束后的错误信息
|
|
1022
|
+
*/
|
|
1023
|
+
message: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* 验证器payload
|
|
1026
|
+
*/
|
|
1027
|
+
payloads?: string[];
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* groups
|
|
1031
|
+
*/
|
|
1032
|
+
groups?: string[];
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
export interface UpdateEntityConstraintCommand extends EntityBase {
|
|
1036
|
+
/**
|
|
1037
|
+
* 约束名称
|
|
1038
|
+
*/
|
|
1039
|
+
constraintName: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* 受约束的实体属性
|
|
1042
|
+
*/
|
|
1043
|
+
properties: PropertyDefinitionReference[];
|
|
1044
|
+
/**
|
|
1045
|
+
* 约束属性值
|
|
1046
|
+
*/
|
|
1047
|
+
constraintParameters: Record<string, string>;
|
|
1048
|
+
/**
|
|
1049
|
+
* 违反约束后的错误信息
|
|
1050
|
+
*/
|
|
1051
|
+
message: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* 验证器payload
|
|
1054
|
+
*/
|
|
1055
|
+
payloads?: string[];
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* groups
|
|
1059
|
+
*/
|
|
1060
|
+
groups?: string[];
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* 创建属性命令
|
|
1065
|
+
*/
|
|
1066
|
+
export interface CreatePropertyCommand {
|
|
1067
|
+
/**
|
|
1068
|
+
* 所属实体
|
|
1069
|
+
*/
|
|
1070
|
+
entity: EntityDefinitionReference;
|
|
1071
|
+
/**
|
|
1072
|
+
* 属性名
|
|
1073
|
+
*/
|
|
1074
|
+
name: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* 存储列名
|
|
1077
|
+
*/
|
|
1078
|
+
columnName?: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* 标题
|
|
1081
|
+
*/
|
|
1082
|
+
caption?: string;
|
|
1083
|
+
/**
|
|
1084
|
+
* 备注
|
|
1085
|
+
*/
|
|
1086
|
+
comment?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* 数据类型
|
|
1089
|
+
*/
|
|
1090
|
+
dataType?: PropertyDataType;
|
|
1091
|
+
/**
|
|
1092
|
+
* 属性值的集合类型
|
|
1093
|
+
*/
|
|
1094
|
+
collectionType?: PropertyCollectionType;
|
|
1095
|
+
/**
|
|
1096
|
+
* 表名
|
|
1097
|
+
*/
|
|
1098
|
+
collectionTableName?: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* 键类型
|
|
1101
|
+
*/
|
|
1102
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* 映射键所属的枚举类型
|
|
1106
|
+
*/
|
|
1107
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
1108
|
+
/**
|
|
1109
|
+
* Map键列名
|
|
1110
|
+
*/
|
|
1111
|
+
mapKeyColumnName?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* dataType为实体的属性引用的实体类型
|
|
1114
|
+
*/
|
|
1115
|
+
entityType?: EntityDefinitionReference;
|
|
1116
|
+
/**
|
|
1117
|
+
* 一对多双向关系中对方的关联属性
|
|
1118
|
+
*/
|
|
1119
|
+
mappedByProperty?: PropertyDefinitionReference;
|
|
1120
|
+
/**
|
|
1121
|
+
* 枚举类型属性引用的枚举类型
|
|
1122
|
+
*/
|
|
1123
|
+
enumType?: EnumDefinitionReference;
|
|
1124
|
+
/**
|
|
1125
|
+
* 对关联实体的级联操作
|
|
1126
|
+
*/
|
|
1127
|
+
cascadeType?: PropertyCascadeType[];
|
|
1128
|
+
/**
|
|
1129
|
+
* 是否自动删除移出集合的孤立实体
|
|
1130
|
+
*/
|
|
1131
|
+
orphanRemoval?: boolean;
|
|
1132
|
+
/**
|
|
1133
|
+
* 关联方式
|
|
1134
|
+
*/
|
|
1135
|
+
relationMode?: PropertyRelationMode;
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* 非实体集合是否保持有序
|
|
1139
|
+
*/
|
|
1140
|
+
orderedCollection: boolean;
|
|
1141
|
+
/**
|
|
1142
|
+
* 有序集合类型,并且元素为实体类型,使用OrderBy指定排序字段
|
|
1143
|
+
*/
|
|
1144
|
+
createdOrderByDescriptors?: CreateOrderByDescriptorCommand[];
|
|
1145
|
+
/**
|
|
1146
|
+
* 属性上定义的约束
|
|
1147
|
+
*/
|
|
1148
|
+
createdConstraints?: CreateEntityConstraintCommand[];
|
|
1149
|
+
/**
|
|
1150
|
+
* 能否为空
|
|
1151
|
+
*/
|
|
1152
|
+
notNull: boolean;
|
|
1153
|
+
/**
|
|
1154
|
+
* 是否主键
|
|
1155
|
+
*/
|
|
1156
|
+
primaryKey: boolean;
|
|
1157
|
+
/**
|
|
1158
|
+
* 文本类型长度
|
|
1159
|
+
*/
|
|
1160
|
+
size?: number;
|
|
1161
|
+
/**
|
|
1162
|
+
* 附件配置标识
|
|
1163
|
+
*/
|
|
1164
|
+
attachConfigKey?: string;
|
|
1165
|
+
/**
|
|
1166
|
+
* 编码模版名称
|
|
1167
|
+
*/
|
|
1168
|
+
numberTemplateName?: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* 拥有读取权限的角色
|
|
1171
|
+
*/
|
|
1172
|
+
readRole?: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* 拥有修改权限的角色
|
|
1175
|
+
*/
|
|
1176
|
+
writeRole?: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* 默认值
|
|
1179
|
+
*/
|
|
1180
|
+
defaultValue?: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* 是否树区分属性
|
|
1183
|
+
*/
|
|
1184
|
+
treeDiscriminator?: boolean;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* 修改属性命令
|
|
1189
|
+
*/
|
|
1190
|
+
export interface UpdatePropertyCommand extends EntityBase {
|
|
1191
|
+
/**
|
|
1192
|
+
* 属性名
|
|
1193
|
+
*/
|
|
1194
|
+
name: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* 存储列名
|
|
1197
|
+
*/
|
|
1198
|
+
columnName?: string;
|
|
1199
|
+
/**
|
|
1200
|
+
* 标题
|
|
1201
|
+
*/
|
|
1202
|
+
caption?: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* 备注
|
|
1205
|
+
*/
|
|
1206
|
+
comment?: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* 数据类型
|
|
1209
|
+
*/
|
|
1210
|
+
dataType?: PropertyDataType;
|
|
1211
|
+
/**
|
|
1212
|
+
* 属性值的集合类型
|
|
1213
|
+
*/
|
|
1214
|
+
collectionType?: PropertyCollectionType;
|
|
1215
|
+
/**
|
|
1216
|
+
* 表名
|
|
1217
|
+
*/
|
|
1218
|
+
collectionTableName?: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* 键类型
|
|
1221
|
+
*/
|
|
1222
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* 映射键所属的枚举类型
|
|
1226
|
+
*/
|
|
1227
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
1228
|
+
/**
|
|
1229
|
+
* Map键列名
|
|
1230
|
+
*/
|
|
1231
|
+
mapKeyColumnName?: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* dataType为实体的属性引用的实体类型
|
|
1234
|
+
*/
|
|
1235
|
+
entityType?: EntityDefinitionReference;
|
|
1236
|
+
/**
|
|
1237
|
+
* 一对多双向关系中对方的关联属性
|
|
1238
|
+
*/
|
|
1239
|
+
mappedByProperty?: PropertyDefinitionReference;
|
|
1240
|
+
/**
|
|
1241
|
+
* 枚举类型属性引用的枚举类型
|
|
1242
|
+
*/
|
|
1243
|
+
enumType?: EnumDefinitionReference;
|
|
1244
|
+
/**
|
|
1245
|
+
* 对关联实体的级联操作
|
|
1246
|
+
*/
|
|
1247
|
+
cascadeType?: PropertyCascadeType[];
|
|
1248
|
+
/**
|
|
1249
|
+
* 是否自动删除移出集合的孤立实体
|
|
1250
|
+
*/
|
|
1251
|
+
orphanRemoval?: boolean;
|
|
1252
|
+
/**
|
|
1253
|
+
* 关联方式
|
|
1254
|
+
*/
|
|
1255
|
+
relationMode?: PropertyRelationMode;
|
|
1256
|
+
/**
|
|
1257
|
+
* 非实体集合是否保持有序
|
|
1258
|
+
*/
|
|
1259
|
+
orderedCollection?: boolean;
|
|
1260
|
+
/**
|
|
1261
|
+
* 有序集合类型,并且元素为实体类型,使用OrderBy指定排序字段
|
|
1262
|
+
*/
|
|
1263
|
+
createdOrderByDescriptors?: CreateOrderByDescriptorCommand[];
|
|
1264
|
+
/**
|
|
1265
|
+
* 更新排序定义
|
|
1266
|
+
*/
|
|
1267
|
+
updatedOrderByDescriptors?: UpdateOrderByDescriptorCommand[];
|
|
1268
|
+
/**
|
|
1269
|
+
* 删除排序定义
|
|
1270
|
+
*/
|
|
1271
|
+
deletedOrderByDescriptors?: EntityBase[];
|
|
1272
|
+
/**
|
|
1273
|
+
* 属性上定义的约束
|
|
1274
|
+
*/
|
|
1275
|
+
createdConstraints?: CreateEntityConstraintCommand[];
|
|
1276
|
+
/**
|
|
1277
|
+
* 更新实体约束定义
|
|
1278
|
+
*/
|
|
1279
|
+
updatedConstraints?: UpdateEntityConstraintCommand[];
|
|
1280
|
+
/**
|
|
1281
|
+
* 删除实体约束定义
|
|
1282
|
+
*/
|
|
1283
|
+
deletedConstraints?: EntityBase[];
|
|
1284
|
+
/**
|
|
1285
|
+
* 能否为空
|
|
1286
|
+
*/
|
|
1287
|
+
notNull: boolean;
|
|
1288
|
+
/**
|
|
1289
|
+
* 是否主键
|
|
1290
|
+
*/
|
|
1291
|
+
primaryKey: boolean;
|
|
1292
|
+
/**
|
|
1293
|
+
* 文本类型长度
|
|
1294
|
+
*/
|
|
1295
|
+
size?: number;
|
|
1296
|
+
/**
|
|
1297
|
+
* 附件配置标识
|
|
1298
|
+
*/
|
|
1299
|
+
attachConfigKey?: string;
|
|
1300
|
+
/**
|
|
1301
|
+
* 编码模版名称
|
|
1302
|
+
*/
|
|
1303
|
+
numberTemplateName?: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* 拥有读取权限的角色
|
|
1306
|
+
*/
|
|
1307
|
+
readRole?: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* 拥有修改权限的角色
|
|
1310
|
+
*/
|
|
1311
|
+
writeRole?: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* 默认值
|
|
1314
|
+
*/
|
|
1315
|
+
defaultValue?: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* 是否树区分属性
|
|
1318
|
+
*/
|
|
1319
|
+
treeDiscriminator?: boolean;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* 约束参数类型
|
|
1324
|
+
*/
|
|
1325
|
+
export type ConstraintParameterDataType = "STRING" | "BOOLEAN" | "INTEGER" | "DECIMAL" | "ENUM" | "LIST";
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* 约束参数定义
|
|
1329
|
+
*/
|
|
1330
|
+
export interface ConstraintParameterDescriptor {
|
|
1331
|
+
/**
|
|
1332
|
+
* 属性名
|
|
1333
|
+
*/
|
|
1334
|
+
name: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* 标题
|
|
1337
|
+
*/
|
|
1338
|
+
caption: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* 本地化标题
|
|
1341
|
+
*/
|
|
1342
|
+
localeCaption: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* 本地化的帮助文本
|
|
1345
|
+
*/
|
|
1346
|
+
localeHelpText: string;
|
|
1347
|
+
/**
|
|
1348
|
+
* 数据类型
|
|
1349
|
+
*/
|
|
1350
|
+
dataType: ConstraintParameterDataType;
|
|
1351
|
+
/**
|
|
1352
|
+
* 帮助文本
|
|
1353
|
+
*/
|
|
1354
|
+
helpText: string;
|
|
1355
|
+
/**
|
|
1356
|
+
* 是否必填
|
|
1357
|
+
*/
|
|
1358
|
+
required: boolean;
|
|
1359
|
+
/**
|
|
1360
|
+
* 正则验证表达式
|
|
1361
|
+
*/
|
|
1362
|
+
regex: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* 验证失败消息
|
|
1365
|
+
*/
|
|
1366
|
+
errorMessage: string;
|
|
1367
|
+
/**
|
|
1368
|
+
* 默认值
|
|
1369
|
+
*/
|
|
1370
|
+
defaultValue: string;
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* 是否为列表参数元素
|
|
1374
|
+
*/
|
|
1375
|
+
listElement: boolean;
|
|
1376
|
+
/**
|
|
1377
|
+
* 列表名
|
|
1378
|
+
*/
|
|
1379
|
+
listParamName: string;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* 约束提供程序
|
|
1384
|
+
*/
|
|
1385
|
+
export interface ConstraintProvider {
|
|
1386
|
+
/**
|
|
1387
|
+
* 约束唯一标识
|
|
1388
|
+
*/
|
|
1389
|
+
constraintName: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* 约束标题
|
|
1392
|
+
*/
|
|
1393
|
+
constraintCaption: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* 本地化标题
|
|
1396
|
+
*/
|
|
1397
|
+
localeCaption: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* 是否能够重复定义
|
|
1400
|
+
*/
|
|
1401
|
+
canRepeat: boolean;
|
|
1402
|
+
/**
|
|
1403
|
+
* 是否只能验证单个属性
|
|
1404
|
+
*/
|
|
1405
|
+
singleProperty: boolean;
|
|
1406
|
+
/**
|
|
1407
|
+
* 获取约束属性描述符
|
|
1408
|
+
*/
|
|
1409
|
+
propertyDescriptors: ConstraintParameterDescriptor[];
|
|
1410
|
+
/**
|
|
1411
|
+
* 获取次约束支持哪些数据类型
|
|
1412
|
+
*/
|
|
1413
|
+
supportedDataTypes: PropertyDataType[];
|
|
1414
|
+
/**
|
|
1415
|
+
* 是否支持集合属性
|
|
1416
|
+
*/
|
|
1417
|
+
supportCollection: boolean;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* 数据范围定义
|
|
1422
|
+
*/
|
|
1423
|
+
export interface DataScopeDefinition extends EntityBase {
|
|
1424
|
+
/**
|
|
1425
|
+
* 所属的实体
|
|
1426
|
+
*/
|
|
1427
|
+
entity: EntityDefinitionReference;
|
|
1428
|
+
/**
|
|
1429
|
+
* 是否启用
|
|
1430
|
+
*/
|
|
1431
|
+
enabled: boolean;
|
|
1432
|
+
/**
|
|
1433
|
+
* 数据范围类型
|
|
1434
|
+
*/
|
|
1435
|
+
dataScopeType: "ORGANIZATION" | "CUSTOM";
|
|
1436
|
+
/**
|
|
1437
|
+
* 拥有本部门数据访问权限的角色
|
|
1438
|
+
*/
|
|
1439
|
+
roleForDept?: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* 拥有本实体部门访问权限的角色
|
|
1442
|
+
*/
|
|
1443
|
+
roleForEntityDept?: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* 拥有本用户域访问权限的角色
|
|
1446
|
+
*/
|
|
1447
|
+
roleForUserDomain?: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* 拥有访问全局数据权限的角色
|
|
1450
|
+
*/
|
|
1451
|
+
roleForGlobal?: string;
|
|
1452
|
+
/**
|
|
1453
|
+
* 自定义数据范围条件
|
|
1454
|
+
*/
|
|
1455
|
+
scopePredicate?: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* 拥有访问自定义数据范围权限的角色
|
|
1458
|
+
*/
|
|
1459
|
+
roleName?: string;
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* 创建数据范围定义命令
|
|
1464
|
+
*/
|
|
1465
|
+
export interface CreateDataScopeDefinitionCommand {
|
|
1466
|
+
/**
|
|
1467
|
+
/**
|
|
1468
|
+
* 所属的实体
|
|
1469
|
+
*/
|
|
1470
|
+
entity: EntityDefinitionReference;
|
|
1471
|
+
/**
|
|
1472
|
+
* 是否启用
|
|
1473
|
+
*/
|
|
1474
|
+
enabled: boolean;
|
|
1475
|
+
/**
|
|
1476
|
+
* 数据范围类型
|
|
1477
|
+
*/
|
|
1478
|
+
dataScopeType: "ORGANIZATION" | "CUSTOM";
|
|
1479
|
+
/**
|
|
1480
|
+
* 拥有本部门数据访问权限的角色
|
|
1481
|
+
*/
|
|
1482
|
+
roleForDept?: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* 拥有本实体部门访问权限的角色
|
|
1485
|
+
*/
|
|
1486
|
+
roleForEntityDept?: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* 拥有本用户域访问权限的角色
|
|
1489
|
+
*/
|
|
1490
|
+
roleForUserDomain?: string;
|
|
1491
|
+
/**
|
|
1492
|
+
* 拥有访问全局数据权限的角色
|
|
1493
|
+
*/
|
|
1494
|
+
roleForGlobal?: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* 自定义数据范围条件
|
|
1497
|
+
*/
|
|
1498
|
+
scopePredicate?: string;
|
|
1499
|
+
/**
|
|
1500
|
+
* 拥有访问自定义数据范围权限的角色
|
|
1501
|
+
*/
|
|
1502
|
+
roleName?: string;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* 修改数据范围定义命令
|
|
1507
|
+
*/
|
|
1508
|
+
export interface UpdateDataScopeDefinitionCommand {
|
|
1509
|
+
/**
|
|
1510
|
+
* 是否启用
|
|
1511
|
+
*/
|
|
1512
|
+
enabled: boolean;
|
|
1513
|
+
/**
|
|
1514
|
+
* 数据范围类型
|
|
1515
|
+
*/
|
|
1516
|
+
dataScopeType: "ORGANIZATION" | "CUSTOM";
|
|
1517
|
+
/**
|
|
1518
|
+
* 拥有本部门数据访问权限的角色
|
|
1519
|
+
*/
|
|
1520
|
+
roleForDept?: string;
|
|
1521
|
+
/**
|
|
1522
|
+
* 拥有本实体部门访问权限的角色
|
|
1523
|
+
*/
|
|
1524
|
+
roleForEntityDept?: string;
|
|
1525
|
+
/**
|
|
1526
|
+
* 拥有本用户域访问权限的角色
|
|
1527
|
+
*/
|
|
1528
|
+
roleForUserDomain?: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* 拥有访问全局数据权限的角色
|
|
1531
|
+
*/
|
|
1532
|
+
roleForGlobal?: string;
|
|
1533
|
+
/**
|
|
1534
|
+
* 自定义数据范围条件
|
|
1535
|
+
*/
|
|
1536
|
+
scopePredicate?: string;
|
|
1537
|
+
/**
|
|
1538
|
+
* 拥有访问自定义数据范围权限的角色
|
|
1539
|
+
*/
|
|
1540
|
+
roleName?: string;
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
export type ReleaseMileStone = "SNAPSHOT" | "ALPHA" | "BETA" | "RC" | "STABLE";
|
|
1544
|
+
/**
|
|
1545
|
+
* 版本升级方案
|
|
1546
|
+
*/
|
|
1547
|
+
export type VersioningAction =
|
|
1548
|
+
/**
|
|
1549
|
+
* 增加主版本号
|
|
1550
|
+
*/
|
|
1551
|
+
| "INCREASE_MAJOR_VERSION"
|
|
1552
|
+
/**
|
|
1553
|
+
* 增加次版本号
|
|
1554
|
+
*/
|
|
1555
|
+
| "INCREASE_MINOR_VERSION"
|
|
1556
|
+
/**
|
|
1557
|
+
* 增加修订号
|
|
1558
|
+
*/
|
|
1559
|
+
| "INCREASE_PATCH_VERSION"
|
|
1560
|
+
/**
|
|
1561
|
+
* 修改里程碑
|
|
1562
|
+
*/
|
|
1563
|
+
| "CHANGE_MILESTONE"
|
|
1564
|
+
/**
|
|
1565
|
+
* 增加里程碑版本号
|
|
1566
|
+
*/
|
|
1567
|
+
| "INCREASE_MILESTONE_VERSION";
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* 应用发布信息
|
|
1571
|
+
*/
|
|
1572
|
+
export interface AppRelease extends EntityBase {
|
|
1573
|
+
/**
|
|
1574
|
+
* 应用信息
|
|
1575
|
+
*/
|
|
1576
|
+
appName: string;
|
|
1577
|
+
/**
|
|
1578
|
+
* 发布说明
|
|
1579
|
+
*/
|
|
1580
|
+
releaseNote: string;
|
|
1581
|
+
/**
|
|
1582
|
+
* 主版本号
|
|
1583
|
+
*/
|
|
1584
|
+
majorVersion: number;
|
|
1585
|
+
/**
|
|
1586
|
+
* 次版本号
|
|
1587
|
+
*/
|
|
1588
|
+
minorVersion: number;
|
|
1589
|
+
/**
|
|
1590
|
+
* 修订版本号
|
|
1591
|
+
*/
|
|
1592
|
+
patchVersion: number;
|
|
1593
|
+
/**
|
|
1594
|
+
* 里程碑
|
|
1595
|
+
*/
|
|
1596
|
+
milestone: ReleaseMileStone;
|
|
1597
|
+
/**
|
|
1598
|
+
* 里程碑版本
|
|
1599
|
+
*/
|
|
1600
|
+
milestoneVersion: number;
|
|
1601
|
+
/**
|
|
1602
|
+
* 发布时间
|
|
1603
|
+
*/
|
|
1604
|
+
releaseTime: string;
|
|
1605
|
+
/**
|
|
1606
|
+
* 发布人
|
|
1607
|
+
*/
|
|
1608
|
+
releasedBy: string;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* 创建初始应用发布
|
|
1613
|
+
*/
|
|
1614
|
+
export interface CreateInitialAppReleaseCommand {
|
|
1615
|
+
/**
|
|
1616
|
+
* 应用信息
|
|
1617
|
+
*/
|
|
1618
|
+
appName: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* 发布说明
|
|
1621
|
+
*/
|
|
1622
|
+
releaseNote: string;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
export interface CreateAppReleaseCommand {
|
|
1626
|
+
/**
|
|
1627
|
+
* 应用信息
|
|
1628
|
+
*/
|
|
1629
|
+
appName: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* 发布说明
|
|
1632
|
+
*/
|
|
1633
|
+
releaseNote: string;
|
|
1634
|
+
/**
|
|
1635
|
+
* 版本号升级方案
|
|
1636
|
+
*/
|
|
1637
|
+
versioningAction: VersioningAction;
|
|
1638
|
+
/**
|
|
1639
|
+
* 里程碑
|
|
1640
|
+
*/
|
|
1641
|
+
milestone: ReleaseMileStone;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
/**
|
|
1645
|
+
* 修改发布说明命令
|
|
1646
|
+
*/
|
|
1647
|
+
export interface UpdateReleaseNoteCommand {
|
|
1648
|
+
/**
|
|
1649
|
+
* 应用信息
|
|
1650
|
+
*/
|
|
1651
|
+
id: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* 发布说明
|
|
1654
|
+
*/
|
|
1655
|
+
releaseNote: string;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
export type DtoPropertyCreateOption = "USE_EXIST_DTO" | "CREATE_DTO" | "FLATTEN";
|
|
1659
|
+
|
|
1660
|
+
/**
|
|
1661
|
+
* 参照实体定义创建DTO命令
|
|
1662
|
+
*/
|
|
1663
|
+
export interface CreateDtoDefinitionFromEntityCommand {
|
|
1664
|
+
/**
|
|
1665
|
+
* 参考的实体定义
|
|
1666
|
+
*/
|
|
1667
|
+
refEntity: EntityDefinitionReference;
|
|
1668
|
+
/**
|
|
1669
|
+
* dto名
|
|
1670
|
+
*/
|
|
1671
|
+
name: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* 标题
|
|
1674
|
+
*/
|
|
1675
|
+
caption: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* 创建属性命令集合
|
|
1678
|
+
*/
|
|
1679
|
+
createPropCommands: CreateDtoPropDefFromEntityCommand[];
|
|
1680
|
+
/**
|
|
1681
|
+
* 生成为接口类型
|
|
1682
|
+
*/
|
|
1683
|
+
asInterface: boolean;
|
|
1684
|
+
/**
|
|
1685
|
+
* 映射转换为对应实体时先从数据库检索同ID实体,再合并属性值
|
|
1686
|
+
*/
|
|
1687
|
+
mapLoad: boolean;
|
|
1688
|
+
/**
|
|
1689
|
+
* 映射转换为对应实体后,不做任何复制属性操作
|
|
1690
|
+
*/
|
|
1691
|
+
loadOnly: boolean;
|
|
1692
|
+
/**
|
|
1693
|
+
* 发布源平台ID
|
|
1694
|
+
*/
|
|
1695
|
+
releaseSource?: string;
|
|
1696
|
+
/**
|
|
1697
|
+
* 源数据ID
|
|
1698
|
+
*/
|
|
1699
|
+
sourceId?: string;
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* 参照实体定义创建DTO属性命令
|
|
1704
|
+
*/
|
|
1705
|
+
export interface CreateDtoPropDefFromEntityCommand {
|
|
1706
|
+
/**
|
|
1707
|
+
* 名称
|
|
1708
|
+
*/
|
|
1709
|
+
name: string;
|
|
1710
|
+
/**
|
|
1711
|
+
* 标题
|
|
1712
|
+
*/
|
|
1713
|
+
caption: string;
|
|
1714
|
+
/**
|
|
1715
|
+
* 是否需要本地化转换标题文本
|
|
1716
|
+
*/
|
|
1717
|
+
localize?: boolean;
|
|
1718
|
+
/**
|
|
1719
|
+
* 是否审计事件的关键字
|
|
1720
|
+
*/
|
|
1721
|
+
eventKeyWord?: boolean;
|
|
1722
|
+
/**
|
|
1723
|
+
* 日期时间格式
|
|
1724
|
+
*/
|
|
1725
|
+
dateTimeFormat?: string;
|
|
1726
|
+
/**
|
|
1727
|
+
* 参照的实体属性
|
|
1728
|
+
*/
|
|
1729
|
+
entityPropertyRef: PropertyDefinitionReference;
|
|
1730
|
+
/**
|
|
1731
|
+
* 创建属性DTO选项
|
|
1732
|
+
*/
|
|
1733
|
+
createOption: DtoPropertyCreateOption;
|
|
1734
|
+
/**
|
|
1735
|
+
* 现存的DTO引用
|
|
1736
|
+
*/
|
|
1737
|
+
existDto?: DtoDefinitionReference;
|
|
1738
|
+
/**
|
|
1739
|
+
* 创建DTO命令
|
|
1740
|
+
*/
|
|
1741
|
+
createDtoCommand?: CreateDtoDefinitionFromEntityCommand;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* DTO属性定义
|
|
1746
|
+
*/
|
|
1747
|
+
export interface DtoPropertyDefinition {
|
|
1748
|
+
/**
|
|
1749
|
+
* 主键
|
|
1750
|
+
*/
|
|
1751
|
+
id: string;
|
|
1752
|
+
/**
|
|
1753
|
+
* 数据版本
|
|
1754
|
+
*/
|
|
1755
|
+
dataVersion: number;
|
|
1756
|
+
/**
|
|
1757
|
+
* 名称
|
|
1758
|
+
*/
|
|
1759
|
+
name: string;
|
|
1760
|
+
/**
|
|
1761
|
+
* 标题
|
|
1762
|
+
*/
|
|
1763
|
+
caption: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* 不能为空
|
|
1766
|
+
*/
|
|
1767
|
+
notNull: boolean;
|
|
1768
|
+
/**
|
|
1769
|
+
* 字符串长度
|
|
1770
|
+
*/
|
|
1771
|
+
size: number;
|
|
1772
|
+
/**
|
|
1773
|
+
* 数据类型
|
|
1774
|
+
*/
|
|
1775
|
+
dataType: PropertyDataType;
|
|
1776
|
+
/**
|
|
1777
|
+
* 日期时间格式
|
|
1778
|
+
*/
|
|
1779
|
+
dateTimeFormat?: string;
|
|
1780
|
+
/**
|
|
1781
|
+
* 集合类型
|
|
1782
|
+
*/
|
|
1783
|
+
collectionType: PropertyCollectionType;
|
|
1784
|
+
/**
|
|
1785
|
+
* 键类型
|
|
1786
|
+
*/
|
|
1787
|
+
mapKeyDataType: PropertyMapDataKeyType;
|
|
1788
|
+
/**
|
|
1789
|
+
* 枚举型映射键的枚举类型
|
|
1790
|
+
*/
|
|
1791
|
+
mapKeyEnum: EnumDefinitionReference;
|
|
1792
|
+
/**
|
|
1793
|
+
* 枚举类型属性引用的枚举类型
|
|
1794
|
+
*/
|
|
1795
|
+
enumType: EnumDefinitionReference;
|
|
1796
|
+
/**
|
|
1797
|
+
* 参照的实体属性定义
|
|
1798
|
+
*/
|
|
1799
|
+
refProperty: PropertyDefinitionReference;
|
|
1800
|
+
/**
|
|
1801
|
+
* 所属的DTO
|
|
1802
|
+
*/
|
|
1803
|
+
dto: DtoDefinitionReference;
|
|
1804
|
+
/**
|
|
1805
|
+
* 引用的DTO
|
|
1806
|
+
*/
|
|
1807
|
+
refDto: DtoDefinition;
|
|
1808
|
+
/**
|
|
1809
|
+
* 国际化文本是否需要本地化
|
|
1810
|
+
*/
|
|
1811
|
+
localize: boolean | null;
|
|
1812
|
+
/**
|
|
1813
|
+
* 是否扁平化DTO属性
|
|
1814
|
+
*/
|
|
1815
|
+
flatten: boolean;
|
|
1816
|
+
/**
|
|
1817
|
+
* 父扁平属性
|
|
1818
|
+
*/
|
|
1819
|
+
parentFlattenProperty: DtoPropertyDefinitionReference;
|
|
1820
|
+
/**
|
|
1821
|
+
* 属性上定义的约束
|
|
1822
|
+
*/
|
|
1823
|
+
constraints?: DtoConstraintDefinition[];
|
|
1824
|
+
/**
|
|
1825
|
+
* 说明
|
|
1826
|
+
*/
|
|
1827
|
+
comment: string;
|
|
1828
|
+
/**
|
|
1829
|
+
* 源数据ID
|
|
1830
|
+
*/
|
|
1831
|
+
sourceId: string;
|
|
1832
|
+
/**
|
|
1833
|
+
* 发布源平台ID
|
|
1834
|
+
*/
|
|
1835
|
+
releaseSource: string;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* DTO属性引用
|
|
1840
|
+
*/
|
|
1841
|
+
export interface DtoPropertyDefinitionReference {
|
|
1842
|
+
/**
|
|
1843
|
+
* 主键
|
|
1844
|
+
*/
|
|
1845
|
+
id: string;
|
|
1846
|
+
/**
|
|
1847
|
+
* 源ID
|
|
1848
|
+
*/
|
|
1849
|
+
sourceId: string;
|
|
1850
|
+
/**
|
|
1851
|
+
* 源平台ID
|
|
1852
|
+
*/
|
|
1853
|
+
releaseSource: string;
|
|
1854
|
+
/**
|
|
1855
|
+
* 属性定义名
|
|
1856
|
+
*/
|
|
1857
|
+
name: string;
|
|
1858
|
+
/**
|
|
1859
|
+
* 属性标题
|
|
1860
|
+
*/
|
|
1861
|
+
caption: string;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* DTO定义
|
|
1866
|
+
*/
|
|
1867
|
+
export interface DtoDefinition {
|
|
1868
|
+
/**
|
|
1869
|
+
* 主键
|
|
1870
|
+
*/
|
|
1871
|
+
id: string;
|
|
1872
|
+
/**
|
|
1873
|
+
* 数据版本
|
|
1874
|
+
*/
|
|
1875
|
+
dataVersion: number;
|
|
1876
|
+
/**
|
|
1877
|
+
* 应用名
|
|
1878
|
+
*/
|
|
1879
|
+
appName: string;
|
|
1880
|
+
/**
|
|
1881
|
+
* 服务名
|
|
1882
|
+
*/
|
|
1883
|
+
serviceName: string;
|
|
1884
|
+
/**
|
|
1885
|
+
* 是否扁平化
|
|
1886
|
+
*/
|
|
1887
|
+
flatten: boolean;
|
|
1888
|
+
/**
|
|
1889
|
+
* 名称
|
|
1890
|
+
*/
|
|
1891
|
+
name: string;
|
|
1892
|
+
/**
|
|
1893
|
+
* 标题
|
|
1894
|
+
*/
|
|
1895
|
+
caption: string;
|
|
1896
|
+
/**
|
|
1897
|
+
* 参照的实体定义
|
|
1898
|
+
*/
|
|
1899
|
+
refEntity: EntityDefinitionReference;
|
|
1900
|
+
/**
|
|
1901
|
+
* 属性集合
|
|
1902
|
+
*/
|
|
1903
|
+
properties: DtoPropertyDefinition[];
|
|
1904
|
+
/**
|
|
1905
|
+
* 平面化DTO的非平面化根
|
|
1906
|
+
*/
|
|
1907
|
+
flattenRoot: DtoDefinitionReference;
|
|
1908
|
+
/**
|
|
1909
|
+
* 平面化DTO的上级DTO
|
|
1910
|
+
*/
|
|
1911
|
+
flattenParent: DtoDefinitionReference;
|
|
1912
|
+
/**
|
|
1913
|
+
* 映射转换为对应实体时先从数据库检索同ID实体,再合并属性值
|
|
1914
|
+
*/
|
|
1915
|
+
mapLoad: boolean;
|
|
1916
|
+
/**
|
|
1917
|
+
* 映射转换为对应实体后,不做任何复制属性操作
|
|
1918
|
+
*/
|
|
1919
|
+
loadOnly: boolean;
|
|
1920
|
+
|
|
1921
|
+
asInterface: boolean;
|
|
1922
|
+
/**
|
|
1923
|
+
* 发布源平台ID
|
|
1924
|
+
*/
|
|
1925
|
+
releaseSource: string;
|
|
1926
|
+
/**
|
|
1927
|
+
* 源ID
|
|
1928
|
+
*/
|
|
1929
|
+
sourceId: string;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
/**
|
|
1933
|
+
* dto定义引用
|
|
1934
|
+
*/
|
|
1935
|
+
export interface DtoDefinitionReference {
|
|
1936
|
+
id: string;
|
|
1937
|
+
sourceId: string;
|
|
1938
|
+
dataVersion: number;
|
|
1939
|
+
releaseSource: string;
|
|
1940
|
+
name: string;
|
|
1941
|
+
caption: string;
|
|
1942
|
+
flatten: boolean;
|
|
1943
|
+
appName: string;
|
|
1944
|
+
serviceName: string;
|
|
1945
|
+
asInterface: boolean;
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* DTO对象验证约束
|
|
1950
|
+
*/
|
|
1951
|
+
export interface DtoConstraintDefinition {
|
|
1952
|
+
/**
|
|
1953
|
+
* 主键 ID
|
|
1954
|
+
*/
|
|
1955
|
+
id: string;
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* 数据版本
|
|
1959
|
+
*/
|
|
1960
|
+
dataVersion: number;
|
|
1961
|
+
|
|
1962
|
+
/**
|
|
1963
|
+
* 约束名称
|
|
1964
|
+
*/
|
|
1965
|
+
constraintName: string;
|
|
1966
|
+
|
|
1967
|
+
/**
|
|
1968
|
+
* 受约束的实体属性
|
|
1969
|
+
*/
|
|
1970
|
+
properties: DtoPropertyDefinitionReference[];
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
* 约束属性值
|
|
1974
|
+
*/
|
|
1975
|
+
constraintParameters: Record<string, any>;
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* 违反约束后的错误信息
|
|
1979
|
+
*/
|
|
1980
|
+
message: string;
|
|
1981
|
+
|
|
1982
|
+
/**
|
|
1983
|
+
* 验证器 payload
|
|
1984
|
+
*/
|
|
1985
|
+
payloads: string[];
|
|
1986
|
+
|
|
1987
|
+
/**
|
|
1988
|
+
* 分组标识
|
|
1989
|
+
*/
|
|
1990
|
+
groups: string[];
|
|
1991
|
+
|
|
1992
|
+
/**
|
|
1993
|
+
* 配置项发布源
|
|
1994
|
+
*/
|
|
1995
|
+
releaseSource: string;
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* 配置项在发布源的 ID
|
|
1999
|
+
*/
|
|
2000
|
+
sourceId: string;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* 创建DTO定义命令
|
|
2005
|
+
*/
|
|
2006
|
+
export interface CreateDtoDefinitionCommand {
|
|
2007
|
+
/**
|
|
2008
|
+
* 应用名
|
|
2009
|
+
*/
|
|
2010
|
+
appName?: string;
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* 服务名
|
|
2014
|
+
*/
|
|
2015
|
+
serviceName?: string;
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* DTO 名称(Pascal 命名)
|
|
2019
|
+
*/
|
|
2020
|
+
name?: string;
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* 标题
|
|
2024
|
+
*/
|
|
2025
|
+
caption?: string;
|
|
2026
|
+
/**
|
|
2027
|
+
* 生成为接口类型
|
|
2028
|
+
*/
|
|
2029
|
+
asInterface?: boolean;
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* 配置项发布源
|
|
2033
|
+
*/
|
|
2034
|
+
releaseSource?: string;
|
|
2035
|
+
|
|
2036
|
+
/**
|
|
2037
|
+
* 配置项在发布源的 ID
|
|
2038
|
+
*/
|
|
2039
|
+
sourceId?: string;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
/**
|
|
2043
|
+
* 修改DTO定义命令
|
|
2044
|
+
*/
|
|
2045
|
+
export interface UpdateDtoDefinitionCommand {
|
|
2046
|
+
/**
|
|
2047
|
+
* 主键 ID(更新必填)
|
|
2048
|
+
*/
|
|
2049
|
+
id: string;
|
|
2050
|
+
|
|
2051
|
+
/**
|
|
2052
|
+
* 数据版本(更新必填)
|
|
2053
|
+
*/
|
|
2054
|
+
dataVersion: number;
|
|
2055
|
+
|
|
2056
|
+
/**
|
|
2057
|
+
* DTO 名称(Pascal 命名,最大 255 字节)
|
|
2058
|
+
*/
|
|
2059
|
+
name: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* 标题(最大 255 字节)
|
|
2062
|
+
*/
|
|
2063
|
+
caption: string;
|
|
2064
|
+
/**
|
|
2065
|
+
* 生成为接口类型
|
|
2066
|
+
*/
|
|
2067
|
+
asInterface: boolean;
|
|
2068
|
+
/**
|
|
2069
|
+
* 映射转换为对应实体时先从数据库检索同ID实体,再合并属性值
|
|
2070
|
+
*/
|
|
2071
|
+
mapLoad: boolean;
|
|
2072
|
+
/**
|
|
2073
|
+
* 映射转换为对应实体后,不做任何复制属性操作
|
|
2074
|
+
*/
|
|
2075
|
+
loadOnly: boolean;
|
|
2076
|
+
/**
|
|
2077
|
+
* 配置项发布源
|
|
2078
|
+
*/
|
|
2079
|
+
releaseSource?: string;
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* 配置项在发布源的 ID
|
|
2083
|
+
*/
|
|
2084
|
+
sourceId?: string;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
* 创建DTO约束验证定义
|
|
2089
|
+
*/
|
|
2090
|
+
export interface CreateDtoConstraintCommand {
|
|
2091
|
+
/**
|
|
2092
|
+
* 约束名称,不能为空,最大 255 字节
|
|
2093
|
+
*/
|
|
2094
|
+
constraintName: string;
|
|
2095
|
+
|
|
2096
|
+
/**
|
|
2097
|
+
* 所属 DTO 实体定义
|
|
2098
|
+
*/
|
|
2099
|
+
dto: DtoDefinitionReference;
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* 受约束的 DTO 属性集合,不能为空
|
|
2103
|
+
*/
|
|
2104
|
+
properties: DtoPropertyDefinitionReference[];
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* 约束的参数键值对,键和值均最大 255 字节
|
|
2108
|
+
*/
|
|
2109
|
+
constraintParameters?: Record<string, string>;
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* 违反约束时的错误提示信息,最大 512 字节
|
|
2113
|
+
*/
|
|
2114
|
+
message?: string;
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* 验证器 payload,集合中每项不能为空,最大 255 字节
|
|
2118
|
+
*/
|
|
2119
|
+
payloads?: string[];
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* 验证分组,集合中每项不能为空,最大 255 字节
|
|
2123
|
+
*/
|
|
2124
|
+
groups?: string[];
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* 配置项发布源
|
|
2128
|
+
*/
|
|
2129
|
+
releaseSource?: string;
|
|
2130
|
+
|
|
2131
|
+
/**
|
|
2132
|
+
* 配置项在发布源中的 ID
|
|
2133
|
+
*/
|
|
2134
|
+
sourceId?: string;
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
/**
|
|
2138
|
+
* 更新DTO约束定义
|
|
2139
|
+
*/
|
|
2140
|
+
export interface UpdateDtoConstraintCommand {
|
|
2141
|
+
/**
|
|
2142
|
+
* 主键 ID,更新必填
|
|
2143
|
+
*/
|
|
2144
|
+
id: string;
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* 数据版本号,更新必填
|
|
2148
|
+
*/
|
|
2149
|
+
dataVersion: number;
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* 约束名称,不能为空
|
|
2153
|
+
*/
|
|
2154
|
+
constraintName: string;
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
* 被约束的属性,不能为空集合
|
|
2158
|
+
*/
|
|
2159
|
+
properties: DtoPropertyDefinitionReference[];
|
|
2160
|
+
|
|
2161
|
+
/**
|
|
2162
|
+
* 约束参数,键值最长 255 字节
|
|
2163
|
+
*/
|
|
2164
|
+
constraintParameters?: Record<string, string>;
|
|
2165
|
+
|
|
2166
|
+
/**
|
|
2167
|
+
* 错误提示信息,最大 512 字节
|
|
2168
|
+
*/
|
|
2169
|
+
message?: string;
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
* Payload 配置,字符串集合,单项最大 255 字节
|
|
2173
|
+
*/
|
|
2174
|
+
payloads?: string[];
|
|
2175
|
+
|
|
2176
|
+
/**
|
|
2177
|
+
* 校验组配置,字符串集合,单项最大 255 字节
|
|
2178
|
+
*/
|
|
2179
|
+
groups?: string[];
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* 配置项发布源
|
|
2183
|
+
*/
|
|
2184
|
+
releaseSource?: string;
|
|
2185
|
+
|
|
2186
|
+
/**
|
|
2187
|
+
* 源标识 ID
|
|
2188
|
+
*/
|
|
2189
|
+
sourceId?: string;
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
/**
|
|
2193
|
+
* 创建DTO属性命令
|
|
2194
|
+
*/
|
|
2195
|
+
export interface CreateDtoPropertyCommand {
|
|
2196
|
+
/**
|
|
2197
|
+
* 所属的 DTO 定义
|
|
2198
|
+
*/
|
|
2199
|
+
dto: DtoDefinitionReference;
|
|
2200
|
+
|
|
2201
|
+
/**
|
|
2202
|
+
* dto 属性名(camel 命名,最大 255 字节)
|
|
2203
|
+
*/
|
|
2204
|
+
name: string;
|
|
2205
|
+
|
|
2206
|
+
/**
|
|
2207
|
+
* 属性标题(最大 255 字节)
|
|
2208
|
+
*/
|
|
2209
|
+
caption: string;
|
|
2210
|
+
|
|
2211
|
+
/**
|
|
2212
|
+
* 是否不能为空
|
|
2213
|
+
*/
|
|
2214
|
+
notNull?: boolean;
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* 字符串长度限制
|
|
2218
|
+
*/
|
|
2219
|
+
size?: number;
|
|
2220
|
+
|
|
2221
|
+
/**
|
|
2222
|
+
* 数据类型(枚举)
|
|
2223
|
+
*/
|
|
2224
|
+
dataType: PropertyDataType;
|
|
2225
|
+
/**
|
|
2226
|
+
* 日期时间格式
|
|
2227
|
+
*/
|
|
2228
|
+
dateTimeFormat?: string;
|
|
2229
|
+
|
|
2230
|
+
/**
|
|
2231
|
+
* 集合类型(枚举)
|
|
2232
|
+
*/
|
|
2233
|
+
collectionType?: PropertyCollectionType;
|
|
2234
|
+
|
|
2235
|
+
/**
|
|
2236
|
+
* Map 类型键的数据类型(枚举)
|
|
2237
|
+
*/
|
|
2238
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* Map 键为枚举时的枚举引用类型
|
|
2242
|
+
*/
|
|
2243
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
2244
|
+
|
|
2245
|
+
/**
|
|
2246
|
+
* 属性本身为枚举时的枚举引用类型
|
|
2247
|
+
*/
|
|
2248
|
+
enumType?: EnumDefinitionReference;
|
|
2249
|
+
|
|
2250
|
+
/**
|
|
2251
|
+
* 属性引用的 DTO 类型
|
|
2252
|
+
*/
|
|
2253
|
+
refDto?: DtoDefinitionReference;
|
|
2254
|
+
|
|
2255
|
+
/**
|
|
2256
|
+
* 属性上定义的约束列表
|
|
2257
|
+
*/
|
|
2258
|
+
createdConstraints?: CreateDtoConstraintCommand[];
|
|
2259
|
+
|
|
2260
|
+
/**
|
|
2261
|
+
* 是否需要本地化,仅适用于 I18nString 类型
|
|
2262
|
+
*/
|
|
2263
|
+
localize?: boolean;
|
|
2264
|
+
|
|
2265
|
+
/**
|
|
2266
|
+
* 配置项发布源
|
|
2267
|
+
*/
|
|
2268
|
+
releaseSource?: string;
|
|
2269
|
+
/**
|
|
2270
|
+
* 说明
|
|
2271
|
+
*/
|
|
2272
|
+
comment?: string;
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
* 配置项在发布源中的 ID
|
|
2276
|
+
*/
|
|
2277
|
+
sourceId?: string;
|
|
2278
|
+
/**
|
|
2279
|
+
* 是否审计事件的关键字
|
|
2280
|
+
*/
|
|
2281
|
+
eventKeyWord?: boolean;
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
/**
|
|
2285
|
+
* 更新DTO属性命令
|
|
2286
|
+
*/
|
|
2287
|
+
export interface UpdateDtoPropertyCommand {
|
|
2288
|
+
/**
|
|
2289
|
+
* 主键ID
|
|
2290
|
+
*/
|
|
2291
|
+
id: string;
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* 数据版本号
|
|
2295
|
+
*/
|
|
2296
|
+
dataVersion: number;
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* DTO属性名,驼峰格式
|
|
2300
|
+
*/
|
|
2301
|
+
name: string;
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
* 属性标题,非空且最大255字符
|
|
2305
|
+
*/
|
|
2306
|
+
caption: string;
|
|
2307
|
+
|
|
2308
|
+
/**
|
|
2309
|
+
* 是否不能为空
|
|
2310
|
+
*/
|
|
2311
|
+
notNull?: boolean;
|
|
2312
|
+
|
|
2313
|
+
/**
|
|
2314
|
+
* 字符串长度限制
|
|
2315
|
+
*/
|
|
2316
|
+
size?: number;
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* 数据类型
|
|
2320
|
+
*/
|
|
2321
|
+
dataType: PropertyDataType;
|
|
2322
|
+
/**
|
|
2323
|
+
* 日期时间格式
|
|
2324
|
+
*/
|
|
2325
|
+
dateTimeFormat?: string;
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* 集合类型
|
|
2329
|
+
*/
|
|
2330
|
+
collectionType?: PropertyCollectionType;
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* Map键的数据类型
|
|
2334
|
+
*/
|
|
2335
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* Map键枚举类型引用
|
|
2339
|
+
*/
|
|
2340
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* 枚举类型属性引用
|
|
2344
|
+
*/
|
|
2345
|
+
enumType?: EnumDefinitionReference;
|
|
2346
|
+
|
|
2347
|
+
/**
|
|
2348
|
+
* 引用的DTO类型
|
|
2349
|
+
*/
|
|
2350
|
+
refDto?: DtoDefinitionReference;
|
|
2351
|
+
|
|
2352
|
+
/**
|
|
2353
|
+
* 是否本地化(仅I18nString有效)
|
|
2354
|
+
*/
|
|
2355
|
+
localize?: boolean;
|
|
2356
|
+
|
|
2357
|
+
/**
|
|
2358
|
+
* 新建的属性约束列表
|
|
2359
|
+
*/
|
|
2360
|
+
createdConstraints?: CreateDtoConstraintCommand[];
|
|
2361
|
+
|
|
2362
|
+
/**
|
|
2363
|
+
* 更新的属性约束列表
|
|
2364
|
+
*/
|
|
2365
|
+
updatedConstraints?: UpdateDtoConstraintCommand[];
|
|
2366
|
+
|
|
2367
|
+
/**
|
|
2368
|
+
* 删除的属性约束列表
|
|
2369
|
+
*/
|
|
2370
|
+
deletedConstraints?: EntityBase[];
|
|
2371
|
+
/**
|
|
2372
|
+
* 是否审计事件的关键字
|
|
2373
|
+
*/
|
|
2374
|
+
eventKeyWord?: boolean;
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* 配置项发布源
|
|
2378
|
+
*/
|
|
2379
|
+
releaseSource?: string;
|
|
2380
|
+
/**
|
|
2381
|
+
* 说明
|
|
2382
|
+
*/
|
|
2383
|
+
comment?: string;
|
|
2384
|
+
/**
|
|
2385
|
+
* 源ID
|
|
2386
|
+
*/
|
|
2387
|
+
sourceId?: string;
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
/**
|
|
2391
|
+
* DTO定义
|
|
2392
|
+
*/
|
|
2393
|
+
export interface ProjectDtoDefinition {
|
|
2394
|
+
/**
|
|
2395
|
+
* 主键
|
|
2396
|
+
*/
|
|
2397
|
+
id: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* 数据版本
|
|
2400
|
+
*/
|
|
2401
|
+
dataVersion: number;
|
|
2402
|
+
/**
|
|
2403
|
+
* 应用名
|
|
2404
|
+
*/
|
|
2405
|
+
appName: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* 服务名
|
|
2408
|
+
*/
|
|
2409
|
+
serviceName: string;
|
|
2410
|
+
/**
|
|
2411
|
+
* 是否扁平化
|
|
2412
|
+
*/
|
|
2413
|
+
flatten: boolean;
|
|
2414
|
+
/**
|
|
2415
|
+
* 名称
|
|
2416
|
+
*/
|
|
2417
|
+
name: string;
|
|
2418
|
+
/**
|
|
2419
|
+
* 标题
|
|
2420
|
+
*/
|
|
2421
|
+
caption: string;
|
|
2422
|
+
/**
|
|
2423
|
+
* 参照的实体定义
|
|
2424
|
+
*/
|
|
2425
|
+
refEntity: EntityDefinitionReference;
|
|
2426
|
+
/**
|
|
2427
|
+
* 非平面化DTO根
|
|
2428
|
+
*/
|
|
2429
|
+
flattenRoot: DtoDefinitionReference;
|
|
2430
|
+
|
|
2431
|
+
asInterface: boolean;
|
|
2432
|
+
/**
|
|
2433
|
+
*
|
|
2434
|
+
*/
|
|
2435
|
+
releaseSource: string;
|
|
2436
|
+
/**
|
|
2437
|
+
* 发布源平台ID
|
|
2438
|
+
*/
|
|
2439
|
+
sourceId: string;
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
/**
|
|
2443
|
+
* 想DTO追加属性
|
|
2444
|
+
*/
|
|
2445
|
+
export interface AppendPropertyToDtoCommand {
|
|
2446
|
+
/**
|
|
2447
|
+
* 要添加到的DTO
|
|
2448
|
+
*/
|
|
2449
|
+
addToDtos: DtoDefinitionReference[];
|
|
2450
|
+
/**
|
|
2451
|
+
* 要执行的属性添加命令
|
|
2452
|
+
*/
|
|
2453
|
+
createPropCommands: CreateDtoPropDefFromEntityCommand[];
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
/**
|
|
2457
|
+
* 创建聚合命令
|
|
2458
|
+
*/
|
|
2459
|
+
export interface CreateAggregateDefinitionCommand {
|
|
2460
|
+
/**
|
|
2461
|
+
* 所属的数据源定义
|
|
2462
|
+
*/
|
|
2463
|
+
datasource: DataSourceDefinitionReference;
|
|
2464
|
+
/**
|
|
2465
|
+
* 聚合名
|
|
2466
|
+
*/
|
|
2467
|
+
name: string;
|
|
2468
|
+
/**
|
|
2469
|
+
* 聚合说明
|
|
2470
|
+
*/
|
|
2471
|
+
description: string;
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2474
|
+
/**
|
|
2475
|
+
* 创建聚合命令
|
|
2476
|
+
*/
|
|
2477
|
+
export interface UpdateAggregateDefinitionCommand extends EntityBase {
|
|
2478
|
+
/**
|
|
2479
|
+
* 聚合名
|
|
2480
|
+
*/
|
|
2481
|
+
name: string;
|
|
2482
|
+
/**
|
|
2483
|
+
* 聚合说明
|
|
2484
|
+
*/
|
|
2485
|
+
description: string;
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
* 聚合定义
|
|
2490
|
+
*/
|
|
2491
|
+
export interface AggregateDefinition extends EntityBase {
|
|
2492
|
+
/**
|
|
2493
|
+
* 应用名
|
|
2494
|
+
*/
|
|
2495
|
+
appName: string;
|
|
2496
|
+
/**
|
|
2497
|
+
* 服务名
|
|
2498
|
+
*/
|
|
2499
|
+
serviceName: string;
|
|
2500
|
+
/**
|
|
2501
|
+
* 所属的数据源定义
|
|
2502
|
+
*/
|
|
2503
|
+
dataSource: DataSourceDefinitionReference;
|
|
2504
|
+
/**
|
|
2505
|
+
* 聚合名
|
|
2506
|
+
*/
|
|
2507
|
+
name: string;
|
|
2508
|
+
/**
|
|
2509
|
+
* 聚合说明
|
|
2510
|
+
*/
|
|
2511
|
+
description: string;
|
|
2512
|
+
/**
|
|
2513
|
+
* 源平台部署ID
|
|
2514
|
+
*/
|
|
2515
|
+
releaseSource: string;
|
|
2516
|
+
/**
|
|
2517
|
+
* 源ID
|
|
2518
|
+
*/
|
|
2519
|
+
sourceId: string;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
/**
|
|
2523
|
+
* 聚合定义
|
|
2524
|
+
*/
|
|
2525
|
+
export interface AggregateDefinitionReference extends EntityBase {
|
|
2526
|
+
/**
|
|
2527
|
+
* 应用名
|
|
2528
|
+
*/
|
|
2529
|
+
appName: string;
|
|
2530
|
+
/**
|
|
2531
|
+
* 服务名
|
|
2532
|
+
*/
|
|
2533
|
+
serviceName: string;
|
|
2534
|
+
/**
|
|
2535
|
+
* 聚合名
|
|
2536
|
+
*/
|
|
2537
|
+
name: string;
|
|
2538
|
+
/**
|
|
2539
|
+
* 源平台部署ID
|
|
2540
|
+
*/
|
|
2541
|
+
releaseSource: string;
|
|
2542
|
+
/**
|
|
2543
|
+
* 源ID
|
|
2544
|
+
*/
|
|
2545
|
+
sourceId: string;
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
export type ReturnDataType =
|
|
2549
|
+
| "VOID" // 无返回值
|
|
2550
|
+
| "STRING" // 字符串类型
|
|
2551
|
+
| "BOOLEAN" // 布尔类型
|
|
2552
|
+
| "DATE" // 日期型
|
|
2553
|
+
| "DATETIME" // 日期时间型
|
|
2554
|
+
| "TIME" // 时间型
|
|
2555
|
+
| "INTEGER" // 整数型
|
|
2556
|
+
| "LONG" // 长整型
|
|
2557
|
+
| "SHORT" // 短整型
|
|
2558
|
+
| "BYTE" // 字节型
|
|
2559
|
+
| "DECIMAL" // 高精度小数
|
|
2560
|
+
| "ENUM" // 枚举型
|
|
2561
|
+
| "ENTITY"; // 实体类型
|
|
2562
|
+
|
|
2563
|
+
export type CommandHttpMethod = "PUT" | "POST" | "DELETE";
|
|
2564
|
+
|
|
2565
|
+
/**
|
|
2566
|
+
* 命令定义
|
|
2567
|
+
*/
|
|
2568
|
+
export interface CommandDefinition {
|
|
2569
|
+
id: string;
|
|
2570
|
+
dataVersion: number;
|
|
2571
|
+
sourceId?: string;
|
|
2572
|
+
releaseSource?: string;
|
|
2573
|
+
/**
|
|
2574
|
+
* 应用名
|
|
2575
|
+
*/
|
|
2576
|
+
appName?: string;
|
|
2577
|
+
/**
|
|
2578
|
+
* 服务名
|
|
2579
|
+
*/
|
|
2580
|
+
serviceName?: string;
|
|
2581
|
+
/**
|
|
2582
|
+
* 所属的聚合
|
|
2583
|
+
*/
|
|
2584
|
+
aggregate?: AggregateDefinitionReference;
|
|
2585
|
+
/**
|
|
2586
|
+
* 请求使用的HTTP方法
|
|
2587
|
+
*/
|
|
2588
|
+
httpMethod?: CommandHttpMethod;
|
|
2589
|
+
/**
|
|
2590
|
+
* 命令名
|
|
2591
|
+
*/
|
|
2592
|
+
name?: string;
|
|
2593
|
+
/**
|
|
2594
|
+
* 无需身份验证即可调用
|
|
2595
|
+
*/
|
|
2596
|
+
noAuthRequired?: boolean;
|
|
2597
|
+
/**
|
|
2598
|
+
* 执行命令需要的授权角色
|
|
2599
|
+
*/
|
|
2600
|
+
roleName?: string;
|
|
2601
|
+
/**
|
|
2602
|
+
* 是否对外部应用开放
|
|
2603
|
+
*/
|
|
2604
|
+
openToExternal?: boolean;
|
|
2605
|
+
/**
|
|
2606
|
+
* 请求路径
|
|
2607
|
+
*/
|
|
2608
|
+
requestPath?: string;
|
|
2609
|
+
/**
|
|
2610
|
+
* 执行成功返回的响应消息
|
|
2611
|
+
*/
|
|
2612
|
+
okMessage?: string;
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* 命令描述
|
|
2616
|
+
*/
|
|
2617
|
+
description?: string;
|
|
2618
|
+
/**
|
|
2619
|
+
* 返回值类型
|
|
2620
|
+
*/
|
|
2621
|
+
returnType?: ReturnDataType;
|
|
2622
|
+
/**
|
|
2623
|
+
* 返回的DTO
|
|
2624
|
+
*/
|
|
2625
|
+
returnDto?: DtoDefinitionReference;
|
|
2626
|
+
/**
|
|
2627
|
+
* 集合类型
|
|
2628
|
+
*/
|
|
2629
|
+
collectionType?: PropertyCollectionType;
|
|
2630
|
+
/**
|
|
2631
|
+
* Map的键类型
|
|
2632
|
+
*/
|
|
2633
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
2634
|
+
/**
|
|
2635
|
+
* 返回的枚举类型
|
|
2636
|
+
*/
|
|
2637
|
+
returnEnum?: EnumDefinitionReference;
|
|
2638
|
+
/**
|
|
2639
|
+
* Map键的枚举类型
|
|
2640
|
+
*/
|
|
2641
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
2642
|
+
/**
|
|
2643
|
+
* 禁用审计
|
|
2644
|
+
*/
|
|
2645
|
+
disableAudit?: boolean;
|
|
2646
|
+
/**
|
|
2647
|
+
* 审计事件类别
|
|
2648
|
+
*/
|
|
2649
|
+
eventCategory?: string;
|
|
2650
|
+
/**
|
|
2651
|
+
* 是否流程表单
|
|
2652
|
+
*/
|
|
2653
|
+
flowForm?: boolean;
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
/**
|
|
2657
|
+
* 命令定义引用
|
|
2658
|
+
*/
|
|
2659
|
+
export interface CommandDefinitionReference {
|
|
2660
|
+
id?: string;
|
|
2661
|
+
appName?: string;
|
|
2662
|
+
serviceName?: string;
|
|
2663
|
+
name?: string;
|
|
2664
|
+
}
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* 命令参数定义引用
|
|
2668
|
+
*/
|
|
2669
|
+
export interface CommandParamDefinitionReference {
|
|
2670
|
+
id?: string;
|
|
2671
|
+
name?: string;
|
|
2672
|
+
command?: CommandDefinitionReference;
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
/**
|
|
2676
|
+
* 命令参数约束定义
|
|
2677
|
+
*/
|
|
2678
|
+
export interface CommandParamConstraintDefinition {
|
|
2679
|
+
id?: string;
|
|
2680
|
+
dataVersion?: number;
|
|
2681
|
+
sourceId?: string;
|
|
2682
|
+
releaseSource?: string;
|
|
2683
|
+
/**
|
|
2684
|
+
* 受约束的参数定义
|
|
2685
|
+
*/
|
|
2686
|
+
paramDefinition?: CommandParamDefinitionReference;
|
|
2687
|
+
/**
|
|
2688
|
+
* 约束名称
|
|
2689
|
+
*/
|
|
2690
|
+
constraintName?: string;
|
|
2691
|
+
/**
|
|
2692
|
+
* 违反约束后的错误信息
|
|
2693
|
+
*/
|
|
2694
|
+
message?: string;
|
|
2695
|
+
/**
|
|
2696
|
+
* 约束属性值
|
|
2697
|
+
*/
|
|
2698
|
+
constraintParameters?: Record<string, any>;
|
|
2699
|
+
/**
|
|
2700
|
+
* 验证器payload
|
|
2701
|
+
*/
|
|
2702
|
+
payloads?: string[];
|
|
2703
|
+
/**
|
|
2704
|
+
* groups
|
|
2705
|
+
*/
|
|
2706
|
+
groups?: string[];
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
/**
|
|
2710
|
+
* 请求参数绑定方式
|
|
2711
|
+
*/
|
|
2712
|
+
export type RequestParamBindingType =
|
|
2713
|
+
| "PATH_VARIABLE" // 路径变量
|
|
2714
|
+
| "REQUEST_BODY" // 请求负载
|
|
2715
|
+
| "REQUEST_PARAM"; // 查询参数
|
|
2716
|
+
/**
|
|
2717
|
+
* 参数数据类型
|
|
2718
|
+
*/
|
|
2719
|
+
export type ParameterDataType =
|
|
2720
|
+
| "STRING" // 字符串类型
|
|
2721
|
+
| "BOOLEAN" // 布尔类型
|
|
2722
|
+
| "DATE" // 日期型
|
|
2723
|
+
| "DATETIME" // 日期时间型
|
|
2724
|
+
| "TIME" // 时间型
|
|
2725
|
+
| "INTEGER" // 整数型
|
|
2726
|
+
| "LONG" // 长整型
|
|
2727
|
+
| "SHORT" // 短整型
|
|
2728
|
+
| "BYTE" // 字节型
|
|
2729
|
+
| "DECIMAL" // 高精度小数
|
|
2730
|
+
| "ENUM" // 枚举型
|
|
2731
|
+
| "ENTITY"; // 实体类型
|
|
2732
|
+
|
|
2733
|
+
/**
|
|
2734
|
+
* 命令参数定义
|
|
2735
|
+
*/
|
|
2736
|
+
export interface CommandParamDefinition {
|
|
2737
|
+
id?: string;
|
|
2738
|
+
dataVersion?: number;
|
|
2739
|
+
sourceId?: string;
|
|
2740
|
+
releaseSource?: string;
|
|
2741
|
+
/**
|
|
2742
|
+
* 参数所属的命令
|
|
2743
|
+
*/
|
|
2744
|
+
command?: CommandDefinitionReference;
|
|
2745
|
+
/**
|
|
2746
|
+
* 参数名
|
|
2747
|
+
*/
|
|
2748
|
+
name?: string;
|
|
2749
|
+
/**
|
|
2750
|
+
* 排序号
|
|
2751
|
+
*/
|
|
2752
|
+
sortIndex?: number;
|
|
2753
|
+
/**
|
|
2754
|
+
* 非空
|
|
2755
|
+
*/
|
|
2756
|
+
notNull: boolean;
|
|
2757
|
+
/**
|
|
2758
|
+
* 参数绑定类型
|
|
2759
|
+
*/
|
|
2760
|
+
bindingType?: RequestParamBindingType;
|
|
2761
|
+
/**
|
|
2762
|
+
* 数据类型
|
|
2763
|
+
*/
|
|
2764
|
+
dataType?: ParameterDataType;
|
|
2765
|
+
/**
|
|
2766
|
+
* 日期时间格式
|
|
2767
|
+
*/
|
|
2768
|
+
dateTimeFormat?: string;
|
|
2769
|
+
/**
|
|
2770
|
+
* DTO类型
|
|
2771
|
+
*/
|
|
2772
|
+
dto?: DtoDefinitionReference;
|
|
2773
|
+
/**
|
|
2774
|
+
* 集合类型
|
|
2775
|
+
*/
|
|
2776
|
+
collectionType?: PropertyCollectionType;
|
|
2777
|
+
/**
|
|
2778
|
+
* Map键类型
|
|
2779
|
+
*/
|
|
2780
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
2781
|
+
/**
|
|
2782
|
+
* 描述
|
|
2783
|
+
*/
|
|
2784
|
+
description?: string;
|
|
2785
|
+
/**
|
|
2786
|
+
* 返回的枚举类型
|
|
2787
|
+
*/
|
|
2788
|
+
enumType: EnumDefinitionReference;
|
|
2789
|
+
/**
|
|
2790
|
+
* Map键的枚举类型
|
|
2791
|
+
*/
|
|
2792
|
+
mapKeyEnum: EnumDefinitionReference;
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
/**
|
|
2796
|
+
* 创建命令定义命令
|
|
2797
|
+
*/
|
|
2798
|
+
export interface CreateCommandDefinitionCommand {
|
|
2799
|
+
/**
|
|
2800
|
+
* 应用名
|
|
2801
|
+
*/
|
|
2802
|
+
appName?: string;
|
|
2803
|
+
/**
|
|
2804
|
+
* 服务名
|
|
2805
|
+
*/
|
|
2806
|
+
serviceName?: string;
|
|
2807
|
+
/**
|
|
2808
|
+
* 所属的聚合
|
|
2809
|
+
*/
|
|
2810
|
+
aggregate?: AggregateDefinitionReference;
|
|
2811
|
+
/**
|
|
2812
|
+
* 命令名
|
|
2813
|
+
*/
|
|
2814
|
+
name?: string;
|
|
2815
|
+
/**
|
|
2816
|
+
* 请求使用的HTTP方法
|
|
2817
|
+
*/
|
|
2818
|
+
httpMethod?: CommandHttpMethod;
|
|
2819
|
+
/**
|
|
2820
|
+
* 无需身份验证即可调用
|
|
2821
|
+
*/
|
|
2822
|
+
noAuthRequired?: boolean;
|
|
2823
|
+
/**
|
|
2824
|
+
* 执行命令需要的授权角色
|
|
2825
|
+
*/
|
|
2826
|
+
roleName?: string;
|
|
2827
|
+
/**
|
|
2828
|
+
* 是否对外部应用开放
|
|
2829
|
+
*/
|
|
2830
|
+
openToExternal?: boolean;
|
|
2831
|
+
/**
|
|
2832
|
+
* 请求路径
|
|
2833
|
+
*/
|
|
2834
|
+
requestPath?: string;
|
|
2835
|
+
/**
|
|
2836
|
+
* 执行成功返回的响应消息
|
|
2837
|
+
*/
|
|
2838
|
+
okMessage?: string;
|
|
2839
|
+
/**
|
|
2840
|
+
* 命令描述
|
|
2841
|
+
*/
|
|
2842
|
+
description?: string;
|
|
2843
|
+
/**
|
|
2844
|
+
* 返回值类型
|
|
2845
|
+
*/
|
|
2846
|
+
returnType: ReturnDataType;
|
|
2847
|
+
/**
|
|
2848
|
+
* 返回的DTO
|
|
2849
|
+
*/
|
|
2850
|
+
returnDto?: DtoDefinitionReference;
|
|
2851
|
+
/**
|
|
2852
|
+
* 集合类型
|
|
2853
|
+
*/
|
|
2854
|
+
collectionType: PropertyCollectionType;
|
|
2855
|
+
/**
|
|
2856
|
+
* Map的键类型(当集合类型为MAP时必须指定)
|
|
2857
|
+
*/
|
|
2858
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
2859
|
+
/**
|
|
2860
|
+
* 返回的枚举类型
|
|
2861
|
+
*/
|
|
2862
|
+
returnEnum?: EnumDefinitionReference;
|
|
2863
|
+
/**
|
|
2864
|
+
* Map键的枚举类型
|
|
2865
|
+
*/
|
|
2866
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
2867
|
+
/**
|
|
2868
|
+
* 禁用审计
|
|
2869
|
+
*/
|
|
2870
|
+
disableAudit?: boolean;
|
|
2871
|
+
/**
|
|
2872
|
+
* 审计事件类别
|
|
2873
|
+
*/
|
|
2874
|
+
eventCategory?: string;
|
|
2875
|
+
/**
|
|
2876
|
+
* 是否流程表单
|
|
2877
|
+
*/
|
|
2878
|
+
flowForm?: boolean;
|
|
2879
|
+
}
|
|
2880
|
+
|
|
2881
|
+
/**
|
|
2882
|
+
* 创还能命令参数约束定义命令
|
|
2883
|
+
*/
|
|
2884
|
+
export interface CreateCommandParamConstraintDefinitionCommand {
|
|
2885
|
+
/**
|
|
2886
|
+
* 受约束的参数定义
|
|
2887
|
+
*/
|
|
2888
|
+
paramDefinition?: CommandParamDefinitionReference;
|
|
2889
|
+
/**
|
|
2890
|
+
* 约束名称
|
|
2891
|
+
*/
|
|
2892
|
+
constraintName?: string;
|
|
2893
|
+
/**
|
|
2894
|
+
* 违反约束后的错误信息
|
|
2895
|
+
*/
|
|
2896
|
+
message?: string;
|
|
2897
|
+
/**
|
|
2898
|
+
* 约束属性值
|
|
2899
|
+
*/
|
|
2900
|
+
constraintParameters?: Record<string, string>;
|
|
2901
|
+
/**
|
|
2902
|
+
* 验证器payload
|
|
2903
|
+
*/
|
|
2904
|
+
payloads?: string[];
|
|
2905
|
+
/**
|
|
2906
|
+
* 验证器groups
|
|
2907
|
+
*/
|
|
2908
|
+
groups?: string[];
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
/**
|
|
2912
|
+
* 创建命令参数定义命令
|
|
2913
|
+
*/
|
|
2914
|
+
export interface CreateCommandParamDefinitionCommand {
|
|
2915
|
+
/**
|
|
2916
|
+
* 参数所属的命令
|
|
2917
|
+
*/
|
|
2918
|
+
command?: CommandDefinitionReference;
|
|
2919
|
+
/**
|
|
2920
|
+
* 参数名
|
|
2921
|
+
*/
|
|
2922
|
+
name?: string;
|
|
2923
|
+
/**
|
|
2924
|
+
* 排序号
|
|
2925
|
+
*/
|
|
2926
|
+
sortIndex?: number;
|
|
2927
|
+
/**
|
|
2928
|
+
* 非空
|
|
2929
|
+
*/
|
|
2930
|
+
notNull: boolean;
|
|
2931
|
+
/**
|
|
2932
|
+
* 参数绑定类型
|
|
2933
|
+
*/
|
|
2934
|
+
bindingType?: RequestParamBindingType;
|
|
2935
|
+
/**
|
|
2936
|
+
* 数据类型
|
|
2937
|
+
*/
|
|
2938
|
+
dataType?: ParameterDataType;
|
|
2939
|
+
/**
|
|
2940
|
+
* 日期时间格式
|
|
2941
|
+
*/
|
|
2942
|
+
dateTimeFormat?: string;
|
|
2943
|
+
/**
|
|
2944
|
+
* DTO类型
|
|
2945
|
+
*/
|
|
2946
|
+
dto?: DtoDefinitionReference;
|
|
2947
|
+
/**
|
|
2948
|
+
* 集合类型
|
|
2949
|
+
*/
|
|
2950
|
+
collectionType?: PropertyCollectionType;
|
|
2951
|
+
/**
|
|
2952
|
+
* Map键类型(当集合类型为MAP时必须指定)
|
|
2953
|
+
*/
|
|
2954
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
2955
|
+
/**
|
|
2956
|
+
* 描述
|
|
2957
|
+
*/
|
|
2958
|
+
description?: string;
|
|
2959
|
+
/**
|
|
2960
|
+
* 枚举类型
|
|
2961
|
+
*/
|
|
2962
|
+
enumType?: EnumDefinitionReference;
|
|
2963
|
+
/**
|
|
2964
|
+
* Map键的枚举类型
|
|
2965
|
+
*/
|
|
2966
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2969
|
+
/**
|
|
2970
|
+
* 更新命令定义命令
|
|
2971
|
+
*/
|
|
2972
|
+
export interface UpdateCommandDefinitionCommand {
|
|
2973
|
+
/**
|
|
2974
|
+
* 命令ID
|
|
2975
|
+
*/
|
|
2976
|
+
id?: string;
|
|
2977
|
+
|
|
2978
|
+
/**
|
|
2979
|
+
* 数据版本
|
|
2980
|
+
*/
|
|
2981
|
+
dataVersion?: number;
|
|
2982
|
+
/**
|
|
2983
|
+
* 请求使用的HTTP方法
|
|
2984
|
+
*/
|
|
2985
|
+
httpMethod?: CommandHttpMethod;
|
|
2986
|
+
|
|
2987
|
+
/**
|
|
2988
|
+
* 命令名
|
|
2989
|
+
*/
|
|
2990
|
+
name?: string;
|
|
2991
|
+
|
|
2992
|
+
/**
|
|
2993
|
+
* 无需身份验证即可调用
|
|
2994
|
+
*/
|
|
2995
|
+
noAuthRequired?: boolean;
|
|
2996
|
+
|
|
2997
|
+
/**
|
|
2998
|
+
* 执行命令需要的授权角色
|
|
2999
|
+
*/
|
|
3000
|
+
roleName?: string;
|
|
3001
|
+
|
|
3002
|
+
/**
|
|
3003
|
+
* 是否对外部应用开放
|
|
3004
|
+
*/
|
|
3005
|
+
openToExternal?: boolean;
|
|
3006
|
+
|
|
3007
|
+
/**
|
|
3008
|
+
* 请求路径
|
|
3009
|
+
*/
|
|
3010
|
+
requestPath?: string;
|
|
3011
|
+
/**
|
|
3012
|
+
* 执行成功返回的响应消息
|
|
3013
|
+
*/
|
|
3014
|
+
okMessage?: string;
|
|
3015
|
+
|
|
3016
|
+
/**
|
|
3017
|
+
* 命令描述
|
|
3018
|
+
*/
|
|
3019
|
+
description?: string;
|
|
3020
|
+
|
|
3021
|
+
/**
|
|
3022
|
+
* 返回值类型
|
|
3023
|
+
*/
|
|
3024
|
+
returnType?: ReturnDataType;
|
|
3025
|
+
|
|
3026
|
+
/**
|
|
3027
|
+
* 返回的DTO
|
|
3028
|
+
*/
|
|
3029
|
+
returnDto?: DtoDefinitionReference;
|
|
3030
|
+
|
|
3031
|
+
/**
|
|
3032
|
+
* 集合类型
|
|
3033
|
+
*/
|
|
3034
|
+
collectionType?: PropertyCollectionType;
|
|
3035
|
+
|
|
3036
|
+
/**
|
|
3037
|
+
* Map的键类型
|
|
3038
|
+
*/
|
|
3039
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
3040
|
+
/**
|
|
3041
|
+
* 返回的枚举类型
|
|
3042
|
+
*/
|
|
3043
|
+
returnEnum?: EnumDefinitionReference;
|
|
3044
|
+
/**
|
|
3045
|
+
* Map键的枚举类型
|
|
3046
|
+
*/
|
|
3047
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
3048
|
+
/**
|
|
3049
|
+
* 禁用审计
|
|
3050
|
+
*/
|
|
3051
|
+
disableAudit?: boolean;
|
|
3052
|
+
/**
|
|
3053
|
+
* 审计事件类别
|
|
3054
|
+
*/
|
|
3055
|
+
eventCategory?: string;
|
|
3056
|
+
/**
|
|
3057
|
+
* 是否流程表单
|
|
3058
|
+
*/
|
|
3059
|
+
flowForm?: boolean;
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3062
|
+
/**
|
|
3063
|
+
* 更新命令参数约束定义
|
|
3064
|
+
*/
|
|
3065
|
+
export interface UpdateCommandParamConstraintDefinitionCommand {
|
|
3066
|
+
/**
|
|
3067
|
+
* 命令参数约束ID
|
|
3068
|
+
*/
|
|
3069
|
+
id?: string;
|
|
3070
|
+
|
|
3071
|
+
/**
|
|
3072
|
+
* 数据版本
|
|
3073
|
+
*/
|
|
3074
|
+
dataVersion?: number;
|
|
3075
|
+
|
|
3076
|
+
/**
|
|
3077
|
+
* 受约束的参数定义
|
|
3078
|
+
*/
|
|
3079
|
+
paramDefinition?: CommandParamDefinitionReference;
|
|
3080
|
+
|
|
3081
|
+
/**
|
|
3082
|
+
* 约束名称
|
|
3083
|
+
*/
|
|
3084
|
+
constraintName?: string;
|
|
3085
|
+
|
|
3086
|
+
/**
|
|
3087
|
+
* 违反约束后的错误信息
|
|
3088
|
+
*/
|
|
3089
|
+
message?: string;
|
|
3090
|
+
|
|
3091
|
+
/**
|
|
3092
|
+
* 约束属性值
|
|
3093
|
+
*/
|
|
3094
|
+
constraintParameters?: Record<string, string>;
|
|
3095
|
+
|
|
3096
|
+
/**
|
|
3097
|
+
* 验证器payload
|
|
3098
|
+
*/
|
|
3099
|
+
payloads?: Set<string>;
|
|
3100
|
+
|
|
3101
|
+
/**
|
|
3102
|
+
* 验证器groups
|
|
3103
|
+
*/
|
|
3104
|
+
groups?: Set<string>;
|
|
3105
|
+
}
|
|
3106
|
+
|
|
3107
|
+
/**
|
|
3108
|
+
* 更新命令参数命令
|
|
3109
|
+
*/
|
|
3110
|
+
export interface UpdateCommandParamDefinitionCommand {
|
|
3111
|
+
/**
|
|
3112
|
+
* ID
|
|
3113
|
+
*/
|
|
3114
|
+
id?: string;
|
|
3115
|
+
/**
|
|
3116
|
+
* 数据版本
|
|
3117
|
+
*/
|
|
3118
|
+
dataVersion?: number;
|
|
3119
|
+
/**
|
|
3120
|
+
* 参数名
|
|
3121
|
+
*/
|
|
3122
|
+
name?: string;
|
|
3123
|
+
/**
|
|
3124
|
+
* 排序号
|
|
3125
|
+
*/
|
|
3126
|
+
sortIndex?: number;
|
|
3127
|
+
/**
|
|
3128
|
+
* 非空
|
|
3129
|
+
*/
|
|
3130
|
+
notNull: boolean;
|
|
3131
|
+
/**
|
|
3132
|
+
* 参数绑定类型
|
|
3133
|
+
*/
|
|
3134
|
+
bindingType?: RequestParamBindingType;
|
|
3135
|
+
/**
|
|
3136
|
+
* DTO类型
|
|
3137
|
+
*/
|
|
3138
|
+
dto?: DtoDefinitionReference;
|
|
3139
|
+
/**
|
|
3140
|
+
* 数据类型
|
|
3141
|
+
*/
|
|
3142
|
+
dataType?: ParameterDataType;
|
|
3143
|
+
/**
|
|
3144
|
+
* 日期时间格式
|
|
3145
|
+
*/
|
|
3146
|
+
dateTimeFormat?: string;
|
|
3147
|
+
/**
|
|
3148
|
+
* 集合类型
|
|
3149
|
+
*/
|
|
3150
|
+
collectionType?: PropertyCollectionType;
|
|
3151
|
+
/**
|
|
3152
|
+
* Map键类型
|
|
3153
|
+
*/
|
|
3154
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
3155
|
+
/**
|
|
3156
|
+
* 描述
|
|
3157
|
+
*/
|
|
3158
|
+
description?: string;
|
|
3159
|
+
/**
|
|
3160
|
+
* 发布来源
|
|
3161
|
+
*/
|
|
3162
|
+
releaseSource?: string;
|
|
3163
|
+
/**
|
|
3164
|
+
* 来源ID
|
|
3165
|
+
*/
|
|
3166
|
+
sourceId?: string;
|
|
3167
|
+
/**
|
|
3168
|
+
* 返回的枚举类型
|
|
3169
|
+
*/
|
|
3170
|
+
enumType?: EnumDefinitionReference;
|
|
3171
|
+
/**
|
|
3172
|
+
* Map键的枚举类型
|
|
3173
|
+
*/
|
|
3174
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
3175
|
+
}
|
|
3176
|
+
|
|
3177
|
+
/**
|
|
3178
|
+
* 实体操作类型
|
|
3179
|
+
*/
|
|
3180
|
+
export type EntityOperation = "CREATE" | "UPDATE" | "DELETE";
|
|
3181
|
+
|
|
3182
|
+
/**
|
|
3183
|
+
* 创建实体操作命令定义命令
|
|
3184
|
+
*/
|
|
3185
|
+
export interface CreateEntityOperationCommandsCommand {
|
|
3186
|
+
/**
|
|
3187
|
+
* 实体ID
|
|
3188
|
+
*/
|
|
3189
|
+
entityId: string;
|
|
3190
|
+
/**
|
|
3191
|
+
* 要创建的实体操作命令
|
|
3192
|
+
*/
|
|
3193
|
+
operations: EntityOperation[];
|
|
3194
|
+
/**
|
|
3195
|
+
* 为实体操作命令设置的关联角色
|
|
3196
|
+
*/
|
|
3197
|
+
roleName?: string;
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
/**
|
|
3201
|
+
* 从数据源导入实体定义命令
|
|
3202
|
+
*/
|
|
3203
|
+
export interface ImportFromDbCommand {
|
|
3204
|
+
/**
|
|
3205
|
+
* 要导入的表名
|
|
3206
|
+
*/
|
|
3207
|
+
importTableNames: string[];
|
|
3208
|
+
|
|
3209
|
+
/**
|
|
3210
|
+
* 数据源ID
|
|
3211
|
+
*/
|
|
3212
|
+
dataSourceId?: string;
|
|
3213
|
+
|
|
3214
|
+
/**
|
|
3215
|
+
* 自动ID字段名
|
|
3216
|
+
*/
|
|
3217
|
+
autoIdFieldName?: string;
|
|
3218
|
+
|
|
3219
|
+
/**
|
|
3220
|
+
* 数据版本字段名
|
|
3221
|
+
*/
|
|
3222
|
+
dataVersionFieldName?: string;
|
|
3223
|
+
|
|
3224
|
+
/**
|
|
3225
|
+
* 密级字段名
|
|
3226
|
+
*/
|
|
3227
|
+
classificationLevelFieldName?: string;
|
|
3228
|
+
|
|
3229
|
+
/**
|
|
3230
|
+
* 已回收字段名
|
|
3231
|
+
*/
|
|
3232
|
+
recycledFieldName?: string;
|
|
3233
|
+
|
|
3234
|
+
/**
|
|
3235
|
+
* 回收索引自定名, 没有的话自动创建
|
|
3236
|
+
*/
|
|
3237
|
+
recycleIndexFieldName?: string;
|
|
3238
|
+
|
|
3239
|
+
/**
|
|
3240
|
+
* 创建用户ID字段
|
|
3241
|
+
*/
|
|
3242
|
+
createdByUserIdFieldName?: string;
|
|
3243
|
+
|
|
3244
|
+
/**
|
|
3245
|
+
* 创建用户姓名字段
|
|
3246
|
+
*/
|
|
3247
|
+
createdByUserNameFieldName?: string;
|
|
3248
|
+
|
|
3249
|
+
/**
|
|
3250
|
+
* 创建部门ID字段
|
|
3251
|
+
*/
|
|
3252
|
+
createdByDeptIdFieldName?: string;
|
|
3253
|
+
|
|
3254
|
+
/**
|
|
3255
|
+
* 创建部门名称字段
|
|
3256
|
+
*/
|
|
3257
|
+
createdByDeptNameFieldName?: string;
|
|
3258
|
+
|
|
3259
|
+
/**
|
|
3260
|
+
* 创建用户域Id字段
|
|
3261
|
+
*/
|
|
3262
|
+
createdByRealmNameFieldName?: string;
|
|
3263
|
+
|
|
3264
|
+
/**
|
|
3265
|
+
* 创建时间字段
|
|
3266
|
+
*/
|
|
3267
|
+
createdTimeFieldName?: string;
|
|
3268
|
+
|
|
3269
|
+
/**
|
|
3270
|
+
* 识别树结构父节点ID字段名
|
|
3271
|
+
*/
|
|
3272
|
+
parentIdFieldName?: string;
|
|
3273
|
+
|
|
3274
|
+
/**
|
|
3275
|
+
* 识别树结构节点序号字段名
|
|
3276
|
+
*/
|
|
3277
|
+
sortIndexFieldName?: string;
|
|
3278
|
+
|
|
3279
|
+
/**
|
|
3280
|
+
* 是否有子节点字段名
|
|
3281
|
+
*/
|
|
3282
|
+
hasChildrenFieldName?: string;
|
|
3283
|
+
|
|
3284
|
+
/**
|
|
3285
|
+
* 树节点路径字段名
|
|
3286
|
+
*/
|
|
3287
|
+
sortPathFieldName?: string;
|
|
3288
|
+
|
|
3289
|
+
/**
|
|
3290
|
+
* 发布源站点ID字段名
|
|
3291
|
+
*/
|
|
3292
|
+
releaseSourceFieldName?: string;
|
|
3293
|
+
|
|
3294
|
+
/**
|
|
3295
|
+
* 源ID字段名
|
|
3296
|
+
*/
|
|
3297
|
+
sourceIdFieldName?: string;
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3300
|
+
/**
|
|
3301
|
+
* 查询的HTTP方法
|
|
3302
|
+
*/
|
|
3303
|
+
export type QueryHttpMethod = "GET" | "POST";
|
|
3304
|
+
/**
|
|
3305
|
+
* 查询结果的集合类型
|
|
3306
|
+
*/
|
|
3307
|
+
export type QueryResultCollectionType = "NONE" | "PAGE" | "LIST" | "STREAM";
|
|
3308
|
+
/**
|
|
3309
|
+
* 查询锁类型
|
|
3310
|
+
*/
|
|
3311
|
+
export type LockType =
|
|
3312
|
+
| "NONE"
|
|
3313
|
+
| "OPTIMISTIC"
|
|
3314
|
+
| "OPTIMISTIC_FORCE_INCREMENT"
|
|
3315
|
+
| "PESSIMISTIC_READ"
|
|
3316
|
+
| "PESSIMISTIC_WRITE";
|
|
3317
|
+
|
|
3318
|
+
/**
|
|
3319
|
+
* 查询定义
|
|
3320
|
+
*/
|
|
3321
|
+
export interface QueryDefinition {
|
|
3322
|
+
id: string;
|
|
3323
|
+
dataVersion: number;
|
|
3324
|
+
|
|
3325
|
+
/** 应用名 */
|
|
3326
|
+
appName: string;
|
|
3327
|
+
|
|
3328
|
+
/** 服务名 */
|
|
3329
|
+
serviceName: string;
|
|
3330
|
+
|
|
3331
|
+
/** 所属的聚合 */
|
|
3332
|
+
aggregate: AggregateDefinitionReference;
|
|
3333
|
+
|
|
3334
|
+
/** 查询名称 */
|
|
3335
|
+
name: string;
|
|
3336
|
+
|
|
3337
|
+
/** 是否对客户端开放, 生成REST接口 */
|
|
3338
|
+
openToClient?: boolean;
|
|
3339
|
+
|
|
3340
|
+
/** http方法 */
|
|
3341
|
+
httpMethod?: QueryHttpMethod;
|
|
3342
|
+
|
|
3343
|
+
/** 无需身份验证即可调用 */
|
|
3344
|
+
noAuthRequired?: boolean;
|
|
3345
|
+
|
|
3346
|
+
/** 执行查询需要的授权角色 */
|
|
3347
|
+
roleName?: string;
|
|
3348
|
+
|
|
3349
|
+
/** 请求路径 */
|
|
3350
|
+
requestPath?: string;
|
|
3351
|
+
|
|
3352
|
+
/** 查询描述 */
|
|
3353
|
+
description?: string;
|
|
3354
|
+
|
|
3355
|
+
/** 返回值类型 */
|
|
3356
|
+
returnType: ReturnDataType;
|
|
3357
|
+
|
|
3358
|
+
/** 返回的DTO */
|
|
3359
|
+
returnDto?: DtoDefinitionReference;
|
|
3360
|
+
|
|
3361
|
+
/** 集合类型 */
|
|
3362
|
+
collectionType: QueryResultCollectionType;
|
|
3363
|
+
|
|
3364
|
+
/** 返回的枚举类型 */
|
|
3365
|
+
returnEnum?: EnumDefinitionReference;
|
|
3366
|
+
|
|
3367
|
+
/** Map键的枚举类型 */
|
|
3368
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
3369
|
+
|
|
3370
|
+
/** Map的键类型(当集合类型为MAP时必须指定) */
|
|
3371
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
3372
|
+
|
|
3373
|
+
/** 锁类型 */
|
|
3374
|
+
lockType?: LockType;
|
|
3375
|
+
|
|
3376
|
+
/** 查询 */
|
|
3377
|
+
queryText?: string;
|
|
3378
|
+
|
|
3379
|
+
/** 是否动态查询 */
|
|
3380
|
+
dynamicQuery?: boolean;
|
|
3381
|
+
|
|
3382
|
+
/** 查询实体 */
|
|
3383
|
+
queryEntity?: EntityDefinitionReference;
|
|
3384
|
+
|
|
3385
|
+
/** 使用原生SQL,而不是JPQL */
|
|
3386
|
+
rawSql?: boolean;
|
|
3387
|
+
|
|
3388
|
+
/** 即时加载属性(设置为@EntityGraph的attributes属性值) */
|
|
3389
|
+
graphProperties?: Set<string>;
|
|
3390
|
+
|
|
3391
|
+
/** 发布来源 */
|
|
3392
|
+
releaseSource?: string;
|
|
3393
|
+
|
|
3394
|
+
/** 来源ID */
|
|
3395
|
+
sourceId?: string;
|
|
3396
|
+
}
|
|
3397
|
+
|
|
3398
|
+
/**
|
|
3399
|
+
* 查询定义引用
|
|
3400
|
+
*/
|
|
3401
|
+
export interface QueryDefinitionReference {
|
|
3402
|
+
/** 主键ID */
|
|
3403
|
+
id?: string;
|
|
3404
|
+
|
|
3405
|
+
/** 发布来源 */
|
|
3406
|
+
releaseSource?: string;
|
|
3407
|
+
|
|
3408
|
+
/** 来源ID */
|
|
3409
|
+
sourceId?: string;
|
|
3410
|
+
|
|
3411
|
+
/** 应用名 */
|
|
3412
|
+
appName?: string;
|
|
3413
|
+
|
|
3414
|
+
/** 服务名 */
|
|
3415
|
+
serviceName?: string;
|
|
3416
|
+
|
|
3417
|
+
/** 查询名称(事件关键字段) */
|
|
3418
|
+
name?: string;
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
/**
|
|
3422
|
+
* 查询参数定义引用
|
|
3423
|
+
*/
|
|
3424
|
+
export interface QueryParamDefinitionReference {
|
|
3425
|
+
/**
|
|
3426
|
+
* 参数定义 ID
|
|
3427
|
+
*/
|
|
3428
|
+
id?: string;
|
|
3429
|
+
|
|
3430
|
+
/**
|
|
3431
|
+
* 发布来源
|
|
3432
|
+
*/
|
|
3433
|
+
releaseSource?: string;
|
|
3434
|
+
|
|
3435
|
+
/**
|
|
3436
|
+
* 来源 ID
|
|
3437
|
+
*/
|
|
3438
|
+
sourceId?: string;
|
|
3439
|
+
|
|
3440
|
+
/**
|
|
3441
|
+
* 参数名称(用于事件关键字)
|
|
3442
|
+
*/
|
|
3443
|
+
name?: string;
|
|
3444
|
+
|
|
3445
|
+
/**
|
|
3446
|
+
* 所属查询定义
|
|
3447
|
+
*/
|
|
3448
|
+
query?: QueryDefinitionReference;
|
|
3449
|
+
}
|
|
3450
|
+
|
|
3451
|
+
/**
|
|
3452
|
+
* 查询参数定义
|
|
3453
|
+
*/
|
|
3454
|
+
export interface QueryParamDefinition {
|
|
3455
|
+
/**
|
|
3456
|
+
* 唯一标识
|
|
3457
|
+
*/
|
|
3458
|
+
id?: string;
|
|
3459
|
+
|
|
3460
|
+
/**
|
|
3461
|
+
* 数据版本
|
|
3462
|
+
*/
|
|
3463
|
+
dataVersion?: number;
|
|
3464
|
+
|
|
3465
|
+
/**
|
|
3466
|
+
* 源ID
|
|
3467
|
+
*/
|
|
3468
|
+
sourceId?: string;
|
|
3469
|
+
|
|
3470
|
+
/**
|
|
3471
|
+
* 发布源
|
|
3472
|
+
*/
|
|
3473
|
+
releaseSource?: string;
|
|
3474
|
+
|
|
3475
|
+
/**
|
|
3476
|
+
* 参数所属的查询
|
|
3477
|
+
*/
|
|
3478
|
+
query?: QueryDefinitionReference;
|
|
3479
|
+
|
|
3480
|
+
/**
|
|
3481
|
+
* 参数名
|
|
3482
|
+
*/
|
|
3483
|
+
name?: string;
|
|
3484
|
+
|
|
3485
|
+
/**
|
|
3486
|
+
* 排序号
|
|
3487
|
+
*/
|
|
3488
|
+
sortIndex?: number;
|
|
3489
|
+
|
|
3490
|
+
/**
|
|
3491
|
+
* 是否不能为空
|
|
3492
|
+
*/
|
|
3493
|
+
notNull?: boolean;
|
|
3494
|
+
|
|
3495
|
+
/**
|
|
3496
|
+
* 参数绑定类型
|
|
3497
|
+
*/
|
|
3498
|
+
bindingType?: RequestParamBindingType;
|
|
3499
|
+
|
|
3500
|
+
/**
|
|
3501
|
+
* 数据类型
|
|
3502
|
+
*/
|
|
3503
|
+
dataType?: ParameterDataType;
|
|
3504
|
+
/**
|
|
3505
|
+
* 日期时间格式
|
|
3506
|
+
*/
|
|
3507
|
+
dateTimeFormat?: string;
|
|
3508
|
+
|
|
3509
|
+
/**
|
|
3510
|
+
* 集合类型
|
|
3511
|
+
*/
|
|
3512
|
+
collectionType?: PropertyCollectionType;
|
|
3513
|
+
|
|
3514
|
+
/**
|
|
3515
|
+
* DTO 类型
|
|
3516
|
+
*/
|
|
3517
|
+
dto?: DtoDefinitionReference;
|
|
3518
|
+
|
|
3519
|
+
/**
|
|
3520
|
+
* 返回的枚举类型
|
|
3521
|
+
*/
|
|
3522
|
+
enumType?: EnumDefinitionReference;
|
|
3523
|
+
|
|
3524
|
+
/**
|
|
3525
|
+
* Map 键的枚举类型
|
|
3526
|
+
*/
|
|
3527
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
3528
|
+
|
|
3529
|
+
/**
|
|
3530
|
+
* Map 键的数据类型
|
|
3531
|
+
*/
|
|
3532
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
3533
|
+
|
|
3534
|
+
/**
|
|
3535
|
+
* 参数描述
|
|
3536
|
+
*/
|
|
3537
|
+
description?: string;
|
|
3538
|
+
/**
|
|
3539
|
+
* 非前段调用参数,仅在repository上使用
|
|
3540
|
+
*/
|
|
3541
|
+
notFrontendParam?: boolean;
|
|
3542
|
+
}
|
|
3543
|
+
|
|
3544
|
+
/**
|
|
3545
|
+
* 查询参数约束定义
|
|
3546
|
+
*/
|
|
3547
|
+
export interface QueryParamConstraintDefinition {
|
|
3548
|
+
/**
|
|
3549
|
+
* 主键 ID
|
|
3550
|
+
*/
|
|
3551
|
+
id?: string;
|
|
3552
|
+
|
|
3553
|
+
/**
|
|
3554
|
+
* 数据版本号
|
|
3555
|
+
*/
|
|
3556
|
+
dataVersion?: number;
|
|
3557
|
+
|
|
3558
|
+
/**
|
|
3559
|
+
* 来源 ID
|
|
3560
|
+
*/
|
|
3561
|
+
sourceId?: string;
|
|
3562
|
+
|
|
3563
|
+
/**
|
|
3564
|
+
* 发布来源
|
|
3565
|
+
*/
|
|
3566
|
+
releaseSource?: string;
|
|
3567
|
+
|
|
3568
|
+
/**
|
|
3569
|
+
* 受约束的参数定义
|
|
3570
|
+
*/
|
|
3571
|
+
paramDefinition?: QueryParamDefinitionReference;
|
|
3572
|
+
|
|
3573
|
+
/**
|
|
3574
|
+
* 约束名称
|
|
3575
|
+
*/
|
|
3576
|
+
constraintName?: string;
|
|
3577
|
+
|
|
3578
|
+
/**
|
|
3579
|
+
* 违反约束后的错误信息
|
|
3580
|
+
*/
|
|
3581
|
+
message?: string;
|
|
3582
|
+
|
|
3583
|
+
/**
|
|
3584
|
+
* 约束属性值
|
|
3585
|
+
*/
|
|
3586
|
+
constraintParameters?: Record<string, any>;
|
|
3587
|
+
|
|
3588
|
+
/**
|
|
3589
|
+
* 验证器 payload
|
|
3590
|
+
*/
|
|
3591
|
+
payloads?: string[];
|
|
3592
|
+
|
|
3593
|
+
/**
|
|
3594
|
+
* 分组
|
|
3595
|
+
*/
|
|
3596
|
+
groups?: string[];
|
|
3597
|
+
}
|
|
3598
|
+
|
|
3599
|
+
/**
|
|
3600
|
+
* 创建查询定义命令
|
|
3601
|
+
*/
|
|
3602
|
+
export interface CreateQueryDefinitionCommand {
|
|
3603
|
+
/**
|
|
3604
|
+
* 应用名
|
|
3605
|
+
*/
|
|
3606
|
+
appName?: string;
|
|
3607
|
+
|
|
3608
|
+
/**
|
|
3609
|
+
* 服务名
|
|
3610
|
+
*/
|
|
3611
|
+
serviceName?: string;
|
|
3612
|
+
|
|
3613
|
+
/**
|
|
3614
|
+
* 所属的聚合
|
|
3615
|
+
*/
|
|
3616
|
+
aggregate?: AggregateDefinitionReference;
|
|
3617
|
+
|
|
3618
|
+
/**
|
|
3619
|
+
* 查询名称
|
|
3620
|
+
*/
|
|
3621
|
+
name?: string;
|
|
3622
|
+
|
|
3623
|
+
/**
|
|
3624
|
+
* 是否对客户端开放, 生成REST接口
|
|
3625
|
+
*/
|
|
3626
|
+
openToClient?: boolean;
|
|
3627
|
+
|
|
3628
|
+
/**
|
|
3629
|
+
* http方法
|
|
3630
|
+
*/
|
|
3631
|
+
httpMethod?: QueryHttpMethod;
|
|
3632
|
+
|
|
3633
|
+
/**
|
|
3634
|
+
* 无需身份验证即可调用
|
|
3635
|
+
* @example false
|
|
3636
|
+
*/
|
|
3637
|
+
noAuthRequired?: boolean;
|
|
3638
|
+
|
|
3639
|
+
/**
|
|
3640
|
+
* 执行命令需要的授权角色
|
|
3641
|
+
* @example ROLE_USER
|
|
3642
|
+
*/
|
|
3643
|
+
roleName?: string;
|
|
3644
|
+
|
|
3645
|
+
/**
|
|
3646
|
+
* 请求路径
|
|
3647
|
+
*/
|
|
3648
|
+
requestPath?: string;
|
|
3649
|
+
|
|
3650
|
+
/**
|
|
3651
|
+
* 命令描述
|
|
3652
|
+
* @example This is a command description.
|
|
3653
|
+
*/
|
|
3654
|
+
description?: string;
|
|
3655
|
+
|
|
3656
|
+
/**
|
|
3657
|
+
* 返回值类型
|
|
3658
|
+
*/
|
|
3659
|
+
returnType?: ReturnDataType;
|
|
3660
|
+
|
|
3661
|
+
/**
|
|
3662
|
+
* 返回的DTO
|
|
3663
|
+
*/
|
|
3664
|
+
returnDto?: DtoDefinitionReference;
|
|
3665
|
+
|
|
3666
|
+
/**
|
|
3667
|
+
* 集合类型
|
|
3668
|
+
*/
|
|
3669
|
+
collectionType?: QueryResultCollectionType;
|
|
3670
|
+
|
|
3671
|
+
/**
|
|
3672
|
+
* 返回的枚举类型
|
|
3673
|
+
*/
|
|
3674
|
+
returnEnum?: EnumDefinitionReference;
|
|
3675
|
+
|
|
3676
|
+
/**
|
|
3677
|
+
* Map键的枚举类型
|
|
3678
|
+
*/
|
|
3679
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
3680
|
+
|
|
3681
|
+
/**
|
|
3682
|
+
* Map的键类型(当集合类型为MAP时必须指定)
|
|
3683
|
+
*/
|
|
3684
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
3685
|
+
|
|
3686
|
+
/**
|
|
3687
|
+
* 锁类型
|
|
3688
|
+
*/
|
|
3689
|
+
lockType?: LockType;
|
|
3690
|
+
|
|
3691
|
+
/**
|
|
3692
|
+
* 查询
|
|
3693
|
+
*/
|
|
3694
|
+
queryText?: string;
|
|
3695
|
+
|
|
3696
|
+
/**
|
|
3697
|
+
* 是否动态查询
|
|
3698
|
+
*/
|
|
3699
|
+
dynamicQuery?: boolean;
|
|
3700
|
+
|
|
3701
|
+
/**
|
|
3702
|
+
* 查询实体
|
|
3703
|
+
*/
|
|
3704
|
+
queryEntity?: EntityDefinitionReference;
|
|
3705
|
+
|
|
3706
|
+
/**
|
|
3707
|
+
* 使用原生SQL,而不是JPQL
|
|
3708
|
+
*/
|
|
3709
|
+
rawSql?: boolean;
|
|
3710
|
+
|
|
3711
|
+
/**
|
|
3712
|
+
* 即时加载属性(设置为@EntityGraph的attributes属性值)
|
|
3713
|
+
*/
|
|
3714
|
+
graphProperties?: string[];
|
|
3715
|
+
|
|
3716
|
+
/**
|
|
3717
|
+
* 发布来源
|
|
3718
|
+
* @example releaseSource
|
|
3719
|
+
*/
|
|
3720
|
+
releaseSource?: string;
|
|
3721
|
+
|
|
3722
|
+
/**
|
|
3723
|
+
* 来源ID
|
|
3724
|
+
* @example 1001
|
|
3725
|
+
*/
|
|
3726
|
+
sourceId?: string;
|
|
3727
|
+
}
|
|
3728
|
+
|
|
3729
|
+
/**
|
|
3730
|
+
* 更新命令定义命令
|
|
3731
|
+
* @description 更新命令定义命令
|
|
3732
|
+
*/
|
|
3733
|
+
export interface UpdateQueryDefinitionCommand {
|
|
3734
|
+
/**
|
|
3735
|
+
* 命令ID
|
|
3736
|
+
* @example 1
|
|
3737
|
+
*/
|
|
3738
|
+
id?: string;
|
|
3739
|
+
|
|
3740
|
+
/**
|
|
3741
|
+
* 数据版本
|
|
3742
|
+
* @example 1
|
|
3743
|
+
*/
|
|
3744
|
+
dataVersion?: number;
|
|
3745
|
+
|
|
3746
|
+
/**
|
|
3747
|
+
* 应用名
|
|
3748
|
+
*/
|
|
3749
|
+
appName?: string;
|
|
3750
|
+
|
|
3751
|
+
/**
|
|
3752
|
+
* 服务名
|
|
3753
|
+
*/
|
|
3754
|
+
serviceName?: string;
|
|
3755
|
+
|
|
3756
|
+
/**
|
|
3757
|
+
* 所属的聚合
|
|
3758
|
+
*/
|
|
3759
|
+
aggregate?: AggregateDefinitionReference;
|
|
3760
|
+
|
|
3761
|
+
/**
|
|
3762
|
+
* 查询名称
|
|
3763
|
+
*/
|
|
3764
|
+
name?: string;
|
|
3765
|
+
|
|
3766
|
+
/**
|
|
3767
|
+
* 是否对客户端开放, 生成REST接口
|
|
3768
|
+
*/
|
|
3769
|
+
openToClient?: boolean;
|
|
3770
|
+
|
|
3771
|
+
/**
|
|
3772
|
+
* http方法
|
|
3773
|
+
*/
|
|
3774
|
+
httpMethod?: QueryHttpMethod;
|
|
3775
|
+
|
|
3776
|
+
/**
|
|
3777
|
+
* 无需身份验证即可调用
|
|
3778
|
+
* @example false
|
|
3779
|
+
*/
|
|
3780
|
+
noAuthRequired?: boolean;
|
|
3781
|
+
|
|
3782
|
+
/**
|
|
3783
|
+
* 执行命令需要的授权角色
|
|
3784
|
+
* @example ROLE_USER
|
|
3785
|
+
*/
|
|
3786
|
+
roleName?: string;
|
|
3787
|
+
|
|
3788
|
+
/**
|
|
3789
|
+
* 请求路径
|
|
3790
|
+
*/
|
|
3791
|
+
requestPath?: string;
|
|
3792
|
+
|
|
3793
|
+
/**
|
|
3794
|
+
* 命令描述
|
|
3795
|
+
* @example This is a command description.
|
|
3796
|
+
*/
|
|
3797
|
+
description?: string;
|
|
3798
|
+
|
|
3799
|
+
/**
|
|
3800
|
+
* 返回值类型
|
|
3801
|
+
*/
|
|
3802
|
+
returnType?: ReturnDataType;
|
|
3803
|
+
|
|
3804
|
+
/**
|
|
3805
|
+
* 返回的DTO
|
|
3806
|
+
*/
|
|
3807
|
+
returnDto?: DtoDefinitionReference;
|
|
3808
|
+
|
|
3809
|
+
/**
|
|
3810
|
+
* 集合类型
|
|
3811
|
+
*/
|
|
3812
|
+
collectionType?: QueryResultCollectionType;
|
|
3813
|
+
|
|
3814
|
+
/**
|
|
3815
|
+
* 返回的枚举类型
|
|
3816
|
+
*/
|
|
3817
|
+
returnEnum?: EnumDefinitionReference;
|
|
3818
|
+
|
|
3819
|
+
/**
|
|
3820
|
+
* Map键的枚举类型
|
|
3821
|
+
*/
|
|
3822
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
3823
|
+
|
|
3824
|
+
/**
|
|
3825
|
+
* Map的键类型(当集合类型为MAP时必须指定)
|
|
3826
|
+
*/
|
|
3827
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
3828
|
+
|
|
3829
|
+
/**
|
|
3830
|
+
* 锁类型
|
|
3831
|
+
*/
|
|
3832
|
+
lockType?: LockType;
|
|
3833
|
+
|
|
3834
|
+
/**
|
|
3835
|
+
* 查询
|
|
3836
|
+
*/
|
|
3837
|
+
queryText?: string;
|
|
3838
|
+
|
|
3839
|
+
/**
|
|
3840
|
+
* 是否动态查询
|
|
3841
|
+
*/
|
|
3842
|
+
dynamicQuery?: boolean;
|
|
3843
|
+
|
|
3844
|
+
/**
|
|
3845
|
+
* 查询实体
|
|
3846
|
+
*/
|
|
3847
|
+
queryEntity?: EntityDefinitionReference;
|
|
3848
|
+
|
|
3849
|
+
/**
|
|
3850
|
+
* 使用原生SQL,而不是JPQL
|
|
3851
|
+
*/
|
|
3852
|
+
rawSql?: boolean;
|
|
3853
|
+
|
|
3854
|
+
/**
|
|
3855
|
+
* 即时加载属性(设置为@EntityGraph的attributes属性值)
|
|
3856
|
+
*/
|
|
3857
|
+
graphProperties?: string[];
|
|
3858
|
+
|
|
3859
|
+
/**
|
|
3860
|
+
* 发布来源
|
|
3861
|
+
* @example releaseSource
|
|
3862
|
+
*/
|
|
3863
|
+
releaseSource?: string;
|
|
3864
|
+
|
|
3865
|
+
/**
|
|
3866
|
+
* 来源ID
|
|
3867
|
+
* @example 1001
|
|
3868
|
+
*/
|
|
3869
|
+
sourceId?: string;
|
|
3870
|
+
}
|
|
3871
|
+
|
|
3872
|
+
/**
|
|
3873
|
+
* 创建命令参数定义命令
|
|
3874
|
+
* @description 创建命令参数定义命令
|
|
3875
|
+
*/
|
|
3876
|
+
export interface CreateQueryParamDefinitionCommand {
|
|
3877
|
+
/**
|
|
3878
|
+
* 参数所属的查询定义
|
|
3879
|
+
*/
|
|
3880
|
+
query?: QueryDefinitionReference;
|
|
3881
|
+
|
|
3882
|
+
/**
|
|
3883
|
+
* 参数名
|
|
3884
|
+
* @example paramName
|
|
3885
|
+
*/
|
|
3886
|
+
name?: string;
|
|
3887
|
+
|
|
3888
|
+
/**
|
|
3889
|
+
* 排序号
|
|
3890
|
+
*/
|
|
3891
|
+
sortIndex?: number;
|
|
3892
|
+
|
|
3893
|
+
/**
|
|
3894
|
+
* 是否不能为空
|
|
3895
|
+
*/
|
|
3896
|
+
notNull?: boolean;
|
|
3897
|
+
|
|
3898
|
+
/**
|
|
3899
|
+
* 参数绑定类型
|
|
3900
|
+
*/
|
|
3901
|
+
bindingType?: RequestParamBindingType;
|
|
3902
|
+
|
|
3903
|
+
/**
|
|
3904
|
+
* DTO类型
|
|
3905
|
+
*/
|
|
3906
|
+
dto?: DtoDefinitionReference;
|
|
3907
|
+
|
|
3908
|
+
/**
|
|
3909
|
+
* 数据类型
|
|
3910
|
+
*/
|
|
3911
|
+
dataType?: ParameterDataType;
|
|
3912
|
+
/**
|
|
3913
|
+
* 日期时间格式
|
|
3914
|
+
*/
|
|
3915
|
+
dateTimeFormat?: string;
|
|
3916
|
+
|
|
3917
|
+
/**
|
|
3918
|
+
* 集合类型
|
|
3919
|
+
*/
|
|
3920
|
+
collectionType?: PropertyCollectionType;
|
|
3921
|
+
|
|
3922
|
+
/**
|
|
3923
|
+
* Map键类型(当集合类型为MAP时必须指定)
|
|
3924
|
+
*/
|
|
3925
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
3926
|
+
|
|
3927
|
+
/**
|
|
3928
|
+
* 枚举类型
|
|
3929
|
+
*/
|
|
3930
|
+
enumType?: EnumDefinitionReference;
|
|
3931
|
+
|
|
3932
|
+
/**
|
|
3933
|
+
* 映射键的枚举类型
|
|
3934
|
+
*/
|
|
3935
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
3936
|
+
/**
|
|
3937
|
+
* 非前段调用参数,仅在repository上使用
|
|
3938
|
+
*/
|
|
3939
|
+
notFrontendParam?: boolean;
|
|
3940
|
+
|
|
3941
|
+
/**
|
|
3942
|
+
* 描述
|
|
3943
|
+
* @example This is a parameter description.
|
|
3944
|
+
*/
|
|
3945
|
+
description?: string;
|
|
3946
|
+
|
|
3947
|
+
/**
|
|
3948
|
+
* 发布来源
|
|
3949
|
+
* @example releaseSource
|
|
3950
|
+
*/
|
|
3951
|
+
releaseSource?: string;
|
|
3952
|
+
|
|
3953
|
+
/**
|
|
3954
|
+
* 来源ID
|
|
3955
|
+
* @example 1001
|
|
3956
|
+
*/
|
|
3957
|
+
sourceId?: string;
|
|
3958
|
+
}
|
|
3959
|
+
|
|
3960
|
+
/**
|
|
3961
|
+
* 更新查询数命令
|
|
3962
|
+
*/
|
|
3963
|
+
export interface UpdateQueryParamDefinitionCommand {
|
|
3964
|
+
/**
|
|
3965
|
+
* ID
|
|
3966
|
+
*/
|
|
3967
|
+
id?: string;
|
|
3968
|
+
|
|
3969
|
+
/**
|
|
3970
|
+
* 数据版本
|
|
3971
|
+
*/
|
|
3972
|
+
dataVersion?: number;
|
|
3973
|
+
|
|
3974
|
+
/**
|
|
3975
|
+
* 参数名
|
|
3976
|
+
*/
|
|
3977
|
+
name?: string;
|
|
3978
|
+
|
|
3979
|
+
/**
|
|
3980
|
+
* 是否不能为空
|
|
3981
|
+
*/
|
|
3982
|
+
notNull?: boolean;
|
|
3983
|
+
|
|
3984
|
+
/**
|
|
3985
|
+
* 排序号
|
|
3986
|
+
*/
|
|
3987
|
+
sortIndex?: number;
|
|
3988
|
+
|
|
3989
|
+
/**
|
|
3990
|
+
* 参数绑定类型
|
|
3991
|
+
*/
|
|
3992
|
+
bindingType?: RequestParamBindingType;
|
|
3993
|
+
|
|
3994
|
+
/**
|
|
3995
|
+
* 数据类型
|
|
3996
|
+
*/
|
|
3997
|
+
dataType?: ParameterDataType;
|
|
3998
|
+
/**
|
|
3999
|
+
* 日期时间格式
|
|
4000
|
+
*/
|
|
4001
|
+
dateTimeFormat?: string;
|
|
4002
|
+
|
|
4003
|
+
/**
|
|
4004
|
+
* DTO类型
|
|
4005
|
+
*/
|
|
4006
|
+
dto?: DtoDefinitionReference;
|
|
4007
|
+
|
|
4008
|
+
/**
|
|
4009
|
+
* 集合类型
|
|
4010
|
+
*/
|
|
4011
|
+
collectionType?: PropertyCollectionType;
|
|
4012
|
+
|
|
4013
|
+
/**
|
|
4014
|
+
* Map键类型
|
|
4015
|
+
*/
|
|
4016
|
+
mapKeyDataType?: PropertyMapDataKeyType;
|
|
4017
|
+
|
|
4018
|
+
/**
|
|
4019
|
+
* 枚举类型
|
|
4020
|
+
*/
|
|
4021
|
+
enumType?: EnumDefinitionReference;
|
|
4022
|
+
|
|
4023
|
+
/**
|
|
4024
|
+
* 映射键的枚举类型
|
|
4025
|
+
*/
|
|
4026
|
+
mapKeyEnum?: EnumDefinitionReference;
|
|
4027
|
+
/**
|
|
4028
|
+
* 非前段调用参数,仅在repository上使用
|
|
4029
|
+
*/
|
|
4030
|
+
notFrontendParam?: boolean;
|
|
4031
|
+
|
|
4032
|
+
/**
|
|
4033
|
+
* 描述
|
|
4034
|
+
*/
|
|
4035
|
+
description?: string;
|
|
4036
|
+
|
|
4037
|
+
/**
|
|
4038
|
+
* 发布来源
|
|
4039
|
+
*/
|
|
4040
|
+
releaseSource?: string;
|
|
4041
|
+
|
|
4042
|
+
/**
|
|
4043
|
+
* 来源ID
|
|
4044
|
+
*/
|
|
4045
|
+
sourceId?: string;
|
|
4046
|
+
}
|
|
4047
|
+
|
|
4048
|
+
/**
|
|
4049
|
+
* 创建查询参数约束定义命令
|
|
4050
|
+
*
|
|
4051
|
+
*/
|
|
4052
|
+
export interface CreateQueryParamConstraintDefinitionCommand {
|
|
4053
|
+
/**
|
|
4054
|
+
* 受约束的参数定义
|
|
4055
|
+
*/
|
|
4056
|
+
paramDefinition?: QueryParamDefinitionReference;
|
|
4057
|
+
|
|
4058
|
+
/**
|
|
4059
|
+
* 约束名称
|
|
4060
|
+
*/
|
|
4061
|
+
constraintName?: string;
|
|
4062
|
+
|
|
4063
|
+
/**
|
|
4064
|
+
* 违反约束后的错误信息
|
|
4065
|
+
*/
|
|
4066
|
+
message?: string;
|
|
4067
|
+
|
|
4068
|
+
/**
|
|
4069
|
+
* 约束属性值
|
|
4070
|
+
*/
|
|
4071
|
+
constraintParameters?: Record<string, string>;
|
|
4072
|
+
|
|
4073
|
+
/**
|
|
4074
|
+
* 验证器payload
|
|
4075
|
+
*/
|
|
4076
|
+
payloads?: Set<string>;
|
|
4077
|
+
|
|
4078
|
+
/**
|
|
4079
|
+
* 验证器groups
|
|
4080
|
+
*/
|
|
4081
|
+
groups?: Set<string>;
|
|
4082
|
+
|
|
4083
|
+
/**
|
|
4084
|
+
* 发布来源
|
|
4085
|
+
*/
|
|
4086
|
+
releaseSource?: string;
|
|
4087
|
+
|
|
4088
|
+
/**
|
|
4089
|
+
* 来源ID
|
|
4090
|
+
*/
|
|
4091
|
+
sourceId?: string;
|
|
4092
|
+
}
|
|
4093
|
+
|
|
4094
|
+
/**
|
|
4095
|
+
* 更新查询参数约束定义命令
|
|
4096
|
+
*
|
|
4097
|
+
* @author hucp
|
|
4098
|
+
* @date 2025/5/13
|
|
4099
|
+
*/
|
|
4100
|
+
export interface UpdateQueryParamConstraintDefinitionCommand {
|
|
4101
|
+
/**
|
|
4102
|
+
* 查询参数约束ID
|
|
4103
|
+
*/
|
|
4104
|
+
id?: string;
|
|
4105
|
+
|
|
4106
|
+
/**
|
|
4107
|
+
* 数据版本
|
|
4108
|
+
*/
|
|
4109
|
+
dataVersion?: number;
|
|
4110
|
+
|
|
4111
|
+
/**
|
|
4112
|
+
* 约束名称
|
|
4113
|
+
*/
|
|
4114
|
+
constraintName?: string;
|
|
4115
|
+
|
|
4116
|
+
/**
|
|
4117
|
+
* 违反约束后的错误信息
|
|
4118
|
+
*/
|
|
4119
|
+
message?: string;
|
|
4120
|
+
|
|
4121
|
+
/**
|
|
4122
|
+
* 约束属性值
|
|
4123
|
+
*/
|
|
4124
|
+
constraintParameters?: Record<string, string>;
|
|
4125
|
+
|
|
4126
|
+
/**
|
|
4127
|
+
* 验证器payload
|
|
4128
|
+
*/
|
|
4129
|
+
payloads?: Set<string>;
|
|
4130
|
+
|
|
4131
|
+
/**
|
|
4132
|
+
* 验证器groups
|
|
4133
|
+
*/
|
|
4134
|
+
groups?: Set<string>;
|
|
4135
|
+
|
|
4136
|
+
/**
|
|
4137
|
+
* 发布来源
|
|
4138
|
+
*/
|
|
4139
|
+
releaseSource?: string;
|
|
4140
|
+
|
|
4141
|
+
/**
|
|
4142
|
+
* 来源ID
|
|
4143
|
+
*/
|
|
4144
|
+
sourceId?: string;
|
|
4145
|
+
}
|