@neutron.co.id/operasional-interfaces 1.3.3-beta.2 → 1.3.4-beta.2

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/index.cjs CHANGED
@@ -5585,6 +5585,7 @@ function withOperasional() {
5585
5585
  image: 1,
5586
5586
  branchId: 1,
5587
5587
  branchIds: 1,
5588
+ userId: 1,
5588
5589
  branch: { id: 1, name: 1 },
5589
5590
  branches: { id: 1, name: 1 },
5590
5591
  note: 1
@@ -6958,12 +6959,14 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
6958
6959
  vue.createVNode(vue.unref(office.OfficeRelation), {
6959
6960
  modelValue: vue.unref(values),
6960
6961
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
6961
- field: vue.unref(fields).branch
6962
+ field: vue.unref(fields).branch,
6963
+ fragment: { id: 1, display: 1, name: 1 }
6962
6964
  }, null, 8, ["modelValue", "field"]),
6963
6965
  vue.createVNode(vue.unref(office.OfficeRelation), {
6964
6966
  modelValue: vue.unref(values),
6965
6967
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
6966
- field: vue.unref(fields).branches
6968
+ field: vue.unref(fields).branches,
6969
+ fragment: { id: 1, display: 1, name: 1 }
6967
6970
  }, null, 8, ["modelValue", "field"])
6968
6971
  ]),
6969
6972
  _: 1
@@ -7009,8 +7012,8 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
7009
7012
  };
7010
7013
  }
7011
7014
  });
7012
- const StaffSingle_vue_vue_type_style_index_0_scoped_dedad3d9_lang = "";
7013
- const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-dedad3d9"]]);
7015
+ const StaffSingle_vue_vue_type_style_index_0_scoped_a6f4ca9c_lang = "";
7016
+ const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-a6f4ca9c"]]);
7014
7017
  const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
7015
7018
  __name: "StaffIdentity",
7016
7019
  setup(__props) {
@@ -7285,6 +7288,28 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
7285
7288
  saveOne,
7286
7289
  discardChanges
7287
7290
  } = context.useSingle();
