@n8n/backend-module-insights 0.1.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.md +88 -0
- package/dist/build.tsbuildinfo +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/dist/insights-by-period-query.helper.d.ts +15 -0
- package/dist/insights-by-period-query.helper.js +45 -0
- package/dist/insights-by-period-query.helper.js.map +1 -0
- package/dist/insights-by-period.entity.d.ts +17 -0
- package/dist/insights-by-period.entity.js +73 -0
- package/dist/insights-by-period.entity.js.map +1 -0
- package/dist/insights-by-period.repository.d.ts +100 -0
- package/dist/insights-by-period.repository.js +347 -0
- package/dist/insights-by-period.repository.js.map +1 -0
- package/dist/insights-collection.service.d.ts +30 -0
- package/dist/insights-collection.service.js +280 -0
- package/dist/insights-collection.service.js.map +1 -0
- package/dist/insights-compaction.service.d.ts +19 -0
- package/dist/insights-compaction.service.js +161 -0
- package/dist/insights-compaction.service.js.map +1 -0
- package/dist/insights-compaction.task.d.ts +14 -0
- package/dist/insights-compaction.task.js +35 -0
- package/dist/insights-compaction.task.js.map +1 -0
- package/dist/insights-metadata.entity.d.ts +8 -0
- package/dist/insights-metadata.entity.js +40 -0
- package/dist/insights-metadata.entity.js.map +1 -0
- package/dist/insights-metadata.repository.d.ts +7 -0
- package/dist/insights-metadata.repository.js +36 -0
- package/dist/insights-metadata.repository.js.map +1 -0
- package/dist/insights-pruning.service.d.ts +11 -0
- package/dist/insights-pruning.service.js +49 -0
- package/dist/insights-pruning.service.js.map +1 -0
- package/dist/insights-pruning.task.d.ts +15 -0
- package/dist/insights-pruning.task.js +36 -0
- package/dist/insights-pruning.task.js.map +1 -0
- package/dist/insights-raw.entity.d.ts +13 -0
- package/dist/insights-raw.entity.js +61 -0
- package/dist/insights-raw.entity.js.map +1 -0
- package/dist/insights-raw.repository.d.ts +12 -0
- package/dist/insights-raw.repository.js +36 -0
- package/dist/insights-raw.repository.js.map +1 -0
- package/dist/insights-shared.d.ts +21 -0
- package/dist/insights-shared.js +30 -0
- package/dist/insights-shared.js.map +1 -0
- package/dist/insights.config.d.ts +13 -0
- package/dist/insights.config.js +80 -0
- package/dist/insights.config.js.map +1 -0
- package/dist/insights.constants.d.ts +4 -0
- package/dist/insights.constants.js +24 -0
- package/dist/insights.constants.js.map +1 -0
- package/dist/insights.controller.d.ts +16 -0
- package/dist/insights.controller.js +159 -0
- package/dist/insights.controller.js.map +1 -0
- package/dist/insights.module.d.ts +17 -0
- package/dist/insights.module.js +51 -0
- package/dist/insights.module.js.map +1 -0
- package/dist/insights.service.d.ts +73 -0
- package/dist/insights.service.js +257 -0
- package/dist/insights.service.js.map +1 -0
- package/dist/insights.settings.d.ts +20 -0
- package/dist/insights.settings.js +48 -0
- package/dist/insights.settings.js.map +1 -0
- package/dist/testing/db-utils.d.ts +22 -0
- package/dist/testing/db-utils.js +76 -0
- package/dist/testing/db-utils.js.map +1 -0
- package/dist/testing.d.ts +1 -0
- package/dist/testing.js +9 -0
- package/dist/testing.js.map +1 -0
- package/package.json +97 -0
package/package.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@n8n/backend-module-insights",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"module": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./module": {
|
|
14
|
+
"types": "./dist/insights.module.d.ts",
|
|
15
|
+
"import": "./dist/insights.module.js",
|
|
16
|
+
"require": "./dist/insights.module.js"
|
|
17
|
+
},
|
|
18
|
+
"./config": {
|
|
19
|
+
"types": "./dist/insights.config.d.ts",
|
|
20
|
+
"import": "./dist/insights.config.js",
|
|
21
|
+
"require": "./dist/insights.config.js"
|
|
22
|
+
},
|
|
23
|
+
"./testing": {
|
|
24
|
+
"types": "./dist/testing.d.ts",
|
|
25
|
+
"import": "./dist/testing.js",
|
|
26
|
+
"require": "./dist/testing.js"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"typesVersions": {
|
|
30
|
+
"*": {
|
|
31
|
+
"config": [
|
|
32
|
+
"dist/insights.config.d.ts"
|
|
33
|
+
],
|
|
34
|
+
"module": [
|
|
35
|
+
"dist/insights.module.d.ts"
|
|
36
|
+
],
|
|
37
|
+
"testing": [
|
|
38
|
+
"dist/testing.d.ts"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist/**/*"
|
|
44
|
+
],
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@n8n/api-types": "1.43.0",
|
|
47
|
+
"@n8n/backend-common": "1.43.0",
|
|
48
|
+
"@n8n/backend-services": "1.3.0",
|
|
49
|
+
"@n8n/config": "2.41.0",
|
|
50
|
+
"@n8n/constants": "0.41.0",
|
|
51
|
+
"@n8n/db": "1.43.0",
|
|
52
|
+
"@n8n/decorators": "1.43.0",
|
|
53
|
+
"@n8n/di": "0.17.0",
|
|
54
|
+
"@n8n/errors": "0.15.0",
|
|
55
|
+
"@n8n/typeorm": "0.12.0",
|
|
56
|
+
"@n8n/utils": "1.50.0",
|
|
57
|
+
"luxon": "3.7.2",
|
|
58
|
+
"n8n-core": "2.43.0",
|
|
59
|
+
"n8n-workflow": "2.43.0"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"zod": "3.25.76"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@n8n/backend-test-utils": "1.43.0",
|
|
66
|
+
"@n8n/oxlint-config": "0.0.1",
|
|
67
|
+
"@n8n/typescript-config": "1.12.0",
|
|
68
|
+
"@n8n/vitest-config": "1.24.0",
|
|
69
|
+
"@types/luxon": "3.2.0",
|
|
70
|
+
"@vitest/coverage-v8": "5.0.1",
|
|
71
|
+
"n8n-containers": "1.0.0",
|
|
72
|
+
"oxlint": "1.78.0",
|
|
73
|
+
"oxlint-tsgolint": "^0.21.1",
|
|
74
|
+
"typescript": "7.0.2",
|
|
75
|
+
"vite": "^8.0.2",
|
|
76
|
+
"vitest": "5.0.1",
|
|
77
|
+
"vitest-mock-extended": "^3.1.0",
|
|
78
|
+
"zod": "3.25.76"
|
|
79
|
+
},
|
|
80
|
+
"license": "LicenseRef-n8n-sustainable-use",
|
|
81
|
+
"scripts": {
|
|
82
|
+
"clean": "rimraf dist .turbo",
|
|
83
|
+
"dev": "pnpm watch",
|
|
84
|
+
"typecheck": "tsc --noEmit",
|
|
85
|
+
"build": "tsc -p tsconfig.build.json",
|
|
86
|
+
"build:unchecked": "tsc -p tsconfig.build.json --noCheck",
|
|
87
|
+
"format": "biome format --write .",
|
|
88
|
+
"format:check": "biome ci .",
|
|
89
|
+
"lint": "oxlint --type-aware . --quiet",
|
|
90
|
+
"lint:fix": "oxlint --type-aware . --fix",
|
|
91
|
+
"watch": "tsc -p tsconfig.build.json --watch",
|
|
92
|
+
"test": "vitest run",
|
|
93
|
+
"test:postgres": "N8N_LOG_LEVEL=silent vitest run --config vitest.config.postgres.ts",
|
|
94
|
+
"test:unit": "vitest run",
|
|
95
|
+
"test:dev": "vitest --silent=false"
|
|
96
|
+
}
|
|
97
|
+
}
|