@thecodigohub/n8n-nodes-insightshub 0.0.7 → 0.0.8

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.
@@ -7,6 +7,10 @@ on:
7
7
  release:
8
8
  types: [created]
9
9
 
10
+ permissions:
11
+ id-token: write # Required for OIDC
12
+ contents: read
13
+
10
14
  jobs:
11
15
  build:
12
16
  runs-on: ubuntu-latest
package/README.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  This is a custom n8n node for connecting to Insights Hub, an internal project for displaying dashboards.
4
4
 
5
+ ## File Structure
6
+
7
+ This node follows the n8n convention for custom nodes:
8
+
9
+ - `nodes/` - Contains the node implementation files
10
+ - `credentials/` - Contains the credential type definitions
11
+ - `dist/` - Compiled JavaScript output (created after build)
12
+
5
13
  ## Installation
6
14
 
7
15
  1. Clone this repository.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InsightsHub.credentials.d.ts","sourceRoot":"","sources":["../../credentials/InsightsHub.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,eAAe,EACf,iBAAiB,EACjB,MAAM,cAAc,CAAC;AAEtB,qBAAa,cAAe,YAAW,eAAe;IACrD,IAAI,SAAoB;IACxB,WAAW,SAAsB;IACjC,gBAAgB,SAAwC;IACxD,UAAU;;;cAIU,iBAAiB;;;QAInC;CACF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InsightsHub.credentials.js","sourceRoot":"","sources":["../../credentials/InsightsHub.credentials.ts"],"names":[],"mappings":";;;AAKA,MAAa,cAAc;IAA3B;QACC,SAAI,GAAG,gBAAgB,CAAC;QACxB,gBAAW,GAAG,kBAAkB,CAAC;QACjC,qBAAgB,GAAG,oCAAoC,CAAC,CAAC,cAAc;QACvE,eAAU,GAAG;YACZ;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAA6B;gBACnC,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;IACH,CAAC;CAAA;AAbD,wCAaC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InsightsHub.node.d.ts","sourceRoot":"","sources":["../../nodes/InsightsHub.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAEpB,MAAM,cAAc,CAAC;AAEtB,qBAAa,eAAgB,YAAW,SAAS;IAChD,WAAW,EAAE,oBAAoB,CA4C/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAuCvE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InsightsHub.node.js","sourceRoot":"","sources":["../../nodes/InsightsHub.node.ts"],"names":[],"mappings":";;;AAAA,+CAMsB;AAEtB,MAAa,eAAe;IAA5B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,sBAAsB,EAAE,mBAAmB;YACjD,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,iDAAiD;YAC9D,QAAQ,EAAE;gBACT,IAAI,EAAE,cAAc;aACpB;YACD,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,gBAAgB;oBACtB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,cAAc;oBAC3B,IAAI,EAAE,aAAa;oBACnB,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,EAAE;oBACX,WAAW,EAAE,wBAAwB;oBACrC,WAAW,EAAE,yCAAyC;oBACtD,QAAQ,EAAE,IAAI;iBACd;gBACD;oBACC,WAAW,EAAE,WAAW;oBACxB,IAAI,EAAE,WAAW;oBACj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,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;qBACvE,CAAC,CAAC;oBACH,SAAS;gBACV,CAAC;gBACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE;oBACvG,SAAS,EAAE,CAAC;iBACZ,CAAC,CAAC;YACJ,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AAtFD,0CAsFC"}
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@thecodigohub/n8n-nodes-insightshub",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Custom n8n node for Insights Hub",
5
- "main": "dist/index.js",
6
5
  "scripts": {
7
6
  "build": "tsc",
8
7
  "dev": "tsc --watch",
@@ -31,10 +30,10 @@
31
30
  "n8n": {
32
31
  "n8nNodesApiVersion": 1,
33
32
  "credentials": [
34
- "dist/InsightsHub.credentials.js"
33
+ "dist/credentials/InsightsHub.credentials.js"
35
34
  ],
36
35
  "nodes": [
37
- "dist/InsightsHub.node.js"
36
+ "dist/nodes/InsightsHub.node.js"
38
37
  ]
39
38
  },
40
39
  "dependencies": {
package/tsconfig.json CHANGED
@@ -4,7 +4,6 @@
4
4
  "target": "es2019",
5
5
  "lib": ["es2019"],
6
6
  "outDir": "dist",
7
- "rootDir": "src",
8
7
  "strict": true,
9
8
  "esModuleInterop": true,
10
9
  "skipLibCheck": true,
@@ -13,6 +12,6 @@
13
12
  "declarationMap": true,
14
13
  "sourceMap": true
15
14
  },
16
- "include": ["src/**/*"],
15
+ "include": ["nodes/**/*", "credentials/**/*"],
17
16
  "exclude": ["node_modules", "dist"]
18
17
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"InsightsHub.credentials.d.ts","sourceRoot":"","sources":["../src/InsightsHub.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,eAAe,EACf,iBAAiB,EACjB,MAAM,cAAc,CAAC;AAEtB,qBAAa,cAAe,YAAW,eAAe;IACrD,IAAI,SAAoB;IACxB,WAAW,SAAsB;IACjC,gBAAgB,SAAwC;IACxD,UAAU;;;cAIU,iBAAiB;;;QAInC;CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InsightsHub.credentials.js","sourceRoot":"","sources":["../src/InsightsHub.credentials.ts"],"names":[],"mappings":";;;AAKA,MAAa,cAAc;IAA3B;QACC,SAAI,GAAG,gBAAgB,CAAC;QACxB,gBAAW,GAAG,kBAAkB,CAAC;QACjC,qBAAgB,GAAG,oCAAoC,CAAC,CAAC,cAAc;QACvE,eAAU,GAAG;YACZ;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAA6B;gBACnC,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;IACH,CAAC;CAAA;AAbD,wCAaC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InsightsHub.node.d.ts","sourceRoot":"","sources":["../src/InsightsHub.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAEpB,MAAM,cAAc,CAAC;AAEtB,qBAAa,eAAgB,YAAW,SAAS;IAChD,WAAW,EAAE,oBAAoB,CA4C/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAuCvE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InsightsHub.node.js","sourceRoot":"","sources":["../src/InsightsHub.node.ts"],"names":[],"mappings":";;;AAAA,+CAMsB;AAEtB,MAAa,eAAe;IAA5B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,cAAc;YA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;gBACJ,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,CAAW,CAAC;gBACtE,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAW,CAAC;gBAElE,IAAI,SAAS,KAAK,cAAc,EAAE,CAAC;oBAClC,wHAAwH;oBACxH,4CAA4C;oBAC5C,MAAM,QAAQ,GAAG;wBAChB,OAAO,EAAE,WAAW;wBACpB,IAAI,EAAE,uBAAuB,EAAE,+BAA+B;qBAC9D,CAAC;oBAEF,UAAU,CAAC,IAAI,CAAC;wBACf,IAAI,EAAE,QAAQ;qBACd,CAAC,CAAC;gBACJ,CAAC;YACF,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC3B,UAAU,CAAC,IAAI,CAAC;wBACf,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;qBACvE,CAAC,CAAC;oBACH,SAAS;gBACV,CAAC;gBACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE;oBACvG,SAAS,EAAE,CAAC;iBACZ,CAAC,CAAC;YACJ,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AAtFD,0CAsFC"}
package/dist/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { InsightsHubNode } from './InsightsHub.node';
2
- import { InsightsHubApi } from './InsightsHub.credentials';
3
- export { InsightsHubNode, InsightsHubApi };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC"}
package/dist/index.js DELETED
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InsightsHubApi = exports.InsightsHubNode = void 0;
4
- const InsightsHub_node_1 = require("./InsightsHub.node");
5
- Object.defineProperty(exports, "InsightsHubNode", { enumerable: true, get: function () { return InsightsHub_node_1.InsightsHubNode; } });
6
- const InsightsHub_credentials_1 = require("./InsightsHub.credentials");
7
- Object.defineProperty(exports, "InsightsHubApi", { enumerable: true, get: function () { return InsightsHub_credentials_1.InsightsHubApi; } });
8
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yDAAqD;AAG5C,gGAHA,kCAAe,OAGA;AAFxB,uEAA2D;AAEjC,+FAFjB,wCAAc,OAEiB"}
package/src/index.ts DELETED
@@ -1,4 +0,0 @@
1
- import { InsightsHubNode } from './InsightsHub.node';
2
- import { InsightsHubApi } from './InsightsHub.credentials';
3
-
4
- export { InsightsHubNode, InsightsHubApi };
File without changes
File without changes