@onecx/integration-interface 4.23.1 → 4.24.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onecx/integration-interface",
3
- "version": "4.23.1",
3
+ "version": "4.24.0",
4
4
  "peerDependencies": {
5
5
  "tslib": "^2.3.0",
6
6
  "rxjs": "7.8.1",
package/src/index.d.ts CHANGED
@@ -16,7 +16,11 @@ export * from './lib/topics/is-authenticated/v1/isAuthenticated.topic';
16
16
  export * from './lib/topics/message/v1/message.model';
17
17
  export * from './lib/topics/message/v1/message.topic';
18
18
  export * from './lib/topics/remote-components/v1/remote-component.model';
19
+ export * from './lib/topics/remote-components/v1/remote-components-info.model';
20
+ export * from './lib/topics/remote-components/v1/slot.model';
19
21
  export * from './lib/topics/remote-components/v1/remote-components.topic';
20
22
  export * from './lib/topics/permissions/v1/permissions.topic';
23
+ export * from './lib/topics/permissions-rpc/v1/permissions-rpc.topic';
24
+ export * from './lib/topics/permissions-rpc/v1/permissions-rpc.model';
21
25
  export * from './lib/topics/events/v1/events-topic';
22
26
  export * from './lib/topics/events/v1/topic-event-type';
package/src/index.js CHANGED
@@ -19,8 +19,12 @@ tslib_1.__exportStar(require("./lib/topics/is-authenticated/v1/isAuthenticated.t
19
19
  tslib_1.__exportStar(require("./lib/topics/message/v1/message.model"), exports);
20
20
  tslib_1.__exportStar(require("./lib/topics/message/v1/message.topic"), exports);
21
21
  tslib_1.__exportStar(require("./lib/topics/remote-components/v1/remote-component.model"), exports);
22
+ tslib_1.__exportStar(require("./lib/topics/remote-components/v1/remote-components-info.model"), exports);
23
+ tslib_1.__exportStar(require("./lib/topics/remote-components/v1/slot.model"), exports);
22
24
  tslib_1.__exportStar(require("./lib/topics/remote-components/v1/remote-components.topic"), exports);
23
25
  tslib_1.__exportStar(require("./lib/topics/permissions/v1/permissions.topic"), exports);
26
+ tslib_1.__exportStar(require("./lib/topics/permissions-rpc/v1/permissions-rpc.topic"), exports);
27
+ tslib_1.__exportStar(require("./lib/topics/permissions-rpc/v1/permissions-rpc.model"), exports);
24
28
  tslib_1.__exportStar(require("./lib/topics/events/v1/events-topic"), exports);
25
29
  tslib_1.__exportStar(require("./lib/topics/events/v1/topic-event-type"), exports);
26
30
  //# 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;AAEjE,iGAAsE;AAEtE,gFAAqD;AACrD,gFAAqD;AAErD,mGAAwE;AACxE,oGAAyE;AAEzE,wFAA6D;AAE7D,8EAAmD;AACnD,kFAAuD"}
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;AAEjE,iGAAsE;AAEtE,gFAAqD;AACrD,gFAAqD;AAErD,mGAAwE;AACxE,yGAA8E;AAC9E,uFAA4D;AAC5D,oGAAyE;AAEzE,wFAA6D;AAE7D,gGAAqE;AACrE,gGAAqE;AAErE,8EAAmD;AACnD,kFAAuD"}
@@ -1,4 +1,4 @@
1
- import { SyncableTopic } from "@onecx/accelerator";
1
+ import { SyncableTopic } from '@onecx/accelerator';
2
2
  export declare class PermissionsTopic extends SyncableTopic<string[]> {
3
3
  constructor();
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"permissions.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/permissions/v1/permissions.topic.ts"],"names":[],"mappings":";;;AAAA,oDAAmD;AAEnD,MAAa,gBAAiB,SAAQ,2BAAuB;IACzD;QACE,KAAK,CAAC,aAAa,EAAE,CAAC,CAAC,CAAA;IACzB,CAAC;CACF;AAJH,4CAIG"}
1
+ {"version":3,"file":"permissions.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/permissions/v1/permissions.topic.ts"],"names":[],"mappings":";;;AAAA,oDAAkD;AAElD,MAAa,gBAAiB,SAAQ,2BAAuB;IAC3D;QACE,KAAK,CAAC,aAAa,EAAE,CAAC,CAAC,CAAA;IACzB,CAAC;CACF;AAJD,4CAIC"}
@@ -0,0 +1,5 @@
1
+ export interface PermissionsRpc {
2
+ appId: string;
3
+ productName: string;
4
+ permissions?: Array<string>;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=permissions-rpc.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permissions-rpc.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/permissions-rpc/v1/permissions-rpc.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { Topic } from '@onecx/accelerator';
2
+ import { PermissionsRpc } from './permissions-rpc.model';
3
+ export declare class PermissionsRpcTopic extends Topic<PermissionsRpc> {
4
+ constructor();
5
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PermissionsRpcTopic = void 0;
4
+ const accelerator_1 = require("@onecx/accelerator");
5
+ class PermissionsRpcTopic extends accelerator_1.Topic {
6
+ constructor() {
7
+ super('permissionsRpc', 1);
8
+ }
9
+ }
10
+ exports.PermissionsRpcTopic = PermissionsRpcTopic;
11
+ //# sourceMappingURL=permissions-rpc.topic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permissions-rpc.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/permissions-rpc/v1/permissions-rpc.topic.ts"],"names":[],"mappings":";;;AAAA,oDAA0C;AAG1C,MAAa,mBAAoB,SAAQ,mBAAqB;IAC5D;QACE,KAAK,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAA;IAC5B,CAAC;CACF;AAJD,kDAIC"}
@@ -1,8 +1,8 @@
1
- export interface RemoteComponent {
1
+ export type RemoteComponent = {
2
2
  name: string;
3
3
  baseUrl: string;
4
4
  remoteEntryUrl: string;
5
5
  appId: string;
6
6
  productName: string;
7
7
  exposedModule: string;
8
- }
8
+ };
@@ -0,0 +1,6 @@
1
+ import { RemoteComponent } from './remote-component.model';
2
+ import { Slot } from './slot.model';
3
+ export type RemoteComponentsInfo = {
4
+ components: RemoteComponent[];
5
+ slots: Slot[];
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=remote-components-info.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remote-components-info.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/remote-components/v1/remote-components-info.model.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { Topic } from '@onecx/accelerator';
2
- import { RemoteComponent } from './remote-component.model';
3
- export declare class RemoteComponentsTopic extends Topic<RemoteComponent[]> {
2
+ import { RemoteComponentsInfo } from './remote-components-info.model';
3
+ export declare class RemoteComponentsTopic extends Topic<RemoteComponentsInfo> {
4
4
  constructor();
5
5
  }
@@ -4,7 +4,7 @@ exports.RemoteComponentsTopic = void 0;
4
4
  const accelerator_1 = require("@onecx/accelerator");
5
5
  class RemoteComponentsTopic extends accelerator_1.Topic {
6
6
  constructor() {
7
- super('remoteComponents', 1);
7
+ super('remoteComponentsInfo', 1);
8
8
  }
9
9
  }
10
10
  exports.RemoteComponentsTopic = RemoteComponentsTopic;
@@ -1 +1 @@
1
- {"version":3,"file":"remote-components.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/remote-components/v1/remote-components.topic.ts"],"names":[],"mappings":";;;AAAA,oDAA0C;AAG1C,MAAa,qBAAsB,SAAQ,mBAAwB;IACjE;QACE,KAAK,CAAC,kBAAkB,EAAE,CAAC,CAAC,CAAA;IAC9B,CAAC;CACF;AAJD,sDAIC"}
1
+ {"version":3,"file":"remote-components.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/remote-components/v1/remote-components.topic.ts"],"names":[],"mappings":";;;AAAA,oDAA0C;AAG1C,MAAa,qBAAsB,SAAQ,mBAA2B;IACpE;QACE,KAAK,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAA;IAClC,CAAC;CACF;AAJD,sDAIC"}
@@ -0,0 +1,4 @@
1
+ export type Slot = {
2
+ name: string;
3
+ components: Array<string>;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=slot.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slot.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/remote-components/v1/slot.model.ts"],"names":[],"mappings":""}