@onecx/integration-interface 5.37.0 → 6.0.0-rc.10
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/migrations.json +23 -1
- package/package.json +4 -4
- package/src/lib/topics/configuration/v1/configuration.topic.d.ts +2 -2
- package/src/lib/topics/configuration/v1/configuration.topic.js +1 -1
- package/src/lib/topics/configuration/v1/configuration.topic.js.map +1 -1
- package/src/lib/topics/current-workspace/v1/current-workspace.topic.d.ts +2 -2
- package/src/lib/topics/current-workspace/v1/current-workspace.topic.js +1 -1
- package/src/lib/topics/current-workspace/v1/current-workspace.topic.js.map +1 -1
- package/src/lib/topics/current-workspace/v1/workspace.model.d.ts +30 -6
package/migrations.json
CHANGED
@@ -11,6 +11,28 @@
|
|
11
11
|
"version": "5.34.6",
|
12
12
|
"description": "Detects and warns for usage of the EventsPublisher in the context of navigation",
|
13
13
|
"factory": "migrations/v5/warn-for-events-publisher-navigated"
|
14
|
-
}
|
14
|
+
},
|
15
|
+
"migrate-onecx-to-v6": {
|
16
|
+
"cli": "nx",
|
17
|
+
"version": "6.0.0",
|
18
|
+
"description": "Update package json to Angular 19, PrimeNG 19, OneCX versions to v6 and other dependencies to be compatible with Angular 19.",
|
19
|
+
"factory": "migrations/v6/migrate-onecx-to-v6"
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"packageJsonUpdates": {
|
23
|
+
"6.0.0": {
|
24
|
+
"version": "6.0.0",
|
25
|
+
"packages": {
|
26
|
+
"@angular/cli": {
|
27
|
+
"version": "~19.0.0",
|
28
|
+
"alwaysAddToPackageJson": false
|
29
|
+
},
|
30
|
+
"@nx/angular": {
|
31
|
+
"version": "~20.3.0",
|
32
|
+
"alwaysAddToPackageJson": false
|
33
|
+
}
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"version": "null"
|
15
37
|
}
|
16
38
|
}
|
package/package.json
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "@onecx/integration-interface",
|
3
|
-
"version": "
|
3
|
+
"version": "6.0.0-rc.10",
|
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.0.0-rc.10",
|
9
|
+
"@onecx/nx-migration-utils": "^6.0.0-rc.10",
|
10
|
+
"@nx/devkit": "^20.3.0",
|
8
11
|
"@phenomnomnominal/tsquery": "^6",
|
9
|
-
"@nx/devkit": "^19.8.0",
|
10
|
-
"@onecx/accelerator": "^5.37.0",
|
11
|
-
"@onecx/nx-migration-utils": "^5.37.0",
|
12
12
|
"typescript": "^5.5.4"
|
13
13
|
},
|
14
14
|
"type": "commonjs",
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
2
2
|
export interface Config {
|
3
3
|
[key: string]: string;
|
4
4
|
}
|
5
|
-
export declare class ConfigurationTopic extends
|
5
|
+
export declare class ConfigurationTopic extends Topic<Config> {
|
6
6
|
constructor();
|
7
7
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ConfigurationTopic = void 0;
|
4
4
|
const accelerator_1 = require("@onecx/accelerator");
|
5
|
-
class ConfigurationTopic extends accelerator_1.
|
5
|
+
class ConfigurationTopic extends accelerator_1.Topic {
|
6
6
|
constructor() {
|
7
7
|
super('configuration', 1);
|
8
8
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"configuration.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/configuration/v1/configuration.topic.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"configuration.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/configuration/v1/configuration.topic.ts"],"names":[],"mappings":";;;AAAA,oDAA0C;AAM1C,MAAa,kBAAmB,SAAQ,mBAAa;IACnD;QACE,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,CAAA;IAC3B,CAAC;CACF;AAJD,gDAIC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
2
2
|
import { Workspace } from './workspace.model';
|
3
|
-
export declare class CurrentWorkspaceTopic extends
|
3
|
+
export declare class CurrentWorkspaceTopic extends Topic<Workspace> {
|
4
4
|
constructor();
|
5
5
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CurrentWorkspaceTopic = void 0;
|
4
4
|
const accelerator_1 = require("@onecx/accelerator");
|
5
|
-
class CurrentWorkspaceTopic extends accelerator_1.
|
5
|
+
class CurrentWorkspaceTopic extends accelerator_1.Topic {
|
6
6
|
constructor() {
|
7
7
|
super('currentPortal', 1);
|
8
8
|
}
|
@@ -1 +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,
|
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,oDAA0C;AAG1C,MAAa,qBAAsB,SAAQ,mBAAgB;IACzD;QACE,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,CAAA;IAC3B,CAAC;CACF;AAJD,sDAIC"}
|
@@ -1,23 +1,42 @@
|
|
1
1
|
import { MicrofrontendRegistration } from './mfe-portal-registration.model';
|
2
2
|
import { Route } from './route.model';
|
3
3
|
export interface Workspace {
|
4
|
-
|
5
|
-
|
4
|
+
baseUrl: string;
|
5
|
+
workspaceName: string;
|
6
6
|
/**
|
7
7
|
* @deprecated will be renamed to workspaceName
|
8
8
|
*/
|
9
9
|
portalName: string;
|
10
|
-
|
10
|
+
displayName?: string;
|
11
|
+
homePage?: string;
|
12
|
+
routes?: Array<Route>;
|
13
|
+
/**
|
14
|
+
* @deprecated will be removed
|
15
|
+
*/
|
16
|
+
id?: string;
|
11
17
|
/**
|
12
18
|
* @deprecated will be removed
|
13
19
|
*/
|
14
20
|
description?: string;
|
21
|
+
/**
|
22
|
+
* @deprecated will be removed
|
23
|
+
*/
|
15
24
|
themeId?: string;
|
25
|
+
/**
|
26
|
+
* @deprecated will be removed
|
27
|
+
*/
|
16
28
|
themeName?: string;
|
29
|
+
/**
|
30
|
+
* @deprecated will be removed
|
31
|
+
*/
|
17
32
|
footerLabel?: string;
|
18
|
-
|
19
|
-
|
33
|
+
/**
|
34
|
+
* @deprecated will be removed
|
35
|
+
*/
|
20
36
|
companyName?: string;
|
37
|
+
/**
|
38
|
+
* @deprecated will be removed
|
39
|
+
*/
|
21
40
|
portalRoles?: string[];
|
22
41
|
/**
|
23
42
|
* @deprecated will be removed
|
@@ -54,11 +73,16 @@ export interface Workspace {
|
|
54
73
|
* @deprecated will be removed
|
55
74
|
*/
|
56
75
|
microfrontendRegistrations: Array<MicrofrontendRegistration>;
|
76
|
+
/**
|
77
|
+
* @deprecated will be removed
|
78
|
+
*/
|
57
79
|
logoUrl?: string;
|
58
80
|
/**
|
59
81
|
* @deprecated will be removed
|
60
82
|
*/
|
61
83
|
userUploaded?: boolean;
|
84
|
+
/**
|
85
|
+
* @deprecated will be removed
|
86
|
+
*/
|
62
87
|
logoSmallImageUrl?: string;
|
63
|
-
routes?: Array<Route>;
|
64
88
|
}
|