@neutron.co.id/pendidikan-operation 1.26.15-beta.1 → 1.26.16

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.
@@ -26,6 +26,7 @@ const syncStudentReport = operation.Action.define({
26
26
  $gte: input.startedAt,
27
27
  $lte: input.endedAt
28
28
  },
29
+ branchId: { $in: input.branchIds },
29
30
  deletedAt: { $exists: false }
30
31
  }).sort({ createdAt: -1 });
31
32
  const gradingCount = resultGrading.length;
@@ -24,6 +24,7 @@ const syncStudentReport = Action.define({
24
24
  $gte: input.startedAt,
25
25
  $lte: input.endedAt
26
26
  },
27
+ branchId: { $in: input.branchIds },
27
28
  deletedAt: { $exists: false }
28
29
  }).sort({ createdAt: -1 });
29
30
  const gradingCount = resultGrading.length;
@@ -49,7 +49,8 @@ const createManySession = operation.Action.define({
49
49
  isTitleSession: false,
50
50
  subjectIds: input.subjectIds,
51
51
  teacherIds: input.teacherRepeaterIds,
52
- classSessionPurposeId: input.classSessionPurposeId
52
+ classSessionPurposeId: input.classSessionPurposeId,
53
+ createdAt: (/* @__PURE__ */ new Date()).toISOString()
53
54
  });
54
55
  intervalCount += input.interval;
55
56
  }
@@ -47,7 +47,8 @@ const createManySession = Action.define({
47
47
  isTitleSession: false,
48
48
  subjectIds: input.subjectIds,
49
49
  teacherIds: input.teacherRepeaterIds,
50
- classSessionPurposeId: input.classSessionPurposeId
50
+ classSessionPurposeId: input.classSessionPurposeId,
51
+ createdAt: (/* @__PURE__ */ new Date()).toISOString()
51
52
  });
52
53
  intervalCount += input.interval;
53
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/pendidikan-operation",
3
- "version": "1.26.15-beta.1",
3
+ "version": "1.26.16",
4
4
  "description": "Operation package of Neutron Pendidikan.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "contributors": [
@@ -39,9 +39,9 @@
39
39
  "@neon.id/types": "^1.69.0",
40
40
  "@neon.id/utils": "^1.52.0",
41
41
  "@neon.id/z": "^1.16.0",
42
- "@neutron.co.id/akademik-models": "^1.19.9",
42
+ "@neutron.co.id/akademik-models": "^1.19.10",
43
43
  "@neutron.co.id/jadwal-models": "^1.19.5",
44
- "@neutron.co.id/pendidikan-types": "^1.22.8",
44
+ "@neutron.co.id/pendidikan-types": "^1.22.9",
45
45
  "@neutron.co.id/penilaian-models": "^1.17.5",
46
46
  "@neutron.co.id/personalia-models": "^1.11.6",
47
47
  "@neutron.co.id/tanya-models": "^1.13.1"
@@ -73,9 +73,9 @@
73
73
  "@neon.id/types": "^1.69.0",
74
74
  "@neon.id/utils": "^1.52.0",
75
75
  "@neon.id/z": "^1.16.0",
76
- "@neutron.co.id/akademik-models": "^1.19.9",
76
+ "@neutron.co.id/akademik-models": "^1.19.10",
77
77
  "@neutron.co.id/jadwal-models": "^1.19.5",
78
- "@neutron.co.id/pendidikan-types": "^1.22.8",
78
+ "@neutron.co.id/pendidikan-types": "^1.22.9",
79
79
  "@neutron.co.id/penilaian-models": "^1.17.5",
80
80
  "@neutron.co.id/personalia-models": "^1.11.6",
81
81
  "@neutron.co.id/tanya-models": "^1.13.1"
@@ -83,5 +83,5 @@
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  },
86
- "build": 101
86
+ "build": 103
87
87
  }