first commit

This commit is contained in:
2025-10-26 23:10:15 +08:00
commit 8f0345b7be
14961 changed files with 2356381 additions and 0 deletions

9
node_modules/@n8n/errors/dist/application.error.d.ts generated vendored Normal file
View File

@@ -0,0 +1,9 @@
import type { Event } from '@sentry/node';
import type { ErrorLevel, ReportingOptions } from './types';
export declare class ApplicationError extends Error {
level: ErrorLevel;
readonly tags: NonNullable<Event['tags']>;
readonly extra?: Event['extra'];
readonly packageName?: string;
constructor(message: string, { level, tags, extra, ...rest }?: ErrorOptions & ReportingOptions);
}

24
node_modules/@n8n/errors/dist/application.error.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApplicationError = void 0;
const callsites_1 = __importDefault(require("callsites"));
class ApplicationError extends Error {
constructor(message, { level, tags = {}, extra, ...rest } = {}) {
super(message, rest);
this.level = level ?? 'error';
this.tags = tags;
this.extra = extra;
try {
const filePath = (0, callsites_1.default)()[2].getFileName() ?? '';
const match = /packages\/([^\/]+)\//.exec(filePath)?.[1];
if (match)
this.tags.packageName = match;
}
catch { }
}
}
exports.ApplicationError = ApplicationError;
//# sourceMappingURL=application.error.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"application.error.js","sourceRoot":"","sources":["../src/application.error.ts"],"names":[],"mappings":";;;;;;AACA,0DAAkC;AAOlC,MAAa,gBAAiB,SAAQ,KAAK;IAS1C,YACC,OAAe,EACf,EAAE,KAAK,EAAE,IAAI,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,KAAsC,EAAE;QAE1E,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,KAAK,IAAI,OAAO,CAAC;QAC9B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,CAAC;YACJ,MAAM,QAAQ,GAAG,IAAA,mBAAS,GAAE,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC;YAEpD,MAAM,KAAK,GAAG,sBAAsB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAEzD,IAAI,KAAK;gBAAE,IAAI,CAAC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAE1C,CAAC;QAAC,MAAM,CAAC,CAAA,CAAC;IACX,CAAC;CACD;AA3BD,4CA2BC"}

1
node_modules/@n8n/errors/dist/build.tsbuildinfo generated vendored Normal file

File diff suppressed because one or more lines are too long

2
node_modules/@n8n/errors/dist/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
export { ApplicationError } from './application.error';
export type * from './types';

6
node_modules/@n8n/errors/dist/index.js generated vendored Normal file
View File

@@ -0,0 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApplicationError = void 0;
var application_error_1 = require("./application.error");
Object.defineProperty(exports, "ApplicationError", { enumerable: true, get: function () { return application_error_1.ApplicationError; } });
//# sourceMappingURL=index.js.map

1
node_modules/@n8n/errors/dist/index.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA"}

11
node_modules/@n8n/errors/dist/types.d.ts generated vendored Normal file
View File

@@ -0,0 +1,11 @@
import type { Event } from '@sentry/node';
export type ErrorLevel = 'fatal' | 'error' | 'warning' | 'info';
export type ErrorTags = NonNullable<Event['tags']>;
export type ReportingOptions = {
shouldReport?: boolean;
shouldBeLogged?: boolean;
level?: ErrorLevel;
tags?: ErrorTags;
extra?: Event['extra'];
executionId?: string;
};

3
node_modules/@n8n/errors/dist/types.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=types.js.map

1
node_modules/@n8n/errors/dist/types.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}