phx-node 1.0.113 → 1.0.115
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/index.d.ts +3 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/module/grpc-client/grpc-client-system-v5.service.d.ts +16 -0
- package/dist/module/grpc-client/grpc-client-system-v5.service.js +74 -0
- package/dist/module/grpc-client/grpc-client-system-v5.service.js.map +1 -0
- package/dist/module/grpc-client/grpc-client-v5.service.d.ts +14 -0
- package/dist/module/grpc-client/grpc-client-v5.service.js +71 -0
- package/dist/module/grpc-client/grpc-client-v5.service.js.map +1 -0
- package/dist/module/grpc-client/types.d.ts +3 -0
- package/dist/module/grpc-client/types.js +1 -0
- package/dist/module/grpc-client/types.js.map +1 -1
- package/dist/phx.module.d.ts +3 -1
- package/dist/phx.module.js +8 -0
- package/dist/phx.module.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -51,4 +51,6 @@ import { PHXEmailRenderToHTML, PHXAllowTags } from "./lib/utils/email-render-to-
|
|
|
51
51
|
import { PHXAllowExplanation } from "./module/explanation/check-allow-explanation.service";
|
|
52
52
|
import { PHXSettingSiteService } from "./module/setting-site/setting-site.service";
|
|
53
53
|
import { PHXPushNotificationService } from "./module/inapp-noti/push-notification.service";
|
|
54
|
-
|
|
54
|
+
import { PHXGrpcClientServiceV5 } from "./module/grpc-client/grpc-client-v5.service";
|
|
55
|
+
import { PHXGrpcClientSystemServiceV5 } from "./module/grpc-client/grpc-client-system-v5.service";
|
|
56
|
+
export { PHXSettingSiteService, PHXNestModule, GetSchoolYearService, GetListActiveSchoolYearService, GetActiveSchoolYearAndNextYearService, GetListActiveSchoolYearAndNextYearService, GetListNextSchoolYearService, PHXGraphqlService, PHXGraphqlV2Service, ApiService, PHXStudentInfoService, PHXStudentInfoServiceV3, PHXStudentInfoServiceSystemV3, PHXDateHelpers, PHXGrpcClientService, PHXGrpcClientSystemService, GetActiveSchoolYearAndNextYearServiceV3, GetActiveSchoolYearAndNextYearServiceSystemV3, GetListActiveSchoolYearAndNextYearServiceV3, GetListActiveSchoolYearAndNextYearServiceSystemV3, GetListActiveSchoolYearServiceV3, GetListActiveSchoolYearServiceSystemV3, GetListNextSchoolYearServiceV3, GetListNextSchoolYearServiceSystemV3, GetSchoolYearServiceV3, GetSchoolYearServiceSystemV3, PHXDevToolDataService, PHXCronjobManagerService, PHXCloneCronjob, PHXConfigByHostNameService, runWithSentryCheckIn, PHXHostnameService, PHXEnvPublicService, PHXContextStorageService, PHXSettingFormulaPromotion, PHXSettingFormulaPromotionV2, PHXQueryListDetailFeeAdjustment, PHXQueryAdmissionTuition, PHXQueryListDetailFeeAdjustmentBM, PHXQueryAdmissionTuitionBM, PHXSchoolMonthSystemService, PHXSchoolMonthClientService, PHXNotificationByModuleService, PHXStatisticalNotificationByModuleService, GetPrevCurrentNextYearsService, GetPrevCurrentNextYearsServiceSystem, PHXTransactionContentService, PHXUserDevicesService, PHXConvertHeadersRequest, GetActualWorkingHoursService, DepartmentManagerService, PHXGetUserManagerByUserId, PHXEmailRenderToHTML, PHXAllowTags, PHXGetListDepartmentManager, PHXAllowExplanation, PHXPushNotificationService, PHXGrpcClientServiceV5, PHXGrpcClientSystemServiceV5, };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetActualWorkingHoursService = exports.PHXConvertHeadersRequest = exports.PHXUserDevicesService = exports.PHXTransactionContentService = exports.GetPrevCurrentNextYearsServiceSystem = exports.GetPrevCurrentNextYearsService = exports.PHXStatisticalNotificationByModuleService = exports.PHXNotificationByModuleService = exports.PHXSchoolMonthClientService = exports.PHXSchoolMonthSystemService = exports.PHXQueryAdmissionTuitionBM = exports.PHXQueryListDetailFeeAdjustmentBM = exports.PHXQueryAdmissionTuition = exports.PHXQueryListDetailFeeAdjustment = exports.PHXSettingFormulaPromotionV2 = exports.PHXSettingFormulaPromotion = exports.PHXContextStorageService = exports.PHXEnvPublicService = exports.PHXHostnameService = exports.runWithSentryCheckIn = exports.PHXConfigByHostNameService = exports.PHXCloneCronjob = exports.PHXCronjobManagerService = exports.PHXDevToolDataService = exports.GetSchoolYearServiceSystemV3 = exports.GetSchoolYearServiceV3 = exports.GetListNextSchoolYearServiceSystemV3 = exports.GetListNextSchoolYearServiceV3 = exports.GetListActiveSchoolYearServiceSystemV3 = exports.GetListActiveSchoolYearServiceV3 = exports.GetListActiveSchoolYearAndNextYearServiceSystemV3 = exports.GetListActiveSchoolYearAndNextYearServiceV3 = exports.GetActiveSchoolYearAndNextYearServiceSystemV3 = exports.GetActiveSchoolYearAndNextYearServiceV3 = exports.PHXGrpcClientSystemService = exports.PHXGrpcClientService = exports.PHXDateHelpers = exports.PHXStudentInfoServiceSystemV3 = exports.PHXStudentInfoServiceV3 = exports.PHXStudentInfoService = exports.ApiService = exports.PHXGraphqlV2Service = exports.PHXGraphqlService = exports.GetListNextSchoolYearService = exports.GetListActiveSchoolYearAndNextYearService = exports.GetActiveSchoolYearAndNextYearService = exports.GetListActiveSchoolYearService = exports.GetSchoolYearService = exports.PHXNestModule = exports.PHXSettingSiteService = void 0;
|
|
4
|
-
exports.PHXPushNotificationService = exports.PHXAllowExplanation = exports.PHXGetListDepartmentManager = exports.PHXAllowTags = exports.PHXEmailRenderToHTML = exports.PHXGetUserManagerByUserId = exports.DepartmentManagerService = void 0;
|
|
4
|
+
exports.PHXGrpcClientSystemServiceV5 = exports.PHXGrpcClientServiceV5 = exports.PHXPushNotificationService = exports.PHXAllowExplanation = exports.PHXGetListDepartmentManager = exports.PHXAllowTags = exports.PHXEmailRenderToHTML = exports.PHXGetUserManagerByUserId = exports.DepartmentManagerService = void 0;
|
|
5
5
|
const tuititon_formula_setting_v2_service_1 = require("./module/helpers-service/tuition-helper-service/tuititon-formula-setting-v2.service");
|
|
6
6
|
Object.defineProperty(exports, "PHXSettingFormulaPromotionV2", { enumerable: true, get: function () { return tuititon_formula_setting_v2_service_1.PHXSettingFormulaPromotionV2; } });
|
|
7
7
|
const config_by_hostname_service_1 = require("./module/cronjob-manager/config-by-hostname.service");
|
|
@@ -112,4 +112,8 @@ const setting_site_service_1 = require("./module/setting-site/setting-site.servi
|
|
|
112
112
|
Object.defineProperty(exports, "PHXSettingSiteService", { enumerable: true, get: function () { return setting_site_service_1.PHXSettingSiteService; } });
|
|
113
113
|
const push_notification_service_1 = require("./module/inapp-noti/push-notification.service");
|
|
114
114
|
Object.defineProperty(exports, "PHXPushNotificationService", { enumerable: true, get: function () { return push_notification_service_1.PHXPushNotificationService; } });
|
|
115
|
+
const grpc_client_v5_service_1 = require("./module/grpc-client/grpc-client-v5.service");
|
|
116
|
+
Object.defineProperty(exports, "PHXGrpcClientServiceV5", { enumerable: true, get: function () { return grpc_client_v5_service_1.PHXGrpcClientServiceV5; } });
|
|
117
|
+
const grpc_client_system_v5_service_1 = require("./module/grpc-client/grpc-client-system-v5.service");
|
|
118
|
+
Object.defineProperty(exports, "PHXGrpcClientSystemServiceV5", { enumerable: true, get: function () { return grpc_client_system_v5_service_1.PHXGrpcClientSystemServiceV5; } });
|
|
115
119
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,6IAAmI;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,6IAAmI;AAoGjI,6GApGO,kEAA4B,OAoGP;AAnG9B,oGAAiG;AA6F/F,2GA7FO,uDAA0B,OA6FP;AA5F5B,2IAAkI;AA6GhI,6GA7GO,iEAA4B,OA6GP;AA5G9B,sHAAuH;AA2GrH,qHA3GO,uEAAoC,OA2GP;AA1GtC,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AA2F;AA6DzF,2GA7DO,sDAA0B,OA6DP;AA5D5B,wFAAqF;AA6DnF,uGA7DO,+CAAsB,OA6DP;AA5DxB,sGAAkG;AA6DhG,6GA7DO,4DAA4B,OA6DP"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HttpService } from "@nestjs/axios";
|
|
2
|
+
import { QueryOrPersistedId, SchemaGroup } from "./types";
|
|
3
|
+
export type GrpcRequestTypeV5 = QueryOrPersistedId & {
|
|
4
|
+
hostname: string;
|
|
5
|
+
variables?: Record<string, any> | null | undefined;
|
|
6
|
+
} & SchemaGroup;
|
|
7
|
+
export declare class PHXGrpcClientSystemServiceV5 {
|
|
8
|
+
private readonly httpService;
|
|
9
|
+
private readonly logger;
|
|
10
|
+
private readonly internalGrpcGateway;
|
|
11
|
+
private readonly projectSource;
|
|
12
|
+
constructor(httpService: HttpService);
|
|
13
|
+
debug(hostname: string): void;
|
|
14
|
+
query({ query, variables, hostname, persistedId, schemaGroup, }: GrpcRequestTypeV5): Promise<any>;
|
|
15
|
+
mutation({ query, variables, hostname, persistedId, schemaGroup }: GrpcRequestTypeV5): Promise<any>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
12
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
13
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
14
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
15
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
16
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
17
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
var PHXGrpcClientSystemServiceV5_1;
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.PHXGrpcClientSystemServiceV5 = void 0;
|
|
23
|
+
const common_1 = require("@nestjs/common");
|
|
24
|
+
const axios_1 = require("@nestjs/axios");
|
|
25
|
+
let PHXGrpcClientSystemServiceV5 = PHXGrpcClientSystemServiceV5_1 = class PHXGrpcClientSystemServiceV5 {
|
|
26
|
+
constructor(httpService) {
|
|
27
|
+
this.httpService = httpService;
|
|
28
|
+
this.logger = new common_1.Logger(PHXGrpcClientSystemServiceV5_1.name);
|
|
29
|
+
this.internalGrpcGateway = process.env.INTERNAL_GRPC_GATEWAY;
|
|
30
|
+
this.projectSource = process.env.PROJECT_SOURCE;
|
|
31
|
+
}
|
|
32
|
+
debug(hostname) {
|
|
33
|
+
this.logger.debug(hostname);
|
|
34
|
+
this.logger.debug(this.internalGrpcGateway);
|
|
35
|
+
}
|
|
36
|
+
query(_a) {
|
|
37
|
+
return __awaiter(this, arguments, void 0, function* ({ query, variables, hostname, persistedId, schemaGroup, }) {
|
|
38
|
+
if (!hostname)
|
|
39
|
+
return;
|
|
40
|
+
try {
|
|
41
|
+
const response = yield this.httpService
|
|
42
|
+
.post(`${this.internalGrpcGateway}/query`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: { hostname }, schemaGroup }))
|
|
43
|
+
.toPromise();
|
|
44
|
+
return response.data;
|
|
45
|
+
}
|
|
46
|
+
catch (error) {
|
|
47
|
+
console.log("error", error);
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
mutation(_a) {
|
|
53
|
+
return __awaiter(this, arguments, void 0, function* ({ query, variables, hostname, persistedId, schemaGroup }) {
|
|
54
|
+
if (!hostname)
|
|
55
|
+
return;
|
|
56
|
+
try {
|
|
57
|
+
const response = yield this.httpService
|
|
58
|
+
.post(`${this.internalGrpcGateway}/mutation`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: { hostname }, schemaGroup }))
|
|
59
|
+
.toPromise();
|
|
60
|
+
return response.data;
|
|
61
|
+
}
|
|
62
|
+
catch (error) {
|
|
63
|
+
console.log("error", error);
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
exports.PHXGrpcClientSystemServiceV5 = PHXGrpcClientSystemServiceV5;
|
|
70
|
+
exports.PHXGrpcClientSystemServiceV5 = PHXGrpcClientSystemServiceV5 = PHXGrpcClientSystemServiceV5_1 = __decorate([
|
|
71
|
+
(0, common_1.Injectable)(),
|
|
72
|
+
__metadata("design:paramtypes", [axios_1.HttpService])
|
|
73
|
+
], PHXGrpcClientSystemServiceV5);
|
|
74
|
+
//# sourceMappingURL=grpc-client-system-v5.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grpc-client-system-v5.service.js","sourceRoot":"","sources":["../../../src/module/grpc-client/grpc-client-system-v5.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,yCAA4C;AASrC,IAAM,4BAA4B,oCAAlC,MAAM,4BAA4B;I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AAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW;qBACpC,IAAI,CAAC,GAAG,IAAI,CAAC,mBAAmB,WAAW,kCACvC,CAAC,SAAS,IAAI,EAAE,SAAS,EAAE,CAAC,KAC/B,MAAM,EAAE,IAAI,CAAC,aAAa,EAC1B,KAAK,EACL,YAAY,EAAE,WAAW,EACzB,OAAO,EAAE,EAAE,QAAQ,EAAE,EACrB,WAAW,IACX;qBACD,SAAS,EAAE,CAAC;gBACf,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBAC5B,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;KAAA;CACF,CAAA;AAnEY,oEAA4B;uCAA5B,4BAA4B;IADxC,IAAA,mBAAU,GAAE;qCAM+B,mBAAW;GAL1C,4BAA4B,CAmExC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HttpService } from "@nestjs/axios";
|
|
2
|
+
import { QueryOrPersistedId, SchemaGroup } from "./types";
|
|
3
|
+
export type GrpcRequestTypeV5 = QueryOrPersistedId & {
|
|
4
|
+
variables?: Record<string, any> | null | undefined;
|
|
5
|
+
} & SchemaGroup;
|
|
6
|
+
export declare class PHXGrpcClientServiceV5 {
|
|
7
|
+
private readonly httpService;
|
|
8
|
+
private readonly request;
|
|
9
|
+
private readonly internalGrpcGateway;
|
|
10
|
+
private readonly projectSource;
|
|
11
|
+
constructor(httpService: HttpService, request: Request);
|
|
12
|
+
query({ query, variables, persistedId, schemaGroup }: GrpcRequestTypeV5): Promise<any>;
|
|
13
|
+
mutation({ query, variables, persistedId, schemaGroup }: GrpcRequestTypeV5): Promise<any>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.PHXGrpcClientServiceV5 = void 0;
|
|
25
|
+
const common_1 = require("@nestjs/common");
|
|
26
|
+
const axios_1 = require("@nestjs/axios");
|
|
27
|
+
const core_1 = require("@nestjs/core");
|
|
28
|
+
let PHXGrpcClientServiceV5 = class PHXGrpcClientServiceV5 {
|
|
29
|
+
constructor(httpService, request) {
|
|
30
|
+
this.httpService = httpService;
|
|
31
|
+
this.request = request;
|
|
32
|
+
this.internalGrpcGateway = process.env.INTERNAL_GRPC_GATEWAY;
|
|
33
|
+
this.projectSource = process.env.PROJECT_SOURCE;
|
|
34
|
+
}
|
|
35
|
+
query(_a) {
|
|
36
|
+
return __awaiter(this, arguments, void 0, function* ({ query, variables, persistedId, schemaGroup }) {
|
|
37
|
+
try {
|
|
38
|
+
const response = yield this.httpService
|
|
39
|
+
.post(`${this.internalGrpcGateway}/query`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: this.request.headers, schemaGroup }))
|
|
40
|
+
.toPromise();
|
|
41
|
+
return response.data;
|
|
42
|
+
}
|
|
43
|
+
catch (error) {
|
|
44
|
+
console.log("error", error);
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
mutation(_a) {
|
|
50
|
+
return __awaiter(this, arguments, void 0, function* ({ query, variables, persistedId, schemaGroup }) {
|
|
51
|
+
try {
|
|
52
|
+
const response = yield this.httpService
|
|
53
|
+
.post(`${this.internalGrpcGateway}/mutation`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: this.request.headers, schemaGroup }))
|
|
54
|
+
.toPromise();
|
|
55
|
+
return response.data;
|
|
56
|
+
}
|
|
57
|
+
catch (error) {
|
|
58
|
+
console.log("error", error);
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
exports.PHXGrpcClientServiceV5 = PHXGrpcClientServiceV5;
|
|
65
|
+
exports.PHXGrpcClientServiceV5 = PHXGrpcClientServiceV5 = __decorate([
|
|
66
|
+
(0, common_1.Injectable)(),
|
|
67
|
+
__param(1, (0, common_1.Inject)(core_1.REQUEST)),
|
|
68
|
+
__metadata("design:paramtypes", [axios_1.HttpService,
|
|
69
|
+
Request])
|
|
70
|
+
], PHXGrpcClientServiceV5);
|
|
71
|
+
//# sourceMappingURL=grpc-client-v5.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grpc-client-v5.service.js","sourceRoot":"","sources":["../../../src/module/grpc-client/grpc-client-v5.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,yCAA4C;AAC5C,uCAAuC;AAQhC,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAGjC,YACmB,WAAwB,EACP,OAAgB;QADjC,gBAAW,GAAX,WAAW,CAAa;QACP,YAAO,GAAP,OAAO,CAAS;QAElD,IAAI,CAAC,mBAAmB,GAAG,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC;QAC7D,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC;IAClD,CAAC;IAEY,KAAK;6DAAC,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAqB;YAClF,IAAI,CAAC;gBACH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW;qBACpC,IAAI,CAAC,GAAG,IAAI,CAAC,mBAAmB,QAAQ,kCACpC,CAAC,SAAS,IAAI,EAAE,SAAS,EAAE,CAAC,KAC/B,MAAM,EAAE,IAAI,CAAC,aAAa,EAC1B,KAAK,EACL,YAAY,EAAE,WAAW,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,EAC7B,WAAW,IACX;qBACD,SAAS,EAAE,CAAC;gBACf,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBAC5B,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;KAAA;IAEY,QAAQ;6DAAC,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAC,WAAW,EAAqB;YACpF,IAAI,CAAC;gBACH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW;qBACpC,IAAI,CAAC,GAAG,IAAI,CAAC,mBAAmB,WAAW,kCACvC,CAAC,SAAS,IAAI,EAAE,SAAS,EAAE,CAAC,KAC/B,MAAM,EAAE,IAAI,CAAC,aAAa,EAC1B,KAAK,EACL,YAAY,EAAE,WAAW,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,EAC7B,WAAW,IACX;qBACD,SAAS,EAAE,CAAC;gBACf,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBAC5B,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;KAAA;CACF,CAAA;AAhDY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,mBAAU,GAAE;IAMR,WAAA,IAAA,eAAM,EAAC,cAAO,CAAC,CAAA;qCADc,mBAAW;QACE,OAAO;GALzC,sBAAsB,CAgDlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/module/grpc-client/types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/module/grpc-client/types.ts"],"names":[],"mappings":";;AAGC,CAAC"}
|
package/dist/phx.module.d.ts
CHANGED
|
@@ -48,10 +48,12 @@ import { PHXAllowExplanation } from "./module/explanation/check-allow-explanatio
|
|
|
48
48
|
import { PHXGetListDepartmentManager } from "./module/department-manager/get-list-department-manager-v2.service";
|
|
49
49
|
import { PHXSettingSiteService } from "./module/setting-site/setting-site.service";
|
|
50
50
|
import { PHXPushNotificationService } from "./module/inapp-noti/push-notification.service";
|
|
51
|
+
import { PHXGrpcClientSystemServiceV5 } from "./module/grpc-client/grpc-client-system-v5.service";
|
|
52
|
+
import { PHXGrpcClientServiceV5 } from "./module/grpc-client/grpc-client-v5.service";
|
|
51
53
|
export declare class PHXNestModule {
|
|
52
54
|
static register(): {
|
|
53
55
|
module: typeof PHXNestModule;
|
|
54
|
-
providers: (typeof PHXGrpcClientSystemService | typeof PHXSettingFormulaPromotionV2 | typeof PHXConfigByHostNameService | typeof PHXTransactionContentService | typeof GetPrevCurrentNextYearsServiceSystem | typeof PHXGrpcClientService | typeof GetPrevCurrentNextYearsService | typeof PHXSchoolMonthClientService | typeof PHXSchoolMonthSystemService | typeof PHXSettingFormulaPromotion | typeof PHXContextStorageService | typeof GetSchoolYearServiceSystemV3 | typeof GetListNextSchoolYearServiceSystemV3 | typeof GetListActiveSchoolYearServiceSystemV3 | typeof GetListActiveSchoolYearAndNextYearServiceSystemV3 | typeof GetActiveSchoolYearAndNextYearServiceSystemV3 | typeof PHXStudentInfoServiceSystemV3 | typeof PHXHostnameService | typeof PHXEnvPublicService | typeof PHXGraphqlV2Service | typeof PHXCloneCronjob | typeof PHXCronjobManagerService | typeof PHXDevToolDataService | typeof PHXDateHelpers | typeof PHXGraphqlService | typeof PHXStudentInfoService | typeof ApiService | typeof GetSchoolYearService | typeof GetListActiveSchoolYearService | typeof GetActiveSchoolYearAndNextYearService | typeof GetListActiveSchoolYearAndNextYearService | typeof GetListNextSchoolYearService | typeof PHXStudentInfoServiceV3 | typeof GetActiveSchoolYearAndNextYearServiceV3 | typeof GetListActiveSchoolYearAndNextYearServiceV3 | typeof GetListActiveSchoolYearServiceV3 | typeof GetListNextSchoolYearServiceV3 | typeof GetSchoolYearServiceV3 | typeof PHXStatisticalNotificationByModuleService | typeof PHXNotificationByModuleService | typeof PHXUserDevicesService | typeof DepartmentManagerService | typeof GetActualWorkingHoursService | typeof PHXGetUserManagerByUserId | typeof PHXAllowExplanation | typeof PHXGetListDepartmentManager | typeof PHXSettingSiteService | typeof PHXPushNotificationService)[];
|
|
56
|
+
providers: (typeof PHXGrpcClientSystemService | typeof PHXSettingFormulaPromotionV2 | typeof PHXConfigByHostNameService | typeof PHXTransactionContentService | typeof GetPrevCurrentNextYearsServiceSystem | typeof PHXGrpcClientService | typeof GetPrevCurrentNextYearsService | typeof PHXSchoolMonthClientService | typeof PHXSchoolMonthSystemService | typeof PHXSettingFormulaPromotion | typeof PHXContextStorageService | typeof GetSchoolYearServiceSystemV3 | typeof GetListNextSchoolYearServiceSystemV3 | typeof GetListActiveSchoolYearServiceSystemV3 | typeof GetListActiveSchoolYearAndNextYearServiceSystemV3 | typeof GetActiveSchoolYearAndNextYearServiceSystemV3 | typeof PHXStudentInfoServiceSystemV3 | typeof PHXHostnameService | typeof PHXEnvPublicService | typeof PHXGraphqlV2Service | typeof PHXCloneCronjob | typeof PHXCronjobManagerService | typeof PHXDevToolDataService | typeof PHXDateHelpers | typeof PHXGraphqlService | typeof PHXStudentInfoService | typeof ApiService | typeof GetSchoolYearService | typeof GetListActiveSchoolYearService | typeof GetActiveSchoolYearAndNextYearService | typeof GetListActiveSchoolYearAndNextYearService | typeof GetListNextSchoolYearService | typeof PHXStudentInfoServiceV3 | typeof GetActiveSchoolYearAndNextYearServiceV3 | typeof GetListActiveSchoolYearAndNextYearServiceV3 | typeof GetListActiveSchoolYearServiceV3 | typeof GetListNextSchoolYearServiceV3 | typeof GetSchoolYearServiceV3 | typeof PHXStatisticalNotificationByModuleService | typeof PHXNotificationByModuleService | typeof PHXUserDevicesService | typeof DepartmentManagerService | typeof GetActualWorkingHoursService | typeof PHXGetUserManagerByUserId | typeof PHXAllowExplanation | typeof PHXGetListDepartmentManager | typeof PHXSettingSiteService | typeof PHXPushNotificationService | typeof PHXGrpcClientSystemServiceV5 | typeof PHXGrpcClientServiceV5)[];
|
|
55
57
|
};
|
|
56
58
|
static forRoot(graphQlConfig?: GraphQlEnv): DynamicModule;
|
|
57
59
|
static forRootV2(graphQlConfig?: GraphQlV2Env): DynamicModule;
|
package/dist/phx.module.js
CHANGED
|
@@ -62,6 +62,8 @@ const check_allow_explanation_service_1 = require("./module/explanation/check-al
|
|
|
62
62
|
const get_list_department_manager_v2_service_1 = require("./module/department-manager/get-list-department-manager-v2.service");
|
|
63
63
|
const setting_site_service_1 = require("./module/setting-site/setting-site.service");
|
|
64
64
|
const push_notification_service_1 = require("./module/inapp-noti/push-notification.service");
|
|
65
|
+
const grpc_client_system_v5_service_1 = require("./module/grpc-client/grpc-client-system-v5.service");
|
|
66
|
+
const grpc_client_v5_service_1 = require("./module/grpc-client/grpc-client-v5.service");
|
|
65
67
|
let PHXNestModule = PHXNestModule_1 = class PHXNestModule {
|
|
66
68
|
static register() {
|
|
67
69
|
return {
|
|
@@ -70,7 +72,9 @@ let PHXNestModule = PHXNestModule_1 = class PHXNestModule {
|
|
|
70
72
|
graphql_service_1.PHXGraphqlService,
|
|
71
73
|
graphql_v2_service_1.PHXGraphqlV2Service,
|
|
72
74
|
grpc_client_service_1.PHXGrpcClientService,
|
|
75
|
+
grpc_client_v5_service_1.PHXGrpcClientServiceV5,
|
|
73
76
|
grpc_client_system_service_1.PHXGrpcClientSystemService,
|
|
77
|
+
grpc_client_system_v5_service_1.PHXGrpcClientSystemServiceV5,
|
|
74
78
|
schoolYear_service_1.GetSchoolYearService,
|
|
75
79
|
listActiveShoolYear_service_1.GetListActiveSchoolYearService,
|
|
76
80
|
activeSchoolYearAndNextYear_service_1.GetActiveSchoolYearAndNextYearService,
|
|
@@ -172,7 +176,9 @@ exports.PHXNestModule = PHXNestModule = PHXNestModule_1 = __decorate([
|
|
|
172
176
|
graphql_service_1.PHXGraphqlService,
|
|
173
177
|
graphql_v2_service_1.PHXGraphqlV2Service,
|
|
174
178
|
grpc_client_service_1.PHXGrpcClientService,
|
|
179
|
+
grpc_client_v5_service_1.PHXGrpcClientServiceV5,
|
|
175
180
|
grpc_client_system_service_1.PHXGrpcClientSystemService,
|
|
181
|
+
grpc_client_system_v5_service_1.PHXGrpcClientSystemServiceV5,
|
|
176
182
|
schoolYear_service_1.GetSchoolYearService,
|
|
177
183
|
listActiveShoolYear_service_1.GetListActiveSchoolYearService,
|
|
178
184
|
activeSchoolYearAndNextYear_service_1.GetActiveSchoolYearAndNextYearService,
|
|
@@ -223,7 +229,9 @@ exports.PHXNestModule = PHXNestModule = PHXNestModule_1 = __decorate([
|
|
|
223
229
|
graphql_service_1.PHXGraphqlService,
|
|
224
230
|
graphql_v2_service_1.PHXGraphqlV2Service,
|
|
225
231
|
grpc_client_service_1.PHXGrpcClientService,
|
|
232
|
+
grpc_client_v5_service_1.PHXGrpcClientServiceV5,
|
|
226
233
|
grpc_client_system_service_1.PHXGrpcClientSystemService,
|
|
234
|
+
grpc_client_system_v5_service_1.PHXGrpcClientSystemServiceV5,
|
|
227
235
|
schoolYear_service_1.GetSchoolYearService,
|
|
228
236
|
listActiveShoolYear_service_1.GetListActiveSchoolYearService,
|
|
229
237
|
activeSchoolYearAndNextYear_service_1.GetActiveSchoolYearAndNextYearService,
|
package/dist/phx.module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phx.module.js","sourceRoot":"","sources":["../src/phx.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAA+D;AAC/D,gFAA+E;AAC/E,+DAA8D;AAC9D,kGAAkG;AAClG,kHAAiH;AACjH,0HAAyH;AACzH,gGAA+F;AAE/F,6CAA6D;AAC7D,wDAAoD;AACpD,qFAAmF;AACnF,8EAA0E;AAC1E,kFAAgF;AAChF,yCAA2C;AAC3C,2FAAwF;AACxF,yHAAwH;AACxH,iIAAgI;AAChI,yGAAyG;AACzG,uGAAsG;AACtG,uFAAsF;AACtF,gGAA6F;AAC7F,wFAAqF;AACrF,8FAA4F;AAC5F,0FAAiF;AACjF,qEAAmE;AACnE,+CAAkD;AAClD,gDAAoD;AACpD,yEAAwE;AACxE,yGAAqG;AACrG,4HAAmI;AACnI,oIAA2I;AAC3I,4GAAoH;AACpH,0GAAiH;AACjH,0FAAiG;AACjG,6EAA2E;AAC3E,8FAA4F;AAC5F,yIAA+H;AAC/H,mGAAgG;AAChG,mGAAgG;AAChG,qFAA4F;AAC5F,6GAAmH;AACnH,0DAAsD;AACtD,+GAA0G;AAC1G,sHAAuH;AACvH,2IAAkI;AAClI,qFAAmF;AACnF,oGAAmG;AACnG,uGAAkG;AAClG,4GAAqG;AACrG,6IAAmI;AACnI,2FAA6F;AAC7F,0GAA2F;AAC3F,+HAAiH;AACjH,qFAAmF;AACnF,6FAA2F;
|
|
1
|
+
{"version":3,"file":"phx.module.js","sourceRoot":"","sources":["../src/phx.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAA+D;AAC/D,gFAA+E;AAC/E,+DAA8D;AAC9D,kGAAkG;AAClG,kHAAiH;AACjH,0HAAyH;AACzH,gGAA+F;AAE/F,6CAA6D;AAC7D,wDAAoD;AACpD,qFAAmF;AACnF,8EAA0E;AAC1E,kFAAgF;AAChF,yCAA2C;AAC3C,2FAAwF;AACxF,yHAAwH;AACxH,iIAAgI;AAChI,yGAAyG;AACzG,uGAAsG;AACtG,uFAAsF;AACtF,gGAA6F;AAC7F,wFAAqF;AACrF,8FAA4F;AAC5F,0FAAiF;AACjF,qEAAmE;AACnE,+CAAkD;AAClD,gDAAoD;AACpD,yEAAwE;AACxE,yGAAqG;AACrG,4HAAmI;AACnI,oIAA2I;AAC3I,4GAAoH;AACpH,0GAAiH;AACjH,0FAAiG;AACjG,6EAA2E;AAC3E,8FAA4F;AAC5F,yIAA+H;AAC/H,mGAAgG;AAChG,mGAAgG;AAChG,qFAA4F;AAC5F,6GAAmH;AACnH,0DAAsD;AACtD,+GAA0G;AAC1G,sHAAuH;AACvH,2IAAkI;AAClI,qFAAmF;AACnF,oGAAmG;AACnG,uGAAkG;AAClG,4GAAqG;AACrG,6IAAmI;AACnI,2FAA6F;AAC7F,0GAA2F;AAC3F,+HAAiH;AACjH,qFAAmF;AACnF,6FAA2F;AAC3F,sGAAkG;AAClG,wFAAqF;AAoH9E,IAAM,aAAa,qBAAnB,MAAM,aAAa;IACxB,MAAM,CAAC,QAAQ;QACb,OAAO;YACL,MAAM,EAAE,eAAa;Y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