@neutron.co.id/pendidikan-operation 1.29.6 → 1.29.7
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/checkStudentProgramExistance/checkStudentProgramExistance.action.cjs +65 -0
- package/build/actions/checkStudentProgramExistance/checkStudentProgramExistance.action.d.ts +13 -0
- package/build/actions/checkStudentProgramExistance/checkStudentProgramExistance.action.mjs +63 -0
- package/build/actions/checkStudentProgramExistance/checkStudentProgramExistance.schema.cjs +10 -0
- package/build/actions/checkStudentProgramExistance/checkStudentProgramExistance.schema.d.ts +11 -0
- package/build/actions/checkStudentProgramExistance/checkStudentProgramExistance.schema.mjs +8 -0
- package/build/actions/checkStudentProgramExistance/index.d.ts +2 -0
- package/build/actions/index.d.ts +1 -0
- package/build/actions/penilaian/getGradingComponentByType/getGradingComponentByType.action.cjs +49 -0
- package/build/actions/penilaian/getGradingComponentByType/getGradingComponentByType.action.d.ts +14 -0
- package/build/actions/penilaian/getGradingComponentByType/getGradingComponentByType.action.mjs +47 -0
- package/build/actions/penilaian/getGradingComponentByType/getGradingComponentByType.schema.cjs +11 -0
- package/build/actions/penilaian/getGradingComponentByType/getGradingComponentByType.schema.d.ts +14 -0
- package/build/actions/penilaian/getGradingComponentByType/getGradingComponentByType.schema.mjs +9 -0
- package/build/actions/penilaian/getGradingComponentByType/index.d.ts +2 -0
- package/build/actions/penilaian/getGradingStudent/getGradingStudent.action.cjs +63 -0
- package/build/actions/penilaian/getGradingStudent/getGradingStudent.action.d.ts +16 -0
- package/build/actions/penilaian/getGradingStudent/getGradingStudent.action.mjs +61 -0
- package/build/actions/penilaian/getGradingStudent/getGradingStudent.schema.cjs +13 -0
- package/build/actions/penilaian/getGradingStudent/getGradingStudent.schema.d.ts +20 -0
- package/build/actions/penilaian/getGradingStudent/getGradingStudent.schema.mjs +11 -0
- package/build/actions/penilaian/getGradingStudent/index.d.ts +2 -0
- package/build/actions/penilaian/getGradingTypeByYear/getGradingTypeByYear.action.cjs +50 -0
- package/build/actions/penilaian/getGradingTypeByYear/getGradingTypeByYear.action.d.ts +14 -0
- package/build/actions/penilaian/getGradingTypeByYear/getGradingTypeByYear.action.mjs +48 -0
- package/build/actions/penilaian/getGradingTypeByYear/getGradingTypeByYear.schema.cjs +11 -0
- package/build/actions/penilaian/getGradingTypeByYear/getGradingTypeByYear.schema.d.ts +14 -0
- package/build/actions/penilaian/getGradingTypeByYear/getGradingTypeByYear.schema.mjs +9 -0
- package/build/actions/penilaian/getGradingTypeByYear/index.d.ts +2 -0
- package/build/actions/penilaian/getScoreStudent/getScoreStudent.action.cjs +58 -0
- package/build/actions/penilaian/getScoreStudent/getScoreStudent.action.d.ts +13 -0
- package/build/actions/penilaian/getScoreStudent/getScoreStudent.action.mjs +56 -0
- package/build/actions/penilaian/getScoreStudent/getScoreStudent.schema.cjs +10 -0
- package/build/actions/penilaian/getScoreStudent/getScoreStudent.schema.d.ts +11 -0
- package/build/actions/penilaian/getScoreStudent/getScoreStudent.schema.mjs +8 -0
- package/build/actions/penilaian/getScoreStudent/index.d.ts +2 -0
- package/build/actions/penilaian/index.d.ts +4 -0
- package/build/index.cjs +26 -1
- package/build/index.d.ts +25 -0
- package/build/index.mjs +17 -2
- package/build/providers/penilaian/usePenilaian.cjs +225 -43
- package/build/providers/penilaian/usePenilaian.d.ts +24 -0
- package/build/providers/penilaian/usePenilaian.mjs +225 -43
- package/package.json +4 -4
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from '@neon.id/z';
|
|
2
|
+
export declare const GetGradingTypeByYearSchema: z.ZodObject<{
|
|
3
|
+
year: z.ZodString;
|
|
4
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
5
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
year: string;
|
|
8
|
+
limit: number;
|
|
9
|
+
page: number;
|
|
10
|
+
}, {
|
|
11
|
+
year: string;
|
|
12
|
+
limit?: number | undefined;
|
|
13
|
+
page?: number | undefined;
|
|
14
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from '@neon.id/z';
|
|
2
|
+
|
|
3
|
+
const GetGradingTypeByYearSchema = z.object({
|
|
4
|
+
year: z.string().explain({ label: "Year" }),
|
|
5
|
+
limit: z.number().default(20).explain({ label: "Limit" }),
|
|
6
|
+
page: z.number().default(1).explain({ label: "Page" })
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
export { GetGradingTypeByYearSchema };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const core = require('@neon.id/core');
|
|
4
|
+
const operation = require('@neon.id/operation');
|
|
5
|
+
const utils = require('@neon.id/utils');
|
|
6
|
+
const getScoreStudent_schema = require('./getScoreStudent.schema.cjs');
|
|
7
|
+
const useTelemetry = require('../../../providers/useTelemetry.cjs');
|
|
8
|
+
const usePenilaian = require('../../../providers/penilaian/usePenilaian.cjs');
|
|
9
|
+
|
|
10
|
+
const getScoreStudent = operation.Action.define({
|
|
11
|
+
key: "getScoreStudent",
|
|
12
|
+
name: "Get Score Student",
|
|
13
|
+
type: "command",
|
|
14
|
+
category: "domain",
|
|
15
|
+
execute: async (input, stream) => {
|
|
16
|
+
utils.guard(stream, "streamRequired");
|
|
17
|
+
const { validate } = operation.useValidation(stream, getScoreStudent_schema.GetScoreStudentSchema);
|
|
18
|
+
const data = validate(input);
|
|
19
|
+
return useTelemetry.useTelemetry(
|
|
20
|
+
stream,
|
|
21
|
+
"getScoreStudent",
|
|
22
|
+
{
|
|
23
|
+
userId: stream?.context?.identitas?.userId,
|
|
24
|
+
data
|
|
25
|
+
},
|
|
26
|
+
async () => {
|
|
27
|
+
try {
|
|
28
|
+
const { getScoresByGrading } = usePenilaian.usePenilaian(stream);
|
|
29
|
+
utils.guard(data.gradingId, "gradingIdRequired");
|
|
30
|
+
utils.guard(data.studentId, "studentIdRequired");
|
|
31
|
+
const scores = await getScoresByGrading(
|
|
32
|
+
stream,
|
|
33
|
+
data.gradingId,
|
|
34
|
+
data.studentId
|
|
35
|
+
);
|
|
36
|
+
return core.Result.ok({
|
|
37
|
+
state: "getScoreStudentSuccess",
|
|
38
|
+
message: "getScoreStudent has been sucessfully executed.",
|
|
39
|
+
data: {
|
|
40
|
+
scores
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
} catch (error) {
|
|
44
|
+
if (error?.isFailure)
|
|
45
|
+
throw error;
|
|
46
|
+
console.error(error);
|
|
47
|
+
return core.Result.fail({
|
|
48
|
+
state: `getScoreStudentFailed`,
|
|
49
|
+
message: `Failed to getScoreStudent.`,
|
|
50
|
+
error: error?.toString()
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
exports.getScoreStudent = getScoreStudent;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Action } from '@neon.id/operation';
|
|
2
|
+
import type { z } from '@neon.id/z';
|
|
3
|
+
import { GetScoreStudentSchema } from './getScoreStudent.schema';
|
|
4
|
+
export type getScoreStudentInput = z.parse<typeof GetScoreStudentSchema>;
|
|
5
|
+
export interface getScoreStudentOutput {
|
|
6
|
+
}
|
|
7
|
+
export interface getScoreStudentMeta {
|
|
8
|
+
}
|
|
9
|
+
export declare const getScoreStudent: Action<"getScoreStudent", {
|
|
10
|
+
studentId: string;
|
|
11
|
+
gradingId: string;
|
|
12
|
+
}, getScoreStudentOutput, getScoreStudentMeta>;
|
|
13
|
+
export type GetScoreStudentAction = typeof getScoreStudent;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Result } from '@neon.id/core';
|
|
2
|
+
import { Action, useValidation } from '@neon.id/operation';
|
|
3
|
+
import { guard } from '@neon.id/utils';
|
|
4
|
+
import { GetScoreStudentSchema } from './getScoreStudent.schema.mjs';
|
|
5
|
+
import { useTelemetry } from '../../../providers/useTelemetry.mjs';
|
|
6
|
+
import { usePenilaian } from '../../../providers/penilaian/usePenilaian.mjs';
|
|
7
|
+
|
|
8
|
+
const getScoreStudent = Action.define({
|
|
9
|
+
key: "getScoreStudent",
|
|
10
|
+
name: "Get Score Student",
|
|
11
|
+
type: "command",
|
|
12
|
+
category: "domain",
|
|
13
|
+
execute: async (input, stream) => {
|
|
14
|
+
guard(stream, "streamRequired");
|
|
15
|
+
const { validate } = useValidation(stream, GetScoreStudentSchema);
|
|
16
|
+
const data = validate(input);
|
|
17
|
+
return useTelemetry(
|
|
18
|
+
stream,
|
|
19
|
+
"getScoreStudent",
|
|
20
|
+
{
|
|
21
|
+
userId: stream?.context?.identitas?.userId,
|
|
22
|
+
data
|
|
23
|
+
},
|
|
24
|
+
async () => {
|
|
25
|
+
try {
|
|
26
|
+
const { getScoresByGrading } = usePenilaian(stream);
|
|
27
|
+
guard(data.gradingId, "gradingIdRequired");
|
|
28
|
+
guard(data.studentId, "studentIdRequired");
|
|
29
|
+
const scores = await getScoresByGrading(
|
|
30
|
+
stream,
|
|
31
|
+
data.gradingId,
|
|
32
|
+
data.studentId
|
|
33
|
+
);
|
|
34
|
+
return Result.ok({
|
|
35
|
+
state: "getScoreStudentSuccess",
|
|
36
|
+
message: "getScoreStudent has been sucessfully executed.",
|
|
37
|
+
data: {
|
|
38
|
+
scores
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
} catch (error) {
|
|
42
|
+
if (error?.isFailure)
|
|
43
|
+
throw error;
|
|
44
|
+
console.error(error);
|
|
45
|
+
return Result.fail({
|
|
46
|
+
state: `getScoreStudentFailed`,
|
|
47
|
+
message: `Failed to getScoreStudent.`,
|
|
48
|
+
error: error?.toString()
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export { getScoreStudent };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const z = require('@neon.id/z');
|
|
4
|
+
|
|
5
|
+
const GetScoreStudentSchema = z.z.object({
|
|
6
|
+
gradingId: z.z.string().explain({ label: "gradingId" }),
|
|
7
|
+
studentId: z.z.string().explain({ label: "studentId" })
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
exports.GetScoreStudentSchema = GetScoreStudentSchema;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from '@neon.id/z';
|
|
2
|
+
export declare const GetScoreStudentSchema: z.ZodObject<{
|
|
3
|
+
gradingId: z.ZodString;
|
|
4
|
+
studentId: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
studentId: string;
|
|
7
|
+
gradingId: string;
|
|
8
|
+
}, {
|
|
9
|
+
studentId: string;
|
|
10
|
+
gradingId: string;
|
|
11
|
+
}>;
|
|
@@ -2,3 +2,7 @@ export * from './getGradingCount';
|
|
|
2
2
|
export * from './refreshGrading';
|
|
3
3
|
export * from './refreshManyGrading';
|
|
4
4
|
export * from './sendScoreNotification';
|
|
5
|
+
export * from './getGradingTypeByYear';
|
|
6
|
+
export * from './getGradingComponentByType';
|
|
7
|
+
export * from './getGradingStudent';
|
|
8
|
+
export * from './getScoreStudent';
|
package/build/index.cjs
CHANGED
|
@@ -37,6 +37,10 @@ const action_bulkUpdateSession = require('./actions/jadwal/action.bulkUpdateSess
|
|
|
37
37
|
const action_getGradingCount = require('./actions/penilaian/getGradingCount/action.getGradingCount.cjs');
|
|
38
38
|
const refreshGrading_action = require('./actions/penilaian/refreshGrading/refreshGrading.action.cjs');
|
|
39
39
|
const refreshManyGrading_action = require('./actions/penilaian/refreshManyGrading/refreshManyGrading.action.cjs');
|
|
40
|
+
const getGradingTypeByYear_action = require('./actions/penilaian/getGradingTypeByYear/getGradingTypeByYear.action.cjs');
|
|
41
|
+
const getGradingComponentByType_action = require('./actions/penilaian/getGradingComponentByType/getGradingComponentByType.action.cjs');
|
|
42
|
+
const getGradingStudent_action = require('./actions/penilaian/getGradingStudent/getGradingStudent.action.cjs');
|
|
43
|
+
const getScoreStudent_action = require('./actions/penilaian/getScoreStudent/getScoreStudent.action.cjs');
|
|
40
44
|
const action_addManyGradingComponent = require('./actions/rasionalisasi/action.addManyGradingComponent.cjs');
|
|
41
45
|
const action_calculateGrading = require('./actions/rasionalisasi/action.calculateGrading.cjs');
|
|
42
46
|
const action_calculateManyComparator = require('./actions/rasionalisasi/action.calculateManyComparator.cjs');
|
|
@@ -59,6 +63,7 @@ const importData_action = require('./actions/importData/importData.action.cjs');
|
|
|
59
63
|
const updateReportStudent_action = require('./actions/akademik/updateReportStudent/updateReportStudent.action.cjs');
|
|
60
64
|
const syncClassGroups_action = require('./actions/jadwal/syncClassGroups/syncClassGroups.action.cjs');
|
|
61
65
|
const action_syncStudents = require('./actions/akademik/action.syncStudents.cjs');
|
|
66
|
+
const checkStudentProgramExistance_action = require('./actions/checkStudentProgramExistance/checkStudentProgramExistance.action.cjs');
|
|
62
67
|
const sendClassConsultationNotification_action = require('./actions/jadwal/sendClassConsultationNotification/sendClassConsultationNotification.action.cjs');
|
|
63
68
|
const sendScoreNotification_action = require('./actions/penilaian/sendScoreNotification/sendScoreNotification.action.cjs');
|
|
64
69
|
const replaceModuleAccessManyStudent_action = require('./actions/replaceModuleAccessManyStudent/replaceModuleAccessManyStudent.action.cjs');
|
|
@@ -81,12 +86,17 @@ const prepareMediaScanterGradingInsert_schema = require('./actions/mediaScanter/
|
|
|
81
86
|
const refreshGrading_schema = require('./actions/penilaian/refreshGrading/refreshGrading.schema.cjs');
|
|
82
87
|
const refreshManyGrading_schema = require('./actions/penilaian/refreshManyGrading/refreshManyGrading.schema.cjs');
|
|
83
88
|
const sendScoreNotification_schema = require('./actions/penilaian/sendScoreNotification/sendScoreNotification.schema.cjs');
|
|
89
|
+
const getGradingTypeByYear_schema = require('./actions/penilaian/getGradingTypeByYear/getGradingTypeByYear.schema.cjs');
|
|
90
|
+
const getGradingComponentByType_schema = require('./actions/penilaian/getGradingComponentByType/getGradingComponentByType.schema.cjs');
|
|
91
|
+
const getGradingStudent_schema = require('./actions/penilaian/getGradingStudent/getGradingStudent.schema.cjs');
|
|
92
|
+
const getScoreStudent_schema = require('./actions/penilaian/getScoreStudent/getScoreStudent.schema.cjs');
|
|
84
93
|
const prepareExperience_schema = require('./actions/prepareExperience/prepareExperience.schema.cjs');
|
|
85
94
|
const replaceModuleAccess_schema = require('./actions/replaceModuleAccess/replaceModuleAccess.schema.cjs');
|
|
86
95
|
const refreshModuleAccess_schema = require('./actions/refreshModuleAccess/refreshModuleAccess.schema.cjs');
|
|
87
96
|
const replaceModuleAccessManyStudent_schema = require('./actions/replaceModuleAccessManyStudent/replaceModuleAccessManyStudent.schema.cjs');
|
|
88
97
|
const updateMany_schema = require('./actions/updateMany/updateMany.schema.cjs');
|
|
89
98
|
const checkProgramExistance_schema = require('./actions/checkProgramExistance/checkProgramExistance.schema.cjs');
|
|
99
|
+
const checkStudentProgramExistance_schema = require('./actions/checkStudentProgramExistance/checkStudentProgramExistance.schema.cjs');
|
|
90
100
|
const hook_officePendidikan = require('./hooks/hook.officePendidikan.cjs');
|
|
91
101
|
|
|
92
102
|
const actions = {
|
|
@@ -134,6 +144,10 @@ const actions = {
|
|
|
134
144
|
getGradingCount: action_getGradingCount.getGradingCount,
|
|
135
145
|
refreshGrading: refreshGrading_action.refreshGrading,
|
|
136
146
|
refreshManyGrading: refreshManyGrading_action.refreshManyGrading,
|
|
147
|
+
getGradingTypeByYear: getGradingTypeByYear_action.getGradingTypeByYear,
|
|
148
|
+
getGradingComponentByType: getGradingComponentByType_action.getGradingComponentByType,
|
|
149
|
+
getGradingStudent: getGradingStudent_action.getGradingStudent,
|
|
150
|
+
getScoreStudent: getScoreStudent_action.getScoreStudent,
|
|
137
151
|
// Rasionalisasi
|
|
138
152
|
addManyGradingComponent: action_addManyGradingComponent.addManyGradingComponent,
|
|
139
153
|
calculateGrading: action_calculateGrading.calculateGrading,
|
|
@@ -164,7 +178,8 @@ const actions = {
|
|
|
164
178
|
updateReportStudent: updateReportStudent_action.updateReportStudent,
|
|
165
179
|
// sync
|
|
166
180
|
syncClassGroups: syncClassGroups_action.syncClassGroups,
|
|
167
|
-
syncStudents: action_syncStudents.syncStudents
|
|
181
|
+
syncStudents: action_syncStudents.syncStudents,
|
|
182
|
+
checkStudentProgramExistance: checkStudentProgramExistance_action.checkStudentProgramExistance
|
|
168
183
|
};
|
|
169
184
|
|
|
170
185
|
exports.prepareExperience = prepareExperience_action.prepareExperience;
|
|
@@ -204,6 +219,10 @@ exports.bulkUpdateSession = action_bulkUpdateSession.bulkUpdateSession;
|
|
|
204
219
|
exports.getGradingCount = action_getGradingCount.getGradingCount;
|
|
205
220
|
exports.refreshGrading = refreshGrading_action.refreshGrading;
|
|
206
221
|
exports.refreshManyGrading = refreshManyGrading_action.refreshManyGrading;
|
|
222
|
+
exports.getGradingTypeByYear = getGradingTypeByYear_action.getGradingTypeByYear;
|
|
223
|
+
exports.getGradingComponentByType = getGradingComponentByType_action.getGradingComponentByType;
|
|
224
|
+
exports.getGradingStudent = getGradingStudent_action.getGradingStudent;
|
|
225
|
+
exports.getScoreStudent = getScoreStudent_action.getScoreStudent;
|
|
207
226
|
exports.addManyGradingComponent = action_addManyGradingComponent.addManyGradingComponent;
|
|
208
227
|
exports.calculateGrading = action_calculateGrading.calculateGrading;
|
|
209
228
|
exports._calculateComparison = action_calculateManyComparator._calculateComparison;
|
|
@@ -228,6 +247,7 @@ exports.importData = importData_action.importData;
|
|
|
228
247
|
exports.updateReportStudent = updateReportStudent_action.updateReportStudent;
|
|
229
248
|
exports.syncClassGroups = syncClassGroups_action.syncClassGroups;
|
|
230
249
|
exports.syncStudents = action_syncStudents.syncStudents;
|
|
250
|
+
exports.checkStudentProgramExistance = checkStudentProgramExistance_action.checkStudentProgramExistance;
|
|
231
251
|
exports.sendClassConsultationNotification = sendClassConsultationNotification_action.sendClassConsultationNotification;
|
|
232
252
|
exports.sendScoreNotification = sendScoreNotification_action.sendScoreNotification;
|
|
233
253
|
exports.replaceModuleAccessManyStudent = replaceModuleAccessManyStudent_action.replaceModuleAccessManyStudent;
|
|
@@ -250,11 +270,16 @@ exports.PrepareMediaScanterGradingInsertSchema = prepareMediaScanterGradingInser
|
|
|
250
270
|
exports.RefreshGradingSchema = refreshGrading_schema.RefreshGradingSchema;
|
|
251
271
|
exports.RefreshManyGradingSchema = refreshManyGrading_schema.RefreshManyGradingSchema;
|
|
252
272
|
exports.SendScoreNotificationSchema = sendScoreNotification_schema.SendScoreNotificationSchema;
|
|
273
|
+
exports.GetGradingTypeByYearSchema = getGradingTypeByYear_schema.GetGradingTypeByYearSchema;
|
|
274
|
+
exports.GetGradingComponentByTypeSchema = getGradingComponentByType_schema.GetGradingComponentByTypeSchema;
|
|
275
|
+
exports.GetGradingStudentSchema = getGradingStudent_schema.GetGradingStudentSchema;
|
|
276
|
+
exports.GetScoreStudentSchema = getScoreStudent_schema.GetScoreStudentSchema;
|
|
253
277
|
exports.PrepareExperienceSchema = prepareExperience_schema.PrepareExperienceSchema;
|
|
254
278
|
exports.ReplaceModuleAccessSchema = replaceModuleAccess_schema.ReplaceModuleAccessSchema;
|
|
255
279
|
exports.RefreshModuleAccessSchema = refreshModuleAccess_schema.RefreshModuleAccessSchema;
|
|
256
280
|
exports.ReplaceModuleAccessManyStudentSchema = replaceModuleAccessManyStudent_schema.ReplaceModuleAccessManyStudentSchema;
|
|
257
281
|
exports.UpdateManySchema = updateMany_schema.UpdateManySchema;
|
|
258
282
|
exports.CheckProgramExistanceSchema = checkProgramExistance_schema.CheckProgramExistanceSchema;
|
|
283
|
+
exports.CheckStudentProgramExistanceSchema = checkStudentProgramExistance_schema.CheckStudentProgramExistanceSchema;
|
|
259
284
|
exports.registerOfficePendidikanHooks = hook_officePendidikan.registerOfficePendidikanHooks;
|
|
260
285
|
exports.actions = actions;
|
package/build/index.d.ts
CHANGED
|
@@ -96,6 +96,27 @@ export declare const actions: {
|
|
|
96
96
|
refreshManyGrading: import("@neon.id/operation").Action<"refreshManyGrading", {
|
|
97
97
|
gradingTypeId?: string | undefined;
|
|
98
98
|
}, import("./actions").RefreshManyGradingOutput, import("./actions").RefreshManyGradingMeta>;
|
|
99
|
+
getGradingTypeByYear: import("@neon.id/operation").Action<"getGradingTypeByYear", {
|
|
100
|
+
year: string;
|
|
101
|
+
limit: number;
|
|
102
|
+
page: number;
|
|
103
|
+
}, import("./actions").getGradingTypeByYearOutput, import("./actions").getGradingTypeByYearMeta>;
|
|
104
|
+
getGradingComponentByType: import("@neon.id/operation").Action<"getGradingComponentByType", {
|
|
105
|
+
gradingTypeId: string;
|
|
106
|
+
limit: number;
|
|
107
|
+
page: number;
|
|
108
|
+
}, import("./actions").getGradingComponentByTypeOutput, import("./actions").getGradingComponentByTypeMeta>;
|
|
109
|
+
getGradingStudent: import("@neon.id/operation").Action<"getGradingStudent", {
|
|
110
|
+
branchId: string;
|
|
111
|
+
studentId: string;
|
|
112
|
+
gradingTypeId: string;
|
|
113
|
+
limit: number;
|
|
114
|
+
page: number;
|
|
115
|
+
}, import("./actions").getGradingStudentOutput, import("./actions").getGradingStudentMeta>;
|
|
116
|
+
getScoreStudent: import("@neon.id/operation").Action<"getScoreStudent", {
|
|
117
|
+
studentId: string;
|
|
118
|
+
gradingId: string;
|
|
119
|
+
}, import("./actions").getScoreStudentOutput, import("./actions").getScoreStudentMeta>;
|
|
99
120
|
addManyGradingComponent: import("@neon.id/operation").Action<"addManyGradingComponent", import("./actions").AddManyGradingComponentInput, import("./actions").AddManyGradingComponentOutput, import("./actions").AddManyGradingComponentMeta>;
|
|
100
121
|
calculateGrading: import("@neon.id/operation").Action<"calculateGrading", import("./actions").CalculateGradingInput, import("./actions").CalculateGradingOutput, import("./actions").CalculateGradingMeta>;
|
|
101
122
|
calculateManyComparator: import("@neon.id/operation").Action<"calculateManyComparator", import("./actions").CalculateManyComparatorInput, import("./actions").CalculateManyComparatorOutput, import("./actions").CalculateManyComparatorMeta>;
|
|
@@ -138,4 +159,8 @@ export declare const actions: {
|
|
|
138
159
|
startedAt?: string | undefined;
|
|
139
160
|
}, import("./actions").SyncClassGroupsOutput, import("./actions").SyncClassGroupsaMeta>;
|
|
140
161
|
syncStudents: import("@neon.id/operation").Action<"syncStudents", import("./actions").SyncStudentsInput, import("./actions").SyncStudentsOutput, import("./actions").SyncStudentsMeta>;
|
|
162
|
+
checkStudentProgramExistance: import("@neon.id/operation").Action<"checkStudentProgramExistance", {
|
|
163
|
+
studentId: string;
|
|
164
|
+
programId: string;
|
|
165
|
+
}, import("./actions").CheckStudentProgramExistanceOutput, import("./actions").CheckStudentProgramExistanceMeta>;
|
|
141
166
|
};
|
package/build/index.mjs
CHANGED
|
@@ -35,6 +35,10 @@ import { bulkUpdateSession } from './actions/jadwal/action.bulkUpdateSession.mjs
|
|
|
35
35
|
import { getGradingCount } from './actions/penilaian/getGradingCount/action.getGradingCount.mjs';
|
|
36
36
|
import { refreshGrading } from './actions/penilaian/refreshGrading/refreshGrading.action.mjs';
|
|
37
37
|
import { refreshManyGrading } from './actions/penilaian/refreshManyGrading/refreshManyGrading.action.mjs';
|
|
38
|
+
import { getGradingTypeByYear } from './actions/penilaian/getGradingTypeByYear/getGradingTypeByYear.action.mjs';
|
|
39
|
+
import { getGradingComponentByType } from './actions/penilaian/getGradingComponentByType/getGradingComponentByType.action.mjs';
|
|
40
|
+
import { getGradingStudent } from './actions/penilaian/getGradingStudent/getGradingStudent.action.mjs';
|
|
41
|
+
import { getScoreStudent } from './actions/penilaian/getScoreStudent/getScoreStudent.action.mjs';
|
|
38
42
|
import { addManyGradingComponent } from './actions/rasionalisasi/action.addManyGradingComponent.mjs';
|
|
39
43
|
import { calculateGrading } from './actions/rasionalisasi/action.calculateGrading.mjs';
|
|
40
44
|
import { calculateManyComparator } from './actions/rasionalisasi/action.calculateManyComparator.mjs';
|
|
@@ -59,6 +63,7 @@ import { importData } from './actions/importData/importData.action.mjs';
|
|
|
59
63
|
import { updateReportStudent } from './actions/akademik/updateReportStudent/updateReportStudent.action.mjs';
|
|
60
64
|
import { syncClassGroups } from './actions/jadwal/syncClassGroups/syncClassGroups.action.mjs';
|
|
61
65
|
import { syncStudents } from './actions/akademik/action.syncStudents.mjs';
|
|
66
|
+
import { checkStudentProgramExistance } from './actions/checkStudentProgramExistance/checkStudentProgramExistance.action.mjs';
|
|
62
67
|
import { sendClassConsultationNotification } from './actions/jadwal/sendClassConsultationNotification/sendClassConsultationNotification.action.mjs';
|
|
63
68
|
import { sendScoreNotification } from './actions/penilaian/sendScoreNotification/sendScoreNotification.action.mjs';
|
|
64
69
|
import { replaceModuleAccessManyStudent } from './actions/replaceModuleAccessManyStudent/replaceModuleAccessManyStudent.action.mjs';
|
|
@@ -81,12 +86,17 @@ export { PrepareMediaScanterGradingInsertSchema } from './actions/mediaScanter/p
|
|
|
81
86
|
export { RefreshGradingSchema } from './actions/penilaian/refreshGrading/refreshGrading.schema.mjs';
|
|
82
87
|
export { RefreshManyGradingSchema } from './actions/penilaian/refreshManyGrading/refreshManyGrading.schema.mjs';
|
|
83
88
|
export { SendScoreNotificationSchema } from './actions/penilaian/sendScoreNotification/sendScoreNotification.schema.mjs';
|
|
89
|
+
export { GetGradingTypeByYearSchema } from './actions/penilaian/getGradingTypeByYear/getGradingTypeByYear.schema.mjs';
|
|
90
|
+
export { GetGradingComponentByTypeSchema } from './actions/penilaian/getGradingComponentByType/getGradingComponentByType.schema.mjs';
|
|
91
|
+
export { GetGradingStudentSchema } from './actions/penilaian/getGradingStudent/getGradingStudent.schema.mjs';
|
|
92
|
+
export { GetScoreStudentSchema } from './actions/penilaian/getScoreStudent/getScoreStudent.schema.mjs';
|
|
84
93
|
export { PrepareExperienceSchema } from './actions/prepareExperience/prepareExperience.schema.mjs';
|
|
85
94
|
export { ReplaceModuleAccessSchema } from './actions/replaceModuleAccess/replaceModuleAccess.schema.mjs';
|
|
86
95
|
export { RefreshModuleAccessSchema } from './actions/refreshModuleAccess/refreshModuleAccess.schema.mjs';
|
|
87
96
|
export { ReplaceModuleAccessManyStudentSchema } from './actions/replaceModuleAccessManyStudent/replaceModuleAccessManyStudent.schema.mjs';
|
|
88
97
|
export { UpdateManySchema } from './actions/updateMany/updateMany.schema.mjs';
|
|
89
98
|
export { CheckProgramExistanceSchema } from './actions/checkProgramExistance/checkProgramExistance.schema.mjs';
|
|
99
|
+
export { CheckStudentProgramExistanceSchema } from './actions/checkStudentProgramExistance/checkStudentProgramExistance.schema.mjs';
|
|
90
100
|
export { registerOfficePendidikanHooks } from './hooks/hook.officePendidikan.mjs';
|
|
91
101
|
|
|
92
102
|
const actions = {
|
|
@@ -134,6 +144,10 @@ const actions = {
|
|
|
134
144
|
getGradingCount,
|
|
135
145
|
refreshGrading,
|
|
136
146
|
refreshManyGrading,
|
|
147
|
+
getGradingTypeByYear,
|
|
148
|
+
getGradingComponentByType,
|
|
149
|
+
getGradingStudent,
|
|
150
|
+
getScoreStudent,
|
|
137
151
|
// Rasionalisasi
|
|
138
152
|
addManyGradingComponent,
|
|
139
153
|
calculateGrading,
|
|
@@ -164,7 +178,8 @@ const actions = {
|
|
|
164
178
|
updateReportStudent,
|
|
165
179
|
// sync
|
|
166
180
|
syncClassGroups,
|
|
167
|
-
syncStudents
|
|
181
|
+
syncStudents,
|
|
182
|
+
checkStudentProgramExistance
|
|
168
183
|
};
|
|
169
184
|
|
|
170
|
-
export { acceptQuestion, actions, addManyGradingComponent, allConflict, bulkDeleteSession, bulkUpdateSession, calculateGrading, calculateManyComparator, calculateOneComparator, checkClassAttendance, checkProgramExistance, classSessionInventoryOccurs, classSessionInventoryPreparation, clearAllOverrides, clearGrading, clearOneOverrides, createGradingAndScores, createManySession, customSaveOneClassSession, deleteManySession, editAnswer, generateGrading, getClassSessionConflicts, getGradingCount, getQuestionCount, getStaffId, getStaffPoint, getStudentId, getStudentPoint, getTeacherPoint, hasUnderstand, importData, notUnderstand, prepareConflict, prepareExperience, prepareMediaScanterGradingInsert, presenceSessionStudent, presenceSessionTeacher, rasionalizeGrading, refreshGrading, refreshManyGrading, refreshModuleAccess, reminderQuestions, replaceModuleAccess, replaceModuleAccessManyStudent, sendAnswer, sendClassConsultationNotification, sendClassSessionNotification, sendPointNotification, sendQuestion, sendScoreNotification, setAksesModulSiswaDiClassGroup, setClassSessionDependencies, setTravelWageSessions, syncClassGroups, syncClassSessions, syncCommitment, syncStudentAdmisi, syncStudentBranch, syncStudentInformation, syncStudentReport, syncStudents, updateGradingAndScores, updateMany, updateReportStudent, userCountStats };
|
|
185
|
+
export { acceptQuestion, actions, addManyGradingComponent, allConflict, bulkDeleteSession, bulkUpdateSession, calculateGrading, calculateManyComparator, calculateOneComparator, checkClassAttendance, checkProgramExistance, checkStudentProgramExistance, classSessionInventoryOccurs, classSessionInventoryPreparation, clearAllOverrides, clearGrading, clearOneOverrides, createGradingAndScores, createManySession, customSaveOneClassSession, deleteManySession, editAnswer, generateGrading, getClassSessionConflicts, getGradingComponentByType, getGradingCount, getGradingStudent, getGradingTypeByYear, getQuestionCount, getScoreStudent, getStaffId, getStaffPoint, getStudentId, getStudentPoint, getTeacherPoint, hasUnderstand, importData, notUnderstand, prepareConflict, prepareExperience, prepareMediaScanterGradingInsert, presenceSessionStudent, presenceSessionTeacher, rasionalizeGrading, refreshGrading, refreshManyGrading, refreshModuleAccess, reminderQuestions, replaceModuleAccess, replaceModuleAccessManyStudent, sendAnswer, sendClassConsultationNotification, sendClassSessionNotification, sendPointNotification, sendQuestion, sendScoreNotification, setAksesModulSiswaDiClassGroup, setClassSessionDependencies, setTravelWageSessions, syncClassGroups, syncClassSessions, syncCommitment, syncStudentAdmisi, syncStudentBranch, syncStudentInformation, syncStudentReport, syncStudents, updateGradingAndScores, updateMany, updateReportStudent, userCountStats };
|