7291
+ const authStore = identitasInterfaces.useAuthStore();
7292
+ const { userId } = pinia.storeToRefs(authStore);
7293
+ const { staff } = useOperasional();
7294
+ vue.onMounted(() => {
7295
+ var _a, _b, _c, _d, _e, _f;
7296
+ if (id.value === "new") {
7297
+ values.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7298
+ values.value.branchIds = [((_b = staff.value) == null ? void 0 : _b.branchId) || ""];
7299
+ values.value.userId = userId.value;
7300
+ values.value.situationReportedBy = [
7301
+ {
7302
+ id: (_c = staff.value) == null ? void 0 : _c.id,
7303
+ display: (_d = staff.value) == null ? void 0 : _d.display
7304
+ }
7305
+ ];
7306
+ }
7307
+ if (isChanged) {
7308
+ values.value.situationReportedByIds = [((_e = staff.value) == null ? void 0 : _e.id) || ""];
7309
+ values.value.branchIds = [((_f = staff.value) == null ? void 0 : _f.branchId) || ""];
7310
+ values.value.userId = userId.value;
7311
+ }
7312
+ });
7288
7313
  return (_ctx, _cache) => {
7289
7314
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-situation-single" }, {
7290
7315
  default: vue.withCtx(() => [
@@ -7333,7 +7358,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
7333
7358
  modelValue: vue.unref(values),
7334
7359
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
7335
7360
  field: vue.unref(fields).situationReportedBy,
7336
- "is-disabled": ""
7361
+ fragment: { id: 1, display: 1, name: 1 }
7337
7362
  }, null, 8, ["modelValue", "field"]),
7338
7363
  vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
7339
7364
  default: vue.withCtx(() => [
@@ -7424,6 +7449,26 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
7424
7449
  saveOne,
7425
7450
  discardChanges
7426
7451
  } = context.useSingle();
7452
+ const authStore = identitasInterfaces.useAuthStore();
7453
+ const { userId } = pinia.storeToRefs(authStore);
7454
+ const { staff } = useOperasional();
7455
+ vue.onMounted(() => {
7456
+ var _a, _b, _c, _d;
7457
+ if (id.value === "new") {
7458
+ initialValues.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7459
+ initialValues.value.situationReportedBy = [
7460
+ {
7461
+ id: (_b = staff.value) == null ? void 0 : _b.id,
7462
+ display: (_c = staff.value) == null ? void 0 : _c.display
7463
+ }
7464
+ ];
7465
+ initialValues.value.branches = (_d = staff.value) == null ? void 0 : _d.branches;
7466
+ values.value.userId = userId.value;
7467
+ }
7468
+ if (isChanged) {
7469
+ values.value.userId = userId.value;
7470
+ }
7471
+ });
7427
7472
  return (_ctx, _cache) => {
7428
7473
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-situation-single" }, {
7429
7474
  default: vue.withCtx(() => [
@@ -7473,13 +7518,18 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
7473
7518
  _: 1
7474
7519
  /* STABLE */
7475
7520
  }),
7476
- vue.createVNode(vue.unref(office.OfficeRelation), {
7477
- modelValue: vue.unref(values),
7478
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
7479
- field: vue.unref(fields).branches,
7480
- title: "Situasi",
7481
- "is-disabled": ""
7482
- }, null, 8, ["modelValue", "field"]),
7521
+ vue.createVNode(vue.unref(form.NeonFields), { title: "Situasi" }, {
7522
+ default: vue.withCtx(() => [
7523
+ vue.createVNode(vue.unref(office.OfficeRelation), {
7524
+ modelValue: vue.unref(values),
7525
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
7526
+ field: vue.unref(fields).branches,
7527
+ "is-disabled": ""
7528
+ }, null, 8, ["modelValue", "field"])
7529
+ ]),
7530
+ _: 1
7531
+ /* STABLE */
7532
+ }),
7483
7533
  vue.createVNode(vue.unref(office.OfficeRelation), {
7484
7534
  modelValue: vue.unref(values),
7485
7535
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
@@ -7658,7 +7708,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
7658
7708
  values.value.estimatedRealizedAssignmentEnd
7659
7709
  ],
7660
7710
  ([
7661
- resultAssignment,
7711
+ estimatedRealizedAssignmentEndresultAssignment,
7662
7712
  estimatedRealizedAssignmentStart,
7663
7713
  estimatedRealizedAssignmentEnd
7664
7714
  ]) => {
@@ -7667,11 +7717,11 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
7667
7717
  onHandleTaskWork.value.onStartTaskWorking = true;
7668
7718
  onHandleTaskWork.value.onFinishedTaskWorking = false;
7669
7719
  break;
7670
- case (estimatedRealizedAssignmentStart !== null || estimatedRealizedAssignmentStart !== void 0 && resultAssignment === null || resultAssignment === void 0):
7720
+ case (estimatedRealizedAssignmentEnd === void 0 || estimatedRealizedAssignmentEnd === null):
7671
7721
  onHandleTaskWork.value.onStartTaskWorking = false;
7672
7722
  onHandleTaskWork.value.onFinishedTaskWorking = true;
7673
7723
  break;
7674
- case (resultAssignment !== null || resultAssignment !== void 0 || estimatedRealizedAssignmentEnd !== null || estimatedRealizedAssignmentEnd !== void 0):
7724
+ case (estimatedRealizedAssignmentEnd !== void 0 || estimatedRealizedAssignmentEnd !== null):
7675
7725
  onHandleTaskWork.value.onStartTaskWorking = false;
7676
7726
  onHandleTaskWork.value.onFinishedTaskWorking = true;
7677
7727
  onHandleTaskWork.value.onFinishedDisabledTaskWorking = true;
@@ -7683,7 +7733,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
7683
7733
  }
7684
7734
  },
7685
7735
  {
7686
- immediate: true
7736
+ immediate: false
7687
7737
  }
7688
7738
  );
7689
7739
  const onClickHandlerStartTaskWork = async () => {
@@ -8015,6 +8065,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
8015
8065
  saveOne,
8016
8066
  discardChanges
8017
8067
  } = context.useSingle();
8068
+ const authStore = identitasInterfaces.useAuthStore();
8069
+ const { userId } = pinia.storeToRefs(authStore);
8070
+ useOperasional();
8071
+ vue.onMounted(() => {
8072
+ if (id.value === "new") {
8073
+ values.value.userId = userId.value;
8074
+ }
8075
+ if (isChanged) {
8076
+ values.value.userId = userId.value;
8077
+ }
8078
+ });
8018
8079
  function onChangeDateUpdate(date) {
8019
8080
  values.value.estimatedStartDate = date == null ? void 0 : date.start.toISOString();
8020
8081
  values.value.estimatedEndDate = date == null ? void 0 : date.end.toISOString();
package/build/index.mjs CHANGED
@@ -5583,6 +5583,7 @@ function withOperasional() {
5583
5583
  image: 1,
5584
5584
  branchId: 1,
5585
5585
  branchIds: 1,
5586
+ userId: 1,
5586
5587
  branch: { id: 1, name: 1 },
5587
5588
  branches: { id: 1, name: 1 },
5588
5589
  note: 1
@@ -6956,12 +6957,14 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
6956
6957
  createVNode(unref(OfficeRelation), {
6957
6958
  modelValue: unref(values),
6958
6959
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
6959
- field: unref(fields).branch
6960
+ field: unref(fields).branch,
6961
+ fragment: { id: 1, display: 1, name: 1 }
6960
6962
  }, null, 8, ["modelValue", "field"]),
6961
6963
  createVNode(unref(OfficeRelation), {
6962
6964
  modelValue: unref(values),
6963
6965
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => isRef(values) ? values.value = $event : null),
6964
- field: unref(fields).branches
6966
+ field: unref(fields).branches,
6967
+ fragment: { id: 1, display: 1, name: 1 }
6965
6968
  }, null, 8, ["modelValue", "field"])
6966
6969
  ]),
6967
6970
  _: 1
@@ -7007,8 +7010,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
7007
7010
  };
