hunter-mate 0.1.26 → 0.1.27
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/dist/assets/extension/background/{service-worker.20261019161523.js → service-worker.20261020181646.js} +4 -0
- package/dist/assets/extension/background/service-worker.js +4 -0
- package/dist/assets/extension/build-info.json +1 -1
- package/dist/assets/extension/content/index.js +284 -64
- package/dist/assets/extension/manifest.json +3 -3
- package/dist/assets/extension/sidepanel/index.html +1 -1
- package/dist/assets/extension/sidepanel/index.js +14 -14
- package/dist/assets/server/main.mjs +1433 -1205
- package/dist/index.js +33 -64
- package/dist/watchdog.js +49 -4
- package/dist/web/dist/404.html +1 -1
- package/dist/web/dist/_next/static/chunks/{253-9278ce6c4d446329.js → 253-f4ac7af6647e4dba.js} +1 -1
- package/dist/web/dist/_next/static/chunks/{589-cc56950ae4117cdd.js → 589-5bb84ab8060e960b.js} +1 -1
- package/dist/web/dist/_next/static/chunks/{659-122057f46f941df7.js → 659-b23050764c004f5f.js} +1 -1
- package/dist/web/dist/_next/static/chunks/{686-05b99d3674f45bf7.js → 686-5f4ee3649cce07f1.js} +1 -1
- package/dist/web/dist/_next/static/chunks/896-9dce6a3bc525edba.js +1 -0
- package/dist/web/dist/_next/static/chunks/{935-efb30b9f6f558e3f.js → 935-12f1084f0e18c962.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/_not-found/{page-d939b40bb8878d26.js → page-46929212b0496a89.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/admin/data/{page-df1d84c14e85f294.js → page-666f99fbfee46cc9.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/auth/verify/{page-cfeb844e1b72ccaa.js → page-2da5807d6cdfdb4e.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/companies/{page-57b1ef0b12134ce0.js → page-390d5e3073ec151d.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/company/admin/{page-010928306f8df0ed.js → page-02244f3f1a212c76.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/entity/{page-fa96319650d38e78.js → page-d59a8103f8107d3b.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/jobs/{page-5ba0bdc881b98d42.js → page-fa83ce1b6c3b345d.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/layout-15c4c2ba595b2a92.js +1 -0
- package/dist/web/dist/_next/static/chunks/app/logs/{page-bcdbb3885abda5a2.js → page-badf48f4e7e32e17.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/matching/jobs/[id]/talents/{page-8aca89db1e666a49.js → page-73bca3864b8b9e44.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/matching/portraits/[id]/jobs/{page-7086f1b773e57511.js → page-477c66bee61225fa.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/{page-49fe1e8630d2237e.js → page-8ea324b366e3d374.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/parselog/{page-fcdfdd41cf1f86f7.js → page-4f5c186442feb386.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/recordings/page-0fb8cafdd2f6762c.js +1 -0
- package/dist/web/dist/_next/static/chunks/app/resource-usage/{page-7b939cf673d764e6.js → page-76be36ca978391a3.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/shared/[token]/{page-df87328c52f862f1.js → page-fe2b986867d317c0.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/snapshots/[id]/agent-prompt/{page-7d4d25de2c6704e9.js → page-60ea46364a74b294.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/team/insights/{page-f097b4b8578a6e5d.js → page-5385dcd363f6e0cd.js} +1 -1
- package/dist/web/dist/_next/static/chunks/webpack-9cebd25e322e2cd7.js +1 -0
- package/dist/web/dist/_next/static/css/8f3c454cab3414d0.css +3 -0
- package/dist/web/dist/admin/data.html +1 -1
- package/dist/web/dist/admin/data.txt +5 -5
- package/dist/web/dist/auth/verify.html +1 -1
- package/dist/web/dist/auth/verify.txt +5 -5
- package/dist/web/dist/companies.html +1 -1
- package/dist/web/dist/companies.txt +5 -5
- package/dist/web/dist/company/admin.html +1 -1
- package/dist/web/dist/company/admin.txt +5 -5
- package/dist/web/dist/entity.html +1 -1
- package/dist/web/dist/entity.txt +5 -5
- package/dist/web/dist/index.html +1 -1
- package/dist/web/dist/index.txt +5 -5
- package/dist/web/dist/jobs.html +1 -1
- package/dist/web/dist/jobs.txt +5 -5
- package/dist/web/dist/logs.html +1 -1
- package/dist/web/dist/logs.txt +5 -5
- package/dist/web/dist/matching/jobs/placeholder/talents.html +1 -1
- package/dist/web/dist/matching/jobs/placeholder/talents.txt +5 -5
- package/dist/web/dist/matching/portraits/placeholder/jobs.html +1 -1
- package/dist/web/dist/matching/portraits/placeholder/jobs.txt +5 -5
- package/dist/web/dist/parselog.html +1 -1
- package/dist/web/dist/parselog.txt +5 -5
- package/dist/web/dist/recordings.html +1 -1
- package/dist/web/dist/recordings.txt +5 -5
- package/dist/web/dist/resource-usage.html +1 -1
- package/dist/web/dist/resource-usage.txt +5 -5
- package/dist/web/dist/shared/placeholder.html +1 -1
- package/dist/web/dist/shared/placeholder.txt +5 -5
- package/dist/web/dist/snapshots/placeholder/agent-prompt.html +1 -1
- package/dist/web/dist/snapshots/placeholder/agent-prompt.txt +5 -5
- package/dist/web/dist/talents.html +1 -1
- package/dist/web/dist/talents.txt +5 -5
- package/dist/web/dist/team/insights.html +1 -1
- package/dist/web/dist/team/insights.txt +5 -5
- package/package.json +3 -6
- package/dist/web/dist/_next/static/chunks/166.b263e636ff66212f.js +0 -1
- package/dist/web/dist/_next/static/chunks/app/layout-bd9a7e5e4474b692.js +0 -1
- package/dist/web/dist/_next/static/chunks/app/recordings/page-7ba5d89391c9dace.js +0 -1
- package/dist/web/dist/_next/static/chunks/webpack-54e74ccc9e9451ee.js +0 -1
- package/dist/web/dist/_next/static/css/a8f0a381a2372781.css +0 -3
- package/dist/web/dist/_next/static/css/f60d210841fab76b.css +0 -1
- /package/dist/web/dist/_next/static/{m0UGHVTGvtvb9mn4-uzJJ → tYFZz41gyWi4-BhxuxlGU}/_buildManifest.js +0 -0
- /package/dist/web/dist/_next/static/{m0UGHVTGvtvb9mn4-uzJJ → tYFZz41gyWi4-BhxuxlGU}/_ssgManifest.js +0 -0
|
@@ -2351,10 +2351,10 @@ var require_controller_decorator = __commonJS({
|
|
|
2351
2351
|
"../../node_modules/.pnpm/@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.14.4_reflect-metadata@0.2.2_rxjs@7.8.2/node_modules/@nestjs/common/decorators/core/controller.decorator.js"(exports2) {
|
|
2352
2352
|
"use strict";
|
|
2353
2353
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2354
|
-
exports2.Controller =
|
|
2354
|
+
exports2.Controller = Controller44;
|
|
2355
2355
|
var constants_1 = require_constants2();
|
|
2356
2356
|
var shared_utils_1 = require_shared_utils();
|
|
2357
|
-
function
|
|
2357
|
+
function Controller44(prefixOrOptions) {
|
|
2358
2358
|
const defaultPath = "/";
|
|
2359
2359
|
const [path14, host, scopeOptions, versionOptions] = (0, shared_utils_1.isUndefined)(prefixOrOptions) ? [defaultPath, void 0, void 0, void 0] : (0, shared_utils_1.isString)(prefixOrOptions) || Array.isArray(prefixOrOptions) ? [prefixOrOptions, void 0, void 0, void 0] : [
|
|
2360
2360
|
prefixOrOptions.path || defaultPath,
|
|
@@ -2774,9 +2774,9 @@ var require_module_decorator = __commonJS({
|
|
|
2774
2774
|
"../../node_modules/.pnpm/@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.14.4_reflect-metadata@0.2.2_rxjs@7.8.2/node_modules/@nestjs/common/decorators/modules/module.decorator.js"(exports2) {
|
|
2775
2775
|
"use strict";
|
|
2776
2776
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2777
|
-
exports2.Module =
|
|
2777
|
+
exports2.Module = Module45;
|
|
2778
2778
|
var validate_module_keys_util_1 = require_validate_module_keys_util();
|
|
2779
|
-
function
|
|
2779
|
+
function Module45(metadata) {
|
|
2780
2780
|
const propsKeys = Object.keys(metadata);
|
|
2781
2781
|
(0, validate_module_keys_util_1.validateModuleKeys)(propsKeys);
|
|
2782
2782
|
return (target) => {
|
|
@@ -2897,10 +2897,10 @@ var require_route_params_decorator = __commonJS({
|
|
|
2897
2897
|
exports2.assignMetadata = assignMetadata;
|
|
2898
2898
|
exports2.UploadedFile = UploadedFile;
|
|
2899
2899
|
exports2.UploadedFiles = UploadedFiles;
|
|
2900
|
-
exports2.Query =
|
|
2900
|
+
exports2.Query = Query29;
|
|
2901
2901
|
exports2.Body = Body29;
|
|
2902
2902
|
exports2.RawBody = RawBody;
|
|
2903
|
-
exports2.Param =
|
|
2903
|
+
exports2.Param = Param25;
|
|
2904
2904
|
exports2.HostParam = HostParam;
|
|
2905
2905
|
var constants_1 = require_constants2();
|
|
2906
2906
|
var route_paramtypes_enum_1 = require_route_paramtypes_enum();
|
|
@@ -2946,7 +2946,7 @@ var require_route_params_decorator = __commonJS({
|
|
|
2946
2946
|
return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.FILES)(void 0, ...pipes);
|
|
2947
2947
|
}
|
|
2948
2948
|
exports2.Headers = createRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.HEADERS);
|
|
2949
|
-
function
|
|
2949
|
+
function Query29(property, ...pipes) {
|
|
2950
2950
|
return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.QUERY)(property, ...pipes);
|
|
2951
2951
|
}
|
|
2952
2952
|
function Body29(property, ...pipes) {
|
|
@@ -2955,7 +2955,7 @@ var require_route_params_decorator = __commonJS({
|
|
|
2955
2955
|
function RawBody(...pipes) {
|
|
2956
2956
|
return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.RAW_BODY)(void 0, ...pipes);
|
|
2957
2957
|
}
|
|
2958
|
-
function
|
|
2958
|
+
function Param25(property, ...pipes) {
|
|
2959
2959
|
return createPipesRouteParamDecorator(route_paramtypes_enum_1.RouteParamtypes.PARAM)(property, ...pipes);
|
|
2960
2960
|
}
|
|
2961
2961
|
function HostParam(property) {
|
|
@@ -39907,7 +39907,7 @@ var require_module = __commonJS({
|
|
|
39907
39907
|
var constants_2 = require_constants5();
|
|
39908
39908
|
var instance_wrapper_1 = require_instance_wrapper();
|
|
39909
39909
|
var module_ref_1 = require_module_ref();
|
|
39910
|
-
var
|
|
39910
|
+
var Module45 = class {
|
|
39911
39911
|
constructor(_metatype, container) {
|
|
39912
39912
|
this._metatype = _metatype;
|
|
39913
39913
|
this.container = container;
|
|
@@ -40301,7 +40301,7 @@ var require_module = __commonJS({
|
|
|
40301
40301
|
return (0, get_class_scope_1.getClassScope)(provider) === interfaces_1.Scope.TRANSIENT;
|
|
40302
40302
|
}
|
|
40303
40303
|
};
|
|
40304
|
-
exports2.Module =
|
|
40304
|
+
exports2.Module = Module45;
|
|
40305
40305
|
}
|
|
40306
40306
|
});
|
|
40307
40307
|
|
|
@@ -93032,7 +93032,7 @@ var require_config_service = __commonJS({
|
|
|
93032
93032
|
} : function(o, v) {
|
|
93033
93033
|
o["default"] = v;
|
|
93034
93034
|
});
|
|
93035
|
-
var
|
|
93035
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
93036
93036
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
93037
93037
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
93038
93038
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -93047,10 +93047,10 @@ var require_config_service = __commonJS({
|
|
|
93047
93047
|
__setModuleDefault2(result, mod);
|
|
93048
93048
|
return result;
|
|
93049
93049
|
};
|
|
93050
|
-
var
|
|
93050
|
+
var __metadata155 = exports2 && exports2.__metadata || function(k2, v) {
|
|
93051
93051
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
93052
93052
|
};
|
|
93053
|
-
var
|
|
93053
|
+
var __param89 = exports2 && exports2.__param || function(paramIndex, decorator) {
|
|
93054
93054
|
return function(target, key) {
|
|
93055
93055
|
decorator(target, key, paramIndex);
|
|
93056
93056
|
};
|
|
@@ -93202,11 +93202,11 @@ var require_config_service = __commonJS({
|
|
|
93202
93202
|
}
|
|
93203
93203
|
};
|
|
93204
93204
|
exports2.ConfigService = ConfigService10;
|
|
93205
|
-
exports2.ConfigService = ConfigService10 =
|
|
93205
|
+
exports2.ConfigService = ConfigService10 = __decorate204([
|
|
93206
93206
|
(0, common_1.Injectable)(),
|
|
93207
|
-
|
|
93208
|
-
|
|
93209
|
-
|
|
93207
|
+
__param89(0, (0, common_1.Optional)()),
|
|
93208
|
+
__param89(0, (0, common_1.Inject)(config_constants_1.CONFIGURATION_TOKEN)),
|
|
93209
|
+
__metadata155("design:paramtypes", [Object])
|
|
93210
93210
|
], ConfigService10);
|
|
93211
93211
|
}
|
|
93212
93212
|
});
|
|
@@ -93215,7 +93215,7 @@ var require_config_service = __commonJS({
|
|
|
93215
93215
|
var require_config_host_module = __commonJS({
|
|
93216
93216
|
"../../node_modules/.pnpm/@nestjs+config@3.3.0_@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.14.4_re_4ccxbulbtcejfsbymv6e4s3eea/node_modules/@nestjs/config/dist/config-host.module.js"(exports2) {
|
|
93217
93217
|
"use strict";
|
|
93218
|
-
var
|
|
93218
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
93219
93219
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
93220
93220
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
93221
93221
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -93229,7 +93229,7 @@ var require_config_host_module = __commonJS({
|
|
|
93229
93229
|
var ConfigHostModule = class ConfigHostModule {
|
|
93230
93230
|
};
|
|
93231
93231
|
exports2.ConfigHostModule = ConfigHostModule;
|
|
93232
|
-
exports2.ConfigHostModule = ConfigHostModule =
|
|
93232
|
+
exports2.ConfigHostModule = ConfigHostModule = __decorate204([
|
|
93233
93233
|
(0, common_1.Global)(),
|
|
93234
93234
|
(0, common_1.Module)({
|
|
93235
93235
|
providers: [
|
|
@@ -93333,7 +93333,7 @@ var require_config_module = __commonJS({
|
|
|
93333
93333
|
} : function(o, v) {
|
|
93334
93334
|
o["default"] = v;
|
|
93335
93335
|
});
|
|
93336
|
-
var
|
|
93336
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
93337
93337
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
93338
93338
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
93339
93339
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -93519,7 +93519,7 @@ var require_config_module = __commonJS({
|
|
|
93519
93519
|
};
|
|
93520
93520
|
exports2.ConfigModule = ConfigModule3;
|
|
93521
93521
|
ConfigModule3._envVariablesLoaded = new Promise((resolve7) => ConfigModule_1.environmentVariablesLoadedSignal = resolve7);
|
|
93522
|
-
exports2.ConfigModule = ConfigModule3 = ConfigModule_1 =
|
|
93522
|
+
exports2.ConfigModule = ConfigModule3 = ConfigModule_1 = __decorate204([
|
|
93523
93523
|
(0, common_1.Module)({
|
|
93524
93524
|
imports: [config_host_module_1.ConfigHostModule],
|
|
93525
93525
|
providers: [
|
|
@@ -93808,7 +93808,7 @@ var require_serve_static_options_interface = __commonJS({
|
|
|
93808
93808
|
var require_abstract_loader = __commonJS({
|
|
93809
93809
|
"../../node_modules/.pnpm/@nestjs+serve-static@4.0.2_@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.1_y5hnv7gpbfjd2slwy43qtae6vu/node_modules/@nestjs/serve-static/dist/loaders/abstract.loader.js"(exports2) {
|
|
93810
93810
|
"use strict";
|
|
93811
|
-
var
|
|
93811
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
93812
93812
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
93813
93813
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
93814
93814
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -93824,7 +93824,7 @@ var require_abstract_loader = __commonJS({
|
|
|
93824
93824
|
}
|
|
93825
93825
|
};
|
|
93826
93826
|
exports2.AbstractLoader = AbstractLoader;
|
|
93827
|
-
exports2.AbstractLoader = AbstractLoader =
|
|
93827
|
+
exports2.AbstractLoader = AbstractLoader = __decorate204([
|
|
93828
93828
|
(0, common_1.Injectable)()
|
|
93829
93829
|
], AbstractLoader);
|
|
93830
93830
|
}
|
|
@@ -93970,7 +93970,7 @@ var require_validate_path_util = __commonJS({
|
|
|
93970
93970
|
var require_express_loader = __commonJS({
|
|
93971
93971
|
"../../node_modules/.pnpm/@nestjs+serve-static@4.0.2_@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.1_y5hnv7gpbfjd2slwy43qtae6vu/node_modules/@nestjs/serve-static/dist/loaders/express.loader.js"(exports2) {
|
|
93972
93972
|
"use strict";
|
|
93973
|
-
var
|
|
93973
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
93974
93974
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
93975
93975
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
93976
93976
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -94016,7 +94016,7 @@ var require_express_loader = __commonJS({
|
|
|
94016
94016
|
}
|
|
94017
94017
|
};
|
|
94018
94018
|
exports2.ExpressLoader = ExpressLoader;
|
|
94019
|
-
exports2.ExpressLoader = ExpressLoader =
|
|
94019
|
+
exports2.ExpressLoader = ExpressLoader = __decorate204([
|
|
94020
94020
|
(0, common_1.Injectable)()
|
|
94021
94021
|
], ExpressLoader);
|
|
94022
94022
|
}
|
|
@@ -94026,7 +94026,7 @@ var require_express_loader = __commonJS({
|
|
|
94026
94026
|
var require_fastify_loader = __commonJS({
|
|
94027
94027
|
"../../node_modules/.pnpm/@nestjs+serve-static@4.0.2_@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.1_y5hnv7gpbfjd2slwy43qtae6vu/node_modules/@nestjs/serve-static/dist/loaders/fastify.loader.js"(exports2) {
|
|
94028
94028
|
"use strict";
|
|
94029
|
-
var
|
|
94029
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
94030
94030
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
94031
94031
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
94032
94032
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -94079,7 +94079,7 @@ var require_fastify_loader = __commonJS({
|
|
|
94079
94079
|
}
|
|
94080
94080
|
};
|
|
94081
94081
|
exports2.FastifyLoader = FastifyLoader;
|
|
94082
|
-
exports2.FastifyLoader = FastifyLoader =
|
|
94082
|
+
exports2.FastifyLoader = FastifyLoader = __decorate204([
|
|
94083
94083
|
(0, common_1.Injectable)()
|
|
94084
94084
|
], FastifyLoader);
|
|
94085
94085
|
}
|
|
@@ -94089,7 +94089,7 @@ var require_fastify_loader = __commonJS({
|
|
|
94089
94089
|
var require_noop_loader = __commonJS({
|
|
94090
94090
|
"../../node_modules/.pnpm/@nestjs+serve-static@4.0.2_@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.1_y5hnv7gpbfjd2slwy43qtae6vu/node_modules/@nestjs/serve-static/dist/loaders/noop.loader.js"(exports2) {
|
|
94091
94091
|
"use strict";
|
|
94092
|
-
var
|
|
94092
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
94093
94093
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
94094
94094
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
94095
94095
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -94104,7 +94104,7 @@ var require_noop_loader = __commonJS({
|
|
|
94104
94104
|
}
|
|
94105
94105
|
};
|
|
94106
94106
|
exports2.NoopLoader = NoopLoader;
|
|
94107
|
-
exports2.NoopLoader = NoopLoader =
|
|
94107
|
+
exports2.NoopLoader = NoopLoader = __decorate204([
|
|
94108
94108
|
(0, common_1.Injectable)()
|
|
94109
94109
|
], NoopLoader);
|
|
94110
94110
|
}
|
|
@@ -94144,16 +94144,16 @@ var require_serve_static_providers = __commonJS({
|
|
|
94144
94144
|
var require_serve_static_module = __commonJS({
|
|
94145
94145
|
"../../node_modules/.pnpm/@nestjs+serve-static@4.0.2_@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.1_y5hnv7gpbfjd2slwy43qtae6vu/node_modules/@nestjs/serve-static/dist/serve-static.module.js"(exports2) {
|
|
94146
94146
|
"use strict";
|
|
94147
|
-
var
|
|
94147
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
94148
94148
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
94149
94149
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
94150
94150
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
94151
94151
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
94152
94152
|
};
|
|
94153
|
-
var
|
|
94153
|
+
var __metadata155 = exports2 && exports2.__metadata || function(k2, v) {
|
|
94154
94154
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
94155
94155
|
};
|
|
94156
|
-
var
|
|
94156
|
+
var __param89 = exports2 && exports2.__param || function(paramIndex, decorator) {
|
|
94157
94157
|
return function(target, key) {
|
|
94158
94158
|
decorator(target, key, paramIndex);
|
|
94159
94159
|
};
|
|
@@ -94226,12 +94226,12 @@ var require_serve_static_module = __commonJS({
|
|
|
94226
94226
|
}
|
|
94227
94227
|
};
|
|
94228
94228
|
exports2.ServeStaticModule = ServeStaticModule2;
|
|
94229
|
-
exports2.ServeStaticModule = ServeStaticModule2 = ServeStaticModule_1 =
|
|
94229
|
+
exports2.ServeStaticModule = ServeStaticModule2 = ServeStaticModule_1 = __decorate204([
|
|
94230
94230
|
(0, common_1.Module)({
|
|
94231
94231
|
providers: [...serve_static_providers_1.serveStaticProviders]
|
|
94232
94232
|
}),
|
|
94233
|
-
|
|
94234
|
-
|
|
94233
|
+
__param89(0, (0, common_1.Inject)(serve_static_constants_1.SERVE_STATIC_MODULE_OPTIONS)),
|
|
94234
|
+
__metadata155("design:paramtypes", [
|
|
94235
94235
|
Array,
|
|
94236
94236
|
abstract_loader_1.AbstractLoader,
|
|
94237
94237
|
core_1.HttpAdapterHost
|
|
@@ -111075,7 +111075,7 @@ var require_query2 = __commonJS({
|
|
|
111075
111075
|
var ClientConstants = require_client2();
|
|
111076
111076
|
var Types = require_types5();
|
|
111077
111077
|
var { toParameter } = require_encode_parameter();
|
|
111078
|
-
var
|
|
111078
|
+
var Query29 = class {
|
|
111079
111079
|
constructor(sql, charsetNumber, attributes, clientFlags) {
|
|
111080
111080
|
this.query = sql;
|
|
111081
111081
|
this.charsetNumber = charsetNumber;
|
|
@@ -111147,7 +111147,7 @@ var require_query2 = __commonJS({
|
|
|
111147
111147
|
return this.serializeToBuffer(Buffer.allocUnsafe(p.offset));
|
|
111148
111148
|
}
|
|
111149
111149
|
};
|
|
111150
|
-
module2.exports =
|
|
111150
|
+
module2.exports = Query29;
|
|
111151
111151
|
}
|
|
111152
111152
|
});
|
|
111153
111153
|
|
|
@@ -111505,7 +111505,7 @@ var require_packets = __commonJS({
|
|
|
111505
111505
|
var HandshakeResponse = require_handshake_response();
|
|
111506
111506
|
var PrepareStatement = require_prepare_statement();
|
|
111507
111507
|
var PreparedStatementHeader = require_prepared_statement_header();
|
|
111508
|
-
var
|
|
111508
|
+
var Query29 = require_query2();
|
|
111509
111509
|
var RegisterSlave = require_register_slave();
|
|
111510
111510
|
var ResetConnection = require_reset_connection();
|
|
111511
111511
|
var ResultSetHeader = require_resultset_header();
|
|
@@ -111526,7 +111526,7 @@ var require_packets = __commonJS({
|
|
|
111526
111526
|
HandshakeResponse,
|
|
111527
111527
|
PrepareStatement,
|
|
111528
111528
|
PreparedStatementHeader,
|
|
111529
|
-
Query:
|
|
111529
|
+
Query: Query29,
|
|
111530
111530
|
RegisterSlave,
|
|
111531
111531
|
ResetConnection,
|
|
111532
111532
|
ResultSetHeader,
|
|
@@ -113141,7 +113141,7 @@ var require_query3 = __commonJS({
|
|
|
113141
113141
|
var staticParser = require_static_text_parser();
|
|
113142
113142
|
var ServerStatus = require_server_status();
|
|
113143
113143
|
var EmptyPacket = new Packets.Packet(0, Buffer.allocUnsafe(4), 0, 4);
|
|
113144
|
-
var
|
|
113144
|
+
var Query29 = class _Query extends Command {
|
|
113145
113145
|
constructor(options, callback) {
|
|
113146
113146
|
super();
|
|
113147
113147
|
this.sql = options.sql;
|
|
@@ -113446,8 +113446,8 @@ var require_query3 = __commonJS({
|
|
|
113446
113446
|
}
|
|
113447
113447
|
}
|
|
113448
113448
|
};
|
|
113449
|
-
|
|
113450
|
-
module2.exports =
|
|
113449
|
+
Query29.prototype.catch = Query29.prototype.then;
|
|
113450
|
+
module2.exports = Query29;
|
|
113451
113451
|
}
|
|
113452
113452
|
});
|
|
113453
113453
|
|
|
@@ -113899,7 +113899,7 @@ var require_execute2 = __commonJS({
|
|
|
113899
113899
|
"use strict";
|
|
113900
113900
|
var Timers = __require("timers");
|
|
113901
113901
|
var Command = require_command();
|
|
113902
|
-
var
|
|
113902
|
+
var Query29 = require_query3();
|
|
113903
113903
|
var Packets = require_packets();
|
|
113904
113904
|
var getBinaryParser = require_binary_parser();
|
|
113905
113905
|
var getStaticBinaryParser = require_static_binary_parser();
|
|
@@ -113990,15 +113990,15 @@ var require_execute2 = __commonJS({
|
|
|
113990
113990
|
return _Execute.prototype.row;
|
|
113991
113991
|
}
|
|
113992
113992
|
};
|
|
113993
|
-
Execute.prototype.done =
|
|
113994
|
-
Execute.prototype.doneInsert =
|
|
113995
|
-
Execute.prototype.resultsetHeader =
|
|
113996
|
-
Execute.prototype._findOrCreateReadStream =
|
|
113997
|
-
Execute.prototype._streamLocalInfile =
|
|
113998
|
-
Execute.prototype._setTimeout =
|
|
113999
|
-
Execute.prototype._handleTimeoutError =
|
|
114000
|
-
Execute.prototype.row =
|
|
114001
|
-
Execute.prototype.stream =
|
|
113993
|
+
Execute.prototype.done = Query29.prototype.done;
|
|
113994
|
+
Execute.prototype.doneInsert = Query29.prototype.doneInsert;
|
|
113995
|
+
Execute.prototype.resultsetHeader = Query29.prototype.resultsetHeader;
|
|
113996
|
+
Execute.prototype._findOrCreateReadStream = Query29.prototype._findOrCreateReadStream;
|
|
113997
|
+
Execute.prototype._streamLocalInfile = Query29.prototype._streamLocalInfile;
|
|
113998
|
+
Execute.prototype._setTimeout = Query29.prototype._setTimeout;
|
|
113999
|
+
Execute.prototype._handleTimeoutError = Query29.prototype._handleTimeoutError;
|
|
114000
|
+
Execute.prototype.row = Query29.prototype.row;
|
|
114001
|
+
Execute.prototype.stream = Query29.prototype.stream;
|
|
114002
114002
|
module2.exports = Execute;
|
|
114003
114003
|
}
|
|
114004
114004
|
});
|
|
@@ -114535,7 +114535,7 @@ var require_commands2 = __commonJS({
|
|
|
114535
114535
|
"use strict";
|
|
114536
114536
|
var ClientHandshake = require_client_handshake();
|
|
114537
114537
|
var ServerHandshake = require_server_handshake();
|
|
114538
|
-
var
|
|
114538
|
+
var Query29 = require_query3();
|
|
114539
114539
|
var Prepare = require_prepare();
|
|
114540
114540
|
var CloseStatement = require_close_statement2();
|
|
114541
114541
|
var Execute = require_execute2();
|
|
@@ -114548,7 +114548,7 @@ var require_commands2 = __commonJS({
|
|
|
114548
114548
|
module2.exports = {
|
|
114549
114549
|
ClientHandshake,
|
|
114550
114550
|
ServerHandshake,
|
|
114551
|
-
Query:
|
|
114551
|
+
Query: Query29,
|
|
114552
114552
|
Prepare,
|
|
114553
114553
|
CloseStatement,
|
|
114554
114554
|
Execute,
|
|
@@ -137678,14 +137678,14 @@ var require_Query = __commonJS({
|
|
|
137678
137678
|
"use strict";
|
|
137679
137679
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
137680
137680
|
exports2.Query = void 0;
|
|
137681
|
-
var
|
|
137681
|
+
var Query29 = class {
|
|
137682
137682
|
constructor(query, parameters) {
|
|
137683
137683
|
this.query = query;
|
|
137684
137684
|
this.parameters = parameters;
|
|
137685
137685
|
this["@instanceof"] = Symbol.for("Query");
|
|
137686
137686
|
}
|
|
137687
137687
|
};
|
|
137688
|
-
exports2.Query =
|
|
137688
|
+
exports2.Query = Query29;
|
|
137689
137689
|
}
|
|
137690
137690
|
});
|
|
137691
137691
|
|
|
@@ -178055,16 +178055,16 @@ var require_entities_metadata_storage = __commonJS({
|
|
|
178055
178055
|
var require_typeorm_core_module = __commonJS({
|
|
178056
178056
|
"../../node_modules/.pnpm/@nestjs+typeorm@10.0.2_@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.14.4__rtu75ogex4ui666p5nhypwgylq/node_modules/@nestjs/typeorm/dist/typeorm-core.module.js"(exports2) {
|
|
178057
178057
|
"use strict";
|
|
178058
|
-
var
|
|
178058
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
178059
178059
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
178060
178060
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
178061
178061
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
178062
178062
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
178063
178063
|
};
|
|
178064
|
-
var
|
|
178064
|
+
var __metadata155 = exports2 && exports2.__metadata || function(k2, v) {
|
|
178065
178065
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
178066
178066
|
};
|
|
178067
|
-
var
|
|
178067
|
+
var __param89 = exports2 && exports2.__param || function(paramIndex, decorator) {
|
|
178068
178068
|
return function(target, key) {
|
|
178069
178069
|
decorator(target, key, paramIndex);
|
|
178070
178070
|
};
|
|
@@ -178234,11 +178234,11 @@ var require_typeorm_core_module = __commonJS({
|
|
|
178234
178234
|
}).pipe((0, typeorm_utils_1.handleRetry)(options.retryAttempts, options.retryDelay, dataSourceToken, options.verboseRetryLog, options.toRetry)));
|
|
178235
178235
|
}
|
|
178236
178236
|
};
|
|
178237
|
-
exports2.TypeOrmCoreModule = TypeOrmCoreModule = TypeOrmCoreModule_1 =
|
|
178237
|
+
exports2.TypeOrmCoreModule = TypeOrmCoreModule = TypeOrmCoreModule_1 = __decorate204([
|
|
178238
178238
|
(0, common_1.Global)(),
|
|
178239
178239
|
(0, common_1.Module)({}),
|
|
178240
|
-
|
|
178241
|
-
|
|
178240
|
+
__param89(0, (0, common_1.Inject)(typeorm_constants_1.TYPEORM_MODULE_OPTIONS)),
|
|
178241
|
+
__metadata155("design:paramtypes", [Object, core_1.ModuleRef])
|
|
178242
178242
|
], TypeOrmCoreModule);
|
|
178243
178243
|
}
|
|
178244
178244
|
});
|
|
@@ -178276,7 +178276,7 @@ var require_typeorm_providers = __commonJS({
|
|
|
178276
178276
|
var require_typeorm_module = __commonJS({
|
|
178277
178277
|
"../../node_modules/.pnpm/@nestjs+typeorm@10.0.2_@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.14.4__rtu75ogex4ui666p5nhypwgylq/node_modules/@nestjs/typeorm/dist/typeorm.module.js"(exports2) {
|
|
178278
178278
|
"use strict";
|
|
178279
|
-
var
|
|
178279
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
178280
178280
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
178281
178281
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
178282
178282
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -178313,7 +178313,7 @@ var require_typeorm_module = __commonJS({
|
|
|
178313
178313
|
};
|
|
178314
178314
|
}
|
|
178315
178315
|
};
|
|
178316
|
-
exports2.TypeOrmModule = TypeOrmModule29 = TypeOrmModule_1 =
|
|
178316
|
+
exports2.TypeOrmModule = TypeOrmModule29 = TypeOrmModule_1 = __decorate204([
|
|
178317
178317
|
(0, common_1.Module)({})
|
|
178318
178318
|
], TypeOrmModule29);
|
|
178319
178319
|
}
|
|
@@ -184974,16 +184974,16 @@ var require_http_constants = __commonJS({
|
|
|
184974
184974
|
var require_http_service = __commonJS({
|
|
184975
184975
|
"../../node_modules/.pnpm/@nestjs+axios@3.1.3_@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.14.4_ref_24houauyh75zadnuxveih63xsm/node_modules/@nestjs/axios/dist/http.service.js"(exports2) {
|
|
184976
184976
|
"use strict";
|
|
184977
|
-
var
|
|
184977
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
184978
184978
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
184979
184979
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
184980
184980
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
184981
184981
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
184982
184982
|
};
|
|
184983
|
-
var
|
|
184983
|
+
var __metadata155 = exports2 && exports2.__metadata || function(k2, v) {
|
|
184984
184984
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
184985
184985
|
};
|
|
184986
|
-
var
|
|
184986
|
+
var __param89 = exports2 && exports2.__param || function(paramIndex, decorator) {
|
|
184987
184987
|
return function(target, key) {
|
|
184988
184988
|
decorator(target, key, paramIndex);
|
|
184989
184989
|
};
|
|
@@ -185062,9 +185062,9 @@ var require_http_service = __commonJS({
|
|
|
185062
185062
|
});
|
|
185063
185063
|
}
|
|
185064
185064
|
};
|
|
185065
|
-
HttpService3 =
|
|
185066
|
-
|
|
185067
|
-
|
|
185065
|
+
HttpService3 = __decorate204([
|
|
185066
|
+
__param89(0, (0, common_1.Inject)(http_constants_1.AXIOS_INSTANCE_TOKEN)),
|
|
185067
|
+
__metadata155("design:paramtypes", [Function])
|
|
185068
185068
|
], HttpService3);
|
|
185069
185069
|
exports2.HttpService = HttpService3;
|
|
185070
185070
|
}
|
|
@@ -185074,7 +185074,7 @@ var require_http_service = __commonJS({
|
|
|
185074
185074
|
var require_http_module = __commonJS({
|
|
185075
185075
|
"../../node_modules/.pnpm/@nestjs+axios@3.1.3_@nestjs+common@10.4.22_class-transformer@0.5.1_class-validator@0.14.4_ref_24houauyh75zadnuxveih63xsm/node_modules/@nestjs/axios/dist/http.module.js"(exports2) {
|
|
185076
185076
|
"use strict";
|
|
185077
|
-
var
|
|
185077
|
+
var __decorate204 = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
185078
185078
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
185079
185079
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
185080
185080
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -185155,7 +185155,7 @@ var require_http_module = __commonJS({
|
|
|
185155
185155
|
};
|
|
185156
185156
|
}
|
|
185157
185157
|
};
|
|
185158
|
-
HttpModule3 = HttpModule_1 =
|
|
185158
|
+
HttpModule3 = HttpModule_1 = __decorate204([
|
|
185159
185159
|
(0, common_1.Module)({
|
|
185160
185160
|
providers: [
|
|
185161
185161
|
http_service_1.HttpService,
|
|
@@ -194656,22 +194656,22 @@ var require_require_in_the_middle = __commonJS({
|
|
|
194656
194656
|
"../../node_modules/.pnpm/require-in-the-middle@8.0.1/node_modules/require-in-the-middle/index.js"(exports2, module2) {
|
|
194657
194657
|
"use strict";
|
|
194658
194658
|
var path14 = __require("path");
|
|
194659
|
-
var
|
|
194659
|
+
var Module45 = __require("module");
|
|
194660
194660
|
var debug3 = require_src()("require-in-the-middle");
|
|
194661
194661
|
var moduleDetailsFromPath = require_module_details_from_path();
|
|
194662
194662
|
module2.exports = Hook;
|
|
194663
194663
|
module2.exports.Hook = Hook;
|
|
194664
194664
|
var builtinModules;
|
|
194665
194665
|
var isCore;
|
|
194666
|
-
if (
|
|
194667
|
-
isCore =
|
|
194668
|
-
} else if (
|
|
194666
|
+
if (Module45.isBuiltin) {
|
|
194667
|
+
isCore = Module45.isBuiltin;
|
|
194668
|
+
} else if (Module45.builtinModules) {
|
|
194669
194669
|
isCore = (moduleName) => {
|
|
194670
194670
|
if (moduleName.startsWith("node:")) {
|
|
194671
194671
|
return true;
|
|
194672
194672
|
}
|
|
194673
194673
|
if (builtinModules === void 0) {
|
|
194674
|
-
builtinModules = new Set(
|
|
194674
|
+
builtinModules = new Set(Module45.builtinModules);
|
|
194675
194675
|
}
|
|
194676
194676
|
return builtinModules.has(moduleName);
|
|
194677
194677
|
};
|
|
@@ -194724,20 +194724,20 @@ var require_require_in_the_middle = __commonJS({
|
|
|
194724
194724
|
onrequire = options;
|
|
194725
194725
|
options = null;
|
|
194726
194726
|
}
|
|
194727
|
-
if (typeof
|
|
194728
|
-
console.error("Error: Expected Module._resolveFilename to be a function (was: %s) - aborting!", typeof
|
|
194727
|
+
if (typeof Module45._resolveFilename !== "function") {
|
|
194728
|
+
console.error("Error: Expected Module._resolveFilename to be a function (was: %s) - aborting!", typeof Module45._resolveFilename);
|
|
194729
194729
|
console.error("Please report this error as an issue related to Node.js %s at https://github.com/nodejs/require-in-the-middle/issues", process.version);
|
|
194730
194730
|
return;
|
|
194731
194731
|
}
|
|
194732
194732
|
this._cache = new ExportsCache();
|
|
194733
194733
|
this._unhooked = false;
|
|
194734
|
-
this._origRequire =
|
|
194734
|
+
this._origRequire = Module45.prototype.require;
|
|
194735
194735
|
const self2 = this;
|
|
194736
194736
|
const patching = /* @__PURE__ */ new Set();
|
|
194737
194737
|
const internals = options ? options.internals === true : false;
|
|
194738
194738
|
const hasWhitelist = Array.isArray(modules);
|
|
194739
194739
|
debug3("registering require hook");
|
|
194740
|
-
this._require =
|
|
194740
|
+
this._require = Module45.prototype.require = function(id) {
|
|
194741
194741
|
if (self2._unhooked === true) {
|
|
194742
194742
|
debug3("ignoring require call - module is soft-unhooked");
|
|
194743
194743
|
return self2._origRequire.apply(this, arguments);
|
|
@@ -194771,7 +194771,7 @@ var require_require_in_the_middle = __commonJS({
|
|
|
194771
194771
|
return self2._origGetBuiltinModule.apply(this, args);
|
|
194772
194772
|
} else {
|
|
194773
194773
|
try {
|
|
194774
|
-
filename =
|
|
194774
|
+
filename = Module45._resolveFilename(id, this);
|
|
194775
194775
|
} catch (resolveErr) {
|
|
194776
194776
|
debug3('Module._resolveFilename("%s") threw %j, calling original Module.require', id, resolveErr.message);
|
|
194777
194777
|
return self2._origRequire.apply(this, args);
|
|
@@ -194858,8 +194858,8 @@ var require_require_in_the_middle = __commonJS({
|
|
|
194858
194858
|
}
|
|
194859
194859
|
Hook.prototype.unhook = function() {
|
|
194860
194860
|
this._unhooked = true;
|
|
194861
|
-
if (this._require ===
|
|
194862
|
-
|
|
194861
|
+
if (this._require === Module45.prototype.require) {
|
|
194862
|
+
Module45.prototype.require = this._origRequire;
|
|
194863
194863
|
debug3("require unhook successful");
|
|
194864
194864
|
} else {
|
|
194865
194865
|
debug3("require unhook unsuccessful");
|
|
@@ -198303,6 +198303,127 @@ var require_index_shim = __commonJS({
|
|
|
198303
198303
|
}
|
|
198304
198304
|
});
|
|
198305
198305
|
|
|
198306
|
+
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.13_@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1__/node_modules/@chromepilot/kit/dist/redactor.js
|
|
198307
|
+
var redactor_exports = {};
|
|
198308
|
+
__export(redactor_exports, {
|
|
198309
|
+
DEFAULT_HEADER_KEYS: () => DEFAULT_HEADER_KEYS,
|
|
198310
|
+
DEFAULT_QUERY_KEYS: () => DEFAULT_QUERY_KEYS,
|
|
198311
|
+
createRedactor: () => createRedactor
|
|
198312
|
+
});
|
|
198313
|
+
function createRedactor(opts = {}) {
|
|
198314
|
+
const placeholder = opts.placeholder ?? "[REDACTED]";
|
|
198315
|
+
const matchMode = opts.matchMode ?? "exact";
|
|
198316
|
+
const headerKeys = [
|
|
198317
|
+
...opts.useDefaultHeaderKeys === false ? [] : DEFAULT_HEADER_KEYS,
|
|
198318
|
+
...opts.sensitiveHeaderKeys ?? []
|
|
198319
|
+
];
|
|
198320
|
+
const queryKeys = [
|
|
198321
|
+
...opts.useDefaultQueryKeys === false ? [] : DEFAULT_QUERY_KEYS,
|
|
198322
|
+
...opts.sensitiveQueryKeys ?? []
|
|
198323
|
+
];
|
|
198324
|
+
const bodyMode = opts.bodyMode ?? "json";
|
|
198325
|
+
function hit(keys, key) {
|
|
198326
|
+
const lower = key.toLowerCase();
|
|
198327
|
+
return matchMode === "includes" ? keys.some((s) => lower.includes(s)) : keys.includes(lower);
|
|
198328
|
+
}
|
|
198329
|
+
function redactHeaders(headers) {
|
|
198330
|
+
if (!headers)
|
|
198331
|
+
return void 0;
|
|
198332
|
+
const result = {};
|
|
198333
|
+
for (const [key, value] of Object.entries(headers)) {
|
|
198334
|
+
result[key] = hit(headerKeys, key) ? placeholder : value;
|
|
198335
|
+
}
|
|
198336
|
+
return result;
|
|
198337
|
+
}
|
|
198338
|
+
function redactUrlQuery(url2) {
|
|
198339
|
+
try {
|
|
198340
|
+
const u = new URL(url2);
|
|
198341
|
+
let changed = false;
|
|
198342
|
+
for (const key of u.searchParams.keys()) {
|
|
198343
|
+
if (hit(queryKeys, key)) {
|
|
198344
|
+
u.searchParams.set(key, placeholder);
|
|
198345
|
+
changed = true;
|
|
198346
|
+
}
|
|
198347
|
+
}
|
|
198348
|
+
return changed ? u.toString() : url2;
|
|
198349
|
+
} catch {
|
|
198350
|
+
return url2;
|
|
198351
|
+
}
|
|
198352
|
+
}
|
|
198353
|
+
function redactBodyJson(body) {
|
|
198354
|
+
const patterns = [
|
|
198355
|
+
/"password"\s*:\s*"[^"]*"/gi,
|
|
198356
|
+
/"access_token"\s*:\s*"[^"]*"/gi,
|
|
198357
|
+
/"refresh_token"\s*:\s*"[^"]*"/gi,
|
|
198358
|
+
/"api_key"\s*:\s*"[^"]*"/gi,
|
|
198359
|
+
/"token"\s*:\s*"[^"]*"/gi
|
|
198360
|
+
];
|
|
198361
|
+
let result = body;
|
|
198362
|
+
for (const p of patterns) {
|
|
198363
|
+
result = result.replace(p, (match) => {
|
|
198364
|
+
const key = match.split(":")[0];
|
|
198365
|
+
return `${key}: "${placeholder}"`;
|
|
198366
|
+
});
|
|
198367
|
+
}
|
|
198368
|
+
return result;
|
|
198369
|
+
}
|
|
198370
|
+
function redactBodyLoose(body) {
|
|
198371
|
+
let result = body.replace(/(password|token|secret|api[_-]?key)\s*[:=]\s*[^\s&]+/gi, `$1=${placeholder}`);
|
|
198372
|
+
for (const [pattern, replacement] of [PHONE_RULE, EMAIL_RULE, ...opts.extraBodyRules ?? []]) {
|
|
198373
|
+
result = result.replace(pattern, replacement);
|
|
198374
|
+
}
|
|
198375
|
+
return result;
|
|
198376
|
+
}
|
|
198377
|
+
function redactBody(body) {
|
|
198378
|
+
if (!body)
|
|
198379
|
+
return void 0;
|
|
198380
|
+
return bodyMode === "loose" ? redactBodyLoose(body) : redactBodyJson(body);
|
|
198381
|
+
}
|
|
198382
|
+
function redactText(text) {
|
|
198383
|
+
let result = text.replace(PHONE_RULE[0], PHONE_RULE[1]).replace(EMAIL_RULE[0], EMAIL_RULE[1]);
|
|
198384
|
+
for (const [pattern, replacement] of opts.extraBodyRules ?? []) {
|
|
198385
|
+
result = result.replace(pattern, replacement);
|
|
198386
|
+
}
|
|
198387
|
+
return result;
|
|
198388
|
+
}
|
|
198389
|
+
return { redactHeaders, redactUrlQuery, redactBody, redactText };
|
|
198390
|
+
}
|
|
198391
|
+
var DEFAULT_HEADER_KEYS, DEFAULT_QUERY_KEYS, PHONE_RULE, EMAIL_RULE;
|
|
198392
|
+
var init_redactor = __esm({
|
|
198393
|
+
"../../node_modules/.pnpm/@chromepilot+kit@0.1.13_@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1__/node_modules/@chromepilot/kit/dist/redactor.js"() {
|
|
198394
|
+
DEFAULT_HEADER_KEYS = [
|
|
198395
|
+
"authorization",
|
|
198396
|
+
"cookie",
|
|
198397
|
+
"set-cookie",
|
|
198398
|
+
"x-api-key",
|
|
198399
|
+
"x-auth-token",
|
|
198400
|
+
"access_token",
|
|
198401
|
+
"refresh_token",
|
|
198402
|
+
"password",
|
|
198403
|
+
"api_key",
|
|
198404
|
+
"apikey",
|
|
198405
|
+
"secret",
|
|
198406
|
+
"token"
|
|
198407
|
+
];
|
|
198408
|
+
DEFAULT_QUERY_KEYS = [
|
|
198409
|
+
"access_token",
|
|
198410
|
+
"refresh_token",
|
|
198411
|
+
"token",
|
|
198412
|
+
"api_key",
|
|
198413
|
+
"apikey",
|
|
198414
|
+
"key",
|
|
198415
|
+
"password",
|
|
198416
|
+
"secret",
|
|
198417
|
+
"code"
|
|
198418
|
+
];
|
|
198419
|
+
PHONE_RULE = [/\b\d{11}\b/g, "***PHONE***"];
|
|
198420
|
+
EMAIL_RULE = [
|
|
198421
|
+
/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,
|
|
198422
|
+
"***EMAIL***"
|
|
198423
|
+
];
|
|
198424
|
+
}
|
|
198425
|
+
});
|
|
198426
|
+
|
|
198306
198427
|
// ../../node_modules/.pnpm/systeminformation@5.33.13/node_modules/systeminformation/package.json
|
|
198307
198428
|
var require_package5 = __commonJS({
|
|
198308
198429
|
"../../node_modules/.pnpm/systeminformation@5.33.13/node_modules/systeminformation/package.json"(exports2, module2) {
|
|
@@ -216726,127 +216847,6 @@ var require_types7 = __commonJS({
|
|
|
216726
216847
|
}
|
|
216727
216848
|
});
|
|
216728
216849
|
|
|
216729
|
-
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.13_@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1__/node_modules/@chromepilot/kit/dist/redactor.js
|
|
216730
|
-
var redactor_exports = {};
|
|
216731
|
-
__export(redactor_exports, {
|
|
216732
|
-
DEFAULT_HEADER_KEYS: () => DEFAULT_HEADER_KEYS,
|
|
216733
|
-
DEFAULT_QUERY_KEYS: () => DEFAULT_QUERY_KEYS,
|
|
216734
|
-
createRedactor: () => createRedactor
|
|
216735
|
-
});
|
|
216736
|
-
function createRedactor(opts = {}) {
|
|
216737
|
-
const placeholder = opts.placeholder ?? "[REDACTED]";
|
|
216738
|
-
const matchMode = opts.matchMode ?? "exact";
|
|
216739
|
-
const headerKeys = [
|
|
216740
|
-
...opts.useDefaultHeaderKeys === false ? [] : DEFAULT_HEADER_KEYS,
|
|
216741
|
-
...opts.sensitiveHeaderKeys ?? []
|
|
216742
|
-
];
|
|
216743
|
-
const queryKeys = [
|
|
216744
|
-
...opts.useDefaultQueryKeys === false ? [] : DEFAULT_QUERY_KEYS,
|
|
216745
|
-
...opts.sensitiveQueryKeys ?? []
|
|
216746
|
-
];
|
|
216747
|
-
const bodyMode = opts.bodyMode ?? "json";
|
|
216748
|
-
function hit(keys, key) {
|
|
216749
|
-
const lower = key.toLowerCase();
|
|
216750
|
-
return matchMode === "includes" ? keys.some((s) => lower.includes(s)) : keys.includes(lower);
|
|
216751
|
-
}
|
|
216752
|
-
function redactHeaders(headers) {
|
|
216753
|
-
if (!headers)
|
|
216754
|
-
return void 0;
|
|
216755
|
-
const result = {};
|
|
216756
|
-
for (const [key, value] of Object.entries(headers)) {
|
|
216757
|
-
result[key] = hit(headerKeys, key) ? placeholder : value;
|
|
216758
|
-
}
|
|
216759
|
-
return result;
|
|
216760
|
-
}
|
|
216761
|
-
function redactUrlQuery(url2) {
|
|
216762
|
-
try {
|
|
216763
|
-
const u = new URL(url2);
|
|
216764
|
-
let changed = false;
|
|
216765
|
-
for (const key of u.searchParams.keys()) {
|
|
216766
|
-
if (hit(queryKeys, key)) {
|
|
216767
|
-
u.searchParams.set(key, placeholder);
|
|
216768
|
-
changed = true;
|
|
216769
|
-
}
|
|
216770
|
-
}
|
|
216771
|
-
return changed ? u.toString() : url2;
|
|
216772
|
-
} catch {
|
|
216773
|
-
return url2;
|
|
216774
|
-
}
|
|
216775
|
-
}
|
|
216776
|
-
function redactBodyJson(body) {
|
|
216777
|
-
const patterns = [
|
|
216778
|
-
/"password"\s*:\s*"[^"]*"/gi,
|
|
216779
|
-
/"access_token"\s*:\s*"[^"]*"/gi,
|
|
216780
|
-
/"refresh_token"\s*:\s*"[^"]*"/gi,
|
|
216781
|
-
/"api_key"\s*:\s*"[^"]*"/gi,
|
|
216782
|
-
/"token"\s*:\s*"[^"]*"/gi
|
|
216783
|
-
];
|
|
216784
|
-
let result = body;
|
|
216785
|
-
for (const p of patterns) {
|
|
216786
|
-
result = result.replace(p, (match) => {
|
|
216787
|
-
const key = match.split(":")[0];
|
|
216788
|
-
return `${key}: "${placeholder}"`;
|
|
216789
|
-
});
|
|
216790
|
-
}
|
|
216791
|
-
return result;
|
|
216792
|
-
}
|
|
216793
|
-
function redactBodyLoose(body) {
|
|
216794
|
-
let result = body.replace(/(password|token|secret|api[_-]?key)\s*[:=]\s*[^\s&]+/gi, `$1=${placeholder}`);
|
|
216795
|
-
for (const [pattern, replacement] of [PHONE_RULE, EMAIL_RULE, ...opts.extraBodyRules ?? []]) {
|
|
216796
|
-
result = result.replace(pattern, replacement);
|
|
216797
|
-
}
|
|
216798
|
-
return result;
|
|
216799
|
-
}
|
|
216800
|
-
function redactBody(body) {
|
|
216801
|
-
if (!body)
|
|
216802
|
-
return void 0;
|
|
216803
|
-
return bodyMode === "loose" ? redactBodyLoose(body) : redactBodyJson(body);
|
|
216804
|
-
}
|
|
216805
|
-
function redactText(text) {
|
|
216806
|
-
let result = text.replace(PHONE_RULE[0], PHONE_RULE[1]).replace(EMAIL_RULE[0], EMAIL_RULE[1]);
|
|
216807
|
-
for (const [pattern, replacement] of opts.extraBodyRules ?? []) {
|
|
216808
|
-
result = result.replace(pattern, replacement);
|
|
216809
|
-
}
|
|
216810
|
-
return result;
|
|
216811
|
-
}
|
|
216812
|
-
return { redactHeaders, redactUrlQuery, redactBody, redactText };
|
|
216813
|
-
}
|
|
216814
|
-
var DEFAULT_HEADER_KEYS, DEFAULT_QUERY_KEYS, PHONE_RULE, EMAIL_RULE;
|
|
216815
|
-
var init_redactor = __esm({
|
|
216816
|
-
"../../node_modules/.pnpm/@chromepilot+kit@0.1.13_@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1__/node_modules/@chromepilot/kit/dist/redactor.js"() {
|
|
216817
|
-
DEFAULT_HEADER_KEYS = [
|
|
216818
|
-
"authorization",
|
|
216819
|
-
"cookie",
|
|
216820
|
-
"set-cookie",
|
|
216821
|
-
"x-api-key",
|
|
216822
|
-
"x-auth-token",
|
|
216823
|
-
"access_token",
|
|
216824
|
-
"refresh_token",
|
|
216825
|
-
"password",
|
|
216826
|
-
"api_key",
|
|
216827
|
-
"apikey",
|
|
216828
|
-
"secret",
|
|
216829
|
-
"token"
|
|
216830
|
-
];
|
|
216831
|
-
DEFAULT_QUERY_KEYS = [
|
|
216832
|
-
"access_token",
|
|
216833
|
-
"refresh_token",
|
|
216834
|
-
"token",
|
|
216835
|
-
"api_key",
|
|
216836
|
-
"apikey",
|
|
216837
|
-
"key",
|
|
216838
|
-
"password",
|
|
216839
|
-
"secret",
|
|
216840
|
-
"code"
|
|
216841
|
-
];
|
|
216842
|
-
PHONE_RULE = [/\b\d{11}\b/g, "***PHONE***"];
|
|
216843
|
-
EMAIL_RULE = [
|
|
216844
|
-
/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,
|
|
216845
|
-
"***EMAIL***"
|
|
216846
|
-
];
|
|
216847
|
-
}
|
|
216848
|
-
});
|
|
216849
|
-
|
|
216850
216850
|
// ../shared/dist/redactor.js
|
|
216851
216851
|
var require_redactor = __commonJS({
|
|
216852
216852
|
"../shared/dist/redactor.js"(exports2) {
|
|
@@ -216914,6 +216914,7 @@ var require_hbr = __commonJS({
|
|
|
216914
216914
|
exports2.createHbrEvent = createHbrEvent;
|
|
216915
216915
|
exports2.createNetworkEvent = createNetworkEvent;
|
|
216916
216916
|
exports2.createConsoleEvent = createConsoleEvent;
|
|
216917
|
+
exports2.createExceptionEvent = createExceptionEvent;
|
|
216917
216918
|
exports2.createResumeEvent = createResumeEvent;
|
|
216918
216919
|
exports2.createActionEvent = createActionEvent;
|
|
216919
216920
|
function createHbrEvent(type, sessionId, payload, options) {
|
|
@@ -216933,6 +216934,9 @@ var require_hbr = __commonJS({
|
|
|
216933
216934
|
function createConsoleEvent(sessionId, data, privacy = "private") {
|
|
216934
216935
|
return createHbrEvent("console", sessionId, data, { privacy });
|
|
216935
216936
|
}
|
|
216937
|
+
function createExceptionEvent(sessionId, data, privacy = "private") {
|
|
216938
|
+
return createHbrEvent("exception", sessionId, data, { privacy });
|
|
216939
|
+
}
|
|
216936
216940
|
function createResumeEvent(sessionId, data, privacy = "private") {
|
|
216937
216941
|
return createHbrEvent("resume", sessionId, data, { privacy });
|
|
216938
216942
|
}
|
|
@@ -217019,12 +217023,12 @@ var require_dist10 = __commonJS({
|
|
|
217019
217023
|
|
|
217020
217024
|
// dist/.server-tsc/main.js
|
|
217021
217025
|
var import_core201 = __toESM(require_core3(), 1);
|
|
217022
|
-
var
|
|
217026
|
+
var import_common163 = __toESM(require_common(), 1);
|
|
217023
217027
|
var import_platform_ws = __toESM(require_platform_ws(), 1);
|
|
217024
217028
|
import * as http6 from "http";
|
|
217025
217029
|
|
|
217026
217030
|
// dist/.server-tsc/app.module.js
|
|
217027
|
-
var
|
|
217031
|
+
var import_common161 = __toESM(require_common(), 1);
|
|
217028
217032
|
var import_config11 = __toESM(require_config2(), 1);
|
|
217029
217033
|
var import_serve_static = __toESM(require_serve_static2(), 1);
|
|
217030
217034
|
import { join as join16 } from "path";
|
|
@@ -225785,7 +225789,7 @@ SystemService = SystemService_1 = __decorate88([
|
|
|
225785
225789
|
__metadata76("design:paramtypes", [])
|
|
225786
225790
|
], SystemService);
|
|
225787
225791
|
|
|
225788
|
-
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.
|
|
225792
|
+
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.13_@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1__/node_modules/@chromepilot/kit/dist/updater.js
|
|
225789
225793
|
var DEFAULT_INTERVAL_MS = 60 * 60 * 1e3;
|
|
225790
225794
|
|
|
225791
225795
|
// ../../node_modules/.pnpm/@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/index.js
|
|
@@ -264301,7 +264305,7 @@ function experimentalUseDiagnosticsChannelInjection(options) {
|
|
|
264301
264305
|
});
|
|
264302
264306
|
}
|
|
264303
264307
|
|
|
264304
|
-
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.
|
|
264308
|
+
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.13_@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1__/node_modules/@chromepilot/kit/dist/sentry.js
|
|
264305
264309
|
function isLocalDsn(dsn) {
|
|
264306
264310
|
try {
|
|
264307
264311
|
const url2 = new URL(dsn);
|
|
@@ -264353,7 +264357,22 @@ function initSentryFromEnv(envPrefix, o = {}) {
|
|
|
264353
264357
|
});
|
|
264354
264358
|
}
|
|
264355
264359
|
|
|
264356
|
-
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.
|
|
264360
|
+
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.13_@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1__/node_modules/@chromepilot/kit/dist/index.js
|
|
264361
|
+
init_redactor();
|
|
264362
|
+
|
|
264363
|
+
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.13_@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1__/node_modules/@chromepilot/kit/dist/url-key.js
|
|
264364
|
+
function recordingUrlKey(rawUrl) {
|
|
264365
|
+
try {
|
|
264366
|
+
const u = new URL(rawUrl);
|
|
264367
|
+
if (!u.origin || u.origin === "null")
|
|
264368
|
+
return "";
|
|
264369
|
+
return u.origin + u.pathname;
|
|
264370
|
+
} catch {
|
|
264371
|
+
return "";
|
|
264372
|
+
}
|
|
264373
|
+
}
|
|
264374
|
+
|
|
264375
|
+
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.13_@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1__/node_modules/@chromepilot/kit/dist/deferred-reload.js
|
|
264357
264376
|
import fs5 from "node:fs";
|
|
264358
264377
|
import path4 from "node:path";
|
|
264359
264378
|
var DEFAULT_PENDING_RELOAD_FILE = "pending-extension-reload.json";
|
|
@@ -264455,7 +264474,7 @@ function deliverPendingReload(home, state, socket, message, opts = {}) {
|
|
|
264455
264474
|
opts.logger?.info("pending extension reload delivered on reconnect");
|
|
264456
264475
|
}
|
|
264457
264476
|
|
|
264458
|
-
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.
|
|
264477
|
+
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.13_@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1__/node_modules/@chromepilot/kit/dist/connection.js
|
|
264459
264478
|
var KEEPALIVE_PING_INTERVAL_MS = 12e3;
|
|
264460
264479
|
var KEEPALIVE_PONG_TIMEOUT_MS = 9e4;
|
|
264461
264480
|
var SOCKET_OPEN_STATE = 1;
|
|
@@ -264526,7 +264545,7 @@ function replyPongOnPing(socket, data) {
|
|
|
264526
264545
|
return true;
|
|
264527
264546
|
}
|
|
264528
264547
|
|
|
264529
|
-
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.
|
|
264548
|
+
// ../../node_modules/.pnpm/@chromepilot+kit@0.1.13_@sentry+node@10.70.0_@opentelemetry+core@2.10.0_@opentelemetry+api@1.9.1__/node_modules/@chromepilot/kit/dist/ws-guard.js
|
|
264530
264549
|
function closeReplacedSocket(existing, incoming) {
|
|
264531
264550
|
if (!existing || existing === incoming)
|
|
264532
264551
|
return false;
|
|
@@ -265210,6 +265229,9 @@ var RecordingService = class RecordingService2 {
|
|
|
265210
265229
|
const { q, to } = options;
|
|
265211
265230
|
const from = options.from ?? (!to ? new Date(Date.now() - RecordingService_1.DEFAULT_WINDOW_MS) : void 0);
|
|
265212
265231
|
const qb = this.eventRepo.createQueryBuilder("e").select("e.sessionId", "sessionId").addSelect("COUNT(*)", "eventCount").addSelect("MIN(e.createdAt)", "startedAt").addSelect("MAX(e.createdAt)", "lastEventAt").addSelect("MAX(e.sourceUrl)", "sourceUrl").addSelect("MAX(e.tabId)", "tabId").groupBy("e.sessionId");
|
|
265232
|
+
if (options.withTypeCounts) {
|
|
265233
|
+
qb.addSelect("SUM(CASE WHEN e.eventType = 'rrweb' THEN 1 ELSE 0 END)", "rrwebCount").addSelect("SUM(CASE WHEN e.eventType = 'network' THEN 1 ELSE 0 END)", "networkCount").addSelect("SUM(CASE WHEN e.eventType = 'console' THEN 1 ELSE 0 END)", "consoleCount").addSelect("SUM(CASE WHEN e.eventType = 'resume' THEN 1 ELSE 0 END)", "resumeCount").addSelect("SUM(CASE WHEN e.eventType = 'action' THEN 1 ELSE 0 END)", "actionCount");
|
|
265234
|
+
}
|
|
265213
265235
|
if (from)
|
|
265214
265236
|
qb.andWhere("e.createdAt >= :from", { from });
|
|
265215
265237
|
if (to)
|
|
@@ -265228,10 +265250,30 @@ var RecordingService = class RecordingService2 {
|
|
|
265228
265250
|
startedAt: r.startedAt,
|
|
265229
265251
|
lastEventAt: r.lastEventAt,
|
|
265230
265252
|
sourceUrl: r.sourceUrl,
|
|
265231
|
-
tabId: r.tabId ? Number(r.tabId) : void 0
|
|
265253
|
+
tabId: r.tabId ? Number(r.tabId) : void 0,
|
|
265254
|
+
...r.rrwebCount !== void 0 ? {
|
|
265255
|
+
counts: {
|
|
265256
|
+
rrwebCount: Number(r.rrwebCount) || 0,
|
|
265257
|
+
networkCount: Number(r.networkCount) || 0,
|
|
265258
|
+
consoleCount: Number(r.consoleCount) || 0,
|
|
265259
|
+
resumeCount: Number(r.resumeCount) || 0,
|
|
265260
|
+
actionCount: Number(r.actionCount) || 0
|
|
265261
|
+
}
|
|
265262
|
+
} : {}
|
|
265232
265263
|
}))
|
|
265233
265264
|
};
|
|
265234
265265
|
}
|
|
265266
|
+
async getBusinessEvents(sessionId) {
|
|
265267
|
+
const events = await this.eventRepo.find({
|
|
265268
|
+
where: { sessionId, eventType: In(["resume", "action"]) },
|
|
265269
|
+
order: { createdAt: "ASC" }
|
|
265270
|
+
});
|
|
265271
|
+
return events.map((e) => ({
|
|
265272
|
+
eventType: e.eventType,
|
|
265273
|
+
createdAt: e.createdAt.toISOString(),
|
|
265274
|
+
payload: e.payload
|
|
265275
|
+
}));
|
|
265276
|
+
}
|
|
265235
265277
|
};
|
|
265236
265278
|
RecordingService = RecordingService_1 = __decorate94([
|
|
265237
265279
|
(0, import_common51.Injectable)(),
|
|
@@ -296756,11 +296798,90 @@ SearchModule = __decorate143([
|
|
|
296756
296798
|
})
|
|
296757
296799
|
], SearchModule);
|
|
296758
296800
|
|
|
296759
|
-
// dist/.server-tsc/
|
|
296801
|
+
// dist/.server-tsc/recordings-view/recordings-view.module.js
|
|
296760
296802
|
var import_common102 = __toESM(require_common(), 1);
|
|
296761
296803
|
|
|
296762
|
-
// dist/.server-tsc/
|
|
296804
|
+
// dist/.server-tsc/recordings-view/recordings-view.controller.js
|
|
296763
296805
|
var import_common101 = __toESM(require_common(), 1);
|
|
296806
|
+
|
|
296807
|
+
// dist/.server-tsc/recordings-view/recordings-view.mapper.js
|
|
296808
|
+
function parseMs(value) {
|
|
296809
|
+
if (value === null || value === void 0 || value === "")
|
|
296810
|
+
return null;
|
|
296811
|
+
const ms = value instanceof Date ? value.getTime() : Date.parse(value);
|
|
296812
|
+
return Number.isFinite(ms) ? ms : null;
|
|
296813
|
+
}
|
|
296814
|
+
function domainOf(url2) {
|
|
296815
|
+
if (!url2)
|
|
296816
|
+
return "";
|
|
296817
|
+
try {
|
|
296818
|
+
return new URL(url2).hostname || "";
|
|
296819
|
+
} catch {
|
|
296820
|
+
return "";
|
|
296821
|
+
}
|
|
296822
|
+
}
|
|
296823
|
+
function toRecordingMeta(row) {
|
|
296824
|
+
const start = parseMs(row.startedAt);
|
|
296825
|
+
const end = parseMs(row.lastEventAt);
|
|
296826
|
+
const url2 = row.sourceUrl ?? "";
|
|
296827
|
+
return {
|
|
296828
|
+
sessionId: row.sessionId,
|
|
296829
|
+
title: url2 || row.sessionId,
|
|
296830
|
+
status: "completed",
|
|
296831
|
+
startTime: start ?? 0,
|
|
296832
|
+
endTime: end,
|
|
296833
|
+
duration: start !== null && end !== null ? Math.max(0, end - start) : null,
|
|
296834
|
+
startUrl: url2,
|
|
296835
|
+
domain: domainOf(url2),
|
|
296836
|
+
url: url2,
|
|
296837
|
+
urlKey: url2 ? recordingUrlKey(url2) : "",
|
|
296838
|
+
tabId: row.tabId ?? null,
|
|
296839
|
+
tags: []
|
|
296840
|
+
};
|
|
296841
|
+
}
|
|
296842
|
+
function toListItem(row) {
|
|
296843
|
+
return {
|
|
296844
|
+
...toRecordingMeta(row),
|
|
296845
|
+
counts: row.counts,
|
|
296846
|
+
eventCount: row.eventCount,
|
|
296847
|
+
startedAt: row.startedAt,
|
|
296848
|
+
lastEventAt: row.lastEventAt,
|
|
296849
|
+
sourceUrl: row.sourceUrl ?? null
|
|
296850
|
+
};
|
|
296851
|
+
}
|
|
296852
|
+
function toMetaFromDetail(events, summary, sessionId) {
|
|
296853
|
+
const sourceUrl = events.find((e) => e.sourceUrl)?.sourceUrl ?? void 0;
|
|
296854
|
+
const tabId = events.find((e) => e.tabId !== null && e.tabId !== void 0)?.tabId ?? void 0;
|
|
296855
|
+
return toRecordingMeta({
|
|
296856
|
+
sessionId,
|
|
296857
|
+
eventCount: events.length,
|
|
296858
|
+
startedAt: summary.firstEventAt,
|
|
296859
|
+
lastEventAt: summary.lastEventAt,
|
|
296860
|
+
sourceUrl: sourceUrl ?? void 0,
|
|
296861
|
+
tabId: tabId ?? void 0
|
|
296862
|
+
});
|
|
296863
|
+
}
|
|
296864
|
+
function toRecordingEvents(events, sessionId) {
|
|
296865
|
+
const out = { rrweb: [], network: [], console: [], exceptions: [] };
|
|
296866
|
+
for (const e of events) {
|
|
296867
|
+
if (e.eventType === "rrweb") {
|
|
296868
|
+
out.rrweb.push(e.payload);
|
|
296869
|
+
continue;
|
|
296870
|
+
}
|
|
296871
|
+
if (e.eventType === "network" || e.eventType === "console" || e.eventType === "exception") {
|
|
296872
|
+
const lane = e.eventType === "exception" ? out.exceptions : out[e.eventType];
|
|
296873
|
+
lane.push({
|
|
296874
|
+
type: e.eventType,
|
|
296875
|
+
timestamp: parseMs(e.createdAt) ?? 0,
|
|
296876
|
+
sessionId,
|
|
296877
|
+
payload: e.payload ?? {}
|
|
296878
|
+
});
|
|
296879
|
+
}
|
|
296880
|
+
}
|
|
296881
|
+
return out;
|
|
296882
|
+
}
|
|
296883
|
+
|
|
296884
|
+
// dist/.server-tsc/recordings-view/recordings-view.controller.js
|
|
296764
296885
|
var __decorate144 = function(decorators, target, key, desc) {
|
|
296765
296886
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
296766
296887
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -296775,6 +296896,108 @@ var __param53 = function(paramIndex, decorator) {
|
|
|
296775
296896
|
decorator(target, key, paramIndex);
|
|
296776
296897
|
};
|
|
296777
296898
|
};
|
|
296899
|
+
var RecordingsViewController = class RecordingsViewController2 {
|
|
296900
|
+
recordingService;
|
|
296901
|
+
constructor(recordingService) {
|
|
296902
|
+
this.recordingService = recordingService;
|
|
296903
|
+
}
|
|
296904
|
+
async list(limit) {
|
|
296905
|
+
const capped = limit ? Math.min(Number(limit) || 100, 500) : 100;
|
|
296906
|
+
const data = await this.recordingService.listRecordings(capped, { withTypeCounts: true });
|
|
296907
|
+
return {
|
|
296908
|
+
recordings: data.sessions.map((row) => toListItem({
|
|
296909
|
+
sessionId: row.sessionId,
|
|
296910
|
+
eventCount: row.eventCount,
|
|
296911
|
+
startedAt: row.startedAt,
|
|
296912
|
+
lastEventAt: row.lastEventAt,
|
|
296913
|
+
sourceUrl: row.sourceUrl,
|
|
296914
|
+
tabId: row.tabId,
|
|
296915
|
+
counts: row.counts
|
|
296916
|
+
})),
|
|
296917
|
+
nextCursor: null
|
|
296918
|
+
};
|
|
296919
|
+
}
|
|
296920
|
+
async business(sessionId) {
|
|
296921
|
+
const items = await this.recordingService.getBusinessEvents(sessionId);
|
|
296922
|
+
return { items };
|
|
296923
|
+
}
|
|
296924
|
+
async events(sessionId) {
|
|
296925
|
+
const { events } = await this.recordingService.getRecording(sessionId);
|
|
296926
|
+
return toRecordingEvents(events, sessionId);
|
|
296927
|
+
}
|
|
296928
|
+
async meta(sessionId) {
|
|
296929
|
+
const { events, summary } = await this.recordingService.getRecording(sessionId);
|
|
296930
|
+
return toMetaFromDetail(events, summary, sessionId);
|
|
296931
|
+
}
|
|
296932
|
+
};
|
|
296933
|
+
__decorate144([
|
|
296934
|
+
(0, import_common101.Get)(),
|
|
296935
|
+
__param53(0, (0, import_common101.Query)("limit")),
|
|
296936
|
+
__metadata115("design:type", Function),
|
|
296937
|
+
__metadata115("design:paramtypes", [String]),
|
|
296938
|
+
__metadata115("design:returntype", Promise)
|
|
296939
|
+
], RecordingsViewController.prototype, "list", null);
|
|
296940
|
+
__decorate144([
|
|
296941
|
+
(0, import_common101.Get)(":sessionId/business"),
|
|
296942
|
+
__param53(0, (0, import_common101.Param)("sessionId")),
|
|
296943
|
+
__metadata115("design:type", Function),
|
|
296944
|
+
__metadata115("design:paramtypes", [String]),
|
|
296945
|
+
__metadata115("design:returntype", Promise)
|
|
296946
|
+
], RecordingsViewController.prototype, "business", null);
|
|
296947
|
+
__decorate144([
|
|
296948
|
+
(0, import_common101.Get)(":sessionId/events"),
|
|
296949
|
+
__param53(0, (0, import_common101.Param)("sessionId")),
|
|
296950
|
+
__metadata115("design:type", Function),
|
|
296951
|
+
__metadata115("design:paramtypes", [String]),
|
|
296952
|
+
__metadata115("design:returntype", Promise)
|
|
296953
|
+
], RecordingsViewController.prototype, "events", null);
|
|
296954
|
+
__decorate144([
|
|
296955
|
+
(0, import_common101.Get)(":sessionId"),
|
|
296956
|
+
__param53(0, (0, import_common101.Param)("sessionId")),
|
|
296957
|
+
__metadata115("design:type", Function),
|
|
296958
|
+
__metadata115("design:paramtypes", [String]),
|
|
296959
|
+
__metadata115("design:returntype", Promise)
|
|
296960
|
+
], RecordingsViewController.prototype, "meta", null);
|
|
296961
|
+
RecordingsViewController = __decorate144([
|
|
296962
|
+
(0, import_common101.Controller)("api/recordings-view/recordings"),
|
|
296963
|
+
__metadata115("design:paramtypes", [RecordingService])
|
|
296964
|
+
], RecordingsViewController);
|
|
296965
|
+
|
|
296966
|
+
// dist/.server-tsc/recordings-view/recordings-view.module.js
|
|
296967
|
+
var __decorate145 = function(decorators, target, key, desc) {
|
|
296968
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
296969
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
296970
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
296971
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
296972
|
+
};
|
|
296973
|
+
var RecordingsViewModule = class RecordingsViewModule2 {
|
|
296974
|
+
};
|
|
296975
|
+
RecordingsViewModule = __decorate145([
|
|
296976
|
+
(0, import_common102.Module)({
|
|
296977
|
+
imports: [RecordingModule],
|
|
296978
|
+
controllers: [RecordingsViewController]
|
|
296979
|
+
})
|
|
296980
|
+
], RecordingsViewModule);
|
|
296981
|
+
|
|
296982
|
+
// dist/.server-tsc/system/system.module.js
|
|
296983
|
+
var import_common104 = __toESM(require_common(), 1);
|
|
296984
|
+
|
|
296985
|
+
// dist/.server-tsc/system/system.controller.js
|
|
296986
|
+
var import_common103 = __toESM(require_common(), 1);
|
|
296987
|
+
var __decorate146 = function(decorators, target, key, desc) {
|
|
296988
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
296989
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
296990
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
296991
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
296992
|
+
};
|
|
296993
|
+
var __metadata116 = function(k2, v) {
|
|
296994
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
296995
|
+
};
|
|
296996
|
+
var __param54 = function(paramIndex, decorator) {
|
|
296997
|
+
return function(target, key) {
|
|
296998
|
+
decorator(target, key, paramIndex);
|
|
296999
|
+
};
|
|
297000
|
+
};
|
|
296778
297001
|
var SystemController = class SystemController2 {
|
|
296779
297002
|
system;
|
|
296780
297003
|
extensionControl;
|
|
@@ -296817,42 +297040,42 @@ var SystemController = class SystemController2 {
|
|
|
296817
297040
|
return { ok: true, broadcast: r.count, errors: r.errors, queued: r.queued };
|
|
296818
297041
|
}
|
|
296819
297042
|
};
|
|
296820
|
-
|
|
296821
|
-
(0,
|
|
296822
|
-
|
|
296823
|
-
|
|
296824
|
-
|
|
297043
|
+
__decorate146([
|
|
297044
|
+
(0, import_common103.Get)("versions"),
|
|
297045
|
+
__metadata116("design:type", Function),
|
|
297046
|
+
__metadata116("design:paramtypes", []),
|
|
297047
|
+
__metadata116("design:returntype", void 0)
|
|
296825
297048
|
], SystemController.prototype, "versions", null);
|
|
296826
|
-
|
|
296827
|
-
(0,
|
|
296828
|
-
|
|
296829
|
-
|
|
296830
|
-
|
|
297049
|
+
__decorate146([
|
|
297050
|
+
(0, import_common103.Get)("consistency"),
|
|
297051
|
+
__metadata116("design:type", Function),
|
|
297052
|
+
__metadata116("design:paramtypes", []),
|
|
297053
|
+
__metadata116("design:returntype", void 0)
|
|
296831
297054
|
], SystemController.prototype, "consistency", null);
|
|
296832
|
-
|
|
296833
|
-
(0,
|
|
296834
|
-
|
|
296835
|
-
|
|
296836
|
-
|
|
296837
|
-
|
|
297055
|
+
__decorate146([
|
|
297056
|
+
(0, import_common103.Post)("reload-plugins"),
|
|
297057
|
+
__param54(0, (0, import_common103.Body)()),
|
|
297058
|
+
__metadata116("design:type", Function),
|
|
297059
|
+
__metadata116("design:paramtypes", [Object]),
|
|
297060
|
+
__metadata116("design:returntype", void 0)
|
|
296838
297061
|
], SystemController.prototype, "reloadPlugins", null);
|
|
296839
|
-
|
|
296840
|
-
(0,
|
|
296841
|
-
|
|
296842
|
-
|
|
296843
|
-
|
|
296844
|
-
|
|
297062
|
+
__decorate146([
|
|
297063
|
+
(0, import_common103.Post)("broadcast-extension"),
|
|
297064
|
+
__param54(0, (0, import_common103.Body)()),
|
|
297065
|
+
__metadata116("design:type", Function),
|
|
297066
|
+
__metadata116("design:paramtypes", [Object]),
|
|
297067
|
+
__metadata116("design:returntype", void 0)
|
|
296845
297068
|
], SystemController.prototype, "broadcastExtension", null);
|
|
296846
|
-
SystemController =
|
|
296847
|
-
(0,
|
|
296848
|
-
|
|
297069
|
+
SystemController = __decorate146([
|
|
297070
|
+
(0, import_common103.Controller)("system"),
|
|
297071
|
+
__metadata116("design:paramtypes", [
|
|
296849
297072
|
SystemService,
|
|
296850
297073
|
ExtensionControlService
|
|
296851
297074
|
])
|
|
296852
297075
|
], SystemController);
|
|
296853
297076
|
|
|
296854
297077
|
// dist/.server-tsc/system/system.module.js
|
|
296855
|
-
var
|
|
297078
|
+
var __decorate147 = function(decorators, target, key, desc) {
|
|
296856
297079
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
296857
297080
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
296858
297081
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -296860,9 +297083,9 @@ var __decorate145 = function(decorators, target, key, desc) {
|
|
|
296860
297083
|
};
|
|
296861
297084
|
var SystemModule = class SystemModule2 {
|
|
296862
297085
|
};
|
|
296863
|
-
SystemModule =
|
|
296864
|
-
(0,
|
|
296865
|
-
(0,
|
|
297086
|
+
SystemModule = __decorate147([
|
|
297087
|
+
(0, import_common104.Global)(),
|
|
297088
|
+
(0, import_common104.Module)({
|
|
296866
297089
|
imports: [ExtensionCoreModule],
|
|
296867
297090
|
controllers: [SystemController],
|
|
296868
297091
|
providers: [SystemService],
|
|
@@ -296871,22 +297094,22 @@ SystemModule = __decorate145([
|
|
|
296871
297094
|
], SystemModule);
|
|
296872
297095
|
|
|
296873
297096
|
// dist/.server-tsc/snapshot/snapshot.module.js
|
|
296874
|
-
var
|
|
297097
|
+
var import_common107 = __toESM(require_common(), 1);
|
|
296875
297098
|
var import_typeorm123 = __toESM(require_typeorm2(), 1);
|
|
296876
297099
|
|
|
296877
297100
|
// dist/.server-tsc/snapshot/snapshot.service.js
|
|
296878
|
-
var
|
|
297101
|
+
var import_common105 = __toESM(require_common(), 1);
|
|
296879
297102
|
var import_typeorm121 = __toESM(require_typeorm2(), 1);
|
|
296880
|
-
var
|
|
297103
|
+
var __decorate148 = function(decorators, target, key, desc) {
|
|
296881
297104
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
296882
297105
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
296883
297106
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
296884
297107
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
296885
297108
|
};
|
|
296886
|
-
var
|
|
297109
|
+
var __metadata117 = function(k2, v) {
|
|
296887
297110
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
296888
297111
|
};
|
|
296889
|
-
var
|
|
297112
|
+
var __param55 = function(paramIndex, decorator) {
|
|
296890
297113
|
return function(target, key) {
|
|
296891
297114
|
decorator(target, key, paramIndex);
|
|
296892
297115
|
};
|
|
@@ -296913,25 +297136,25 @@ var SnapshotService = class SnapshotService2 {
|
|
|
296913
297136
|
return this.repo.find({ where: { status: "pending" }, take: limit, order: { createdAt: "ASC" } });
|
|
296914
297137
|
}
|
|
296915
297138
|
};
|
|
296916
|
-
SnapshotService =
|
|
296917
|
-
(0,
|
|
296918
|
-
|
|
296919
|
-
|
|
297139
|
+
SnapshotService = __decorate148([
|
|
297140
|
+
(0, import_common105.Injectable)(),
|
|
297141
|
+
__param55(0, (0, import_typeorm121.InjectRepository)(RawSnapshot)),
|
|
297142
|
+
__metadata117("design:paramtypes", [Repository])
|
|
296920
297143
|
], SnapshotService);
|
|
296921
297144
|
|
|
296922
297145
|
// dist/.server-tsc/snapshot/snapshot.controller.js
|
|
296923
|
-
var
|
|
297146
|
+
var import_common106 = __toESM(require_common(), 1);
|
|
296924
297147
|
var import_class_validator2 = __toESM(require_cjs(), 1);
|
|
296925
|
-
var
|
|
297148
|
+
var __decorate149 = function(decorators, target, key, desc) {
|
|
296926
297149
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
296927
297150
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
296928
297151
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
296929
297152
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
296930
297153
|
};
|
|
296931
|
-
var
|
|
297154
|
+
var __metadata118 = function(k2, v) {
|
|
296932
297155
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
296933
297156
|
};
|
|
296934
|
-
var
|
|
297157
|
+
var __param56 = function(paramIndex, decorator) {
|
|
296935
297158
|
return function(target, key) {
|
|
296936
297159
|
decorator(target, key, paramIndex);
|
|
296937
297160
|
};
|
|
@@ -296941,18 +297164,18 @@ var CreateSnapshotDto = class {
|
|
|
296941
297164
|
source;
|
|
296942
297165
|
content;
|
|
296943
297166
|
};
|
|
296944
|
-
|
|
297167
|
+
__decorate149([
|
|
296945
297168
|
(0, import_class_validator2.IsString)(),
|
|
296946
|
-
|
|
297169
|
+
__metadata118("design:type", Object)
|
|
296947
297170
|
], CreateSnapshotDto.prototype, "snapshotType", void 0);
|
|
296948
|
-
|
|
297171
|
+
__decorate149([
|
|
296949
297172
|
(0, import_class_validator2.IsObject)(),
|
|
296950
|
-
|
|
297173
|
+
__metadata118("design:type", Object)
|
|
296951
297174
|
], CreateSnapshotDto.prototype, "source", void 0);
|
|
296952
|
-
|
|
297175
|
+
__decorate149([
|
|
296953
297176
|
(0, import_class_validator2.IsOptional)(),
|
|
296954
297177
|
(0, import_class_validator2.IsObject)(),
|
|
296955
|
-
|
|
297178
|
+
__metadata118("design:type", Object)
|
|
296956
297179
|
], CreateSnapshotDto.prototype, "content", void 0);
|
|
296957
297180
|
var SnapshotController = class SnapshotController2 {
|
|
296958
297181
|
service;
|
|
@@ -296970,31 +297193,31 @@ var SnapshotController = class SnapshotController2 {
|
|
|
296970
297193
|
async get(id) {
|
|
296971
297194
|
const snapshot = await this.service.findById(id);
|
|
296972
297195
|
if (!snapshot)
|
|
296973
|
-
throw new
|
|
297196
|
+
throw new import_common106.NotFoundException(`Snapshot ${id} not found`);
|
|
296974
297197
|
return snapshot;
|
|
296975
297198
|
}
|
|
296976
297199
|
};
|
|
296977
|
-
|
|
296978
|
-
(0,
|
|
296979
|
-
|
|
296980
|
-
|
|
296981
|
-
|
|
296982
|
-
|
|
297200
|
+
__decorate149([
|
|
297201
|
+
(0, import_common106.Post)(),
|
|
297202
|
+
__param56(0, (0, import_common106.Body)()),
|
|
297203
|
+
__metadata118("design:type", Function),
|
|
297204
|
+
__metadata118("design:paramtypes", [CreateSnapshotDto]),
|
|
297205
|
+
__metadata118("design:returntype", Promise)
|
|
296983
297206
|
], SnapshotController.prototype, "create", null);
|
|
296984
|
-
|
|
296985
|
-
(0,
|
|
296986
|
-
|
|
296987
|
-
|
|
296988
|
-
|
|
296989
|
-
|
|
297207
|
+
__decorate149([
|
|
297208
|
+
(0, import_common106.Get)(":id"),
|
|
297209
|
+
__param56(0, (0, import_common106.Param)("id")),
|
|
297210
|
+
__metadata118("design:type", Function),
|
|
297211
|
+
__metadata118("design:paramtypes", [String]),
|
|
297212
|
+
__metadata118("design:returntype", Promise)
|
|
296990
297213
|
], SnapshotController.prototype, "get", null);
|
|
296991
|
-
SnapshotController =
|
|
296992
|
-
(0,
|
|
296993
|
-
|
|
297214
|
+
SnapshotController = __decorate149([
|
|
297215
|
+
(0, import_common106.Controller)("snapshots"),
|
|
297216
|
+
__metadata118("design:paramtypes", [SnapshotService])
|
|
296994
297217
|
], SnapshotController);
|
|
296995
297218
|
|
|
296996
297219
|
// dist/.server-tsc/snapshot/snapshot.module.js
|
|
296997
|
-
var
|
|
297220
|
+
var __decorate150 = function(decorators, target, key, desc) {
|
|
296998
297221
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
296999
297222
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
297000
297223
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -297002,8 +297225,8 @@ var __decorate148 = function(decorators, target, key, desc) {
|
|
|
297002
297225
|
};
|
|
297003
297226
|
var SnapshotModule = class SnapshotModule2 {
|
|
297004
297227
|
};
|
|
297005
|
-
SnapshotModule =
|
|
297006
|
-
(0,
|
|
297228
|
+
SnapshotModule = __decorate150([
|
|
297229
|
+
(0, import_common107.Module)({
|
|
297007
297230
|
imports: [import_typeorm123.TypeOrmModule.forFeature([RawSnapshot])],
|
|
297008
297231
|
providers: [SnapshotService],
|
|
297009
297232
|
controllers: [SnapshotController],
|
|
@@ -297012,22 +297235,22 @@ SnapshotModule = __decorate148([
|
|
|
297012
297235
|
], SnapshotModule);
|
|
297013
297236
|
|
|
297014
297237
|
// dist/.server-tsc/parsed-resume/parsed-resume.module.js
|
|
297015
|
-
var
|
|
297238
|
+
var import_common110 = __toESM(require_common(), 1);
|
|
297016
297239
|
var import_typeorm126 = __toESM(require_typeorm2(), 1);
|
|
297017
297240
|
|
|
297018
297241
|
// dist/.server-tsc/parsed-resume/parsed-resume.service.js
|
|
297019
|
-
var
|
|
297242
|
+
var import_common108 = __toESM(require_common(), 1);
|
|
297020
297243
|
var import_typeorm124 = __toESM(require_typeorm2(), 1);
|
|
297021
|
-
var
|
|
297244
|
+
var __decorate151 = function(decorators, target, key, desc) {
|
|
297022
297245
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
297023
297246
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
297024
297247
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
297025
297248
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
297026
297249
|
};
|
|
297027
|
-
var
|
|
297250
|
+
var __metadata119 = function(k2, v) {
|
|
297028
297251
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
297029
297252
|
};
|
|
297030
|
-
var
|
|
297253
|
+
var __param57 = function(paramIndex, decorator) {
|
|
297031
297254
|
return function(target, key) {
|
|
297032
297255
|
decorator(target, key, paramIndex);
|
|
297033
297256
|
};
|
|
@@ -297051,24 +297274,24 @@ var ParsedResumeService = class ParsedResumeService2 {
|
|
|
297051
297274
|
await this.repo.update(id, { talentPortraitId: portraitId });
|
|
297052
297275
|
}
|
|
297053
297276
|
};
|
|
297054
|
-
ParsedResumeService =
|
|
297055
|
-
(0,
|
|
297056
|
-
|
|
297057
|
-
|
|
297277
|
+
ParsedResumeService = __decorate151([
|
|
297278
|
+
(0, import_common108.Injectable)(),
|
|
297279
|
+
__param57(0, (0, import_typeorm124.InjectRepository)(ParsedResume)),
|
|
297280
|
+
__metadata119("design:paramtypes", [Repository])
|
|
297058
297281
|
], ParsedResumeService);
|
|
297059
297282
|
|
|
297060
297283
|
// dist/.server-tsc/parsed-resume/parsed-resume.controller.js
|
|
297061
|
-
var
|
|
297062
|
-
var
|
|
297284
|
+
var import_common109 = __toESM(require_common(), 1);
|
|
297285
|
+
var __decorate152 = function(decorators, target, key, desc) {
|
|
297063
297286
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
297064
297287
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
297065
297288
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
297066
297289
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
297067
297290
|
};
|
|
297068
|
-
var
|
|
297291
|
+
var __metadata120 = function(k2, v) {
|
|
297069
297292
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
297070
297293
|
};
|
|
297071
|
-
var
|
|
297294
|
+
var __param58 = function(paramIndex, decorator) {
|
|
297072
297295
|
return function(target, key) {
|
|
297073
297296
|
decorator(target, key, paramIndex);
|
|
297074
297297
|
};
|
|
@@ -297087,31 +297310,31 @@ var ParsedResumeController = class ParsedResumeController2 {
|
|
|
297087
297310
|
async get(id) {
|
|
297088
297311
|
const resume2 = await this.service.findById(id);
|
|
297089
297312
|
if (!resume2)
|
|
297090
|
-
throw new
|
|
297313
|
+
throw new import_common109.NotFoundException(`ParsedResume ${id} not found`);
|
|
297091
297314
|
return resume2;
|
|
297092
297315
|
}
|
|
297093
297316
|
};
|
|
297094
|
-
|
|
297095
|
-
(0,
|
|
297096
|
-
|
|
297097
|
-
|
|
297098
|
-
|
|
297099
|
-
|
|
297317
|
+
__decorate152([
|
|
297318
|
+
(0, import_common109.Get)(),
|
|
297319
|
+
__param58(0, (0, import_common109.Query)("portraitId")),
|
|
297320
|
+
__metadata120("design:type", Function),
|
|
297321
|
+
__metadata120("design:paramtypes", [String]),
|
|
297322
|
+
__metadata120("design:returntype", Promise)
|
|
297100
297323
|
], ParsedResumeController.prototype, "listByPortrait", null);
|
|
297101
|
-
|
|
297102
|
-
(0,
|
|
297103
|
-
|
|
297104
|
-
|
|
297105
|
-
|
|
297106
|
-
|
|
297324
|
+
__decorate152([
|
|
297325
|
+
(0, import_common109.Get)(":id"),
|
|
297326
|
+
__param58(0, (0, import_common109.Param)("id")),
|
|
297327
|
+
__metadata120("design:type", Function),
|
|
297328
|
+
__metadata120("design:paramtypes", [String]),
|
|
297329
|
+
__metadata120("design:returntype", Promise)
|
|
297107
297330
|
], ParsedResumeController.prototype, "get", null);
|
|
297108
|
-
ParsedResumeController =
|
|
297109
|
-
(0,
|
|
297110
|
-
|
|
297331
|
+
ParsedResumeController = __decorate152([
|
|
297332
|
+
(0, import_common109.Controller)("parsed-resumes"),
|
|
297333
|
+
__metadata120("design:paramtypes", [ParsedResumeService])
|
|
297111
297334
|
], ParsedResumeController);
|
|
297112
297335
|
|
|
297113
297336
|
// dist/.server-tsc/parsed-resume/parsed-resume.module.js
|
|
297114
|
-
var
|
|
297337
|
+
var __decorate153 = function(decorators, target, key, desc) {
|
|
297115
297338
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
297116
297339
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
297117
297340
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -297119,8 +297342,8 @@ var __decorate151 = function(decorators, target, key, desc) {
|
|
|
297119
297342
|
};
|
|
297120
297343
|
var ParsedResumeModule = class ParsedResumeModule2 {
|
|
297121
297344
|
};
|
|
297122
|
-
ParsedResumeModule =
|
|
297123
|
-
(0,
|
|
297345
|
+
ParsedResumeModule = __decorate153([
|
|
297346
|
+
(0, import_common110.Module)({
|
|
297124
297347
|
imports: [import_typeorm126.TypeOrmModule.forFeature([ParsedResume])],
|
|
297125
297348
|
providers: [ParsedResumeService],
|
|
297126
297349
|
controllers: [ParsedResumeController],
|
|
@@ -297129,22 +297352,22 @@ ParsedResumeModule = __decorate151([
|
|
|
297129
297352
|
], ParsedResumeModule);
|
|
297130
297353
|
|
|
297131
297354
|
// dist/.server-tsc/talent-job-match/talent-job-match.module.js
|
|
297132
|
-
var
|
|
297355
|
+
var import_common113 = __toESM(require_common(), 1);
|
|
297133
297356
|
var import_typeorm129 = __toESM(require_typeorm2(), 1);
|
|
297134
297357
|
|
|
297135
297358
|
// dist/.server-tsc/talent-job-match/talent-job-match.service.js
|
|
297136
|
-
var
|
|
297359
|
+
var import_common111 = __toESM(require_common(), 1);
|
|
297137
297360
|
var import_typeorm127 = __toESM(require_typeorm2(), 1);
|
|
297138
|
-
var
|
|
297361
|
+
var __decorate154 = function(decorators, target, key, desc) {
|
|
297139
297362
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
297140
297363
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
297141
297364
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
297142
297365
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
297143
297366
|
};
|
|
297144
|
-
var
|
|
297367
|
+
var __metadata121 = function(k2, v) {
|
|
297145
297368
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
297146
297369
|
};
|
|
297147
|
-
var
|
|
297370
|
+
var __param59 = function(paramIndex, decorator) {
|
|
297148
297371
|
return function(target, key) {
|
|
297149
297372
|
decorator(target, key, paramIndex);
|
|
297150
297373
|
};
|
|
@@ -297165,24 +297388,24 @@ var TalentJobMatchService = class TalentJobMatchService2 {
|
|
|
297165
297388
|
return this.repo.find({ where: { jobCaseId }, order: { createdAt: "DESC" } });
|
|
297166
297389
|
}
|
|
297167
297390
|
};
|
|
297168
|
-
TalentJobMatchService =
|
|
297169
|
-
(0,
|
|
297170
|
-
|
|
297171
|
-
|
|
297391
|
+
TalentJobMatchService = __decorate154([
|
|
297392
|
+
(0, import_common111.Injectable)(),
|
|
297393
|
+
__param59(0, (0, import_typeorm127.InjectRepository)(TalentJobMatch)),
|
|
297394
|
+
__metadata121("design:paramtypes", [Repository])
|
|
297172
297395
|
], TalentJobMatchService);
|
|
297173
297396
|
|
|
297174
297397
|
// dist/.server-tsc/talent-job-match/talent-job-match.controller.js
|
|
297175
|
-
var
|
|
297176
|
-
var
|
|
297398
|
+
var import_common112 = __toESM(require_common(), 1);
|
|
297399
|
+
var __decorate155 = function(decorators, target, key, desc) {
|
|
297177
297400
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
297178
297401
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
297179
297402
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
297180
297403
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
297181
297404
|
};
|
|
297182
|
-
var
|
|
297405
|
+
var __metadata122 = function(k2, v) {
|
|
297183
297406
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
297184
297407
|
};
|
|
297185
|
-
var
|
|
297408
|
+
var __param60 = function(paramIndex, decorator) {
|
|
297186
297409
|
return function(target, key) {
|
|
297187
297410
|
decorator(target, key, paramIndex);
|
|
297188
297411
|
};
|
|
@@ -297195,24 +297418,24 @@ var TalentJobMatchController = class TalentJobMatchController2 {
|
|
|
297195
297418
|
async get(id) {
|
|
297196
297419
|
const match = await this.service.findByPortrait(id);
|
|
297197
297420
|
if (!match.length)
|
|
297198
|
-
throw new
|
|
297421
|
+
throw new import_common112.NotFoundException(`No matches for portrait ${id}`);
|
|
297199
297422
|
return match;
|
|
297200
297423
|
}
|
|
297201
297424
|
};
|
|
297202
|
-
|
|
297203
|
-
(0,
|
|
297204
|
-
|
|
297205
|
-
|
|
297206
|
-
|
|
297207
|
-
|
|
297425
|
+
__decorate155([
|
|
297426
|
+
(0, import_common112.Get)(":id"),
|
|
297427
|
+
__param60(0, (0, import_common112.Param)("id")),
|
|
297428
|
+
__metadata122("design:type", Function),
|
|
297429
|
+
__metadata122("design:paramtypes", [String]),
|
|
297430
|
+
__metadata122("design:returntype", Promise)
|
|
297208
297431
|
], TalentJobMatchController.prototype, "get", null);
|
|
297209
|
-
TalentJobMatchController =
|
|
297210
|
-
(0,
|
|
297211
|
-
|
|
297432
|
+
TalentJobMatchController = __decorate155([
|
|
297433
|
+
(0, import_common112.Controller)("matches"),
|
|
297434
|
+
__metadata122("design:paramtypes", [TalentJobMatchService])
|
|
297212
297435
|
], TalentJobMatchController);
|
|
297213
297436
|
|
|
297214
297437
|
// dist/.server-tsc/talent-job-match/talent-job-match.module.js
|
|
297215
|
-
var
|
|
297438
|
+
var __decorate156 = function(decorators, target, key, desc) {
|
|
297216
297439
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
297217
297440
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
297218
297441
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -297220,8 +297443,8 @@ var __decorate154 = function(decorators, target, key, desc) {
|
|
|
297220
297443
|
};
|
|
297221
297444
|
var TalentJobMatchModule = class TalentJobMatchModule2 {
|
|
297222
297445
|
};
|
|
297223
|
-
TalentJobMatchModule =
|
|
297224
|
-
(0,
|
|
297446
|
+
TalentJobMatchModule = __decorate156([
|
|
297447
|
+
(0, import_common113.Module)({
|
|
297225
297448
|
imports: [import_typeorm129.TypeOrmModule.forFeature([TalentJobMatch])],
|
|
297226
297449
|
providers: [TalentJobMatchService],
|
|
297227
297450
|
controllers: [TalentJobMatchController],
|
|
@@ -297230,22 +297453,22 @@ TalentJobMatchModule = __decorate154([
|
|
|
297230
297453
|
], TalentJobMatchModule);
|
|
297231
297454
|
|
|
297232
297455
|
// dist/.server-tsc/remark/remark.module.js
|
|
297233
|
-
var
|
|
297456
|
+
var import_common116 = __toESM(require_common(), 1);
|
|
297234
297457
|
var import_typeorm132 = __toESM(require_typeorm2(), 1);
|
|
297235
297458
|
|
|
297236
297459
|
// dist/.server-tsc/remark/remark.service.js
|
|
297237
|
-
var
|
|
297460
|
+
var import_common114 = __toESM(require_common(), 1);
|
|
297238
297461
|
var import_typeorm130 = __toESM(require_typeorm2(), 1);
|
|
297239
|
-
var
|
|
297462
|
+
var __decorate157 = function(decorators, target, key, desc) {
|
|
297240
297463
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
297241
297464
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
297242
297465
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
297243
297466
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
297244
297467
|
};
|
|
297245
|
-
var
|
|
297468
|
+
var __metadata123 = function(k2, v) {
|
|
297246
297469
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
297247
297470
|
};
|
|
297248
|
-
var
|
|
297471
|
+
var __param61 = function(paramIndex, decorator) {
|
|
297249
297472
|
return function(target, key) {
|
|
297250
297473
|
decorator(target, key, paramIndex);
|
|
297251
297474
|
};
|
|
@@ -297263,24 +297486,24 @@ var RemarkService = class RemarkService2 {
|
|
|
297263
297486
|
return this.repo.find({ where: { targetType, targetId }, order: { createdAt: "DESC" } });
|
|
297264
297487
|
}
|
|
297265
297488
|
};
|
|
297266
|
-
RemarkService =
|
|
297267
|
-
(0,
|
|
297268
|
-
|
|
297269
|
-
|
|
297489
|
+
RemarkService = __decorate157([
|
|
297490
|
+
(0, import_common114.Injectable)(),
|
|
297491
|
+
__param61(0, (0, import_typeorm130.InjectRepository)(Remark)),
|
|
297492
|
+
__metadata123("design:paramtypes", [Repository])
|
|
297270
297493
|
], RemarkService);
|
|
297271
297494
|
|
|
297272
297495
|
// dist/.server-tsc/remark/remark.controller.js
|
|
297273
|
-
var
|
|
297274
|
-
var
|
|
297496
|
+
var import_common115 = __toESM(require_common(), 1);
|
|
297497
|
+
var __decorate158 = function(decorators, target, key, desc) {
|
|
297275
297498
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
297276
297499
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
297277
297500
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
297278
297501
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
297279
297502
|
};
|
|
297280
|
-
var
|
|
297503
|
+
var __metadata124 = function(k2, v) {
|
|
297281
297504
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
297282
297505
|
};
|
|
297283
|
-
var
|
|
297506
|
+
var __param62 = function(paramIndex, decorator) {
|
|
297284
297507
|
return function(target, key) {
|
|
297285
297508
|
decorator(target, key, paramIndex);
|
|
297286
297509
|
};
|
|
@@ -297297,28 +297520,28 @@ var RemarkController = class RemarkController2 {
|
|
|
297297
297520
|
return this.service.findByTarget(targetType, targetId);
|
|
297298
297521
|
}
|
|
297299
297522
|
};
|
|
297300
|
-
|
|
297301
|
-
(0,
|
|
297302
|
-
|
|
297303
|
-
|
|
297304
|
-
|
|
297305
|
-
|
|
297523
|
+
__decorate158([
|
|
297524
|
+
(0, import_common115.Post)(),
|
|
297525
|
+
__param62(0, (0, import_common115.Body)()),
|
|
297526
|
+
__metadata124("design:type", Function),
|
|
297527
|
+
__metadata124("design:paramtypes", [Object]),
|
|
297528
|
+
__metadata124("design:returntype", Promise)
|
|
297306
297529
|
], RemarkController.prototype, "create", null);
|
|
297307
|
-
|
|
297308
|
-
(0,
|
|
297309
|
-
|
|
297310
|
-
|
|
297311
|
-
|
|
297312
|
-
|
|
297313
|
-
|
|
297530
|
+
__decorate158([
|
|
297531
|
+
(0, import_common115.Get)(":targetType/:targetId"),
|
|
297532
|
+
__param62(0, (0, import_common115.Param)("targetType")),
|
|
297533
|
+
__param62(1, (0, import_common115.Param)("targetId")),
|
|
297534
|
+
__metadata124("design:type", Function),
|
|
297535
|
+
__metadata124("design:paramtypes", [Object, String]),
|
|
297536
|
+
__metadata124("design:returntype", Promise)
|
|
297314
297537
|
], RemarkController.prototype, "list", null);
|
|
297315
|
-
RemarkController =
|
|
297316
|
-
(0,
|
|
297317
|
-
|
|
297538
|
+
RemarkController = __decorate158([
|
|
297539
|
+
(0, import_common115.Controller)("remarks"),
|
|
297540
|
+
__metadata124("design:paramtypes", [RemarkService])
|
|
297318
297541
|
], RemarkController);
|
|
297319
297542
|
|
|
297320
297543
|
// dist/.server-tsc/remark/remark.module.js
|
|
297321
|
-
var
|
|
297544
|
+
var __decorate159 = function(decorators, target, key, desc) {
|
|
297322
297545
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
297323
297546
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
297324
297547
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -297326,8 +297549,8 @@ var __decorate157 = function(decorators, target, key, desc) {
|
|
|
297326
297549
|
};
|
|
297327
297550
|
var RemarkModule = class RemarkModule2 {
|
|
297328
297551
|
};
|
|
297329
|
-
RemarkModule =
|
|
297330
|
-
(0,
|
|
297552
|
+
RemarkModule = __decorate159([
|
|
297553
|
+
(0, import_common116.Module)({
|
|
297331
297554
|
imports: [import_typeorm132.TypeOrmModule.forFeature([Remark])],
|
|
297332
297555
|
providers: [RemarkService],
|
|
297333
297556
|
controllers: [RemarkController],
|
|
@@ -297336,15 +297559,15 @@ RemarkModule = __decorate157([
|
|
|
297336
297559
|
], RemarkModule);
|
|
297337
297560
|
|
|
297338
297561
|
// dist/.server-tsc/matching/matching.module.js
|
|
297339
|
-
var
|
|
297562
|
+
var import_common125 = __toESM(require_common(), 1);
|
|
297340
297563
|
var import_typeorm141 = __toESM(require_typeorm2(), 1);
|
|
297341
297564
|
|
|
297342
297565
|
// dist/.server-tsc/matching/matching.service.js
|
|
297343
|
-
var
|
|
297566
|
+
var import_common120 = __toESM(require_common(), 1);
|
|
297344
297567
|
var import_typeorm137 = __toESM(require_typeorm2(), 1);
|
|
297345
297568
|
|
|
297346
297569
|
// dist/.server-tsc/llm/llm.service.js
|
|
297347
|
-
var
|
|
297570
|
+
var import_common117 = __toESM(require_common(), 1);
|
|
297348
297571
|
var import_config7 = __toESM(require_config2(), 1);
|
|
297349
297572
|
|
|
297350
297573
|
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/bind.js
|
|
@@ -302565,19 +302788,19 @@ var {
|
|
|
302565
302788
|
} = axios_default;
|
|
302566
302789
|
|
|
302567
302790
|
// dist/.server-tsc/llm/llm.service.js
|
|
302568
|
-
var
|
|
302791
|
+
var __decorate160 = function(decorators, target, key, desc) {
|
|
302569
302792
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
302570
302793
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
302571
302794
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
302572
302795
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
302573
302796
|
};
|
|
302574
|
-
var
|
|
302797
|
+
var __metadata125 = function(k2, v) {
|
|
302575
302798
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
302576
302799
|
};
|
|
302577
302800
|
var LlmService_1;
|
|
302578
302801
|
var LlmService = LlmService_1 = class LlmService2 {
|
|
302579
302802
|
config;
|
|
302580
|
-
logger = new
|
|
302803
|
+
logger = new import_common117.Logger(LlmService_1.name);
|
|
302581
302804
|
constructor(config) {
|
|
302582
302805
|
this.config = config;
|
|
302583
302806
|
}
|
|
@@ -302618,24 +302841,24 @@ var LlmService = LlmService_1 = class LlmService2 {
|
|
|
302618
302841
|
return this.generateText([{ role: "user", content }], options);
|
|
302619
302842
|
}
|
|
302620
302843
|
};
|
|
302621
|
-
LlmService = LlmService_1 =
|
|
302622
|
-
(0,
|
|
302623
|
-
|
|
302844
|
+
LlmService = LlmService_1 = __decorate160([
|
|
302845
|
+
(0, import_common117.Injectable)(),
|
|
302846
|
+
__metadata125("design:paramtypes", [import_config7.ConfigService])
|
|
302624
302847
|
], LlmService);
|
|
302625
302848
|
|
|
302626
302849
|
// dist/.server-tsc/matching/matching-v2.service.js
|
|
302627
|
-
var
|
|
302850
|
+
var import_common118 = __toESM(require_common(), 1);
|
|
302628
302851
|
var import_typeorm133 = __toESM(require_typeorm2(), 1);
|
|
302629
|
-
var
|
|
302852
|
+
var __decorate161 = function(decorators, target, key, desc) {
|
|
302630
302853
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
302631
302854
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
302632
302855
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
302633
302856
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
302634
302857
|
};
|
|
302635
|
-
var
|
|
302858
|
+
var __metadata126 = function(k2, v) {
|
|
302636
302859
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
302637
302860
|
};
|
|
302638
|
-
var
|
|
302861
|
+
var __param63 = function(paramIndex, decorator) {
|
|
302639
302862
|
return function(target, key) {
|
|
302640
302863
|
decorator(target, key, paramIndex);
|
|
302641
302864
|
};
|
|
@@ -302820,25 +303043,25 @@ var MatchingV2Service = class MatchingV2Service2 {
|
|
|
302820
303043
|
return { items, total: items.length };
|
|
302821
303044
|
}
|
|
302822
303045
|
};
|
|
302823
|
-
MatchingV2Service =
|
|
302824
|
-
(0,
|
|
302825
|
-
|
|
302826
|
-
|
|
303046
|
+
MatchingV2Service = __decorate161([
|
|
303047
|
+
(0, import_common118.Injectable)(),
|
|
303048
|
+
__param63(0, (0, import_typeorm133.InjectRepository)(SkillThesaurus)),
|
|
303049
|
+
__metadata126("design:paramtypes", [Repository])
|
|
302827
303050
|
], MatchingV2Service);
|
|
302828
303051
|
|
|
302829
303052
|
// dist/.server-tsc/matching/embedding.service.js
|
|
302830
|
-
var
|
|
303053
|
+
var import_common119 = __toESM(require_common(), 1);
|
|
302831
303054
|
var import_typeorm135 = __toESM(require_typeorm2(), 1);
|
|
302832
|
-
var
|
|
303055
|
+
var __decorate162 = function(decorators, target, key, desc) {
|
|
302833
303056
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
302834
303057
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
302835
303058
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
302836
303059
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
302837
303060
|
};
|
|
302838
|
-
var
|
|
303061
|
+
var __metadata127 = function(k2, v) {
|
|
302839
303062
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
302840
303063
|
};
|
|
302841
|
-
var
|
|
303064
|
+
var __param64 = function(paramIndex, decorator) {
|
|
302842
303065
|
return function(target, key) {
|
|
302843
303066
|
decorator(target, key, paramIndex);
|
|
302844
303067
|
};
|
|
@@ -302889,7 +303112,7 @@ function jobEmbedText(j) {
|
|
|
302889
303112
|
}
|
|
302890
303113
|
var EmbeddingService = EmbeddingService_1 = class EmbeddingService2 {
|
|
302891
303114
|
cacheRepo;
|
|
302892
|
-
logger = new
|
|
303115
|
+
logger = new import_common119.Logger(EmbeddingService_1.name);
|
|
302893
303116
|
embedderPromise = null;
|
|
302894
303117
|
constructor(cacheRepo) {
|
|
302895
303118
|
this.cacheRepo = cacheRepo;
|
|
@@ -302942,23 +303165,23 @@ var EmbeddingService = EmbeddingService_1 = class EmbeddingService2 {
|
|
|
302942
303165
|
return cosine(pv, jv);
|
|
302943
303166
|
}
|
|
302944
303167
|
};
|
|
302945
|
-
EmbeddingService = EmbeddingService_1 =
|
|
302946
|
-
(0,
|
|
302947
|
-
|
|
302948
|
-
|
|
303168
|
+
EmbeddingService = EmbeddingService_1 = __decorate162([
|
|
303169
|
+
(0, import_common119.Injectable)(),
|
|
303170
|
+
__param64(0, (0, import_typeorm135.InjectRepository)(EmbeddingCache)),
|
|
303171
|
+
__metadata127("design:paramtypes", [Repository])
|
|
302949
303172
|
], EmbeddingService);
|
|
302950
303173
|
|
|
302951
303174
|
// dist/.server-tsc/matching/matching.service.js
|
|
302952
|
-
var
|
|
303175
|
+
var __decorate163 = function(decorators, target, key, desc) {
|
|
302953
303176
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
302954
303177
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
302955
303178
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
302956
303179
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
302957
303180
|
};
|
|
302958
|
-
var
|
|
303181
|
+
var __metadata128 = function(k2, v) {
|
|
302959
303182
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
302960
303183
|
};
|
|
302961
|
-
var
|
|
303184
|
+
var __param65 = function(paramIndex, decorator) {
|
|
302962
303185
|
return function(target, key) {
|
|
302963
303186
|
decorator(target, key, paramIndex);
|
|
302964
303187
|
};
|
|
@@ -302990,10 +303213,10 @@ var MatchingService = class MatchingService2 {
|
|
|
302990
303213
|
async matchOneInternal(portraitId, jobCaseId, aliasMap) {
|
|
302991
303214
|
const portrait = await this.portraitRepo.findOne({ where: { id: portraitId } });
|
|
302992
303215
|
if (!portrait)
|
|
302993
|
-
throw new
|
|
303216
|
+
throw new import_common120.NotFoundException(`Portrait ${portraitId} not found`);
|
|
302994
303217
|
const jobCase = await this.jobRepo.findOne({ where: { id: jobCaseId } });
|
|
302995
303218
|
if (!jobCase)
|
|
302996
|
-
throw new
|
|
303219
|
+
throw new import_common120.NotFoundException(`JobCase ${jobCaseId} not found`);
|
|
302997
303220
|
const jobPortrait = await this.jobPortraitRepo.findOne({ where: { jobCaseId } });
|
|
302998
303221
|
const gate = jobPortrait?.hardRequirements?.length ? evaluateGate(jobPortrait.hardRequirements, portrait) : void 0;
|
|
302999
303222
|
const map2 = aliasMap ?? await this.v2.loadAliasMap();
|
|
@@ -303020,7 +303243,7 @@ var MatchingService = class MatchingService2 {
|
|
|
303020
303243
|
async matchTalentToJobs(portraitId, statusFilter) {
|
|
303021
303244
|
const portrait = await this.portraitRepo.findOne({ where: { id: portraitId } });
|
|
303022
303245
|
if (!portrait)
|
|
303023
|
-
throw new
|
|
303246
|
+
throw new import_common120.NotFoundException(`Portrait ${portraitId} not found`);
|
|
303024
303247
|
const aliasMap = await this.v2.loadAliasMap();
|
|
303025
303248
|
const jobs = await this.jobRepo.find({ where: statusFilter ? { status: statusFilter } : {} });
|
|
303026
303249
|
const matches = [];
|
|
@@ -303034,7 +303257,7 @@ var MatchingService = class MatchingService2 {
|
|
|
303034
303257
|
async matchJobToTalents(jobCaseId) {
|
|
303035
303258
|
const jobCase = await this.jobRepo.findOne({ where: { id: jobCaseId } });
|
|
303036
303259
|
if (!jobCase)
|
|
303037
|
-
throw new
|
|
303260
|
+
throw new import_common120.NotFoundException(`JobCase ${jobCaseId} not found`);
|
|
303038
303261
|
const aliasMap = await this.v2.loadAliasMap();
|
|
303039
303262
|
const portraits = await this.portraitRepo.find();
|
|
303040
303263
|
const matches = [];
|
|
@@ -303046,7 +303269,7 @@ var MatchingService = class MatchingService2 {
|
|
|
303046
303269
|
async addFeedback(matchId, isRecommended, reason, user) {
|
|
303047
303270
|
const match = await this.matchRepo.findOne({ where: { id: matchId } });
|
|
303048
303271
|
if (!match)
|
|
303049
|
-
throw new
|
|
303272
|
+
throw new import_common120.NotFoundException(`Match ${matchId} not found`);
|
|
303050
303273
|
match.humanFeedback = {
|
|
303051
303274
|
isRecommended,
|
|
303052
303275
|
reason,
|
|
@@ -303358,13 +303581,13 @@ var MatchingService = class MatchingService2 {
|
|
|
303358
303581
|
return lines.join("\n");
|
|
303359
303582
|
}
|
|
303360
303583
|
};
|
|
303361
|
-
MatchingService =
|
|
303362
|
-
(0,
|
|
303363
|
-
|
|
303364
|
-
|
|
303365
|
-
|
|
303366
|
-
|
|
303367
|
-
|
|
303584
|
+
MatchingService = __decorate163([
|
|
303585
|
+
(0, import_common120.Injectable)(),
|
|
303586
|
+
__param65(0, (0, import_typeorm137.InjectRepository)(TalentPortrait)),
|
|
303587
|
+
__param65(1, (0, import_typeorm137.InjectRepository)(JobCase)),
|
|
303588
|
+
__param65(2, (0, import_typeorm137.InjectRepository)(TalentJobMatch)),
|
|
303589
|
+
__param65(3, (0, import_typeorm137.InjectRepository)(JobPortrait)),
|
|
303590
|
+
__metadata128("design:paramtypes", [
|
|
303368
303591
|
Repository,
|
|
303369
303592
|
Repository,
|
|
303370
303593
|
Repository,
|
|
@@ -303378,17 +303601,17 @@ MatchingService = __decorate161([
|
|
|
303378
303601
|
], MatchingService);
|
|
303379
303602
|
|
|
303380
303603
|
// dist/.server-tsc/matching/matching.controller.js
|
|
303381
|
-
var
|
|
303382
|
-
var
|
|
303604
|
+
var import_common121 = __toESM(require_common(), 1);
|
|
303605
|
+
var __decorate164 = function(decorators, target, key, desc) {
|
|
303383
303606
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
303384
303607
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
303385
303608
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
303386
303609
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
303387
303610
|
};
|
|
303388
|
-
var
|
|
303611
|
+
var __metadata129 = function(k2, v) {
|
|
303389
303612
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
303390
303613
|
};
|
|
303391
|
-
var
|
|
303614
|
+
var __param66 = function(paramIndex, decorator) {
|
|
303392
303615
|
return function(target, key) {
|
|
303393
303616
|
decorator(target, key, paramIndex);
|
|
303394
303617
|
};
|
|
@@ -303422,59 +303645,59 @@ var MatchingController = class MatchingController2 {
|
|
|
303422
303645
|
return this.service.matchJobToTalents(parseInt(jobId, 10));
|
|
303423
303646
|
}
|
|
303424
303647
|
};
|
|
303425
|
-
|
|
303426
|
-
(0,
|
|
303427
|
-
|
|
303428
|
-
|
|
303429
|
-
|
|
303430
|
-
|
|
303431
|
-
|
|
303648
|
+
__decorate164([
|
|
303649
|
+
(0, import_common121.Post)("portraits/:portraitId/jobs/:jobId"),
|
|
303650
|
+
__param66(0, (0, import_common121.Param)("portraitId")),
|
|
303651
|
+
__param66(1, (0, import_common121.Param)("jobId")),
|
|
303652
|
+
__metadata129("design:type", Function),
|
|
303653
|
+
__metadata129("design:paramtypes", [String, String]),
|
|
303654
|
+
__metadata129("design:returntype", Promise)
|
|
303432
303655
|
], MatchingController.prototype, "matchOne", null);
|
|
303433
|
-
|
|
303434
|
-
(0,
|
|
303435
|
-
|
|
303436
|
-
|
|
303437
|
-
|
|
303438
|
-
|
|
303656
|
+
__decorate164([
|
|
303657
|
+
(0, import_common121.Post)("portraits/:portraitId/jobs"),
|
|
303658
|
+
__param66(0, (0, import_common121.Param)("portraitId")),
|
|
303659
|
+
__metadata129("design:type", Function),
|
|
303660
|
+
__metadata129("design:paramtypes", [String]),
|
|
303661
|
+
__metadata129("design:returntype", Promise)
|
|
303439
303662
|
], MatchingController.prototype, "matchTalentToJobsPost", null);
|
|
303440
|
-
|
|
303441
|
-
(0,
|
|
303442
|
-
|
|
303443
|
-
|
|
303444
|
-
|
|
303445
|
-
|
|
303663
|
+
__decorate164([
|
|
303664
|
+
(0, import_common121.Get)("portraits/:portraitId/jobs"),
|
|
303665
|
+
__param66(0, (0, import_common121.Param)("portraitId")),
|
|
303666
|
+
__metadata129("design:type", Function),
|
|
303667
|
+
__metadata129("design:paramtypes", [String]),
|
|
303668
|
+
__metadata129("design:returntype", Promise)
|
|
303446
303669
|
], MatchingController.prototype, "matchTalentToJobs", null);
|
|
303447
|
-
|
|
303448
|
-
(0,
|
|
303449
|
-
|
|
303450
|
-
|
|
303451
|
-
|
|
303452
|
-
|
|
303670
|
+
__decorate164([
|
|
303671
|
+
(0, import_common121.Post)("jobs/:jobId/talents"),
|
|
303672
|
+
__param66(0, (0, import_common121.Param)("jobId")),
|
|
303673
|
+
__metadata129("design:type", Function),
|
|
303674
|
+
__metadata129("design:paramtypes", [String]),
|
|
303675
|
+
__metadata129("design:returntype", Promise)
|
|
303453
303676
|
], MatchingController.prototype, "matchJobToTalents", null);
|
|
303454
|
-
|
|
303455
|
-
(0,
|
|
303456
|
-
|
|
303457
|
-
|
|
303458
|
-
|
|
303459
|
-
|
|
303460
|
-
|
|
303461
|
-
|
|
303677
|
+
__decorate164([
|
|
303678
|
+
(0, import_common121.Post)("matches/:matchId/feedback"),
|
|
303679
|
+
__param66(0, (0, import_common121.Param)("matchId")),
|
|
303680
|
+
__param66(1, (0, import_common121.Body)()),
|
|
303681
|
+
__param66(2, (0, import_common121.Request)()),
|
|
303682
|
+
__metadata129("design:type", Function),
|
|
303683
|
+
__metadata129("design:paramtypes", [String, FeedbackDto, Object]),
|
|
303684
|
+
__metadata129("design:returntype", Promise)
|
|
303462
303685
|
], MatchingController.prototype, "feedback", null);
|
|
303463
|
-
|
|
303464
|
-
(0,
|
|
303465
|
-
|
|
303466
|
-
|
|
303467
|
-
|
|
303468
|
-
|
|
303686
|
+
__decorate164([
|
|
303687
|
+
(0, import_common121.Get)("jobs/:jobId/talents"),
|
|
303688
|
+
__param66(0, (0, import_common121.Param)("jobId")),
|
|
303689
|
+
__metadata129("design:type", Function),
|
|
303690
|
+
__metadata129("design:paramtypes", [String]),
|
|
303691
|
+
__metadata129("design:returntype", Promise)
|
|
303469
303692
|
], MatchingController.prototype, "getJobMatches", null);
|
|
303470
|
-
MatchingController =
|
|
303471
|
-
(0,
|
|
303472
|
-
|
|
303693
|
+
MatchingController = __decorate164([
|
|
303694
|
+
(0, import_common121.Controller)("matching"),
|
|
303695
|
+
__metadata129("design:paramtypes", [MatchingService])
|
|
303473
303696
|
], MatchingController);
|
|
303474
303697
|
|
|
303475
303698
|
// dist/.server-tsc/llm/llm.module.js
|
|
303476
|
-
var
|
|
303477
|
-
var
|
|
303699
|
+
var import_common122 = __toESM(require_common(), 1);
|
|
303700
|
+
var __decorate165 = function(decorators, target, key, desc) {
|
|
303478
303701
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
303479
303702
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
303480
303703
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -303482,15 +303705,15 @@ var __decorate163 = function(decorators, target, key, desc) {
|
|
|
303482
303705
|
};
|
|
303483
303706
|
var LlmModule = class LlmModule2 {
|
|
303484
303707
|
};
|
|
303485
|
-
LlmModule =
|
|
303486
|
-
(0,
|
|
303708
|
+
LlmModule = __decorate165([
|
|
303709
|
+
(0, import_common122.Module)({
|
|
303487
303710
|
providers: [LlmService],
|
|
303488
303711
|
exports: [LlmService]
|
|
303489
303712
|
})
|
|
303490
303713
|
], LlmModule);
|
|
303491
303714
|
|
|
303492
303715
|
// dist/.server-tsc/matching/job-portrait.service.js
|
|
303493
|
-
var
|
|
303716
|
+
var import_common123 = __toESM(require_common(), 1);
|
|
303494
303717
|
var import_typeorm139 = __toESM(require_typeorm2(), 1);
|
|
303495
303718
|
|
|
303496
303719
|
// dist/.server-tsc/matching/job-portrait.prompts.js
|
|
@@ -303544,16 +303767,16 @@ curl -X PUT ${HM_BASE}/job-cases/${d.jobCaseId}/portrait \\
|
|
|
303544
303767
|
}
|
|
303545
303768
|
|
|
303546
303769
|
// dist/.server-tsc/matching/job-portrait.service.js
|
|
303547
|
-
var
|
|
303770
|
+
var __decorate166 = function(decorators, target, key, desc) {
|
|
303548
303771
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
303549
303772
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
303550
303773
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
303551
303774
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
303552
303775
|
};
|
|
303553
|
-
var
|
|
303776
|
+
var __metadata130 = function(k2, v) {
|
|
303554
303777
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
303555
303778
|
};
|
|
303556
|
-
var
|
|
303779
|
+
var __param67 = function(paramIndex, decorator) {
|
|
303557
303780
|
return function(target, key) {
|
|
303558
303781
|
decorator(target, key, paramIndex);
|
|
303559
303782
|
};
|
|
@@ -303563,7 +303786,7 @@ var JobPortraitService = JobPortraitService_1 = class JobPortraitService2 {
|
|
|
303563
303786
|
repo;
|
|
303564
303787
|
jobRepo;
|
|
303565
303788
|
feedbackRepo;
|
|
303566
|
-
logger = new
|
|
303789
|
+
logger = new import_common123.Logger(JobPortraitService_1.name);
|
|
303567
303790
|
constructor(repo, jobRepo, feedbackRepo) {
|
|
303568
303791
|
this.repo = repo;
|
|
303569
303792
|
this.jobRepo = jobRepo;
|
|
@@ -303572,7 +303795,7 @@ var JobPortraitService = JobPortraitService_1 = class JobPortraitService2 {
|
|
|
303572
303795
|
async get(jobCaseId) {
|
|
303573
303796
|
const row = await this.repo.findOne({ where: { jobCaseId } });
|
|
303574
303797
|
if (!row)
|
|
303575
|
-
throw new
|
|
303798
|
+
throw new import_common123.NotFoundException(`JobPortrait for jobCase ${jobCaseId} not found(\u5C1A\u672A\u6DF1\u6790)`);
|
|
303576
303799
|
return row;
|
|
303577
303800
|
}
|
|
303578
303801
|
async getOrNull(jobCaseId) {
|
|
@@ -303581,7 +303804,7 @@ var JobPortraitService = JobPortraitService_1 = class JobPortraitService2 {
|
|
|
303581
303804
|
async upsert(jobCaseId, dto, by = "agent") {
|
|
303582
303805
|
const job = await this.jobRepo.findOne({ where: { id: jobCaseId } });
|
|
303583
303806
|
if (!job)
|
|
303584
|
-
throw new
|
|
303807
|
+
throw new import_common123.NotFoundException(`JobCase ${jobCaseId} not found`);
|
|
303585
303808
|
const existing = await this.repo.findOne({ where: { jobCaseId } });
|
|
303586
303809
|
const revisions = [
|
|
303587
303810
|
...existing?.revisions || [],
|
|
@@ -303609,7 +303832,7 @@ var JobPortraitService = JobPortraitService_1 = class JobPortraitService2 {
|
|
|
303609
303832
|
async buildPortraitPrompt(jobCaseId) {
|
|
303610
303833
|
const job = await this.jobRepo.findOne({ where: { id: jobCaseId } });
|
|
303611
303834
|
if (!job)
|
|
303612
|
-
throw new
|
|
303835
|
+
throw new import_common123.NotFoundException(`JobCase ${jobCaseId} not found`);
|
|
303613
303836
|
const existing = await this.repo.findOne({ where: { jobCaseId } });
|
|
303614
303837
|
const raw = job.raw ?? job.description ?? null;
|
|
303615
303838
|
return {
|
|
@@ -303632,12 +303855,12 @@ var JobPortraitService = JobPortraitService_1 = class JobPortraitService2 {
|
|
|
303632
303855
|
return { items, total: items.length };
|
|
303633
303856
|
}
|
|
303634
303857
|
};
|
|
303635
|
-
JobPortraitService = JobPortraitService_1 =
|
|
303636
|
-
(0,
|
|
303637
|
-
|
|
303638
|
-
|
|
303639
|
-
|
|
303640
|
-
|
|
303858
|
+
JobPortraitService = JobPortraitService_1 = __decorate166([
|
|
303859
|
+
(0, import_common123.Injectable)(),
|
|
303860
|
+
__param67(0, (0, import_typeorm139.InjectRepository)(JobPortrait)),
|
|
303861
|
+
__param67(1, (0, import_typeorm139.InjectRepository)(JobCase)),
|
|
303862
|
+
__param67(2, (0, import_typeorm139.InjectRepository)(MatchFeedback)),
|
|
303863
|
+
__metadata130("design:paramtypes", [
|
|
303641
303864
|
Repository,
|
|
303642
303865
|
Repository,
|
|
303643
303866
|
Repository
|
|
@@ -303645,17 +303868,17 @@ JobPortraitService = JobPortraitService_1 = __decorate164([
|
|
|
303645
303868
|
], JobPortraitService);
|
|
303646
303869
|
|
|
303647
303870
|
// dist/.server-tsc/matching/job-portrait.controller.js
|
|
303648
|
-
var
|
|
303649
|
-
var
|
|
303871
|
+
var import_common124 = __toESM(require_common(), 1);
|
|
303872
|
+
var __decorate167 = function(decorators, target, key, desc) {
|
|
303650
303873
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
303651
303874
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
303652
303875
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
303653
303876
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
303654
303877
|
};
|
|
303655
|
-
var
|
|
303878
|
+
var __metadata131 = function(k2, v) {
|
|
303656
303879
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
303657
303880
|
};
|
|
303658
|
-
var
|
|
303881
|
+
var __param68 = function(paramIndex, decorator) {
|
|
303659
303882
|
return function(target, key) {
|
|
303660
303883
|
decorator(target, key, paramIndex);
|
|
303661
303884
|
};
|
|
@@ -303686,60 +303909,60 @@ var JobPortraitController = class JobPortraitController2 {
|
|
|
303686
303909
|
return this.v2Service.upsertThesaurus(dto);
|
|
303687
303910
|
}
|
|
303688
303911
|
};
|
|
303689
|
-
|
|
303690
|
-
(0,
|
|
303691
|
-
|
|
303692
|
-
|
|
303693
|
-
|
|
303694
|
-
|
|
303912
|
+
__decorate167([
|
|
303913
|
+
(0, import_common124.Get)("job-cases/:id/portrait"),
|
|
303914
|
+
__param68(0, (0, import_common124.Param)("id", import_common124.ParseIntPipe)),
|
|
303915
|
+
__metadata131("design:type", Function),
|
|
303916
|
+
__metadata131("design:paramtypes", [Number]),
|
|
303917
|
+
__metadata131("design:returntype", void 0)
|
|
303695
303918
|
], JobPortraitController.prototype, "get", null);
|
|
303696
|
-
|
|
303697
|
-
(0,
|
|
303698
|
-
|
|
303699
|
-
|
|
303700
|
-
|
|
303701
|
-
|
|
303702
|
-
|
|
303919
|
+
__decorate167([
|
|
303920
|
+
(0, import_common124.Put)("job-cases/:id/portrait"),
|
|
303921
|
+
__param68(0, (0, import_common124.Param)("id", import_common124.ParseIntPipe)),
|
|
303922
|
+
__param68(1, (0, import_common124.Body)()),
|
|
303923
|
+
__metadata131("design:type", Function),
|
|
303924
|
+
__metadata131("design:paramtypes", [Number, Object]),
|
|
303925
|
+
__metadata131("design:returntype", void 0)
|
|
303703
303926
|
], JobPortraitController.prototype, "upsert", null);
|
|
303704
|
-
|
|
303705
|
-
(0,
|
|
303706
|
-
|
|
303707
|
-
|
|
303708
|
-
|
|
303709
|
-
|
|
303927
|
+
__decorate167([
|
|
303928
|
+
(0, import_common124.Get)("job-cases/:id/portrait-prompt"),
|
|
303929
|
+
__param68(0, (0, import_common124.Param)("id", import_common124.ParseIntPipe)),
|
|
303930
|
+
__metadata131("design:type", Function),
|
|
303931
|
+
__metadata131("design:paramtypes", [Number]),
|
|
303932
|
+
__metadata131("design:returntype", void 0)
|
|
303710
303933
|
], JobPortraitController.prototype, "portraitPrompt", null);
|
|
303711
|
-
|
|
303712
|
-
(0,
|
|
303713
|
-
|
|
303714
|
-
|
|
303715
|
-
|
|
303716
|
-
|
|
303717
|
-
|
|
303934
|
+
__decorate167([
|
|
303935
|
+
(0, import_common124.Get)("match-feedback"),
|
|
303936
|
+
__param68(0, (0, import_common124.Query)("jobCaseId")),
|
|
303937
|
+
__param68(1, (0, import_common124.Query)("portraitId")),
|
|
303938
|
+
__metadata131("design:type", Function),
|
|
303939
|
+
__metadata131("design:paramtypes", [String, String]),
|
|
303940
|
+
__metadata131("design:returntype", void 0)
|
|
303718
303941
|
], JobPortraitController.prototype, "listFeedback", null);
|
|
303719
|
-
|
|
303720
|
-
(0,
|
|
303721
|
-
|
|
303722
|
-
|
|
303723
|
-
|
|
303724
|
-
|
|
303942
|
+
__decorate167([
|
|
303943
|
+
(0, import_common124.Get)("skill-thesaurus"),
|
|
303944
|
+
__param68(0, (0, import_common124.Query)("q")),
|
|
303945
|
+
__metadata131("design:type", Function),
|
|
303946
|
+
__metadata131("design:paramtypes", [String]),
|
|
303947
|
+
__metadata131("design:returntype", void 0)
|
|
303725
303948
|
], JobPortraitController.prototype, "listThesaurus", null);
|
|
303726
|
-
|
|
303727
|
-
(0,
|
|
303728
|
-
|
|
303729
|
-
|
|
303730
|
-
|
|
303731
|
-
|
|
303949
|
+
__decorate167([
|
|
303950
|
+
(0, import_common124.Put)("skill-thesaurus"),
|
|
303951
|
+
__param68(0, (0, import_common124.Body)()),
|
|
303952
|
+
__metadata131("design:type", Function),
|
|
303953
|
+
__metadata131("design:paramtypes", [Object]),
|
|
303954
|
+
__metadata131("design:returntype", void 0)
|
|
303732
303955
|
], JobPortraitController.prototype, "upsertThesaurus", null);
|
|
303733
|
-
JobPortraitController =
|
|
303734
|
-
(0,
|
|
303735
|
-
|
|
303956
|
+
JobPortraitController = __decorate167([
|
|
303957
|
+
(0, import_common124.Controller)(),
|
|
303958
|
+
__metadata131("design:paramtypes", [
|
|
303736
303959
|
JobPortraitService,
|
|
303737
303960
|
MatchingV2Service
|
|
303738
303961
|
])
|
|
303739
303962
|
], JobPortraitController);
|
|
303740
303963
|
|
|
303741
303964
|
// dist/.server-tsc/matching/matching.module.js
|
|
303742
|
-
var
|
|
303965
|
+
var __decorate168 = function(decorators, target, key, desc) {
|
|
303743
303966
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
303744
303967
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
303745
303968
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -303747,8 +303970,8 @@ var __decorate166 = function(decorators, target, key, desc) {
|
|
|
303747
303970
|
};
|
|
303748
303971
|
var MatchingModule = class MatchingModule2 {
|
|
303749
303972
|
};
|
|
303750
|
-
MatchingModule =
|
|
303751
|
-
(0,
|
|
303973
|
+
MatchingModule = __decorate168([
|
|
303974
|
+
(0, import_common125.Module)({
|
|
303752
303975
|
imports: [
|
|
303753
303976
|
import_typeorm141.TypeOrmModule.forFeature([
|
|
303754
303977
|
TalentPortrait,
|
|
@@ -303770,22 +303993,22 @@ MatchingModule = __decorate166([
|
|
|
303770
303993
|
], MatchingModule);
|
|
303771
303994
|
|
|
303772
303995
|
// dist/.server-tsc/talent-evaluation/talent-evaluation.module.js
|
|
303773
|
-
var
|
|
303996
|
+
var import_common128 = __toESM(require_common(), 1);
|
|
303774
303997
|
var import_typeorm144 = __toESM(require_typeorm2(), 1);
|
|
303775
303998
|
|
|
303776
303999
|
// dist/.server-tsc/talent-evaluation/talent-evaluation.service.js
|
|
303777
|
-
var
|
|
304000
|
+
var import_common126 = __toESM(require_common(), 1);
|
|
303778
304001
|
var import_typeorm142 = __toESM(require_typeorm2(), 1);
|
|
303779
|
-
var
|
|
304002
|
+
var __decorate169 = function(decorators, target, key, desc) {
|
|
303780
304003
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
303781
304004
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
303782
304005
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
303783
304006
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
303784
304007
|
};
|
|
303785
|
-
var
|
|
304008
|
+
var __metadata132 = function(k2, v) {
|
|
303786
304009
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
303787
304010
|
};
|
|
303788
|
-
var
|
|
304011
|
+
var __param69 = function(paramIndex, decorator) {
|
|
303789
304012
|
return function(target, key) {
|
|
303790
304013
|
decorator(target, key, paramIndex);
|
|
303791
304014
|
};
|
|
@@ -303811,7 +304034,7 @@ var TalentEvaluationService = TalentEvaluationService_1 = class TalentEvaluation
|
|
|
303811
304034
|
llm;
|
|
303812
304035
|
matching;
|
|
303813
304036
|
fingerprintMatch;
|
|
303814
|
-
logger = new
|
|
304037
|
+
logger = new import_common126.Logger(TalentEvaluationService_1.name);
|
|
303815
304038
|
constructor(evalRepo, talentRepo, portraitRepo, parsedResumeRepo, llm, matching, fingerprintMatch) {
|
|
303816
304039
|
this.evalRepo = evalRepo;
|
|
303817
304040
|
this.talentRepo = talentRepo;
|
|
@@ -303829,7 +304052,7 @@ var TalentEvaluationService = TalentEvaluationService_1 = class TalentEvaluation
|
|
|
303829
304052
|
}
|
|
303830
304053
|
const talent = await this.talentRepo.findOne({ where: { id: talentId } });
|
|
303831
304054
|
if (!talent)
|
|
303832
|
-
throw new
|
|
304055
|
+
throw new import_common126.NotFoundException(`talent ${talentId} not found`);
|
|
303833
304056
|
const entity = talent.extracted || {};
|
|
303834
304057
|
const rules = this.computeRules(entity);
|
|
303835
304058
|
let evaluation = { ...rules, summary: "", motivation: "" };
|
|
@@ -304063,7 +304286,7 @@ pros/cons/risks \u5728\u7ED9\u51FA\u4E4B\u5916\u53EF\u8865\u5145,\u4F46\u4E0D\u5
|
|
|
304063
304286
|
async matchJobs(talentId) {
|
|
304064
304287
|
const talent = await this.talentRepo.findOne({ where: { id: talentId } });
|
|
304065
304288
|
if (!talent)
|
|
304066
|
-
throw new
|
|
304289
|
+
throw new import_common126.NotFoundException(`talent ${talentId} not found`);
|
|
304067
304290
|
const portrait = await this.bridgePortrait(talent);
|
|
304068
304291
|
const matches = await this.matchActiveJobs(portrait.id);
|
|
304069
304292
|
return { portraitId: portrait.id, matches };
|
|
@@ -304071,7 +304294,7 @@ pros/cons/risks \u5728\u7ED9\u51FA\u4E4B\u5916\u53EF\u8865\u5145,\u4F46\u4E0D\u5
|
|
|
304071
304294
|
async listMatches(talentId) {
|
|
304072
304295
|
const talent = await this.talentRepo.findOne({ where: { id: talentId } });
|
|
304073
304296
|
if (!talent)
|
|
304074
|
-
throw new
|
|
304297
|
+
throw new import_common126.NotFoundException(`talent ${talentId} not found`);
|
|
304075
304298
|
const masterRecordId = `talent:${talentId}`;
|
|
304076
304299
|
const existing = await this.portraitRepo.findOne({ where: { masterRecordId } });
|
|
304077
304300
|
if (existing && (existing.stats?.resumeCount || 0) > 0) {
|
|
@@ -304130,13 +304353,13 @@ pros/cons/risks \u5728\u7ED9\u51FA\u4E4B\u5916\u53EF\u8865\u5145,\u4F46\u4E0D\u5
|
|
|
304130
304353
|
return this.portraitRepo.findOne({ where: { id: top.portraitId } });
|
|
304131
304354
|
}
|
|
304132
304355
|
};
|
|
304133
|
-
TalentEvaluationService = TalentEvaluationService_1 =
|
|
304134
|
-
(0,
|
|
304135
|
-
|
|
304136
|
-
|
|
304137
|
-
|
|
304138
|
-
|
|
304139
|
-
|
|
304356
|
+
TalentEvaluationService = TalentEvaluationService_1 = __decorate169([
|
|
304357
|
+
(0, import_common126.Injectable)(),
|
|
304358
|
+
__param69(0, (0, import_typeorm142.InjectRepository)(TalentEvaluation)),
|
|
304359
|
+
__param69(1, (0, import_typeorm142.InjectRepository)(TalentProfile)),
|
|
304360
|
+
__param69(2, (0, import_typeorm142.InjectRepository)(TalentPortrait)),
|
|
304361
|
+
__param69(3, (0, import_typeorm142.InjectRepository)(ParsedResume)),
|
|
304362
|
+
__metadata132("design:paramtypes", [
|
|
304140
304363
|
Repository,
|
|
304141
304364
|
Repository,
|
|
304142
304365
|
Repository,
|
|
@@ -304148,17 +304371,17 @@ TalentEvaluationService = TalentEvaluationService_1 = __decorate167([
|
|
|
304148
304371
|
], TalentEvaluationService);
|
|
304149
304372
|
|
|
304150
304373
|
// dist/.server-tsc/talent-evaluation/talent-evaluation.controller.js
|
|
304151
|
-
var
|
|
304152
|
-
var
|
|
304374
|
+
var import_common127 = __toESM(require_common(), 1);
|
|
304375
|
+
var __decorate170 = function(decorators, target, key, desc) {
|
|
304153
304376
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
304154
304377
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
304155
304378
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
304156
304379
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
304157
304380
|
};
|
|
304158
|
-
var
|
|
304381
|
+
var __metadata133 = function(k2, v) {
|
|
304159
304382
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
304160
304383
|
};
|
|
304161
|
-
var
|
|
304384
|
+
var __param70 = function(paramIndex, decorator) {
|
|
304162
304385
|
return function(target, key) {
|
|
304163
304386
|
decorator(target, key, paramIndex);
|
|
304164
304387
|
};
|
|
@@ -304181,41 +304404,41 @@ var TalentEvaluationController = class TalentEvaluationController2 {
|
|
|
304181
304404
|
return this.svc.listMatches(id);
|
|
304182
304405
|
}
|
|
304183
304406
|
};
|
|
304184
|
-
|
|
304185
|
-
(0,
|
|
304186
|
-
|
|
304187
|
-
|
|
304188
|
-
|
|
304189
|
-
|
|
304407
|
+
__decorate170([
|
|
304408
|
+
(0, import_common127.Get)("entities/talent/:id/evaluation"),
|
|
304409
|
+
__param70(0, (0, import_common127.Param)("id", import_common127.ParseIntPipe)),
|
|
304410
|
+
__metadata133("design:type", Function),
|
|
304411
|
+
__metadata133("design:paramtypes", [Number]),
|
|
304412
|
+
__metadata133("design:returntype", void 0)
|
|
304190
304413
|
], TalentEvaluationController.prototype, "getEvaluation", null);
|
|
304191
|
-
|
|
304192
|
-
(0,
|
|
304193
|
-
|
|
304194
|
-
|
|
304195
|
-
|
|
304196
|
-
|
|
304414
|
+
__decorate170([
|
|
304415
|
+
(0, import_common127.Post)("entities/talent/:id/evaluation/refresh"),
|
|
304416
|
+
__param70(0, (0, import_common127.Param)("id", import_common127.ParseIntPipe)),
|
|
304417
|
+
__metadata133("design:type", Function),
|
|
304418
|
+
__metadata133("design:paramtypes", [Number]),
|
|
304419
|
+
__metadata133("design:returntype", void 0)
|
|
304197
304420
|
], TalentEvaluationController.prototype, "refreshEvaluation", null);
|
|
304198
|
-
|
|
304199
|
-
(0,
|
|
304200
|
-
|
|
304201
|
-
|
|
304202
|
-
|
|
304203
|
-
|
|
304421
|
+
__decorate170([
|
|
304422
|
+
(0, import_common127.Post)("entities/talent/:id/match-jobs"),
|
|
304423
|
+
__param70(0, (0, import_common127.Param)("id", import_common127.ParseIntPipe)),
|
|
304424
|
+
__metadata133("design:type", Function),
|
|
304425
|
+
__metadata133("design:paramtypes", [Number]),
|
|
304426
|
+
__metadata133("design:returntype", void 0)
|
|
304204
304427
|
], TalentEvaluationController.prototype, "matchJobs", null);
|
|
304205
|
-
|
|
304206
|
-
(0,
|
|
304207
|
-
|
|
304208
|
-
|
|
304209
|
-
|
|
304210
|
-
|
|
304428
|
+
__decorate170([
|
|
304429
|
+
(0, import_common127.Get)("entities/talent/:id/matches"),
|
|
304430
|
+
__param70(0, (0, import_common127.Param)("id", import_common127.ParseIntPipe)),
|
|
304431
|
+
__metadata133("design:type", Function),
|
|
304432
|
+
__metadata133("design:paramtypes", [Number]),
|
|
304433
|
+
__metadata133("design:returntype", void 0)
|
|
304211
304434
|
], TalentEvaluationController.prototype, "listMatches", null);
|
|
304212
|
-
TalentEvaluationController =
|
|
304213
|
-
(0,
|
|
304214
|
-
|
|
304435
|
+
TalentEvaluationController = __decorate170([
|
|
304436
|
+
(0, import_common127.Controller)(),
|
|
304437
|
+
__metadata133("design:paramtypes", [TalentEvaluationService])
|
|
304215
304438
|
], TalentEvaluationController);
|
|
304216
304439
|
|
|
304217
304440
|
// dist/.server-tsc/talent-evaluation/talent-evaluation.module.js
|
|
304218
|
-
var
|
|
304441
|
+
var __decorate171 = function(decorators, target, key, desc) {
|
|
304219
304442
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
304220
304443
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
304221
304444
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -304223,8 +304446,8 @@ var __decorate169 = function(decorators, target, key, desc) {
|
|
|
304223
304446
|
};
|
|
304224
304447
|
var TalentEvaluationModule = class TalentEvaluationModule2 {
|
|
304225
304448
|
};
|
|
304226
|
-
TalentEvaluationModule =
|
|
304227
|
-
(0,
|
|
304449
|
+
TalentEvaluationModule = __decorate171([
|
|
304450
|
+
(0, import_common128.Module)({
|
|
304228
304451
|
imports: [
|
|
304229
304452
|
import_typeorm144.TypeOrmModule.forFeature([TalentEvaluation, TalentProfile, TalentPortrait, ParsedResume]),
|
|
304230
304453
|
MatchingModule,
|
|
@@ -304238,11 +304461,11 @@ TalentEvaluationModule = __decorate169([
|
|
|
304238
304461
|
], TalentEvaluationModule);
|
|
304239
304462
|
|
|
304240
304463
|
// dist/.server-tsc/parsing/parsing.module.js
|
|
304241
|
-
var
|
|
304464
|
+
var import_common131 = __toESM(require_common(), 1);
|
|
304242
304465
|
var import_typeorm147 = __toESM(require_typeorm2(), 1);
|
|
304243
304466
|
|
|
304244
304467
|
// dist/.server-tsc/parsing/parsing.service.js
|
|
304245
|
-
var
|
|
304468
|
+
var import_common129 = __toESM(require_common(), 1);
|
|
304246
304469
|
var import_typeorm145 = __toESM(require_typeorm2(), 1);
|
|
304247
304470
|
|
|
304248
304471
|
// dist/.server-tsc/sentry.js
|
|
@@ -304251,16 +304474,16 @@ function initSentry() {
|
|
|
304251
304474
|
}
|
|
304252
304475
|
|
|
304253
304476
|
// dist/.server-tsc/parsing/parsing.service.js
|
|
304254
|
-
var
|
|
304477
|
+
var __decorate172 = function(decorators, target, key, desc) {
|
|
304255
304478
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
304256
304479
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
304257
304480
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
304258
304481
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
304259
304482
|
};
|
|
304260
|
-
var
|
|
304483
|
+
var __metadata134 = function(k2, v) {
|
|
304261
304484
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
304262
304485
|
};
|
|
304263
|
-
var
|
|
304486
|
+
var __param71 = function(paramIndex, decorator) {
|
|
304264
304487
|
return function(target, key) {
|
|
304265
304488
|
decorator(target, key, paramIndex);
|
|
304266
304489
|
};
|
|
@@ -304289,7 +304512,7 @@ var ParsingService = class ParsingService2 {
|
|
|
304289
304512
|
async parseSnapshot(snapshotId, parserId = "default") {
|
|
304290
304513
|
const snapshot = await this.snapshotService.findById(snapshotId);
|
|
304291
304514
|
if (!snapshot)
|
|
304292
|
-
throw new
|
|
304515
|
+
throw new import_common129.NotFoundException(`Snapshot ${snapshotId} not found`);
|
|
304293
304516
|
const startedAt = /* @__PURE__ */ new Date();
|
|
304294
304517
|
try {
|
|
304295
304518
|
const rules = await this.ruleService.findEnabled();
|
|
@@ -304336,7 +304559,7 @@ var ParsingService = class ParsingService2 {
|
|
|
304336
304559
|
async upsertAgentParsed(snapshotId, extracted, parserId = "agent-submission") {
|
|
304337
304560
|
const snapshot = await this.snapshotService.findById(snapshotId);
|
|
304338
304561
|
if (!snapshot)
|
|
304339
|
-
throw new
|
|
304562
|
+
throw new import_common129.NotFoundException(`Snapshot ${snapshotId} not found`);
|
|
304340
304563
|
const normalized = this.normalizeExtracted(extracted);
|
|
304341
304564
|
const encrypted = this.encryptSensitiveFields(normalized.contact || {});
|
|
304342
304565
|
const confidence = this.computeConfidence(normalized);
|
|
@@ -304482,10 +304705,10 @@ var ParsingService = class ParsingService2 {
|
|
|
304482
304705
|
return this.errorRepo.save(report);
|
|
304483
304706
|
}
|
|
304484
304707
|
};
|
|
304485
|
-
ParsingService =
|
|
304486
|
-
(0,
|
|
304487
|
-
|
|
304488
|
-
|
|
304708
|
+
ParsingService = __decorate172([
|
|
304709
|
+
(0, import_common129.Injectable)(),
|
|
304710
|
+
__param71(0, (0, import_typeorm145.InjectRepository)(ParseErrorReport)),
|
|
304711
|
+
__metadata134("design:paramtypes", [
|
|
304489
304712
|
Repository,
|
|
304490
304713
|
SnapshotService,
|
|
304491
304714
|
ParsedResumeService,
|
|
@@ -304499,18 +304722,18 @@ ParsingService = __decorate170([
|
|
|
304499
304722
|
], ParsingService);
|
|
304500
304723
|
|
|
304501
304724
|
// dist/.server-tsc/parsing/parsing.controller.js
|
|
304502
|
-
var
|
|
304725
|
+
var import_common130 = __toESM(require_common(), 1);
|
|
304503
304726
|
var import_class_validator3 = __toESM(require_cjs(), 1);
|
|
304504
|
-
var
|
|
304727
|
+
var __decorate173 = function(decorators, target, key, desc) {
|
|
304505
304728
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
304506
304729
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
304507
304730
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
304508
304731
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
304509
304732
|
};
|
|
304510
|
-
var
|
|
304733
|
+
var __metadata135 = function(k2, v) {
|
|
304511
304734
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
304512
304735
|
};
|
|
304513
|
-
var
|
|
304736
|
+
var __param72 = function(paramIndex, decorator) {
|
|
304514
304737
|
return function(target, key) {
|
|
304515
304738
|
decorator(target, key, paramIndex);
|
|
304516
304739
|
};
|
|
@@ -304520,18 +304743,18 @@ var AgentParseDto = class {
|
|
|
304520
304743
|
extracted;
|
|
304521
304744
|
parserId;
|
|
304522
304745
|
};
|
|
304523
|
-
|
|
304746
|
+
__decorate173([
|
|
304524
304747
|
(0, import_class_validator3.IsString)(),
|
|
304525
|
-
|
|
304748
|
+
__metadata135("design:type", String)
|
|
304526
304749
|
], AgentParseDto.prototype, "snapshotId", void 0);
|
|
304527
|
-
|
|
304750
|
+
__decorate173([
|
|
304528
304751
|
(0, import_class_validator3.IsObject)(),
|
|
304529
|
-
|
|
304752
|
+
__metadata135("design:type", Object)
|
|
304530
304753
|
], AgentParseDto.prototype, "extracted", void 0);
|
|
304531
|
-
|
|
304754
|
+
__decorate173([
|
|
304532
304755
|
(0, import_class_validator3.IsOptional)(),
|
|
304533
304756
|
(0, import_class_validator3.IsString)(),
|
|
304534
|
-
|
|
304757
|
+
__metadata135("design:type", String)
|
|
304535
304758
|
], AgentParseDto.prototype, "parserId", void 0);
|
|
304536
304759
|
var ParsingController = class ParsingController2 {
|
|
304537
304760
|
parsingService;
|
|
@@ -304549,7 +304772,7 @@ var ParsingController = class ParsingController2 {
|
|
|
304549
304772
|
async getAgentPrompt(id) {
|
|
304550
304773
|
const snapshot = await this.snapshotService.findById(id);
|
|
304551
304774
|
if (!snapshot)
|
|
304552
|
-
throw new
|
|
304775
|
+
throw new import_common130.NotFoundException(`Snapshot ${id} not found`);
|
|
304553
304776
|
const html = snapshot.content?.html || snapshot.content?.text || "";
|
|
304554
304777
|
const trimmed = html.replace(/\s+/g, " ").slice(0, 12e3);
|
|
304555
304778
|
const prompt = `\u4F60\u662F\u4E00\u540D\u730E\u5934\u4EBA\u624D\u89E3\u6790\u4E13\u5BB6\u3002\u8BF7\u6839\u636E\u4EE5\u4E0B\u9875\u9762/\u7B80\u5386\u5185\u5BB9,\u63D0\u53D6\u7ED3\u6784\u5316\u7684\u4EBA\u624D\u4FE1\u606F,\u5E76\u4EE5 JSON \u8FD4\u56DE\u3002
|
|
@@ -304579,37 +304802,37 @@ ${trimmed}
|
|
|
304579
304802
|
return { snapshotId: id, prompt };
|
|
304580
304803
|
}
|
|
304581
304804
|
};
|
|
304582
|
-
|
|
304583
|
-
(0,
|
|
304584
|
-
|
|
304585
|
-
|
|
304586
|
-
|
|
304587
|
-
|
|
304805
|
+
__decorate173([
|
|
304806
|
+
(0, import_common130.Post)("snapshots/:id/parse"),
|
|
304807
|
+
__param72(0, (0, import_common130.Param)("id")),
|
|
304808
|
+
__metadata135("design:type", Function),
|
|
304809
|
+
__metadata135("design:paramtypes", [String]),
|
|
304810
|
+
__metadata135("design:returntype", Promise)
|
|
304588
304811
|
], ParsingController.prototype, "parseSnapshot", null);
|
|
304589
|
-
|
|
304590
|
-
(0,
|
|
304591
|
-
|
|
304592
|
-
|
|
304593
|
-
|
|
304594
|
-
|
|
304812
|
+
__decorate173([
|
|
304813
|
+
(0, import_common130.Post)("agent-submission"),
|
|
304814
|
+
__param72(0, (0, import_common130.Body)()),
|
|
304815
|
+
__metadata135("design:type", Function),
|
|
304816
|
+
__metadata135("design:paramtypes", [AgentParseDto]),
|
|
304817
|
+
__metadata135("design:returntype", Promise)
|
|
304595
304818
|
], ParsingController.prototype, "agentSubmission", null);
|
|
304596
|
-
|
|
304597
|
-
(0,
|
|
304598
|
-
|
|
304599
|
-
|
|
304600
|
-
|
|
304601
|
-
|
|
304819
|
+
__decorate173([
|
|
304820
|
+
(0, import_common130.Get)("snapshots/:id/agent-prompt"),
|
|
304821
|
+
__param72(0, (0, import_common130.Param)("id")),
|
|
304822
|
+
__metadata135("design:type", Function),
|
|
304823
|
+
__metadata135("design:paramtypes", [String]),
|
|
304824
|
+
__metadata135("design:returntype", Promise)
|
|
304602
304825
|
], ParsingController.prototype, "getAgentPrompt", null);
|
|
304603
|
-
ParsingController =
|
|
304604
|
-
(0,
|
|
304605
|
-
|
|
304826
|
+
ParsingController = __decorate173([
|
|
304827
|
+
(0, import_common130.Controller)("parsing"),
|
|
304828
|
+
__metadata135("design:paramtypes", [
|
|
304606
304829
|
ParsingService,
|
|
304607
304830
|
SnapshotService
|
|
304608
304831
|
])
|
|
304609
304832
|
], ParsingController);
|
|
304610
304833
|
|
|
304611
304834
|
// dist/.server-tsc/parsing/parsing.module.js
|
|
304612
|
-
var
|
|
304835
|
+
var __decorate174 = function(decorators, target, key, desc) {
|
|
304613
304836
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
304614
304837
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
304615
304838
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -304617,8 +304840,8 @@ var __decorate172 = function(decorators, target, key, desc) {
|
|
|
304617
304840
|
};
|
|
304618
304841
|
var ParsingModule = class ParsingModule2 {
|
|
304619
304842
|
};
|
|
304620
|
-
ParsingModule =
|
|
304621
|
-
(0,
|
|
304843
|
+
ParsingModule = __decorate174([
|
|
304844
|
+
(0, import_common131.Module)({
|
|
304622
304845
|
imports: [
|
|
304623
304846
|
import_typeorm147.TypeOrmModule.forFeature([ParseErrorReport]),
|
|
304624
304847
|
SnapshotModule,
|
|
@@ -304634,8 +304857,8 @@ ParsingModule = __decorate172([
|
|
|
304634
304857
|
], ParsingModule);
|
|
304635
304858
|
|
|
304636
304859
|
// dist/.server-tsc/devops/devops-sink.module.js
|
|
304637
|
-
var
|
|
304638
|
-
var
|
|
304860
|
+
var import_common132 = __toESM(require_common(), 1);
|
|
304861
|
+
var __decorate175 = function(decorators, target, key, desc) {
|
|
304639
304862
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
304640
304863
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
304641
304864
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -304643,20 +304866,20 @@ var __decorate173 = function(decorators, target, key, desc) {
|
|
|
304643
304866
|
};
|
|
304644
304867
|
var DevopsSinkModule = class DevopsSinkModule2 {
|
|
304645
304868
|
};
|
|
304646
|
-
DevopsSinkModule =
|
|
304647
|
-
(0,
|
|
304648
|
-
(0,
|
|
304869
|
+
DevopsSinkModule = __decorate175([
|
|
304870
|
+
(0, import_common132.Global)(),
|
|
304871
|
+
(0, import_common132.Module)({
|
|
304649
304872
|
providers: [DevopsSinkInit],
|
|
304650
304873
|
exports: [DevopsSinkInit]
|
|
304651
304874
|
})
|
|
304652
304875
|
], DevopsSinkModule);
|
|
304653
304876
|
|
|
304654
304877
|
// dist/.server-tsc/telemetry/telemetry.module.js
|
|
304655
|
-
var
|
|
304878
|
+
var import_common134 = __toESM(require_common(), 1);
|
|
304656
304879
|
var import_typeorm151 = __toESM(require_typeorm2(), 1);
|
|
304657
304880
|
|
|
304658
304881
|
// dist/.server-tsc/telemetry/telemetry.service.js
|
|
304659
|
-
var
|
|
304882
|
+
var import_common133 = __toESM(require_common(), 1);
|
|
304660
304883
|
var import_typeorm149 = __toESM(require_typeorm2(), 1);
|
|
304661
304884
|
var import_config8 = __toESM(require_config2(), 1);
|
|
304662
304885
|
|
|
@@ -304699,16 +304922,16 @@ function clientId() {
|
|
|
304699
304922
|
}
|
|
304700
304923
|
|
|
304701
304924
|
// dist/.server-tsc/telemetry/telemetry.service.js
|
|
304702
|
-
var
|
|
304925
|
+
var __decorate176 = function(decorators, target, key, desc) {
|
|
304703
304926
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
304704
304927
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
304705
304928
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
304706
304929
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
304707
304930
|
};
|
|
304708
|
-
var
|
|
304931
|
+
var __metadata136 = function(k2, v) {
|
|
304709
304932
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
304710
304933
|
};
|
|
304711
|
-
var
|
|
304934
|
+
var __param73 = function(paramIndex, decorator) {
|
|
304712
304935
|
return function(target, key) {
|
|
304713
304936
|
decorator(target, key, paramIndex);
|
|
304714
304937
|
};
|
|
@@ -304717,7 +304940,7 @@ var TelemetryService_1;
|
|
|
304717
304940
|
var TelemetryService = TelemetryService_1 = class TelemetryService2 {
|
|
304718
304941
|
parseLogRepo;
|
|
304719
304942
|
config;
|
|
304720
|
-
logger = new
|
|
304943
|
+
logger = new import_common133.Logger(TelemetryService_1.name);
|
|
304721
304944
|
reporting = false;
|
|
304722
304945
|
timer;
|
|
304723
304946
|
constructor(parseLogRepo, config) {
|
|
@@ -304785,17 +305008,17 @@ var TelemetryService = TelemetryService_1 = class TelemetryService2 {
|
|
|
304785
305008
|
return out;
|
|
304786
305009
|
}
|
|
304787
305010
|
};
|
|
304788
|
-
TelemetryService = TelemetryService_1 =
|
|
304789
|
-
(0,
|
|
304790
|
-
|
|
304791
|
-
|
|
305011
|
+
TelemetryService = TelemetryService_1 = __decorate176([
|
|
305012
|
+
(0, import_common133.Injectable)(),
|
|
305013
|
+
__param73(0, (0, import_typeorm149.InjectRepository)(ParseLog)),
|
|
305014
|
+
__metadata136("design:paramtypes", [
|
|
304792
305015
|
Repository,
|
|
304793
305016
|
import_config8.ConfigService
|
|
304794
305017
|
])
|
|
304795
305018
|
], TelemetryService);
|
|
304796
305019
|
|
|
304797
305020
|
// dist/.server-tsc/telemetry/telemetry.module.js
|
|
304798
|
-
var
|
|
305021
|
+
var __decorate177 = function(decorators, target, key, desc) {
|
|
304799
305022
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
304800
305023
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
304801
305024
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -304803,8 +305026,8 @@ var __decorate175 = function(decorators, target, key, desc) {
|
|
|
304803
305026
|
};
|
|
304804
305027
|
var TelemetryModule = class TelemetryModule2 {
|
|
304805
305028
|
};
|
|
304806
|
-
TelemetryModule =
|
|
304807
|
-
(0,
|
|
305029
|
+
TelemetryModule = __decorate177([
|
|
305030
|
+
(0, import_common134.Module)({
|
|
304808
305031
|
imports: [import_typeorm151.TypeOrmModule.forFeature([ParseLog])],
|
|
304809
305032
|
providers: [TelemetryService],
|
|
304810
305033
|
exports: [TelemetryService]
|
|
@@ -304812,22 +305035,22 @@ TelemetryModule = __decorate175([
|
|
|
304812
305035
|
], TelemetryModule);
|
|
304813
305036
|
|
|
304814
305037
|
// dist/.server-tsc/doctor/doctor.module.js
|
|
304815
|
-
var
|
|
305038
|
+
var import_common137 = __toESM(require_common(), 1);
|
|
304816
305039
|
var import_typeorm154 = __toESM(require_typeorm2(), 1);
|
|
304817
305040
|
|
|
304818
305041
|
// dist/.server-tsc/doctor/doctor.service.js
|
|
304819
|
-
var
|
|
305042
|
+
var import_common135 = __toESM(require_common(), 1);
|
|
304820
305043
|
var import_typeorm152 = __toESM(require_typeorm2(), 1);
|
|
304821
|
-
var
|
|
305044
|
+
var __decorate178 = function(decorators, target, key, desc) {
|
|
304822
305045
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
304823
305046
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
304824
305047
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
304825
305048
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
304826
305049
|
};
|
|
304827
|
-
var
|
|
305050
|
+
var __metadata137 = function(k2, v) {
|
|
304828
305051
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
304829
305052
|
};
|
|
304830
|
-
var
|
|
305053
|
+
var __param74 = function(paramIndex, decorator) {
|
|
304831
305054
|
return function(target, key) {
|
|
304832
305055
|
decorator(target, key, paramIndex);
|
|
304833
305056
|
};
|
|
@@ -305237,15 +305460,15 @@ var DoctorService = class DoctorService2 {
|
|
|
305237
305460
|
this.checks.set(handler.id, handler);
|
|
305238
305461
|
}
|
|
305239
305462
|
};
|
|
305240
|
-
DoctorService =
|
|
305241
|
-
(0,
|
|
305242
|
-
|
|
305243
|
-
|
|
305244
|
-
|
|
305245
|
-
|
|
305246
|
-
|
|
305247
|
-
|
|
305248
|
-
|
|
305463
|
+
DoctorService = __decorate178([
|
|
305464
|
+
(0, import_common135.Injectable)(),
|
|
305465
|
+
__param74(0, (0, import_typeorm152.InjectRepository)(TalentProfile)),
|
|
305466
|
+
__param74(1, (0, import_typeorm152.InjectRepository)(ParseLog)),
|
|
305467
|
+
__param74(2, (0, import_typeorm152.InjectRepository)(CompanyProfile)),
|
|
305468
|
+
__param74(3, (0, import_typeorm152.InjectRepository)(JobPosting)),
|
|
305469
|
+
__param74(4, (0, import_typeorm152.InjectRepository)(Customer)),
|
|
305470
|
+
__param74(5, (0, import_typeorm152.InjectRepository)(JobCase)),
|
|
305471
|
+
__metadata137("design:paramtypes", [
|
|
305249
305472
|
Repository,
|
|
305250
305473
|
Repository,
|
|
305251
305474
|
Repository,
|
|
@@ -305257,17 +305480,17 @@ DoctorService = __decorate176([
|
|
|
305257
305480
|
], DoctorService);
|
|
305258
305481
|
|
|
305259
305482
|
// dist/.server-tsc/doctor/doctor.controller.js
|
|
305260
|
-
var
|
|
305261
|
-
var
|
|
305483
|
+
var import_common136 = __toESM(require_common(), 1);
|
|
305484
|
+
var __decorate179 = function(decorators, target, key, desc) {
|
|
305262
305485
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
305263
305486
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
305264
305487
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
305265
305488
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
305266
305489
|
};
|
|
305267
|
-
var
|
|
305490
|
+
var __metadata138 = function(k2, v) {
|
|
305268
305491
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
305269
305492
|
};
|
|
305270
|
-
var
|
|
305493
|
+
var __param75 = function(paramIndex, decorator) {
|
|
305271
305494
|
return function(target, key) {
|
|
305272
305495
|
decorator(target, key, paramIndex);
|
|
305273
305496
|
};
|
|
@@ -305291,33 +305514,33 @@ var DoctorController = class DoctorController2 {
|
|
|
305291
305514
|
});
|
|
305292
305515
|
}
|
|
305293
305516
|
};
|
|
305294
|
-
|
|
305295
|
-
(0,
|
|
305296
|
-
|
|
305297
|
-
|
|
305298
|
-
|
|
305517
|
+
__decorate179([
|
|
305518
|
+
(0, import_common136.Get)("checks"),
|
|
305519
|
+
__metadata138("design:type", Function),
|
|
305520
|
+
__metadata138("design:paramtypes", []),
|
|
305521
|
+
__metadata138("design:returntype", void 0)
|
|
305299
305522
|
], DoctorController.prototype, "list", null);
|
|
305300
|
-
|
|
305301
|
-
(0,
|
|
305302
|
-
|
|
305303
|
-
|
|
305304
|
-
|
|
305305
|
-
|
|
305523
|
+
__decorate179([
|
|
305524
|
+
(0, import_common136.Post)("run"),
|
|
305525
|
+
__param75(0, (0, import_common136.Body)()),
|
|
305526
|
+
__metadata138("design:type", Function),
|
|
305527
|
+
__metadata138("design:paramtypes", [Object]),
|
|
305528
|
+
__metadata138("design:returntype", Promise)
|
|
305306
305529
|
], DoctorController.prototype, "run", null);
|
|
305307
|
-
|
|
305308
|
-
(0,
|
|
305309
|
-
|
|
305310
|
-
|
|
305311
|
-
|
|
305312
|
-
|
|
305530
|
+
__decorate179([
|
|
305531
|
+
(0, import_common136.Post)("repair-linkedin-dupes"),
|
|
305532
|
+
__param75(0, (0, import_common136.Body)()),
|
|
305533
|
+
__metadata138("design:type", Function),
|
|
305534
|
+
__metadata138("design:paramtypes", [Object]),
|
|
305535
|
+
__metadata138("design:returntype", Promise)
|
|
305313
305536
|
], DoctorController.prototype, "repairLinkedInDupes", null);
|
|
305314
|
-
DoctorController =
|
|
305315
|
-
(0,
|
|
305316
|
-
|
|
305537
|
+
DoctorController = __decorate179([
|
|
305538
|
+
(0, import_common136.Controller)("doctor"),
|
|
305539
|
+
__metadata138("design:paramtypes", [DoctorService])
|
|
305317
305540
|
], DoctorController);
|
|
305318
305541
|
|
|
305319
305542
|
// dist/.server-tsc/doctor/doctor.module.js
|
|
305320
|
-
var
|
|
305543
|
+
var __decorate180 = function(decorators, target, key, desc) {
|
|
305321
305544
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
305322
305545
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
305323
305546
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -305325,8 +305548,8 @@ var __decorate178 = function(decorators, target, key, desc) {
|
|
|
305325
305548
|
};
|
|
305326
305549
|
var DoctorModule = class DoctorModule2 {
|
|
305327
305550
|
};
|
|
305328
|
-
DoctorModule =
|
|
305329
|
-
(0,
|
|
305551
|
+
DoctorModule = __decorate180([
|
|
305552
|
+
(0, import_common137.Module)({
|
|
305330
305553
|
imports: [import_typeorm154.TypeOrmModule.forFeature([TalentProfile, ParseLog, CompanyProfile, JobPosting, Customer, JobCase])],
|
|
305331
305554
|
providers: [DoctorService, TenantService],
|
|
305332
305555
|
controllers: [DoctorController],
|
|
@@ -305335,22 +305558,22 @@ DoctorModule = __decorate178([
|
|
|
305335
305558
|
], DoctorModule);
|
|
305336
305559
|
|
|
305337
305560
|
// dist/.server-tsc/customer/customer.module.js
|
|
305338
|
-
var
|
|
305561
|
+
var import_common140 = __toESM(require_common(), 1);
|
|
305339
305562
|
var import_typeorm157 = __toESM(require_typeorm2(), 1);
|
|
305340
305563
|
|
|
305341
305564
|
// dist/.server-tsc/customer/customer.service.js
|
|
305342
|
-
var
|
|
305565
|
+
var import_common138 = __toESM(require_common(), 1);
|
|
305343
305566
|
var import_typeorm155 = __toESM(require_typeorm2(), 1);
|
|
305344
|
-
var
|
|
305567
|
+
var __decorate181 = function(decorators, target, key, desc) {
|
|
305345
305568
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
305346
305569
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
305347
305570
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
305348
305571
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
305349
305572
|
};
|
|
305350
|
-
var
|
|
305573
|
+
var __metadata139 = function(k2, v) {
|
|
305351
305574
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
305352
305575
|
};
|
|
305353
|
-
var
|
|
305576
|
+
var __param76 = function(paramIndex, decorator) {
|
|
305354
305577
|
return function(target, key) {
|
|
305355
305578
|
decorator(target, key, paramIndex);
|
|
305356
305579
|
};
|
|
@@ -305389,7 +305612,7 @@ var CustomerService = class CustomerService2 {
|
|
|
305389
305612
|
parseLogRepo;
|
|
305390
305613
|
datasync;
|
|
305391
305614
|
tenant;
|
|
305392
|
-
logger = new
|
|
305615
|
+
logger = new import_common138.Logger(CustomerService_1.name);
|
|
305393
305616
|
static COLLECT_TTL_MS = 6e4;
|
|
305394
305617
|
collectCache = null;
|
|
305395
305618
|
invalidateCollectCache() {
|
|
@@ -305417,7 +305640,7 @@ var CustomerService = class CustomerService2 {
|
|
|
305417
305640
|
async findOne(id) {
|
|
305418
305641
|
const customer = await this.repo.findOne({ where: { id } });
|
|
305419
305642
|
if (!customer)
|
|
305420
|
-
throw new
|
|
305643
|
+
throw new import_common138.NotFoundException(`Customer ${id} not found`);
|
|
305421
305644
|
return customer;
|
|
305422
305645
|
}
|
|
305423
305646
|
static LIST_COLS = [
|
|
@@ -305461,7 +305684,7 @@ var CustomerService = class CustomerService2 {
|
|
|
305461
305684
|
const name = dto.name.trim();
|
|
305462
305685
|
const dedupKey = normalizeCustomerName(name);
|
|
305463
305686
|
if (!dedupKey) {
|
|
305464
|
-
throw new
|
|
305687
|
+
throw new import_common138.NotFoundException("\u5BA2\u6237\u540D\u5F52\u4E00\u5316\u540E\u4E3A\u7A7A,\u8BF7\u68C0\u67E5\u8F93\u5165");
|
|
305465
305688
|
}
|
|
305466
305689
|
const mergeInto = async (customer) => {
|
|
305467
305690
|
let changed = false;
|
|
@@ -305627,7 +305850,7 @@ var CustomerService = class CustomerService2 {
|
|
|
305627
305850
|
}
|
|
305628
305851
|
async merge(keepId, removeId) {
|
|
305629
305852
|
if (keepId === removeId)
|
|
305630
|
-
throw new
|
|
305853
|
+
throw new import_common138.BadRequestException("keepId/removeId \u4E0D\u80FD\u76F8\u540C");
|
|
305631
305854
|
const keep = await this.findOne(keepId);
|
|
305632
305855
|
const remove = await this.findOne(removeId);
|
|
305633
305856
|
const aliasSet = new Set(keep.aliases ?? []);
|
|
@@ -305887,16 +306110,16 @@ var CustomerService = class CustomerService2 {
|
|
|
305887
306110
|
return { customer, jobCases, jobPostings, remarks, talents, companyProfile, parseLogs };
|
|
305888
306111
|
}
|
|
305889
306112
|
};
|
|
305890
|
-
CustomerService = CustomerService_1 =
|
|
305891
|
-
(0,
|
|
305892
|
-
|
|
305893
|
-
|
|
305894
|
-
|
|
305895
|
-
|
|
305896
|
-
|
|
305897
|
-
|
|
305898
|
-
|
|
305899
|
-
|
|
306113
|
+
CustomerService = CustomerService_1 = __decorate181([
|
|
306114
|
+
(0, import_common138.Injectable)(),
|
|
306115
|
+
__param76(0, (0, import_typeorm155.InjectRepository)(Customer)),
|
|
306116
|
+
__param76(1, (0, import_typeorm155.InjectRepository)(JobCase)),
|
|
306117
|
+
__param76(2, (0, import_typeorm155.InjectRepository)(Remark)),
|
|
306118
|
+
__param76(3, (0, import_typeorm155.InjectRepository)(CompanyProfile)),
|
|
306119
|
+
__param76(4, (0, import_typeorm155.InjectRepository)(TalentProfile)),
|
|
306120
|
+
__param76(5, (0, import_typeorm155.InjectRepository)(JobPosting)),
|
|
306121
|
+
__param76(6, (0, import_typeorm155.InjectRepository)(ParseLog)),
|
|
306122
|
+
__metadata139("design:paramtypes", [
|
|
305900
306123
|
Repository,
|
|
305901
306124
|
Repository,
|
|
305902
306125
|
Repository,
|
|
@@ -305910,17 +306133,17 @@ CustomerService = CustomerService_1 = __decorate179([
|
|
|
305910
306133
|
], CustomerService);
|
|
305911
306134
|
|
|
305912
306135
|
// dist/.server-tsc/customer/customer.controller.js
|
|
305913
|
-
var
|
|
305914
|
-
var
|
|
306136
|
+
var import_common139 = __toESM(require_common(), 1);
|
|
306137
|
+
var __decorate182 = function(decorators, target, key, desc) {
|
|
305915
306138
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
305916
306139
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
305917
306140
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
305918
306141
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
305919
306142
|
};
|
|
305920
|
-
var
|
|
306143
|
+
var __metadata140 = function(k2, v) {
|
|
305921
306144
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
305922
306145
|
};
|
|
305923
|
-
var
|
|
306146
|
+
var __param77 = function(paramIndex, decorator) {
|
|
305924
306147
|
return function(target, key) {
|
|
305925
306148
|
decorator(target, key, paramIndex);
|
|
305926
306149
|
};
|
|
@@ -305960,7 +306183,7 @@ var CustomerController = class CustomerController2 {
|
|
|
305960
306183
|
const keepId = Number(body?.keepId);
|
|
305961
306184
|
const removeId = Number(body?.removeId);
|
|
305962
306185
|
if (!Number.isFinite(keepId) || !Number.isFinite(removeId)) {
|
|
305963
|
-
throw new
|
|
306186
|
+
throw new import_common139.BadRequestException("keepId/removeId required");
|
|
305964
306187
|
}
|
|
305965
306188
|
return this.service.merge(keepId, removeId);
|
|
305966
306189
|
}
|
|
@@ -305972,100 +306195,100 @@ var CustomerController = class CustomerController2 {
|
|
|
305972
306195
|
}
|
|
305973
306196
|
parseBatchIds(body) {
|
|
305974
306197
|
if (!Array.isArray(body?.ids) || !body.ids.length) {
|
|
305975
|
-
throw new
|
|
306198
|
+
throw new import_common139.BadRequestException("ids required");
|
|
305976
306199
|
}
|
|
305977
306200
|
if (body.ids.length > 200)
|
|
305978
|
-
throw new
|
|
306201
|
+
throw new import_common139.BadRequestException("\u4E00\u6B21\u6700\u591A 200 \u6761");
|
|
305979
306202
|
const ids = body.ids.map((n) => Number(n));
|
|
305980
306203
|
if (ids.some((n) => !Number.isInteger(n) || n <= 0)) {
|
|
305981
|
-
throw new
|
|
306204
|
+
throw new import_common139.BadRequestException("ids must be positive integers");
|
|
305982
306205
|
}
|
|
305983
306206
|
return ids;
|
|
305984
306207
|
}
|
|
305985
306208
|
};
|
|
305986
|
-
|
|
305987
|
-
(0,
|
|
305988
|
-
|
|
305989
|
-
|
|
305990
|
-
|
|
305991
|
-
|
|
305992
|
-
|
|
306209
|
+
__decorate182([
|
|
306210
|
+
(0, import_common139.Post)(),
|
|
306211
|
+
__param77(0, (0, import_common139.Body)()),
|
|
306212
|
+
__param77(1, (0, import_common139.Request)()),
|
|
306213
|
+
__metadata140("design:type", Function),
|
|
306214
|
+
__metadata140("design:paramtypes", [Object, Object]),
|
|
306215
|
+
__metadata140("design:returntype", void 0)
|
|
305993
306216
|
], CustomerController.prototype, "upsert", null);
|
|
305994
|
-
|
|
305995
|
-
(0,
|
|
305996
|
-
|
|
305997
|
-
|
|
305998
|
-
|
|
305999
|
-
|
|
306000
|
-
|
|
306217
|
+
__decorate182([
|
|
306218
|
+
(0, import_common139.Get)(),
|
|
306219
|
+
__param77(0, (0, import_common139.Query)("query")),
|
|
306220
|
+
__param77(1, (0, import_common139.Request)()),
|
|
306221
|
+
__metadata140("design:type", Function),
|
|
306222
|
+
__metadata140("design:paramtypes", [String, Object]),
|
|
306223
|
+
__metadata140("design:returntype", void 0)
|
|
306001
306224
|
], CustomerController.prototype, "search", null);
|
|
306002
|
-
|
|
306003
|
-
(0,
|
|
306004
|
-
|
|
306005
|
-
|
|
306006
|
-
|
|
306007
|
-
|
|
306008
|
-
|
|
306009
|
-
|
|
306010
|
-
|
|
306011
|
-
|
|
306225
|
+
__decorate182([
|
|
306226
|
+
(0, import_common139.Get)("unified"),
|
|
306227
|
+
__param77(0, (0, import_common139.Query)("query")),
|
|
306228
|
+
__param77(1, (0, import_common139.Query)("onlyCustomers")),
|
|
306229
|
+
__param77(2, (0, import_common139.Query)("limit")),
|
|
306230
|
+
__param77(3, (0, import_common139.Query)("offset")),
|
|
306231
|
+
__param77(4, (0, import_common139.Query)("sources")),
|
|
306232
|
+
__metadata140("design:type", Function),
|
|
306233
|
+
__metadata140("design:paramtypes", [String, String, String, String, String]),
|
|
306234
|
+
__metadata140("design:returntype", void 0)
|
|
306012
306235
|
], CustomerController.prototype, "unified", null);
|
|
306013
|
-
|
|
306014
|
-
(0,
|
|
306015
|
-
|
|
306016
|
-
|
|
306017
|
-
|
|
306236
|
+
__decorate182([
|
|
306237
|
+
(0, import_common139.Post)("collect"),
|
|
306238
|
+
__metadata140("design:type", Function),
|
|
306239
|
+
__metadata140("design:paramtypes", []),
|
|
306240
|
+
__metadata140("design:returntype", void 0)
|
|
306018
306241
|
], CustomerController.prototype, "collect", null);
|
|
306019
|
-
|
|
306020
|
-
(0,
|
|
306021
|
-
|
|
306022
|
-
|
|
306023
|
-
|
|
306024
|
-
|
|
306242
|
+
__decorate182([
|
|
306243
|
+
(0, import_common139.Delete)(),
|
|
306244
|
+
__param77(0, (0, import_common139.Body)()),
|
|
306245
|
+
__metadata140("design:type", Function),
|
|
306246
|
+
__metadata140("design:paramtypes", [Object]),
|
|
306247
|
+
__metadata140("design:returntype", void 0)
|
|
306025
306248
|
], CustomerController.prototype, "batchDelete", null);
|
|
306026
|
-
|
|
306027
|
-
(0,
|
|
306028
|
-
|
|
306029
|
-
|
|
306030
|
-
|
|
306031
|
-
|
|
306249
|
+
__decorate182([
|
|
306250
|
+
(0, import_common139.Get)(":id/related"),
|
|
306251
|
+
__param77(0, (0, import_common139.Param)("id")),
|
|
306252
|
+
__metadata140("design:type", Function),
|
|
306253
|
+
__metadata140("design:paramtypes", [String]),
|
|
306254
|
+
__metadata140("design:returntype", void 0)
|
|
306032
306255
|
], CustomerController.prototype, "related", null);
|
|
306033
|
-
|
|
306034
|
-
(0,
|
|
306035
|
-
|
|
306036
|
-
|
|
306037
|
-
|
|
306038
|
-
|
|
306256
|
+
__decorate182([
|
|
306257
|
+
(0, import_common139.Get)(":id/duplicates"),
|
|
306258
|
+
__param77(0, (0, import_common139.Param)("id")),
|
|
306259
|
+
__metadata140("design:type", Function),
|
|
306260
|
+
__metadata140("design:paramtypes", [String]),
|
|
306261
|
+
__metadata140("design:returntype", void 0)
|
|
306039
306262
|
], CustomerController.prototype, "duplicates", null);
|
|
306040
|
-
|
|
306041
|
-
(0,
|
|
306042
|
-
|
|
306043
|
-
|
|
306044
|
-
|
|
306045
|
-
|
|
306263
|
+
__decorate182([
|
|
306264
|
+
(0, import_common139.Post)("merge"),
|
|
306265
|
+
__param77(0, (0, import_common139.Body)()),
|
|
306266
|
+
__metadata140("design:type", Function),
|
|
306267
|
+
__metadata140("design:paramtypes", [Object]),
|
|
306268
|
+
__metadata140("design:returntype", void 0)
|
|
306046
306269
|
], CustomerController.prototype, "merge", null);
|
|
306047
|
-
|
|
306048
|
-
(0,
|
|
306049
|
-
|
|
306050
|
-
|
|
306051
|
-
|
|
306052
|
-
|
|
306270
|
+
__decorate182([
|
|
306271
|
+
(0, import_common139.Get)(":id"),
|
|
306272
|
+
__param77(0, (0, import_common139.Param)("id")),
|
|
306273
|
+
__metadata140("design:type", Function),
|
|
306274
|
+
__metadata140("design:paramtypes", [String]),
|
|
306275
|
+
__metadata140("design:returntype", void 0)
|
|
306053
306276
|
], CustomerController.prototype, "findOne", null);
|
|
306054
|
-
|
|
306055
|
-
(0,
|
|
306056
|
-
|
|
306057
|
-
|
|
306058
|
-
|
|
306059
|
-
|
|
306060
|
-
|
|
306277
|
+
__decorate182([
|
|
306278
|
+
(0, import_common139.Patch)(":id"),
|
|
306279
|
+
__param77(0, (0, import_common139.Param)("id")),
|
|
306280
|
+
__param77(1, (0, import_common139.Body)()),
|
|
306281
|
+
__metadata140("design:type", Function),
|
|
306282
|
+
__metadata140("design:paramtypes", [String, Object]),
|
|
306283
|
+
__metadata140("design:returntype", void 0)
|
|
306061
306284
|
], CustomerController.prototype, "update", null);
|
|
306062
|
-
CustomerController =
|
|
306063
|
-
(0,
|
|
306064
|
-
|
|
306285
|
+
CustomerController = __decorate182([
|
|
306286
|
+
(0, import_common139.Controller)("customers"),
|
|
306287
|
+
__metadata140("design:paramtypes", [CustomerService])
|
|
306065
306288
|
], CustomerController);
|
|
306066
306289
|
|
|
306067
306290
|
// dist/.server-tsc/customer/customer.module.js
|
|
306068
|
-
var
|
|
306291
|
+
var __decorate183 = function(decorators, target, key, desc) {
|
|
306069
306292
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
306070
306293
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
306071
306294
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -306073,8 +306296,8 @@ var __decorate181 = function(decorators, target, key, desc) {
|
|
|
306073
306296
|
};
|
|
306074
306297
|
var CustomerModule = class CustomerModule2 {
|
|
306075
306298
|
};
|
|
306076
|
-
CustomerModule =
|
|
306077
|
-
(0,
|
|
306299
|
+
CustomerModule = __decorate183([
|
|
306300
|
+
(0, import_common140.Module)({
|
|
306078
306301
|
imports: [
|
|
306079
306302
|
import_typeorm157.TypeOrmModule.forFeature([
|
|
306080
306303
|
Customer,
|
|
@@ -306095,22 +306318,22 @@ CustomerModule = __decorate181([
|
|
|
306095
306318
|
], CustomerModule);
|
|
306096
306319
|
|
|
306097
306320
|
// dist/.server-tsc/preference/preference.module.js
|
|
306098
|
-
var
|
|
306321
|
+
var import_common143 = __toESM(require_common(), 1);
|
|
306099
306322
|
var import_typeorm160 = __toESM(require_typeorm2(), 1);
|
|
306100
306323
|
|
|
306101
306324
|
// dist/.server-tsc/preference/preference.service.js
|
|
306102
|
-
var
|
|
306325
|
+
var import_common141 = __toESM(require_common(), 1);
|
|
306103
306326
|
var import_typeorm158 = __toESM(require_typeorm2(), 1);
|
|
306104
|
-
var
|
|
306327
|
+
var __decorate184 = function(decorators, target, key, desc) {
|
|
306105
306328
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
306106
306329
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
306107
306330
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
306108
306331
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
306109
306332
|
};
|
|
306110
|
-
var
|
|
306333
|
+
var __metadata141 = function(k2, v) {
|
|
306111
306334
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
306112
306335
|
};
|
|
306113
|
-
var
|
|
306336
|
+
var __param78 = function(paramIndex, decorator) {
|
|
306114
306337
|
return function(target, key) {
|
|
306115
306338
|
decorator(target, key, paramIndex);
|
|
306116
306339
|
};
|
|
@@ -306131,7 +306354,7 @@ var PreferenceService = class PreferenceService2 {
|
|
|
306131
306354
|
}
|
|
306132
306355
|
async put(dto) {
|
|
306133
306356
|
if (!dto.scope || !dto.scopeId) {
|
|
306134
|
-
throw new
|
|
306357
|
+
throw new import_common141.BadRequestException("scope \u4E0E scopeId \u5FC5\u586B");
|
|
306135
306358
|
}
|
|
306136
306359
|
const saved = [];
|
|
306137
306360
|
for (const item of dto.items) {
|
|
@@ -306183,7 +306406,7 @@ var PreferenceService = class PreferenceService2 {
|
|
|
306183
306406
|
}
|
|
306184
306407
|
async getMerged(scope, scopeId, opts) {
|
|
306185
306408
|
if (!scope || !scopeId) {
|
|
306186
|
-
throw new
|
|
306409
|
+
throw new import_common141.BadRequestException("scope \u4E0E scopeId \u5FC5\u586B");
|
|
306187
306410
|
}
|
|
306188
306411
|
const result = {
|
|
306189
306412
|
case: [],
|
|
@@ -306206,24 +306429,24 @@ var PreferenceService = class PreferenceService2 {
|
|
|
306206
306429
|
return result;
|
|
306207
306430
|
}
|
|
306208
306431
|
};
|
|
306209
|
-
PreferenceService =
|
|
306210
|
-
(0,
|
|
306211
|
-
|
|
306212
|
-
|
|
306432
|
+
PreferenceService = __decorate184([
|
|
306433
|
+
(0, import_common141.Injectable)(),
|
|
306434
|
+
__param78(0, (0, import_typeorm158.InjectRepository)(Preference)),
|
|
306435
|
+
__metadata141("design:paramtypes", [Repository])
|
|
306213
306436
|
], PreferenceService);
|
|
306214
306437
|
|
|
306215
306438
|
// dist/.server-tsc/preference/preference.controller.js
|
|
306216
|
-
var
|
|
306217
|
-
var
|
|
306439
|
+
var import_common142 = __toESM(require_common(), 1);
|
|
306440
|
+
var __decorate185 = function(decorators, target, key, desc) {
|
|
306218
306441
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
306219
306442
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
306220
306443
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
306221
306444
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
306222
306445
|
};
|
|
306223
|
-
var
|
|
306446
|
+
var __metadata142 = function(k2, v) {
|
|
306224
306447
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
306225
306448
|
};
|
|
306226
|
-
var
|
|
306449
|
+
var __param79 = function(paramIndex, decorator) {
|
|
306227
306450
|
return function(target, key) {
|
|
306228
306451
|
decorator(target, key, paramIndex);
|
|
306229
306452
|
};
|
|
@@ -306246,38 +306469,38 @@ var PreferenceController = class PreferenceController2 {
|
|
|
306246
306469
|
return this.service.remove(parseInt(id, 10));
|
|
306247
306470
|
}
|
|
306248
306471
|
};
|
|
306249
|
-
|
|
306250
|
-
(0,
|
|
306251
|
-
|
|
306252
|
-
|
|
306253
|
-
|
|
306254
|
-
|
|
306255
|
-
|
|
306472
|
+
__decorate185([
|
|
306473
|
+
(0, import_common142.Put)(),
|
|
306474
|
+
__param79(0, (0, import_common142.Body)()),
|
|
306475
|
+
__param79(1, (0, import_common142.Request)()),
|
|
306476
|
+
__metadata142("design:type", Function),
|
|
306477
|
+
__metadata142("design:paramtypes", [Object, Object]),
|
|
306478
|
+
__metadata142("design:returntype", void 0)
|
|
306256
306479
|
], PreferenceController.prototype, "put", null);
|
|
306257
|
-
|
|
306258
|
-
(0,
|
|
306259
|
-
|
|
306260
|
-
|
|
306261
|
-
|
|
306262
|
-
|
|
306263
|
-
|
|
306264
|
-
|
|
306265
|
-
|
|
306480
|
+
__decorate185([
|
|
306481
|
+
(0, import_common142.Get)(),
|
|
306482
|
+
__param79(0, (0, import_common142.Request)()),
|
|
306483
|
+
__param79(1, (0, import_common142.Query)("scope")),
|
|
306484
|
+
__param79(2, (0, import_common142.Query)("scopeId")),
|
|
306485
|
+
__param79(3, (0, import_common142.Query)("customerId")),
|
|
306486
|
+
__metadata142("design:type", Function),
|
|
306487
|
+
__metadata142("design:paramtypes", [Object, String, String, String]),
|
|
306488
|
+
__metadata142("design:returntype", void 0)
|
|
306266
306489
|
], PreferenceController.prototype, "getMerged", null);
|
|
306267
|
-
|
|
306268
|
-
(0,
|
|
306269
|
-
|
|
306270
|
-
|
|
306271
|
-
|
|
306272
|
-
|
|
306490
|
+
__decorate185([
|
|
306491
|
+
(0, import_common142.Delete)(":id"),
|
|
306492
|
+
__param79(0, (0, import_common142.Param)("id")),
|
|
306493
|
+
__metadata142("design:type", Function),
|
|
306494
|
+
__metadata142("design:paramtypes", [String]),
|
|
306495
|
+
__metadata142("design:returntype", void 0)
|
|
306273
306496
|
], PreferenceController.prototype, "remove", null);
|
|
306274
|
-
PreferenceController =
|
|
306275
|
-
(0,
|
|
306276
|
-
|
|
306497
|
+
PreferenceController = __decorate185([
|
|
306498
|
+
(0, import_common142.Controller)("preferences"),
|
|
306499
|
+
__metadata142("design:paramtypes", [PreferenceService])
|
|
306277
306500
|
], PreferenceController);
|
|
306278
306501
|
|
|
306279
306502
|
// dist/.server-tsc/preference/preference.module.js
|
|
306280
|
-
var
|
|
306503
|
+
var __decorate186 = function(decorators, target, key, desc) {
|
|
306281
306504
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
306282
306505
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
306283
306506
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -306285,8 +306508,8 @@ var __decorate184 = function(decorators, target, key, desc) {
|
|
|
306285
306508
|
};
|
|
306286
306509
|
var PreferenceModule = class PreferenceModule2 {
|
|
306287
306510
|
};
|
|
306288
|
-
PreferenceModule =
|
|
306289
|
-
(0,
|
|
306511
|
+
PreferenceModule = __decorate186([
|
|
306512
|
+
(0, import_common143.Module)({
|
|
306290
306513
|
imports: [import_typeorm160.TypeOrmModule.forFeature([Preference])],
|
|
306291
306514
|
controllers: [PreferenceController],
|
|
306292
306515
|
providers: [PreferenceService],
|
|
@@ -306295,23 +306518,23 @@ PreferenceModule = __decorate184([
|
|
|
306295
306518
|
], PreferenceModule);
|
|
306296
306519
|
|
|
306297
306520
|
// dist/.server-tsc/resource-usage/resource-usage.module.js
|
|
306298
|
-
var
|
|
306521
|
+
var import_common148 = __toESM(require_common(), 1);
|
|
306299
306522
|
var import_typeorm165 = __toESM(require_typeorm2(), 1);
|
|
306300
306523
|
|
|
306301
306524
|
// dist/.server-tsc/resource-usage/resource-usage.service.js
|
|
306302
|
-
var
|
|
306525
|
+
var import_common145 = __toESM(require_common(), 1);
|
|
306303
306526
|
var import_typeorm161 = __toESM(require_typeorm2(), 1);
|
|
306304
306527
|
var import_config9 = __toESM(require_config2(), 1);
|
|
306305
306528
|
|
|
306306
306529
|
// dist/.server-tsc/resource-usage/process-sampler.js
|
|
306307
|
-
var
|
|
306530
|
+
var import_common144 = __toESM(require_common(), 1);
|
|
306308
306531
|
import { execFile as execFile2 } from "child_process";
|
|
306309
306532
|
import { promisify as promisify3 } from "util";
|
|
306310
306533
|
import * as fs13 from "fs";
|
|
306311
306534
|
import * as path12 from "path";
|
|
306312
306535
|
var execFileP = promisify3(execFile2);
|
|
306313
306536
|
var ProcessSampler = class _ProcessSampler {
|
|
306314
|
-
logger = new
|
|
306537
|
+
logger = new import_common144.Logger(_ProcessSampler.name);
|
|
306315
306538
|
collector;
|
|
306316
306539
|
deps;
|
|
306317
306540
|
ring = [];
|
|
@@ -306541,16 +306764,16 @@ function readProcCpuTimes() {
|
|
|
306541
306764
|
}
|
|
306542
306765
|
|
|
306543
306766
|
// dist/.server-tsc/resource-usage/resource-usage.service.js
|
|
306544
|
-
var
|
|
306767
|
+
var __decorate187 = function(decorators, target, key, desc) {
|
|
306545
306768
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
306546
306769
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
306547
306770
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
306548
306771
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
306549
306772
|
};
|
|
306550
|
-
var
|
|
306773
|
+
var __metadata143 = function(k2, v) {
|
|
306551
306774
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
306552
306775
|
};
|
|
306553
|
-
var
|
|
306776
|
+
var __param80 = function(paramIndex, decorator) {
|
|
306554
306777
|
return function(target, key) {
|
|
306555
306778
|
decorator(target, key, paramIndex);
|
|
306556
306779
|
};
|
|
@@ -306560,7 +306783,7 @@ var ResourceUsageService = ResourceUsageService_1 = class ResourceUsageService2
|
|
|
306560
306783
|
repo;
|
|
306561
306784
|
config;
|
|
306562
306785
|
authService;
|
|
306563
|
-
logger = new
|
|
306786
|
+
logger = new import_common145.Logger(ResourceUsageService_1.name);
|
|
306564
306787
|
collector;
|
|
306565
306788
|
sampler;
|
|
306566
306789
|
reporting = false;
|
|
@@ -306723,13 +306946,13 @@ var ResourceUsageService = ResourceUsageService_1 = class ResourceUsageService2
|
|
|
306723
306946
|
}
|
|
306724
306947
|
}
|
|
306725
306948
|
};
|
|
306726
|
-
ResourceUsageService = ResourceUsageService_1 =
|
|
306727
|
-
(0,
|
|
306728
|
-
|
|
306729
|
-
|
|
306730
|
-
|
|
306731
|
-
|
|
306732
|
-
|
|
306949
|
+
ResourceUsageService = ResourceUsageService_1 = __decorate187([
|
|
306950
|
+
(0, import_common145.Injectable)(),
|
|
306951
|
+
__param80(0, (0, import_typeorm161.InjectRepository)(ResourceReport)),
|
|
306952
|
+
__param80(2, (0, import_common145.Optional)()),
|
|
306953
|
+
__param80(3, (0, import_common145.Optional)()),
|
|
306954
|
+
__param80(4, (0, import_common145.Optional)()),
|
|
306955
|
+
__metadata143("design:paramtypes", [
|
|
306733
306956
|
Repository,
|
|
306734
306957
|
import_config9.ConfigService,
|
|
306735
306958
|
ResourceCollector,
|
|
@@ -306739,17 +306962,17 @@ ResourceUsageService = ResourceUsageService_1 = __decorate185([
|
|
|
306739
306962
|
], ResourceUsageService);
|
|
306740
306963
|
|
|
306741
306964
|
// dist/.server-tsc/resource-usage/resource-usage.controller.js
|
|
306742
|
-
var
|
|
306743
|
-
var
|
|
306965
|
+
var import_common146 = __toESM(require_common(), 1);
|
|
306966
|
+
var __decorate188 = function(decorators, target, key, desc) {
|
|
306744
306967
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
306745
306968
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
306746
306969
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
306747
306970
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
306748
306971
|
};
|
|
306749
|
-
var
|
|
306972
|
+
var __metadata144 = function(k2, v) {
|
|
306750
306973
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
306751
306974
|
};
|
|
306752
|
-
var
|
|
306975
|
+
var __param81 = function(paramIndex, decorator) {
|
|
306753
306976
|
return function(target, key) {
|
|
306754
306977
|
decorator(target, key, paramIndex);
|
|
306755
306978
|
};
|
|
@@ -306781,61 +307004,61 @@ var ResourceUsageController = class ResourceUsageController2 {
|
|
|
306781
307004
|
return this.service.getSamples();
|
|
306782
307005
|
}
|
|
306783
307006
|
};
|
|
306784
|
-
|
|
306785
|
-
(0,
|
|
306786
|
-
|
|
306787
|
-
|
|
306788
|
-
|
|
307007
|
+
__decorate188([
|
|
307008
|
+
(0, import_common146.Get)("latest"),
|
|
307009
|
+
__metadata144("design:type", Function),
|
|
307010
|
+
__metadata144("design:paramtypes", []),
|
|
307011
|
+
__metadata144("design:returntype", void 0)
|
|
306789
307012
|
], ResourceUsageController.prototype, "latest", null);
|
|
306790
|
-
|
|
306791
|
-
(0,
|
|
306792
|
-
|
|
306793
|
-
|
|
306794
|
-
|
|
306795
|
-
|
|
307013
|
+
__decorate188([
|
|
307014
|
+
(0, import_common146.Get)("history"),
|
|
307015
|
+
__param81(0, (0, import_common146.Query)("hours")),
|
|
307016
|
+
__metadata144("design:type", Function),
|
|
307017
|
+
__metadata144("design:paramtypes", [String]),
|
|
307018
|
+
__metadata144("design:returntype", void 0)
|
|
306796
307019
|
], ResourceUsageController.prototype, "history", null);
|
|
306797
|
-
|
|
306798
|
-
(0,
|
|
306799
|
-
|
|
306800
|
-
|
|
306801
|
-
|
|
307020
|
+
__decorate188([
|
|
307021
|
+
(0, import_common146.Post)("collect-now"),
|
|
307022
|
+
__metadata144("design:type", Function),
|
|
307023
|
+
__metadata144("design:paramtypes", []),
|
|
307024
|
+
__metadata144("design:returntype", Promise)
|
|
306802
307025
|
], ResourceUsageController.prototype, "collectNow", null);
|
|
306803
|
-
|
|
306804
|
-
(0,
|
|
306805
|
-
|
|
306806
|
-
|
|
306807
|
-
|
|
307026
|
+
__decorate188([
|
|
307027
|
+
(0, import_common146.Get)("pending"),
|
|
307028
|
+
__metadata144("design:type", Function),
|
|
307029
|
+
__metadata144("design:paramtypes", []),
|
|
307030
|
+
__metadata144("design:returntype", void 0)
|
|
306808
307031
|
], ResourceUsageController.prototype, "pending", null);
|
|
306809
|
-
|
|
306810
|
-
(0,
|
|
306811
|
-
|
|
306812
|
-
|
|
306813
|
-
|
|
307032
|
+
__decorate188([
|
|
307033
|
+
(0, import_common146.Get)("live"),
|
|
307034
|
+
__metadata144("design:type", Function),
|
|
307035
|
+
__metadata144("design:paramtypes", []),
|
|
307036
|
+
__metadata144("design:returntype", void 0)
|
|
306814
307037
|
], ResourceUsageController.prototype, "live", null);
|
|
306815
|
-
|
|
306816
|
-
(0,
|
|
306817
|
-
|
|
306818
|
-
|
|
306819
|
-
|
|
307038
|
+
__decorate188([
|
|
307039
|
+
(0, import_common146.Get)("samples"),
|
|
307040
|
+
__metadata144("design:type", Function),
|
|
307041
|
+
__metadata144("design:paramtypes", []),
|
|
307042
|
+
__metadata144("design:returntype", void 0)
|
|
306820
307043
|
], ResourceUsageController.prototype, "samples", null);
|
|
306821
|
-
ResourceUsageController =
|
|
306822
|
-
(0,
|
|
306823
|
-
|
|
307044
|
+
ResourceUsageController = __decorate188([
|
|
307045
|
+
(0, import_common146.Controller)("resource-usage"),
|
|
307046
|
+
__metadata144("design:paramtypes", [ResourceUsageService])
|
|
306824
307047
|
], ResourceUsageController);
|
|
306825
307048
|
|
|
306826
307049
|
// dist/.server-tsc/resource-usage/resource-retention.service.js
|
|
306827
|
-
var
|
|
307050
|
+
var import_common147 = __toESM(require_common(), 1);
|
|
306828
307051
|
var import_typeorm163 = __toESM(require_typeorm2(), 1);
|
|
306829
|
-
var
|
|
307052
|
+
var __decorate189 = function(decorators, target, key, desc) {
|
|
306830
307053
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
306831
307054
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
306832
307055
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
306833
307056
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
306834
307057
|
};
|
|
306835
|
-
var
|
|
307058
|
+
var __metadata145 = function(k2, v) {
|
|
306836
307059
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
306837
307060
|
};
|
|
306838
|
-
var
|
|
307061
|
+
var __param82 = function(paramIndex, decorator) {
|
|
306839
307062
|
return function(target, key) {
|
|
306840
307063
|
decorator(target, key, paramIndex);
|
|
306841
307064
|
};
|
|
@@ -306843,7 +307066,7 @@ var __param81 = function(paramIndex, decorator) {
|
|
|
306843
307066
|
var ResourceRetentionService_1;
|
|
306844
307067
|
var ResourceRetentionService = ResourceRetentionService_1 = class ResourceRetentionService2 {
|
|
306845
307068
|
repo;
|
|
306846
|
-
logger = new
|
|
307069
|
+
logger = new import_common147.Logger(ResourceRetentionService_1.name);
|
|
306847
307070
|
timer = null;
|
|
306848
307071
|
constructor(repo) {
|
|
306849
307072
|
this.repo = repo;
|
|
@@ -306882,14 +307105,14 @@ var ResourceRetentionService = ResourceRetentionService_1 = class ResourceRetent
|
|
|
306882
307105
|
return { days, cutoff: cutoff.toISOString(), deleted };
|
|
306883
307106
|
}
|
|
306884
307107
|
};
|
|
306885
|
-
ResourceRetentionService = ResourceRetentionService_1 =
|
|
306886
|
-
(0,
|
|
306887
|
-
|
|
306888
|
-
|
|
307108
|
+
ResourceRetentionService = ResourceRetentionService_1 = __decorate189([
|
|
307109
|
+
(0, import_common147.Injectable)(),
|
|
307110
|
+
__param82(0, (0, import_typeorm163.InjectRepository)(ResourceReport)),
|
|
307111
|
+
__metadata145("design:paramtypes", [Repository])
|
|
306889
307112
|
], ResourceRetentionService);
|
|
306890
307113
|
|
|
306891
307114
|
// dist/.server-tsc/resource-usage/resource-usage.module.js
|
|
306892
|
-
var
|
|
307115
|
+
var __decorate190 = function(decorators, target, key, desc) {
|
|
306893
307116
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
306894
307117
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
306895
307118
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -306897,8 +307120,8 @@ var __decorate188 = function(decorators, target, key, desc) {
|
|
|
306897
307120
|
};
|
|
306898
307121
|
var ResourceUsageModule = class ResourceUsageModule2 {
|
|
306899
307122
|
};
|
|
306900
|
-
ResourceUsageModule =
|
|
306901
|
-
(0,
|
|
307123
|
+
ResourceUsageModule = __decorate190([
|
|
307124
|
+
(0, import_common148.Module)({
|
|
306902
307125
|
imports: [import_typeorm165.TypeOrmModule.forFeature([ResourceReport]), AuthModule],
|
|
306903
307126
|
controllers: [ResourceUsageController],
|
|
306904
307127
|
providers: [ResourceUsageService, ResourceRetentionService],
|
|
@@ -306907,11 +307130,11 @@ ResourceUsageModule = __decorate188([
|
|
|
306907
307130
|
], ResourceUsageModule);
|
|
306908
307131
|
|
|
306909
307132
|
// dist/.server-tsc/recommendation/recommendation.module.js
|
|
306910
|
-
var
|
|
307133
|
+
var import_common151 = __toESM(require_common(), 1);
|
|
306911
307134
|
var import_typeorm168 = __toESM(require_typeorm2(), 1);
|
|
306912
307135
|
|
|
306913
307136
|
// dist/.server-tsc/recommendation/recommendation.service.js
|
|
306914
|
-
var
|
|
307137
|
+
var import_common149 = __toESM(require_common(), 1);
|
|
306915
307138
|
var import_typeorm166 = __toESM(require_typeorm2(), 1);
|
|
306916
307139
|
|
|
306917
307140
|
// dist/.server-tsc/recommendation/stage-forms.js
|
|
@@ -307092,16 +307315,16 @@ ${WRITEBACK_FOOTER}`;
|
|
|
307092
307315
|
}
|
|
307093
307316
|
|
|
307094
307317
|
// dist/.server-tsc/recommendation/recommendation.service.js
|
|
307095
|
-
var
|
|
307318
|
+
var __decorate191 = function(decorators, target, key, desc) {
|
|
307096
307319
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
307097
307320
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
307098
307321
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
307099
307322
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
307100
307323
|
};
|
|
307101
|
-
var
|
|
307324
|
+
var __metadata146 = function(k2, v) {
|
|
307102
307325
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
307103
307326
|
};
|
|
307104
|
-
var
|
|
307327
|
+
var __param83 = function(paramIndex, decorator) {
|
|
307105
307328
|
return function(target, key) {
|
|
307106
307329
|
decorator(target, key, paramIndex);
|
|
307107
307330
|
};
|
|
@@ -307110,7 +307333,7 @@ var RecommendationService_1;
|
|
|
307110
307333
|
var STAGE_KEYS = RECOMMENDATION_STAGES.map((s) => s.key);
|
|
307111
307334
|
function assertStage(stage) {
|
|
307112
307335
|
if (!STAGE_KEYS.includes(stage)) {
|
|
307113
|
-
throw new
|
|
307336
|
+
throw new import_common149.BadRequestException(`Invalid stage: ${stage}; \u5408\u6CD5\u503C\u89C1 GET /recommendations/meta`);
|
|
307114
307337
|
}
|
|
307115
307338
|
return stage;
|
|
307116
307339
|
}
|
|
@@ -307122,7 +307345,7 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
|
|
|
307122
307345
|
talentRepo;
|
|
307123
307346
|
remarkRepo;
|
|
307124
307347
|
feedbackRepo;
|
|
307125
|
-
logger = new
|
|
307348
|
+
logger = new import_common149.Logger(RecommendationService_1.name);
|
|
307126
307349
|
constructor(recRepo, jobRepo, matchRepo, portraitRepo, talentRepo, remarkRepo, feedbackRepo) {
|
|
307127
307350
|
this.recRepo = recRepo;
|
|
307128
307351
|
this.jobRepo = jobRepo;
|
|
@@ -307142,7 +307365,7 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
|
|
|
307142
307365
|
async listByJob(jobCaseId, stage) {
|
|
307143
307366
|
const job = await this.jobRepo.findOne({ where: { id: jobCaseId } });
|
|
307144
307367
|
if (!job)
|
|
307145
|
-
throw new
|
|
307368
|
+
throw new import_common149.NotFoundException(`JobCase ${jobCaseId} not found`);
|
|
307146
307369
|
const filter2 = stage ? assertStage(stage) : void 0;
|
|
307147
307370
|
const all3 = await this.recRepo.find({
|
|
307148
307371
|
where: { jobCaseId },
|
|
@@ -307197,14 +307420,14 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
|
|
|
307197
307420
|
}
|
|
307198
307421
|
async create(dto, by = "web", actorType = "unknown") {
|
|
307199
307422
|
if (!dto.jobCaseId)
|
|
307200
|
-
throw new
|
|
307423
|
+
throw new import_common149.BadRequestException("jobCaseId required");
|
|
307201
307424
|
if (!dto.portraitId && !dto.entityId) {
|
|
307202
|
-
throw new
|
|
307425
|
+
throw new import_common149.BadRequestException("portraitId or entityId required");
|
|
307203
307426
|
}
|
|
307204
307427
|
const stage = assertStage(dto.stage ?? "pending_invite");
|
|
307205
307428
|
const job = await this.jobRepo.findOne({ where: { id: dto.jobCaseId } });
|
|
307206
307429
|
if (!job)
|
|
307207
|
-
throw new
|
|
307430
|
+
throw new import_common149.NotFoundException(`JobCase ${dto.jobCaseId} not found`);
|
|
307208
307431
|
const identityWhere = dto.portraitId ? { jobCaseId: dto.jobCaseId, portraitId: dto.portraitId } : { jobCaseId: dto.jobCaseId, entityId: dto.entityId };
|
|
307209
307432
|
const existing = await this.recRepo.findOne({ where: identityWhere });
|
|
307210
307433
|
if (existing) {
|
|
@@ -307241,7 +307464,7 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
|
|
|
307241
307464
|
async update(id, dto, by = "web", actorType = "unknown") {
|
|
307242
307465
|
const row = await this.recRepo.findOne({ where: { id } });
|
|
307243
307466
|
if (!row)
|
|
307244
|
-
throw new
|
|
307467
|
+
throw new import_common149.NotFoundException(`Recommendation ${id} not found`);
|
|
307245
307468
|
if (dto.stage)
|
|
307246
307469
|
this.applyMove(row, assertStage(dto.stage), by, dto.note, actorType);
|
|
307247
307470
|
if (dto.formData) {
|
|
@@ -307277,12 +307500,12 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
|
|
|
307277
307500
|
async batchMove(ids, stage, jobCaseId, by = "web", actorType = "unknown", formData) {
|
|
307278
307501
|
const target = assertStage(stage);
|
|
307279
307502
|
if (!ids.length)
|
|
307280
|
-
throw new
|
|
307503
|
+
throw new import_common149.BadRequestException("ids required");
|
|
307281
307504
|
const rows = await this.recRepo.find({ where: { id: In(ids) } });
|
|
307282
307505
|
if (jobCaseId) {
|
|
307283
307506
|
const job = await this.jobRepo.findOne({ where: { id: jobCaseId } });
|
|
307284
307507
|
if (!job)
|
|
307285
|
-
throw new
|
|
307508
|
+
throw new import_common149.NotFoundException(`JobCase ${jobCaseId} not found`);
|
|
307286
307509
|
}
|
|
307287
307510
|
const out = [];
|
|
307288
307511
|
for (const row of rows) {
|
|
@@ -307316,7 +307539,7 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
|
|
|
307316
307539
|
async adopt(matchId, by = "web", actorType = "unknown") {
|
|
307317
307540
|
const match = await this.matchRepo.findOne({ where: { id: matchId } });
|
|
307318
307541
|
if (!match)
|
|
307319
|
-
throw new
|
|
307542
|
+
throw new import_common149.NotFoundException(`Match ${matchId} not found`);
|
|
307320
307543
|
const row = await this.create({
|
|
307321
307544
|
jobCaseId: match.jobCaseId,
|
|
307322
307545
|
portraitId: match.portraitId,
|
|
@@ -307331,14 +307554,14 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
|
|
|
307331
307554
|
async remove(id) {
|
|
307332
307555
|
const row = await this.recRepo.findOne({ where: { id } });
|
|
307333
307556
|
if (!row)
|
|
307334
|
-
throw new
|
|
307557
|
+
throw new import_common149.NotFoundException(`Recommendation ${id} not found`);
|
|
307335
307558
|
await this.recRepo.delete({ id });
|
|
307336
307559
|
return { id, removed: true };
|
|
307337
307560
|
}
|
|
307338
307561
|
async buildRecommendPrompt(jobCaseId) {
|
|
307339
307562
|
const job = await this.jobRepo.findOne({ where: { id: jobCaseId } });
|
|
307340
307563
|
if (!job)
|
|
307341
|
-
throw new
|
|
307564
|
+
throw new import_common149.NotFoundException(`JobCase ${jobCaseId} not found`);
|
|
307342
307565
|
const remarks = await this.loadCustomerRemarks(job.customerId);
|
|
307343
307566
|
const existing = await this.recRepo.find({ where: { jobCaseId } });
|
|
307344
307567
|
const data = {
|
|
@@ -307355,7 +307578,7 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
|
|
|
307355
307578
|
async buildMatchPrompt(jobCaseId) {
|
|
307356
307579
|
const job = await this.jobRepo.findOne({ where: { id: jobCaseId } });
|
|
307357
307580
|
if (!job)
|
|
307358
|
-
throw new
|
|
307581
|
+
throw new import_common149.NotFoundException(`JobCase ${jobCaseId} not found`);
|
|
307359
307582
|
const remarks = await this.loadCustomerRemarks(job.customerId);
|
|
307360
307583
|
const matches = await this.matchRepo.find({ where: { jobCaseId } });
|
|
307361
307584
|
const portraitIds = Array.from(new Set(matches.map((m) => m.portraitId)));
|
|
@@ -307375,10 +307598,10 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
|
|
|
307375
307598
|
}
|
|
307376
307599
|
async buildInvitePrompt(ids) {
|
|
307377
307600
|
if (!ids.length)
|
|
307378
|
-
throw new
|
|
307601
|
+
throw new import_common149.BadRequestException("ids required");
|
|
307379
307602
|
const rows = await this.recRepo.find({ where: { id: In(ids) } });
|
|
307380
307603
|
if (!rows.length)
|
|
307381
|
-
throw new
|
|
307604
|
+
throw new import_common149.NotFoundException("No recommendations found for ids");
|
|
307382
307605
|
const portraitIds = Array.from(new Set(rows.map((r) => r.portraitId).filter(Boolean)));
|
|
307383
307606
|
const portraits = portraitIds.length ? await this.portraitRepo.find({ where: { id: In(portraitIds) } }) : [];
|
|
307384
307607
|
const contactOf = new Map(portraits.map((p) => [p.id, p.contact]));
|
|
@@ -307407,10 +307630,10 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
|
|
|
307407
307630
|
}
|
|
307408
307631
|
async buildReplyCheckPrompt(ids) {
|
|
307409
307632
|
if (!ids.length)
|
|
307410
|
-
throw new
|
|
307633
|
+
throw new import_common149.BadRequestException("ids required");
|
|
307411
307634
|
const rows = await this.recRepo.find({ where: { id: In(ids) } });
|
|
307412
307635
|
if (!rows.length)
|
|
307413
|
-
throw new
|
|
307636
|
+
throw new import_common149.NotFoundException("No recommendations found for ids");
|
|
307414
307637
|
const talentsText = rows.map((r) => {
|
|
307415
307638
|
const inv = r.invitation ?? {};
|
|
307416
307639
|
return [
|
|
@@ -307516,16 +307739,16 @@ var RecommendationService = RecommendationService_1 = class RecommendationServic
|
|
|
307516
307739
|
return remarks.map((r) => `- [${r.createdAt}] ${r.content}`).join("\n");
|
|
307517
307740
|
}
|
|
307518
307741
|
};
|
|
307519
|
-
RecommendationService = RecommendationService_1 =
|
|
307520
|
-
(0,
|
|
307521
|
-
|
|
307522
|
-
|
|
307523
|
-
|
|
307524
|
-
|
|
307525
|
-
|
|
307526
|
-
|
|
307527
|
-
|
|
307528
|
-
|
|
307742
|
+
RecommendationService = RecommendationService_1 = __decorate191([
|
|
307743
|
+
(0, import_common149.Injectable)(),
|
|
307744
|
+
__param83(0, (0, import_typeorm166.InjectRepository)(JobRecommendation)),
|
|
307745
|
+
__param83(1, (0, import_typeorm166.InjectRepository)(JobCase)),
|
|
307746
|
+
__param83(2, (0, import_typeorm166.InjectRepository)(TalentJobMatch)),
|
|
307747
|
+
__param83(3, (0, import_typeorm166.InjectRepository)(TalentPortrait)),
|
|
307748
|
+
__param83(4, (0, import_typeorm166.InjectRepository)(TalentProfile)),
|
|
307749
|
+
__param83(5, (0, import_typeorm166.InjectRepository)(Remark)),
|
|
307750
|
+
__param83(6, (0, import_typeorm166.InjectRepository)(MatchFeedback)),
|
|
307751
|
+
__metadata146("design:paramtypes", [
|
|
307529
307752
|
Repository,
|
|
307530
307753
|
Repository,
|
|
307531
307754
|
Repository,
|
|
@@ -307537,17 +307760,17 @@ RecommendationService = RecommendationService_1 = __decorate189([
|
|
|
307537
307760
|
], RecommendationService);
|
|
307538
307761
|
|
|
307539
307762
|
// dist/.server-tsc/recommendation/recommendation.controller.js
|
|
307540
|
-
var
|
|
307541
|
-
var
|
|
307763
|
+
var import_common150 = __toESM(require_common(), 1);
|
|
307764
|
+
var __decorate192 = function(decorators, target, key, desc) {
|
|
307542
307765
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
307543
307766
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
307544
307767
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
307545
307768
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
307546
307769
|
};
|
|
307547
|
-
var
|
|
307770
|
+
var __metadata147 = function(k2, v) {
|
|
307548
307771
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
307549
307772
|
};
|
|
307550
|
-
var
|
|
307773
|
+
var __param84 = function(paramIndex, decorator) {
|
|
307551
307774
|
return function(target, key) {
|
|
307552
307775
|
decorator(target, key, paramIndex);
|
|
307553
307776
|
};
|
|
@@ -307601,109 +307824,109 @@ var RecommendationController = class RecommendationController2 {
|
|
|
307601
307824
|
return this.service.buildReplyCheckPrompt(body.ids ?? []);
|
|
307602
307825
|
}
|
|
307603
307826
|
};
|
|
307604
|
-
|
|
307605
|
-
(0,
|
|
307606
|
-
|
|
307607
|
-
|
|
307608
|
-
|
|
307827
|
+
__decorate192([
|
|
307828
|
+
(0, import_common150.Get)("recommendations/meta"),
|
|
307829
|
+
__metadata147("design:type", Function),
|
|
307830
|
+
__metadata147("design:paramtypes", []),
|
|
307831
|
+
__metadata147("design:returntype", void 0)
|
|
307609
307832
|
], RecommendationController.prototype, "meta", null);
|
|
307610
|
-
|
|
307611
|
-
(0,
|
|
307612
|
-
|
|
307613
|
-
|
|
307614
|
-
|
|
307615
|
-
|
|
307616
|
-
|
|
307833
|
+
__decorate192([
|
|
307834
|
+
(0, import_common150.Get)("job-cases/:id/recommendations"),
|
|
307835
|
+
__param84(0, (0, import_common150.Param)("id")),
|
|
307836
|
+
__param84(1, (0, import_common150.Query)("stage")),
|
|
307837
|
+
__metadata147("design:type", Function),
|
|
307838
|
+
__metadata147("design:paramtypes", [String, String]),
|
|
307839
|
+
__metadata147("design:returntype", void 0)
|
|
307617
307840
|
], RecommendationController.prototype, "listByJob", null);
|
|
307618
|
-
|
|
307619
|
-
(0,
|
|
307620
|
-
|
|
307621
|
-
|
|
307622
|
-
|
|
307623
|
-
|
|
307841
|
+
__decorate192([
|
|
307842
|
+
(0, import_common150.Get)("recommendations/by-portrait/:portraitId"),
|
|
307843
|
+
__param84(0, (0, import_common150.Param)("portraitId")),
|
|
307844
|
+
__metadata147("design:type", Function),
|
|
307845
|
+
__metadata147("design:paramtypes", [String]),
|
|
307846
|
+
__metadata147("design:returntype", void 0)
|
|
307624
307847
|
], RecommendationController.prototype, "listByPortrait", null);
|
|
307625
|
-
|
|
307626
|
-
(0,
|
|
307627
|
-
|
|
307628
|
-
|
|
307629
|
-
|
|
307630
|
-
|
|
307848
|
+
__decorate192([
|
|
307849
|
+
(0, import_common150.Get)("recommendations/summary"),
|
|
307850
|
+
__param84(0, (0, import_common150.Query)("ids")),
|
|
307851
|
+
__metadata147("design:type", Function),
|
|
307852
|
+
__metadata147("design:paramtypes", [String]),
|
|
307853
|
+
__metadata147("design:returntype", void 0)
|
|
307631
307854
|
], RecommendationController.prototype, "recoSummary", null);
|
|
307632
|
-
|
|
307633
|
-
(0,
|
|
307634
|
-
|
|
307635
|
-
|
|
307636
|
-
|
|
307637
|
-
|
|
307638
|
-
|
|
307855
|
+
__decorate192([
|
|
307856
|
+
(0, import_common150.Post)("recommendations"),
|
|
307857
|
+
__param84(0, (0, import_common150.Body)()),
|
|
307858
|
+
__param84(1, (0, import_common150.Request)()),
|
|
307859
|
+
__metadata147("design:type", Function),
|
|
307860
|
+
__metadata147("design:paramtypes", [Object, Object]),
|
|
307861
|
+
__metadata147("design:returntype", void 0)
|
|
307639
307862
|
], RecommendationController.prototype, "create", null);
|
|
307640
|
-
|
|
307641
|
-
(0,
|
|
307642
|
-
|
|
307643
|
-
|
|
307644
|
-
|
|
307645
|
-
|
|
307646
|
-
|
|
307647
|
-
|
|
307863
|
+
__decorate192([
|
|
307864
|
+
(0, import_common150.Patch)("recommendations/:id"),
|
|
307865
|
+
__param84(0, (0, import_common150.Param)("id")),
|
|
307866
|
+
__param84(1, (0, import_common150.Body)()),
|
|
307867
|
+
__param84(2, (0, import_common150.Request)()),
|
|
307868
|
+
__metadata147("design:type", Function),
|
|
307869
|
+
__metadata147("design:paramtypes", [String, Object, Object]),
|
|
307870
|
+
__metadata147("design:returntype", void 0)
|
|
307648
307871
|
], RecommendationController.prototype, "update", null);
|
|
307649
|
-
|
|
307650
|
-
(0,
|
|
307651
|
-
|
|
307652
|
-
|
|
307653
|
-
|
|
307654
|
-
|
|
307655
|
-
|
|
307872
|
+
__decorate192([
|
|
307873
|
+
(0, import_common150.Post)("recommendations/batch-move"),
|
|
307874
|
+
__param84(0, (0, import_common150.Body)()),
|
|
307875
|
+
__param84(1, (0, import_common150.Request)()),
|
|
307876
|
+
__metadata147("design:type", Function),
|
|
307877
|
+
__metadata147("design:paramtypes", [Object, Object]),
|
|
307878
|
+
__metadata147("design:returntype", void 0)
|
|
307656
307879
|
], RecommendationController.prototype, "batchMove", null);
|
|
307657
|
-
|
|
307658
|
-
(0,
|
|
307659
|
-
|
|
307660
|
-
|
|
307661
|
-
|
|
307662
|
-
|
|
307663
|
-
|
|
307880
|
+
__decorate192([
|
|
307881
|
+
(0, import_common150.Post)("recommendations/adopt"),
|
|
307882
|
+
__param84(0, (0, import_common150.Body)()),
|
|
307883
|
+
__param84(1, (0, import_common150.Request)()),
|
|
307884
|
+
__metadata147("design:type", Function),
|
|
307885
|
+
__metadata147("design:paramtypes", [Object, Object]),
|
|
307886
|
+
__metadata147("design:returntype", void 0)
|
|
307664
307887
|
], RecommendationController.prototype, "adopt", null);
|
|
307665
|
-
|
|
307666
|
-
(0,
|
|
307667
|
-
|
|
307668
|
-
|
|
307669
|
-
|
|
307670
|
-
|
|
307888
|
+
__decorate192([
|
|
307889
|
+
(0, import_common150.Delete)("recommendations/:id"),
|
|
307890
|
+
__param84(0, (0, import_common150.Param)("id")),
|
|
307891
|
+
__metadata147("design:type", Function),
|
|
307892
|
+
__metadata147("design:paramtypes", [String]),
|
|
307893
|
+
__metadata147("design:returntype", void 0)
|
|
307671
307894
|
], RecommendationController.prototype, "remove", null);
|
|
307672
|
-
|
|
307673
|
-
(0,
|
|
307674
|
-
|
|
307675
|
-
|
|
307676
|
-
|
|
307677
|
-
|
|
307895
|
+
__decorate192([
|
|
307896
|
+
(0, import_common150.Get)("job-cases/:id/recommend-prompt"),
|
|
307897
|
+
__param84(0, (0, import_common150.Param)("id")),
|
|
307898
|
+
__metadata147("design:type", Function),
|
|
307899
|
+
__metadata147("design:paramtypes", [String]),
|
|
307900
|
+
__metadata147("design:returntype", void 0)
|
|
307678
307901
|
], RecommendationController.prototype, "recommendPrompt", null);
|
|
307679
|
-
|
|
307680
|
-
(0,
|
|
307681
|
-
|
|
307682
|
-
|
|
307683
|
-
|
|
307684
|
-
|
|
307902
|
+
__decorate192([
|
|
307903
|
+
(0, import_common150.Get)("job-cases/:id/match-prompt"),
|
|
307904
|
+
__param84(0, (0, import_common150.Param)("id")),
|
|
307905
|
+
__metadata147("design:type", Function),
|
|
307906
|
+
__metadata147("design:paramtypes", [String]),
|
|
307907
|
+
__metadata147("design:returntype", void 0)
|
|
307685
307908
|
], RecommendationController.prototype, "matchPrompt", null);
|
|
307686
|
-
|
|
307687
|
-
(0,
|
|
307688
|
-
|
|
307689
|
-
|
|
307690
|
-
|
|
307691
|
-
|
|
307909
|
+
__decorate192([
|
|
307910
|
+
(0, import_common150.Post)("recommendations/invite-prompt"),
|
|
307911
|
+
__param84(0, (0, import_common150.Body)()),
|
|
307912
|
+
__metadata147("design:type", Function),
|
|
307913
|
+
__metadata147("design:paramtypes", [Object]),
|
|
307914
|
+
__metadata147("design:returntype", void 0)
|
|
307692
307915
|
], RecommendationController.prototype, "invitePrompt", null);
|
|
307693
|
-
|
|
307694
|
-
(0,
|
|
307695
|
-
|
|
307696
|
-
|
|
307697
|
-
|
|
307698
|
-
|
|
307916
|
+
__decorate192([
|
|
307917
|
+
(0, import_common150.Post)("recommendations/reply-check-prompt"),
|
|
307918
|
+
__param84(0, (0, import_common150.Body)()),
|
|
307919
|
+
__metadata147("design:type", Function),
|
|
307920
|
+
__metadata147("design:paramtypes", [Object]),
|
|
307921
|
+
__metadata147("design:returntype", void 0)
|
|
307699
307922
|
], RecommendationController.prototype, "replyCheckPrompt", null);
|
|
307700
|
-
RecommendationController =
|
|
307701
|
-
(0,
|
|
307702
|
-
|
|
307923
|
+
RecommendationController = __decorate192([
|
|
307924
|
+
(0, import_common150.Controller)(),
|
|
307925
|
+
__metadata147("design:paramtypes", [RecommendationService])
|
|
307703
307926
|
], RecommendationController);
|
|
307704
307927
|
|
|
307705
307928
|
// dist/.server-tsc/recommendation/recommendation.module.js
|
|
307706
|
-
var
|
|
307929
|
+
var __decorate193 = function(decorators, target, key, desc) {
|
|
307707
307930
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
307708
307931
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
307709
307932
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -307711,8 +307934,8 @@ var __decorate191 = function(decorators, target, key, desc) {
|
|
|
307711
307934
|
};
|
|
307712
307935
|
var RecommendationModule = class RecommendationModule2 {
|
|
307713
307936
|
};
|
|
307714
|
-
RecommendationModule =
|
|
307715
|
-
(0,
|
|
307937
|
+
RecommendationModule = __decorate193([
|
|
307938
|
+
(0, import_common151.Module)({
|
|
307716
307939
|
imports: [
|
|
307717
307940
|
import_typeorm168.TypeOrmModule.forFeature([
|
|
307718
307941
|
JobRecommendation,
|
|
@@ -307731,22 +307954,22 @@ RecommendationModule = __decorate191([
|
|
|
307731
307954
|
], RecommendationModule);
|
|
307732
307955
|
|
|
307733
307956
|
// dist/.server-tsc/market/market.module.js
|
|
307734
|
-
var
|
|
307957
|
+
var import_common154 = __toESM(require_common(), 1);
|
|
307735
307958
|
var import_typeorm171 = __toESM(require_typeorm2(), 1);
|
|
307736
307959
|
|
|
307737
307960
|
// dist/.server-tsc/market/market.service.js
|
|
307738
|
-
var
|
|
307961
|
+
var import_common152 = __toESM(require_common(), 1);
|
|
307739
307962
|
var import_typeorm169 = __toESM(require_typeorm2(), 1);
|
|
307740
|
-
var
|
|
307963
|
+
var __decorate194 = function(decorators, target, key, desc) {
|
|
307741
307964
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
307742
307965
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
307743
307966
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
307744
307967
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
307745
307968
|
};
|
|
307746
|
-
var
|
|
307969
|
+
var __metadata148 = function(k2, v) {
|
|
307747
307970
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
307748
307971
|
};
|
|
307749
|
-
var
|
|
307972
|
+
var __param85 = function(paramIndex, decorator) {
|
|
307750
307973
|
return function(target, key) {
|
|
307751
307974
|
decorator(target, key, paramIndex);
|
|
307752
307975
|
};
|
|
@@ -307942,13 +308165,13 @@ var MarketService = class MarketService2 {
|
|
|
307942
308165
|
};
|
|
307943
308166
|
}
|
|
307944
308167
|
};
|
|
307945
|
-
MarketService =
|
|
307946
|
-
(0,
|
|
307947
|
-
|
|
307948
|
-
|
|
307949
|
-
|
|
307950
|
-
|
|
307951
|
-
|
|
308168
|
+
MarketService = __decorate194([
|
|
308169
|
+
(0, import_common152.Injectable)(),
|
|
308170
|
+
__param85(0, (0, import_typeorm169.InjectRepository)(JobPosting)),
|
|
308171
|
+
__param85(1, (0, import_typeorm169.InjectRepository)(CompanyProfile)),
|
|
308172
|
+
__param85(2, (0, import_typeorm169.InjectRepository)(JobCasePosting)),
|
|
308173
|
+
__param85(3, (0, import_typeorm169.InjectRepository)(Customer)),
|
|
308174
|
+
__metadata148("design:paramtypes", [
|
|
307952
308175
|
Repository,
|
|
307953
308176
|
Repository,
|
|
307954
308177
|
Repository,
|
|
@@ -307957,17 +308180,17 @@ MarketService = __decorate192([
|
|
|
307957
308180
|
], MarketService);
|
|
307958
308181
|
|
|
307959
308182
|
// dist/.server-tsc/market/market.controller.js
|
|
307960
|
-
var
|
|
307961
|
-
var
|
|
308183
|
+
var import_common153 = __toESM(require_common(), 1);
|
|
308184
|
+
var __decorate195 = function(decorators, target, key, desc) {
|
|
307962
308185
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
307963
308186
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
307964
308187
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
307965
308188
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
307966
308189
|
};
|
|
307967
|
-
var
|
|
308190
|
+
var __metadata149 = function(k2, v) {
|
|
307968
308191
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
307969
308192
|
};
|
|
307970
|
-
var
|
|
308193
|
+
var __param86 = function(paramIndex, decorator) {
|
|
307971
308194
|
return function(target, key) {
|
|
307972
308195
|
decorator(target, key, paramIndex);
|
|
307973
308196
|
};
|
|
@@ -307998,41 +308221,41 @@ var MarketController = class MarketController2 {
|
|
|
307998
308221
|
return this.service.companyDetail(parseInt(id, 10));
|
|
307999
308222
|
}
|
|
308000
308223
|
};
|
|
308001
|
-
|
|
308002
|
-
(0,
|
|
308003
|
-
|
|
308004
|
-
|
|
308005
|
-
|
|
308006
|
-
|
|
308007
|
-
|
|
308008
|
-
|
|
308009
|
-
|
|
308010
|
-
|
|
308224
|
+
__decorate195([
|
|
308225
|
+
(0, import_common153.Get)("jobs"),
|
|
308226
|
+
__param86(0, (0, import_common153.Query)("q")),
|
|
308227
|
+
__param86(1, (0, import_common153.Query)("platforms")),
|
|
308228
|
+
__param86(2, (0, import_common153.Query)("touched")),
|
|
308229
|
+
__param86(3, (0, import_common153.Query)("limit")),
|
|
308230
|
+
__param86(4, (0, import_common153.Query)("offset")),
|
|
308231
|
+
__metadata149("design:type", Function),
|
|
308232
|
+
__metadata149("design:paramtypes", [String, String, String, String, String]),
|
|
308233
|
+
__metadata149("design:returntype", void 0)
|
|
308011
308234
|
], MarketController.prototype, "jobs", null);
|
|
308012
|
-
|
|
308013
|
-
(0,
|
|
308014
|
-
|
|
308015
|
-
|
|
308016
|
-
|
|
308017
|
-
|
|
308018
|
-
|
|
308019
|
-
|
|
308020
|
-
|
|
308235
|
+
__decorate195([
|
|
308236
|
+
(0, import_common153.Get)("companies"),
|
|
308237
|
+
__param86(0, (0, import_common153.Query)("q")),
|
|
308238
|
+
__param86(1, (0, import_common153.Query)("touched")),
|
|
308239
|
+
__param86(2, (0, import_common153.Query)("limit")),
|
|
308240
|
+
__param86(3, (0, import_common153.Query)("offset")),
|
|
308241
|
+
__metadata149("design:type", Function),
|
|
308242
|
+
__metadata149("design:paramtypes", [String, String, String, String]),
|
|
308243
|
+
__metadata149("design:returntype", void 0)
|
|
308021
308244
|
], MarketController.prototype, "companies", null);
|
|
308022
|
-
|
|
308023
|
-
(0,
|
|
308024
|
-
|
|
308025
|
-
|
|
308026
|
-
|
|
308027
|
-
|
|
308245
|
+
__decorate195([
|
|
308246
|
+
(0, import_common153.Get)("companies/:id"),
|
|
308247
|
+
__param86(0, (0, import_common153.Param)("id")),
|
|
308248
|
+
__metadata149("design:type", Function),
|
|
308249
|
+
__metadata149("design:paramtypes", [String]),
|
|
308250
|
+
__metadata149("design:returntype", void 0)
|
|
308028
308251
|
], MarketController.prototype, "companyDetail", null);
|
|
308029
|
-
MarketController =
|
|
308030
|
-
(0,
|
|
308031
|
-
|
|
308252
|
+
MarketController = __decorate195([
|
|
308253
|
+
(0, import_common153.Controller)("market"),
|
|
308254
|
+
__metadata149("design:paramtypes", [MarketService])
|
|
308032
308255
|
], MarketController);
|
|
308033
308256
|
|
|
308034
308257
|
// dist/.server-tsc/market/market.module.js
|
|
308035
|
-
var
|
|
308258
|
+
var __decorate196 = function(decorators, target, key, desc) {
|
|
308036
308259
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
308037
308260
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
308038
308261
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -308040,8 +308263,8 @@ var __decorate194 = function(decorators, target, key, desc) {
|
|
|
308040
308263
|
};
|
|
308041
308264
|
var MarketModule = class MarketModule2 {
|
|
308042
308265
|
};
|
|
308043
|
-
MarketModule =
|
|
308044
|
-
(0,
|
|
308266
|
+
MarketModule = __decorate196([
|
|
308267
|
+
(0, import_common154.Module)({
|
|
308045
308268
|
imports: [import_typeorm171.TypeOrmModule.forFeature([JobPosting, CompanyProfile, JobCasePosting, Customer])],
|
|
308046
308269
|
controllers: [MarketController],
|
|
308047
308270
|
providers: [MarketService]
|
|
@@ -308049,11 +308272,11 @@ MarketModule = __decorate194([
|
|
|
308049
308272
|
], MarketModule);
|
|
308050
308273
|
|
|
308051
308274
|
// dist/.server-tsc/talent-job-evaluation/talent-job-evaluation.module.js
|
|
308052
|
-
var
|
|
308275
|
+
var import_common157 = __toESM(require_common(), 1);
|
|
308053
308276
|
var import_typeorm174 = __toESM(require_typeorm2(), 1);
|
|
308054
308277
|
|
|
308055
308278
|
// dist/.server-tsc/talent-job-evaluation/talent-job-evaluation.service.js
|
|
308056
|
-
var
|
|
308279
|
+
var import_common155 = __toESM(require_common(), 1);
|
|
308057
308280
|
var import_typeorm172 = __toESM(require_typeorm2(), 1);
|
|
308058
308281
|
|
|
308059
308282
|
// dist/.server-tsc/talent-job-evaluation/talent-job-evaluation.prompts.js
|
|
@@ -308091,16 +308314,16 @@ ${d.existingEvaluations}
|
|
|
308091
308314
|
}
|
|
308092
308315
|
|
|
308093
308316
|
// dist/.server-tsc/talent-job-evaluation/talent-job-evaluation.service.js
|
|
308094
|
-
var
|
|
308317
|
+
var __decorate197 = function(decorators, target, key, desc) {
|
|
308095
308318
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
308096
308319
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
308097
308320
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
308098
308321
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
308099
308322
|
};
|
|
308100
|
-
var
|
|
308323
|
+
var __metadata150 = function(k2, v) {
|
|
308101
308324
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
308102
308325
|
};
|
|
308103
|
-
var
|
|
308326
|
+
var __param87 = function(paramIndex, decorator) {
|
|
308104
308327
|
return function(target, key) {
|
|
308105
308328
|
decorator(target, key, paramIndex);
|
|
308106
308329
|
};
|
|
@@ -308116,14 +308339,14 @@ var TalentJobEvaluationService = class TalentJobEvaluationService2 {
|
|
|
308116
308339
|
}
|
|
308117
308340
|
async create(dto, by = "web") {
|
|
308118
308341
|
if (!dto.portraitId || !dto.jobCaseId || !dto.content?.trim()) {
|
|
308119
|
-
throw new
|
|
308342
|
+
throw new import_common155.BadRequestException("portraitId / jobCaseId / content required");
|
|
308120
308343
|
}
|
|
308121
308344
|
const portrait = await this.portraitRepo.findOne({ where: { id: dto.portraitId } });
|
|
308122
308345
|
if (!portrait)
|
|
308123
|
-
throw new
|
|
308346
|
+
throw new import_common155.NotFoundException(`Portrait ${dto.portraitId} not found`);
|
|
308124
308347
|
const job = await this.jobRepo.findOne({ where: { id: dto.jobCaseId } });
|
|
308125
308348
|
if (!job)
|
|
308126
|
-
throw new
|
|
308349
|
+
throw new import_common155.NotFoundException(`JobCase ${dto.jobCaseId} not found`);
|
|
308127
308350
|
const row = this.repo.create({
|
|
308128
308351
|
portraitId: dto.portraitId,
|
|
308129
308352
|
jobCaseId: dto.jobCaseId,
|
|
@@ -308151,10 +308374,10 @@ var TalentJobEvaluationService = class TalentJobEvaluationService2 {
|
|
|
308151
308374
|
async buildEvaluatePrompt(portraitId, jobCaseId) {
|
|
308152
308375
|
const portrait = await this.portraitRepo.findOne({ where: { id: portraitId } });
|
|
308153
308376
|
if (!portrait)
|
|
308154
|
-
throw new
|
|
308377
|
+
throw new import_common155.NotFoundException(`Portrait ${portraitId} not found`);
|
|
308155
308378
|
const job = await this.jobRepo.findOne({ where: { id: jobCaseId } });
|
|
308156
308379
|
if (!job)
|
|
308157
|
-
throw new
|
|
308380
|
+
throw new import_common155.NotFoundException(`JobCase ${jobCaseId} not found`);
|
|
308158
308381
|
const existing = await this.listByPortrait(portraitId, jobCaseId);
|
|
308159
308382
|
const data = {
|
|
308160
308383
|
portraitId,
|
|
@@ -308173,12 +308396,12 @@ ${e.content.slice(0, 500)}`).join("\n") : "(\u8BE5\u4EBA\u624D\xD7\u8BE5\u804C\u
|
|
|
308173
308396
|
return { prompt: buildEvaluatePrompt(data) };
|
|
308174
308397
|
}
|
|
308175
308398
|
};
|
|
308176
|
-
TalentJobEvaluationService =
|
|
308177
|
-
(0,
|
|
308178
|
-
|
|
308179
|
-
|
|
308180
|
-
|
|
308181
|
-
|
|
308399
|
+
TalentJobEvaluationService = __decorate197([
|
|
308400
|
+
(0, import_common155.Injectable)(),
|
|
308401
|
+
__param87(0, (0, import_typeorm172.InjectRepository)(TalentJobEvaluation)),
|
|
308402
|
+
__param87(1, (0, import_typeorm172.InjectRepository)(TalentPortrait)),
|
|
308403
|
+
__param87(2, (0, import_typeorm172.InjectRepository)(JobCase)),
|
|
308404
|
+
__metadata150("design:paramtypes", [
|
|
308182
308405
|
Repository,
|
|
308183
308406
|
Repository,
|
|
308184
308407
|
Repository
|
|
@@ -308186,17 +308409,17 @@ TalentJobEvaluationService = __decorate195([
|
|
|
308186
308409
|
], TalentJobEvaluationService);
|
|
308187
308410
|
|
|
308188
308411
|
// dist/.server-tsc/talent-job-evaluation/talent-job-evaluation.controller.js
|
|
308189
|
-
var
|
|
308190
|
-
var
|
|
308412
|
+
var import_common156 = __toESM(require_common(), 1);
|
|
308413
|
+
var __decorate198 = function(decorators, target, key, desc) {
|
|
308191
308414
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
308192
308415
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
308193
308416
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
308194
308417
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
308195
308418
|
};
|
|
308196
|
-
var
|
|
308419
|
+
var __metadata151 = function(k2, v) {
|
|
308197
308420
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
308198
308421
|
};
|
|
308199
|
-
var
|
|
308422
|
+
var __param88 = function(paramIndex, decorator) {
|
|
308200
308423
|
return function(target, key) {
|
|
308201
308424
|
decorator(target, key, paramIndex);
|
|
308202
308425
|
};
|
|
@@ -308219,37 +308442,37 @@ var TalentJobEvaluationController = class TalentJobEvaluationController2 {
|
|
|
308219
308442
|
return this.service.buildEvaluatePrompt(portraitId, Number(jobCaseId));
|
|
308220
308443
|
}
|
|
308221
308444
|
};
|
|
308222
|
-
|
|
308223
|
-
(0,
|
|
308224
|
-
|
|
308225
|
-
|
|
308226
|
-
|
|
308227
|
-
|
|
308228
|
-
|
|
308445
|
+
__decorate198([
|
|
308446
|
+
(0, import_common156.Get)("talent-portraits/:id/evaluations"),
|
|
308447
|
+
__param88(0, (0, import_common156.Param)("id")),
|
|
308448
|
+
__param88(1, (0, import_common156.Query)("jobCaseId")),
|
|
308449
|
+
__metadata151("design:type", Function),
|
|
308450
|
+
__metadata151("design:paramtypes", [String, String]),
|
|
308451
|
+
__metadata151("design:returntype", void 0)
|
|
308229
308452
|
], TalentJobEvaluationController.prototype, "listByPortrait", null);
|
|
308230
|
-
|
|
308231
|
-
(0,
|
|
308232
|
-
|
|
308233
|
-
|
|
308234
|
-
|
|
308235
|
-
|
|
308236
|
-
|
|
308453
|
+
__decorate198([
|
|
308454
|
+
(0, import_common156.Post)("talent-job-evaluations"),
|
|
308455
|
+
__param88(0, (0, import_common156.Body)()),
|
|
308456
|
+
__param88(1, (0, import_common156.Request)()),
|
|
308457
|
+
__metadata151("design:type", Function),
|
|
308458
|
+
__metadata151("design:paramtypes", [Object, Object]),
|
|
308459
|
+
__metadata151("design:returntype", void 0)
|
|
308237
308460
|
], TalentJobEvaluationController.prototype, "create", null);
|
|
308238
|
-
|
|
308239
|
-
(0,
|
|
308240
|
-
|
|
308241
|
-
|
|
308242
|
-
|
|
308243
|
-
|
|
308244
|
-
|
|
308461
|
+
__decorate198([
|
|
308462
|
+
(0, import_common156.Get)("talent-job-evaluations/evaluate-prompt"),
|
|
308463
|
+
__param88(0, (0, import_common156.Query)("portraitId")),
|
|
308464
|
+
__param88(1, (0, import_common156.Query)("jobCaseId")),
|
|
308465
|
+
__metadata151("design:type", Function),
|
|
308466
|
+
__metadata151("design:paramtypes", [String, String]),
|
|
308467
|
+
__metadata151("design:returntype", void 0)
|
|
308245
308468
|
], TalentJobEvaluationController.prototype, "evaluatePrompt", null);
|
|
308246
|
-
TalentJobEvaluationController =
|
|
308247
|
-
(0,
|
|
308248
|
-
|
|
308469
|
+
TalentJobEvaluationController = __decorate198([
|
|
308470
|
+
(0, import_common156.Controller)(),
|
|
308471
|
+
__metadata151("design:paramtypes", [TalentJobEvaluationService])
|
|
308249
308472
|
], TalentJobEvaluationController);
|
|
308250
308473
|
|
|
308251
308474
|
// dist/.server-tsc/talent-job-evaluation/talent-job-evaluation.module.js
|
|
308252
|
-
var
|
|
308475
|
+
var __decorate199 = function(decorators, target, key, desc) {
|
|
308253
308476
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
308254
308477
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
308255
308478
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -308257,8 +308480,8 @@ var __decorate197 = function(decorators, target, key, desc) {
|
|
|
308257
308480
|
};
|
|
308258
308481
|
var TalentJobEvaluationModule = class TalentJobEvaluationModule2 {
|
|
308259
308482
|
};
|
|
308260
|
-
TalentJobEvaluationModule =
|
|
308261
|
-
(0,
|
|
308483
|
+
TalentJobEvaluationModule = __decorate199([
|
|
308484
|
+
(0, import_common157.Module)({
|
|
308262
308485
|
imports: [import_typeorm174.TypeOrmModule.forFeature([TalentJobEvaluation, TalentPortrait, JobCase])],
|
|
308263
308486
|
controllers: [TalentJobEvaluationController],
|
|
308264
308487
|
providers: [TalentJobEvaluationService],
|
|
@@ -308267,20 +308490,20 @@ TalentJobEvaluationModule = __decorate197([
|
|
|
308267
308490
|
], TalentJobEvaluationModule);
|
|
308268
308491
|
|
|
308269
308492
|
// dist/.server-tsc/perf/perf.module.js
|
|
308270
|
-
var
|
|
308493
|
+
var import_common160 = __toESM(require_common(), 1);
|
|
308271
308494
|
|
|
308272
308495
|
// dist/.server-tsc/perf/perf.service.js
|
|
308273
|
-
var
|
|
308496
|
+
var import_common158 = __toESM(require_common(), 1);
|
|
308274
308497
|
var import_config10 = __toESM(require_config2(), 1);
|
|
308275
308498
|
import { readFileSync as readFileSync8 } from "node:fs";
|
|
308276
308499
|
import * as path13 from "node:path";
|
|
308277
|
-
var
|
|
308500
|
+
var __decorate200 = function(decorators, target, key, desc) {
|
|
308278
308501
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
308279
308502
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
308280
308503
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
308281
308504
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
308282
308505
|
};
|
|
308283
|
-
var
|
|
308506
|
+
var __metadata152 = function(k2, v) {
|
|
308284
308507
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
308285
308508
|
};
|
|
308286
308509
|
var PerfReportService_1;
|
|
@@ -308294,7 +308517,7 @@ var DETAIL_VAL_MAX = 600;
|
|
|
308294
308517
|
var PerfReportService = PerfReportService_1 = class PerfReportService2 {
|
|
308295
308518
|
config;
|
|
308296
308519
|
auth;
|
|
308297
|
-
logger = new
|
|
308520
|
+
logger = new import_common158.Logger(PerfReportService_1.name);
|
|
308298
308521
|
buffer = [];
|
|
308299
308522
|
flushing = false;
|
|
308300
308523
|
timer = null;
|
|
@@ -308384,23 +308607,23 @@ var PerfReportService = PerfReportService_1 = class PerfReportService2 {
|
|
|
308384
308607
|
clearInterval(this.timer);
|
|
308385
308608
|
}
|
|
308386
308609
|
};
|
|
308387
|
-
PerfReportService = PerfReportService_1 =
|
|
308388
|
-
(0,
|
|
308389
|
-
|
|
308610
|
+
PerfReportService = PerfReportService_1 = __decorate200([
|
|
308611
|
+
(0, import_common158.Injectable)(),
|
|
308612
|
+
__metadata152("design:paramtypes", [
|
|
308390
308613
|
import_config10.ConfigService,
|
|
308391
308614
|
AuthService
|
|
308392
308615
|
])
|
|
308393
308616
|
], PerfReportService);
|
|
308394
308617
|
|
|
308395
308618
|
// dist/.server-tsc/perf/perf.middleware.js
|
|
308396
|
-
var
|
|
308397
|
-
var
|
|
308619
|
+
var import_common159 = __toESM(require_common(), 1);
|
|
308620
|
+
var __decorate201 = function(decorators, target, key, desc) {
|
|
308398
308621
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
308399
308622
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
308400
308623
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
308401
308624
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
308402
308625
|
};
|
|
308403
|
-
var
|
|
308626
|
+
var __metadata153 = function(k2, v) {
|
|
308404
308627
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
308405
308628
|
};
|
|
308406
308629
|
var SKIP_PREFIXES2 = ["/health", "/ws"];
|
|
@@ -308480,13 +308703,13 @@ var PerfMiddleware = class PerfMiddleware2 {
|
|
|
308480
308703
|
next();
|
|
308481
308704
|
}
|
|
308482
308705
|
};
|
|
308483
|
-
PerfMiddleware =
|
|
308484
|
-
(0,
|
|
308485
|
-
|
|
308706
|
+
PerfMiddleware = __decorate201([
|
|
308707
|
+
(0, import_common159.Injectable)(),
|
|
308708
|
+
__metadata153("design:paramtypes", [PerfReportService])
|
|
308486
308709
|
], PerfMiddleware);
|
|
308487
308710
|
|
|
308488
308711
|
// dist/.server-tsc/perf/perf.module.js
|
|
308489
|
-
var
|
|
308712
|
+
var __decorate202 = function(decorators, target, key, desc) {
|
|
308490
308713
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
308491
308714
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
308492
308715
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -308494,8 +308717,8 @@ var __decorate200 = function(decorators, target, key, desc) {
|
|
|
308494
308717
|
};
|
|
308495
308718
|
var PerfModule = class PerfModule2 {
|
|
308496
308719
|
};
|
|
308497
|
-
PerfModule =
|
|
308498
|
-
(0,
|
|
308720
|
+
PerfModule = __decorate202([
|
|
308721
|
+
(0, import_common160.Module)({
|
|
308499
308722
|
imports: [AuthModule],
|
|
308500
308723
|
providers: [PerfReportService, PerfMiddleware],
|
|
308501
308724
|
exports: [PerfReportService]
|
|
@@ -308503,93 +308726,95 @@ PerfModule = __decorate200([
|
|
|
308503
308726
|
], PerfModule);
|
|
308504
308727
|
|
|
308505
308728
|
// dist/.server-tsc/app.module.js
|
|
308506
|
-
var
|
|
308729
|
+
var __decorate203 = function(decorators, target, key, desc) {
|
|
308507
308730
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
308508
308731
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
308509
308732
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
308510
308733
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
308511
308734
|
};
|
|
308512
|
-
var
|
|
308735
|
+
var __metadata154 = function(k2, v) {
|
|
308513
308736
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k2, v);
|
|
308514
308737
|
};
|
|
308515
308738
|
var WEB_DIST2 = join16(__dirname, "..", "..", "web", "dist");
|
|
308516
308739
|
var AUTH_MIDDLEWARE_EXCLUDES = [
|
|
308517
|
-
{ path: "/", method:
|
|
308518
|
-
{ path: "entity", method:
|
|
308519
|
-
{ path: "talents", method:
|
|
308520
|
-
{ path: "jobs", method:
|
|
308521
|
-
{ path: "companies", method:
|
|
308522
|
-
{ path: "parselog", method:
|
|
308523
|
-
{ path: "recordings", method:
|
|
308524
|
-
{ path: "company/admin", method:
|
|
308525
|
-
{ path: "admin/data", method:
|
|
308526
|
-
{ path: "team/insights", method:
|
|
308527
|
-
{ path: "_next/(.*)", method:
|
|
308528
|
-
{ path: "(.*).txt", method:
|
|
308529
|
-
{ path: "health", method:
|
|
308530
|
-
{ path: "health/db", method:
|
|
308531
|
-
{ path: "auth/device-code", method:
|
|
308532
|
-
{ path: "auth/login", method:
|
|
308533
|
-
{ path: "auth/approve", method:
|
|
308534
|
-
{ path: "auth/token", method:
|
|
308535
|
-
{ path: "auth/email/send-code", method:
|
|
308536
|
-
{ path: "auth/email/verify", method:
|
|
308537
|
-
{ path: "auth/verify-info", method:
|
|
308538
|
-
{ path: "auth/verify", method:
|
|
308539
|
-
{ path: "auth/saas-token", method:
|
|
308540
|
-
{ path: "auth/session", method:
|
|
308541
|
-
{ path: "system/(.*)", method:
|
|
308542
|
-
{ path: "extension/version", method:
|
|
308543
|
-
{ path: "extensions", method:
|
|
308544
|
-
{ path: "extensions/(.*)", method:
|
|
308545
|
-
{ path: "sites", method:
|
|
308546
|
-
{ path: "sites/(.*)", method:
|
|
308547
|
-
{ path: "entities", method:
|
|
308548
|
-
{ path: "entities/(.*)", method:
|
|
308549
|
-
{ path: "parse-log", method:
|
|
308550
|
-
{ path: "parse-log/(.*)", method:
|
|
308551
|
-
{ path: "parse/(.*)", method:
|
|
308552
|
-
{ path: "extract/(.*)", method:
|
|
308553
|
-
{ path: "ingest", method:
|
|
308554
|
-
{ path: "ingest/(.*)", method:
|
|
308555
|
-
{ path: "adapters", method:
|
|
308556
|
-
{ path: "adapters/(.*)", method:
|
|
308557
|
-
{ path: "recordings", method:
|
|
308558
|
-
{ path: "recordings/(.*)", method:
|
|
308559
|
-
{ path: "api/recordings", method:
|
|
308560
|
-
{ path: "api/recordings/(.*)", method:
|
|
308561
|
-
{ path: "
|
|
308562
|
-
{ path: "
|
|
308563
|
-
{ path: "
|
|
308564
|
-
{ path: "
|
|
308565
|
-
{ path: "
|
|
308566
|
-
{ path: "
|
|
308567
|
-
{ path: "job-
|
|
308568
|
-
{ path: "job-
|
|
308569
|
-
{ path: "
|
|
308570
|
-
{ path: "
|
|
308571
|
-
{ path: "
|
|
308572
|
-
{ path: "
|
|
308573
|
-
{ path: "job-
|
|
308574
|
-
{ path: "
|
|
308575
|
-
{ path: "
|
|
308576
|
-
{ path: "recommendations/
|
|
308577
|
-
{ path: "
|
|
308578
|
-
{ path: "
|
|
308579
|
-
{ path: "
|
|
308580
|
-
{ path: "
|
|
308581
|
-
{ path: "
|
|
308582
|
-
{ path: "talent-
|
|
308583
|
-
{ path: "
|
|
308584
|
-
{ path: "
|
|
308585
|
-
{ path: "
|
|
308586
|
-
{ path: "
|
|
308587
|
-
{ path: "
|
|
308588
|
-
{ path: "
|
|
308589
|
-
{ path: "
|
|
308590
|
-
{ path: "
|
|
308591
|
-
{ path: "
|
|
308592
|
-
{ path: "
|
|
308740
|
+
{ path: "/", method: import_common161.RequestMethod.GET },
|
|
308741
|
+
{ path: "entity", method: import_common161.RequestMethod.GET },
|
|
308742
|
+
{ path: "talents", method: import_common161.RequestMethod.GET },
|
|
308743
|
+
{ path: "jobs", method: import_common161.RequestMethod.GET },
|
|
308744
|
+
{ path: "companies", method: import_common161.RequestMethod.GET },
|
|
308745
|
+
{ path: "parselog", method: import_common161.RequestMethod.GET },
|
|
308746
|
+
{ path: "recordings", method: import_common161.RequestMethod.GET },
|
|
308747
|
+
{ path: "company/admin", method: import_common161.RequestMethod.GET },
|
|
308748
|
+
{ path: "admin/data", method: import_common161.RequestMethod.GET },
|
|
308749
|
+
{ path: "team/insights", method: import_common161.RequestMethod.GET },
|
|
308750
|
+
{ path: "_next/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308751
|
+
{ path: "(.*).txt", method: import_common161.RequestMethod.GET },
|
|
308752
|
+
{ path: "health", method: import_common161.RequestMethod.GET },
|
|
308753
|
+
{ path: "health/db", method: import_common161.RequestMethod.GET },
|
|
308754
|
+
{ path: "auth/device-code", method: import_common161.RequestMethod.ALL },
|
|
308755
|
+
{ path: "auth/login", method: import_common161.RequestMethod.ALL },
|
|
308756
|
+
{ path: "auth/approve", method: import_common161.RequestMethod.ALL },
|
|
308757
|
+
{ path: "auth/token", method: import_common161.RequestMethod.ALL },
|
|
308758
|
+
{ path: "auth/email/send-code", method: import_common161.RequestMethod.ALL },
|
|
308759
|
+
{ path: "auth/email/verify", method: import_common161.RequestMethod.ALL },
|
|
308760
|
+
{ path: "auth/verify-info", method: import_common161.RequestMethod.ALL },
|
|
308761
|
+
{ path: "auth/verify", method: import_common161.RequestMethod.GET },
|
|
308762
|
+
{ path: "auth/saas-token", method: import_common161.RequestMethod.POST },
|
|
308763
|
+
{ path: "auth/session", method: import_common161.RequestMethod.GET },
|
|
308764
|
+
{ path: "system/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308765
|
+
{ path: "extension/version", method: import_common161.RequestMethod.GET },
|
|
308766
|
+
{ path: "extensions", method: import_common161.RequestMethod.ALL },
|
|
308767
|
+
{ path: "extensions/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308768
|
+
{ path: "sites", method: import_common161.RequestMethod.ALL },
|
|
308769
|
+
{ path: "sites/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308770
|
+
{ path: "entities", method: import_common161.RequestMethod.ALL },
|
|
308771
|
+
{ path: "entities/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308772
|
+
{ path: "parse-log", method: import_common161.RequestMethod.ALL },
|
|
308773
|
+
{ path: "parse-log/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308774
|
+
{ path: "parse/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308775
|
+
{ path: "extract/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308776
|
+
{ path: "ingest", method: import_common161.RequestMethod.ALL },
|
|
308777
|
+
{ path: "ingest/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308778
|
+
{ path: "adapters", method: import_common161.RequestMethod.ALL },
|
|
308779
|
+
{ path: "adapters/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308780
|
+
{ path: "recordings", method: import_common161.RequestMethod.ALL },
|
|
308781
|
+
{ path: "recordings/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308782
|
+
{ path: "api/recordings", method: import_common161.RequestMethod.ALL },
|
|
308783
|
+
{ path: "api/recordings/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308784
|
+
{ path: "api/recordings-view", method: import_common161.RequestMethod.ALL },
|
|
308785
|
+
{ path: "api/recordings-view/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308786
|
+
{ path: "logs", method: import_common161.RequestMethod.ALL },
|
|
308787
|
+
{ path: "logs/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308788
|
+
{ path: "doctor", method: import_common161.RequestMethod.ALL },
|
|
308789
|
+
{ path: "doctor/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308790
|
+
{ path: "job-cases", method: import_common161.RequestMethod.ALL },
|
|
308791
|
+
{ path: "job-cases/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308792
|
+
{ path: "job-case-postings", method: import_common161.RequestMethod.ALL },
|
|
308793
|
+
{ path: "job-case-postings/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308794
|
+
{ path: "market", method: import_common161.RequestMethod.ALL },
|
|
308795
|
+
{ path: "market/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308796
|
+
{ path: "job-applications", method: import_common161.RequestMethod.ALL },
|
|
308797
|
+
{ path: "job-applications/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308798
|
+
{ path: "job-postings/sources", method: import_common161.RequestMethod.GET },
|
|
308799
|
+
{ path: "recommendations/summary", method: import_common161.RequestMethod.GET },
|
|
308800
|
+
{ path: "recommendations/by-portrait", method: import_common161.RequestMethod.GET },
|
|
308801
|
+
{ path: "recommendations/by-portrait/(.*)", method: import_common161.RequestMethod.GET },
|
|
308802
|
+
{ path: "parsed-resumes", method: import_common161.RequestMethod.GET },
|
|
308803
|
+
{ path: "parsed-resumes/(.*)", method: import_common161.RequestMethod.GET },
|
|
308804
|
+
{ path: "talent-portraits", method: import_common161.RequestMethod.GET },
|
|
308805
|
+
{ path: "talent-portraits/(.*)", method: import_common161.RequestMethod.GET },
|
|
308806
|
+
{ path: "resume-field-changes", method: import_common161.RequestMethod.GET },
|
|
308807
|
+
{ path: "talent-job-evaluations/evaluate-prompt", method: import_common161.RequestMethod.GET },
|
|
308808
|
+
{ path: "matching/jobs/(.*)/talents", method: import_common161.RequestMethod.GET },
|
|
308809
|
+
{ path: "matching/portraits/(.*)/jobs", method: import_common161.RequestMethod.GET },
|
|
308810
|
+
{ path: "customers", method: import_common161.RequestMethod.ALL },
|
|
308811
|
+
{ path: "customers/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308812
|
+
{ path: "preferences", method: import_common161.RequestMethod.ALL },
|
|
308813
|
+
{ path: "preferences/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308814
|
+
{ path: "governance", method: import_common161.RequestMethod.ALL },
|
|
308815
|
+
{ path: "governance/(.*)", method: import_common161.RequestMethod.ALL },
|
|
308816
|
+
{ path: "resource-usage", method: import_common161.RequestMethod.ALL },
|
|
308817
|
+
{ path: "resource-usage/(.*)", method: import_common161.RequestMethod.ALL }
|
|
308593
308818
|
];
|
|
308594
308819
|
var AppModule = class AppModule2 {
|
|
308595
308820
|
tenant;
|
|
@@ -308606,8 +308831,8 @@ var AppModule = class AppModule2 {
|
|
|
308606
308831
|
consumer.apply(AuthMiddleware).exclude(...AUTH_MIDDLEWARE_EXCLUDES).forRoutes("*");
|
|
308607
308832
|
}
|
|
308608
308833
|
};
|
|
308609
|
-
AppModule =
|
|
308610
|
-
(0,
|
|
308834
|
+
AppModule = __decorate203([
|
|
308835
|
+
(0, import_common161.Module)({
|
|
308611
308836
|
imports: [
|
|
308612
308837
|
import_config11.ConfigModule.forRoot({ isGlobal: true }),
|
|
308613
308838
|
import_serve_static.ServeStaticModule.forRoot({
|
|
@@ -308641,6 +308866,8 @@ AppModule = __decorate201([
|
|
|
308641
308866
|
"/adapters/(.*)",
|
|
308642
308867
|
"/api/recordings",
|
|
308643
308868
|
"/api/recordings/(.*)",
|
|
308869
|
+
"/api/recordings-view",
|
|
308870
|
+
"/api/recordings-view/(.*)",
|
|
308644
308871
|
"/search/(.*)",
|
|
308645
308872
|
"/query/(.*)",
|
|
308646
308873
|
"/job-cases",
|
|
@@ -308685,6 +308912,7 @@ AppModule = __decorate201([
|
|
|
308685
308912
|
QueryModule,
|
|
308686
308913
|
SearchModule,
|
|
308687
308914
|
RecordingModule,
|
|
308915
|
+
RecordingsViewModule,
|
|
308688
308916
|
ExtensionModule,
|
|
308689
308917
|
AuthModule,
|
|
308690
308918
|
SystemModule,
|
|
@@ -308716,7 +308944,7 @@ AppModule = __decorate201([
|
|
|
308716
308944
|
],
|
|
308717
308945
|
controllers: [HealthController]
|
|
308718
308946
|
}),
|
|
308719
|
-
|
|
308947
|
+
__metadata154("design:paramtypes", [TenantService])
|
|
308720
308948
|
], AppModule);
|
|
308721
308949
|
|
|
308722
308950
|
// dist/.server-tsc/main.js
|
|
@@ -308733,7 +308961,7 @@ async function bootstrap() {
|
|
|
308733
308961
|
const app = await import_core201.NestFactory.create(AppModule);
|
|
308734
308962
|
app.useBodyParser("json", { limit: "32mb" });
|
|
308735
308963
|
app.useWebSocketAdapter(new import_platform_ws.WsAdapter(app));
|
|
308736
|
-
app.useGlobalPipes(new
|
|
308964
|
+
app.useGlobalPipes(new import_common163.ValidationPipe({ whitelist: true, transform: true }));
|
|
308737
308965
|
app.enableCors({ origin: "*" });
|
|
308738
308966
|
app.enableShutdownHooks();
|
|
308739
308967
|
const port = process.env.PORT || 34571;
|