@neutron.co.id/pendidikan-operation 1.26.8 → 1.26.9

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.
@@ -21,6 +21,7 @@ function usePenilaian(stream) {
21
21
  await prepareScoreComponentMapper(stream2, grading);
22
22
  gradingUpdates.push(grading);
23
23
  }
24
+ console.log("grading", gradings);
24
25
  await updateManyGradings(stream2, gradingUpdates);
25
26
  }
26
27
  async function prepareScoreComponentMapper(stream2, grading) {
@@ -71,9 +72,10 @@ function usePenilaian(stream) {
71
72
  const result = await stream2.actions.data.getMany.execute({
72
73
  model: "neu:penilaian:grading",
73
74
  query: query.Query.define({
74
- filter: { gradingTypeId: input.gradingTypeId, refreshAmount: null },
75
+ filter: { gradingTypeId: input.gradingTypeId, createdAt: { $gt: /* @__PURE__ */ new Date("2024-12-27T00:00:00Z") }, refreshAmount: null },
75
76
  fields: {
76
77
  id: 1,
78
+ createdAt: 1,
77
79
  data: 1,
78
80
  gradingTypeId: 1,
79
81
  refreshAmount: 1,
@@ -19,6 +19,7 @@ function usePenilaian(stream) {
19
19
  await prepareScoreComponentMapper(stream2, grading);
20
20
  gradingUpdates.push(grading);
21
21
  }
22
+ console.log("grading", gradings);
22
23
  await updateManyGradings(stream2, gradingUpdates);
23
24
  }
24
25
  async function prepareScoreComponentMapper(stream2, grading) {
@@ -69,9 +70,10 @@ function usePenilaian(stream) {
69
70
  const result = await stream2.actions.data.getMany.execute({
70
71
  model: "neu:penilaian:grading",
71
72
  query: Query.define({
72
- filter: { gradingTypeId: input.gradingTypeId, refreshAmount: null },
73
+ filter: { gradingTypeId: input.gradingTypeId, createdAt: { $gt: /* @__PURE__ */ new Date("2024-12-27T00:00:00Z") }, refreshAmount: null },
73
74
  fields: {
74
75
  id: 1,
76
+ createdAt: 1,
75
77
  data: 1,
76
78
  gradingTypeId: 1,
77
79
  refreshAmount: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/pendidikan-operation",
3
- "version": "1.26.8",
3
+ "version": "1.26.9",
4
4
  "description": "Operation package of Neutron Pendidikan.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "contributors": [
@@ -83,5 +83,5 @@
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  },
86
- "build": 94
86
+ "build": 95
87
87
  }