phx-node 1.0.110 → 1.0.111
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.
|
@@ -24,6 +24,8 @@ export interface PushNotiMobile {
|
|
|
24
24
|
module_code: string;
|
|
25
25
|
app: string;
|
|
26
26
|
payload: any;
|
|
27
|
+
related_id?: string;
|
|
28
|
+
preview_text?: string;
|
|
27
29
|
}
|
|
28
30
|
export interface SendEmailV3 {
|
|
29
31
|
emailType: EmailType;
|
|
@@ -40,6 +42,7 @@ export interface SendEmailV3 {
|
|
|
40
42
|
schoolId?: number;
|
|
41
43
|
tag?: string;
|
|
42
44
|
attachments?: Attachment[];
|
|
45
|
+
isFreeStyle?: boolean;
|
|
43
46
|
}
|
|
44
47
|
export interface PushInappNoti {
|
|
45
48
|
user_id: number;
|
package/dist/phx.module.d.ts
CHANGED
|
@@ -47,10 +47,11 @@ import { PHXGetUserManagerByUserId } from "./module/department-manager/user-mana
|
|
|
47
47
|
import { PHXAllowExplanation } from "./module/explanation/check-allow-explanation.service";
|
|
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
|
+
import { PHXPushNotificationService } from "./module/inapp-noti/push-notification.service";
|
|
50
51
|
export declare class PHXNestModule {
|
|
51
52
|
static register(): {
|
|
52
53
|
module: typeof PHXNestModule;
|
|
53
|
-
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)[];
|
|
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)[];
|
|
54
55
|
};
|
|
55
56
|
static forRoot(graphQlConfig?: GraphQlEnv): DynamicModule;
|
|
56
57
|
static forRootV2(graphQlConfig?: GraphQlV2Env): DynamicModule;
|
package/dist/phx.module.js
CHANGED
|
@@ -61,6 +61,7 @@ const user_manager_service_1 = require("./module/department-manager/user-manager
|
|
|
61
61
|
const check_allow_explanation_service_1 = require("./module/explanation/check-allow-explanation.service");
|
|
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
|
+
const push_notification_service_1 = require("./module/inapp-noti/push-notification.service");
|
|
64
65
|
let PHXNestModule = PHXNestModule_1 = class PHXNestModule {
|
|
65
66
|
static register() {
|
|
66
67
|
return {
|
|
@@ -113,6 +114,7 @@ let PHXNestModule = PHXNestModule_1 = class PHXNestModule {
|
|
|
113
114
|
get_list_department_manager_v2_service_1.PHXGetListDepartmentManager,
|
|
114
115
|
check_allow_explanation_service_1.PHXAllowExplanation,
|
|
115
116
|
setting_site_service_1.PHXSettingSiteService,
|
|
117
|
+
push_notification_service_1.PHXPushNotificationService,
|
|
116
118
|
],
|
|
117
119
|
};
|
|
118
120
|
}
|
|
@@ -214,6 +216,7 @@ exports.PHXNestModule = PHXNestModule = PHXNestModule_1 = __decorate([
|
|
|
214
216
|
get_list_department_manager_v2_service_1.PHXGetListDepartmentManager,
|
|
215
217
|
check_allow_explanation_service_1.PHXAllowExplanation,
|
|
216
218
|
setting_site_service_1.PHXSettingSiteService,
|
|
219
|
+
push_notification_service_1.PHXPushNotificationService,
|
|
217
220
|
],
|
|
218
221
|
exports: [
|
|
219
222
|
setting_site_service_1.PHXSettingSiteService,
|
|
@@ -263,6 +266,7 @@ exports.PHXNestModule = PHXNestModule = PHXNestModule_1 = __decorate([
|
|
|
263
266
|
user_manager_service_1.PHXGetUserManagerByUserId,
|
|
264
267
|
get_list_department_manager_v2_service_1.PHXGetListDepartmentManager,
|
|
265
268
|
check_allow_explanation_service_1.PHXAllowExplanation,
|
|
269
|
+
push_notification_service_1.PHXPushNotificationService,
|
|
266
270
|
],
|
|
267
271
|
})
|
|
268
272
|
], PHXNestModule);
|
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;
|
|
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,6FAA2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