@onecx/integration-interface 4.13.1 → 4.14.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 +1 -1
- package/src/index.d.ts +8 -4
- package/src/index.js +8 -4
- package/src/index.js.map +1 -1
- package/src/lib/topics/current-mfe/v1/mfe-info.model.d.ts +2 -0
- package/src/lib/topics/current-workspace/v1/current-workspace.topic.d.ts +5 -0
- package/src/lib/topics/current-workspace/v1/current-workspace.topic.js +11 -0
- package/src/lib/topics/current-workspace/v1/current-workspace.topic.js.map +1 -0
- package/src/lib/topics/{current-portal → current-workspace}/v1/mfe-portal-registration.model.d.ts +3 -0
- package/src/lib/topics/{current-portal → current-workspace}/v1/mfe-portal-registration.model.js.map +1 -1
- package/src/lib/topics/{current-portal/v1/portal.model.d.ts → current-workspace/v1/workspace.model.d.ts} +28 -1
- package/src/lib/topics/{current-portal/v1/portal.model.js → current-workspace/v1/workspace.model.js} +1 -1
- package/src/lib/topics/current-workspace/v1/workspace.model.js.map +1 -0
- package/src/lib/topics/events/v1/events-topic.d.ts +8 -0
- package/src/lib/topics/events/v1/events-topic.js +17 -0
- package/src/lib/topics/events/v1/events-topic.js.map +1 -0
- package/src/lib/topics/events/v1/topic-event-type.d.ts +4 -0
- package/src/lib/topics/events/v1/topic-event-type.js +3 -0
- package/src/lib/topics/events/v1/topic-event-type.js.map +1 -0
- package/src/lib/topics/permissions/v1/permissions.topic.d.ts +4 -0
- package/src/lib/topics/permissions/v1/permissions.topic.js +11 -0
- package/src/lib/topics/permissions/v1/permissions.topic.js.map +1 -0
- package/src/lib/topics/remote-components/v1/remote-component.model.d.ts +8 -0
- package/src/lib/topics/remote-components/v1/remote-component.model.js +3 -0
- package/src/lib/topics/remote-components/v1/remote-component.model.js.map +1 -0
- package/src/lib/topics/remote-components/v1/remote-components.topic.d.ts +5 -0
- package/src/lib/topics/remote-components/v1/remote-components.topic.js +11 -0
- package/src/lib/topics/remote-components/v1/remote-components.topic.js.map +1 -0
- package/src/lib/topics/current-portal/v1/current-portal.topic.d.ts +0 -5
- package/src/lib/topics/current-portal/v1/current-portal.topic.js +0 -11
- package/src/lib/topics/current-portal/v1/current-portal.topic.js.map +0 -1
- package/src/lib/topics/current-portal/v1/portal.model.js.map +0 -1
- /package/src/lib/topics/{current-portal → current-workspace}/v1/mfe-portal-registration.model.js +0 -0
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -9,10 +9,14 @@ export * from './lib/topics/current-theme/v1/theme.model';
|
|
9
9
|
export * from './lib/topics/user-profile/v1/user-profile.model';
|
10
10
|
export * from './lib/topics/user-profile/v1/user-profile.topic';
|
11
11
|
export * from './lib/topics/configuration/v1/configuration.topic';
|
12
|
-
export * from './lib/topics/current-
|
13
|
-
export * from './lib/topics/current-
|
14
|
-
export * from './lib/topics/current-
|
15
|
-
export * from './lib/topics/is-authenticated/v1/isAuthenticated.topic';
|
12
|
+
export * from './lib/topics/current-workspace/v1/current-workspace.topic';
|
13
|
+
export * from './lib/topics/current-workspace/v1/mfe-portal-registration.model';
|
14
|
+
export * from './lib/topics/current-workspace/v1/workspace.model';
|
16
15
|
export * from './lib/topics/is-authenticated/v1/isAuthenticated.topic';
|
17
16
|
export * from './lib/topics/message/v1/message.model';
|
18
17
|
export * from './lib/topics/message/v1/message.topic';
|
18
|
+
export * from './lib/topics/remote-components/v1/remote-component.model';
|
19
|
+
export * from './lib/topics/remote-components/v1/remote-components.topic';
|
20
|
+
export * from './lib/topics/permissions/v1/permissions.topic';
|
21
|
+
export * from './lib/topics/events/v1/events-topic';
|
22
|
+
export * from './lib/topics/events/v1/topic-event-type';
|
package/src/index.js
CHANGED
@@ -12,11 +12,15 @@ tslib_1.__exportStar(require("./lib/topics/current-theme/v1/theme.model"), expor
|
|
12
12
|
tslib_1.__exportStar(require("./lib/topics/user-profile/v1/user-profile.model"), exports);
|
13
13
|
tslib_1.__exportStar(require("./lib/topics/user-profile/v1/user-profile.topic"), exports);
|
14
14
|
tslib_1.__exportStar(require("./lib/topics/configuration/v1/configuration.topic"), exports);
|
15
|
-
tslib_1.__exportStar(require("./lib/topics/current-
|
16
|
-
tslib_1.__exportStar(require("./lib/topics/current-
|
17
|
-
tslib_1.__exportStar(require("./lib/topics/current-
|
18
|
-
tslib_1.__exportStar(require("./lib/topics/is-authenticated/v1/isAuthenticated.topic"), exports);
|
15
|
+
tslib_1.__exportStar(require("./lib/topics/current-workspace/v1/current-workspace.topic"), exports);
|
16
|
+
tslib_1.__exportStar(require("./lib/topics/current-workspace/v1/mfe-portal-registration.model"), exports);
|
17
|
+
tslib_1.__exportStar(require("./lib/topics/current-workspace/v1/workspace.model"), exports);
|
19
18
|
tslib_1.__exportStar(require("./lib/topics/is-authenticated/v1/isAuthenticated.topic"), exports);
|
20
19
|
tslib_1.__exportStar(require("./lib/topics/message/v1/message.model"), exports);
|
21
20
|
tslib_1.__exportStar(require("./lib/topics/message/v1/message.topic"), exports);
|
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.topic"), exports);
|
23
|
+
tslib_1.__exportStar(require("./lib/topics/permissions/v1/permissions.topic"), exports);
|
24
|
+
tslib_1.__exportStar(require("./lib/topics/events/v1/events-topic"), exports);
|
25
|
+
tslib_1.__exportStar(require("./lib/topics/events/v1/topic-event-type"), exports);
|
22
26
|
//# 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;
|
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"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CurrentWorkspaceTopic = void 0;
|
4
|
+
const accelerator_1 = require("@onecx/accelerator");
|
5
|
+
class CurrentWorkspaceTopic extends accelerator_1.SyncableTopic {
|
6
|
+
constructor() {
|
7
|
+
super('currentPortal', 1);
|
8
|
+
}
|
9
|
+
}
|
10
|
+
exports.CurrentWorkspaceTopic = CurrentWorkspaceTopic;
|
11
|
+
//# sourceMappingURL=current-workspace.topic.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"current-workspace.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-workspace/v1/current-workspace.topic.ts"],"names":[],"mappings":";;;AAAA,oDAAkD;AAGlD,MAAa,qBAAsB,SAAQ,2BAAwB;IACjE;QACE,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,CAAA;IAC3B,CAAC;CACF;AAJD,sDAIC"}
|
package/src/lib/topics/{current-portal → current-workspace}/v1/mfe-portal-registration.model.js.map
RENAMED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mfe-portal-registration.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-
|
1
|
+
{"version":3,"file":"mfe-portal-registration.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-workspace/v1/mfe-portal-registration.model.ts"],"names":[],"mappings":""}
|
@@ -1,7 +1,13 @@
|
|
1
1
|
import { MicrofrontendRegistration } from './mfe-portal-registration.model';
|
2
|
-
export interface
|
2
|
+
export interface Workspace {
|
3
3
|
id?: string;
|
4
|
+
/**
|
5
|
+
* @deprecated will be renamed to workspaceName
|
6
|
+
*/
|
4
7
|
portalName: string;
|
8
|
+
/**
|
9
|
+
* @deprecated will be removed
|
10
|
+
*/
|
5
11
|
description?: string;
|
6
12
|
themeId?: string;
|
7
13
|
themeName?: string;
|
@@ -10,7 +16,13 @@ export interface Portal {
|
|
10
16
|
baseUrl: string;
|
11
17
|
companyName?: string;
|
12
18
|
portalRoles?: string[];
|
19
|
+
/**
|
20
|
+
* @deprecated will be removed
|
21
|
+
*/
|
13
22
|
imageUrls?: string[];
|
23
|
+
/**
|
24
|
+
* @deprecated will be removed
|
25
|
+
*/
|
14
26
|
address?: {
|
15
27
|
city?: string;
|
16
28
|
country?: string;
|
@@ -18,16 +30,31 @@ export interface Portal {
|
|
18
30
|
street?: string;
|
19
31
|
streetNo?: string;
|
20
32
|
};
|
33
|
+
/**
|
34
|
+
* @deprecated will be removed
|
35
|
+
*/
|
21
36
|
phoneNumber?: string;
|
37
|
+
/**
|
38
|
+
* @deprecated will be removed
|
39
|
+
*/
|
22
40
|
rssFeedUrl?: string;
|
41
|
+
/**
|
42
|
+
* @deprecated will be removed
|
43
|
+
*/
|
23
44
|
subjectLinks?: [
|
24
45
|
{
|
25
46
|
label?: string;
|
26
47
|
url?: string;
|
27
48
|
}
|
28
49
|
];
|
50
|
+
/**
|
51
|
+
* @deprecated will be removed
|
52
|
+
*/
|
29
53
|
microfrontendRegistrations: Array<MicrofrontendRegistration>;
|
30
54
|
logoUrl?: string;
|
55
|
+
/**
|
56
|
+
* @deprecated will be removed
|
57
|
+
*/
|
31
58
|
userUploaded?: boolean;
|
32
59
|
logoSmallImageUrl?: string;
|
33
60
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"workspace.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-workspace/v1/workspace.model.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { Topic, TopicPublisher } from '@onecx/accelerator';
|
2
|
+
import { TopicEventType } from './topic-event-type';
|
3
|
+
export declare class EventsPublisher extends TopicPublisher<TopicEventType> {
|
4
|
+
constructor();
|
5
|
+
}
|
6
|
+
export declare class EventsTopic extends Topic<TopicEventType> {
|
7
|
+
constructor();
|
8
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EventsTopic = exports.EventsPublisher = void 0;
|
4
|
+
const accelerator_1 = require("@onecx/accelerator");
|
5
|
+
class EventsPublisher extends accelerator_1.TopicPublisher {
|
6
|
+
constructor() {
|
7
|
+
super('events', 1);
|
8
|
+
}
|
9
|
+
}
|
10
|
+
exports.EventsPublisher = EventsPublisher;
|
11
|
+
class EventsTopic extends accelerator_1.Topic {
|
12
|
+
constructor() {
|
13
|
+
super('events', 1, false);
|
14
|
+
}
|
15
|
+
}
|
16
|
+
exports.EventsTopic = EventsTopic;
|
17
|
+
//# sourceMappingURL=events-topic.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"events-topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/events/v1/events-topic.ts"],"names":[],"mappings":";;;AAAA,oDAA0D;AAG1D,MAAa,eAAgB,SAAQ,4BAA8B;IACjE;QACE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;IACpB,CAAC;CACF;AAJD,0CAIC;AAED,MAAa,WAAY,SAAQ,mBAAqB;IACpD;QACE,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAE,KAAK,CAAC,CAAA;IAC3B,CAAC;CACF;AAJD,kCAIC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"topic-event-type.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/events/v1/topic-event-type.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PermissionsTopic = void 0;
|
4
|
+
const accelerator_1 = require("@onecx/accelerator");
|
5
|
+
class PermissionsTopic extends accelerator_1.Topic {
|
6
|
+
constructor() {
|
7
|
+
super('permissions', 1);
|
8
|
+
}
|
9
|
+
}
|
10
|
+
exports.PermissionsTopic = PermissionsTopic;
|
11
|
+
//# sourceMappingURL=permissions.topic.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"permissions.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/permissions/v1/permissions.topic.ts"],"names":[],"mappings":";;;AAAA,oDAA2C;AAE3C,MAAa,gBAAiB,SAAQ,mBAAe;IACjD;QACE,KAAK,CAAC,aAAa,EAAE,CAAC,CAAC,CAAA;IACzB,CAAC;CACF;AAJH,4CAIG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"remote-component.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/remote-components/v1/remote-component.model.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RemoteComponentsTopic = void 0;
|
4
|
+
const accelerator_1 = require("@onecx/accelerator");
|
5
|
+
class RemoteComponentsTopic extends accelerator_1.Topic {
|
6
|
+
constructor() {
|
7
|
+
super('remoteComponents', 1);
|
8
|
+
}
|
9
|
+
}
|
10
|
+
exports.RemoteComponentsTopic = RemoteComponentsTopic;
|
11
|
+
//# sourceMappingURL=remote-components.topic.js.map
|
@@ -0,0 +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,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CurrentPortalTopic = void 0;
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
5
|
-
class CurrentPortalTopic extends accelerator_1.SyncableTopic {
|
6
|
-
constructor() {
|
7
|
-
super('currentPortal', 1);
|
8
|
-
}
|
9
|
-
}
|
10
|
-
exports.CurrentPortalTopic = CurrentPortalTopic;
|
11
|
-
//# sourceMappingURL=current-portal.topic.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"current-portal.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-portal/v1/current-portal.topic.ts"],"names":[],"mappings":";;;AAAA,oDAAkD;AAGlD,MAAa,kBAAmB,SAAQ,2BAAqB;IAC3D;QACE,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,CAAA;IAC3B,CAAC;CACF;AAJD,gDAIC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"portal.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-portal/v1/portal.model.ts"],"names":[],"mappings":""}
|
/package/src/lib/topics/{current-portal → current-workspace}/v1/mfe-portal-registration.model.js
RENAMED
File without changes
|