@onecx/integration-interface 5.34.5 → 5.35.1

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.
@@ -0,0 +1,16 @@
1
+ {
2
+ "generators": {
3
+ "warn-for-events-topic-navigated": {
4
+ "cli": "nx",
5
+ "version": "5.34.6",
6
+ "description": "Detects and warns for usage of the EventsTopic in the context of navigation",
7
+ "factory": "migrations/v5/warn-for-events-topic-navigated"
8
+ },
9
+ "warn-for-events-publisher-navigated": {
10
+ "cli": "nx",
11
+ "version": "5.34.6",
12
+ "description": "Detects and warns for usage of the EventsPublisher in the context of navigation",
13
+ "factory": "migrations/v5/warn-for-events-publisher-navigated"
14
+ }
15
+ }
16
+ }
package/package.json CHANGED
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "@onecx/integration-interface",
3
- "version": "5.34.5",
3
+ "version": "5.35.1",
4
4
  "license": "Apache-2.0",
5
5
  "peerDependencies": {
6
6
  "tslib": "^2.6.3",
7
7
  "rxjs": "^7.8.1",
8
- "@onecx/accelerator": "^5.34.5"
8
+ "@phenomnomnominal/tsquery": "^6",
9
+ "@nx/devkit": "^19.8.0",
10
+ "@onecx/accelerator": "^5.35.1",
11
+ "@onecx/nx-migration-utils": "^5.35.1",
12
+ "typescript": "^5.5.4"
9
13
  },
10
14
  "type": "commonjs",
11
15
  "main": "./src/index.js",
@@ -13,5 +17,8 @@
13
17
  "publishConfig": {
14
18
  "access": "public"
15
19
  },
20
+ "nx-migrations": {
21
+ "migrations": "./migrations.json"
22
+ },
16
23
  "types": "./src/index.d.ts"
17
24
  }
package/src/index.d.ts CHANGED
@@ -28,3 +28,5 @@ export * from './lib/topics/events/v1/events-topic';
28
28
  export * from './lib/topics/events/v1/topic-event-type';
29
29
  export * from './lib/topics/events/v1/navigated-event-type';
30
30
  export * from './lib/topics/events/v1/navigated-event-payload';
31
+ export * from './lib/topics/current-location/v1/current-location.model';
32
+ export * from './lib/topics/current-location/v1/current-location.topic';
package/src/index.js CHANGED
@@ -31,4 +31,6 @@ tslib_1.__exportStar(require("./lib/topics/events/v1/events-topic"), exports);
31
31
  tslib_1.__exportStar(require("./lib/topics/events/v1/topic-event-type"), exports);
32
32
  tslib_1.__exportStar(require("./lib/topics/events/v1/navigated-event-type"), exports);
33
33
  tslib_1.__exportStar(require("./lib/topics/events/v1/navigated-event-payload"), exports);
34
+ tslib_1.__exportStar(require("./lib/topics/current-location/v1/current-location.model"), exports);
35
+ tslib_1.__exportStar(require("./lib/topics/current-location/v1/current-location.topic"), exports);
34
36
  //# 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"}
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"}
@@ -0,0 +1,4 @@
1
+ export interface CurrentLocationTopicPayload {
2
+ url?: string;
3
+ isFirst: boolean;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=current-location.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"current-location.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-location/v1/current-location.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { Topic, TopicPublisher } from '@onecx/accelerator';
2
+ import { CurrentLocationTopicPayload } from './current-location.model';
3
+ export declare class CurrentLocationPublisher extends TopicPublisher<CurrentLocationTopicPayload> {
4
+ constructor();
5
+ }
6
+ export declare class CurrentLocationTopic extends Topic<CurrentLocationTopicPayload> {
7
+ constructor();
8
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CurrentLocationTopic = exports.CurrentLocationPublisher = void 0;
4
+ const accelerator_1 = require("@onecx/accelerator");
5
+ class CurrentLocationPublisher extends accelerator_1.TopicPublisher {
6
+ constructor() {
7
+ super('currentLocation', 1);
8
+ }
9
+ }
10
+ exports.CurrentLocationPublisher = CurrentLocationPublisher;
11
+ class CurrentLocationTopic extends accelerator_1.Topic {
12
+ constructor() {
13
+ super('currentLocation', 1);
14
+ }
15
+ }
16
+ exports.CurrentLocationTopic = CurrentLocationTopic;
17
+ //# sourceMappingURL=current-location.topic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"current-location.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-location/v1/current-location.topic.ts"],"names":[],"mappings":";;;AAAA,oDAA0D;AAG1D,MAAa,wBAAyB,SAAQ,4BAA2C;IACvF;QACE,KAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAA;IAC7B,CAAC;CACF;AAJD,4DAIC;AAED,MAAa,oBAAqB,SAAQ,mBAAkC;IAC1E;QACE,KAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAA;IAC7B,CAAC;CACF;AAJD,oDAIC"}
@@ -1,4 +1,7 @@
1
1
  import { NavigatedEventPayload } from './navigated-event-payload';
2
+ /**
3
+ * @deprecated Use CurrentLocationTopic instead of EventsTopic for navigated events
4
+ */
2
5
  export type NavigatedEvent = {
3
6
  type: 'navigated';
4
7
  payload: NavigatedEventPayload;