@onecx/integration-interface 6.9.0 → 7.0.0-rc.2

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 CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@onecx/integration-interface",
3
- "version": "6.9.0",
3
+ "version": "7.0.0-rc.2",
4
4
  "license": "Apache-2.0",
5
5
  "peerDependencies": {
6
6
  "tslib": "^2.6.3",
7
7
  "rxjs": "^7.8.1",
8
- "@onecx/accelerator": "^6.9.0",
9
- "@onecx/nx-migration-utils": "^6.9.0",
8
+ "@onecx/accelerator": "^7.0.0-rc.2",
9
+ "@onecx/nx-migration-utils": "^7.0.0-rc.2",
10
10
  "@nx/devkit": "^20.3.0",
11
11
  "@phenomnomnominal/tsquery": "^6",
12
12
  "typescript": "^5.5.4"
package/src/index.d.ts CHANGED
@@ -26,6 +26,8 @@ export * from './lib/topics/permissions-rpc/v1/permissions-rpc.topic';
26
26
  export * from './lib/topics/permissions-rpc/v1/permissions-rpc.model';
27
27
  export * from './lib/topics/events/v1/events-topic';
28
28
  export * from './lib/topics/events/v1/topic-event-type';
29
+ export * from './lib/topics/events/v1/event-type';
30
+ export * from './lib/topics/events/v1/slots-resized-type';
29
31
  export * from './lib/topics/events/v1/navigated-event-type';
30
32
  export * from './lib/topics/events/v1/navigated-event-payload';
31
33
  export * from './lib/topics/current-location/v1/current-location.model';
package/src/index.js CHANGED
@@ -29,6 +29,8 @@ tslib_1.__exportStar(require("./lib/topics/permissions-rpc/v1/permissions-rpc.to
29
29
  tslib_1.__exportStar(require("./lib/topics/permissions-rpc/v1/permissions-rpc.model"), exports);
30
30
  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
+ tslib_1.__exportStar(require("./lib/topics/events/v1/event-type"), exports);
33
+ tslib_1.__exportStar(require("./lib/topics/events/v1/slots-resized-type"), exports);
32
34
  tslib_1.__exportStar(require("./lib/topics/events/v1/navigated-event-type"), exports);
33
35
  tslib_1.__exportStar(require("./lib/topics/events/v1/navigated-event-payload"), exports);
34
36
  tslib_1.__exportStar(require("./lib/topics/current-location/v1/current-location.model"), exports);
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;AAEvE,sFAA2D"}
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,4EAAiD;AACjD,oFAAyD;AACzD,sFAA2D;AAC3D,yFAA8D;AAE9D,kGAAuE;AACvE,kGAAuE;AAEvE,sFAA2D"}
@@ -0,0 +1,5 @@
1
+ export declare enum EventType {
2
+ NAVIGATED = "navigated",
3
+ AUTH_LOGOUT_BUTTON_CLICKED = "authentication#logoutButtonClicked",
4
+ SLOT_RESIZED = "slot#resized"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventType = void 0;
4
+ var EventType;
5
+ (function (EventType) {
6
+ EventType["NAVIGATED"] = "navigated";
7
+ EventType["AUTH_LOGOUT_BUTTON_CLICKED"] = "authentication#logoutButtonClicked";
8
+ EventType["SLOT_RESIZED"] = "slot#resized";
9
+ })(EventType || (exports.EventType = EventType = {}));
10
+ //# sourceMappingURL=event-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-type.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/events/v1/event-type.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,8EAAiE,CAAA;IACjE,0CAA6B,CAAA;AAC/B,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB"}
@@ -1,8 +1,9 @@
1
+ import { EventType } from './event-type';
1
2
  import { NavigatedEventPayload } from './navigated-event-payload';
2
3
  /**
3
4
  * @deprecated Use CurrentLocationTopic instead of EventsTopic for navigated events
4
5
  */
5
6
  export type NavigatedEvent = {
6
- type: 'navigated';
7
+ type: EventType.NAVIGATED;
7
8
  payload: NavigatedEventPayload;
8
9
  };
@@ -0,0 +1,13 @@
1
+ import { EventType } from './event-type';
2
+ export type SlotResizedDetails = {
3
+ width: number;
4
+ height: number;
5
+ };
6
+ export type SlotResizedEventPayload = {
7
+ slotName: string;
8
+ slotDetails: SlotResizedDetails;
9
+ };
10
+ export type SlotResizedEvent = {
11
+ type: EventType.SLOT_RESIZED;
12
+ payload: SlotResizedEventPayload;
13
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=slots-resized-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slots-resized-type.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/events/v1/slots-resized-type.ts"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
+ import { EventType } from './event-type';
1
2
  import { NavigatedEvent } from './navigated-event-type';
2
3
  export type TopicEventType = NavigatedEvent | {
3
- type: string;
4
+ type: EventType | string;
4
5
  payload?: unknown | undefined;
5
6
  };