@acorex-platform/framework-shared 0.0.1 → 0.0.9
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/core/src/lib/core/shims.types.d.ts +7 -1
- package/core/src/lib/core/shims.types.d.ts.map +1 -1
- package/core/src/lib/core/shims.types.js.map +1 -1
- package/core/src/lib/data/data.types.d.ts +3 -1
- package/core/src/lib/data/data.types.d.ts.map +1 -1
- package/core/src/lib/data/data.types.js.map +1 -1
- package/core/src/lib/domain/address.types.d.ts +5 -8
- package/core/src/lib/domain/address.types.d.ts.map +1 -1
- package/core/src/lib/domain/address.types.js.map +1 -1
- package/core/src/lib/domain/file-storage.types.d.ts +12 -0
- package/core/src/lib/domain/file-storage.types.d.ts.map +1 -1
- package/core/src/lib/domain/format-address.util.d.ts +7 -0
- package/core/src/lib/domain/format-address.util.d.ts.map +1 -0
- package/core/src/lib/domain/format-address.util.js +44 -0
- package/core/src/lib/domain/format-address.util.js.map +1 -0
- package/core/src/lib/domain/index.d.ts +1 -0
- package/core/src/lib/domain/index.d.ts.map +1 -1
- package/core/src/lib/domain/index.js +1 -0
- package/core/src/lib/domain/index.js.map +1 -1
- package/core/src/lib/integration/integration-connection.safe-types.d.ts +1 -0
- package/core/src/lib/integration/integration-connection.safe-types.d.ts.map +1 -1
- package/core/src/lib/integration/integration-connection.safe-types.js.map +1 -1
- package/core/src/lib/integration/integration.types.d.ts +10 -0
- package/core/src/lib/integration/integration.types.d.ts.map +1 -1
- package/core/src/lib/integration/integration.types.js.map +1 -1
- package/core/src/lib/interaction/index.d.ts +1 -0
- package/core/src/lib/interaction/index.d.ts.map +1 -1
- package/core/src/lib/interaction/index.js +1 -0
- package/core/src/lib/interaction/index.js.map +1 -1
- package/core/src/lib/interaction/interactive.types.d.ts +5 -1
- package/core/src/lib/interaction/interactive.types.d.ts.map +1 -1
- package/core/src/lib/interaction/interactive.types.js.map +1 -1
- package/core/src/lib/interaction/keyboard-shortcut.types.d.ts +81 -0
- package/core/src/lib/interaction/keyboard-shortcut.types.d.ts.map +1 -0
- package/core/src/lib/interaction/keyboard-shortcut.types.js +14 -0
- package/core/src/lib/interaction/keyboard-shortcut.types.js.map +1 -0
- package/core/src/lib/mock/mock-data.shims.js +2 -2
- package/core/src/lib/utils/index.d.ts +1 -0
- package/core/src/lib/utils/index.d.ts.map +1 -1
- package/core/src/lib/utils/index.js +1 -0
- package/core/src/lib/utils/index.js.map +1 -1
- package/core/src/lib/utils/password.util.d.ts +11 -0
- package/core/src/lib/utils/password.util.d.ts.map +1 -0
- package/core/src/lib/utils/password.util.js +103 -0
- package/core/src/lib/utils/password.util.js.map +1 -0
- package/core/src/lib/widgets/widgets-catalog.d.ts +1 -0
- package/core/src/lib/widgets/widgets-catalog.d.ts.map +1 -1
- package/core/src/lib/widgets/widgets-catalog.js +1 -0
- package/core/src/lib/widgets/widgets-catalog.js.map +1 -1
- package/core/src/lib/widgets/widgets-list.d.ts +1 -0
- package/core/src/lib/widgets/widgets-list.d.ts.map +1 -1
- package/core/src/lib/widgets/widgets-list.js +1 -0
- package/core/src/lib/widgets/widgets-list.js.map +1 -1
- package/domain/src/lib/definitions/command-registry.types.d.ts.map +1 -1
- package/domain/src/lib/definitions/command-registry.types.js.map +1 -1
- package/domain/src/lib/definitions/query-registry.types.d.ts.map +1 -1
- package/domain/src/lib/definitions/query-registry.types.js.map +1 -1
- package/domain/src/lib/definitions/relation-on-delete.util.d.ts +25 -0
- package/domain/src/lib/definitions/relation-on-delete.util.d.ts.map +1 -0
- package/domain/src/lib/definitions/relation-on-delete.util.js +49 -0
- package/domain/src/lib/definitions/relation-on-delete.util.js.map +1 -0
- package/domain/src/lib/definitions/widget-catalog.types.d.ts.map +1 -1
- package/domain/src/lib/definitions/widget-catalog.types.js +0 -1
- package/domain/src/lib/definitions/widget-catalog.types.js.map +1 -1
- package/domain/src/lib/index.d.ts +1 -0
- package/domain/src/lib/index.d.ts.map +1 -1
- package/domain/src/lib/index.js +1 -0
- package/domain/src/lib/index.js.map +1 -1
- package/entity/src/lib/types/entity-action.types.d.ts +1 -2
- package/entity/src/lib/types/entity-action.types.d.ts.map +1 -1
- package/entity/src/lib/types/entity-action.types.js +1 -1
- package/entity/src/lib/types/entity-action.types.js.map +1 -1
- package/entity/src/lib/types/entity-card-field.types.d.ts +1 -2
- package/entity/src/lib/types/entity-card-field.types.d.ts.map +1 -1
- package/entity/src/lib/types/entity-card-field.types.js.map +1 -1
- package/entity/src/lib/types/entity-definition.types.d.ts +1 -1
- package/entity/src/lib/types/entity-definition.types.d.ts.map +1 -1
- package/entity/src/lib/types/entity-definition.types.js.map +1 -1
- package/entity/src/lib/types/entity-property.types.d.ts.map +1 -1
- package/entity/src/lib/types/entity-property.types.js.map +1 -1
- package/entity/src/lib/types/entity-related-layout.types.d.ts +5 -0
- package/entity/src/lib/types/entity-related-layout.types.d.ts.map +1 -1
- package/entity/src/lib/types/entity-related-layout.types.js.map +1 -1
- package/entity/src/lib/utils/entity-list-filter-definitions.util.d.ts +1 -2
- package/entity/src/lib/utils/entity-list-filter-definitions.util.d.ts.map +1 -1
- package/entity/src/lib/utils/entity-list-filter-definitions.util.js.map +1 -1
- package/package.json +32 -21
- package/runtime/src/catalog-sidecars.d.ts +8 -0
- package/runtime/src/catalog-sidecars.d.ts.map +1 -0
- package/runtime/src/catalog-sidecars.js +13 -0
- package/runtime/src/catalog-sidecars.js.map +1 -0
- package/runtime/src/index.d.ts +2 -0
- package/runtime/src/index.d.ts.map +1 -0
- package/runtime/src/index.js +5 -0
- package/runtime/src/index.js.map +1 -0
- package/runtime/src/lib/commands/catalog-command-definition.d.ts +8 -0
- package/runtime/src/lib/commands/catalog-command-definition.d.ts.map +1 -0
- package/runtime/src/lib/commands/catalog-command-definition.js +13 -0
- package/runtime/src/lib/commands/catalog-command-definition.js.map +1 -0
- package/runtime/src/lib/commands/command-definition.categories.d.ts +2 -0
- package/runtime/src/lib/commands/command-definition.categories.d.ts.map +1 -0
- package/runtime/src/lib/commands/command-definition.categories.js +21 -0
- package/runtime/src/lib/commands/command-definition.categories.js.map +1 -0
- package/runtime/src/lib/commands/command-definition.types.d.ts +27 -0
- package/runtime/src/lib/commands/command-definition.types.d.ts.map +1 -0
- package/runtime/src/lib/commands/command-definition.types.js +15 -0
- package/runtime/src/lib/commands/command-definition.types.js.map +1 -0
- package/runtime/src/lib/commands/command.interface.d.ts +6 -0
- package/runtime/src/lib/commands/command.interface.d.ts.map +1 -0
- package/runtime/src/lib/commands/command.interface.js +3 -0
- package/runtime/src/lib/commands/command.interface.js.map +1 -0
- package/runtime/src/lib/commands/define-command.d.ts +6 -0
- package/runtime/src/lib/commands/define-command.d.ts.map +1 -0
- package/runtime/src/lib/commands/define-command.js +12 -0
- package/runtime/src/lib/commands/define-command.js.map +1 -0
- package/runtime/src/lib/index.d.ts +16 -0
- package/runtime/src/lib/index.d.ts.map +1 -0
- package/runtime/src/lib/index.js +21 -0
- package/runtime/src/lib/index.js.map +1 -0
- package/runtime/src/lib/queries/catalog-query-definition.d.ts +7 -0
- package/runtime/src/lib/queries/catalog-query-definition.d.ts.map +1 -0
- package/runtime/src/lib/queries/catalog-query-definition.js +12 -0
- package/runtime/src/lib/queries/catalog-query-definition.js.map +1 -0
- package/runtime/src/lib/queries/define-query.d.ts +6 -0
- package/runtime/src/lib/queries/define-query.d.ts.map +1 -0
- package/runtime/src/lib/queries/define-query.js +12 -0
- package/runtime/src/lib/queries/define-query.js.map +1 -0
- package/runtime/src/lib/queries/query-definition.categories.d.ts +2 -0
- package/runtime/src/lib/queries/query-definition.categories.d.ts.map +1 -0
- package/runtime/src/lib/queries/query-definition.categories.js +9 -0
- package/runtime/src/lib/queries/query-definition.categories.js.map +1 -0
- package/runtime/src/lib/queries/query-definition.types.d.ts +14 -0
- package/runtime/src/lib/queries/query-definition.types.d.ts.map +1 -0
- package/runtime/src/lib/queries/query-definition.types.js +9 -0
- package/runtime/src/lib/queries/query-definition.types.js.map +1 -0
- package/runtime/src/lib/queries/query.interface.d.ts +4 -0
- package/runtime/src/lib/queries/query.interface.d.ts.map +1 -0
- package/runtime/src/lib/queries/query.interface.js +3 -0
- package/runtime/src/lib/queries/query.interface.js.map +1 -0
- package/runtime/src/lib/shared/catalog-definition-base.types.d.ts +130 -0
- package/runtime/src/lib/shared/catalog-definition-base.types.d.ts.map +1 -0
- package/runtime/src/lib/shared/catalog-definition-base.types.js +9 -0
- package/runtime/src/lib/shared/catalog-definition-base.types.js.map +1 -0
- package/runtime/src/lib/shared/catalog-definition.categories.d.ts +19 -0
- package/runtime/src/lib/shared/catalog-definition.categories.d.ts.map +1 -0
- package/runtime/src/lib/shared/catalog-definition.categories.js +91 -0
- package/runtime/src/lib/shared/catalog-definition.categories.js.map +1 -0
- package/runtime/src/lib/views/view.interface.d.ts +5 -0
- package/runtime/src/lib/views/view.interface.d.ts.map +1 -0
- package/runtime/src/lib/views/view.interface.js +3 -0
- package/runtime/src/lib/views/view.interface.js.map +1 -0
- package/runtime/src/lib/widgets/define-widget.d.ts +6 -0
- package/runtime/src/lib/widgets/define-widget.d.ts.map +1 -0
- package/runtime/src/lib/widgets/define-widget.js +12 -0
- package/runtime/src/lib/widgets/define-widget.js.map +1 -0
- package/runtime/src/lib/widgets/widget-definition.types.d.ts +57 -0
- package/runtime/src/lib/widgets/widget-definition.types.d.ts.map +1 -0
- package/runtime/src/lib/widgets/widget-definition.types.js +9 -0
- package/runtime/src/lib/widgets/widget-definition.types.js.map +1 -0
- package/widget-core/src/index.d.ts +2 -0
- package/widget-core/src/index.d.ts.map +1 -0
- package/widget-core/src/index.js +5 -0
- package/widget-core/src/index.js.map +1 -0
- package/widget-core/src/lib/index.d.ts +2 -0
- package/widget-core/src/lib/index.d.ts.map +1 -0
- package/widget-core/src/lib/index.js +7 -0
- package/widget-core/src/lib/index.js.map +1 -0
- package/widget-core/src/lib/types/index.d.ts +5 -0
- package/widget-core/src/lib/types/index.d.ts.map +1 -0
- package/widget-core/src/lib/types/index.js +10 -0
- package/widget-core/src/lib/types/index.js.map +1 -0
- package/widget-core/src/lib/types/widget-group.types.d.ts +13 -0
- package/widget-core/src/lib/types/widget-group.types.d.ts.map +1 -0
- package/widget-core/src/lib/types/widget-group.types.js +16 -0
- package/widget-core/src/lib/types/widget-group.types.js.map +1 -0
- package/widget-core/src/lib/types/widget-status.types.d.ts +17 -0
- package/widget-core/src/lib/types/widget-status.types.d.ts.map +1 -0
- package/widget-core/src/lib/types/widget-status.types.js +30 -0
- package/widget-core/src/lib/types/widget-status.types.js.map +1 -0
- package/widget-core/src/lib/types/widget-types-map.types.d.ts +100 -0
- package/widget-core/src/lib/types/widget-types-map.types.d.ts.map +1 -0
- package/widget-core/src/lib/types/widget-types-map.types.js +3 -0
- package/widget-core/src/lib/types/widget-types-map.types.js.map +1 -0
- package/widget-core/src/lib/types/widget.types.d.ts +170 -0
- package/widget-core/src/lib/types/widget.types.d.ts.map +1 -0
- package/widget-core/src/lib/types/widget.types.js +100 -0
- package/widget-core/src/lib/types/widget.types.js.map +1 -0
- package/acorex-platform-framework-shared-0.0.1.tgz +0 -0
package/package.json
CHANGED
|
@@ -1,21 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@acorex-platform/framework-shared",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@acorex-platform/framework-shared",
|
|
3
|
+
"version": "0.0.9",
|
|
4
|
+
"type": "commonjs",
|
|
5
|
+
"sideEffects": false,
|
|
6
|
+
"exports": {
|
|
7
|
+
"./core": {
|
|
8
|
+
"types": "./core/src/index.d.ts",
|
|
9
|
+
"default": "./core/src/index.js"
|
|
10
|
+
},
|
|
11
|
+
"./domain": {
|
|
12
|
+
"types": "./domain/src/index.d.ts",
|
|
13
|
+
"default": "./domain/src/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./entity": {
|
|
16
|
+
"types": "./entity/src/index.d.ts",
|
|
17
|
+
"default": "./entity/src/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./runtime": {
|
|
20
|
+
"types": "./runtime/src/index.d.ts",
|
|
21
|
+
"default": "./runtime/src/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./widget-core": {
|
|
24
|
+
"types": "./widget-core/src/index.d.ts",
|
|
25
|
+
"default": "./widget-core/src/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./runtime/catalog-sidecars": {
|
|
28
|
+
"types": "./runtime/src/catalog-sidecars.d.ts",
|
|
29
|
+
"default": "./runtime/src/catalog-sidecars.js"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Node-safe entry for `*.definition.ts` sidecars (generate-runtime-catalog under ts-node).
|
|
3
|
+
* Re-exports build-time metadata only — do not add Angular modules or runtime services here.
|
|
4
|
+
*/
|
|
5
|
+
export * from './lib/commands/catalog-command-definition';
|
|
6
|
+
export * from './lib/queries/catalog-query-definition';
|
|
7
|
+
export { defineWidget } from './lib/widgets/define-widget';
|
|
8
|
+
//# sourceMappingURL=catalog-sidecars.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-sidecars.d.ts","sourceRoot":"","sources":["../../../../../../libs/framework/shared/runtime/src/catalog-sidecars.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Node-safe entry for `*.definition.ts` sidecars (generate-runtime-catalog under ts-node).
|
|
4
|
+
* Re-exports build-time metadata only — do not add Angular modules or runtime services here.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.defineWidget = void 0;
|
|
8
|
+
const tslib_1 = require("tslib");
|
|
9
|
+
tslib_1.__exportStar(require("./lib/commands/catalog-command-definition"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./lib/queries/catalog-query-definition"), exports);
|
|
11
|
+
var define_widget_1 = require("./lib/widgets/define-widget");
|
|
12
|
+
Object.defineProperty(exports, "defineWidget", { enumerable: true, get: function () { return define_widget_1.defineWidget; } });
|
|
13
|
+
//# sourceMappingURL=catalog-sidecars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-sidecars.js","sourceRoot":"","sources":["../../../../../../libs/framework/shared/runtime/src/catalog-sidecars.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;AAEH,oFAA0D;AAC1D,iFAAuD;AACvD,6DAA2D;AAAlD,6GAAA,YAAY,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/framework/shared/runtime/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/framework/shared/runtime/src/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build-time command metadata only. Safe under Node (e.g. generate-runtime-catalog) without loading the command executor stack.
|
|
3
|
+
* Sidecars should import `defineCommand` from `@acorex-platform/framework-shared/runtime`.
|
|
4
|
+
*/
|
|
5
|
+
export { defineCommand } from './define-command';
|
|
6
|
+
export * from './command-definition.categories';
|
|
7
|
+
export * from './command-definition.types';
|
|
8
|
+
//# sourceMappingURL=catalog-command-definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-command-definition.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/catalog-command-definition.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineCommand = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/**
|
|
6
|
+
* Build-time command metadata only. Safe under Node (e.g. generate-runtime-catalog) without loading the command executor stack.
|
|
7
|
+
* Sidecars should import `defineCommand` from `@acorex-platform/framework-shared/runtime`.
|
|
8
|
+
*/
|
|
9
|
+
var define_command_1 = require("./define-command");
|
|
10
|
+
Object.defineProperty(exports, "defineCommand", { enumerable: true, get: function () { return define_command_1.defineCommand; } });
|
|
11
|
+
tslib_1.__exportStar(require("./command-definition.categories"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./command-definition.types"), exports);
|
|
13
|
+
//# sourceMappingURL=catalog-command-definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-command-definition.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/catalog-command-definition.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,mDAAiD;AAAxC,+GAAA,aAAa,OAAA;AACtB,0EAAgD;AAChD,qEAA2C"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { AXP_CATALOG_DEFINITION_CATEGORY_AI_TOOLS as AXP_COMMAND_DEFINITION_CATEGORY_AI_TOOLS, AXP_CATALOG_DEFINITION_CATEGORY_ASSESSMENT as AXP_COMMAND_DEFINITION_CATEGORY_ASSESSMENT, AXP_CATALOG_DEFINITION_CATEGORY_DATA_MANAGEMENT as AXP_COMMAND_DEFINITION_CATEGORY_DATA_MANAGEMENT, AXP_CATALOG_DEFINITION_CATEGORY_ENTITY as AXP_COMMAND_DEFINITION_CATEGORY_ENTITY, AXP_CATALOG_DEFINITION_CATEGORY_FILE_WIDGET as AXP_COMMAND_DEFINITION_CATEGORY_FILE_WIDGET, AXP_CATALOG_DEFINITION_CATEGORY_HUMAN_CAPITAL as AXP_COMMAND_DEFINITION_CATEGORY_HUMAN_CAPITAL, AXP_CATALOG_DEFINITION_CATEGORY_ORGANIZATION as AXP_COMMAND_DEFINITION_CATEGORY_ORGANIZATION, AXP_CATALOG_DEFINITION_CATEGORY_PLATFORM as AXP_COMMAND_DEFINITION_CATEGORY_PLATFORM, AXP_CATALOG_DEFINITION_CATEGORY_PRODUCT as AXP_COMMAND_DEFINITION_CATEGORY_PRODUCT, AXP_CATALOG_DEFINITION_CATEGORY_REPORT as AXP_COMMAND_DEFINITION_CATEGORY_REPORT, AXP_CATALOG_DEFINITION_CATEGORY_SECURITY as AXP_COMMAND_DEFINITION_CATEGORY_SECURITY, AXP_CATALOG_DEFINITION_CATEGORY_SETTINGS as AXP_COMMAND_DEFINITION_CATEGORY_SETTINGS, AXP_CATALOG_DEFINITION_CATEGORY_STORAGE as AXP_COMMAND_DEFINITION_CATEGORY_STORAGE, AXP_CATALOG_DEFINITION_CATEGORY_TENANT as AXP_COMMAND_DEFINITION_CATEGORY_TENANT, AXP_CATALOG_DEFINITION_CATEGORY_UTILITY as AXP_COMMAND_DEFINITION_CATEGORY_UTILITY, AXP_CATALOG_DEFINITION_CATEGORY_WORKFLOW as AXP_COMMAND_DEFINITION_CATEGORY_WORKFLOW, } from '../shared/catalog-definition.categories';
|
|
2
|
+
//# sourceMappingURL=command-definition.categories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-definition.categories.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/command-definition.categories.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wCAAwC,IAAI,wCAAwC,EACpF,0CAA0C,IAAI,0CAA0C,EACxF,+CAA+C,IAAI,+CAA+C,EAClG,sCAAsC,IAAI,sCAAsC,EAChF,2CAA2C,IAAI,2CAA2C,EAC1F,6CAA6C,IAAI,6CAA6C,EAC9F,4CAA4C,IAAI,4CAA4C,EAC5F,wCAAwC,IAAI,wCAAwC,EACpF,uCAAuC,IAAI,uCAAuC,EAClF,sCAAsC,IAAI,sCAAsC,EAChF,wCAAwC,IAAI,wCAAwC,EACpF,wCAAwC,IAAI,wCAAwC,EACpF,uCAAuC,IAAI,uCAAuC,EAClF,sCAAsC,IAAI,sCAAsC,EAChF,uCAAuC,IAAI,uCAAuC,EAClF,wCAAwC,IAAI,wCAAwC,GACrF,MAAM,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AXP_COMMAND_DEFINITION_CATEGORY_WORKFLOW = exports.AXP_COMMAND_DEFINITION_CATEGORY_UTILITY = exports.AXP_COMMAND_DEFINITION_CATEGORY_TENANT = exports.AXP_COMMAND_DEFINITION_CATEGORY_STORAGE = exports.AXP_COMMAND_DEFINITION_CATEGORY_SETTINGS = exports.AXP_COMMAND_DEFINITION_CATEGORY_SECURITY = exports.AXP_COMMAND_DEFINITION_CATEGORY_REPORT = exports.AXP_COMMAND_DEFINITION_CATEGORY_PRODUCT = exports.AXP_COMMAND_DEFINITION_CATEGORY_PLATFORM = exports.AXP_COMMAND_DEFINITION_CATEGORY_ORGANIZATION = exports.AXP_COMMAND_DEFINITION_CATEGORY_HUMAN_CAPITAL = exports.AXP_COMMAND_DEFINITION_CATEGORY_FILE_WIDGET = exports.AXP_COMMAND_DEFINITION_CATEGORY_ENTITY = exports.AXP_COMMAND_DEFINITION_CATEGORY_DATA_MANAGEMENT = exports.AXP_COMMAND_DEFINITION_CATEGORY_ASSESSMENT = exports.AXP_COMMAND_DEFINITION_CATEGORY_AI_TOOLS = void 0;
|
|
4
|
+
var catalog_definition_categories_1 = require("../shared/catalog-definition.categories");
|
|
5
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_AI_TOOLS", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_AI_TOOLS; } });
|
|
6
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_ASSESSMENT", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_ASSESSMENT; } });
|
|
7
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_DATA_MANAGEMENT", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_DATA_MANAGEMENT; } });
|
|
8
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_ENTITY", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_ENTITY; } });
|
|
9
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_FILE_WIDGET", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_FILE_WIDGET; } });
|
|
10
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_HUMAN_CAPITAL", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_HUMAN_CAPITAL; } });
|
|
11
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_ORGANIZATION", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_ORGANIZATION; } });
|
|
12
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_PLATFORM", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_PLATFORM; } });
|
|
13
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_PRODUCT", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_PRODUCT; } });
|
|
14
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_REPORT", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_REPORT; } });
|
|
15
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_SECURITY", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_SECURITY; } });
|
|
16
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_SETTINGS", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_SETTINGS; } });
|
|
17
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_STORAGE", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_STORAGE; } });
|
|
18
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_TENANT", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_TENANT; } });
|
|
19
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_UTILITY", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_UTILITY; } });
|
|
20
|
+
Object.defineProperty(exports, "AXP_COMMAND_DEFINITION_CATEGORY_WORKFLOW", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_WORKFLOW; } });
|
|
21
|
+
//# sourceMappingURL=command-definition.categories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-definition.categories.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/command-definition.categories.ts"],"names":[],"mappings":";;;AAAA,yFAiBiD;AAhB/C,yJAAA,wCAAwC,OAA4C;AACpF,2JAAA,0CAA0C,OAA8C;AACxF,gKAAA,+CAA+C,OAAmD;AAClG,uJAAA,sCAAsC,OAA0C;AAChF,4JAAA,2CAA2C,OAA+C;AAC1F,8JAAA,6CAA6C,OAAiD;AAC9F,6JAAA,4CAA4C,OAAgD;AAC5F,yJAAA,wCAAwC,OAA4C;AACpF,wJAAA,uCAAuC,OAA2C;AAClF,uJAAA,sCAAsC,OAA0C;AAChF,yJAAA,wCAAwC,OAA4C;AACpF,yJAAA,wCAAwC,OAA4C;AACpF,wJAAA,uCAAuC,OAA2C;AAClF,uJAAA,sCAAsC,OAA0C;AAChF,wJAAA,uCAAuC,OAA2C;AAClF,yJAAA,wCAAwC,OAA4C"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build-time command metadata for AXPCommand implementations.
|
|
3
|
+
* `inputs` / `outputs` are schema rows (same family as entity optionDefinitions).
|
|
4
|
+
* Validation entries: only `rule` name and optional `options` (no title/message on rules).
|
|
5
|
+
* Do not import from Angular templates; sidecars may import `defineCommand` from `@acorex-platform/framework-shared/runtime`.
|
|
6
|
+
*
|
|
7
|
+
* Query metadata (fetch-only, no outcomes) is defined in `../queries/query-definition.types.ts` with `defineQuery`.
|
|
8
|
+
* Widget metadata sidecars use `../widgets/widget-definition.types.ts` with `defineWidget`.
|
|
9
|
+
*/
|
|
10
|
+
import type { AXPCatalogExecutionMode, AXPCatalogMetadataDefinitionBase } from '../shared/catalog-definition-base.types';
|
|
11
|
+
export * from '../shared/catalog-definition-base.types';
|
|
12
|
+
export type AXPCommandOutcomeDefinition = {
|
|
13
|
+
mode: 'static';
|
|
14
|
+
values: string[];
|
|
15
|
+
} | {
|
|
16
|
+
mode: 'dynamic';
|
|
17
|
+
summary: string;
|
|
18
|
+
derivesFrom: string;
|
|
19
|
+
examples?: string[];
|
|
20
|
+
};
|
|
21
|
+
export interface AXPCommandMetadataDefinition extends AXPCatalogMetadataDefinitionBase {
|
|
22
|
+
/** Runtime registration key (provideCommand / provideCommandSetups). */
|
|
23
|
+
key: string;
|
|
24
|
+
executionMode: AXPCatalogExecutionMode;
|
|
25
|
+
outcomes: AXPCommandOutcomeDefinition;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=command-definition.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-definition.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/command-definition.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EACV,uBAAuB,EACvB,gCAAgC,EACjC,MAAM,yCAAyC,CAAC;AAEjD,cAAc,yCAAyC,CAAC;AAIxD,MAAM,MAAM,2BAA2B,GACnC;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,GACD;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAMN,MAAM,WAAW,4BAA6B,SAAQ,gCAAgC;IACpF,wEAAwE;IACxE,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,uBAAuB,CAAC;IACvC,QAAQ,EAAE,2BAA2B,CAAC;CACvC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Build-time command metadata for AXPCommand implementations.
|
|
4
|
+
* `inputs` / `outputs` are schema rows (same family as entity optionDefinitions).
|
|
5
|
+
* Validation entries: only `rule` name and optional `options` (no title/message on rules).
|
|
6
|
+
* Do not import from Angular templates; sidecars may import `defineCommand` from `@acorex-platform/framework-shared/runtime`.
|
|
7
|
+
*
|
|
8
|
+
* Query metadata (fetch-only, no outcomes) is defined in `../queries/query-definition.types.ts` with `defineQuery`.
|
|
9
|
+
* Widget metadata sidecars use `../widgets/widget-definition.types.ts` with `defineWidget`.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const tslib_1 = require("tslib");
|
|
13
|
+
tslib_1.__exportStar(require("../shared/catalog-definition-base.types"), exports);
|
|
14
|
+
//#endregion
|
|
15
|
+
//# sourceMappingURL=command-definition.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-definition.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/command-definition.types.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAOH,kFAAwD;AA2BxD,YAAY"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPExecuteCommandResult } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
export type AXPExecuteCommandResultPromise<TResult = any> = Promise<AXPExecuteCommandResult<TResult>>;
|
|
3
|
+
export interface AXPCommand<TInput = any, TResult = any> {
|
|
4
|
+
execute(input: TInput): AXPExecuteCommandResultPromise<TResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=command.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/command.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,MAAM,MAAM,8BAA8B,CAAC,OAAO,GAAG,GAAG,IAAI,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,CAAC;AAEtG,MAAM,WAAW,UAAU,CAAC,MAAM,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG;IACrD,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,8BAA8B,CAAC,OAAO,CAAC,CAAC;CACjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.interface.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/command.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AXPCommandMetadataDefinition } from './command-definition.types';
|
|
2
|
+
/**
|
|
3
|
+
* Typed identity helper for command metadata sidecars.
|
|
4
|
+
*/
|
|
5
|
+
export declare function defineCommand<T extends AXPCommandMetadataDefinition>(definition: T): T;
|
|
6
|
+
//# sourceMappingURL=define-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-command.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/define-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAI/E;;GAEG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,4BAA4B,EAAE,UAAU,EAAE,CAAC,GAAG,CAAC,CAEtF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineCommand = defineCommand;
|
|
4
|
+
//#region ---- defineCommand ----
|
|
5
|
+
/**
|
|
6
|
+
* Typed identity helper for command metadata sidecars.
|
|
7
|
+
*/
|
|
8
|
+
function defineCommand(definition) {
|
|
9
|
+
return definition;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
//# sourceMappingURL=define-command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-command.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/define-command.ts"],"names":[],"mappings":";;AAOA,sCAEC;AAPD,iCAAiC;AAEjC;;GAEG;AACH,SAAgB,aAAa,CAAyC,UAAa;IACjF,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,YAAY"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './shared/catalog-definition-base.types';
|
|
2
|
+
export * from './shared/catalog-definition.categories';
|
|
3
|
+
export * from './commands/command.interface';
|
|
4
|
+
export * from './commands/command-definition.types';
|
|
5
|
+
export * from './commands/command-definition.categories';
|
|
6
|
+
export * from './commands/define-command';
|
|
7
|
+
export * from './commands/catalog-command-definition';
|
|
8
|
+
export * from './queries/query.interface';
|
|
9
|
+
export * from './queries/query-definition.types';
|
|
10
|
+
export * from './queries/query-definition.categories';
|
|
11
|
+
export * from './queries/define-query';
|
|
12
|
+
export * from './queries/catalog-query-definition';
|
|
13
|
+
export * from './views/view.interface';
|
|
14
|
+
export * from './widgets/widget-definition.types';
|
|
15
|
+
export * from './widgets/define-widget';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../libs/framework/shared/runtime/src/lib/index.ts"],"names":[],"mappings":"AAEA,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AAEtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AAEnD,cAAc,wBAAwB,CAAC;AAEvC,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ---- Runtime contracts ----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./shared/catalog-definition-base.types"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./shared/catalog-definition.categories"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands/command.interface"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./commands/command-definition.types"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./commands/command-definition.categories"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./commands/define-command"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./commands/catalog-command-definition"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./queries/query.interface"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./queries/query-definition.types"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./queries/query-definition.categories"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./queries/define-query"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./queries/catalog-query-definition"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./views/view.interface"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./widgets/widget-definition.types"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./widgets/define-widget"), exports);
|
|
20
|
+
//#endregion
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/framework/shared/runtime/src/lib/index.ts"],"names":[],"mappings":";AAAA,qCAAqC;;;AAErC,iFAAuD;AACvD,iFAAuD;AAEvD,uEAA6C;AAC7C,8EAAoD;AACpD,mFAAyD;AACzD,oEAA0C;AAC1C,gFAAsD;AAEtD,oEAA0C;AAC1C,2EAAiD;AACjD,gFAAsD;AACtD,iEAAuC;AACvC,6EAAmD;AAEnD,iEAAuC;AAEvC,4EAAkD;AAClD,kEAAwC;AAExC,YAAY"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build-time query metadata only. Safe under Node (e.g. generate-runtime-catalog) without loading the query executor stack.
|
|
3
|
+
* Sidecars should import `defineQuery` from `@acorex-platform/framework-shared/runtime`.
|
|
4
|
+
*/
|
|
5
|
+
export { defineQuery } from './define-query';
|
|
6
|
+
export * from './query-definition.categories';
|
|
7
|
+
//# sourceMappingURL=catalog-query-definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-query-definition.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/queries/catalog-query-definition.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,cAAc,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineQuery = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/**
|
|
6
|
+
* Build-time query metadata only. Safe under Node (e.g. generate-runtime-catalog) without loading the query executor stack.
|
|
7
|
+
* Sidecars should import `defineQuery` from `@acorex-platform/framework-shared/runtime`.
|
|
8
|
+
*/
|
|
9
|
+
var define_query_1 = require("./define-query");
|
|
10
|
+
Object.defineProperty(exports, "defineQuery", { enumerable: true, get: function () { return define_query_1.defineQuery; } });
|
|
11
|
+
tslib_1.__exportStar(require("./query-definition.categories"), exports);
|
|
12
|
+
//# sourceMappingURL=catalog-query-definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-query-definition.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/queries/catalog-query-definition.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,wEAA8C"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AXPQueryMetadataDefinition } from './query-definition.types';
|
|
2
|
+
/**
|
|
3
|
+
* Typed identity helper for query metadata sidecars.
|
|
4
|
+
*/
|
|
5
|
+
export declare function defineQuery<T extends AXPQueryMetadataDefinition>(definition: T): T;
|
|
6
|
+
//# sourceMappingURL=define-query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-query.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/queries/define-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAI3E;;GAEG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,0BAA0B,EAAE,UAAU,EAAE,CAAC,GAAG,CAAC,CAElF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineQuery = defineQuery;
|
|
4
|
+
//#region ---- defineQuery ----
|
|
5
|
+
/**
|
|
6
|
+
* Typed identity helper for query metadata sidecars.
|
|
7
|
+
*/
|
|
8
|
+
function defineQuery(definition) {
|
|
9
|
+
return definition;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
//# sourceMappingURL=define-query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-query.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/queries/define-query.ts"],"names":[],"mappings":";;AAOA,kCAEC;AAPD,+BAA+B;AAE/B;;GAEG;AACH,SAAgB,WAAW,CAAuC,UAAa;IAC7E,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,YAAY"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { AXP_CATALOG_DEFINITION_CATEGORY_ENTITY as AXP_QUERY_DEFINITION_CATEGORY_ENTITY, AXP_CATALOG_DEFINITION_CATEGORY_PLATFORM as AXP_QUERY_DEFINITION_CATEGORY_PLATFORM, AXP_CATALOG_DEFINITION_CATEGORY_STORAGE as AXP_QUERY_DEFINITION_CATEGORY_STORAGE, AXP_CATALOG_DEFINITION_CATEGORY_WIDGETS as AXP_QUERY_DEFINITION_CATEGORY_WIDGETS, } from '../shared/catalog-definition.categories';
|
|
2
|
+
//# sourceMappingURL=query-definition.categories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-definition.categories.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/queries/query-definition.categories.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sCAAsC,IAAI,oCAAoC,EAC9E,wCAAwC,IAAI,sCAAsC,EAClF,uCAAuC,IAAI,qCAAqC,EAChF,uCAAuC,IAAI,qCAAqC,GACjF,MAAM,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AXP_QUERY_DEFINITION_CATEGORY_WIDGETS = exports.AXP_QUERY_DEFINITION_CATEGORY_STORAGE = exports.AXP_QUERY_DEFINITION_CATEGORY_PLATFORM = exports.AXP_QUERY_DEFINITION_CATEGORY_ENTITY = void 0;
|
|
4
|
+
var catalog_definition_categories_1 = require("../shared/catalog-definition.categories");
|
|
5
|
+
Object.defineProperty(exports, "AXP_QUERY_DEFINITION_CATEGORY_ENTITY", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_ENTITY; } });
|
|
6
|
+
Object.defineProperty(exports, "AXP_QUERY_DEFINITION_CATEGORY_PLATFORM", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_PLATFORM; } });
|
|
7
|
+
Object.defineProperty(exports, "AXP_QUERY_DEFINITION_CATEGORY_STORAGE", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_STORAGE; } });
|
|
8
|
+
Object.defineProperty(exports, "AXP_QUERY_DEFINITION_CATEGORY_WIDGETS", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_WIDGETS; } });
|
|
9
|
+
//# sourceMappingURL=query-definition.categories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-definition.categories.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/queries/query-definition.categories.ts"],"names":[],"mappings":";;;AAAA,yFAKiD;AAJ/C,qJAAA,sCAAsC,OAAwC;AAC9E,uJAAA,wCAAwC,OAA0C;AAClF,sJAAA,uCAAuC,OAAyC;AAChF,sJAAA,uCAAuC,OAAyC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build-time query metadata for AXPQuery implementations.
|
|
3
|
+
* Mirrors command metadata shape except there are no `outcomes` (queries only `fetch`).
|
|
4
|
+
* Shares {@link AXPCatalogMetadataDefinitionBase} with commands and widgets; `inputs` / `outputs` live on the base.
|
|
5
|
+
*/
|
|
6
|
+
import type { AXPCatalogExecutionMode, AXPCatalogMetadataDefinitionBase, AXPCatalogSchemaPropertyDefinition } from '../shared/catalog-definition-base.types';
|
|
7
|
+
/** One input/output property description for query definitions (same as command / widget catalog rows). */
|
|
8
|
+
export type AXPQuerySchemaPropertyDefinition = AXPCatalogSchemaPropertyDefinition;
|
|
9
|
+
export interface AXPQueryMetadataDefinition extends AXPCatalogMetadataDefinitionBase {
|
|
10
|
+
/** Runtime registration key (provideQuerySetups). */
|
|
11
|
+
key: string;
|
|
12
|
+
executionMode: AXPCatalogExecutionMode;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=query-definition.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-definition.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/queries/query-definition.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACV,uBAAuB,EACvB,gCAAgC,EAChC,kCAAkC,EACnC,MAAM,yCAAyC,CAAC;AAIjD,2GAA2G;AAC3G,MAAM,MAAM,gCAAgC,GAAG,kCAAkC,CAAC;AAElF,MAAM,WAAW,0BAA2B,SAAQ,gCAAgC;IAClF,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,uBAAuB,CAAC;CACxC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Build-time query metadata for AXPQuery implementations.
|
|
4
|
+
* Mirrors command metadata shape except there are no `outcomes` (queries only `fetch`).
|
|
5
|
+
* Shares {@link AXPCatalogMetadataDefinitionBase} with commands and widgets; `inputs` / `outputs` live on the base.
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
//#endregion
|
|
9
|
+
//# sourceMappingURL=query-definition.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-definition.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/queries/query-definition.types.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAmBH,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/queries/query.interface.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,QAAQ,CAAC,MAAM,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG;IACjD,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.interface.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/queries/query.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared build-time catalog metadata for command, query, and widget definition sidecars
|
|
3
|
+
* (`defineCommand`, `defineQuery`, `defineWidget`).
|
|
4
|
+
* Lives under `shared/` so consumers import one module without a "command" prefix on generic shapes.
|
|
5
|
+
*/
|
|
6
|
+
import type { AXPDefinitionCategory } from '@acorex-platform/framework-shared/core';
|
|
7
|
+
/** Catalog metadata validation: rule key + optional rule options only. */
|
|
8
|
+
export interface AXPCatalogValidationRuleValue {
|
|
9
|
+
rule: string;
|
|
10
|
+
options?: Record<string, unknown>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Widget/interface reference for a schema property (name + optional widget options).
|
|
14
|
+
*/
|
|
15
|
+
export interface AXPCatalogInterfaceDefinitionValue {
|
|
16
|
+
name: string;
|
|
17
|
+
options?: Record<string, unknown>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Agent-facing hints when a single catalog row can be satisfied in several ways
|
|
21
|
+
* (inline list, registry-backed dataSource key, query + assign, tabular columns, context merge, etc.).
|
|
22
|
+
* Documentation only; tooling may surface this next to `description` and `interface`.
|
|
23
|
+
*/
|
|
24
|
+
export interface AXPCatalogPropertyBindingHints {
|
|
25
|
+
/** Named strategies the agent or author may use to supply this parameter. */
|
|
26
|
+
strategies?: readonly string[];
|
|
27
|
+
/** Short concrete examples (strings or JSON fragments as documentation, not executed). */
|
|
28
|
+
examples?: readonly string[];
|
|
29
|
+
/** Extra notes: merge rules, mode flags, registry keys, or when to prefer one strategy over another. */
|
|
30
|
+
notes?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* One input/output property description (same structural role as entity option definitions).
|
|
34
|
+
*/
|
|
35
|
+
export interface AXPCatalogSchemaPropertyDefinition {
|
|
36
|
+
name: string;
|
|
37
|
+
title: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
icon?: string;
|
|
40
|
+
defaultValue?: unknown;
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
interface: AXPCatalogInterfaceDefinitionValue;
|
|
43
|
+
validations?: AXPCatalogValidationRuleValue[];
|
|
44
|
+
/**
|
|
45
|
+
* Optional multi-strategy binding documentation for AI and codegen (commands, queries, widget sidecars).
|
|
46
|
+
* Prefer this over inventing a non-form `interface.name` that is not part of the AI-facing widget catalog.
|
|
47
|
+
*/
|
|
48
|
+
bindingHints?: AXPCatalogPropertyBindingHints;
|
|
49
|
+
}
|
|
50
|
+
/** Structured usage hints for planners and assistants (prefer over duplicating rules only in `description`). */
|
|
51
|
+
export interface AXPCatalogAiUsageMetadata {
|
|
52
|
+
whenToUse?: string[];
|
|
53
|
+
avoidWhen?: string[];
|
|
54
|
+
/** Registry keys or tool names that commonly follow this catalog entry. */
|
|
55
|
+
followUpTools?: string[];
|
|
56
|
+
}
|
|
57
|
+
/** Declarative contracts: what the entry provides, who depends on it, and guarantees. */
|
|
58
|
+
export interface AXPCatalogAiContractsMetadata {
|
|
59
|
+
provides?: string[];
|
|
60
|
+
requiredBy?: string[];
|
|
61
|
+
guarantees?: string[];
|
|
62
|
+
}
|
|
63
|
+
export type AXPCatalogAiSafetyKind = 'read-only' | 'mutating';
|
|
64
|
+
export interface AXPCatalogAiSafetyMetadata {
|
|
65
|
+
kind?: AXPCatalogAiSafetyKind;
|
|
66
|
+
sideEffects?: boolean;
|
|
67
|
+
requiresConfirmation?: boolean;
|
|
68
|
+
}
|
|
69
|
+
export type AXPCatalogAiPerformanceCost = 'low' | 'medium' | 'high';
|
|
70
|
+
export interface AXPCatalogAiPerformanceMetadata {
|
|
71
|
+
cost?: AXPCatalogAiPerformanceCost;
|
|
72
|
+
cacheable?: boolean;
|
|
73
|
+
}
|
|
74
|
+
export interface AXPCatalogAiNextStepMetadata {
|
|
75
|
+
when: string;
|
|
76
|
+
action: string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* How to interpret a successful payload for agents (documentation only; not live workflow step outcomes).
|
|
80
|
+
*/
|
|
81
|
+
export interface AXPCatalogAiResultSemanticsMetadata {
|
|
82
|
+
noMatch?: string;
|
|
83
|
+
exactMatch?: string;
|
|
84
|
+
multipleMatches?: string;
|
|
85
|
+
failed?: string;
|
|
86
|
+
/** Full catalog listing (e.g. no entity filter). */
|
|
87
|
+
catalog?: string;
|
|
88
|
+
}
|
|
89
|
+
export interface AXPCatalogAiMetadata {
|
|
90
|
+
shortDescription?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Long-form guidance appended to LLM tool descriptions (not for short UI/registry copy).
|
|
93
|
+
* Keep root `description` concise for pickers and entity rows.
|
|
94
|
+
*/
|
|
95
|
+
instruction?: string;
|
|
96
|
+
tags?: string[];
|
|
97
|
+
usage?: AXPCatalogAiUsageMetadata;
|
|
98
|
+
contracts?: AXPCatalogAiContractsMetadata;
|
|
99
|
+
safety?: AXPCatalogAiSafetyMetadata;
|
|
100
|
+
performance?: AXPCatalogAiPerformanceMetadata;
|
|
101
|
+
nextSteps?: AXPCatalogAiNextStepMetadata[];
|
|
102
|
+
resultSemantics?: AXPCatalogAiResultSemanticsMetadata;
|
|
103
|
+
/**
|
|
104
|
+
* Default input fragment merged for AI/tool invocations (catalog & tooling).
|
|
105
|
+
* Runtime merge for a given entry is applied in the AI module (not the generic command executor).
|
|
106
|
+
*/
|
|
107
|
+
toolInputDefaults?: Record<string, unknown>;
|
|
108
|
+
/**
|
|
109
|
+
* Optional JSON Schema fragment for LLM tool `parameters` (OpenAI-style function calling).
|
|
110
|
+
* Merged over the auto-generated schema from catalog `inputs` (`properties` / `required` deep-merged).
|
|
111
|
+
* Use when widget-to-type inference is insufficient (e.g. `object`, `array`, `enum`, `format`).
|
|
112
|
+
*/
|
|
113
|
+
toolParametersSchema?: Record<string, unknown>;
|
|
114
|
+
}
|
|
115
|
+
export type AXPCatalogExecutionMode = 'frontend' | 'backend' | 'both';
|
|
116
|
+
/**
|
|
117
|
+
* Where this catalog entry is intended to appear in product tooling (AI agents, workflow automation pickers, etc.).
|
|
118
|
+
* Omitted = not declared here; runtimes may fall back to other metadata (e.g. `ai.tags`).
|
|
119
|
+
*/
|
|
120
|
+
export type AXPCatalogCapability = 'ai' | 'workflow';
|
|
121
|
+
export interface AXPCatalogMetadataDefinitionBase {
|
|
122
|
+
title: string;
|
|
123
|
+
description: string;
|
|
124
|
+
inputs?: AXPCatalogSchemaPropertyDefinition[];
|
|
125
|
+
outputs?: AXPCatalogSchemaPropertyDefinition[];
|
|
126
|
+
ai?: AXPCatalogAiMetadata;
|
|
127
|
+
capabilities?: AXPCatalogCapability[];
|
|
128
|
+
categories?: AXPDefinitionCategory | AXPDefinitionCategory[];
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=catalog-definition-base.types.d.ts.map
|