@acorex-platform/framework-shared 0.0.18 → 0.0.20
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/background-job/src/lib/background-job-result.util.d.ts.map +1 -1
- package/background-job/src/lib/background-job-result.util.js +2 -3
- package/background-job/src/lib/background-job-result.util.js.map +1 -1
- package/background-job/src/lib/background-job.constants.d.ts +2 -5
- package/background-job/src/lib/background-job.constants.d.ts.map +1 -1
- package/background-job/src/lib/background-job.constants.js +13 -3
- package/background-job/src/lib/background-job.constants.js.map +1 -1
- package/background-job/src/lib/background-job.types.d.ts +6 -3
- package/background-job/src/lib/background-job.types.d.ts.map +1 -1
- package/background-job/src/lib/background-job.types.js +12 -11
- package/background-job/src/lib/background-job.types.js.map +1 -1
- package/core/src/lib/context-definition/context-definition.types.d.ts +24 -0
- package/core/src/lib/context-definition/context-definition.types.d.ts.map +1 -0
- package/core/src/lib/context-definition/context-definition.types.js +10 -0
- package/core/src/lib/context-definition/context-definition.types.js.map +1 -0
- package/core/src/lib/context-definition/index.d.ts +2 -0
- package/core/src/lib/context-definition/index.d.ts.map +1 -0
- package/core/src/lib/context-definition/index.js +5 -0
- package/core/src/lib/context-definition/index.js.map +1 -0
- package/core/src/lib/core/response.types.d.ts +2 -4
- package/core/src/lib/core/response.types.d.ts.map +1 -1
- package/core/src/lib/core/response.types.js +0 -1
- package/core/src/lib/core/response.types.js.map +1 -1
- package/core/src/lib/data/data.types.d.ts +5 -0
- 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 +6 -3
- package/core/src/lib/domain/address.types.d.ts.map +1 -1
- package/core/src/lib/domain/address.types.js +0 -1
- package/core/src/lib/domain/address.types.js.map +1 -1
- package/core/src/lib/domain/format-address.util.d.ts +1 -1
- package/core/src/lib/domain/format-address.util.d.ts.map +1 -1
- package/core/src/lib/domain/format-address.util.js +11 -7
- package/core/src/lib/domain/format-address.util.js.map +1 -1
- package/core/src/lib/errors/index.d.ts +3 -0
- package/core/src/lib/errors/index.d.ts.map +1 -0
- package/core/src/lib/errors/index.js +6 -0
- package/core/src/lib/errors/index.js.map +1 -0
- package/core/src/lib/errors/platform-error-codes.d.ts +17 -0
- package/core/src/lib/errors/platform-error-codes.d.ts.map +1 -0
- package/core/src/lib/errors/platform-error-codes.js +21 -0
- package/core/src/lib/errors/platform-error-codes.js.map +1 -0
- package/core/src/lib/errors/request-error.d.ts +35 -0
- package/core/src/lib/errors/request-error.d.ts.map +1 -0
- package/core/src/lib/errors/request-error.js +116 -0
- package/core/src/lib/errors/request-error.js.map +1 -0
- package/core/src/lib/index.d.ts +2 -0
- package/core/src/lib/index.d.ts.map +1 -1
- package/core/src/lib/index.js +2 -0
- package/core/src/lib/index.js.map +1 -1
- package/core/src/lib/integration/constants/category.constants.d.ts +1 -0
- package/core/src/lib/integration/constants/category.constants.d.ts.map +1 -1
- package/core/src/lib/integration/constants/category.constants.js +1 -0
- package/core/src/lib/integration/constants/category.constants.js.map +1 -1
- package/core/src/lib/integration/integration.types.d.ts +1 -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 +64 -20
- 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/runtime-result.util.d.ts +67 -0
- package/core/src/lib/interaction/runtime-result.util.d.ts.map +1 -0
- package/core/src/lib/interaction/runtime-result.util.js +167 -0
- package/core/src/lib/interaction/runtime-result.util.js.map +1 -0
- package/core/src/lib/keys/index.d.ts +0 -1
- package/core/src/lib/keys/index.d.ts.map +1 -1
- package/core/src/lib/keys/index.js +0 -1
- package/core/src/lib/keys/index.js.map +1 -1
- package/core/src/lib/keys/regional-settings.keys.d.ts +6 -1
- package/core/src/lib/keys/regional-settings.keys.d.ts.map +1 -1
- package/core/src/lib/keys/regional-settings.keys.js +5 -0
- package/core/src/lib/keys/regional-settings.keys.js.map +1 -1
- package/core/src/lib/multi-language-string/resolve-multi-language-string.util.d.ts +9 -0
- package/core/src/lib/multi-language-string/resolve-multi-language-string.util.d.ts.map +1 -1
- package/core/src/lib/multi-language-string/resolve-multi-language-string.util.js +25 -7
- package/core/src/lib/multi-language-string/resolve-multi-language-string.util.js.map +1 -1
- package/core/src/lib/utils/object-util.d.ts +8 -1
- package/core/src/lib/utils/object-util.d.ts.map +1 -1
- package/core/src/lib/utils/object-util.js +79 -6
- package/core/src/lib/utils/object-util.js.map +1 -1
- 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/core/src/lib/workflow/activity.types.js +1 -1
- package/domain/src/lib/definitions/permission-definition.types.d.ts +4 -0
- package/domain/src/lib/definitions/permission-definition.types.d.ts.map +1 -1
- package/domain/src/lib/definitions/permission-definition.types.js.map +1 -1
- package/domain/src/lib/definitions/query-registry.types.d.ts +50 -4
- 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/widget-registry.types.d.ts +6 -1
- package/domain/src/lib/definitions/widget-registry.types.d.ts.map +1 -1
- package/domain/src/lib/definitions/widget-registry.types.js.map +1 -1
- package/entity/src/lib/constants/entity-events.keys.d.ts +4 -0
- package/entity/src/lib/constants/entity-events.keys.d.ts.map +1 -1
- package/entity/src/lib/constants/entity-events.keys.js +3 -0
- package/entity/src/lib/constants/entity-events.keys.js.map +1 -1
- package/entity/src/lib/constants/index.d.ts +0 -1
- package/entity/src/lib/constants/index.d.ts.map +1 -1
- package/entity/src/lib/constants/index.js +0 -1
- package/entity/src/lib/constants/index.js.map +1 -1
- package/entity/src/lib/helpers/entity-action.helpers.d.ts +1 -0
- package/entity/src/lib/helpers/entity-action.helpers.d.ts.map +1 -1
- package/entity/src/lib/helpers/entity-action.helpers.js +18 -10
- package/entity/src/lib/helpers/entity-action.helpers.js.map +1 -1
- package/entity/src/lib/types/entity-display-field.types.d.ts +5 -1
- package/entity/src/lib/types/entity-display-field.types.d.ts.map +1 -1
- package/entity/src/lib/types/entity-display-field.types.js.map +1 -1
- package/entity/src/lib/types/entity-event-payload.types.d.ts +31 -0
- package/entity/src/lib/types/entity-event-payload.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-event-payload.types.js +5 -0
- package/entity/src/lib/types/entity-event-payload.types.js.map +1 -0
- package/entity/src/lib/types/entity-model.types.d.ts +10 -4
- package/entity/src/lib/types/entity-model.types.d.ts.map +1 -1
- package/entity/src/lib/types/entity-model.types.js.map +1 -1
- package/entity/src/lib/types/entity-property.types.d.ts +10 -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-query-view.types.d.ts +4 -0
- package/entity/src/lib/types/entity-query-view.types.d.ts.map +1 -1
- package/entity/src/lib/types/entity-query-view.types.js.map +1 -1
- package/entity/src/lib/types/index.d.ts +1 -0
- package/entity/src/lib/types/index.d.ts.map +1 -1
- package/entity/src/lib/types/index.js +1 -0
- package/entity/src/lib/types/index.js.map +1 -1
- package/entity/src/lib/types/lookup-widget.types.d.ts +21 -0
- package/entity/src/lib/types/lookup-widget.types.d.ts.map +1 -1
- package/entity/src/lib/types/lookup-widget.types.js.map +1 -1
- 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 +2 -1
- package/entity/src/lib/utils/entity-list-filter-definitions.util.js.map +1 -1
- package/entity/src/lib/utils/entity-query-fields.util.d.ts +17 -0
- package/entity/src/lib/utils/entity-query-fields.util.d.ts.map +1 -0
- package/entity/src/lib/utils/entity-query-fields.util.js +46 -0
- package/entity/src/lib/utils/entity-query-fields.util.js.map +1 -0
- package/entity/src/lib/utils/index.d.ts +1 -0
- package/entity/src/lib/utils/index.d.ts.map +1 -1
- package/entity/src/lib/utils/index.js +1 -0
- package/entity/src/lib/utils/index.js.map +1 -1
- package/entity/src/lib/utils/lookup-create-options.util.d.ts.map +1 -1
- package/entity/src/lib/utils/lookup-create-options.util.js +4 -2
- package/entity/src/lib/utils/lookup-create-options.util.js.map +1 -1
- package/entity/src/lib/utils/page-list-widget-name.util.d.ts +3 -2
- package/entity/src/lib/utils/page-list-widget-name.util.d.ts.map +1 -1
- package/entity/src/lib/utils/page-list-widget-name.util.js +3 -2
- package/entity/src/lib/utils/page-list-widget-name.util.js.map +1 -1
- package/package.json +1 -1
- package/rule-engine/src/lib/rule-engine.constants.d.ts +4 -0
- package/rule-engine/src/lib/rule-engine.constants.d.ts.map +1 -1
- package/rule-engine/src/lib/rule-engine.constants.js +4 -0
- package/rule-engine/src/lib/rule-engine.constants.js.map +1 -1
- package/runtime/src/catalog-sidecars.d.ts +2 -0
- package/runtime/src/catalog-sidecars.d.ts.map +1 -1
- package/runtime/src/catalog-sidecars.js +2 -0
- package/runtime/src/catalog-sidecars.js.map +1 -1
- package/runtime/src/lib/commands/auth-command-keys.d.ts +10 -0
- package/runtime/src/lib/commands/auth-command-keys.d.ts.map +1 -0
- package/runtime/src/lib/commands/auth-command-keys.js +15 -0
- package/runtime/src/lib/commands/auth-command-keys.js.map +1 -0
- package/runtime/src/lib/commands/bulk-command-failure.util.d.ts +24 -0
- package/runtime/src/lib/commands/bulk-command-failure.util.d.ts.map +1 -0
- package/runtime/src/lib/commands/bulk-command-failure.util.js +75 -0
- package/runtime/src/lib/commands/bulk-command-failure.util.js.map +1 -0
- package/runtime/src/lib/commands/bulk-command.types.d.ts +45 -0
- package/runtime/src/lib/commands/bulk-command.types.d.ts.map +1 -0
- package/runtime/src/lib/commands/bulk-command.types.js +12 -0
- package/runtime/src/lib/commands/bulk-command.types.js.map +1 -0
- package/runtime/src/lib/commands/catalog-command-definition.d.ts +1 -1
- package/runtime/src/lib/commands/catalog-command-definition.d.ts.map +1 -1
- package/runtime/src/lib/commands/catalog-command-definition.js +2 -2
- package/runtime/src/lib/commands/catalog-command-definition.js.map +1 -1
- package/runtime/src/lib/commands/command-definition.types.d.ts.map +1 -1
- package/runtime/src/lib/commands/command-definition.types.js.map +1 -1
- package/runtime/src/lib/commands/command-execute-options.types.d.ts +8 -0
- package/runtime/src/lib/commands/command-execute-options.types.d.ts.map +1 -0
- package/runtime/src/lib/commands/command-execute-options.types.js +5 -0
- package/runtime/src/lib/commands/command-execute-options.types.js.map +1 -0
- package/runtime/src/lib/commands/command.interface.d.ts +15 -4
- package/runtime/src/lib/commands/command.interface.d.ts.map +1 -1
- package/runtime/src/lib/commands/command.interface.js +2 -0
- package/runtime/src/lib/commands/command.interface.js.map +1 -1
- package/runtime/src/lib/commands/command.middleware.d.ts +22 -0
- package/runtime/src/lib/commands/command.middleware.d.ts.map +1 -0
- package/runtime/src/lib/commands/command.middleware.js +16 -0
- package/runtime/src/lib/commands/command.middleware.js.map +1 -0
- package/runtime/src/lib/commands/entity-action-command-input.d.ts +101 -0
- package/runtime/src/lib/commands/entity-action-command-input.d.ts.map +1 -0
- package/runtime/src/lib/commands/entity-action-command-input.js +204 -0
- package/runtime/src/lib/commands/entity-action-command-input.js.map +1 -0
- package/runtime/src/lib/commands/entity-command-keys.d.ts +29 -1
- package/runtime/src/lib/commands/entity-command-keys.d.ts.map +1 -1
- package/runtime/src/lib/commands/entity-command-keys.js +64 -9
- package/runtime/src/lib/commands/entity-command-keys.js.map +1 -1
- package/runtime/src/lib/commands/file-command-keys.d.ts +10 -0
- package/runtime/src/lib/commands/file-command-keys.d.ts.map +1 -0
- package/runtime/src/lib/commands/file-command-keys.js +15 -0
- package/runtime/src/lib/commands/file-command-keys.js.map +1 -0
- package/runtime/src/lib/commands/lock-command-keys.d.ts +5 -0
- package/runtime/src/lib/commands/lock-command-keys.d.ts.map +1 -0
- package/runtime/src/lib/commands/lock-command-keys.js +10 -0
- package/runtime/src/lib/commands/lock-command-keys.js.map +1 -0
- package/runtime/src/lib/commands/presence-command-keys.d.ts +2 -0
- package/runtime/src/lib/commands/presence-command-keys.d.ts.map +1 -0
- package/runtime/src/lib/commands/presence-command-keys.js +7 -0
- package/runtime/src/lib/commands/presence-command-keys.js.map +1 -0
- package/runtime/src/lib/commands/workflow-command-keys.d.ts +21 -0
- package/runtime/src/lib/commands/workflow-command-keys.d.ts.map +1 -0
- package/runtime/src/lib/commands/workflow-command-keys.js +26 -0
- package/runtime/src/lib/commands/workflow-command-keys.js.map +1 -0
- package/runtime/src/lib/index.d.ts +33 -13
- package/runtime/src/lib/index.d.ts.map +1 -1
- package/runtime/src/lib/index.js +33 -13
- package/runtime/src/lib/index.js.map +1 -1
- package/runtime/src/lib/queries/define-query.d.ts +18 -2
- package/runtime/src/lib/queries/define-query.d.ts.map +1 -1
- package/runtime/src/lib/queries/define-query.js +140 -2
- package/runtime/src/lib/queries/define-query.js.map +1 -1
- package/runtime/src/lib/queries/domain-query-keys.d.ts +15 -0
- package/runtime/src/lib/queries/domain-query-keys.d.ts.map +1 -0
- package/runtime/src/lib/queries/domain-query-keys.js +8 -0
- package/runtime/src/lib/queries/domain-query-keys.js.map +1 -0
- package/runtime/src/lib/queries/presence-query-keys.d.ts +3 -0
- package/runtime/src/lib/queries/presence-query-keys.d.ts.map +1 -0
- package/runtime/src/lib/queries/presence-query-keys.js +8 -0
- package/runtime/src/lib/queries/presence-query-keys.js.map +1 -0
- package/runtime/src/lib/queries/query-capability.types.d.ts +71 -0
- package/runtime/src/lib/queries/query-capability.types.d.ts.map +1 -0
- package/runtime/src/lib/queries/query-capability.types.js +15 -0
- package/runtime/src/lib/queries/query-capability.types.js.map +1 -0
- package/runtime/src/lib/queries/query-definition.types.d.ts +48 -1
- package/runtime/src/lib/queries/query-definition.types.d.ts.map +1 -1
- package/runtime/src/lib/queries/query-definition.types.js +3 -1
- package/runtime/src/lib/queries/query-definition.types.js.map +1 -1
- package/runtime/src/lib/queries/query-execute-options.types.d.ts +23 -0
- package/runtime/src/lib/queries/query-execute-options.types.d.ts.map +1 -0
- package/runtime/src/lib/queries/query-execute-options.types.js +5 -0
- package/runtime/src/lib/queries/query-execute-options.types.js.map +1 -0
- package/runtime/src/lib/queries/query-input.packs.d.ts +27 -0
- package/runtime/src/lib/queries/query-input.packs.d.ts.map +1 -0
- package/runtime/src/lib/queries/query-input.packs.js +53 -0
- package/runtime/src/lib/queries/query-input.packs.js.map +1 -0
- package/runtime/src/lib/queries/query-kind.types.d.ts +10 -0
- package/runtime/src/lib/queries/query-kind.types.d.ts.map +1 -0
- package/runtime/src/lib/queries/query-kind.types.js +7 -0
- package/runtime/src/lib/queries/query-kind.types.js.map +1 -0
- package/runtime/src/lib/queries/query.interface.d.ts +33 -2
- package/runtime/src/lib/queries/query.interface.d.ts.map +1 -1
- package/runtime/src/lib/queries/query.interface.js +2 -0
- package/runtime/src/lib/queries/query.interface.js.map +1 -1
- package/runtime/src/lib/queries/query.middleware.d.ts +17 -0
- package/runtime/src/lib/queries/query.middleware.d.ts.map +1 -0
- package/runtime/src/lib/queries/query.middleware.js +16 -0
- package/runtime/src/lib/queries/query.middleware.js.map +1 -0
- package/runtime/src/lib/transports/runtime-invoke-url.util.d.ts +12 -0
- package/runtime/src/lib/transports/runtime-invoke-url.util.d.ts.map +1 -0
- package/runtime/src/lib/transports/runtime-invoke-url.util.js +32 -0
- package/runtime/src/lib/transports/runtime-invoke-url.util.js.map +1 -0
- package/runtime/src/lib/transports/runtime-transport.keys.d.ts +14 -0
- package/runtime/src/lib/transports/runtime-transport.keys.d.ts.map +1 -0
- package/runtime/src/lib/transports/runtime-transport.keys.js +19 -0
- package/runtime/src/lib/transports/runtime-transport.keys.js.map +1 -0
- package/runtime/src/lib/widgets/get-widgets-for-ai-agent-scope.util.d.ts +13 -0
- package/runtime/src/lib/widgets/get-widgets-for-ai-agent-scope.util.d.ts.map +1 -0
- package/runtime/src/lib/widgets/get-widgets-for-ai-agent-scope.util.js +77 -0
- package/runtime/src/lib/widgets/get-widgets-for-ai-agent-scope.util.js.map +1 -0
- package/runtime/src/lib/widgets/widget-definition.types.d.ts +7 -1
- package/runtime/src/lib/widgets/widget-definition.types.d.ts.map +1 -1
- package/runtime/src/lib/widgets/widget-definition.types.js.map +1 -1
- package/widget-core/src/lib/types/widget.types.d.ts +1 -1
- package/widget-core/src/lib/types/widget.types.d.ts.map +1 -1
- package/widget-core/src/lib/types/widget.types.js.map +1 -1
- package/core/src/lib/keys/platform-core-datasource.keys.d.ts +0 -6
- package/core/src/lib/keys/platform-core-datasource.keys.d.ts.map +0 -1
- package/core/src/lib/keys/platform-core-datasource.keys.js +0 -11
- package/core/src/lib/keys/platform-core-datasource.keys.js.map +0 -1
- package/entity/src/lib/constants/entity-datasource.keys.d.ts +0 -5
- package/entity/src/lib/constants/entity-datasource.keys.d.ts.map +0 -1
- package/entity/src/lib/constants/entity-datasource.keys.js +0 -10
- package/entity/src/lib/constants/entity-datasource.keys.js.map +0 -1
|
@@ -1,18 +1,46 @@
|
|
|
1
1
|
export type EntityCommandOperation = 'Insert' | 'Update' | 'Delete' | 'Query' | 'GetById';
|
|
2
|
+
/**
|
|
3
|
+
* Default **data** runtime keys — entity identity is passed in `input.entity`.
|
|
4
|
+
* Must stay distinct from UI dialog commands (`Entity:Edit`, `Entity:Remove`, `Entity:Create`, …).
|
|
5
|
+
*
|
|
6
|
+
* TODO: Rename UI vs data keys to clearer names (e.g. `Entity:OpenEditDialog` vs
|
|
7
|
+
* `Entity:PersistUpdate` / `Entity.Storage:Update`) so `:Default` is not required to disambiguate.
|
|
8
|
+
*/
|
|
2
9
|
export declare const ENTITY_INSERT_DEFAULT: "Entity:Insert:Default";
|
|
3
10
|
export declare const ENTITY_UPDATE_DEFAULT: "Entity:Update:Default";
|
|
4
11
|
export declare const ENTITY_DELETE_DEFAULT: "Entity:Delete:Default";
|
|
5
12
|
export declare const ENTITY_QUERY_DEFAULT: "Entity:Query:Default";
|
|
6
13
|
export declare const ENTITY_GET_BY_ID_DEFAULT: "Entity:GetById:Default";
|
|
14
|
+
/** Frontend UI dialog commands — must not collide with default runtime keys above. */
|
|
15
|
+
export declare const ENTITY_CREATE_UI: "Entity:Create";
|
|
16
|
+
export declare const ENTITY_EDIT_UI: "Entity:Edit";
|
|
17
|
+
export declare const ENTITY_REMOVE_UI: "Entity:Remove";
|
|
18
|
+
/**
|
|
19
|
+
* Custom per-entity key: `Module.Entity:Operation` (use only when overriding default runtime).
|
|
20
|
+
*/
|
|
7
21
|
export declare function buildEntityCommandKey(module: string, entity: string, operation: EntityCommandOperation): string;
|
|
22
|
+
export declare function buildDefaultEntityRuntimeKey(operation: EntityCommandOperation): string;
|
|
8
23
|
export interface ParsedEntityCommandKey {
|
|
9
24
|
entity: string;
|
|
10
25
|
operation: EntityCommandOperation;
|
|
11
26
|
}
|
|
12
27
|
/**
|
|
13
|
-
* Parses `Module.Entity:Operation` command/query keys.
|
|
28
|
+
* Parses custom `Module.Entity:Operation` command/query keys.
|
|
14
29
|
*/
|
|
15
30
|
export declare function parseEntityCommandKey(name: string): ParsedEntityCommandKey | null;
|
|
31
|
+
/**
|
|
32
|
+
* Parses default `Entity:Operation:Default` keys (entity name comes from runtime input).
|
|
33
|
+
*/
|
|
34
|
+
export declare function parseDefaultEntityRuntimeKey(name: string): EntityCommandOperation | null;
|
|
35
|
+
export declare function isDefaultEntityRuntimeKey(name: string): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Resolves `Module.Entity` from default runtime command/query input.
|
|
38
|
+
*/
|
|
39
|
+
export declare function resolveEntityNameFromRuntimeInput(input: unknown): string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Entity name from custom key (`Module.Entity:Op`) or default key + `input.entity`.
|
|
42
|
+
*/
|
|
43
|
+
export declare function resolveEntityNameFromRuntimeKey(key: string, input?: unknown): string | null;
|
|
16
44
|
export declare function isEntityMutationOperation(operation: EntityCommandOperation): operation is 'Insert' | 'Update' | 'Delete';
|
|
17
45
|
export declare function isEntityQueryOperation(operation: EntityCommandOperation): operation is 'Query' | 'GetById';
|
|
18
46
|
//# sourceMappingURL=entity-command-keys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-command-keys.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/entity-command-keys.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,sBAAsB,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE1F,eAAO,MAAM,qBAAqB,EAAG,uBAAgC,CAAC;AACtE,eAAO,MAAM,qBAAqB,EAAG,uBAAgC,CAAC;AACtE,eAAO,MAAM,qBAAqB,EAAG,uBAAgC,CAAC;AACtE,eAAO,MAAM,oBAAoB,EAAG,sBAA+B,CAAC;AACpE,eAAO,MAAM,wBAAwB,EAAG,wBAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"entity-command-keys.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/entity-command-keys.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,sBAAsB,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE1F;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,EAAG,uBAAgC,CAAC;AACtE,eAAO,MAAM,qBAAqB,EAAG,uBAAgC,CAAC;AACtE,eAAO,MAAM,qBAAqB,EAAG,uBAAgC,CAAC;AACtE,eAAO,MAAM,oBAAoB,EAAG,sBAA+B,CAAC;AACpE,eAAO,MAAM,wBAAwB,EAAG,wBAAiC,CAAC;AAE1E,sFAAsF;AACtF,eAAO,MAAM,gBAAgB,EAAG,eAAwB,CAAC;AACzD,eAAO,MAAM,cAAc,EAAG,aAAsB,CAAC;AACrD,eAAO,MAAM,gBAAgB,EAAG,eAAwB,CAAC;AAOzD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,sBAAsB,GAAG,MAAM,CAE/G;AAED,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,sBAAsB,GAAG,MAAM,CAEtF;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,sBAAsB,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,sBAAsB,GAAG,IAAI,CAkBjF;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,MAAM,GAAG,sBAAsB,GAAG,IAAI,CAGxF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE/D;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAU/E;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAS3F;AAED,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,sBAAsB,GAAG,SAAS,IAAI,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAExH;AAED,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,sBAAsB,GAAG,SAAS,IAAI,OAAO,GAAG,SAAS,CAE1G"}
|
|
@@ -1,28 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
//#region ---- Entity command keys ----
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ENTITY_GET_BY_ID_DEFAULT = exports.ENTITY_QUERY_DEFAULT = exports.ENTITY_DELETE_DEFAULT = exports.ENTITY_UPDATE_DEFAULT = exports.ENTITY_INSERT_DEFAULT = void 0;
|
|
4
|
+
exports.ENTITY_REMOVE_UI = exports.ENTITY_EDIT_UI = exports.ENTITY_CREATE_UI = exports.ENTITY_GET_BY_ID_DEFAULT = exports.ENTITY_QUERY_DEFAULT = exports.ENTITY_DELETE_DEFAULT = exports.ENTITY_UPDATE_DEFAULT = exports.ENTITY_INSERT_DEFAULT = void 0;
|
|
5
5
|
exports.buildEntityCommandKey = buildEntityCommandKey;
|
|
6
|
+
exports.buildDefaultEntityRuntimeKey = buildDefaultEntityRuntimeKey;
|
|
6
7
|
exports.parseEntityCommandKey = parseEntityCommandKey;
|
|
8
|
+
exports.parseDefaultEntityRuntimeKey = parseDefaultEntityRuntimeKey;
|
|
9
|
+
exports.isDefaultEntityRuntimeKey = isDefaultEntityRuntimeKey;
|
|
10
|
+
exports.resolveEntityNameFromRuntimeInput = resolveEntityNameFromRuntimeInput;
|
|
11
|
+
exports.resolveEntityNameFromRuntimeKey = resolveEntityNameFromRuntimeKey;
|
|
7
12
|
exports.isEntityMutationOperation = isEntityMutationOperation;
|
|
8
13
|
exports.isEntityQueryOperation = isEntityQueryOperation;
|
|
14
|
+
/**
|
|
15
|
+
* Default **data** runtime keys — entity identity is passed in `input.entity`.
|
|
16
|
+
* Must stay distinct from UI dialog commands (`Entity:Edit`, `Entity:Remove`, `Entity:Create`, …).
|
|
17
|
+
*
|
|
18
|
+
* TODO: Rename UI vs data keys to clearer names (e.g. `Entity:OpenEditDialog` vs
|
|
19
|
+
* `Entity:PersistUpdate` / `Entity.Storage:Update`) so `:Default` is not required to disambiguate.
|
|
20
|
+
*/
|
|
9
21
|
exports.ENTITY_INSERT_DEFAULT = 'Entity:Insert:Default';
|
|
10
22
|
exports.ENTITY_UPDATE_DEFAULT = 'Entity:Update:Default';
|
|
11
23
|
exports.ENTITY_DELETE_DEFAULT = 'Entity:Delete:Default';
|
|
12
24
|
exports.ENTITY_QUERY_DEFAULT = 'Entity:Query:Default';
|
|
13
25
|
exports.ENTITY_GET_BY_ID_DEFAULT = 'Entity:GetById:Default';
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
26
|
+
/** Frontend UI dialog commands — must not collide with default runtime keys above. */
|
|
27
|
+
exports.ENTITY_CREATE_UI = 'Entity:Create';
|
|
28
|
+
exports.ENTITY_EDIT_UI = 'Entity:Edit';
|
|
29
|
+
exports.ENTITY_REMOVE_UI = 'Entity:Remove';
|
|
30
|
+
const ENTITY_OPERATIONS = new Set(['Insert', 'Update', 'Delete', 'Query', 'GetById']);
|
|
31
|
+
/** Matches `Entity:Update:Default` (CRUD), not UI `Entity:Edit`. */
|
|
32
|
+
const DEFAULT_ENTITY_RUNTIME_KEY = /^Entity:(Insert|Update|Delete|Query|GetById):Default$/;
|
|
33
|
+
/**
|
|
34
|
+
* Custom per-entity key: `Module.Entity:Operation` (use only when overriding default runtime).
|
|
35
|
+
*/
|
|
21
36
|
function buildEntityCommandKey(module, entity, operation) {
|
|
22
37
|
return `${module}.${entity}:${operation}`;
|
|
23
38
|
}
|
|
39
|
+
function buildDefaultEntityRuntimeKey(operation) {
|
|
40
|
+
return `Entity:${operation}:Default`;
|
|
41
|
+
}
|
|
24
42
|
/**
|
|
25
|
-
* Parses `Module.Entity:Operation` command/query keys.
|
|
43
|
+
* Parses custom `Module.Entity:Operation` command/query keys.
|
|
26
44
|
*/
|
|
27
45
|
function parseEntityCommandKey(name) {
|
|
28
46
|
const trimmed = name.trim();
|
|
@@ -40,6 +58,43 @@ function parseEntityCommandKey(name) {
|
|
|
40
58
|
}
|
|
41
59
|
return { entity, operation };
|
|
42
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* Parses default `Entity:Operation:Default` keys (entity name comes from runtime input).
|
|
63
|
+
*/
|
|
64
|
+
function parseDefaultEntityRuntimeKey(name) {
|
|
65
|
+
const match = name.trim().match(DEFAULT_ENTITY_RUNTIME_KEY);
|
|
66
|
+
return match ? match[1] : null;
|
|
67
|
+
}
|
|
68
|
+
function isDefaultEntityRuntimeKey(name) {
|
|
69
|
+
return parseDefaultEntityRuntimeKey(name) != null;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Resolves `Module.Entity` from default runtime command/query input.
|
|
73
|
+
*/
|
|
74
|
+
function resolveEntityNameFromRuntimeInput(input) {
|
|
75
|
+
if (input == null || typeof input !== 'object' || Array.isArray(input)) {
|
|
76
|
+
return null;
|
|
77
|
+
}
|
|
78
|
+
const entity = input.entity;
|
|
79
|
+
if (typeof entity !== 'string') {
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
82
|
+
const trimmed = entity.trim();
|
|
83
|
+
return trimmed.length > 0 ? trimmed : null;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Entity name from custom key (`Module.Entity:Op`) or default key + `input.entity`.
|
|
87
|
+
*/
|
|
88
|
+
function resolveEntityNameFromRuntimeKey(key, input) {
|
|
89
|
+
const custom = parseEntityCommandKey(key);
|
|
90
|
+
if (custom) {
|
|
91
|
+
return custom.entity;
|
|
92
|
+
}
|
|
93
|
+
if (parseDefaultEntityRuntimeKey(key)) {
|
|
94
|
+
return resolveEntityNameFromRuntimeInput(input);
|
|
95
|
+
}
|
|
96
|
+
return null;
|
|
97
|
+
}
|
|
43
98
|
function isEntityMutationOperation(operation) {
|
|
44
99
|
return operation === 'Insert' || operation === 'Update' || operation === 'Delete';
|
|
45
100
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-command-keys.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/entity-command-keys.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;
|
|
1
|
+
{"version":3,"file":"entity-command-keys.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/entity-command-keys.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const FILE_SAVE_DEFAULT: "File:Save";
|
|
2
|
+
export declare const FILE_UPDATE_DEFAULT: "File:Update";
|
|
3
|
+
export declare const FILE_REMOVE_DEFAULT: "File:Remove";
|
|
4
|
+
export declare const FILE_COMMIT_DEFAULT: "File:Commit";
|
|
5
|
+
export declare const FILE_MARK_FOR_DELETION_DEFAULT: "File:MarkForDeletion";
|
|
6
|
+
export declare const FILE_FIND_DEFAULT: "File:Find";
|
|
7
|
+
export declare const FILE_FIND_MANY_DEFAULT: "File:FindMany";
|
|
8
|
+
export declare const FILE_GET_INFO_DEFAULT: "File:GetInfo";
|
|
9
|
+
export declare const FILE_DOWNLOAD_DEFAULT: "File:Download";
|
|
10
|
+
//# sourceMappingURL=file-command-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-command-keys.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/file-command-keys.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,EAAG,WAAoB,CAAC;AACtD,eAAO,MAAM,mBAAmB,EAAG,aAAsB,CAAC;AAC1D,eAAO,MAAM,mBAAmB,EAAG,aAAsB,CAAC;AAC1D,eAAO,MAAM,mBAAmB,EAAG,aAAsB,CAAC;AAC1D,eAAO,MAAM,8BAA8B,EAAG,sBAA+B,CAAC;AAE9E,eAAO,MAAM,iBAAiB,EAAG,WAAoB,CAAC;AACtD,eAAO,MAAM,sBAAsB,EAAG,eAAwB,CAAC;AAC/D,eAAO,MAAM,qBAAqB,EAAG,cAAuB,CAAC;AAC7D,eAAO,MAAM,qBAAqB,EAAG,eAAwB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ---- File command/query keys ----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FILE_DOWNLOAD_DEFAULT = exports.FILE_GET_INFO_DEFAULT = exports.FILE_FIND_MANY_DEFAULT = exports.FILE_FIND_DEFAULT = exports.FILE_MARK_FOR_DELETION_DEFAULT = exports.FILE_COMMIT_DEFAULT = exports.FILE_REMOVE_DEFAULT = exports.FILE_UPDATE_DEFAULT = exports.FILE_SAVE_DEFAULT = void 0;
|
|
5
|
+
exports.FILE_SAVE_DEFAULT = 'File:Save';
|
|
6
|
+
exports.FILE_UPDATE_DEFAULT = 'File:Update';
|
|
7
|
+
exports.FILE_REMOVE_DEFAULT = 'File:Remove';
|
|
8
|
+
exports.FILE_COMMIT_DEFAULT = 'File:Commit';
|
|
9
|
+
exports.FILE_MARK_FOR_DELETION_DEFAULT = 'File:MarkForDeletion';
|
|
10
|
+
exports.FILE_FIND_DEFAULT = 'File:Find';
|
|
11
|
+
exports.FILE_FIND_MANY_DEFAULT = 'File:FindMany';
|
|
12
|
+
exports.FILE_GET_INFO_DEFAULT = 'File:GetInfo';
|
|
13
|
+
exports.FILE_DOWNLOAD_DEFAULT = 'File:Download';
|
|
14
|
+
//#endregion
|
|
15
|
+
//# sourceMappingURL=file-command-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-command-keys.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/file-command-keys.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AAE9B,QAAA,iBAAiB,GAAG,WAAoB,CAAC;AACzC,QAAA,mBAAmB,GAAG,aAAsB,CAAC;AAC7C,QAAA,mBAAmB,GAAG,aAAsB,CAAC;AAC7C,QAAA,mBAAmB,GAAG,aAAsB,CAAC;AAC7C,QAAA,8BAA8B,GAAG,sBAA+B,CAAC;AAEjE,QAAA,iBAAiB,GAAG,WAAoB,CAAC;AACzC,QAAA,sBAAsB,GAAG,eAAwB,CAAC;AAClD,QAAA,qBAAqB,GAAG,cAAuB,CAAC;AAChD,QAAA,qBAAqB,GAAG,eAAwB,CAAC;AAE9D,YAAY"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const LOCK_ACQUIRE_DEFAULT: "Lock:Acquire";
|
|
2
|
+
export declare const LOCK_RELEASE_DEFAULT: "Lock:Release";
|
|
3
|
+
export declare const LOCK_CHECK_DEFAULT: "Lock:Check";
|
|
4
|
+
export declare const LOCK_GET_INFO_DEFAULT: "Lock:GetInfo";
|
|
5
|
+
//# sourceMappingURL=lock-command-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lock-command-keys.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/lock-command-keys.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,EAAG,cAAuB,CAAC;AAC5D,eAAO,MAAM,oBAAoB,EAAG,cAAuB,CAAC;AAC5D,eAAO,MAAM,kBAAkB,EAAG,YAAqB,CAAC;AACxD,eAAO,MAAM,qBAAqB,EAAG,cAAuB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ---- Lock command/query keys ----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LOCK_GET_INFO_DEFAULT = exports.LOCK_CHECK_DEFAULT = exports.LOCK_RELEASE_DEFAULT = exports.LOCK_ACQUIRE_DEFAULT = void 0;
|
|
5
|
+
exports.LOCK_ACQUIRE_DEFAULT = 'Lock:Acquire';
|
|
6
|
+
exports.LOCK_RELEASE_DEFAULT = 'Lock:Release';
|
|
7
|
+
exports.LOCK_CHECK_DEFAULT = 'Lock:Check';
|
|
8
|
+
exports.LOCK_GET_INFO_DEFAULT = 'Lock:GetInfo';
|
|
9
|
+
//#endregion
|
|
10
|
+
//# sourceMappingURL=lock-command-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lock-command-keys.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/lock-command-keys.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AAE9B,QAAA,oBAAoB,GAAG,cAAuB,CAAC;AAC/C,QAAA,oBAAoB,GAAG,cAAuB,CAAC;AAC/C,QAAA,kBAAkB,GAAG,YAAqB,CAAC;AAC3C,QAAA,qBAAqB,GAAG,cAAuB,CAAC;AAE7D,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presence-command-keys.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/presence-command-keys.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,EAAG,0BAAmC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ----- Presence command keys -----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PRESENCE_SET_AVAILABILITY = void 0;
|
|
5
|
+
exports.PRESENCE_SET_AVAILABILITY = 'Presence:SetAvailability';
|
|
6
|
+
//#endregion
|
|
7
|
+
//# sourceMappingURL=presence-command-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presence-command-keys.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/presence-command-keys.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AAE9B,QAAA,yBAAyB,GAAG,0BAAmC,CAAC;AAE7E,YAAY"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const AXP_WORKFLOW_START_DEFAULT: "Workflow:Start";
|
|
2
|
+
export declare const AXP_WORKFLOW_RESUME_DEFAULT: "Workflow:Resume";
|
|
3
|
+
export declare const AXP_WORKFLOW_FRONT_ACTIVITY_COMPLETE_DEFAULT: "Workflow:FrontActivityComplete";
|
|
4
|
+
export declare const AXP_WORKFLOW_CLAIM_TASK_DEFAULT: "Workflow:ClaimTask";
|
|
5
|
+
export declare const AXP_WORKFLOW_REASSIGN_TASK_TO_SELF_DEFAULT: "Workflow:ReassignTaskToSelf";
|
|
6
|
+
export declare const AXP_WORKFLOW_REVERT_RESUME_DEFAULT: "Workflow:RevertResumeAfterDeclinedContinuation";
|
|
7
|
+
export declare const AXP_WORKFLOW_CANCEL_INSTANCE_DEFAULT: "Workflow:CancelInstance";
|
|
8
|
+
export declare const AXP_WORKFLOW_GET_STATE_DEFAULT: "Workflow:GetState";
|
|
9
|
+
export declare const AXPWorkflowCommandKeys: {
|
|
10
|
+
readonly Start: "Workflow:Start";
|
|
11
|
+
readonly Resume: "Workflow:Resume";
|
|
12
|
+
readonly FrontActivityComplete: "Workflow:FrontActivityComplete";
|
|
13
|
+
readonly ClaimTask: "Workflow:ClaimTask";
|
|
14
|
+
readonly ReassignTaskToSelf: "Workflow:ReassignTaskToSelf";
|
|
15
|
+
readonly RevertResumeAfterDeclinedContinuation: "Workflow:RevertResumeAfterDeclinedContinuation";
|
|
16
|
+
readonly CancelInstance: "Workflow:CancelInstance";
|
|
17
|
+
};
|
|
18
|
+
export declare const AXPWorkflowQueryKeys: {
|
|
19
|
+
readonly GetState: "Workflow:GetState";
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=workflow-command-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-command-keys.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/workflow-command-keys.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,EAAG,gBAAyB,CAAC;AACpE,eAAO,MAAM,2BAA2B,EAAG,iBAA0B,CAAC;AACtE,eAAO,MAAM,4CAA4C,EAAG,gCAAyC,CAAC;AACtG,eAAO,MAAM,+BAA+B,EAAG,oBAA6B,CAAC;AAC7E,eAAO,MAAM,0CAA0C,EAAG,6BAAsC,CAAC;AACjG,eAAO,MAAM,kCAAkC,EAAG,gDAAyD,CAAC;AAC5G,eAAO,MAAM,oCAAoC,EAAG,yBAAkC,CAAC;AACvF,eAAO,MAAM,8BAA8B,EAAG,mBAA4B,CAAC;AAE3E,eAAO,MAAM,sBAAsB;;;;;;;;CAQzB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;CAEvB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ---- Workflow command/query keys ----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AXPWorkflowQueryKeys = exports.AXPWorkflowCommandKeys = exports.AXP_WORKFLOW_GET_STATE_DEFAULT = exports.AXP_WORKFLOW_CANCEL_INSTANCE_DEFAULT = exports.AXP_WORKFLOW_REVERT_RESUME_DEFAULT = exports.AXP_WORKFLOW_REASSIGN_TASK_TO_SELF_DEFAULT = exports.AXP_WORKFLOW_CLAIM_TASK_DEFAULT = exports.AXP_WORKFLOW_FRONT_ACTIVITY_COMPLETE_DEFAULT = exports.AXP_WORKFLOW_RESUME_DEFAULT = exports.AXP_WORKFLOW_START_DEFAULT = void 0;
|
|
5
|
+
exports.AXP_WORKFLOW_START_DEFAULT = 'Workflow:Start';
|
|
6
|
+
exports.AXP_WORKFLOW_RESUME_DEFAULT = 'Workflow:Resume';
|
|
7
|
+
exports.AXP_WORKFLOW_FRONT_ACTIVITY_COMPLETE_DEFAULT = 'Workflow:FrontActivityComplete';
|
|
8
|
+
exports.AXP_WORKFLOW_CLAIM_TASK_DEFAULT = 'Workflow:ClaimTask';
|
|
9
|
+
exports.AXP_WORKFLOW_REASSIGN_TASK_TO_SELF_DEFAULT = 'Workflow:ReassignTaskToSelf';
|
|
10
|
+
exports.AXP_WORKFLOW_REVERT_RESUME_DEFAULT = 'Workflow:RevertResumeAfterDeclinedContinuation';
|
|
11
|
+
exports.AXP_WORKFLOW_CANCEL_INSTANCE_DEFAULT = 'Workflow:CancelInstance';
|
|
12
|
+
exports.AXP_WORKFLOW_GET_STATE_DEFAULT = 'Workflow:GetState';
|
|
13
|
+
exports.AXPWorkflowCommandKeys = {
|
|
14
|
+
Start: exports.AXP_WORKFLOW_START_DEFAULT,
|
|
15
|
+
Resume: exports.AXP_WORKFLOW_RESUME_DEFAULT,
|
|
16
|
+
FrontActivityComplete: exports.AXP_WORKFLOW_FRONT_ACTIVITY_COMPLETE_DEFAULT,
|
|
17
|
+
ClaimTask: exports.AXP_WORKFLOW_CLAIM_TASK_DEFAULT,
|
|
18
|
+
ReassignTaskToSelf: exports.AXP_WORKFLOW_REASSIGN_TASK_TO_SELF_DEFAULT,
|
|
19
|
+
RevertResumeAfterDeclinedContinuation: exports.AXP_WORKFLOW_REVERT_RESUME_DEFAULT,
|
|
20
|
+
CancelInstance: exports.AXP_WORKFLOW_CANCEL_INSTANCE_DEFAULT,
|
|
21
|
+
};
|
|
22
|
+
exports.AXPWorkflowQueryKeys = {
|
|
23
|
+
GetState: exports.AXP_WORKFLOW_GET_STATE_DEFAULT,
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
//# sourceMappingURL=workflow-command-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-command-keys.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/workflow-command-keys.ts"],"names":[],"mappings":";AAAA,+CAA+C;;;AAElC,QAAA,0BAA0B,GAAG,gBAAyB,CAAC;AACvD,QAAA,2BAA2B,GAAG,iBAA0B,CAAC;AACzD,QAAA,4CAA4C,GAAG,gCAAyC,CAAC;AACzF,QAAA,+BAA+B,GAAG,oBAA6B,CAAC;AAChE,QAAA,0CAA0C,GAAG,6BAAsC,CAAC;AACpF,QAAA,kCAAkC,GAAG,gDAAyD,CAAC;AAC/F,QAAA,oCAAoC,GAAG,yBAAkC,CAAC;AAC1E,QAAA,8BAA8B,GAAG,mBAA4B,CAAC;AAE9D,QAAA,sBAAsB,GAAG;IACpC,KAAK,EAAE,kCAA0B;IACjC,MAAM,EAAE,mCAA2B;IACnC,qBAAqB,EAAE,oDAA4C;IACnE,SAAS,EAAE,uCAA+B;IAC1C,kBAAkB,EAAE,kDAA0C;IAC9D,qCAAqC,EAAE,0CAAkC;IACzE,cAAc,EAAE,4CAAoC;CAC5C,CAAC;AAEE,QAAA,oBAAoB,GAAG;IAClC,QAAQ,EAAE,sCAA8B;CAChC,CAAC;AAEX,YAAY"}
|
|
@@ -1,23 +1,43 @@
|
|
|
1
1
|
export * from './shared/catalog-definition-base.types';
|
|
2
2
|
export * from './shared/catalog-definition.categories';
|
|
3
|
-
export * from './commands/command
|
|
4
|
-
export * from './commands/command-
|
|
3
|
+
export * from './commands/auth-command-keys';
|
|
4
|
+
export * from './commands/bulk-command-failure.util';
|
|
5
|
+
export * from './commands/bulk-command.types';
|
|
6
|
+
export * from './commands/catalog-command-definition';
|
|
5
7
|
export * from './commands/command-definition.categories';
|
|
8
|
+
export * from './commands/command-definition.types';
|
|
9
|
+
export * from './commands/command.interface';
|
|
10
|
+
export * from './commands/command-execute-options.types';
|
|
11
|
+
export * from './commands/command.middleware';
|
|
6
12
|
export * from './commands/define-command';
|
|
7
|
-
export * from './commands/
|
|
13
|
+
export * from './commands/entity-action-command-input';
|
|
8
14
|
export * from './commands/entity-command-keys';
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
15
|
+
export * from './commands/file-command-keys';
|
|
16
|
+
export * from './commands/lock-command-keys';
|
|
17
|
+
export * from './commands/presence-command-keys';
|
|
18
|
+
export * from './commands/workflow-command-keys';
|
|
19
|
+
export * from './queries/domain-query-keys';
|
|
20
|
+
export * from './queries/presence-query-keys';
|
|
13
21
|
export * from './queries/catalog-query-definition';
|
|
22
|
+
export * from './queries/define-query';
|
|
23
|
+
export * from './queries/query-capability.types';
|
|
24
|
+
export * from './queries/query-definition.categories';
|
|
25
|
+
export * from './queries/query-definition.types';
|
|
26
|
+
export * from './queries/query-input.packs';
|
|
27
|
+
export * from './queries/query-kind.types';
|
|
28
|
+
export * from './queries/query-execute-options.types';
|
|
29
|
+
export * from './queries/query.middleware';
|
|
30
|
+
export * from './queries/query.interface';
|
|
14
31
|
export * from './views/view.interface';
|
|
15
|
-
export * from './widgets/widget-definition.types';
|
|
16
|
-
export * from './widgets/widget-definition.categories';
|
|
17
|
-
export * from './widgets/define-widget';
|
|
18
32
|
export * from './widgets/catalog-widget-definition';
|
|
19
|
-
export * from './
|
|
20
|
-
export * from './
|
|
21
|
-
export * from './
|
|
33
|
+
export * from './widgets/define-widget';
|
|
34
|
+
export * from './widgets/get-widgets-for-ai-agent-scope.util';
|
|
35
|
+
export * from './widgets/widget-definition.categories';
|
|
36
|
+
export * from './widgets/widget-definition.types';
|
|
22
37
|
export * from './plugins/catalog-entity-plugin-definition';
|
|
38
|
+
export * from './plugins/define-entity-plugin';
|
|
39
|
+
export * from './plugins/entity-plugin-definition.categories';
|
|
40
|
+
export * from './plugins/entity-plugin-definition.types';
|
|
41
|
+
export * from './transports/runtime-invoke-url.util';
|
|
42
|
+
export * from './transports/runtime-transport.keys';
|
|
23
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,
|
|
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,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0CAA0C,CAAC;AACzD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAE1C,cAAc,wBAAwB,CAAC;AAEvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,yBAAyB,CAAC;AACxC,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wCAAwC,CAAC;AACvD,cAAc,mCAAmC,CAAC;AAElD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AAEzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC"}
|
package/runtime/src/lib/index.js
CHANGED
|
@@ -4,25 +4,45 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
tslib_1.__exportStar(require("./shared/catalog-definition-base.types"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./shared/catalog-definition.categories"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./commands/command
|
|
8
|
-
tslib_1.__exportStar(require("./commands/command-
|
|
7
|
+
tslib_1.__exportStar(require("./commands/auth-command-keys"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./commands/bulk-command-failure.util"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./commands/bulk-command.types"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./commands/catalog-command-definition"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./commands/command-definition.categories"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./commands/command-definition.types"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./commands/command.interface"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./commands/command-execute-options.types"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./commands/command.middleware"), exports);
|
|
10
16
|
tslib_1.__exportStar(require("./commands/define-command"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./commands/
|
|
17
|
+
tslib_1.__exportStar(require("./commands/entity-action-command-input"), exports);
|
|
12
18
|
tslib_1.__exportStar(require("./commands/entity-command-keys"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./
|
|
14
|
-
tslib_1.__exportStar(require("./
|
|
15
|
-
tslib_1.__exportStar(require("./
|
|
16
|
-
tslib_1.__exportStar(require("./
|
|
19
|
+
tslib_1.__exportStar(require("./commands/file-command-keys"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./commands/lock-command-keys"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./commands/presence-command-keys"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./commands/workflow-command-keys"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./queries/domain-query-keys"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./queries/presence-query-keys"), exports);
|
|
17
25
|
tslib_1.__exportStar(require("./queries/catalog-query-definition"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./queries/define-query"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./queries/query-capability.types"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./queries/query-definition.categories"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./queries/query-definition.types"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./queries/query-input.packs"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./queries/query-kind.types"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./queries/query-execute-options.types"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./queries/query.middleware"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./queries/query.interface"), exports);
|
|
18
35
|
tslib_1.__exportStar(require("./views/view.interface"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./widgets/widget-definition.types"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./widgets/widget-definition.categories"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./widgets/define-widget"), exports);
|
|
22
36
|
tslib_1.__exportStar(require("./widgets/catalog-widget-definition"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./
|
|
24
|
-
tslib_1.__exportStar(require("./
|
|
25
|
-
tslib_1.__exportStar(require("./
|
|
37
|
+
tslib_1.__exportStar(require("./widgets/define-widget"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./widgets/get-widgets-for-ai-agent-scope.util"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./widgets/widget-definition.categories"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./widgets/widget-definition.types"), exports);
|
|
26
41
|
tslib_1.__exportStar(require("./plugins/catalog-entity-plugin-definition"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./plugins/define-entity-plugin"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./plugins/entity-plugin-definition.categories"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./plugins/entity-plugin-definition.types"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./transports/runtime-invoke-url.util"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./transports/runtime-transport.keys"), exports);
|
|
27
47
|
//#endregion
|
|
28
48
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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,
|
|
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,+EAAqD;AACrD,wEAA8C;AAC9C,gFAAsD;AACtD,mFAAyD;AACzD,8EAAoD;AACpD,uEAA6C;AAC7C,mFAAyD;AACzD,wEAA8C;AAC9C,oEAA0C;AAC1C,iFAAuD;AACvD,yEAA+C;AAC/C,uEAA6C;AAC7C,uEAA6C;AAC7C,2EAAiD;AACjD,2EAAiD;AAEjD,sEAA4C;AAC5C,wEAA8C;AAE9C,6EAAmD;AACnD,iEAAuC;AACvC,2EAAiD;AACjD,gFAAsD;AACtD,2EAAiD;AACjD,sEAA4C;AAC5C,qEAA2C;AAC3C,gFAAsD;AACtD,qEAA2C;AAC3C,oEAA0C;AAE1C,iEAAuC;AAEvC,8EAAoD;AACpD,kEAAwC;AACxC,wFAA8D;AAC9D,iFAAuD;AACvD,4EAAkD;AAElD,qFAA2D;AAC3D,yEAA+C;AAC/C,wFAA8D;AAC9D,mFAAyD;AAEzD,+EAAqD;AACrD,8EAAoD;AAEpD,YAAY"}
|
|
@@ -1,6 +1,22 @@
|
|
|
1
|
+
import type { AXPCatalogSchemaPropertyDefinition } from '../shared/catalog-definition-base.types';
|
|
2
|
+
import type { AXPQueryArgsSection, AXPQueryFilterSection, AXPQueryPagingSection, AXPQuerySortSection } from './query-capability.types';
|
|
1
3
|
import type { AXPQueryMetadataDefinition } from './query-definition.types';
|
|
4
|
+
export type AXPAlignedQueryMetadataDefinition = Omit<AXPQueryMetadataDefinition, 'args' | 'filter' | 'sort' | 'paging' | 'columns' | 'inputs' | 'outputs'> & {
|
|
5
|
+
args: AXPQueryArgsSection;
|
|
6
|
+
filter: AXPQueryFilterSection;
|
|
7
|
+
sort: AXPQuerySortSection;
|
|
8
|
+
paging: AXPQueryPagingSection;
|
|
9
|
+
columns?: AXPCatalogSchemaPropertyDefinition[];
|
|
10
|
+
};
|
|
2
11
|
/**
|
|
3
|
-
*
|
|
12
|
+
* Prepares query metadata for catalog JSON / DB seed.
|
|
13
|
+
* Produces explicit `{ enabled, definition }` sections for args / filter / sort / paging.
|
|
14
|
+
* Does not emit flattened legacy `inputs` / `outputs` — catalog uses capability sections + `columns`.
|
|
4
15
|
*/
|
|
5
|
-
export declare function
|
|
16
|
+
export declare function alignQueryDefinitionForCatalog(definition: AXPQueryMetadataDefinition): AXPAlignedQueryMetadataDefinition;
|
|
17
|
+
/**
|
|
18
|
+
* Typed helper for query metadata sidecars.
|
|
19
|
+
* Asserts collection-only fields and aligns catalog capability sections before DB seed/catalog gen.
|
|
20
|
+
*/
|
|
21
|
+
export declare function defineQuery<T extends AXPQueryMetadataDefinition>(definition: T): AXPAlignedQueryMetadataDefinition;
|
|
6
22
|
//# sourceMappingURL=define-query.d.ts.map
|
|
@@ -1 +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;
|
|
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,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,KAAK,EACV,mBAAmB,EAInB,qBAAqB,EAErB,qBAAqB,EAErB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAIlC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAwH3E,MAAM,MAAM,iCAAiC,GAAG,IAAI,CAClD,0BAA0B,EAC1B,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CACzE,GAAG;IACF,IAAI,EAAE,mBAAmB,CAAC;IAC1B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,OAAO,CAAC,EAAE,kCAAkC,EAAE,CAAC;CAChD,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,0BAA0B,GACrC,iCAAiC,CAuCnC;AAMD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,0BAA0B,EAC9D,UAAU,EAAE,CAAC,GACZ,iCAAiC,CAenC"}
|