7008
7011
  }
7009
7012
  });
7010
- const StaffSingle_vue_vue_type_style_index_0_scoped_dedad3d9_lang = "";
7011
- const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-dedad3d9"]]);
7013
+ const StaffSingle_vue_vue_type_style_index_0_scoped_a6f4ca9c_lang = "";
7014
+ const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-a6f4ca9c"]]);
7012
7015
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
7013
7016
  __name: "StaffIdentity",
7014
7017
  setup(__props) {
@@ -7283,6 +7286,28 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7283
7286
  saveOne,
7284
7287
  discardChanges
7285
7288
  } = useSingle();
7289
+ const authStore = useAuthStore();
7290
+ const { userId } = storeToRefs(authStore);
7291
+ const { staff } = useOperasional();
7292
+ onMounted(() => {
7293
+ var _a, _b, _c, _d, _e, _f;
7294
+ if (id.value === "new") {
7295
+ values.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7296
+ values.value.branchIds = [((_b = staff.value) == null ? void 0 : _b.branchId) || ""];
7297
+ values.value.userId = userId.value;
7298
+ values.value.situationReportedBy = [
7299
+ {
7300
+ id: (_c = staff.value) == null ? void 0 : _c.id,
7301
+ display: (_d = staff.value) == null ? void 0 : _d.display
7302
+ }
7303
+ ];
7304
+ }
7305
+ if (isChanged) {
7306
+ values.value.situationReportedByIds = [((_e = staff.value) == null ? void 0 : _e.id) || ""];
7307
+ values.value.branchIds = [((_f = staff.value) == null ? void 0 : _f.branchId) || ""];
7308
+ values.value.userId = userId.value;
7309
+ }
7310
+ });
7286
7311
  return (_ctx, _cache) => {
7287
7312
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-situation-single" }, {
7288
7313
  default: withCtx(() => [
@@ -7331,7 +7356,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7331
7356
  modelValue: unref(values),
7332
7357
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
7333
7358
  field: unref(fields).situationReportedBy,
7334
- "is-disabled": ""
7359
+ fragment: { id: 1, display: 1, name: 1 }
7335
7360
  }, null, 8, ["modelValue", "field"]),
7336
7361
  createVNode(unref(NeonFields), { md: "grid-cols-4" }, {
7337
7362
  default: withCtx(() => [
@@ -7422,6 +7447,26 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
7422
7447
  saveOne,
7423
7448
  discardChanges
7424
7449
  } = useSingle();
7450
+ const authStore = useAuthStore();
7451
+ const { userId } = storeToRefs(authStore);
7452
+ const { staff } = useOperasional();
7453
+ onMounted(() => {
7454
+ var _a, _b, _c, _d;
7455
+ if (id.value === "new") {
7456
+ initialValues.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7457
+ initialValues.value.situationReportedBy = [
7458
+ {
7459
+ id: (_b = staff.value) == null ? void 0 : _b.id,
7460
+ display: (_c = staff.value) == null ? void 0 : _c.display
7461
+ }
7462
+ ];
7463
+ initialValues.value.branches = (_d = staff.value) == null ? void 0 : _d.branches;
7464
+ values.value.userId = userId.value;
7465
+ }
7466
+ if (isChanged) {
7467
+ values.value.userId = userId.value;
7468
+ }
7469
+ });
7425
7470
  return (_ctx, _cache) => {
7426
7471
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-situation-single" }, {
7427
7472
  default: withCtx(() => [
@@ -7471,13 +7516,18 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
7471
7516
  _: 1
7472
7517
  /* STABLE */
7473
7518
  }),
7474
- createVNode(unref(OfficeRelation), {
7475
- modelValue: unref(values),
7476
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
7477
- field: unref(fields).branches,
7478
- title: "Situasi",
7479
- "is-disabled": ""
7480
- }, null, 8, ["modelValue", "field"]),
7519
+ createVNode(unref(NeonFields), { title: "Situasi" }, {
7520
+ default: withCtx(() => [
7521
+ createVNode(unref(OfficeRelation), {
7522
+ modelValue: unref(values),
7523
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
7524
+ field: unref(fields).branches,
7525
+ "is-disabled": ""
7526
+ }, null, 8, ["modelValue", "field"])
7527
+ ]),
7528
+ _: 1
7529
+ /* STABLE */
7530
+ }),
7481
7531
  createVNode(unref(OfficeRelation), {
7482
7532
  modelValue: unref(values),
7483
7533
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
@@ -7656,7 +7706,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
7656
7706
  values.value.estimatedRealizedAssignmentEnd
7657
7707
  ],
7658
7708
  ([
7659
- resultAssignment,
7709
+ estimatedRealizedAssignmentEndresultAssignment,
7660
7710
  estimatedRealizedAssignmentStart,
7661
7711
  estimatedRealizedAssignmentEnd
7662
7712
  ]) => {
@@ -7665,11 +7715,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
7665
7715
  onHandleTaskWork.value.onStartTaskWorking = true;
7666
7716
  onHandleTaskWork.value.onFinishedTaskWorking = false;
7667
7717
  break;
7668
- case (estimatedRealizedAssignmentStart !== null || estimatedRealizedAssignmentStart !== void 0 && resultAssignment === null || resultAssignment === void 0):
7718
+ case (estimatedRealizedAssignmentEnd === void 0 || estimatedRealizedAssignmentEnd === null):
7669
7719
  onHandleTaskWork.value.onStartTaskWorking = false;
7670
7720
  onHandleTaskWork.value.onFinishedTaskWorking = true;
7671
7721
  break;
7672
- case (resultAssignment !== null || resultAssignment !== void 0 || estimatedRealizedAssignmentEnd !== null || estimatedRealizedAssignmentEnd !== void 0):
7722
+ case (estimatedRealizedAssignmentEnd !== void 0 || estimatedRealizedAssignmentEnd !== null):
7673
7723
  onHandleTaskWork.value.onStartTaskWorking = false;
7674
7724
  onHandleTaskWork.value.onFinishedTaskWorking = true;
7675
7725
  onHandleTaskWork.value.onFinishedDisabledTaskWorking = true;
@@ -7681,7 +7731,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
7681
7731
  }
7682
7732
  },
7683
7733
  {
7684
- immediate: true
7734
+ immediate: false
7685
7735
  }
7686
7736
  );
7687
7737
  const onClickHandlerStartTaskWork = async () => {
@@ -8013,6 +8063,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8013
8063
  saveOne,
8014
8064
  discardChanges
8015
8065
  } = useSingle();
8066
+ const authStore = useAuthStore();
8067
+ const { userId } = storeToRefs(authStore);
8068
+ useOperasional();
8069
+ onMounted(() => {
8070
+ if (id.value === "new") {
8071
+ values.value.userId = userId.value;
8072
+ }
8073
+ if (isChanged) {
8074
+ values.value.userId = userId.value;
8075
+ }
8076
+ });
8016
8077
  function onChangeDateUpdate(date) {
8017
8078
  values.value.estimatedStartDate = date == null ? void 0 : date.start.toISOString();
8018
8079
  values.value.estimatedEndDate = date == null ? void 0 : date.end.toISOString();
package/build/style.css CHANGED
@@ -141,6 +141,6 @@
141
141
  0 -1px 1px black;
142
142
  }
143
143
 
144
- .neu-staff-single[data-v-dedad3d9] {
144
+ .neu-staff-single[data-v-a6f4ca9c] {
145
145
  display: block
146
146
  }
@@ -1,2 +1,2 @@
1
- export declare const SituationModel: import("@neon.id/model").Model<"neu:personalia:situation", "branches" | "employeeNameTrimmed" | "searchBySituationTypeTrimmed" | "situationDescription" | "situationRelatedBy" | "situationReportedBy" | "situationResponse" | "situationStatus" | "situationSupportedBy" | "situationType" | "supportiveStatus" | "urgentSituationDate">;
1
+ export declare const SituationModel: import("@neon.id/model").Model<"neu:personalia:situation", "user" | "branches" | "employeeNameTrimmed" | "searchBySituationTypeTrimmed" | "situationDescription" | "situationRelatedBy" | "situationReportedBy" | "situationResponse" | "situationStatus" | "situationSupportedBy" | "situationType" | "supportiveStatus" | "urgentSituationDate">;
2
2
  export type TSituationModel = typeof SituationModel;
@@ -1,2 +1,2 @@
1
- export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "status" | "branches" | "doingAssignments" | "helpAssignments" | "supervisingAssignments" | "employeeNameTrimmed" | "estimatedEndDate" | "estimatedHourByDay" | "estimatedHourCognitiveAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCreativeAssignment" | "estimatedHourDoingAssignment" | "estimatedRealizedAssignmentEnd" | "estimatedRealizedAssignmentStart" | "estimatedStartDate" | "externalServiceDescription" | "giveAssignments" | "internalServiceDescription" | "priority" | "resultAssignment" | "taskName">;
1
+ export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "user" | "status" | "branches" | "doingAssignments" | "helpAssignments" | "supervisingAssignments" | "employeeNameTrimmed" | "estimatedEndDate" | "estimatedHourByDay" | "estimatedHourCognitiveAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCreativeAssignment" | "estimatedHourDoingAssignment" | "estimatedRealizedAssignmentEnd" | "estimatedRealizedAssignmentStart" | "estimatedStartDate" | "externalServiceDescription" | "giveAssignments" | "internalServiceDescription" | "priority" | "resultAssignment" | "taskName">;
2
2
  export type TTaskModel = typeof TaskModel;
@@ -4008,6 +4008,10 @@ export type Situation = {
4008
4008
  updater?: Maybe<User>;
4009
4009
  /** Tanggal dari urgensi situasi. */
4010
4010
  urgentSituationDate?: Maybe<Scalars['Date']>;
4011
+ /** Akun Identitas karyawan. */
4012
+ user?: Maybe<User>;
4013
+ /** Relation ID of Pengguna. */
4014
+ userId?: Maybe<Scalars['ObjectId']>;
4011
4015
  };
4012
4016
  export type SituationBranchesArgs = {
4013
4017
  filter?: InputMaybe<Scalars['Json']>;
@@ -4099,6 +4103,8 @@ export type SituationInput = {
4099
4103
  updatedBy?: InputMaybe<Scalars['ObjectId']>;
4100
4104
  /** Tanggal dari urgensi situasi. */
4101
4105
  urgentSituationDate?: InputMaybe<Scalars['Date']>;
4106
+ /** Relation ID of Pengguna. */
4107
+ userId?: InputMaybe<Scalars['ObjectId']>;
4102
4108
  };
4103
4109
  /** Single neu:personalia:situation response. */
4104
4110
  export type SituationSingleResponse = {
@@ -5287,6 +5293,10 @@ export type Task = {
5287
5293
  updatedBy?: Maybe<Scalars['ObjectId']>;
5288
5294
  /** Who last updated this tugas. */
5289
5295
  updater?: Maybe<User>;
5296
+ /** Akun Identitas karyawan. */
5297
+ user?: Maybe<User>;
5298
+ /** Relation ID of Pengguna. */
5299
+ userId?: Maybe<Scalars['ObjectId']>;
5290
5300
  };
5291
5301
  export type TaskBranchesArgs = {
5292
5302
  filter?: InputMaybe<Scalars['Json']>;
@@ -5405,6 +5415,8 @@ export type TaskInput = {
5405
5415
  updatedAt?: InputMaybe<Scalars['Date']>;
5406
5416
  /** Relation ID of Updated By. */
5407
5417
  updatedBy?: InputMaybe<Scalars['ObjectId']>;
5418
+ /** Relation ID of Pengguna. */
5419
+ userId?: InputMaybe<Scalars['ObjectId']>;
5408
5420
  };
5409
5421
  /** Single neu:personalia:task response. */
5410
5422
  export type TaskSingleResponse = {
@@ -5593,12 +5605,16 @@ export type User = {
5593
5605
  roles?: Maybe<Array<Role>>;
5594
5606
  /** User password salt. */
5595
5607
  salt?: Maybe<Scalars['String']>;
5608
+ /** Inversed relation from Pengguna field of neu:personalia:situation model. */
5609
+ situations?: Maybe<Array<Situation>>;
5596
5610
  /** Inversed relation from Pengguna field of neu:personalia:staff model. */
5597
5611
  staffs?: Maybe<Array<Staff>>;
5598
5612
  /** User status. */
5599
5613
  status?: Maybe<Scalars['String']>;
5600
5614
  /** When this user was last synced. */
5601
5615
  syncedAt?: Maybe<Scalars['Date']>;
5616
+ /** Inversed relation from Pengguna field of neu:personalia:task model. */
5617
+ tasks?: Maybe<Array<Task>>;
5602
5618
  /** User registration type. */
5603
5619
  type?: Maybe<Scalars['String']>;
5604
5620
  /** Relation IDs of Units. */
@@ -5650,6 +5666,15 @@ export type UserRolesArgs = {
5650
5666
  search?: InputMaybe<Scalars['String']>;
5651
5667
  sort?: InputMaybe<Scalars['Json']>;
5652
5668
  };
5669
+ export type UserSituationsArgs = {
5670
+ filter?: InputMaybe<Scalars['Json']>;
5671
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
5672
+ limit?: InputMaybe<Scalars['Int']>;
5673
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
5674
+ page?: InputMaybe<Scalars['Int']>;
5675
+ search?: InputMaybe<Scalars['String']>;
5676
+ sort?: InputMaybe<Scalars['Json']>;
5677
+ };
5653
5678
  export type UserStaffsArgs = {
5654
5679
  filter?: InputMaybe<Scalars['Json']>;
5655
5680
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
@@ -5659,6 +5684,15 @@ export type UserStaffsArgs = {
5659
5684
  search?: InputMaybe<Scalars['String']>;
5660
5685
  sort?: InputMaybe<Scalars['Json']>;
5661
5686
  };
5687
+ export type UserTasksArgs = {
5688
+ filter?: InputMaybe<Scalars['Json']>;
5689
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
5690
+ limit?: InputMaybe<Scalars['Int']>;
5691
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
5692
+ page?: InputMaybe<Scalars['Int']>;
5693
+ search?: InputMaybe<Scalars['String']>;
5694
+ sort?: InputMaybe<Scalars['Json']>;
5695
+ };
5662
5696
  export type UserUnitsArgs = {
5663
5697
  filter?: InputMaybe<Scalars['Json']>;
5664
5698
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.3.3-beta.2",
3
+ "version": "1.3.4-beta.2",
4
4
  "description": "Interface library of Neutron.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -59,7 +59,7 @@
59
59
  "@neon.id/interfaces": "0.153.0",
60
60
  "@neon.id/office": "0.23.0",
61
61
  "@neon.id/utils": "0.38.0",
62
- "@neutron.co.id/personalia-models": "1.3.4-beta.1",
62
+ "@neutron.co.id/personalia-models": "1.3.5-beta.1",
63
63
  "@neutron.co.id/sentral-interfaces": "1.1.0",
64
64
  "@nuxt/kit": "3.2.3",
65
65
  "qr-scanner": "1.4.1",
@@ -126,12 +126,12 @@
126
126
  "@neon.id/interfaces": "^0.153.0",
127
127
  "@neon.id/office": "^0.23.0",
128
128
  "@neon.id/utils": "^0.38.0",
129
- "@neutron.co.id/personalia-models": "^1.3.4-beta.1",
129
+ "@neutron.co.id/personalia-models": "^1.3.5-beta.1",
130
130
  "@nuxt/kit": "^3.2.3",
131
131
  "vue": "^3.2.47"
132
132
  },
133
133
  "publishConfig": {
134
134
  "access": "public"
135
135
  },
136
- "build": 69
136
+ "build": 71
137
137
  }