phx-node 1.0.156 → 1.0.158
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 +2 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/helper.d.ts +1 -0
- package/dist/lib/helper.js +2 -1
- package/dist/lib/helper.js.map +1 -1
- package/dist/module/grpc-client/grpc-client-v6.service.d.ts +14 -0
- package/dist/module/grpc-client/grpc-client-v6.service.js +72 -0
- package/dist/module/grpc-client/grpc-client-v6.service.js.map +1 -0
- package/dist/phx.module.d.ts +2 -1
- package/dist/phx.module.js +7 -1
- 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
|
@@ -55,4 +55,5 @@ import { PHXGrpcClientServiceV5 } from "./module/grpc-client/grpc-client-v5.serv
|
|
|
55
55
|
import { PHXGrpcClientSystemServiceV5 } from "./module/grpc-client/grpc-client-system-v5.service";
|
|
56
56
|
import { PHXRedisService } from "./module/redis-cache/redis.service";
|
|
57
57
|
import { PHXGrpcClientSystemServiceV6 } from "./module/grpc-client/grpc-client-system-v6.service";
|
|
58
|
-
|
|
58
|
+
import { PHXGrpcClientServiceV6 } from "./module/grpc-client/grpc-client-v6.service";
|
|
59
|
+
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, PHXRedisService, PHXGrpcClientSystemServiceV6, PHXGrpcClientServiceV6 };
|
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.PHXGrpcClientSystemServiceV6 = exports.PHXRedisService = exports.PHXGrpcClientSystemServiceV5 = exports.PHXGrpcClientServiceV5 = exports.PHXPushNotificationService = exports.PHXAllowExplanation = exports.PHXGetListDepartmentManager = exports.PHXAllowTags = exports.PHXEmailRenderToHTML = exports.PHXGetUserManagerByUserId = exports.DepartmentManagerService = void 0;
|
|
4
|
+
exports.PHXGrpcClientServiceV6 = exports.PHXGrpcClientSystemServiceV6 = exports.PHXRedisService = 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");
|
|
@@ -120,4 +120,6 @@ const redis_service_1 = require("./module/redis-cache/redis.service");
|
|
|
120
120
|
Object.defineProperty(exports, "PHXRedisService", { enumerable: true, get: function () { return redis_service_1.PHXRedisService; } });
|
|
121
121
|
const grpc_client_system_v6_service_1 = require("./module/grpc-client/grpc-client-system-v6.service");
|
|
122
122
|
Object.defineProperty(exports, "PHXGrpcClientSystemServiceV6", { enumerable: true, get: function () { return grpc_client_system_v6_service_1.PHXGrpcClientSystemServiceV6; } });
|
|
123
|
+
const grpc_client_v6_service_1 = require("./module/grpc-client/grpc-client-v6.service");
|
|
124
|
+
Object.defineProperty(exports, "PHXGrpcClientServiceV6", { enumerable: true, get: function () { return grpc_client_v6_service_1.PHXGrpcClientServiceV6; } });
|
|
123
125
|
//# 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;AAuGjI,6GAvGO,kEAA4B,OAuGP;AAtG9B,oGAAiG;AAgG/F,2GAhGO,uDAA0B,OAgGP;AA/F5B,2IAAkI;AAgHhI,6GAhHO,iEAA4B,OAgHP;AA/G9B,sHAAuH;AA8GrH,qHA9GO,uEAAoC,OA8GP;AA7GtC,+GAA0G;AA4GxG,+GA5GO,iEAA8B,OA4GP;AA3GhC,mGAAgG;AAwG9F,4GAxGO,yDAA2B,OAwGP;AAvG7B,mGAAgG;AAsG9F,4GAtGO,yDAA2B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P;AA/D9B,sEAAqE;AAgEnE,gGAhEO,+BAAe,OAgEP;AA/DjB,sGAAkG;AAgEhG,6GAhEO,4DAA4B,OAgEP;AA/D9B,wFAAqF;AAgEnF,uGAhEO,+CAAsB,OAgEP"}
|
package/dist/lib/helper.d.ts
CHANGED
package/dist/lib/helper.js
CHANGED
|
@@ -107,7 +107,8 @@ const PHXConvertHeadersRequest = (headers) => {
|
|
|
107
107
|
userId: parseNumber(headers["x-user-id"]),
|
|
108
108
|
currentVersion: extractAppVersion(headers["user-agent"]),
|
|
109
109
|
clientPath: headers["x-client-path"],
|
|
110
|
-
teacherId: headers["teacher-id"]
|
|
110
|
+
teacherId: headers["teacher-id"],
|
|
111
|
+
schoolId: headers["x-tenant-id"]
|
|
111
112
|
};
|
|
112
113
|
};
|
|
113
114
|
exports.PHXConvertHeadersRequest = PHXConvertHeadersRequest;
|
package/dist/lib/helper.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../src/lib/helper.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../src/lib/helper.ts"],"names":[],"mappings":";;;AA2JA,0DAWC;AAtKD,yCAA0C;AAC1C,6CAA8D;AAEjD,QAAA,cAAc,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAGpE,MAAM,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;AAC5B,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,CAAC;AACpC,QAAA,YAAY,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAGhE,MAAM,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;AAC5B,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,WAAW,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B,YAAoB;;IAGpB,MAAM,UAAU,GACd,MAAA,WAAW,CAAC,IAAI,CACd,CAAC,UAAe,EAAE,EAAE,CAAC,UAAU,CAAC,aAAa,KAAK,YAAY,CAC/D,mCACD,WAAW,CAAC,IAAI,CAAC,CAAC,UAAe,EAAE,EAAE,CAAC,UAAU,CAAC,aAAa,KAAK,IAAI,CAAC,CAAC;IAC3E,OAAO,UAAU,IAAI,EAAE,CAAC;AAC1B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HttpService } from "@nestjs/axios";
|
|
2
|
+
import { QueryOrPersistedId, SchemaGroup } from "./types";
|
|
3
|
+
export type GrpcRequestTypeV6 = QueryOrPersistedId & {
|
|
4
|
+
variables?: Record<string, any> | null | undefined;
|
|
5
|
+
} & SchemaGroup;
|
|
6
|
+
export declare class PHXGrpcClientServiceV6 {
|
|
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 }: GrpcRequestTypeV6): Promise<any>;
|
|
13
|
+
mutation({ query, variables, persistedId, schemaGroup }: GrpcRequestTypeV6): Promise<any>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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.PHXGrpcClientServiceV6 = void 0;
|
|
25
|
+
const common_1 = require("@nestjs/common");
|
|
26
|
+
const axios_1 = require("@nestjs/axios");
|
|
27
|
+
const core_1 = require("@nestjs/core");
|
|
28
|
+
const constant_1 = require("../../lib/constant");
|
|
29
|
+
let PHXGrpcClientServiceV6 = class PHXGrpcClientServiceV6 {
|
|
30
|
+
constructor(httpService, request) {
|
|
31
|
+
this.httpService = httpService;
|
|
32
|
+
this.request = request;
|
|
33
|
+
this.internalGrpcGateway = process.env.INTERNAL_GRPC_GATEWAY;
|
|
34
|
+
this.projectSource = process.env.PROJECT_SOURCE;
|
|
35
|
+
}
|
|
36
|
+
query(_a) {
|
|
37
|
+
return __awaiter(this, arguments, void 0, function* ({ query, variables, persistedId, schemaGroup }) {
|
|
38
|
+
try {
|
|
39
|
+
const response = yield this.httpService
|
|
40
|
+
.post(`${this.internalGrpcGateway}/query`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: Object.assign(Object.assign({}, this.request.headers), { [constant_1.HEADER_KEY_REQUIRED_SCHOOL_ID]: true }), schemaGroup }))
|
|
41
|
+
.toPromise();
|
|
42
|
+
return response.data;
|
|
43
|
+
}
|
|
44
|
+
catch (error) {
|
|
45
|
+
console.log("error", error);
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
mutation(_a) {
|
|
51
|
+
return __awaiter(this, arguments, void 0, function* ({ query, variables, persistedId, schemaGroup }) {
|
|
52
|
+
try {
|
|
53
|
+
const response = yield this.httpService
|
|
54
|
+
.post(`${this.internalGrpcGateway}/mutation`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: Object.assign(Object.assign({}, this.request.headers), { [constant_1.HEADER_KEY_REQUIRED_SCHOOL_ID]: true }), schemaGroup }))
|
|
55
|
+
.toPromise();
|
|
56
|
+
return response.data;
|
|
57
|
+
}
|
|
58
|
+
catch (error) {
|
|
59
|
+
console.log("error", error);
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
exports.PHXGrpcClientServiceV6 = PHXGrpcClientServiceV6;
|
|
66
|
+
exports.PHXGrpcClientServiceV6 = PHXGrpcClientServiceV6 = __decorate([
|
|
67
|
+
(0, common_1.Injectable)(),
|
|
68
|
+
__param(1, (0, common_1.Inject)(core_1.REQUEST)),
|
|
69
|
+
__metadata("design:paramtypes", [axios_1.HttpService,
|
|
70
|
+
Request])
|
|
71
|
+
], PHXGrpcClientServiceV6);
|
|
72
|
+
//# sourceMappingURL=grpc-client-v6.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grpc-client-v6.service.js","sourceRoot":"","sources":["../../../src/module/grpc-client/grpc-client-v6.service.ts"],"names":[],"mappings":";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AI,EAAE,SAAS,EAAE,CAAC,KAC/B,MAAM,EAAE,IAAI,CAAC,aAAa,EAC1B,KAAK,EACL,YAAY,EAAE,WAAW,EACzB,OAAO,kCAAO,IAAI,CAAC,OAAO,CAAC,OAAO,KAAG,CAAC,wCAA6B,CAAC,EAAE,IAAI,KAC1E,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"}
|
package/dist/phx.module.d.ts
CHANGED
|
@@ -52,10 +52,11 @@ import { PHXGrpcClientSystemServiceV5 } from "./module/grpc-client/grpc-client-s
|
|
|
52
52
|
import { PHXGrpcClientServiceV5 } from "./module/grpc-client/grpc-client-v5.service";
|
|
53
53
|
import { PHXRedisService } from "./module/redis-cache/redis.service";
|
|
54
54
|
import { PHXGrpcClientSystemServiceV6 } from "./module/grpc-client/grpc-client-system-v6.service";
|
|
55
|
+
import { PHXGrpcClientServiceV6 } from "./module/grpc-client/grpc-client-v6.service";
|
|
55
56
|
export declare class PHXNestModule {
|
|
56
57
|
static register(): {
|
|
57
58
|
module: typeof PHXNestModule;
|
|
58
|
-
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 PHXGrpcClientSystemServiceV5 | 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 PHXGrpcClientServiceV5 | typeof PHXRedisService | typeof PHXGrpcClientSystemServiceV6)[];
|
|
59
|
+
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 PHXGrpcClientSystemServiceV5 | 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 PHXGrpcClientServiceV5 | typeof PHXRedisService | typeof PHXGrpcClientSystemServiceV6 | typeof PHXGrpcClientServiceV6)[];
|
|
59
60
|
};
|
|
60
61
|
static forRoot(graphQlConfig?: GraphQlEnv): DynamicModule;
|
|
61
62
|
static forRootV2(graphQlConfig?: GraphQlV2Env): DynamicModule;
|
package/dist/phx.module.js
CHANGED
|
@@ -68,6 +68,7 @@ const redis_service_1 = require("./module/redis-cache/redis.service");
|
|
|
68
68
|
const attendance_redis_service_1 = require("./module/redis-cache/attendance-redis/attendance-redis.service");
|
|
69
69
|
const schoollist_service_1 = require("./module/cronjob-manager/schoollist.service");
|
|
70
70
|
const grpc_client_system_v6_service_1 = require("./module/grpc-client/grpc-client-system-v6.service");
|
|
71
|
+
const grpc_client_v6_service_1 = require("./module/grpc-client/grpc-client-v6.service");
|
|
71
72
|
let PHXNestModule = PHXNestModule_1 = class PHXNestModule {
|
|
72
73
|
static register() {
|
|
73
74
|
return {
|
|
@@ -77,6 +78,7 @@ let PHXNestModule = PHXNestModule_1 = class PHXNestModule {
|
|
|
77
78
|
graphql_v2_service_1.PHXGraphqlV2Service,
|
|
78
79
|
grpc_client_service_1.PHXGrpcClientService,
|
|
79
80
|
grpc_client_v5_service_1.PHXGrpcClientServiceV5,
|
|
81
|
+
grpc_client_v6_service_1.PHXGrpcClientServiceV6,
|
|
80
82
|
grpc_client_system_service_1.PHXGrpcClientSystemService,
|
|
81
83
|
grpc_client_system_v5_service_1.PHXGrpcClientSystemServiceV5,
|
|
82
84
|
grpc_client_system_v6_service_1.PHXGrpcClientSystemServiceV6,
|
|
@@ -183,8 +185,10 @@ exports.PHXNestModule = PHXNestModule = PHXNestModule_1 = __decorate([
|
|
|
183
185
|
graphql_v2_service_1.PHXGraphqlV2Service,
|
|
184
186
|
grpc_client_service_1.PHXGrpcClientService,
|
|
185
187
|
grpc_client_v5_service_1.PHXGrpcClientServiceV5,
|
|
188
|
+
grpc_client_v6_service_1.PHXGrpcClientServiceV6,
|
|
186
189
|
grpc_client_system_service_1.PHXGrpcClientSystemService,
|
|
187
190
|
grpc_client_system_v5_service_1.PHXGrpcClientSystemServiceV5,
|
|
191
|
+
grpc_client_system_v6_service_1.PHXGrpcClientSystemServiceV6,
|
|
188
192
|
schoolYear_service_1.GetSchoolYearService,
|
|
189
193
|
listActiveShoolYear_service_1.GetListActiveSchoolYearService,
|
|
190
194
|
activeSchoolYearAndNextYear_service_1.GetActiveSchoolYearAndNextYearService,
|
|
@@ -231,7 +235,7 @@ exports.PHXNestModule = PHXNestModule = PHXNestModule_1 = __decorate([
|
|
|
231
235
|
push_notification_service_1.PHXPushNotificationService,
|
|
232
236
|
redis_service_1.PHXRedisService,
|
|
233
237
|
attendance_redis_service_1.AttendanceRedisService,
|
|
234
|
-
schoollist_service_1.SchoolListService
|
|
238
|
+
schoollist_service_1.SchoolListService,
|
|
235
239
|
],
|
|
236
240
|
exports: [
|
|
237
241
|
setting_site_service_1.PHXSettingSiteService,
|
|
@@ -239,8 +243,10 @@ exports.PHXNestModule = PHXNestModule = PHXNestModule_1 = __decorate([
|
|
|
239
243
|
graphql_v2_service_1.PHXGraphqlV2Service,
|
|
240
244
|
grpc_client_service_1.PHXGrpcClientService,
|
|
241
245
|
grpc_client_v5_service_1.PHXGrpcClientServiceV5,
|
|
246
|
+
grpc_client_v6_service_1.PHXGrpcClientServiceV6,
|
|
242
247
|
grpc_client_system_service_1.PHXGrpcClientSystemService,
|
|
243
248
|
grpc_client_system_v5_service_1.PHXGrpcClientSystemServiceV5,
|
|
249
|
+
grpc_client_system_v6_service_1.PHXGrpcClientSystemServiceV6,
|
|
244
250
|
schoolYear_service_1.GetSchoolYearService,
|
|
245
251
|
listActiveShoolYear_service_1.GetListActiveSchoolYearService,
|
|
246
252
|
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;AAC3F,sGAAkG;AAClG,wFAAqF;AACrF,sEAAqE;AACrE,6GAAwG;AACxG,oFAA8E;AAC9E,sGAAkG;
|
|
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,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