@acorex-platform/module-application-management-server 0.0.15 → 2.0.0-beta.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/contracts/src/entities/app-term/app-term.entity.js +17 -3
- package/contracts/src/entities/app-term/app-term.entity.js.map +1 -1
- package/contracts/src/entities/app-term/app-term.types.js.map +1 -1
- package/contracts/src/entities/app-term/index.d.ts +0 -1
- package/contracts/src/entities/app-term/index.js +0 -1
- package/contracts/src/entities/app-term/index.js.map +1 -1
- package/contracts/src/entities/app-version/app-version.entity.js +21 -6
- package/contracts/src/entities/app-version/app-version.entity.js.map +1 -1
- package/contracts/src/entities/app-version/app-version.types.d.ts +8 -2
- package/contracts/src/entities/app-version/app-version.types.js.map +1 -1
- package/contracts/src/entities/app-version/index.d.ts +0 -1
- package/contracts/src/entities/app-version/index.js +0 -1
- package/contracts/src/entities/app-version/index.js.map +1 -1
- package/contracts/src/entities/application/application.entity.js +22 -2
- package/contracts/src/entities/application/application.entity.js.map +1 -1
- package/contracts/src/entities/application/application.types.d.ts +3 -3
- package/contracts/src/entities/application/application.types.js.map +1 -1
- package/contracts/src/entities/application/index.d.ts +0 -1
- package/contracts/src/entities/application/index.js +0 -1
- package/contracts/src/entities/application/index.js.map +1 -1
- package/contracts/src/entities/edition/edition.entity.js +51 -6
- package/contracts/src/entities/edition/edition.entity.js.map +1 -1
- package/contracts/src/entities/edition/edition.types.d.ts +3 -2
- package/contracts/src/entities/edition/edition.types.js.map +1 -1
- package/contracts/src/entities/edition/index.d.ts +0 -1
- package/contracts/src/entities/edition/index.js +0 -1
- package/contracts/src/entities/edition/index.js.map +1 -1
- package/contracts/src/entities/index.js.map +1 -1
- package/contracts/src/entity-catalog.d.ts +7 -0
- package/contracts/src/entity-catalog.js +23 -0
- package/contracts/src/entity-catalog.js.map +1 -0
- package/contracts/src/entity-entry.app-term.d.ts +1 -0
- package/contracts/src/entity-entry.app-term.js +6 -0
- package/contracts/src/entity-entry.app-term.js.map +1 -0
- package/contracts/src/entity-entry.app-version.d.ts +1 -0
- package/contracts/src/entity-entry.app-version.js +6 -0
- package/contracts/src/entity-entry.app-version.js.map +1 -0
- package/contracts/src/entity-entry.application.d.ts +1 -0
- package/contracts/src/entity-entry.application.js +6 -0
- package/contracts/src/entity-entry.application.js.map +1 -0
- package/contracts/src/entity-entry.edition.d.ts +1 -0
- package/contracts/src/entity-entry.edition.js +6 -0
- package/contracts/src/entity-entry.edition.js.map +1 -0
- package/contracts/src/features.keys.js.map +1 -1
- package/contracts/src/index.d.ts +6 -0
- package/contracts/src/index.js +6 -0
- package/contracts/src/index.js.map +1 -1
- package/contracts/src/industry-pack.constants.d.ts +6 -0
- package/contracts/src/industry-pack.constants.js +11 -0
- package/contracts/src/industry-pack.constants.js.map +1 -0
- package/contracts/src/lib/context.definitions.d.ts +2 -0
- package/contracts/src/lib/context.definitions.js +15 -0
- package/contracts/src/lib/context.definitions.js.map +1 -0
- package/contracts/src/manifest.d.ts +6 -0
- package/contracts/src/manifest.js +24 -0
- package/contracts/src/manifest.js.map +1 -0
- package/contracts/src/menu.keys.js.map +1 -1
- package/contracts/src/module-setup.provider.d.ts +55 -0
- package/contracts/src/module-setup.provider.js +26 -0
- package/contracts/src/module-setup.provider.js.map +1 -0
- package/contracts/src/offline-read.capabilities.d.ts +2 -0
- package/contracts/src/offline-read.capabilities.js +8 -0
- package/contracts/src/offline-read.capabilities.js.map +1 -0
- package/contracts/src/permission.keys.d.ts +25 -5
- package/contracts/src/permission.keys.js +25 -5
- package/contracts/src/permission.keys.js.map +1 -1
- package/contracts/src/root-config.d.ts +35 -29
- package/contracts/src/root-config.js +6 -0
- package/contracts/src/root-config.js.map +1 -1
- package/contracts/src/server-commands.d.ts +29 -0
- package/contracts/src/server-commands.js +9 -0
- package/contracts/src/server-commands.js.map +1 -0
- package/contracts/src/settings.keys.d.ts +3 -1
- package/contracts/src/settings.keys.js +2 -0
- package/contracts/src/settings.keys.js.map +1 -1
- package/package.json +9 -12
- package/server/src/index.d.ts +3 -0
- package/server/src/index.js +9 -0
- package/server/src/index.js.map +1 -0
- package/server/src/lib/application-management-server.module.d.ts +7 -0
- package/server/src/lib/application-management-server.module.js +56 -0
- package/server/src/lib/application-management-server.module.js.map +1 -0
- package/server/src/lib/entities/application-management.entity-catalog.d.ts +1 -0
- package/server/src/lib/entities/application-management.entity-catalog.js +12 -0
- package/server/src/lib/entities/application-management.entity-catalog.js.map +1 -0
- package/server/src/lib/entities/index.d.ts +1 -0
- package/server/src/lib/entities/index.js +5 -0
- package/{src/lib/seed/reports → server/src/lib/entities}/index.js.map +1 -1
- package/server/src/lib/handlers/application-report.handlers.d.ts +14 -0
- package/server/src/lib/handlers/application-report.handlers.js +65 -0
- package/server/src/lib/handlers/application-report.handlers.js.map +1 -0
- package/{src → server/src}/lib/queries/application-query.helpers.js +1 -1
- package/server/src/lib/queries/application-query.helpers.js.map +1 -0
- package/server/src/lib/queries/get-application-versions-chart-data.query.definition.d.ts +5 -0
- package/server/src/lib/queries/get-application-versions-chart-data.query.definition.js +33 -0
- package/server/src/lib/queries/get-application-versions-chart-data.query.definition.js.map +1 -0
- package/{src → server/src}/lib/queries/get-application-versions-chart-data.query.js +1 -1
- package/server/src/lib/queries/get-application-versions-chart-data.query.js.map +1 -0
- package/server/src/lib/queries/get-application-versions-timeline.query.definition.d.ts +5 -0
- package/server/src/lib/queries/get-application-versions-timeline.query.definition.js +34 -0
- package/server/src/lib/queries/get-application-versions-timeline.query.definition.js.map +1 -0
- package/{src → server/src}/lib/queries/get-application-versions-timeline.query.js +1 -1
- package/server/src/lib/queries/get-application-versions-timeline.query.js.map +1 -0
- package/server/src/lib/reports/application-report-definition.provider.js.map +1 -0
- package/{src → server/src}/lib/reports/application-report.definitions.js +8 -3
- package/server/src/lib/reports/application-report.definitions.js.map +1 -0
- package/server/src/lib/setup/index.d.ts +6 -0
- package/server/src/lib/setup/index.js +10 -0
- package/{src/lib/seed/app-term → server/src/lib/setup}/index.js.map +1 -1
- package/server/src/lib/setup/module-setup-aggregator.service.d.ts +13 -0
- package/server/src/lib/setup/module-setup-aggregator.service.js +70 -0
- package/server/src/lib/setup/module-setup-aggregator.service.js.map +1 -0
- package/server/src/lib/setup/subscription-tenant-setup.listener.d.ts +13 -0
- package/server/src/lib/setup/subscription-tenant-setup.listener.js +78 -0
- package/server/src/lib/setup/subscription-tenant-setup.listener.js.map +1 -0
- package/server/src/lib/setup/tenant-setup.command.d.ts +8 -0
- package/server/src/lib/setup/tenant-setup.command.js +34 -0
- package/server/src/lib/setup/tenant-setup.command.js.map +1 -0
- package/server/src/lib/setup/tenant-setup.seed-provider.d.ts +16 -0
- package/server/src/lib/setup/tenant-setup.seed-provider.js +59 -0
- package/server/src/lib/setup/tenant-setup.seed-provider.js.map +1 -0
- package/server/src/lib/setup/tenant-setup.service.d.ts +13 -0
- package/server/src/lib/setup/tenant-setup.service.js +161 -0
- package/server/src/lib/setup/tenant-setup.service.js.map +1 -0
- package/server/src/lib/setup/tenant-subscription-modules.resolver.d.ts +20 -0
- package/server/src/lib/setup/tenant-subscription-modules.resolver.js +131 -0
- package/server/src/lib/setup/tenant-subscription-modules.resolver.js.map +1 -0
- package/src/index.d.ts +0 -5
- package/src/index.js +0 -13
- package/src/index.js.map +0 -1
- package/src/lib/application-management-server.module.d.ts +0 -2
- package/src/lib/application-management-server.module.js +0 -32
- package/src/lib/application-management-server.module.js.map +0 -1
- package/src/lib/handlers/application-report.handlers.d.ts +0 -14
- package/src/lib/handlers/application-report.handlers.js +0 -40
- package/src/lib/handlers/application-report.handlers.js.map +0 -1
- package/src/lib/queries/application-query.helpers.js.map +0 -1
- package/src/lib/queries/get-application-versions-chart-data.query.js.map +0 -1
- package/src/lib/queries/get-application-versions-timeline.query.js.map +0 -1
- package/src/lib/reports/application-report-definition.provider.js.map +0 -1
- package/src/lib/reports/application-report.definitions.js.map +0 -1
- package/src/lib/seed/app-term/app-term.mock.data.d.ts +0 -2
- package/src/lib/seed/app-term/app-term.mock.data.js +0 -296
- package/src/lib/seed/app-term/app-term.mock.data.js.map +0 -1
- package/src/lib/seed/app-term/app-term.seed.d.ts +0 -5
- package/src/lib/seed/app-term/app-term.seed.js +0 -31
- package/src/lib/seed/app-term/app-term.seed.js.map +0 -1
- package/src/lib/seed/app-term/index.d.ts +0 -2
- package/src/lib/seed/app-term/index.js +0 -6
- package/src/lib/seed/app-version/app-version.mock.data.d.ts +0 -8
- package/src/lib/seed/app-version/app-version.mock.data.js +0 -105
- package/src/lib/seed/app-version/app-version.mock.data.js.map +0 -1
- package/src/lib/seed/app-version/app-version.seed.d.ts +0 -6
- package/src/lib/seed/app-version/app-version.seed.js +0 -34
- package/src/lib/seed/app-version/app-version.seed.js.map +0 -1
- package/src/lib/seed/app-version/index.d.ts +0 -2
- package/src/lib/seed/app-version/index.js +0 -6
- package/src/lib/seed/app-version/index.js.map +0 -1
- package/src/lib/seed/application/application.mock.d.ts +0 -2
- package/src/lib/seed/application/application.mock.js +0 -27
- package/src/lib/seed/application/application.mock.js.map +0 -1
- package/src/lib/seed/application/application.seed.d.ts +0 -5
- package/src/lib/seed/application/application.seed.js +0 -31
- package/src/lib/seed/application/application.seed.js.map +0 -1
- package/src/lib/seed/application/demo-application-logo-url.util.d.ts +0 -1
- package/src/lib/seed/application/demo-application-logo-url.util.js +0 -20
- package/src/lib/seed/application/demo-application-logo-url.util.js.map +0 -1
- package/src/lib/seed/application/index.d.ts +0 -2
- package/src/lib/seed/application/index.js +0 -6
- package/src/lib/seed/application/index.js.map +0 -1
- package/src/lib/seed/application-category/application-category.mock.d.ts +0 -16
- package/src/lib/seed/application-category/application-category.mock.js +0 -78
- package/src/lib/seed/application-category/application-category.mock.js.map +0 -1
- package/src/lib/seed/application-category/application-category.seed.d.ts +0 -6
- package/src/lib/seed/application-category/application-category.seed.js +0 -32
- package/src/lib/seed/application-category/application-category.seed.js.map +0 -1
- package/src/lib/seed/application-category/index.d.ts +0 -2
- package/src/lib/seed/application-category/index.js +0 -6
- package/src/lib/seed/application-category/index.js.map +0 -1
- package/src/lib/seed/application-management-jql.seed-catalog.d.ts +0 -3
- package/src/lib/seed/application-management-jql.seed-catalog.js +0 -22
- package/src/lib/seed/application-management-jql.seed-catalog.js.map +0 -1
- package/src/lib/seed/application-management-seed.provider.d.ts +0 -4
- package/src/lib/seed/application-management-seed.provider.js +0 -18
- package/src/lib/seed/application-management-seed.provider.js.map +0 -1
- package/src/lib/seed/application-management-seed.tokens.d.ts +0 -1
- package/src/lib/seed/application-management-seed.tokens.js +0 -7
- package/src/lib/seed/application-management-seed.tokens.js.map +0 -1
- package/src/lib/seed/application-management.seed-catalog.d.ts +0 -2
- package/src/lib/seed/application-management.seed-catalog.js +0 -21
- package/src/lib/seed/application-management.seed-catalog.js.map +0 -1
- package/src/lib/seed/application-tree-feature-keys.constants.d.ts +0 -40
- package/src/lib/seed/application-tree-feature-keys.constants.js +0 -56
- package/src/lib/seed/application-tree-feature-keys.constants.js.map +0 -1
- package/src/lib/seed/application-tree.data.d.ts +0 -56
- package/src/lib/seed/application-tree.data.js +0 -212
- package/src/lib/seed/application-tree.data.js.map +0 -1
- package/src/lib/seed/edition/edition.mock.d.ts +0 -10
- package/src/lib/seed/edition/edition.mock.js +0 -50
- package/src/lib/seed/edition/edition.mock.js.map +0 -1
- package/src/lib/seed/edition/edition.seed.d.ts +0 -6
- package/src/lib/seed/edition/edition.seed.js +0 -32
- package/src/lib/seed/edition/edition.seed.js.map +0 -1
- package/src/lib/seed/edition/index.d.ts +0 -2
- package/src/lib/seed/edition/index.js +0 -6
- package/src/lib/seed/edition/index.js.map +0 -1
- package/src/lib/seed/index.d.ts +0 -26
- package/src/lib/seed/index.js +0 -28
- package/src/lib/seed/index.js.map +0 -1
- package/src/lib/seed/reports/index.d.ts +0 -1
- package/src/lib/seed/reports/index.js +0 -5
- package/src/lib/seed/reports/report.mock.d.ts +0 -9
- package/src/lib/seed/reports/report.mock.js +0 -306
- package/src/lib/seed/reports/report.mock.js.map +0 -1
- /package/{src → server/src}/lib/queries/application-query.helpers.d.ts +0 -0
- /package/{src → server/src}/lib/queries/get-application-versions-chart-data.query.d.ts +0 -0
- /package/{src → server/src}/lib/queries/get-application-versions-timeline.query.d.ts +0 -0
- /package/{src → server/src}/lib/reports/application-report-definition.provider.d.ts +0 -0
- /package/{src → server/src}/lib/reports/application-report-definition.provider.js +0 -0
- /package/{src → server/src}/lib/reports/application-report.definitions.d.ts +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ----- Imports -----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.applicationManagementLocalEntityCatalog = void 0;
|
|
5
|
+
const root_config_1 = require("./root-config");
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ----- Local entity catalog -----
|
|
8
|
+
/**
|
|
9
|
+
* Lazy per-entity layout factories. Do not re-export from the contracts barrel
|
|
10
|
+
* so RootConfig imports stay light. Server seed and client `local-entities`
|
|
11
|
+
* consume this catalog explicitly.
|
|
12
|
+
*/
|
|
13
|
+
exports.applicationManagementLocalEntityCatalog = {
|
|
14
|
+
moduleName: root_config_1.RootConfig.module.name,
|
|
15
|
+
loaders: {
|
|
16
|
+
[root_config_1.RootConfig.entities.appTerm.name]: () => import('./entities/app-term/app-term.entity.js').then((m) => m.appTermEntityEntityFactory()),
|
|
17
|
+
[root_config_1.RootConfig.entities.appVersion.name]: () => import('./entities/app-version/app-version.entity.js').then((m) => m.appVersionEntityEntityFactory()),
|
|
18
|
+
[root_config_1.RootConfig.entities.application.name]: () => import('./entities/application/application.entity.js').then((m) => m.applicationEntityFactory()),
|
|
19
|
+
[root_config_1.RootConfig.entities.edition.name]: () => import('./entities/edition/edition.entity.js').then((m) => m.editionEntityFactory()),
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
//# sourceMappingURL=entity-catalog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-catalog.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/entity-catalog.ts"],"names":[],"mappings":";AAAA,6BAA6B;;;AAI7B,+CAA2C;AAE3C,YAAY;AAEZ,0CAA0C;AAE1C;;;;GAIG;AACU,QAAA,uCAAuC,GAA0B;IAC5E,UAAU,EAAE,wBAAU,CAAC,MAAM,CAAC,IAAI;IAClC,OAAO,EAAE;QACP,CAAC,wBAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,CACvC,MAAM,CAAC,wCAAwC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,0BAA0B,EAAE,CAAC;QAC9F,CAAC,wBAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,CAC1C,MAAM,CAAC,8CAA8C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,6BAA6B,EAAE,CAAC;QACvG,CAAC,wBAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,CAC3C,MAAM,CAAC,8CAA8C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,wBAAwB,EAAE,CAAC;QAClG,CAAC,wBAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,CACvC,MAAM,CAAC,sCAAsC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,oBAAoB,EAAE,CAAC;KACvF;CACF,CAAC;AAEF,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { appTermEntityEntityFactory } from './entities/app-term/app-term.entity';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.appTermEntityEntityFactory = void 0;
|
|
4
|
+
var app_term_entity_1 = require("./entities/app-term/app-term.entity");
|
|
5
|
+
Object.defineProperty(exports, "appTermEntityEntityFactory", { enumerable: true, get: function () { return app_term_entity_1.appTermEntityEntityFactory; } });
|
|
6
|
+
//# sourceMappingURL=entity-entry.app-term.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-entry.app-term.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/entity-entry.app-term.ts"],"names":[],"mappings":";;;AAAA,uEAAiF;AAAxE,6HAAA,0BAA0B,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { appVersionEntityEntityFactory } from './entities/app-version/app-version.entity';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.appVersionEntityEntityFactory = void 0;
|
|
4
|
+
var app_version_entity_1 = require("./entities/app-version/app-version.entity");
|
|
5
|
+
Object.defineProperty(exports, "appVersionEntityEntityFactory", { enumerable: true, get: function () { return app_version_entity_1.appVersionEntityEntityFactory; } });
|
|
6
|
+
//# sourceMappingURL=entity-entry.app-version.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-entry.app-version.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/entity-entry.app-version.ts"],"names":[],"mappings":";;;AAAA,gFAA0F;AAAjF,mIAAA,6BAA6B,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { applicationEntityFactory } from './entities/application/application.entity';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.applicationEntityFactory = void 0;
|
|
4
|
+
var application_entity_1 = require("./entities/application/application.entity");
|
|
5
|
+
Object.defineProperty(exports, "applicationEntityFactory", { enumerable: true, get: function () { return application_entity_1.applicationEntityFactory; } });
|
|
6
|
+
//# sourceMappingURL=entity-entry.application.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-entry.application.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/entity-entry.application.ts"],"names":[],"mappings":";;;AAAA,gFAAqF;AAA5E,8HAAA,wBAAwB,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { editionEntityFactory } from './entities/edition/edition.entity';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.editionEntityFactory = void 0;
|
|
4
|
+
var edition_entity_1 = require("./entities/edition/edition.entity");
|
|
5
|
+
Object.defineProperty(exports, "editionEntityFactory", { enumerable: true, get: function () { return edition_entity_1.editionEntityFactory; } });
|
|
6
|
+
//# sourceMappingURL=entity-entry.edition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-entry.edition.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/entity-entry.edition.ts"],"names":[],"mappings":";;;AAAA,oEAAyE;AAAhE,sHAAA,oBAAoB,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features.keys.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/
|
|
1
|
+
{"version":3,"file":"features.keys.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/features.keys.ts"],"names":[],"mappings":";;;AAAA,2EAA2E;AAC9D,QAAA,mCAAmC,GAAG,EAAW,CAAC"}
|
package/contracts/src/index.d.ts
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
export * from './lib/context.definitions';
|
|
1
2
|
export * from './features.keys';
|
|
2
3
|
export * from './menu.keys';
|
|
3
4
|
export * from './permission.keys';
|
|
4
5
|
export * from './settings.keys';
|
|
6
|
+
export * from './server-commands';
|
|
7
|
+
export * from './module-setup.provider';
|
|
8
|
+
export * from './industry-pack.constants';
|
|
5
9
|
export * from './root-config';
|
|
10
|
+
export * from './manifest';
|
|
6
11
|
export * from './entities';
|
|
7
12
|
export type { AXMAppTermEntityModel, AXMAppTermViewModel } from './entities/app-term/app-term.types';
|
|
8
13
|
export type { AXMAppVersionEntityModel, AXMAppVersionListComponentModel } from './entities/app-version/app-version.types';
|
|
9
14
|
export type { AXMApplicationManagementApplicationEntityModel } from './entities/application/application.types';
|
|
10
15
|
export type { AXMApplicationManagementEditionEntityModel } from './entities/edition/edition.types';
|
|
16
|
+
export * from './offline-read.capabilities';
|
package/contracts/src/index.js
CHANGED
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
//#region ---- Contracts barrel ----
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./lib/context.definitions"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./features.keys"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./menu.keys"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./permission.keys"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./settings.keys"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./server-commands"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./module-setup.provider"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./industry-pack.constants"), exports);
|
|
9
13
|
tslib_1.__exportStar(require("./root-config"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./manifest"), exports);
|
|
10
15
|
//#endregion
|
|
11
16
|
tslib_1.__exportStar(require("./entities"), exports);
|
|
12
17
|
//#endregion
|
|
18
|
+
tslib_1.__exportStar(require("./offline-read.capabilities"), exports);
|
|
13
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/index.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;AAEpC,oEAA0C;AAC1C,0DAAgC;AAChC,sDAA4B;AAC5B,4DAAkC;AAClC,0DAAgC;AAChC,4DAAkC;AAClC,kEAAwC;AACxC,oEAA0C;AAE1C,wDAA8B;AAC9B,qDAA2B;AAE3B,YAAY;AAEZ,qDAA2B;AAS3B,YAAY;AACZ,sEAA4C"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Coarse industry codes used by starter packs (`BusinessCore.Industry.code`). */
|
|
2
|
+
export declare const AXM_INDUSTRY_PACK_CODES: {
|
|
3
|
+
readonly Construction: "CONSTR";
|
|
4
|
+
readonly Software: "SOFTWARE";
|
|
5
|
+
};
|
|
6
|
+
export type AXMIndustryPackCode = (typeof AXM_INDUSTRY_PACK_CODES)[keyof typeof AXM_INDUSTRY_PACK_CODES];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ----- Industry pack codes -----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AXM_INDUSTRY_PACK_CODES = void 0;
|
|
5
|
+
/** Coarse industry codes used by starter packs (`BusinessCore.Industry.code`). */
|
|
6
|
+
exports.AXM_INDUSTRY_PACK_CODES = {
|
|
7
|
+
Construction: 'CONSTR',
|
|
8
|
+
Software: 'SOFTWARE',
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
//# sourceMappingURL=industry-pack.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"industry-pack.constants.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/industry-pack.constants.ts"],"names":[],"mappings":";AAAA,yCAAyC;;;AAEzC,kFAAkF;AACrE,QAAA,uBAAuB,GAAG;IACrC,YAAY,EAAE,QAAQ;IACtB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAKX,YAAY"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AXM_APPLICATION_CONTEXT_DEFINITIONS = void 0;
|
|
4
|
+
//#region ---- Application context definitions ----
|
|
5
|
+
exports.AXM_APPLICATION_CONTEXT_DEFINITIONS = [
|
|
6
|
+
{
|
|
7
|
+
name: 'applicationTitle',
|
|
8
|
+
title: 'Application title',
|
|
9
|
+
description: 'Display name of the active application from the session (title or name).',
|
|
10
|
+
order: 31,
|
|
11
|
+
capabilities: ['ai'],
|
|
12
|
+
},
|
|
13
|
+
];
|
|
14
|
+
//#endregion
|
|
15
|
+
//# sourceMappingURL=context.definitions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.definitions.js","sourceRoot":"","sources":["../../../../../../libs/modules/application-management/contracts/src/lib/context.definitions.ts"],"names":[],"mappings":";;;AAEA,mDAAmD;AAEtC,QAAA,mCAAmC,GAA2B;IACzE;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,0EAA0E;QACvF,KAAK,EAAE,EAAE;QACT,YAAY,EAAE,CAAC,IAAI,CAAC;KACrB;CACF,CAAC;AAEF,YAAY"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ---- Imports ----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ApplicationManagementManifest = void 0;
|
|
5
|
+
const root_config_1 = require("./root-config");
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ---- Manifest Definition ----
|
|
8
|
+
/**
|
|
9
|
+
* Application Management Module Manifest.
|
|
10
|
+
* Defines module metadata, features, and provider references.
|
|
11
|
+
*/
|
|
12
|
+
exports.ApplicationManagementManifest = {
|
|
13
|
+
name: root_config_1.RootConfig.module.name,
|
|
14
|
+
version: '1.0.0',
|
|
15
|
+
title: root_config_1.RootConfig.module.title,
|
|
16
|
+
icon: root_config_1.RootConfig.module.icon,
|
|
17
|
+
i18n: root_config_1.RootConfig.config.i18n,
|
|
18
|
+
type: 'platform',
|
|
19
|
+
domain: 'platform',
|
|
20
|
+
required: true,
|
|
21
|
+
// Module dependencies (optional)
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
//# sourceMappingURL=manifest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/manifest.ts"],"names":[],"mappings":";AAAA,+BAA+B;;;AAG/B,+CAA2C;AAE3C,YAAY;AAEZ,2CAA2C;AAE3C;;;GAGG;AACU,QAAA,6BAA6B,GAAsB;IAC9D,IAAI,EAAE,wBAAU,CAAC,MAAM,CAAC,IAAI;IAC5B,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,wBAAU,CAAC,MAAM,CAAC,KAAK;IAC9B,IAAI,EAAE,wBAAU,CAAC,MAAM,CAAC,IAAI;IAC5B,IAAI,EAAE,wBAAU,CAAC,MAAM,CAAC,IAAI;IAC5B,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE,UAAU;IAClB,QAAQ,EAAE,IAAI;IAEd,iCAAiC;CAClC,CAAC;AAEF,YAAY"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.keys.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/
|
|
1
|
+
{"version":3,"file":"menu.keys.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/menu.keys.ts"],"names":[],"mappings":";;;AAAa,QAAA,gCAAgC,GAAG;IAC5C,IAAI,EAAE,4BAA4B;IAClC,YAAY,EAAE,yCAAyC;IACvD,QAAQ,EAAE,qCAAqC;IAC/C,YAAY,EAAE,yCAAyC;IACvD,QAAQ,EAAE,iCAAiC;IAC3C,gBAAgB,EAAE,8CAA8C;IAChE,SAAS,EAAE,uCAAuC;CAC5C,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Context passed to every module setup / industry pack contribution.
|
|
3
|
+
* Handlers must be idempotent (create-if-missing / upsert by stable keys).
|
|
4
|
+
*/
|
|
5
|
+
export interface TenantModuleSetupContext {
|
|
6
|
+
tenantId: string;
|
|
7
|
+
/** Tenant `industryId` when set. */
|
|
8
|
+
industryId?: string;
|
|
9
|
+
/** Resolved `BusinessCore.Industry.code` when available (e.g. `CONSTR`). */
|
|
10
|
+
industryCode?: string;
|
|
11
|
+
/** Modules enabled for this tenant via active subscription → edition. */
|
|
12
|
+
enabledModules: readonly string[];
|
|
13
|
+
/** When true, industry pack contributions may run after module setup. */
|
|
14
|
+
applyStarterPack: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface ModuleSetupProvider {
|
|
17
|
+
/** Module name matching edition `modulesAndFeatures.modules` (e.g. `ProjectManagement`). */
|
|
18
|
+
moduleName: string;
|
|
19
|
+
/** Other module names that must complete setup first. */
|
|
20
|
+
dependsOn?: readonly string[];
|
|
21
|
+
/**
|
|
22
|
+
* When true, run even if the module is not listed on the tenant's edition
|
|
23
|
+
* (platform core: settings, tenant org defaults, etc.).
|
|
24
|
+
*/
|
|
25
|
+
always?: boolean;
|
|
26
|
+
/** Bump when master data shape changes so callers can force re-apply. */
|
|
27
|
+
version?: string;
|
|
28
|
+
/** Source label for diagnostics. */
|
|
29
|
+
layer?: string;
|
|
30
|
+
run(context: TenantModuleSetupContext): Promise<void>;
|
|
31
|
+
}
|
|
32
|
+
export interface IndustryPackContributionProvider {
|
|
33
|
+
/** Industry code from `BusinessCore.Industry.code` (e.g. `CONSTR`). */
|
|
34
|
+
industryCode: string;
|
|
35
|
+
/** Module that owns this contribution; skipped if module is not enabled. */
|
|
36
|
+
moduleName: string;
|
|
37
|
+
dependsOn?: readonly string[];
|
|
38
|
+
version?: string;
|
|
39
|
+
layer?: string;
|
|
40
|
+
run(context: TenantModuleSetupContext): Promise<void>;
|
|
41
|
+
}
|
|
42
|
+
export declare const MODULE_SETUP_PROVIDER: unique symbol;
|
|
43
|
+
export declare const INDUSTRY_PACK_PROVIDER: unique symbol;
|
|
44
|
+
/** Nest `multi: true` registration for a module's tenant setup handler. */
|
|
45
|
+
export declare function provideModuleSetup(provider: ModuleSetupProvider): {
|
|
46
|
+
readonly provide: typeof MODULE_SETUP_PROVIDER;
|
|
47
|
+
readonly useValue: ModuleSetupProvider;
|
|
48
|
+
readonly multi: true;
|
|
49
|
+
};
|
|
50
|
+
/** Nest `multi: true` registration for an industry starter-pack contribution. */
|
|
51
|
+
export declare function provideIndustryPackContribution(provider: IndustryPackContributionProvider): {
|
|
52
|
+
readonly provide: typeof INDUSTRY_PACK_PROVIDER;
|
|
53
|
+
readonly useValue: IndustryPackContributionProvider;
|
|
54
|
+
readonly multi: true;
|
|
55
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ----- Module setup & industry pack providers -----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.INDUSTRY_PACK_PROVIDER = exports.MODULE_SETUP_PROVIDER = void 0;
|
|
5
|
+
exports.provideModuleSetup = provideModuleSetup;
|
|
6
|
+
exports.provideIndustryPackContribution = provideIndustryPackContribution;
|
|
7
|
+
exports.MODULE_SETUP_PROVIDER = Symbol('MODULE_SETUP_PROVIDER');
|
|
8
|
+
exports.INDUSTRY_PACK_PROVIDER = Symbol('INDUSTRY_PACK_PROVIDER');
|
|
9
|
+
/** Nest `multi: true` registration for a module's tenant setup handler. */
|
|
10
|
+
function provideModuleSetup(provider) {
|
|
11
|
+
return {
|
|
12
|
+
provide: exports.MODULE_SETUP_PROVIDER,
|
|
13
|
+
useValue: provider,
|
|
14
|
+
multi: true,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/** Nest `multi: true` registration for an industry starter-pack contribution. */
|
|
18
|
+
function provideIndustryPackContribution(provider) {
|
|
19
|
+
return {
|
|
20
|
+
provide: exports.INDUSTRY_PACK_PROVIDER,
|
|
21
|
+
useValue: provider,
|
|
22
|
+
multi: true,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//# sourceMappingURL=module-setup.provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-setup.provider.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/module-setup.provider.ts"],"names":[],"mappings":";AAAA,4DAA4D;;;AAkD5D,gDAMC;AAGD,0EAMC;AAnBY,QAAA,qBAAqB,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC;AACxD,QAAA,sBAAsB,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAEvE,2EAA2E;AAC3E,SAAgB,kBAAkB,CAAC,QAA6B;IAC9D,OAAO;QACL,OAAO,EAAE,6BAAqB;QAC9B,QAAQ,EAAE,QAAQ;QAClB,KAAK,EAAE,IAAI;KACH,CAAC;AACb,CAAC;AAED,iFAAiF;AACjF,SAAgB,+BAA+B,CAAC,QAA0C;IACxF,OAAO;QACL,OAAO,EAAE,8BAAsB;QAC/B,QAAQ,EAAE,QAAQ;QAClB,KAAK,EAAE,IAAI;KACH,CAAC;AACb,CAAC;AAED,YAAY"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.APPLICATION_OFFLINE_READ_ENTITIES = void 0;
|
|
4
|
+
const entity_1 = require("@acorex-platform/framework-shared/entity");
|
|
5
|
+
/** Previously downloaded terms remain scoped to the user's leased authorization. */
|
|
6
|
+
exports.APPLICATION_OFFLINE_READ_ENTITIES = ['ApplicationManagement.AppTerm'];
|
|
7
|
+
(0, entity_1.axpRegisterOfflineReadEntities)(...exports.APPLICATION_OFFLINE_READ_ENTITIES);
|
|
8
|
+
//# sourceMappingURL=offline-read.capabilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offline-read.capabilities.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/offline-read.capabilities.ts"],"names":[],"mappings":";;;AAAA,qEAA0F;AAE1F,oFAAoF;AACvE,QAAA,iCAAiC,GAAG,CAAC,+BAA+B,CAAU,CAAC;AAC5F,IAAA,uCAA8B,EAAC,GAAG,yCAAiC,CAAC,CAAC"}
|
|
@@ -1,8 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Applications & Platform capabilities used by this module.
|
|
3
|
+
* Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
|
|
4
|
+
*/
|
|
5
|
+
export declare const AXPApplicationsPlatformPermissionKeys: {
|
|
6
|
+
readonly Access: "ApplicationsPlatform:Permission:Access";
|
|
7
|
+
readonly MaintainApplications: "ApplicationsPlatform:Permission:MaintainApplications";
|
|
8
|
+
readonly MaintainTenants: "ApplicationsPlatform:Permission:MaintainTenants";
|
|
9
|
+
readonly MaintainPlatformShell: "ApplicationsPlatform:Permission:MaintainPlatformShell";
|
|
10
|
+
readonly MaintainLandingPages: "ApplicationsPlatform:Permission:MaintainLandingPages";
|
|
11
|
+
readonly MaintainIdentifiers: "ApplicationsPlatform:Permission:MaintainIdentifiers";
|
|
12
|
+
readonly MaintainTenantSettings: "ApplicationsPlatform:Permission:MaintainTenantSettings";
|
|
13
|
+
readonly MaintainPlatformSettings: "ApplicationsPlatform:Permission:MaintainPlatformSettings";
|
|
14
|
+
readonly MaintainLocales: "ApplicationsPlatform:Permission:MaintainLocales";
|
|
15
|
+
readonly UseDevTools: "ApplicationsPlatform:Permission:UseDevTools";
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Prefer {@link AXPApplicationsPlatformPermissionKeys}.
|
|
19
|
+
* Legacy nested shape kept so existing imports compile during migration.
|
|
20
|
+
*/
|
|
1
21
|
export declare const AXMPermissionsKeys: {
|
|
2
|
-
ApplicationManagement: {
|
|
3
|
-
Root:
|
|
4
|
-
Applications:
|
|
5
|
-
ReleaseNotes:
|
|
6
|
-
AppTerms:
|
|
22
|
+
readonly ApplicationManagement: {
|
|
23
|
+
readonly Root: "ApplicationsPlatform:Permission:MaintainApplications";
|
|
24
|
+
readonly Applications: "ApplicationsPlatform:Permission:MaintainApplications";
|
|
25
|
+
readonly ReleaseNotes: "ApplicationsPlatform:Permission:MaintainApplications";
|
|
26
|
+
readonly AppTerms: "ApplicationsPlatform:Permission:MaintainApplications";
|
|
7
27
|
};
|
|
8
28
|
};
|
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AXMPermissionsKeys = void 0;
|
|
3
|
+
exports.AXMPermissionsKeys = exports.AXPApplicationsPlatformPermissionKeys = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Applications & Platform capabilities used by this module.
|
|
6
|
+
* Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
|
|
7
|
+
*/
|
|
8
|
+
exports.AXPApplicationsPlatformPermissionKeys = {
|
|
9
|
+
Access: 'ApplicationsPlatform:Permission:Access',
|
|
10
|
+
MaintainApplications: 'ApplicationsPlatform:Permission:MaintainApplications',
|
|
11
|
+
MaintainTenants: 'ApplicationsPlatform:Permission:MaintainTenants',
|
|
12
|
+
MaintainPlatformShell: 'ApplicationsPlatform:Permission:MaintainPlatformShell',
|
|
13
|
+
MaintainLandingPages: 'ApplicationsPlatform:Permission:MaintainLandingPages',
|
|
14
|
+
MaintainIdentifiers: 'ApplicationsPlatform:Permission:MaintainIdentifiers',
|
|
15
|
+
MaintainTenantSettings: 'ApplicationsPlatform:Permission:MaintainTenantSettings',
|
|
16
|
+
MaintainPlatformSettings: 'ApplicationsPlatform:Permission:MaintainPlatformSettings',
|
|
17
|
+
MaintainLocales: 'ApplicationsPlatform:Permission:MaintainLocales',
|
|
18
|
+
UseDevTools: 'ApplicationsPlatform:Permission:UseDevTools',
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Prefer {@link AXPApplicationsPlatformPermissionKeys}.
|
|
22
|
+
* Legacy nested shape kept so existing imports compile during migration.
|
|
23
|
+
*/
|
|
4
24
|
exports.AXMPermissionsKeys = {
|
|
5
25
|
ApplicationManagement: {
|
|
6
|
-
Root:
|
|
7
|
-
Applications:
|
|
8
|
-
ReleaseNotes:
|
|
9
|
-
AppTerms:
|
|
26
|
+
Root: exports.AXPApplicationsPlatformPermissionKeys.MaintainApplications,
|
|
27
|
+
Applications: exports.AXPApplicationsPlatformPermissionKeys.MaintainApplications,
|
|
28
|
+
ReleaseNotes: exports.AXPApplicationsPlatformPermissionKeys.MaintainApplications,
|
|
29
|
+
AppTerms: exports.AXPApplicationsPlatformPermissionKeys.MaintainApplications,
|
|
10
30
|
},
|
|
11
31
|
};
|
|
12
32
|
//# sourceMappingURL=permission.keys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.keys.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/
|
|
1
|
+
{"version":3,"file":"permission.keys.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/permission.keys.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,qCAAqC,GAAG;IACnD,MAAM,EAAE,wCAAwC;IAChD,oBAAoB,EAAE,sDAAsD;IAC5E,eAAe,EAAE,iDAAiD;IAClE,qBAAqB,EAAE,uDAAuD;IAC9E,oBAAoB,EAAE,sDAAsD;IAC5E,mBAAmB,EAAE,qDAAqD;IAC1E,sBAAsB,EAAE,wDAAwD;IAChF,wBAAwB,EAAE,0DAA0D;IACpF,eAAe,EAAE,iDAAiD;IAClE,WAAW,EAAE,6CAA6C;CAClD,CAAC;AAEX;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAChC,qBAAqB,EAAE;QACrB,IAAI,EAAE,6CAAqC,CAAC,oBAAoB;QAChE,YAAY,EAAE,6CAAqC,CAAC,oBAAoB;QACxE,YAAY,EAAE,6CAAqC,CAAC,oBAAoB;QACxE,QAAQ,EAAE,6CAAqC,CAAC,oBAAoB;KACrE;CACO,CAAC"}
|
|
@@ -1,40 +1,46 @@
|
|
|
1
1
|
export declare const RootConfig: {
|
|
2
|
-
config: {
|
|
2
|
+
readonly config: {
|
|
3
3
|
i18n: string;
|
|
4
4
|
module: string;
|
|
5
5
|
};
|
|
6
|
-
module: {
|
|
7
|
-
route:
|
|
8
|
-
name: string;
|
|
9
|
-
title: string
|
|
10
|
-
icon:
|
|
6
|
+
readonly module: {
|
|
7
|
+
readonly route: "application-management";
|
|
8
|
+
readonly name: string;
|
|
9
|
+
readonly title: `@${string}:module.title`;
|
|
10
|
+
readonly icon: "fa-light fa-cogs";
|
|
11
11
|
};
|
|
12
|
-
entities: {
|
|
13
|
-
application: {
|
|
14
|
-
name:
|
|
15
|
-
title: string
|
|
16
|
-
titlePlural: string
|
|
17
|
-
icon:
|
|
12
|
+
readonly entities: {
|
|
13
|
+
readonly application: {
|
|
14
|
+
readonly name: "Application";
|
|
15
|
+
readonly title: `@${string}:applications.entities.application.title`;
|
|
16
|
+
readonly titlePlural: `@${string}:applications.entities.application.plural`;
|
|
17
|
+
readonly icon: "fa-light fa-cube";
|
|
18
18
|
};
|
|
19
|
-
edition: {
|
|
20
|
-
name:
|
|
21
|
-
title: string
|
|
22
|
-
titlePlural: string
|
|
23
|
-
icon:
|
|
19
|
+
readonly edition: {
|
|
20
|
+
readonly name: "Edition";
|
|
21
|
+
readonly title: `@${string}:editions.entities.edition.title`;
|
|
22
|
+
readonly titlePlural: `@${string}:editions.entities.edition.plural`;
|
|
23
|
+
readonly icon: "fa-light fa-layer-group";
|
|
24
24
|
};
|
|
25
|
-
appVersion: {
|
|
26
|
-
name:
|
|
27
|
-
title: string
|
|
28
|
-
titlePlural: string
|
|
29
|
-
icon:
|
|
25
|
+
readonly appVersion: {
|
|
26
|
+
readonly name: "AppVersion";
|
|
27
|
+
readonly title: `@${string}:app-versions.entities.app-version.title`;
|
|
28
|
+
readonly titlePlural: `@${string}:app-versions.entities.app-version.plural`;
|
|
29
|
+
readonly icon: "fa-light fa-code-branch";
|
|
30
30
|
};
|
|
31
|
-
appTerm: {
|
|
32
|
-
name:
|
|
33
|
-
title: string
|
|
34
|
-
titlePlural: string
|
|
35
|
-
pageTitle: string
|
|
36
|
-
pageDescription: string
|
|
37
|
-
icon:
|
|
31
|
+
readonly appTerm: {
|
|
32
|
+
readonly name: "AppTerm";
|
|
33
|
+
readonly title: `@${string}:app-terms.entities.app-term.title`;
|
|
34
|
+
readonly titlePlural: `@${string}:app-terms.entities.app-term.plural`;
|
|
35
|
+
readonly pageTitle: `@${string}:app-terms.pages.terms-page.title`;
|
|
36
|
+
readonly pageDescription: `@${string}:app-terms.pages.terms-page.description`;
|
|
37
|
+
readonly icon: "fa-light fa-scale-balanced";
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
readonly queries: {
|
|
41
|
+
readonly reports: {
|
|
42
|
+
readonly getApplicationVersionsTimeline: `${string}:Reports:GetApplicationVersionsTimeline`;
|
|
43
|
+
readonly getApplicationVersionsChartData: `${string}:Reports:GetApplicationVersionsChartData`;
|
|
38
44
|
};
|
|
39
45
|
};
|
|
40
46
|
};
|
|
@@ -41,6 +41,12 @@ exports.RootConfig = {
|
|
|
41
41
|
icon: 'fa-light fa-scale-balanced',
|
|
42
42
|
},
|
|
43
43
|
},
|
|
44
|
+
queries: {
|
|
45
|
+
reports: {
|
|
46
|
+
getApplicationVersionsTimeline: `${config.module}:Reports:GetApplicationVersionsTimeline`,
|
|
47
|
+
getApplicationVersionsChartData: `${config.module}:Reports:GetApplicationVersionsChartData`,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
44
50
|
};
|
|
45
51
|
// Keep the old export for backward compatibility
|
|
46
52
|
exports.AXMApplicationManagementModuleConst = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-config.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/
|
|
1
|
+
{"version":3,"file":"root-config.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/root-config.ts"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;IACb,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAEW,QAAA,UAAU,GAAG;IACxB,MAAM;IACN,MAAM,EAAE;QACN,KAAK,EAAE,wBAAwB;QAC/B,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,KAAK,EAAE,IAAI,MAAM,CAAC,IAAI,eAAe;QACrC,IAAI,EAAE,kBAAkB;KACzB;IACD,QAAQ,EAAE;QACR,WAAW,EAAE;YACX,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,IAAI,MAAM,CAAC,IAAI,0CAA0C;YAChE,WAAW,EAAE,IAAI,MAAM,CAAC,IAAI,2CAA2C;YACvE,IAAI,EAAE,kBAAkB;SACzB;QACD,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,IAAI,MAAM,CAAC,IAAI,kCAAkC;YACxD,WAAW,EAAE,IAAI,MAAM,CAAC,IAAI,mCAAmC;YAC/D,IAAI,EAAE,yBAAyB;SAChC;QACD,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,IAAI,MAAM,CAAC,IAAI,0CAA0C;YAChE,WAAW,EAAE,IAAI,MAAM,CAAC,IAAI,2CAA2C;YACvE,IAAI,EAAE,yBAAyB;SAChC;QACD,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,IAAI,MAAM,CAAC,IAAI,oCAAoC;YAC1D,WAAW,EAAE,IAAI,MAAM,CAAC,IAAI,qCAAqC;YACjE,SAAS,EAAE,IAAI,MAAM,CAAC,IAAI,mCAAmC;YAC7D,eAAe,EAAE,IAAI,MAAM,CAAC,IAAI,yCAAyC;YACzE,IAAI,EAAE,4BAA4B;SACnC;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,8BAA8B,EAAE,GAAG,MAAM,CAAC,MAAM,yCAAyC;YACzF,+BAA+B,EAAE,GAAG,MAAM,CAAC,MAAM,0CAA0C;SAC5F;KACF;CACO,CAAC;AAEX,iDAAiD;AACpC,QAAA,mCAAmC,GAAG;IACjD,UAAU,EAAE,uBAAuB;IACnC,WAAW,EAAE,wBAAwB;IACrC,IAAI,EAAE,qBAAqB;CACnB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const AXMApplicationManagementServerCommands: {
|
|
2
|
+
readonly SetupTenant: "ApplicationManagement:Server:SetupTenant";
|
|
3
|
+
};
|
|
4
|
+
export interface AXMSetupTenantInput {
|
|
5
|
+
/** Target tenant id. Required unless `allTenants` is true. */
|
|
6
|
+
tenantId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* When true, run setup for every tenant row (demo seed / ops).
|
|
9
|
+
* Ignores `tenantId`.
|
|
10
|
+
*/
|
|
11
|
+
allTenants?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* When set, only these modules run (must still be subscribed).
|
|
14
|
+
* When omitted, all subscribed modules with registered setup handlers run.
|
|
15
|
+
*/
|
|
16
|
+
moduleNames?: string[];
|
|
17
|
+
/**
|
|
18
|
+
* Apply industry starter-pack contributions after module setup.
|
|
19
|
+
* Default true when tenant has `industryId` and matching contributions exist.
|
|
20
|
+
*/
|
|
21
|
+
applyStarterPack?: boolean;
|
|
22
|
+
/** Force re-run even when ledger version matches (future use). */
|
|
23
|
+
force?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface AXMSetupTenantResult {
|
|
26
|
+
tenantIds: string[];
|
|
27
|
+
modulesRun: string[];
|
|
28
|
+
industryPacksRun: string[];
|
|
29
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ----- Application management server commands -----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AXMApplicationManagementServerCommands = void 0;
|
|
5
|
+
exports.AXMApplicationManagementServerCommands = {
|
|
6
|
+
SetupTenant: 'ApplicationManagement:Server:SetupTenant',
|
|
7
|
+
};
|
|
8
|
+
//#endregion
|
|
9
|
+
//# sourceMappingURL=server-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server-commands.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/server-commands.ts"],"names":[],"mappings":";AAAA,4DAA4D;;;AAE/C,QAAA,sCAAsC,GAAG;IACpD,WAAW,EAAE,0CAA0C;CAC/C,CAAC;AA8BX,YAAY"}
|
|
@@ -2,7 +2,9 @@ export declare enum AXPApplicationInfoSettings {
|
|
|
2
2
|
DisplayPattern = "ApplicationManagement:Setting:ApplicationInfo.DisplayPattern",
|
|
3
3
|
ApplicationTerms = "ApplicationManagement:Setting:Startup.ApplicationTerms",
|
|
4
4
|
InitVersion = "ApplicationManagement:Setting:AppVersion.InitVersion",
|
|
5
|
-
ReleaseNotes = "ApplicationManagement:Setting:Startup.ReleaseNotes"
|
|
5
|
+
ReleaseNotes = "ApplicationManagement:Setting:Startup.ReleaseNotes",
|
|
6
|
+
/** Last selected edition modules checklist view mode (`type` | `domain`). */
|
|
7
|
+
EditionModulesViewMode = "ApplicationManagement:Setting:EditionModules.ViewMode"
|
|
6
8
|
}
|
|
7
9
|
/**
|
|
8
10
|
* Get the setting key for tracking if a specific version has been seen
|
|
@@ -13,6 +13,8 @@ var AXPApplicationInfoSettings;
|
|
|
13
13
|
AXPApplicationInfoSettings["InitVersion"] = "ApplicationManagement:Setting:AppVersion.InitVersion";
|
|
14
14
|
// Release Notes
|
|
15
15
|
AXPApplicationInfoSettings["ReleaseNotes"] = "ApplicationManagement:Setting:Startup.ReleaseNotes";
|
|
16
|
+
/** Last selected edition modules checklist view mode (`type` | `domain`). */
|
|
17
|
+
AXPApplicationInfoSettings["EditionModulesViewMode"] = "ApplicationManagement:Setting:EditionModules.ViewMode";
|
|
16
18
|
})(AXPApplicationInfoSettings || (exports.AXPApplicationInfoSettings = AXPApplicationInfoSettings = {}));
|
|
17
19
|
/**
|
|
18
20
|
* Get the setting key for tracking if a specific version has been seen
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.keys.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/
|
|
1
|
+
{"version":3,"file":"settings.keys.js","sourceRoot":"","sources":["../../../../../libs/modules/application-management/contracts/src/settings.keys.ts"],"names":[],"mappings":";AAAA,iDAAiD;;;AAwBjD,oDAEC;AAxBD,IAAY,0BAeX;AAfD,WAAY,0BAA0B;IACpC,mBAAmB;IACnB,6GAA+E,CAAA;IAE/E,oBAAoB;IACpB,yGAA2E,CAAA;IAE3E,cAAc;IACd,kGAAoE,CAAA;IAEpE,gBAAgB;IAChB,iGAAmE,CAAA;IAEnE,6EAA6E;IAC7E,8GAAgF,CAAA;AAClF,CAAC,EAfW,0BAA0B,0CAA1B,0BAA0B,QAerC;AAED;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,aAAqB;IACxD,OAAO,mDAAmD,aAAa,EAAE,CAAC;AAC5E,CAAC;AAED,YAAY"}
|