@friggframework/core 2.0.0--canary.461.65a2be7.0 → 2.0.0--canary.461.651659d.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.
|
@@ -15,7 +15,7 @@ class CheckIntegrationsHealthUseCase {
|
|
|
15
15
|
|
|
16
16
|
// Extract module names from definitions
|
|
17
17
|
const moduleTypes = Array.isArray(moduleDefinitions)
|
|
18
|
-
? moduleDefinitions.map(def => def.name || 'Unknown')
|
|
18
|
+
? moduleDefinitions.map(def => def.moduleName || def.name || def.label || 'Unknown')
|
|
19
19
|
: [];
|
|
20
20
|
|
|
21
21
|
// Extract integration names from classes
|
|
@@ -11,9 +11,9 @@ describe('CheckIntegrationsHealthUseCase', () => {
|
|
|
11
11
|
it('should return healthy status with module and integration counts', () => {
|
|
12
12
|
const mockModuleFactory = {
|
|
13
13
|
moduleDefinitions: [
|
|
14
|
-
{
|
|
15
|
-
{
|
|
16
|
-
{
|
|
14
|
+
{ moduleName: 'HubSpot' },
|
|
15
|
+
{ moduleName: 'Salesforce' },
|
|
16
|
+
{ moduleName: 'Slack' },
|
|
17
17
|
],
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -56,7 +56,7 @@ describe('CheckIntegrationsHealthUseCase', () => {
|
|
|
56
56
|
|
|
57
57
|
it('should handle undefined integrationClasses gracefully', () => {
|
|
58
58
|
const mockModuleFactory = {
|
|
59
|
-
moduleDefinitions: [{
|
|
59
|
+
moduleDefinitions: [{ moduleName: 'Module1' }],
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
const useCase = new CheckIntegrationsHealthUseCase({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/core",
|
|
3
3
|
"prettier": "@friggframework/prettier-config",
|
|
4
|
-
"version": "2.0.0--canary.461.
|
|
4
|
+
"version": "2.0.0--canary.461.651659d.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@aws-sdk/client-apigatewaymanagementapi": "^3.588.0",
|
|
7
7
|
"@aws-sdk/client-kms": "^3.588.0",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@friggframework/eslint-config": "2.0.0--canary.461.
|
|
41
|
-
"@friggframework/prettier-config": "2.0.0--canary.461.
|
|
42
|
-
"@friggframework/test": "2.0.0--canary.461.
|
|
40
|
+
"@friggframework/eslint-config": "2.0.0--canary.461.651659d.0",
|
|
41
|
+
"@friggframework/prettier-config": "2.0.0--canary.461.651659d.0",
|
|
42
|
+
"@friggframework/test": "2.0.0--canary.461.651659d.0",
|
|
43
43
|
"@prisma/client": "^6.17.0",
|
|
44
44
|
"@types/lodash": "4.17.15",
|
|
45
45
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "651659d3282b05bcecf571281d5a1a7e19c156bf"
|
|
83
83
|
}
|