@neutron.co.id/pendidikan-operation 1.27.23 → 1.27.24
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/build/actions/jadwal/sendClassConsultationNotification/sendClassConsultationNotification.action.cjs +2 -2
- package/build/actions/jadwal/sendClassConsultationNotification/sendClassConsultationNotification.action.mjs +2 -2
- package/build/actions/penilaian/sendScoreNotification/sendScoreNotification.action.cjs +4 -4
- package/build/actions/penilaian/sendScoreNotification/sendScoreNotification.action.mjs +4 -4
- package/build/actions/tanya/action.sendAnswer.cjs +2 -2
- package/build/actions/tanya/action.sendAnswer.mjs +2 -2
- package/package.json +2 -2
|
@@ -85,9 +85,9 @@ const sendClassConsultationNotification = operation.Action.define({
|
|
|
85
85
|
overrides: {
|
|
86
86
|
fcm: {
|
|
87
87
|
data: {
|
|
88
|
-
userId: student.userId,
|
|
88
|
+
userId: String(student.userId),
|
|
89
89
|
moduleType: "classConsultation-created",
|
|
90
|
-
moduleId: input?.classConsultationId,
|
|
90
|
+
moduleId: String(input?.classConsultationId),
|
|
91
91
|
url: `${config?.appFluffyUrl}/jadwal/consultation/${input?.classConsultationId}`
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -83,9 +83,9 @@ const sendClassConsultationNotification = Action.define({
|
|
|
83
83
|
overrides: {
|
|
84
84
|
fcm: {
|
|
85
85
|
data: {
|
|
86
|
-
userId: student.userId,
|
|
86
|
+
userId: String(student.userId),
|
|
87
87
|
moduleType: "classConsultation-created",
|
|
88
|
-
moduleId: input?.classConsultationId,
|
|
88
|
+
moduleId: String(input?.classConsultationId),
|
|
89
89
|
url: `${config?.appFluffyUrl}/jadwal/consultation/${input?.classConsultationId}`
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -122,9 +122,9 @@ const sendScoreNotification = operation.Action.define({
|
|
|
122
122
|
overrides: {
|
|
123
123
|
fcm: {
|
|
124
124
|
data: {
|
|
125
|
-
userId: gradingData.student.userId,
|
|
125
|
+
userId: String(gradingData.student.userId),
|
|
126
126
|
moduleType: "score-published",
|
|
127
|
-
moduleId: input?.gradingId,
|
|
127
|
+
moduleId: String(input?.gradingId),
|
|
128
128
|
url: `${config?.appFluffyUrl}/rapor/grading-${input?.gradingId}`
|
|
129
129
|
}
|
|
130
130
|
}
|
|
@@ -183,9 +183,9 @@ const sendScoreNotification = operation.Action.define({
|
|
|
183
183
|
overrides: {
|
|
184
184
|
fcm: {
|
|
185
185
|
data: {
|
|
186
|
-
userId: gradingData.student.userId,
|
|
186
|
+
userId: String(gradingData.student.userId),
|
|
187
187
|
moduleType: "score-published-parent",
|
|
188
|
-
moduleId: input?.gradingId,
|
|
188
|
+
moduleId: String(input?.gradingId),
|
|
189
189
|
url: `${config?.appFluffyUrl}/rapor/grading-${input?.gradingId}`
|
|
190
190
|
}
|
|
191
191
|
}
|
|
@@ -120,9 +120,9 @@ const sendScoreNotification = Action.define({
|
|
|
120
120
|
overrides: {
|
|
121
121
|
fcm: {
|
|
122
122
|
data: {
|
|
123
|
-
userId: gradingData.student.userId,
|
|
123
|
+
userId: String(gradingData.student.userId),
|
|
124
124
|
moduleType: "score-published",
|
|
125
|
-
moduleId: input?.gradingId,
|
|
125
|
+
moduleId: String(input?.gradingId),
|
|
126
126
|
url: `${config?.appFluffyUrl}/rapor/grading-${input?.gradingId}`
|
|
127
127
|
}
|
|
128
128
|
}
|
|
@@ -181,9 +181,9 @@ const sendScoreNotification = Action.define({
|
|
|
181
181
|
overrides: {
|
|
182
182
|
fcm: {
|
|
183
183
|
data: {
|
|
184
|
-
userId: gradingData.student.userId,
|
|
184
|
+
userId: String(gradingData.student.userId),
|
|
185
185
|
moduleType: "score-published-parent",
|
|
186
|
-
moduleId: input?.gradingId,
|
|
186
|
+
moduleId: String(input?.gradingId),
|
|
187
187
|
url: `${config?.appFluffyUrl}/rapor/grading-${input?.gradingId}`
|
|
188
188
|
}
|
|
189
189
|
}
|
|
@@ -106,9 +106,9 @@ const sendAnswer = operation.Action.define({
|
|
|
106
106
|
overrides: {
|
|
107
107
|
fcm: {
|
|
108
108
|
data: {
|
|
109
|
-
userId: student.userId || identifier.userId,
|
|
109
|
+
userId: String(student.userId || identifier.userId),
|
|
110
110
|
moduleType: "question-answered",
|
|
111
|
-
moduleId: input.questionId,
|
|
111
|
+
moduleId: String(input.questionId),
|
|
112
112
|
url: `${config?.appFluffyUrl}/tanya/${input.questionId}`
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -104,9 +104,9 @@ const sendAnswer = Action.define({
|
|
|
104
104
|
overrides: {
|
|
105
105
|
fcm: {
|
|
106
106
|
data: {
|
|
107
|
-
userId: student.userId || identifier.userId,
|
|
107
|
+
userId: String(student.userId || identifier.userId),
|
|
108
108
|
moduleType: "question-answered",
|
|
109
|
-
moduleId: input.questionId,
|
|
109
|
+
moduleId: String(input.questionId),
|
|
110
110
|
url: `${config?.appFluffyUrl}/tanya/${input.questionId}`
|
|
111
111
|
}
|
|
112
112
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/pendidikan-operation",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.24",
|
|
4
4
|
"description": "Operation package of Neutron Pendidikan.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"contributors": [
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"build":
|
|
89
|
+
"build": 149
|
|
90
90
|
}
|