@onecx/integration-interface 5.35.0 → 5.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/lib/topics/parameters/v1/parameters.topic.d.ts +20 -0
- package/src/lib/topics/parameters/v1/parameters.topic.js +17 -0
- package/src/lib/topics/parameters/v1/parameters.topic.js.map +1 -0
package/package.json
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "@onecx/integration-interface",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.36.0",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"peerDependencies": {
|
6
6
|
"tslib": "^2.6.3",
|
7
7
|
"rxjs": "^7.8.1",
|
8
8
|
"@phenomnomnominal/tsquery": "^6",
|
9
9
|
"@nx/devkit": "^19.8.0",
|
10
|
-
"@onecx/accelerator": "^5.
|
11
|
-
"@onecx/nx-migration-utils": "^5.
|
10
|
+
"@onecx/accelerator": "^5.36.0",
|
11
|
+
"@onecx/nx-migration-utils": "^5.36.0",
|
12
12
|
"typescript": "^5.5.4"
|
13
13
|
},
|
14
14
|
"type": "commonjs",
|
package/src/index.d.ts
CHANGED
@@ -30,3 +30,4 @@ export * from './lib/topics/events/v1/navigated-event-type';
|
|
30
30
|
export * from './lib/topics/events/v1/navigated-event-payload';
|
31
31
|
export * from './lib/topics/current-location/v1/current-location.model';
|
32
32
|
export * from './lib/topics/current-location/v1/current-location.topic';
|
33
|
+
export * from './lib/topics/parameters/v1/parameters.topic';
|
package/src/index.js
CHANGED
@@ -33,4 +33,5 @@ tslib_1.__exportStar(require("./lib/topics/events/v1/navigated-event-type"), exp
|
|
33
33
|
tslib_1.__exportStar(require("./lib/topics/events/v1/navigated-event-payload"), exports);
|
34
34
|
tslib_1.__exportStar(require("./lib/topics/current-location/v1/current-location.model"), exports);
|
35
35
|
tslib_1.__exportStar(require("./lib/topics/current-location/v1/current-location.topic"), exports);
|
36
|
+
tslib_1.__exportStar(require("./lib/topics/parameters/v1/parameters.topic"), exports);
|
36
37
|
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/integration-interface/src/index.ts"],"names":[],"mappings":";;;AAAA,wFAA6D;AAC7D,qFAA0D;AAC1D,0FAA+D;AAC/D,uFAA4D;AAE5D,0FAA+D;AAE/D,8FAAmE;AAEnE,4FAAiE;AACjE,oFAAyD;AAEzD,0FAA+D;AAC/D,0FAA+D;AAE/D,4FAAiE;AAEjE,oGAAyE;AACzE,0GAA+E;AAC/E,4FAAiE;AACjE,wFAA6D;AAC7D,2FAAgE;AAEhE,iGAAsE;AAEtE,gFAAqD;AACrD,gFAAqD;AAErD,mGAAwE;AACxE,yGAA8E;AAC9E,uFAA4D;AAC5D,oGAAyE;AAEzE,wFAA6D;AAE7D,gGAAqE;AACrE,gGAAqE;AAErE,8EAAmD;AACnD,kFAAuD;AACvD,sFAA2D;AAC3D,yFAA8D;AAE9D,kGAAuE;AACvE,kGAAuE"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/integration-interface/src/index.ts"],"names":[],"mappings":";;;AAAA,wFAA6D;AAC7D,qFAA0D;AAC1D,0FAA+D;AAC/D,uFAA4D;AAE5D,0FAA+D;AAE/D,8FAAmE;AAEnE,4FAAiE;AACjE,oFAAyD;AAEzD,0FAA+D;AAC/D,0FAA+D;AAE/D,4FAAiE;AAEjE,oGAAyE;AACzE,0GAA+E;AAC/E,4FAAiE;AACjE,wFAA6D;AAC7D,2FAAgE;AAEhE,iGAAsE;AAEtE,gFAAqD;AACrD,gFAAqD;AAErD,mGAAwE;AACxE,yGAA8E;AAC9E,uFAA4D;AAC5D,oGAAyE;AAEzE,wFAA6D;AAE7D,gGAAqE;AACrE,gGAAqE;AAErE,8EAAmD;AACnD,kFAAuD;AACvD,sFAA2D;AAC3D,yFAA8D;AAE9D,kGAAuE;AACvE,kGAAuE;AAEvE,sFAA2D"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { Topic, TopicPublisher } from '@onecx/accelerator';
|
2
|
+
type ParameterValue = boolean | number | string | object;
|
3
|
+
export interface Parameters {
|
4
|
+
[key: string]: ParameterValue;
|
5
|
+
}
|
6
|
+
export interface ApplicationParameters {
|
7
|
+
productName: string;
|
8
|
+
appId: string;
|
9
|
+
parameters: Parameters;
|
10
|
+
}
|
11
|
+
export interface ParametersTopicPayload {
|
12
|
+
parameters: ApplicationParameters[];
|
13
|
+
}
|
14
|
+
export declare class ParametersPublisher extends TopicPublisher<ParametersTopicPayload> {
|
15
|
+
constructor();
|
16
|
+
}
|
17
|
+
export declare class ParametersTopic extends Topic<ParametersTopicPayload> {
|
18
|
+
constructor();
|
19
|
+
}
|
20
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ParametersTopic = exports.ParametersPublisher = void 0;
|
4
|
+
const accelerator_1 = require("@onecx/accelerator");
|
5
|
+
class ParametersPublisher extends accelerator_1.TopicPublisher {
|
6
|
+
constructor() {
|
7
|
+
super('parameters', 1);
|
8
|
+
}
|
9
|
+
}
|
10
|
+
exports.ParametersPublisher = ParametersPublisher;
|
11
|
+
class ParametersTopic extends accelerator_1.Topic {
|
12
|
+
constructor() {
|
13
|
+
super('parameters', 1);
|
14
|
+
}
|
15
|
+
}
|
16
|
+
exports.ParametersTopic = ParametersTopic;
|
17
|
+
//# sourceMappingURL=parameters.topic.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"parameters.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/parameters/v1/parameters.topic.ts"],"names":[],"mappings":";;;AAAA,oDAA0D;AAkB1D,MAAa,mBAAoB,SAAQ,4BAAsC;IAC7E;QACE,KAAK,CAAC,YAAY,EAAE,CAAC,CAAC,CAAA;IACxB,CAAC;CACF;AAJD,kDAIC;AAED,MAAa,eAAgB,SAAQ,mBAA6B;IAChE;QACE,KAAK,CAAC,YAAY,EAAE,CAAC,CAAC,CAAA;IACxB,CAAC;CACF;AAJD,0CAIC"}
|