@atom8n/n8n-extension-insights 0.11.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/LICENSE ADDED
@@ -0,0 +1 @@
1
+ See LICENSE.md in the root of this repository for more information.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # @n8n/n8n-extension-insights
@@ -0,0 +1,10 @@
1
+ let __n8n_extension_sdk_backend = require("@n8n/extension-sdk/backend");
2
+
3
+ //#region src/backend/index.ts
4
+ var backend_default = (0, __n8n_extension_sdk_backend.defineBackendExtension)({ setup(n8n) {
5
+ console.log(n8n);
6
+ } });
7
+
8
+ //#endregion
9
+ module.exports = backend_default;
10
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","names":[],"sources":["../../src/backend/index.ts"],"sourcesContent":["import { defineBackendExtension } from '@n8n/extension-sdk/backend';\n\nexport default defineBackendExtension({\n\tsetup(n8n) {\n\t\tconsole.log(n8n);\n\t},\n});\n"],"mappings":";;;AAEA,8EAAsC,EACrC,MAAM,KAAK;AACV,SAAQ,IAAI,IAAI;GAEjB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as _n8n_extension_sdk_backend0 from "@n8n/extension-sdk/backend";
2
+
3
+ //#region src/backend/index.d.ts
4
+ declare const _default: _n8n_extension_sdk_backend0.BackendExtension;
5
+ export = _default;
6
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1,7 @@
1
+ import * as _n8n_extension_sdk_backend0 from "@n8n/extension-sdk/backend";
2
+
3
+ //#region src/backend/index.d.ts
4
+ declare const _default: _n8n_extension_sdk_backend0.BackendExtension;
5
+ //#endregion
6
+ export { _default as default };
7
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1,10 @@
1
+ import { defineBackendExtension } from "@n8n/extension-sdk/backend";
2
+
3
+ //#region src/backend/index.ts
4
+ var backend_default = defineBackendExtension({ setup(n8n) {
5
+ console.log(n8n);
6
+ } });
7
+
8
+ //#endregion
9
+ export { backend_default as default };
10
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../src/backend/index.ts"],"sourcesContent":["import { defineBackendExtension } from '@n8n/extension-sdk/backend';\n\nexport default defineBackendExtension({\n\tsetup(n8n) {\n\t\tconsole.log(n8n);\n\t},\n});\n"],"mappings":";;;AAEA,sBAAe,uBAAuB,EACrC,MAAM,KAAK;AACV,SAAQ,IAAI,IAAI;GAEjB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { FrontendExtension } from '@n8n/extension-sdk/frontend';
2
+
3
+ declare const _default: FrontendExtension;
4
+ export default _default;
5
+
6
+ export { }
@@ -0,0 +1,16 @@
1
+ import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
2
+ function defineFrontendExtension(e) {
3
+ return e;
4
+ }
5
+ var __plugin_vue_export_helper_default = (e, o) => {
6
+ let s = e.__vccOpts || e;
7
+ for (let [e, c] of o) s[e] = c;
8
+ return s;
9
+ }, _sfc_main = {};
10
+ function _sfc_render(s, l) {
11
+ return openBlock(), createElementBlock("div", null, l[0] ||= [createElementVNode("h1", null, "INSIGHTS DASHBOARD", -1)]);
12
+ }
13
+ var InsightsDashboard_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]), frontend_default = defineFrontendExtension({ setup(e) {
14
+ e.registerComponent("InsightsDashboard", markRaw(InsightsDashboard_default));
15
+ } });
16
+ export { frontend_default as default };
@@ -0,0 +1 @@
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?module.exports=t(require(`vue`)):typeof define==`function`&&define.amd?define([`vue`],t):(e=typeof globalThis<`u`?globalThis:e||self,e.n8nFrontEndSdk=t(e.Vue))})(this,function(e){var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e};e=((e,r,i)=>(i=e==null?{}:t(a(e)),s(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)))(e);function c(e){return e}var l=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},u={};function d(t,n){return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,null,n[0]||=[(0,e.createElementVNode)(`h1`,null,`INSIGHTS DASHBOARD`,-1)])}var f=l(u,[[`render`,d]]);return c({setup(t){t.registerComponent(`InsightsDashboard`,(0,e.markRaw)(f))}})});
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@n8n/n8n-extension-insights",
3
+ "version": "1.0.0",
4
+ "author": "n8n",
5
+ "category": "Internal",
6
+ "minSDKVersion": "0.0.0",
7
+ "permissions": {
8
+ "frontend": [],
9
+ "backend": []
10
+ },
11
+ "events": ["workflow:started"],
12
+ "setup": {
13
+ "backend": "./dist/backend/index.js",
14
+ "frontend": "./dist/frontend/index.js"
15
+ },
16
+ "extends": {
17
+ "views": {
18
+ "workflows": {
19
+ "header": "InsightsDashboard"
20
+ }
21
+ }
22
+ }
23
+ }
package/package.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "@atom8n/n8n-extension-insights",
3
+ "version": "0.11.0",
4
+ "type": "module",
5
+ "files": [
6
+ "dist",
7
+ "n8n.manifest.json",
8
+ "LICENSE",
9
+ "README.md"
10
+ ],
11
+ "main": "./n8n.manifest.json",
12
+ "module": "./n8n.manifest.json",
13
+ "exports": {
14
+ ".": {
15
+ "import": "./n8n.manifest.json",
16
+ "require": "./n8n.manifest.json"
17
+ },
18
+ "./backend": {
19
+ "types": "./dist/backend/index.d.mts",
20
+ "import": "./dist/backend/index.mjs",
21
+ "require": "./dist/backend/index.cjs"
22
+ },
23
+ "./frontend": {
24
+ "types": "./dist/frontend/index.d.mts",
25
+ "import": "./dist/frontend/index.mjs",
26
+ "require": "./dist/frontend/index.umd.cjs"
27
+ },
28
+ "./*": "./*"
29
+ },
30
+ "scripts": {
31
+ "cleanup": "rimraf dist",
32
+ "dev": "tsdown --watch",
33
+ "lint": "eslint src --quiet",
34
+ "lint:fix": "eslint src --fix",
35
+ "lint:styles": "stylelint \"src/**/*.{scss,sass,vue}\" --cache",
36
+ "lint:styles:fix": "stylelint \"src/**/*.{scss,sass,vue}\" --fix --cache",
37
+ "typecheck": "vue-tsc --noEmit",
38
+ "build:backend": "tsdown",
39
+ "build:frontend": "vite build",
40
+ "build": "pnpm cleanup && pnpm run \"/^build:.*/\"",
41
+ "preview": "vite preview"
42
+ },
43
+ "peerDependencies": {
44
+ "vue": "catalog:frontend",
45
+ "vue-router": "catalog:frontend"
46
+ },
47
+ "dependencies": {
48
+ "@atom8n/extension-sdk": "0.9.0"
49
+ },
50
+ "devDependencies": {
51
+ "@n8n/stylelint-config": "*",
52
+ "@atom8n/typescript-config": "1.3.0",
53
+ "@vitejs/plugin-vue": "catalog:frontend",
54
+ "@vue/tsconfig": "catalog:frontend",
55
+ "tsdown": "catalog:",
56
+ "rimraf": "catalog:",
57
+ "vite": "catalog:",
58
+ "vue": "catalog:frontend",
59
+ "vue-router": "catalog:frontend",
60
+ "vue-tsc": "catalog:frontend"
61
+ }
62
+ }