@jari-ace/app-bolts 0.2.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/dist/api/apiCache.d.ts +5 -0
- package/dist/api/apiCache.d.ts.map +1 -0
- package/dist/api/apiCache.js +19 -0
- package/dist/api/apiCache.js.map +1 -0
- package/dist/api/appService/aceInstall.d.ts +18 -0
- package/dist/api/appService/aceInstall.d.ts.map +1 -0
- package/dist/api/appService/aceInstall.js +27 -0
- package/dist/api/appService/aceInstall.js.map +1 -0
- package/dist/api/appService/appAdmin.d.ts +32 -0
- package/dist/api/appService/appAdmin.d.ts.map +1 -0
- package/dist/api/appService/appAdmin.js +53 -0
- package/dist/api/appService/appAdmin.js.map +1 -0
- package/dist/api/appService/appInstance.d.ts +94 -0
- package/dist/api/appService/appInstance.d.ts.map +1 -0
- package/dist/api/appService/appInstance.js +141 -0
- package/dist/api/appService/appInstance.js.map +1 -0
- package/dist/api/appService/appMessage.d.ts +67 -0
- package/dist/api/appService/appMessage.d.ts.map +1 -0
- package/dist/api/appService/appMessage.js +101 -0
- package/dist/api/appService/appMessage.js.map +1 -0
- package/dist/api/appService/appService.d.ts +67 -0
- package/dist/api/appService/appService.d.ts.map +1 -0
- package/dist/api/appService/appService.js +99 -0
- package/dist/api/appService/appService.js.map +1 -0
- package/dist/api/appService/appSetting.d.ts +91 -0
- package/dist/api/appService/appSetting.d.ts.map +1 -0
- package/dist/api/appService/appSetting.js +127 -0
- package/dist/api/appService/appSetting.js.map +1 -0
- package/dist/api/appService/appSettingGroup.d.ts +62 -0
- package/dist/api/appService/appSettingGroup.d.ts.map +1 -0
- package/dist/api/appService/appSettingGroup.js +96 -0
- package/dist/api/appService/appSettingGroup.js.map +1 -0
- package/dist/api/appService/appliedPasswordPolicy.d.ts +45 -0
- package/dist/api/appService/appliedPasswordPolicy.d.ts.map +1 -0
- package/dist/api/appService/appliedPasswordPolicy.js +72 -0
- package/dist/api/appService/appliedPasswordPolicy.js.map +1 -0
- package/dist/api/appService/eventCompensation.d.ts +27 -0
- package/dist/api/appService/eventCompensation.d.ts.map +1 -0
- package/dist/api/appService/eventCompensation.js +40 -0
- package/dist/api/appService/eventCompensation.js.map +1 -0
- package/dist/api/appService/externalApp.d.ts +92 -0
- package/dist/api/appService/externalApp.d.ts.map +1 -0
- package/dist/api/appService/externalApp.js +135 -0
- package/dist/api/appService/externalApp.js.map +1 -0
- package/dist/api/auditService/auditLog.d.ts +36 -0
- package/dist/api/auditService/auditLog.d.ts.map +1 -0
- package/dist/api/auditService/auditLog.js +46 -0
- package/dist/api/auditService/auditLog.js.map +1 -0
- package/dist/api/domainModel/aggregate.d.ts +51 -0
- package/dist/api/domainModel/aggregate.d.ts.map +1 -0
- package/dist/api/domainModel/aggregate.js +78 -0
- package/dist/api/domainModel/aggregate.js.map +1 -0
- package/dist/api/domainModel/command.d.ts +130 -0
- package/dist/api/domainModel/command.d.ts.map +1 -0
- package/dist/api/domainModel/command.js +183 -0
- package/dist/api/domainModel/command.js.map +1 -0
- package/dist/api/domainModel/constraint.d.ts +56 -0
- package/dist/api/domainModel/constraint.d.ts.map +1 -0
- package/dist/api/domainModel/constraint.js +84 -0
- package/dist/api/domainModel/constraint.js.map +1 -0
- package/dist/api/domainModel/dataScope.d.ts +45 -0
- package/dist/api/domainModel/dataScope.d.ts.map +1 -0
- package/dist/api/domainModel/dataScope.js +69 -0
- package/dist/api/domainModel/dataScope.js.map +1 -0
- package/dist/api/domainModel/dataSource.d.ts +112 -0
- package/dist/api/domainModel/dataSource.d.ts.map +1 -0
- package/dist/api/domainModel/dataSource.js +163 -0
- package/dist/api/domainModel/dataSource.js.map +1 -0
- package/dist/api/domainModel/dto.d.ts +133 -0
- package/dist/api/domainModel/dto.d.ts.map +1 -0
- package/dist/api/domainModel/dto.js +189 -0
- package/dist/api/domainModel/dto.js.map +1 -0
- package/dist/api/domainModel/dtoConstraint.d.ts +56 -0
- package/dist/api/domainModel/dtoConstraint.d.ts.map +1 -0
- package/dist/api/domainModel/dtoConstraint.js +84 -0
- package/dist/api/domainModel/dtoConstraint.js.map +1 -0
- package/dist/api/domainModel/entity.d.ts +104 -0
- package/dist/api/domainModel/entity.d.ts.map +1 -0
- package/dist/api/domainModel/entity.js +149 -0
- package/dist/api/domainModel/entity.js.map +1 -0
- package/dist/api/domainModel/enum.d.ts +63 -0
- package/dist/api/domainModel/enum.d.ts.map +1 -0
- package/dist/api/domainModel/enum.js +97 -0
- package/dist/api/domainModel/enum.js.map +1 -0
- package/dist/api/domainModel/release.d.ts +52 -0
- package/dist/api/domainModel/release.d.ts.map +1 -0
- package/dist/api/domainModel/release.js +81 -0
- package/dist/api/domainModel/release.js.map +1 -0
- package/dist/api/fileService/fileConfiguration.d.ts +88 -0
- package/dist/api/fileService/fileConfiguration.d.ts.map +1 -0
- package/dist/api/fileService/fileConfiguration.js +132 -0
- package/dist/api/fileService/fileConfiguration.js.map +1 -0
- package/dist/api/fileService/fileStorage.d.ts +76 -0
- package/dist/api/fileService/fileStorage.d.ts.map +1 -0
- package/dist/api/fileService/fileStorage.js +122 -0
- package/dist/api/fileService/fileStorage.js.map +1 -0
- package/dist/api/fileService/files.d.ts +68 -0
- package/dist/api/fileService/files.d.ts.map +1 -0
- package/dist/api/fileService/files.js +141 -0
- package/dist/api/fileService/files.js.map +1 -0
- package/dist/api/idGenService/leafSegment.d.ts +34 -0
- package/dist/api/idGenService/leafSegment.d.ts.map +1 -0
- package/dist/api/idGenService/leafSegment.js +54 -0
- package/dist/api/idGenService/leafSegment.js.map +1 -0
- package/dist/api/idGenService/stringIdTemplate.d.ts +86 -0
- package/dist/api/idGenService/stringIdTemplate.d.ts.map +1 -0
- package/dist/api/idGenService/stringIdTemplate.js +127 -0
- package/dist/api/idGenService/stringIdTemplate.js.map +1 -0
- package/dist/api/orgService/customGroup.d.ts +41 -0
- package/dist/api/orgService/customGroup.d.ts.map +1 -0
- package/dist/api/orgService/customGroup.js +65 -0
- package/dist/api/orgService/customGroup.js.map +1 -0
- package/dist/api/orgService/department.d.ts +202 -0
- package/dist/api/orgService/department.d.ts.map +1 -0
- package/dist/api/orgService/department.js +153 -0
- package/dist/api/orgService/department.js.map +1 -0
- package/dist/api/orgService/departmentAttrDef.d.ts +54 -0
- package/dist/api/orgService/departmentAttrDef.d.ts.map +1 -0
- package/dist/api/orgService/departmentAttrDef.js +85 -0
- package/dist/api/orgService/departmentAttrDef.js.map +1 -0
- package/dist/api/orgService/group.d.ts +225 -0
- package/dist/api/orgService/group.d.ts.map +1 -0
- package/dist/api/orgService/group.js +148 -0
- package/dist/api/orgService/group.js.map +1 -0
- package/dist/api/orgService/realm.d.ts +41 -0
- package/dist/api/orgService/realm.d.ts.map +1 -0
- package/dist/api/orgService/realm.js +66 -0
- package/dist/api/orgService/realm.js.map +1 -0
- package/dist/api/orgService/role.d.ts +76 -0
- package/dist/api/orgService/role.d.ts.map +1 -0
- package/dist/api/orgService/role.js +110 -0
- package/dist/api/orgService/role.js.map +1 -0
- package/dist/api/orgService/session.d.ts +40 -0
- package/dist/api/orgService/session.d.ts.map +1 -0
- package/dist/api/orgService/session.js +62 -0
- package/dist/api/orgService/session.js.map +1 -0
- package/dist/api/orgService/user.d.ts +977 -0
- package/dist/api/orgService/user.d.ts.map +1 -0
- package/dist/api/orgService/user.js +713 -0
- package/dist/api/orgService/user.js.map +1 -0
- package/dist/api/orgService/userAttrDef.d.ts +54 -0
- package/dist/api/orgService/userAttrDef.d.ts.map +1 -0
- package/dist/api/orgService/userAttrDef.js +82 -0
- package/dist/api/orgService/userAttrDef.js.map +1 -0
- package/dist/api/orgService/userAvatar.d.ts +15 -0
- package/dist/api/orgService/userAvatar.d.ts.map +1 -0
- package/dist/api/orgService/userAvatar.js +33 -0
- package/dist/api/orgService/userAvatar.js.map +1 -0
- package/dist/api/pushService/MessageTemplate.d.ts +52 -0
- package/dist/api/pushService/MessageTemplate.d.ts.map +1 -0
- package/dist/api/pushService/MessageTemplate.js +92 -0
- package/dist/api/pushService/MessageTemplate.js.map +1 -0
- package/dist/api/pushService/MessengerTemplateMap.d.ts +45 -0
- package/dist/api/pushService/MessengerTemplateMap.d.ts.map +1 -0
- package/dist/api/pushService/MessengerTemplateMap.js +59 -0
- package/dist/api/pushService/MessengerTemplateMap.js.map +1 -0
- package/dist/api/pushService/channel.d.ts +60 -0
- package/dist/api/pushService/channel.d.ts.map +1 -0
- package/dist/api/pushService/channel.js +90 -0
- package/dist/api/pushService/channel.js.map +1 -0
- package/dist/api/pushService/messenger.d.ts +54 -0
- package/dist/api/pushService/messenger.d.ts.map +1 -0
- package/dist/api/pushService/messenger.js +72 -0
- package/dist/api/pushService/messenger.js.map +1 -0
- package/dist/api/pushService/sockJs.d.ts +30 -0
- package/dist/api/pushService/sockJs.d.ts.map +1 -0
- package/dist/api/pushService/sockJs.js +39 -0
- package/dist/api/pushService/sockJs.js.map +1 -0
- package/dist/api/pushService/soketIo.d.ts +35 -0
- package/dist/api/pushService/soketIo.d.ts.map +1 -0
- package/dist/api/pushService/soketIo.js +46 -0
- package/dist/api/pushService/soketIo.js.map +1 -0
- package/dist/api/pushService/userSubscription.d.ts +40 -0
- package/dist/api/pushService/userSubscription.d.ts.map +1 -0
- package/dist/api/pushService/userSubscription.js +54 -0
- package/dist/api/pushService/userSubscription.js.map +1 -0
- package/dist/global.d.ts +249 -0
- package/dist/global.d.ts.map +1 -0
- package/dist/global.js +75 -0
- package/dist/global.js.map +1 -0
- package/dist/http/IAceAxios.d.ts +111 -0
- package/dist/http/IAceAxios.d.ts.map +1 -0
- package/dist/http/IAceAxios.js +7 -0
- package/dist/http/IAceAxios.js.map +1 -0
- package/dist/http/types.d.ts +140 -0
- package/dist/http/types.d.ts.map +1 -0
- package/dist/http/types.js +3 -0
- package/dist/http/types.js.map +1 -0
- package/dist/http/useAxios.d.ts +8 -0
- package/dist/http/useAxios.d.ts.map +1 -0
- package/dist/http/useAxios.js +18 -0
- package/dist/http/useAxios.js.map +1 -0
- package/dist/http/useLoading.d.ts +3 -0
- package/dist/http/useLoading.d.ts.map +1 -0
- package/dist/http/useLoading.js +15 -0
- package/dist/http/useLoading.js.map +1 -0
- package/dist/index.d.ts +108 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +109 -0
- package/dist/index.js.map +1 -0
- package/dist/locales/i18nLoader.d.ts +6 -0
- package/dist/locales/i18nLoader.d.ts.map +1 -0
- package/dist/locales/i18nLoader.js +38 -0
- package/dist/locales/i18nLoader.js.map +1 -0
- package/dist/locales/setupI18n.d.ts +7 -0
- package/dist/locales/setupI18n.d.ts.map +1 -0
- package/dist/locales/setupI18n.js +77 -0
- package/dist/locales/setupI18n.js.map +1 -0
- package/dist/locales/useLocale.d.ts +18 -0
- package/dist/locales/useLocale.d.ts.map +1 -0
- package/dist/locales/useLocale.js +96 -0
- package/dist/locales/useLocale.js.map +1 -0
- package/dist/models/AppBridge.d.ts +52 -0
- package/dist/models/AppBridge.d.ts.map +1 -0
- package/dist/models/AppBridge.js +2 -0
- package/dist/models/AppBridge.js.map +1 -0
- package/dist/models/EntityBase.d.ts +11 -0
- package/dist/models/EntityBase.d.ts.map +1 -0
- package/dist/models/EntityBase.js +2 -0
- package/dist/models/EntityBase.js.map +1 -0
- package/dist/models/LinkTreeNodeAddParam.d.ts +10 -0
- package/dist/models/LinkTreeNodeAddParam.d.ts.map +1 -0
- package/dist/models/LinkTreeNodeAddParam.js +2 -0
- package/dist/models/LinkTreeNodeAddParam.js.map +1 -0
- package/dist/models/Page.d.ts +50 -0
- package/dist/models/Page.d.ts.map +1 -0
- package/dist/models/Page.js +2 -0
- package/dist/models/Page.js.map +1 -0
- package/dist/models/ProjectedSortPathTreeNode.d.ts +22 -0
- package/dist/models/ProjectedSortPathTreeNode.d.ts.map +1 -0
- package/dist/models/ProjectedSortPathTreeNode.js +2 -0
- package/dist/models/ProjectedSortPathTreeNode.js.map +1 -0
- package/dist/models/ProjectedUser.d.ts +18 -0
- package/dist/models/ProjectedUser.d.ts.map +1 -0
- package/dist/models/ProjectedUser.js +2 -0
- package/dist/models/ProjectedUser.js.map +1 -0
- package/dist/models/Roles.d.ts +218 -0
- package/dist/models/Roles.d.ts.map +1 -0
- package/dist/models/Roles.js +219 -0
- package/dist/models/Roles.js.map +1 -0
- package/dist/models/SortPathTreeNode.d.ts +22 -0
- package/dist/models/SortPathTreeNode.d.ts.map +1 -0
- package/dist/models/SortPathTreeNode.js +2 -0
- package/dist/models/SortPathTreeNode.js.map +1 -0
- package/dist/models/SortPathTreeNodeAddParam.d.ts +14 -0
- package/dist/models/SortPathTreeNodeAddParam.d.ts.map +1 -0
- package/dist/models/SortPathTreeNodeAddParam.js +2 -0
- package/dist/models/SortPathTreeNodeAddParam.js.map +1 -0
- package/dist/models/SysSetting.d.ts +15 -0
- package/dist/models/SysSetting.d.ts.map +1 -0
- package/dist/models/SysSetting.js +2 -0
- package/dist/models/SysSetting.js.map +1 -0
- package/dist/models/SystemSetting.d.ts +1 -0
- package/dist/models/SystemSetting.d.ts.map +1 -0
- package/dist/models/SystemSetting.js +2 -0
- package/dist/models/SystemSetting.js.map +1 -0
- package/dist/models/appService/AceInstallInfo.d.ts +39 -0
- package/dist/models/appService/AceInstallInfo.d.ts.map +1 -0
- package/dist/models/appService/AceInstallInfo.js +2 -0
- package/dist/models/appService/AceInstallInfo.js.map +1 -0
- package/dist/models/appService/AppAdmin.d.ts +64 -0
- package/dist/models/appService/AppAdmin.d.ts.map +1 -0
- package/dist/models/appService/AppAdmin.js +2 -0
- package/dist/models/appService/AppAdmin.js.map +1 -0
- package/dist/models/appService/AppInstance.d.ts +200 -0
- package/dist/models/appService/AppInstance.d.ts.map +1 -0
- package/dist/models/appService/AppInstance.js +2 -0
- package/dist/models/appService/AppInstance.js.map +1 -0
- package/dist/models/appService/AppMessage.d.ts +64 -0
- package/dist/models/appService/AppMessage.d.ts.map +1 -0
- package/dist/models/appService/AppMessage.js +2 -0
- package/dist/models/appService/AppMessage.js.map +1 -0
- package/dist/models/appService/AppService.d.ts +78 -0
- package/dist/models/appService/AppService.d.ts.map +1 -0
- package/dist/models/appService/AppService.js +2 -0
- package/dist/models/appService/AppService.js.map +1 -0
- package/dist/models/appService/AppSettingGroup.d.ts +71 -0
- package/dist/models/appService/AppSettingGroup.d.ts.map +1 -0
- package/dist/models/appService/AppSettingGroup.js +2 -0
- package/dist/models/appService/AppSettingGroup.js.map +1 -0
- package/dist/models/appService/AppSettings.d.ts +165 -0
- package/dist/models/appService/AppSettings.d.ts.map +1 -0
- package/dist/models/appService/AppSettings.js +2 -0
- package/dist/models/appService/AppSettings.js.map +1 -0
- package/dist/models/appService/AppliedPasswordPolicy.d.ts +86 -0
- package/dist/models/appService/AppliedPasswordPolicy.d.ts.map +1 -0
- package/dist/models/appService/AppliedPasswordPolicy.js +2 -0
- package/dist/models/appService/AppliedPasswordPolicy.js.map +1 -0
- package/dist/models/appService/ExternalApp.d.ts +260 -0
- package/dist/models/appService/ExternalApp.d.ts.map +1 -0
- package/dist/models/appService/ExternalApp.js +2 -0
- package/dist/models/appService/ExternalApp.js.map +1 -0
- package/dist/models/appService/FailedEvent.d.ts +84 -0
- package/dist/models/appService/FailedEvent.d.ts.map +1 -0
- package/dist/models/appService/FailedEvent.js +2 -0
- package/dist/models/appService/FailedEvent.js.map +1 -0
- package/dist/models/auditService/Audit.d.ts +1565 -0
- package/dist/models/auditService/Audit.d.ts.map +1 -0
- package/dist/models/auditService/Audit.js +170 -0
- package/dist/models/auditService/Audit.js.map +1 -0
- package/dist/models/domainModel/index.d.ts +2864 -0
- package/dist/models/domainModel/index.d.ts.map +1 -0
- package/dist/models/domainModel/index.js +2 -0
- package/dist/models/domainModel/index.js.map +1 -0
- package/dist/models/expr/ExpressionBuilder.d.ts +3479 -0
- package/dist/models/expr/ExpressionBuilder.d.ts.map +1 -0
- package/dist/models/expr/ExpressionBuilder.js +874 -0
- package/dist/models/expr/ExpressionBuilder.js.map +1 -0
- package/dist/models/expr/Interfaces.d.ts +812 -0
- package/dist/models/expr/Interfaces.d.ts.map +1 -0
- package/dist/models/expr/Interfaces.js +65 -0
- package/dist/models/expr/Interfaces.js.map +1 -0
- package/dist/models/expr/impls/agg.d.ts +94 -0
- package/dist/models/expr/impls/agg.d.ts.map +1 -0
- package/dist/models/expr/impls/agg.js +381 -0
- package/dist/models/expr/impls/agg.js.map +1 -0
- package/dist/models/expr/impls/any.d.ts +46 -0
- package/dist/models/expr/impls/any.d.ts.map +1 -0
- package/dist/models/expr/impls/any.js +199 -0
- package/dist/models/expr/impls/any.js.map +1 -0
- package/dist/models/expr/impls/base.d.ts +11 -0
- package/dist/models/expr/impls/base.d.ts.map +1 -0
- package/dist/models/expr/impls/base.js +50 -0
- package/dist/models/expr/impls/base.js.map +1 -0
- package/dist/models/expr/impls/bool.d.ts +113 -0
- package/dist/models/expr/impls/bool.d.ts.map +1 -0
- package/dist/models/expr/impls/bool.js +618 -0
- package/dist/models/expr/impls/bool.js.map +1 -0
- package/dist/models/expr/impls/collection.d.ts +9 -0
- package/dist/models/expr/impls/collection.d.ts.map +1 -0
- package/dist/models/expr/impls/collection.js +47 -0
- package/dist/models/expr/impls/collection.js.map +1 -0
- package/dist/models/expr/impls/constant.d.ts +40 -0
- package/dist/models/expr/impls/constant.d.ts.map +1 -0
- package/dist/models/expr/impls/constant.js +187 -0
- package/dist/models/expr/impls/constant.js.map +1 -0
- package/dist/models/expr/impls/dateTime.d.ts +29 -0
- package/dist/models/expr/impls/dateTime.d.ts.map +1 -0
- package/dist/models/expr/impls/dateTime.js +133 -0
- package/dist/models/expr/impls/dateTime.js.map +1 -0
- package/dist/models/expr/impls/nullfun.d.ts +80 -0
- package/dist/models/expr/impls/nullfun.d.ts.map +1 -0
- package/dist/models/expr/impls/nullfun.js +328 -0
- package/dist/models/expr/impls/nullfun.js.map +1 -0
- package/dist/models/expr/impls/num.d.ts +41 -0
- package/dist/models/expr/impls/num.d.ts.map +1 -0
- package/dist/models/expr/impls/num.js +201 -0
- package/dist/models/expr/impls/num.js.map +1 -0
- package/dist/models/expr/impls/path.d.ts +133 -0
- package/dist/models/expr/impls/path.d.ts.map +1 -0
- package/dist/models/expr/impls/path.js +507 -0
- package/dist/models/expr/impls/path.js.map +1 -0
- package/dist/models/expr/impls/strfun.d.ts +44 -0
- package/dist/models/expr/impls/strfun.d.ts.map +1 -0
- package/dist/models/expr/impls/strfun.js +234 -0
- package/dist/models/expr/impls/strfun.js.map +1 -0
- package/dist/models/expr/impls/subQuery.d.ts +65 -0
- package/dist/models/expr/impls/subQuery.d.ts.map +1 -0
- package/dist/models/expr/impls/subQuery.js +452 -0
- package/dist/models/expr/impls/subQuery.js.map +1 -0
- package/dist/models/expr/impls/when.d.ts +47 -0
- package/dist/models/expr/impls/when.d.ts.map +1 -0
- package/dist/models/expr/impls/when.js +225 -0
- package/dist/models/expr/impls/when.js.map +1 -0
- package/dist/models/expr/mixins.d.ts +17306 -0
- package/dist/models/expr/mixins.d.ts.map +1 -0
- package/dist/models/expr/mixins.js +1958 -0
- package/dist/models/expr/mixins.js.map +1 -0
- package/dist/models/expr/querySpecification.d.ts +61 -0
- package/dist/models/expr/querySpecification.d.ts.map +1 -0
- package/dist/models/expr/querySpecification.js +222 -0
- package/dist/models/expr/querySpecification.js.map +1 -0
- package/dist/models/fileService/index.d.ts +901 -0
- package/dist/models/fileService/index.d.ts.map +1 -0
- package/dist/models/fileService/index.js +41 -0
- package/dist/models/fileService/index.js.map +1 -0
- package/dist/models/idGenService/LeafSegment.d.ts +48 -0
- package/dist/models/idGenService/LeafSegment.d.ts.map +1 -0
- package/dist/models/idGenService/LeafSegment.js +2 -0
- package/dist/models/idGenService/LeafSegment.js.map +1 -0
- package/dist/models/idGenService/StringIdTemplate.d.ts +187 -0
- package/dist/models/idGenService/StringIdTemplate.d.ts.map +1 -0
- package/dist/models/idGenService/StringIdTemplate.js +2 -0
- package/dist/models/idGenService/StringIdTemplate.js.map +1 -0
- package/dist/models/orgService/CustomGroup.d.ts +59 -0
- package/dist/models/orgService/CustomGroup.d.ts.map +1 -0
- package/dist/models/orgService/CustomGroup.js +2 -0
- package/dist/models/orgService/CustomGroup.js.map +1 -0
- package/dist/models/orgService/Department.d.ts +110 -0
- package/dist/models/orgService/Department.d.ts.map +1 -0
- package/dist/models/orgService/Department.js +2 -0
- package/dist/models/orgService/Department.js.map +1 -0
- package/dist/models/orgService/DepartmentAttributeDef.d.ts +115 -0
- package/dist/models/orgService/DepartmentAttributeDef.d.ts.map +1 -0
- package/dist/models/orgService/DepartmentAttributeDef.js +2 -0
- package/dist/models/orgService/DepartmentAttributeDef.js.map +1 -0
- package/dist/models/orgService/Group.d.ts +169 -0
- package/dist/models/orgService/Group.d.ts.map +1 -0
- package/dist/models/orgService/Group.js +2 -0
- package/dist/models/orgService/Group.js.map +1 -0
- package/dist/models/orgService/Realm.d.ts +36 -0
- package/dist/models/orgService/Realm.d.ts.map +1 -0
- package/dist/models/orgService/Realm.js +2 -0
- package/dist/models/orgService/Realm.js.map +1 -0
- package/dist/models/orgService/Role.d.ts +239 -0
- package/dist/models/orgService/Role.d.ts.map +1 -0
- package/dist/models/orgService/Role.js +2 -0
- package/dist/models/orgService/Role.js.map +1 -0
- package/dist/models/orgService/Session.d.ts +34 -0
- package/dist/models/orgService/Session.d.ts.map +1 -0
- package/dist/models/orgService/Session.js +2 -0
- package/dist/models/orgService/Session.js.map +1 -0
- package/dist/models/orgService/User.d.ts +589 -0
- package/dist/models/orgService/User.d.ts.map +1 -0
- package/dist/models/orgService/User.js +2 -0
- package/dist/models/orgService/User.js.map +1 -0
- package/dist/models/orgService/UserAttributeDef.d.ts +54 -0
- package/dist/models/orgService/UserAttributeDef.d.ts.map +1 -0
- package/dist/models/orgService/UserAttributeDef.js +2 -0
- package/dist/models/orgService/UserAttributeDef.js.map +1 -0
- package/dist/models/orgService/dsl.d.ts +12179 -0
- package/dist/models/orgService/dsl.d.ts.map +1 -0
- package/dist/models/orgService/dsl.js +421 -0
- package/dist/models/orgService/dsl.js.map +1 -0
- package/dist/models/pushService/Messenger.d.ts +495 -0
- package/dist/models/pushService/Messenger.d.ts.map +1 -0
- package/dist/models/pushService/Messenger.js +2 -0
- package/dist/models/pushService/Messenger.js.map +1 -0
- package/dist/settings/cacheSetting.d.ts +7 -0
- package/dist/settings/cacheSetting.d.ts.map +1 -0
- package/dist/settings/cacheSetting.js +17 -0
- package/dist/settings/cacheSetting.js.map +1 -0
- package/dist/settings/localeSetting.d.ts +77 -0
- package/dist/settings/localeSetting.d.ts.map +1 -0
- package/dist/settings/localeSetting.js +108 -0
- package/dist/settings/localeSetting.js.map +1 -0
- package/dist/stores/index.d.ts +5 -0
- package/dist/stores/index.d.ts.map +1 -0
- package/dist/stores/index.js +15 -0
- package/dist/stores/index.js.map +1 -0
- package/dist/stores/loginUserStore.d.ts +4 -0
- package/dist/stores/loginUserStore.d.ts.map +1 -0
- package/dist/stores/loginUserStore.js +50 -0
- package/dist/stores/loginUserStore.js.map +1 -0
- package/dist/utils/LRUCache.d.ts +16 -0
- package/dist/utils/LRUCache.d.ts.map +1 -0
- package/dist/utils/LRUCache.js +92 -0
- package/dist/utils/LRUCache.js.map +1 -0
- package/dist/utils/cache/index.d.ts +6 -0
- package/dist/utils/cache/index.d.ts.map +1 -0
- package/dist/utils/cache/index.js +45 -0
- package/dist/utils/cache/index.js.map +1 -0
- package/dist/utils/cache/storageCache.d.ts +59 -0
- package/dist/utils/cache/storageCache.d.ts.map +1 -0
- package/dist/utils/cache/storageCache.js +128 -0
- package/dist/utils/cache/storageCache.js.map +1 -0
- package/dist/utils/cipher.d.ts +41 -0
- package/dist/utils/cipher.d.ts.map +1 -0
- package/dist/utils/cipher.js +95 -0
- package/dist/utils/cipher.js.map +1 -0
- package/dist/utils/common.d.ts +6 -0
- package/dist/utils/common.d.ts.map +1 -0
- package/dist/utils/common.js +13 -0
- package/dist/utils/common.js.map +1 -0
- package/dist/utils/treeSort.d.ts +1 -0
- package/dist/utils/treeSort.d.ts.map +1 -0
- package/dist/utils/treeSort.js +2 -0
- package/dist/utils/treeSort.js.map +1 -0
- package/package.json +69 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import type { IAceAxios } from "../../http/IAceAxios";
|
|
2
|
+
import type { AceAxiosRequestConfig } from "../../http/types";
|
|
3
|
+
import type { CreateCommandDefinitionCommand, CommandDefinition, UpdateCommandDefinitionCommand, CommandParamDefinition, UpdateCommandParamDefinitionCommand, CreateCommandParamDefinitionCommand, CommandParamConstraintDefinition, CreateCommandParamConstraintDefinitionCommand, UpdateCommandParamConstraintDefinitionCommand, CommandParamDefinitionReference, CreateEntityOperationCommandsCommand } from "../../models/domainModel";
|
|
4
|
+
import type { EntityBase } from "../../models/EntityBase";
|
|
5
|
+
/**
|
|
6
|
+
* 命令定义API
|
|
7
|
+
* @param axios axios对象
|
|
8
|
+
*/
|
|
9
|
+
export declare function useCommandApi(axios?: IAceAxios): {
|
|
10
|
+
/**
|
|
11
|
+
* 根据Id获取命令定义
|
|
12
|
+
*
|
|
13
|
+
* @param id 命令定义id
|
|
14
|
+
* @param config 请求配置参数
|
|
15
|
+
*/
|
|
16
|
+
getById(id: string, config?: AceAxiosRequestConfig | undefined): Promise<CommandDefinition>;
|
|
17
|
+
/**
|
|
18
|
+
* 获取指定服务下的所有命令定义
|
|
19
|
+
* @param serviceName 服务名
|
|
20
|
+
* @param config 请求配置参数
|
|
21
|
+
*/
|
|
22
|
+
getByService(serviceName: string, config?: AceAxiosRequestConfig | undefined): Promise<CommandParamDefinitionReference[]>;
|
|
23
|
+
/**
|
|
24
|
+
* 获取指定聚合下的所有命令定义
|
|
25
|
+
* @param aggregateId 聚合定义ID
|
|
26
|
+
* @param config 请求配置参数
|
|
27
|
+
*/
|
|
28
|
+
getByAggregate(aggregateId: string, config?: AceAxiosRequestConfig | undefined): Promise<CommandParamDefinitionReference[]>;
|
|
29
|
+
/**
|
|
30
|
+
* 创建命令定义。
|
|
31
|
+
* 需要角色:管理员
|
|
32
|
+
* @param command 创建命令
|
|
33
|
+
* @param config 请求配置参数
|
|
34
|
+
*/
|
|
35
|
+
create(command: CreateCommandDefinitionCommand, config?: AceAxiosRequestConfig | undefined): Promise<CommandDefinition>;
|
|
36
|
+
/**
|
|
37
|
+
* 更新命令定义。
|
|
38
|
+
* 需要角色:管理员
|
|
39
|
+
* @param command 更新命令
|
|
40
|
+
* @param config 请求配置参数
|
|
41
|
+
*/
|
|
42
|
+
update(command: UpdateCommandDefinitionCommand, config?: AceAxiosRequestConfig | undefined): Promise<CommandDefinition>;
|
|
43
|
+
/**
|
|
44
|
+
* 删除命令定义。
|
|
45
|
+
* 需要角色:管理员
|
|
46
|
+
* @param id 命令定义id
|
|
47
|
+
* @param dataVersion 数据版本
|
|
48
|
+
* @param config 请求配置参数
|
|
49
|
+
*/
|
|
50
|
+
delete(id: string, dataVersion: number, config?: AceAxiosRequestConfig | undefined): Promise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* 根据Id获取命令参数定义
|
|
53
|
+
*
|
|
54
|
+
* @param id 命令参数定义id
|
|
55
|
+
* @param config 请求配置参数
|
|
56
|
+
*/
|
|
57
|
+
getParamById(id: string, config?: AceAxiosRequestConfig | undefined): Promise<CommandParamDefinition>;
|
|
58
|
+
/**
|
|
59
|
+
* 获取指定命令的所有命令参数定义
|
|
60
|
+
* @param commandId 命令ID
|
|
61
|
+
* @param config 请求配置参数
|
|
62
|
+
*/
|
|
63
|
+
getParamsByCommand(commandId: string, config?: AceAxiosRequestConfig | undefined): Promise<CommandParamDefinition[]>;
|
|
64
|
+
/**
|
|
65
|
+
* 创建命令参数定义。
|
|
66
|
+
* 需要角色:管理员
|
|
67
|
+
* @param command 创建命令
|
|
68
|
+
* @param config 请求配置参数
|
|
69
|
+
*/
|
|
70
|
+
createParam(command: CreateCommandParamDefinitionCommand, config?: AceAxiosRequestConfig | undefined): Promise<CommandParamDefinition>;
|
|
71
|
+
/**
|
|
72
|
+
* 更新命令参数定义。
|
|
73
|
+
* 需要角色:管理员
|
|
74
|
+
* @param command 更新命令
|
|
75
|
+
* @param config 请求配置参数
|
|
76
|
+
*/
|
|
77
|
+
updateParam(command: UpdateCommandParamDefinitionCommand, config?: AceAxiosRequestConfig | undefined): Promise<CommandParamDefinition>;
|
|
78
|
+
/**
|
|
79
|
+
* 删除命令参数定义。
|
|
80
|
+
* 需要角色:管理员
|
|
81
|
+
* @param id 命令定义id
|
|
82
|
+
* @param dataVersion 数据版本
|
|
83
|
+
* @param config 请求配置参数
|
|
84
|
+
*/
|
|
85
|
+
deleteParam(id: string, dataVersion: number, config?: AceAxiosRequestConfig | undefined): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* 获取指定命令参数的约束定义
|
|
88
|
+
* @param paramId 命令ID
|
|
89
|
+
* @param config 请求配置参数
|
|
90
|
+
*/
|
|
91
|
+
getConstrainsByParam(paramId: string, config?: AceAxiosRequestConfig | undefined): Promise<CommandParamConstraintDefinition[]>;
|
|
92
|
+
/**
|
|
93
|
+
* 创建命令参数约束定义。
|
|
94
|
+
* 需要角色:管理员
|
|
95
|
+
* @param command 创建命令
|
|
96
|
+
* @param config 请求配置参数
|
|
97
|
+
*/
|
|
98
|
+
createParamConstraint(command: CreateCommandParamConstraintDefinitionCommand, config?: AceAxiosRequestConfig | undefined): Promise<CommandParamConstraintDefinition>;
|
|
99
|
+
/**
|
|
100
|
+
* 更新命令参数约束定义。
|
|
101
|
+
* 需要角色:管理员
|
|
102
|
+
* @param command 更新命令
|
|
103
|
+
* @param config 请求配置参数
|
|
104
|
+
*/
|
|
105
|
+
updateParamConstraint(command: UpdateCommandParamConstraintDefinitionCommand, config?: AceAxiosRequestConfig | undefined): Promise<CommandParamConstraintDefinition>;
|
|
106
|
+
/**
|
|
107
|
+
* 删除命令参数约束定义。
|
|
108
|
+
* 需要角色:管理员
|
|
109
|
+
* @param id 命令定义id
|
|
110
|
+
* @param dataVersion 数据版本
|
|
111
|
+
* @param config 请求配置参数
|
|
112
|
+
*/
|
|
113
|
+
deleteParamConstraint(id: string, dataVersion: number, config?: AceAxiosRequestConfig | undefined): Promise<void>;
|
|
114
|
+
/**
|
|
115
|
+
* 批量更新约束
|
|
116
|
+
* @param param 约束所属的约束
|
|
117
|
+
* @param createCommands 创建命令
|
|
118
|
+
* @param updateCommands 更新命令
|
|
119
|
+
* @param deleteCommands 删除命令
|
|
120
|
+
* @param config 请求配置参数
|
|
121
|
+
*/
|
|
122
|
+
batchUpdateConstraints(param: CommandParamDefinitionReference, createCommands: CreateCommandParamConstraintDefinitionCommand[], updateCommands: UpdateCommandParamConstraintDefinitionCommand[], deleteCommands: EntityBase[], config?: AceAxiosRequestConfig | undefined): Promise<CommandParamConstraintDefinition>;
|
|
123
|
+
/**
|
|
124
|
+
* 创建实体操作命令定义
|
|
125
|
+
* @param command 命令对象
|
|
126
|
+
* @param config 请求配置参数
|
|
127
|
+
*/
|
|
128
|
+
createEntityOperations(command: CreateEntityOperationCommandsCommand, config?: AceAxiosRequestConfig | undefined): Promise<void>;
|
|
129
|
+
};
|
|
130
|
+
//# sourceMappingURL=command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/api/domainModel/command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAEpD,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EACR,8BAA8B,EAC9B,iBAAiB,EACjB,8BAA8B,EAC9B,sBAAsB,EACtB,mCAAmC,EACnC,mCAAmC,EACnC,gCAAgC,EAChC,6CAA6C,EAC7C,6CAA6C,EAC7C,+BAA+B,EAAE,oCAAoC,EACxE,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AA2OxD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS;IAzOvC;;;;;OAKG;;IAIH;;;;OAIG;;IAKH;;;;OAIG;;IAKH;;;;;OAKG;;IASH;;;;;OAKG;;IASH;;;;;;OAMG;;IAUH;;;;;OAKG;;IAIH;;;;OAIG;;IAKH;;;;;OAKG;;IASH;;;;;OAKG;;IASH;;;;;;OAMG;;IAUH;;;;OAIG;;IAKH;;;;;OAKG;;IASH;;;;;OAKG;;IASH;;;;;;OAMG;;IAUH;;;;;;;OAOG;;IAmBH;;;;OAIG;;EAmBV"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { createApiWithCache } from "../apiCache";
|
|
13
|
+
function useCommandApiInternal(axios) {
|
|
14
|
+
var baseUrl = "/ace-domain-modeler/commands";
|
|
15
|
+
return {
|
|
16
|
+
/**
|
|
17
|
+
* 根据Id获取命令定义
|
|
18
|
+
*
|
|
19
|
+
* @param id 命令定义id
|
|
20
|
+
* @param config 请求配置参数
|
|
21
|
+
*/
|
|
22
|
+
getById: function (id, config) {
|
|
23
|
+
return axios.get("".concat(baseUrl, "/by-id/").concat(id), undefined, config);
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* 获取指定服务下的所有命令定义
|
|
27
|
+
* @param serviceName 服务名
|
|
28
|
+
* @param config 请求配置参数
|
|
29
|
+
*/
|
|
30
|
+
getByService: function (serviceName, config) {
|
|
31
|
+
return axios.get("".concat(baseUrl, "/by-service/").concat(serviceName), undefined, config);
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* 获取指定聚合下的所有命令定义
|
|
35
|
+
* @param aggregateId 聚合定义ID
|
|
36
|
+
* @param config 请求配置参数
|
|
37
|
+
*/
|
|
38
|
+
getByAggregate: function (aggregateId, config) {
|
|
39
|
+
return axios.get("".concat(baseUrl, "/by-aggregate/").concat(aggregateId), undefined, config);
|
|
40
|
+
},
|
|
41
|
+
/**
|
|
42
|
+
* 创建命令定义。
|
|
43
|
+
* 需要角色:管理员
|
|
44
|
+
* @param command 创建命令
|
|
45
|
+
* @param config 请求配置参数
|
|
46
|
+
*/
|
|
47
|
+
create: function (command, config) {
|
|
48
|
+
return axios.post("".concat(baseUrl), command, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
49
|
+
},
|
|
50
|
+
/**
|
|
51
|
+
* 更新命令定义。
|
|
52
|
+
* 需要角色:管理员
|
|
53
|
+
* @param command 更新命令
|
|
54
|
+
* @param config 请求配置参数
|
|
55
|
+
*/
|
|
56
|
+
update: function (command, config) {
|
|
57
|
+
return axios.put("".concat(baseUrl), command, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
58
|
+
},
|
|
59
|
+
/**
|
|
60
|
+
* 删除命令定义。
|
|
61
|
+
* 需要角色:管理员
|
|
62
|
+
* @param id 命令定义id
|
|
63
|
+
* @param dataVersion 数据版本
|
|
64
|
+
* @param config 请求配置参数
|
|
65
|
+
*/
|
|
66
|
+
delete: function (id, dataVersion, config) {
|
|
67
|
+
return axios.delete("".concat(baseUrl), { id: id, dataVersion: dataVersion }, undefined, __assign({ popValidationErrorNotification: true, showSuccessMessage: true }, (config || {})));
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* 根据Id获取命令参数定义
|
|
71
|
+
*
|
|
72
|
+
* @param id 命令参数定义id
|
|
73
|
+
* @param config 请求配置参数
|
|
74
|
+
*/
|
|
75
|
+
getParamById: function (id, config) {
|
|
76
|
+
return axios.get("".concat(baseUrl, "/params/by-id/").concat(id), undefined, config);
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
* 获取指定命令的所有命令参数定义
|
|
80
|
+
* @param commandId 命令ID
|
|
81
|
+
* @param config 请求配置参数
|
|
82
|
+
*/
|
|
83
|
+
getParamsByCommand: function (commandId, config) {
|
|
84
|
+
return axios.get("".concat(baseUrl, "/params/by-command/").concat(commandId), undefined, config);
|
|
85
|
+
},
|
|
86
|
+
/**
|
|
87
|
+
* 创建命令参数定义。
|
|
88
|
+
* 需要角色:管理员
|
|
89
|
+
* @param command 创建命令
|
|
90
|
+
* @param config 请求配置参数
|
|
91
|
+
*/
|
|
92
|
+
createParam: function (command, config) {
|
|
93
|
+
return axios.post("".concat(baseUrl, "/params"), command, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
94
|
+
},
|
|
95
|
+
/**
|
|
96
|
+
* 更新命令参数定义。
|
|
97
|
+
* 需要角色:管理员
|
|
98
|
+
* @param command 更新命令
|
|
99
|
+
* @param config 请求配置参数
|
|
100
|
+
*/
|
|
101
|
+
updateParam: function (command, config) {
|
|
102
|
+
return axios.put("".concat(baseUrl, "/params"), command, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
103
|
+
},
|
|
104
|
+
/**
|
|
105
|
+
* 删除命令参数定义。
|
|
106
|
+
* 需要角色:管理员
|
|
107
|
+
* @param id 命令定义id
|
|
108
|
+
* @param dataVersion 数据版本
|
|
109
|
+
* @param config 请求配置参数
|
|
110
|
+
*/
|
|
111
|
+
deleteParam: function (id, dataVersion, config) {
|
|
112
|
+
return axios.delete("".concat(baseUrl, "/params"), { id: id, dataVersion: dataVersion }, undefined, __assign({ popValidationErrorNotification: true, showSuccessMessage: true }, (config || {})));
|
|
113
|
+
},
|
|
114
|
+
/**
|
|
115
|
+
* 获取指定命令参数的约束定义
|
|
116
|
+
* @param paramId 命令ID
|
|
117
|
+
* @param config 请求配置参数
|
|
118
|
+
*/
|
|
119
|
+
getConstrainsByParam: function (paramId, config) {
|
|
120
|
+
return axios.get("".concat(baseUrl, "/params/constraints/by-param/").concat(paramId), undefined, config);
|
|
121
|
+
},
|
|
122
|
+
/**
|
|
123
|
+
* 创建命令参数约束定义。
|
|
124
|
+
* 需要角色:管理员
|
|
125
|
+
* @param command 创建命令
|
|
126
|
+
* @param config 请求配置参数
|
|
127
|
+
*/
|
|
128
|
+
createParamConstraint: function (command, config) {
|
|
129
|
+
return axios.post("".concat(baseUrl, "/params"), command, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
130
|
+
},
|
|
131
|
+
/**
|
|
132
|
+
* 更新命令参数约束定义。
|
|
133
|
+
* 需要角色:管理员
|
|
134
|
+
* @param command 更新命令
|
|
135
|
+
* @param config 请求配置参数
|
|
136
|
+
*/
|
|
137
|
+
updateParamConstraint: function (command, config) {
|
|
138
|
+
return axios.put("".concat(baseUrl, "/params"), command, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
139
|
+
},
|
|
140
|
+
/**
|
|
141
|
+
* 删除命令参数约束定义。
|
|
142
|
+
* 需要角色:管理员
|
|
143
|
+
* @param id 命令定义id
|
|
144
|
+
* @param dataVersion 数据版本
|
|
145
|
+
* @param config 请求配置参数
|
|
146
|
+
*/
|
|
147
|
+
deleteParamConstraint: function (id, dataVersion, config) {
|
|
148
|
+
return axios.delete("".concat(baseUrl, "/params"), { id: id, dataVersion: dataVersion }, undefined, __assign({ popValidationErrorNotification: true, showSuccessMessage: true }, (config || {})));
|
|
149
|
+
},
|
|
150
|
+
/**
|
|
151
|
+
* 批量更新约束
|
|
152
|
+
* @param param 约束所属的约束
|
|
153
|
+
* @param createCommands 创建命令
|
|
154
|
+
* @param updateCommands 更新命令
|
|
155
|
+
* @param deleteCommands 删除命令
|
|
156
|
+
* @param config 请求配置参数
|
|
157
|
+
*/
|
|
158
|
+
batchUpdateConstraints: function (param, createCommands, updateCommands, deleteCommands, config) {
|
|
159
|
+
return axios.post("".concat(baseUrl, "/params/constraints/batch"), {
|
|
160
|
+
param: param,
|
|
161
|
+
createCommands: createCommands,
|
|
162
|
+
updateCommands: updateCommands,
|
|
163
|
+
deleteCommands: deleteCommands
|
|
164
|
+
}, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
165
|
+
},
|
|
166
|
+
/**
|
|
167
|
+
* 创建实体操作命令定义
|
|
168
|
+
* @param command 命令对象
|
|
169
|
+
* @param config 请求配置参数
|
|
170
|
+
*/
|
|
171
|
+
createEntityOperations: function (command, config) {
|
|
172
|
+
return axios.post("".concat(baseUrl, "/create-entity-operations"), command, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* 命令定义API
|
|
178
|
+
* @param axios axios对象
|
|
179
|
+
*/
|
|
180
|
+
export function useCommandApi(axios) {
|
|
181
|
+
return createApiWithCache(useCommandApiInternal, axios);
|
|
182
|
+
}
|
|
183
|
+
//# sourceMappingURL=command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../../src/api/domainModel/command.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { IAceAxios } from "../../http/IAceAxios";
|
|
2
|
+
import type { AceAxiosRequestConfig } from "../../http/types";
|
|
3
|
+
import type { EntityConstraintDefinition, ConstraintProvider, CreateEntityConstraintCommand, UpdateEntityConstraintCommand } from "../../models/domainModel";
|
|
4
|
+
import type { EntityBase } from "../../models/EntityBase";
|
|
5
|
+
/**
|
|
6
|
+
* 枚举定义API
|
|
7
|
+
* @param axios axios对象
|
|
8
|
+
*/
|
|
9
|
+
export declare function useConstraintApi(axios?: IAceAxios): {
|
|
10
|
+
/**
|
|
11
|
+
* 根据Id获取约束定义
|
|
12
|
+
*
|
|
13
|
+
* @param id 约束定义id
|
|
14
|
+
* @param config 请求配置参数
|
|
15
|
+
*/
|
|
16
|
+
getById(id: string, config?: AceAxiosRequestConfig | undefined): Promise<EntityConstraintDefinition>;
|
|
17
|
+
/**
|
|
18
|
+
* 获取指定实体的所有约束定义
|
|
19
|
+
* @param entityId 指定的约束id
|
|
20
|
+
* @param config 请求配置参数
|
|
21
|
+
*/
|
|
22
|
+
getByEntity(entityId: string, config?: AceAxiosRequestConfig | undefined): Promise<EntityConstraintDefinition[]>;
|
|
23
|
+
/**
|
|
24
|
+
* 获取独属于指定属性的约束定义
|
|
25
|
+
* @param propertyId 指定属性定义
|
|
26
|
+
* @param config 请求配置参数
|
|
27
|
+
*/
|
|
28
|
+
getByProperty(propertyId: string, config?: AceAxiosRequestConfig | undefined): Promise<EntityConstraintDefinition[]>;
|
|
29
|
+
/**
|
|
30
|
+
* 获取约束定义提供程序
|
|
31
|
+
* @param config 自定义请求参数
|
|
32
|
+
*/
|
|
33
|
+
getConstraintProviders(config?: AceAxiosRequestConfig | undefined): Promise<ConstraintProvider[]>;
|
|
34
|
+
/**
|
|
35
|
+
* 创建实体约束。
|
|
36
|
+
* 需要角色:管理员
|
|
37
|
+
* @param command 创建实体约束命令
|
|
38
|
+
* @param config 请求配置参数
|
|
39
|
+
*/
|
|
40
|
+
create(command: CreateEntityConstraintCommand[], config?: AceAxiosRequestConfig | undefined): Promise<EntityConstraintDefinition[]>;
|
|
41
|
+
/**
|
|
42
|
+
* 更新实体约束定义。
|
|
43
|
+
* 需要角色:管理员
|
|
44
|
+
* @param command 更新实体约束命令
|
|
45
|
+
* @param config 请求配置参数
|
|
46
|
+
*/
|
|
47
|
+
update(command: UpdateEntityConstraintCommand[], config?: AceAxiosRequestConfig | undefined): Promise<EntityConstraintDefinition[]>;
|
|
48
|
+
/**
|
|
49
|
+
* 删除实体定义。
|
|
50
|
+
* 需要角色:管理员
|
|
51
|
+
* @param command 删除命令集合
|
|
52
|
+
* @param config 请求配置参数
|
|
53
|
+
*/
|
|
54
|
+
delete(command: EntityBase[], config?: AceAxiosRequestConfig | undefined): Promise<void>;
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=constraint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constraint.d.ts","sourceRoot":"","sources":["../../../src/api/domainModel/constraint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAEpD,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EACR,0BAA0B,EAC1B,kBAAkB,EAClB,6BAA6B,EAAE,6BAA6B,EAC/D,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAsFxD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,SAAS;IApF1C;;;;;OAKG;;IAIH;;;;OAIG;;IAKH;;;;OAIG;;IAKH;;;OAGG;;IAIH;;;;;OAKG;;IASH;;;;;OAKG;;IASH;;;;;OAKG;;EAmBV"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { createApiWithCache } from "../apiCache";
|
|
13
|
+
function useConstraintApiInternal(axios) {
|
|
14
|
+
var baseUrl = "/ace-domain-modeler/constraints";
|
|
15
|
+
return {
|
|
16
|
+
/**
|
|
17
|
+
* 根据Id获取约束定义
|
|
18
|
+
*
|
|
19
|
+
* @param id 约束定义id
|
|
20
|
+
* @param config 请求配置参数
|
|
21
|
+
*/
|
|
22
|
+
getById: function (id, config) {
|
|
23
|
+
return axios.get("".concat(baseUrl, "/by-id/").concat(id), undefined, config);
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* 获取指定实体的所有约束定义
|
|
27
|
+
* @param entityId 指定的约束id
|
|
28
|
+
* @param config 请求配置参数
|
|
29
|
+
*/
|
|
30
|
+
getByEntity: function (entityId, config) {
|
|
31
|
+
return axios.get("".concat(baseUrl, "/by-entity/").concat(entityId), undefined, config);
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* 获取独属于指定属性的约束定义
|
|
35
|
+
* @param propertyId 指定属性定义
|
|
36
|
+
* @param config 请求配置参数
|
|
37
|
+
*/
|
|
38
|
+
getByProperty: function (propertyId, config) {
|
|
39
|
+
return axios.get("".concat(baseUrl, "/by-prop/").concat(propertyId), undefined, config);
|
|
40
|
+
},
|
|
41
|
+
/**
|
|
42
|
+
* 获取约束定义提供程序
|
|
43
|
+
* @param config 自定义请求参数
|
|
44
|
+
*/
|
|
45
|
+
getConstraintProviders: function (config) {
|
|
46
|
+
return axios.get("".concat(baseUrl, "/providers"), undefined, config);
|
|
47
|
+
},
|
|
48
|
+
/**
|
|
49
|
+
* 创建实体约束。
|
|
50
|
+
* 需要角色:管理员
|
|
51
|
+
* @param command 创建实体约束命令
|
|
52
|
+
* @param config 请求配置参数
|
|
53
|
+
*/
|
|
54
|
+
create: function (command, config) {
|
|
55
|
+
return axios.post("".concat(baseUrl), command, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
56
|
+
},
|
|
57
|
+
/**
|
|
58
|
+
* 更新实体约束定义。
|
|
59
|
+
* 需要角色:管理员
|
|
60
|
+
* @param command 更新实体约束命令
|
|
61
|
+
* @param config 请求配置参数
|
|
62
|
+
*/
|
|
63
|
+
update: function (command, config) {
|
|
64
|
+
return axios.put("".concat(baseUrl), command, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
65
|
+
},
|
|
66
|
+
/**
|
|
67
|
+
* 删除实体定义。
|
|
68
|
+
* 需要角色:管理员
|
|
69
|
+
* @param command 删除命令集合
|
|
70
|
+
* @param config 请求配置参数
|
|
71
|
+
*/
|
|
72
|
+
delete: function (command, config) {
|
|
73
|
+
return axios.delete("".concat(baseUrl), command, undefined, __assign({ popValidationErrorNotification: true, showSuccessMessage: true }, (config || {})));
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* 枚举定义API
|
|
79
|
+
* @param axios axios对象
|
|
80
|
+
*/
|
|
81
|
+
export function useConstraintApi(axios) {
|
|
82
|
+
return createApiWithCache(useConstraintApiInternal, axios);
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=constraint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constraint.js","sourceRoot":"","sources":["../../../src/api/domainModel/constraint.ts"],"names":[],"mappings":";;;;;;;;;;;AACA,OAAO,EAAC,kBAAkB,EAAC,MAAM,aAAa,CAAC;AAS/C,SAAS,wBAAwB,CAAC,KAAgB;IAC9C,IAAM,OAAO,GAAG,iCAAiC,CAAC;IAClD,OAAO;QAEH;;;;;WAKG;QACH,OAAO,YAAC,EAAU,EAAE,MAA8B;YAC9C,OAAO,KAAK,CAAC,GAAG,CAA6B,UAAG,OAAO,oBAAU,EAAE,CAAE,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;QAC9F,CAAC;QACD;;;;WAIG;QACH,WAAW,YAAC,QAAgB,EAAE,MAA8B;YACxD,OAAO,KAAK,CAAC,GAAG,CAA+B,UAAG,OAAO,wBAAc,QAAQ,CAAE,EAC7E,SAAS,EAAE,MAAM,CAAC,CAAC;QAC3B,CAAC;QACD;;;;WAIG;QACH,aAAa,YAAC,UAAkB,EAAE,MAA8B;YAC5D,OAAO,KAAK,CAAC,GAAG,CAA+B,UAAG,OAAO,sBAAY,UAAU,CAAE,EAC7E,SAAS,EAAE,MAAM,CAAC,CAAC;QAC3B,CAAC;QACD;;;WAGG;QACH,sBAAsB,YAAC,MAA8B;YACjD,OAAO,KAAK,CAAC,GAAG,CAAuB,UAAG,OAAO,eAAY,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;QACtF,CAAC;QACD;;;;;WAKG;QACH,MAAM,YAAC,OAAwC,EAAE,MAA8B;YAC3E,OAAO,KAAK,CAAC,IAAI,CAA+B,UAAG,OAAO,CAAE,EAAE,OAAO,EAAE,SAAS,aAC5E,kBAAkB,EAAE,IAAI,IACrB,CACC,MAAM,IAAI,EAAE,CACf,EACH,CAAC;QACP,CAAC;QACD;;;;;WAKG;QACH,MAAM,YAAC,OAAwC,EAAE,MAA8B;YAC3E,OAAO,KAAK,CAAC,GAAG,CAA+B,UAAG,OAAO,CAAE,EAAE,OAAO,EAAE,SAAS,aAC3E,kBAAkB,EAAE,IAAI,IACrB,CACC,MAAM,IAAI,EAAE,CACf,EACH,CAAC;QACP,CAAC;QACD;;;;;WAKG;QACH,MAAM,YAAC,OAAqB,EAAE,MAA8B;YACxD,OAAO,KAAK,CAAC,MAAM,CAAO,UAAG,OAAO,CAAE,EAAE,OAAO,EAAE,SAAS,aACtD,8BAA8B,EAAE,IAAI,EACpC,kBAAkB,EAAE,IAAI,IACrB,CACC,MAAM,IAAI,EAAE,CACf,EACH,CAAC;QACP,CAAC;KACJ,CAAC;AACN,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAAiB;IAC9C,OAAO,kBAAkB,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { IAceAxios } from "../../http/IAceAxios";
|
|
2
|
+
import type { AceAxiosRequestConfig } from "../../http/types";
|
|
3
|
+
import type { DataScopeDefinition, CreateDataScopeDefinitionCommand, UpdateDataScopeDefinitionCommand } from "../../models/domainModel";
|
|
4
|
+
import type { EntityBase } from "../../models/EntityBase";
|
|
5
|
+
/**
|
|
6
|
+
* 数据范围定义API
|
|
7
|
+
* @param axios axios对象
|
|
8
|
+
*/
|
|
9
|
+
export declare function useDataScopeApi(axios?: IAceAxios): {
|
|
10
|
+
/**
|
|
11
|
+
* 根据Id获取数据范围定义
|
|
12
|
+
*
|
|
13
|
+
* @param id 数据范围定义id
|
|
14
|
+
* @param config 请求配置参数
|
|
15
|
+
*/
|
|
16
|
+
getById(id: string, config?: AceAxiosRequestConfig | undefined): Promise<DataScopeDefinition>;
|
|
17
|
+
/**
|
|
18
|
+
* 获取指定实体的所有数据范围定义
|
|
19
|
+
* @param entityId 指定的数据范围id
|
|
20
|
+
* @param config 请求配置参数
|
|
21
|
+
*/
|
|
22
|
+
getByEntity(entityId: string, config?: AceAxiosRequestConfig | undefined): Promise<DataScopeDefinition[]>;
|
|
23
|
+
/**
|
|
24
|
+
* 创建实体数据范围。
|
|
25
|
+
* 需要角色:管理员
|
|
26
|
+
* @param command 创建实体数据范围命令
|
|
27
|
+
* @param config 请求配置参数
|
|
28
|
+
*/
|
|
29
|
+
create(command: CreateDataScopeDefinitionCommand[], config?: AceAxiosRequestConfig | undefined): Promise<DataScopeDefinition[]>;
|
|
30
|
+
/**
|
|
31
|
+
* 更新实体数据范围定义。
|
|
32
|
+
* 需要角色:管理员
|
|
33
|
+
* @param command 更新实体数据范围命令
|
|
34
|
+
* @param config 请求配置参数
|
|
35
|
+
*/
|
|
36
|
+
update(command: UpdateDataScopeDefinitionCommand[], config?: AceAxiosRequestConfig | undefined): Promise<DataScopeDefinition[]>;
|
|
37
|
+
/**
|
|
38
|
+
* 删除实体定义。
|
|
39
|
+
* 需要角色:管理员
|
|
40
|
+
* @param command 删除命令集合
|
|
41
|
+
* @param config 请求配置参数
|
|
42
|
+
*/
|
|
43
|
+
delete(command: EntityBase[], config?: AceAxiosRequestConfig | undefined): Promise<void>;
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=dataScope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataScope.d.ts","sourceRoot":"","sources":["../../../src/api/domainModel/dataScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAEpD,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EACR,mBAAmB,EACnB,gCAAgC,EAAE,gCAAgC,EACrE,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAsExD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,SAAS;IApEzC;;;;;OAKG;;IAIH;;;;OAIG;;IAKH;;;;;OAKG;;IASH;;;;;OAKG;;IASH;;;;;OAKG;;EAmBV"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { createApiWithCache } from "../apiCache";
|
|
13
|
+
function useDataScopeApiInternal(axios) {
|
|
14
|
+
var baseUrl = "/ace-domain-modeler/data-scopes";
|
|
15
|
+
return {
|
|
16
|
+
/**
|
|
17
|
+
* 根据Id获取数据范围定义
|
|
18
|
+
*
|
|
19
|
+
* @param id 数据范围定义id
|
|
20
|
+
* @param config 请求配置参数
|
|
21
|
+
*/
|
|
22
|
+
getById: function (id, config) {
|
|
23
|
+
return axios.get("".concat(baseUrl, "/by-id/").concat(id), undefined, config);
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* 获取指定实体的所有数据范围定义
|
|
27
|
+
* @param entityId 指定的数据范围id
|
|
28
|
+
* @param config 请求配置参数
|
|
29
|
+
*/
|
|
30
|
+
getByEntity: function (entityId, config) {
|
|
31
|
+
return axios.get("".concat(baseUrl, "/by-entity/").concat(entityId), undefined, config);
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* 创建实体数据范围。
|
|
35
|
+
* 需要角色:管理员
|
|
36
|
+
* @param command 创建实体数据范围命令
|
|
37
|
+
* @param config 请求配置参数
|
|
38
|
+
*/
|
|
39
|
+
create: function (command, config) {
|
|
40
|
+
return axios.post("".concat(baseUrl), command, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* 更新实体数据范围定义。
|
|
44
|
+
* 需要角色:管理员
|
|
45
|
+
* @param command 更新实体数据范围命令
|
|
46
|
+
* @param config 请求配置参数
|
|
47
|
+
*/
|
|
48
|
+
update: function (command, config) {
|
|
49
|
+
return axios.put("".concat(baseUrl), command, undefined, __assign({ showSuccessMessage: true }, (config || {})));
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* 删除实体定义。
|
|
53
|
+
* 需要角色:管理员
|
|
54
|
+
* @param command 删除命令集合
|
|
55
|
+
* @param config 请求配置参数
|
|
56
|
+
*/
|
|
57
|
+
delete: function (command, config) {
|
|
58
|
+
return axios.delete("".concat(baseUrl), command, undefined, __assign({ popValidationErrorNotification: true, showSuccessMessage: true }, (config || {})));
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* 数据范围定义API
|
|
64
|
+
* @param axios axios对象
|
|
65
|
+
*/
|
|
66
|
+
export function useDataScopeApi(axios) {
|
|
67
|
+
return createApiWithCache(useDataScopeApiInternal, axios);
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=dataScope.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataScope.js","sourceRoot":"","sources":["../../../src/api/domainModel/dataScope.ts"],"names":[],"mappings":";;;;;;;;;;;AACA,OAAO,EAAC,kBAAkB,EAAC,MAAM,aAAa,CAAC;AAQ/C,SAAS,uBAAuB,CAAC,KAAgB;IAC7C,IAAM,OAAO,GAAG,iCAAiC,CAAC;IAClD,OAAO;QAEH;;;;;WAKG;QACH,OAAO,YAAC,EAAU,EAAE,MAA8B;YAC9C,OAAO,KAAK,CAAC,GAAG,CAAsB,UAAG,OAAO,oBAAU,EAAE,CAAE,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;QACvF,CAAC;QACD;;;;WAIG;QACH,WAAW,YAAC,QAAgB,EAAE,MAA8B;YACxD,OAAO,KAAK,CAAC,GAAG,CAAwB,UAAG,OAAO,wBAAc,QAAQ,CAAE,EACtE,SAAS,EAAE,MAAM,CAAC,CAAC;QAC3B,CAAC;QACD;;;;;WAKG;QACH,MAAM,YAAC,OAA2C,EAAE,MAA8B;YAC9E,OAAO,KAAK,CAAC,IAAI,CAAwB,UAAG,OAAO,CAAE,EAAE,OAAO,EAAE,SAAS,aACrE,kBAAkB,EAAE,IAAI,IACrB,CACC,MAAM,IAAI,EAAE,CACf,EACH,CAAC;QACP,CAAC;QACD;;;;;WAKG;QACH,MAAM,YAAC,OAA2C,EAAE,MAA8B;YAC9E,OAAO,KAAK,CAAC,GAAG,CAAwB,UAAG,OAAO,CAAE,EAAE,OAAO,EAAE,SAAS,aACpE,kBAAkB,EAAE,IAAI,IACrB,CACC,MAAM,IAAI,EAAE,CACf,EACH,CAAC;QACP,CAAC;QACD;;;;;WAKG;QACH,MAAM,YAAC,OAAqB,EAAE,MAA8B;YACxD,OAAO,KAAK,CAAC,MAAM,CAAO,UAAG,OAAO,CAAE,EAAE,OAAO,EAAE,SAAS,aACtD,8BAA8B,EAAE,IAAI,EACpC,kBAAkB,EAAE,IAAI,IACrB,CACC,MAAM,IAAI,EAAE,CACf,EACH,CAAC;QACP,CAAC;KACJ,CAAC;AACN,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,eAAe,CAAC,KAAiB;IAC7C,OAAO,kBAAkB,CAAC,uBAAuB,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC"}
|