@onecx/integration-interface 7.6.1 → 7.7.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.
- package/package.json +2 -17
- package/src/index.d.ts +3 -0
- package/src/index.js +3 -0
- package/src/index.js.map +1 -1
- package/src/lib/services/notification.service.d.ts +7 -0
- package/src/lib/services/notification.service.js +19 -0
- package/src/lib/services/notification.service.js.map +1 -0
- package/src/lib/topics/notification/v1/notification.model.d.ts +21 -0
- package/src/lib/topics/notification/v1/notification.model.js +3 -0
- package/src/lib/topics/notification/v1/notification.model.js.map +1 -0
- package/src/lib/topics/notification/v1/notification.topic.d.ts +5 -0
- package/src/lib/topics/notification/v1/notification.topic.js +11 -0
- package/src/lib/topics/notification/v1/notification.topic.js.map +1 -0
- package/migrations/index.d.ts +0 -3
- package/migrations/index.js +0 -7
- package/migrations/index.js.map +0 -1
- package/migrations/v5/warn-for-events-publisher-navigated.d.ts +0 -2
- package/migrations/v5/warn-for-events-publisher-navigated.js +0 -33
- package/migrations/v5/warn-for-events-publisher-navigated.js.map +0 -1
- package/migrations/v5/warn-for-events-topic-navigated.d.ts +0 -2
- package/migrations/v5/warn-for-events-topic-navigated.js +0 -34
- package/migrations/v5/warn-for-events-topic-navigated.js.map +0 -1
- package/migrations/v6/migrate-onecx-to-v6.d.ts +0 -2
- package/migrations/v6/migrate-onecx-to-v6.js +0 -8
- package/migrations/v6/migrate-onecx-to-v6.js.map +0 -1
- package/migrations.json +0 -46
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onecx/integration-interface",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.7.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,19 +9,7 @@
|
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"tslib": "^2.6.3",
|
|
11
11
|
"rxjs": "^7.8.1",
|
|
12
|
-
"@
|
|
13
|
-
"@onecx/accelerator": "^7.6.1",
|
|
14
|
-
"@onecx/nx-migration-utils": "^7.6.1",
|
|
15
|
-
"@phenomnomnominal/tsquery": "^6",
|
|
16
|
-
"typescript": "^5.9.3"
|
|
17
|
-
},
|
|
18
|
-
"peerDependenciesMeta": {
|
|
19
|
-
"@nx/devkit": {
|
|
20
|
-
"optional": true
|
|
21
|
-
},
|
|
22
|
-
"@onecx/nx-migration-utils": {
|
|
23
|
-
"optional": true
|
|
24
|
-
}
|
|
12
|
+
"@onecx/accelerator": "^7.7.1"
|
|
25
13
|
},
|
|
26
14
|
"type": "commonjs",
|
|
27
15
|
"main": "./src/index.js",
|
|
@@ -29,8 +17,5 @@
|
|
|
29
17
|
"publishConfig": {
|
|
30
18
|
"access": "public"
|
|
31
19
|
},
|
|
32
|
-
"nx-migrations": {
|
|
33
|
-
"migrations": "./migrations.json"
|
|
34
|
-
},
|
|
35
20
|
"types": "./src/index.d.ts"
|
|
36
21
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -46,3 +46,6 @@ export * from './lib/services/image-repository.service';
|
|
|
46
46
|
export * from './lib/topics/icons/v1/icon.model';
|
|
47
47
|
export * from './lib/topics/icons/v1/icon.topic';
|
|
48
48
|
export * from './lib/services/icon.service';
|
|
49
|
+
export * from './lib/topics/notification/v1/notification.model';
|
|
50
|
+
export * from './lib/topics/notification/v1/notification.topic';
|
|
51
|
+
export * from './lib/services/notification.service';
|
package/src/index.js
CHANGED
|
@@ -49,4 +49,7 @@ tslib_1.__exportStar(require("./lib/services/image-repository.service"), exports
|
|
|
49
49
|
tslib_1.__exportStar(require("./lib/topics/icons/v1/icon.model"), exports);
|
|
50
50
|
tslib_1.__exportStar(require("./lib/topics/icons/v1/icon.topic"), exports);
|
|
51
51
|
tslib_1.__exportStar(require("./lib/services/icon.service"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./lib/topics/notification/v1/notification.model"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./lib/topics/notification/v1/notification.topic"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./lib/services/notification.service"), exports);
|
|
52
55
|
//# 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;AACzD,6FAAkE;AAElE,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,sFAA2D;AAC3D,yFAA8D;AAE9D,4FAAiE;AACjE,8FAAmE;AACnE,uGAA4E;AAC5E,kGAAuE;AACvE,4FAAiE;AACjE,kGAAuE;AAEvE,kGAAuE;AACvE,kGAAuE;AAEvE,sFAA2D;AAE3D,8FAAmE;AAEnE,+FAAoE;AACpE,+FAAoE;AACpE,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;AACzD,6FAAkE;AAElE,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,sFAA2D;AAC3D,yFAA8D;AAE9D,4FAAiE;AACjE,8FAAmE;AACnE,uGAA4E;AAC5E,kGAAuE;AACvE,4FAAiE;AACjE,kGAAuE;AAEvE,kGAAuE;AACvE,kGAAuE;AAEvE,sFAA2D;AAE3D,8FAAmE;AAEnE,+FAAoE;AACpE,+FAAoE;AACpE,kFAAuD;AAEvD,2EAAgD;AAChD,2EAAgD;AAChD,sEAA2C;AAE3C,0FAA+D;AAC/D,0FAA+D;AAC/D,8EAAmD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NotificationTopic } from "../topics/notification/v1/notification.topic";
|
|
2
|
+
export declare class NotificationService {
|
|
3
|
+
private _notificationTopic$;
|
|
4
|
+
get notificationTopic(): NotificationTopic;
|
|
5
|
+
set notificationTopic(source: NotificationTopic);
|
|
6
|
+
destroy(): void;
|
|
7
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationService = void 0;
|
|
4
|
+
const notification_topic_1 = require("../topics/notification/v1/notification.topic");
|
|
5
|
+
class NotificationService {
|
|
6
|
+
_notificationTopic$;
|
|
7
|
+
get notificationTopic() {
|
|
8
|
+
this._notificationTopic$ ??= new notification_topic_1.NotificationTopic();
|
|
9
|
+
return this._notificationTopic$;
|
|
10
|
+
}
|
|
11
|
+
set notificationTopic(source) {
|
|
12
|
+
this._notificationTopic$ = source;
|
|
13
|
+
}
|
|
14
|
+
destroy() {
|
|
15
|
+
this.notificationTopic.destroy();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.NotificationService = NotificationService;
|
|
19
|
+
//# sourceMappingURL=notification.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.service.js","sourceRoot":"","sources":["../../../../../../libs/integration-interface/src/lib/services/notification.service.ts"],"names":[],"mappings":";;;AAAA,qFAAiF;AAEjF,MAAa,mBAAmB;IAEpB,mBAAmB,CAAgC;IAC3D,IAAI,iBAAiB;QACjB,IAAI,CAAC,mBAAmB,KAAK,IAAI,sCAAiB,EAAE,CAAA;QACpD,OAAO,IAAI,CAAC,mBAAmB,CAAA;IACnC,CAAC;IACD,IAAI,iBAAiB,CAAC,MAAyB;QAC3C,IAAI,CAAC,mBAAmB,GAAG,MAAM,CAAA;IACrC,CAAC;IAED,OAAO;QACH,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,CAAA;IACpC,CAAC;CACJ;AAdD,kDAcC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface Notification {
|
|
2
|
+
type: string;
|
|
3
|
+
address: string;
|
|
4
|
+
headers: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
body: {
|
|
8
|
+
id: string;
|
|
9
|
+
applicationId: string;
|
|
10
|
+
senderId: string;
|
|
11
|
+
receiverId: string;
|
|
12
|
+
persist: boolean;
|
|
13
|
+
creationData: Date;
|
|
14
|
+
contentMeta: [
|
|
15
|
+
{
|
|
16
|
+
key: string;
|
|
17
|
+
value: string;
|
|
18
|
+
}
|
|
19
|
+
];
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/notification/v1/notification.model.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationTopic = void 0;
|
|
4
|
+
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
+
class NotificationTopic extends accelerator_1.Topic {
|
|
6
|
+
constructor() {
|
|
7
|
+
super('notification', 1);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.NotificationTopic = NotificationTopic;
|
|
11
|
+
//# sourceMappingURL=notification.topic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/notification/v1/notification.topic.ts"],"names":[],"mappings":";;;AAAA,oDAA0C;AAG1C,MAAa,iBAAkB,SAAQ,mBAAmB;IACxD;QACE,KAAK,CAAC,cAAc,EAAE,CAAC,CAAC,CAAA;IAC1B,CAAC;CACF;AAJD,8CAIC"}
|
package/migrations/index.d.ts
DELETED
package/migrations/index.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./v6/migrate-onecx-to-v6"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./v5/warn-for-events-topic-navigated"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./v5/warn-for-events-publisher-navigated"), exports);
|
|
7
|
-
//# sourceMappingURL=index.js.map
|
package/migrations/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/integration-interface/migrations/index.ts"],"names":[],"mappings":";;;AAAA,mEAAwC;AACxC,+EAAoD;AACpD,mFAAwD"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = warnForEventsPublisherNavigated;
|
|
4
|
-
const nx_migration_utils_1 = require("@onecx/nx-migration-utils");
|
|
5
|
-
function argsMatchExpectedPayload(callExpression) {
|
|
6
|
-
return callExpression.arguments.some((arg) => {
|
|
7
|
-
const argText = arg.getText();
|
|
8
|
-
return /type:\s*['"]navigated['"]/.test(argText);
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
async function warnForEventsPublisherNavigated(tree) {
|
|
12
|
-
const warningForPotentialMatches = '⚠️ EventsPublisher usages were detected. Please double-check if EventsPublisher is used for publishing navigation events and switch to CurrentLocationPublisher if so.';
|
|
13
|
-
const warningForExactMatches = '⚠️ You are using EventsPublisher to publish navigation events. Please switch to using CurrentLocationPublisher.';
|
|
14
|
-
const potentialMatches = (0, nx_migration_utils_1.detectMethodCallsInFiles)(tree, './src', 'publish', 'EventsPublisher');
|
|
15
|
-
const exactMatches = new Map();
|
|
16
|
-
const remainingPotentialMatches = new Map();
|
|
17
|
-
potentialMatches.forEach((calls, file) => {
|
|
18
|
-
const filteredCalls = calls.filter((call) => argsMatchExpectedPayload(call));
|
|
19
|
-
if (filteredCalls.length > 0) {
|
|
20
|
-
exactMatches.set(file, filteredCalls);
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
remainingPotentialMatches.set(file, calls);
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
if (exactMatches.size > 0) {
|
|
27
|
-
(0, nx_migration_utils_1.printWarnings)(warningForExactMatches, Array.from(exactMatches.keys()));
|
|
28
|
-
}
|
|
29
|
-
if (remainingPotentialMatches.size > 0) {
|
|
30
|
-
(0, nx_migration_utils_1.printWarnings)(warningForPotentialMatches, Array.from(remainingPotentialMatches.keys()));
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=warn-for-events-publisher-navigated.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"warn-for-events-publisher-navigated.js","sourceRoot":"","sources":["../../../../../libs/integration-interface/migrations/v5/warn-for-events-publisher-navigated.ts"],"names":[],"mappings":";;AAWA,kDA2BC;AArCD,kEAAmF;AAGnF,SAAS,wBAAwB,CAAC,cAA8B;IAC9D,OAAO,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;QAC3C,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAA;QAC7B,OAAO,2BAA2B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IAClD,CAAC,CAAC,CAAA;AACJ,CAAC;AAEc,KAAK,UAAU,+BAA+B,CAAC,IAAU;IACtE,MAAM,0BAA0B,GAC9B,wKAAwK,CAAA;IAE1K,MAAM,sBAAsB,GAC1B,iHAAiH,CAAA;IAEnH,MAAM,gBAAgB,GAAG,IAAA,6CAAwB,EAAC,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAA;IAE9F,MAAM,YAAY,GAAG,IAAI,GAAG,EAA4B,CAAA;IACxD,MAAM,yBAAyB,GAAG,IAAI,GAAG,EAA4B,CAAA;IAErE,gBAAgB,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE;QACvC,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC,CAAA;QAC5E,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC7B,YAAY,CAAC,GAAG,CAAC,IAAI,EAAE,aAAa,CAAC,CAAA;QACvC,CAAC;aAAM,CAAC;YACN,yBAAyB,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;QAC5C,CAAC;IACH,CAAC,CAAC,CAAA;IAEF,IAAI,YAAY,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;QAC1B,IAAA,kCAAa,EAAC,sBAAsB,EAAE,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;IACxE,CAAC;IACD,IAAI,yBAAyB,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;QACvC,IAAA,kCAAa,EAAC,0BAA0B,EAAE,KAAK,CAAC,IAAI,CAAC,yBAAyB,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;IACzF,CAAC;AACH,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = warnForEventsTopicNavigated;
|
|
4
|
-
const nx_migration_utils_1 = require("@onecx/nx-migration-utils");
|
|
5
|
-
const tsquery_1 = require("@phenomnomnominal/tsquery");
|
|
6
|
-
function argsContainFilterForTypeNavigated(callExpression) {
|
|
7
|
-
const callExpressionAst = (0, tsquery_1.ast)(callExpression.getText());
|
|
8
|
-
const filterCallsSelector = `CallExpression:has(Identifier[name="filter"]):has(ArrowFunction:has(BinaryExpression:has(PropertyAccessExpression:has(Identifier):has(Identifier[name="type"])):has(StringLiteral[value="navigated"])))`;
|
|
9
|
-
const filterCalls = (0, tsquery_1.query)(callExpressionAst, filterCallsSelector);
|
|
10
|
-
return filterCalls.length > 0;
|
|
11
|
-
}
|
|
12
|
-
async function warnForEventsTopicNavigated(tree) {
|
|
13
|
-
const warningForPotentialMatches = '⚠️ EventsTopic usages were detected. Please double-check if EventsTopic is used for subscribing to navigation events and switch to CurrentLocationTopic/appStateService.currentLocation$ if so.';
|
|
14
|
-
const warningForExactMatches = '⚠️ You are using EventsTopic to listen for navigation events. Please switch to using CurrentLocationTopic/appStateService.currentLocation$.';
|
|
15
|
-
const potentialMatches = (0, nx_migration_utils_1.detectMethodCallsInFiles)(tree, './src', 'pipe', 'EventsTopic');
|
|
16
|
-
const exactMatches = new Map();
|
|
17
|
-
const remainingPotentialMatches = new Map();
|
|
18
|
-
potentialMatches.forEach((calls, file) => {
|
|
19
|
-
const filteredCalls = calls.filter((call) => argsContainFilterForTypeNavigated(call));
|
|
20
|
-
if (filteredCalls.length > 0) {
|
|
21
|
-
exactMatches.set(file, filteredCalls);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
remainingPotentialMatches.set(file, calls);
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
if (exactMatches.size > 0) {
|
|
28
|
-
(0, nx_migration_utils_1.printWarnings)(warningForExactMatches, Array.from(exactMatches.keys()));
|
|
29
|
-
}
|
|
30
|
-
if (remainingPotentialMatches.size > 0) {
|
|
31
|
-
(0, nx_migration_utils_1.printWarnings)(warningForPotentialMatches, Array.from(remainingPotentialMatches.keys()));
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=warn-for-events-topic-navigated.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"warn-for-events-topic-navigated.js","sourceRoot":"","sources":["../../../../../libs/integration-interface/migrations/v5/warn-for-events-topic-navigated.ts"],"names":[],"mappings":";;AAYA,8CA2BC;AAtCD,kEAAmF;AAEnF,uDAAsD;AAEtD,SAAS,iCAAiC,CAAC,cAA8B;IACvE,MAAM,iBAAiB,GAAG,IAAA,aAAG,EAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAA;IACvD,MAAM,mBAAmB,GAAG,yMAAyM,CAAA;IACrO,MAAM,WAAW,GAAG,IAAA,eAAK,EAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAA;IACjE,OAAO,WAAW,CAAC,MAAM,GAAG,CAAC,CAAA;AAC/B,CAAC;AAEc,KAAK,UAAU,2BAA2B,CAAC,IAAU;IAClE,MAAM,0BAA0B,GAC9B,iMAAiM,CAAA;IAEnM,MAAM,sBAAsB,GAC1B,6IAA6I,CAAA;IAE/I,MAAM,gBAAgB,GAAG,IAAA,6CAAwB,EAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,CAAC,CAAA;IAEvF,MAAM,YAAY,GAAG,IAAI,GAAG,EAA4B,CAAA;IACxD,MAAM,yBAAyB,GAAG,IAAI,GAAG,EAA4B,CAAA;IAErE,gBAAgB,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE;QACvC,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,iCAAiC,CAAC,IAAI,CAAC,CAAC,CAAA;QACrF,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC7B,YAAY,CAAC,GAAG,CAAC,IAAI,EAAE,aAAa,CAAC,CAAA;QACvC,CAAC;aAAM,CAAC;YACN,yBAAyB,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;QAC5C,CAAC;IACH,CAAC,CAAC,CAAA;IAEF,IAAI,YAAY,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;QAC1B,IAAA,kCAAa,EAAC,sBAAsB,EAAE,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;IACxE,CAAC;IACD,IAAI,yBAAyB,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;QACvC,IAAA,kCAAa,EAAC,0BAA0B,EAAE,KAAK,CAAC,IAAI,CAAC,yBAAyB,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;IACzF,CAAC;AACH,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = migrateOnecxToV6;
|
|
4
|
-
const nx_migration_utils_1 = require("@onecx/nx-migration-utils");
|
|
5
|
-
async function migrateOnecxToV6(tree) {
|
|
6
|
-
await (0, nx_migration_utils_1.commonMigrateOnecxToV6)(tree);
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=migrate-onecx-to-v6.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"migrate-onecx-to-v6.js","sourceRoot":"","sources":["../../../../../libs/integration-interface/migrations/v6/migrate-onecx-to-v6.ts"],"names":[],"mappings":";;AAGA,mCAEC;AAJD,kEAAkE;AAEnD,KAAK,UAAU,gBAAgB,CAAC,IAAU;IACvD,MAAM,IAAA,2CAAsB,EAAC,IAAI,CAAC,CAAA;AACpC,CAAC"}
|
package/migrations.json
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
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
|
-
"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
|
-
"@ngx-translate/core": {
|
|
35
|
-
"version": "~16.0.4",
|
|
36
|
-
"alwaysAddToPackageJson": false
|
|
37
|
-
},
|
|
38
|
-
"primeng": {
|
|
39
|
-
"version": "~19.0.0",
|
|
40
|
-
"alwaysAddToPackageJson": false
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"version": "null"
|
|
45
|
-
}
|
|
46
|
-
}
|