@neutron.co.id/operasional-interfaces 1.0.2-beta.3 → 1.0.2-beta.4

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
@@ -291,19 +291,19 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
291
291
  vue.createVNode(vue.unref(office.OfficeRelation), {
292
292
  modelValue: vue.unref(values),
293
293
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
294
- field: vue.unref(fields).branch
294
+ field: vue.unref(fields).branches
295
295
  }, null, 8, ["modelValue", "field"]),
296
296
  vue.createVNode(vue.unref(form.NeonFields), { md: "grid gap-4 sm:grid-cols-2" }, {
297
297
  default: vue.withCtx(() => [
298
298
  vue.createVNode(vue.unref(office.OfficeRelation), {
299
299
  modelValue: vue.unref(values),
300
300
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
301
- field: vue.unref(fields).giveAssignment
301
+ field: vue.unref(fields).giveAssignments
302
302
  }, null, 8, ["modelValue", "field"]),
303
303
  vue.createVNode(vue.unref(office.OfficeRelation), {
304
304
  modelValue: vue.unref(values),
305
305
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
306
- field: vue.unref(fields).supervisingAssignment
306
+ field: vue.unref(fields).supervisingAssignments
307
307
  }, null, 8, ["modelValue", "field"])
308
308
  ]),
309
309
  _: 1
@@ -314,12 +314,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
314
314
  vue.createVNode(vue.unref(office.OfficeRelation), {
315
315
  modelValue: vue.unref(values),
316
316
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
317
- field: vue.unref(fields).doingAssignment
317
+ field: vue.unref(fields).doingAssignments
318
318
  }, null, 8, ["modelValue", "field"]),
319
319
  vue.createVNode(vue.unref(office.OfficeRelation), {
320
320
  modelValue: vue.unref(values),
321
321
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
322
- field: vue.unref(fields).helpAssignment
322
+ field: vue.unref(fields).helpAssignments
323
323
  }, null, 8, ["modelValue", "field"])
324
324
  ]),
325
325
  _: 1
package/build/index.mjs CHANGED
@@ -289,19 +289,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
289
289
  createVNode(unref(OfficeRelation), {
290
290
  modelValue: unref(values),
291
291
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
292
- field: unref(fields).branch
292
+ field: unref(fields).branches
293
293
  }, null, 8, ["modelValue", "field"]),
294
294
  createVNode(unref(NeonFields), { md: "grid gap-4 sm:grid-cols-2" }, {
295
295
  default: withCtx(() => [
296
296
  createVNode(unref(OfficeRelation), {
297
297
  modelValue: unref(values),
298
298
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
299
- field: unref(fields).giveAssignment
299
+ field: unref(fields).giveAssignments
300
300
  }, null, 8, ["modelValue", "field"]),
301
301
  createVNode(unref(OfficeRelation), {
302
302
  modelValue: unref(values),
303
303
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
304
- field: unref(fields).supervisingAssignment
304
+ field: unref(fields).supervisingAssignments
305
305
  }, null, 8, ["modelValue", "field"])
306
306
  ]),
307
307
  _: 1
@@ -312,12 +312,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
312
312
  createVNode(unref(OfficeRelation), {
313
313
  modelValue: unref(values),
314
314
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
315
- field: unref(fields).doingAssignment
315
+ field: unref(fields).doingAssignments
316
316
  }, null, 8, ["modelValue", "field"]),
317
317
  createVNode(unref(OfficeRelation), {
318
318
  modelValue: unref(values),
319
319
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => isRef(values) ? values.value = $event : null),
320
- field: unref(fields).helpAssignment
320
+ field: unref(fields).helpAssignments
321
321
  }, null, 8, ["modelValue", "field"])
322
322
  ]),
323
323
  _: 1
@@ -1,2 +1,2 @@
1
- export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "branch" | "status" | "taskName" | "giveAssignment" | "supervisingAssignment" | "doingAssignment" | "helpAssignment" | "priority" | "estimatedStartDate" | "estimatedEndDate" | "estimatedHourDoingAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCognitiveAssignment" | "estimatedHourCreativeAssignment" | "internalServiceDescription" | "externalServiceDescription" | "estimatedHourByDay" | "estimatedRealizedAssignmentStart" | "estimatedRealizedAssignmentEnd" | "resultAssignment">;
1
+ export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "branches" | "status" | "taskName" | "giveAssignments" | "supervisingAssignments" | "doingAssignments" | "helpAssignments" | "priority" | "estimatedStartDate" | "estimatedEndDate" | "estimatedHourDoingAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCognitiveAssignment" | "estimatedHourCreativeAssignment" | "internalServiceDescription" | "externalServiceDescription" | "estimatedHourByDay" | "estimatedRealizedAssignmentStart" | "estimatedRealizedAssignmentEnd" | "resultAssignment">;
2
2
  export type TTaskModel = typeof TaskModel;
@@ -347,7 +347,7 @@ export type Branch = {
347
347
  /** When this cabang was last synced. */
348
348
  syncedAt?: Maybe<Scalars['Date']>;
349
349
  /** Inversed relation from Cabang field of neu:personalia:task model. */
350
- task?: Maybe<Array<Task>>;
350
+ tasks?: Maybe<Array<Task>>;
351
351
  /** When this cabang was last updated. */
352
352
  updatedAt?: Maybe<Scalars['Date']>;
353
353
  /** Relation ID of Updated By. */
@@ -391,7 +391,7 @@ export type BranchStaffsArgs = {
391
391
  search?: InputMaybe<Scalars['String']>;
392
392
  sort?: InputMaybe<Scalars['Json']>;
393
393
  };
394
- export type BranchTaskArgs = {
394
+ export type BranchTasksArgs = {
395
395
  filter?: InputMaybe<Scalars['Json']>;
396
396
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
397
397
  limit?: InputMaybe<Scalars['Int']>;
@@ -3761,13 +3761,13 @@ export type Staff = {
3761
3761
  /** Karyawan */
3762
3762
  display?: Maybe<Scalars['String']>;
3763
3763
  /** Inversed relation from Mengerjakan field of neu:personalia:task model. */
3764
- doingAssignment?: Maybe<Array<Task>>;
3764
+ doingAssignments?: Maybe<Array<Task>>;
3765
3765
  /** Karyawan */
3766
3766
  flag?: Maybe<Scalars['String']>;
3767
3767
  /** Inversed relation from Memberikan field of neu:personalia:task model. */
3768
- givingAssignment?: Maybe<Array<Task>>;
3768
+ givingAssignments?: Maybe<Array<Task>>;
3769
3769
  /** Inversed relation from Membantu field of neu:personalia:task model. */
3770
- helpAssignment?: Maybe<Array<Task>>;
3770
+ helpAssignments?: Maybe<Array<Task>>;
3771
3771
  /** Object ID. */
3772
3772
  id?: Maybe<Scalars['ID']>;
3773
3773
  /** Foto karyawan. */
@@ -3785,7 +3785,7 @@ export type Staff = {
3785
3785
  /** Who last restored this karyawan. */
3786
3786
  restorer?: Maybe<User>;
3787
3787
  /** Inversed relation from Mensupervisi field of neu:personalia:task model. */
3788
- supervisingAssignment?: Maybe<Array<Task>>;
3788
+ supervisingAssignments?: Maybe<Array<Task>>;
3789
3789
  /** When this karyawan was last synced. */
3790
3790
  syncedAt?: Maybe<Scalars['Date']>;
3791
3791
  /** When this karyawan was last updated. */
@@ -3817,7 +3817,7 @@ export type StaffCheckInsArgs = {
3817
3817
  search?: InputMaybe<Scalars['String']>;
3818
3818
  sort?: InputMaybe<Scalars['Json']>;
3819
3819
  };
3820
- export type StaffDoingAssignmentArgs = {
3820
+ export type StaffDoingAssignmentsArgs = {
3821
3821
  filter?: InputMaybe<Scalars['Json']>;
3822
3822
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
3823
3823
  limit?: InputMaybe<Scalars['Int']>;
@@ -3826,7 +3826,7 @@ export type StaffDoingAssignmentArgs = {
3826
3826
  search?: InputMaybe<Scalars['String']>;
3827
3827
  sort?: InputMaybe<Scalars['Json']>;
3828
3828
  };
3829
- export type StaffGivingAssignmentArgs = {
3829
+ export type StaffGivingAssignmentsArgs = {
3830
3830
  filter?: InputMaybe<Scalars['Json']>;
3831
3831
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
3832
3832
  limit?: InputMaybe<Scalars['Int']>;
@@ -3835,7 +3835,7 @@ export type StaffGivingAssignmentArgs = {
3835
3835
  search?: InputMaybe<Scalars['String']>;
3836
3836
  sort?: InputMaybe<Scalars['Json']>;
3837
3837
  };
3838
- export type StaffHelpAssignmentArgs = {
3838
+ export type StaffHelpAssignmentsArgs = {
3839
3839
  filter?: InputMaybe<Scalars['Json']>;
3840
3840
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
3841
3841
  limit?: InputMaybe<Scalars['Int']>;
@@ -3844,7 +3844,7 @@ export type StaffHelpAssignmentArgs = {
3844
3844
  search?: InputMaybe<Scalars['String']>;
3845
3845
  sort?: InputMaybe<Scalars['Json']>;
3846
3846
  };
3847
- export type StaffSupervisingAssignmentArgs = {
3847
+ export type StaffSupervisingAssignmentsArgs = {
3848
3848
  filter?: InputMaybe<Scalars['Json']>;
3849
3849
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
3850
3850
  limit?: InputMaybe<Scalars['Int']>;
@@ -4603,10 +4603,10 @@ export type SyncManyResponse = {
4603
4603
  info?: Maybe<Info>;
4604
4604
  };
4605
4605
  export type Task = {
4606
+ /** Relation IDs of Cabang. */
4607
+ branchIds?: Maybe<Array<Scalars['ObjectId']>>;
4606
4608
  /** Cabang dari Tugas ini. */
4607
- branch?: Maybe<Branch>;
4608
- /** Relation ID of Cabang. */
4609
- branchId?: Maybe<Scalars['ObjectId']>;
4609
+ branches?: Maybe<Array<Branch>>;
4610
4610
  /** When this tugas was created. */
4611
4611
  createdAt?: Maybe<Scalars['Date']>;
4612
4612
  /** Relation ID of Created By. */
@@ -4621,14 +4621,14 @@ export type Task = {
4621
4621
  deleter?: Maybe<User>;
4622
4622
  /** Tugas */
4623
4623
  display?: Maybe<Scalars['String']>;
4624
+ /** Relation IDs of Mengerjakan. */
4625
+ doingAssignmentIds?: Maybe<Array<Scalars['ObjectId']>>;
4624
4626
  /** Yang mengerjakan Tugas ini. */
4625
- doingAssignment?: Maybe<Staff>;
4626
- /** Relation ID of Mengerjakan. */
4627
- doingAssignmentId?: Maybe<Scalars['ObjectId']>;
4627
+ doingAssignments?: Maybe<Array<Staff>>;
4628
4628
  /** Tanggal tugas selesai. */
4629
4629
  estimatedEndDate?: Maybe<Scalars['Date']>;
4630
4630
  /** Estimated jam perhari (jam) */
4631
- estimatedHourByDay?: Maybe<Scalars['Int']>;
4631
+ estimatedHourByDay?: Maybe<Scalars['Float']>;
4632
4632
  /** Estimated komunikasi (jam) */
4633
4633
  estimatedHourCognitiveAssignment?: Maybe<Scalars['Int']>;
4634
4634
  /** Estimated komunikasi (jam) */
@@ -4648,13 +4648,13 @@ export type Task = {
4648
4648
  /** Tugas */
4649
4649
  flag?: Maybe<Scalars['String']>;
4650
4650
  /** Yang memberikan Tugas ini. */
4651
- giveAssignment?: Maybe<Staff>;
4652
- /** Relation ID of Memberikan. */
4653
- givingAssignmentId?: Maybe<Scalars['ObjectId']>;
4651
+ giveAssignments?: Maybe<Array<Staff>>;
4652
+ /** Relation IDs of Memberikan. */
4653
+ givingAssignmentIds?: Maybe<Array<Scalars['ObjectId']>>;
4654
+ /** Relation IDs of Membantu. */
4655
+ helpAssignmentIds?: Maybe<Array<Scalars['ObjectId']>>;
4654
4656
  /** Yang membantu Tugas ini. */
4655
- helpAssignment?: Maybe<Staff>;
4656
- /** Relation ID of Membantu. */
4657
- helpAssignmentId?: Maybe<Scalars['ObjectId']>;
4657
+ helpAssignments?: Maybe<Array<Staff>>;
4658
4658
  /** Object ID. */
4659
4659
  id?: Maybe<Scalars['ID']>;
4660
4660
  /** Detail dari Deskripsi Dinas Dalam. */
@@ -4671,10 +4671,10 @@ export type Task = {
4671
4671
  resultAssignment?: Maybe<Scalars['String']>;
4672
4672
  /** Status dari Tugas. */
4673
4673
  status?: Maybe<Scalars['String']>;
4674
+ /** Relation IDs of Mensupervisi. */
4675
+ supervisingAssignmentIds?: Maybe<Array<Scalars['ObjectId']>>;
4674
4676
  /** Yang mensupervisi Tugas ini. */
4675
- supervisingAssignment?: Maybe<Staff>;
4676
- /** Relation ID of Mensupervisi. */
4677
- supervisingAssignmentId?: Maybe<Scalars['ObjectId']>;
4677
+ supervisingAssignments?: Maybe<Array<Staff>>;
4678
4678
  /** When this tugas was last synced. */
4679
4679
  syncedAt?: Maybe<Scalars['Date']>;
4680
4680
  /** Detail dari Tugas ini. */
@@ -4686,6 +4686,51 @@ export type Task = {
4686
4686
  /** Who last updated this tugas. */
4687
4687
  updater?: Maybe<User>;
4688
4688
  };
4689
+ export type TaskBranchesArgs = {
4690
+ filter?: InputMaybe<Scalars['Json']>;
4691
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4692
+ limit?: InputMaybe<Scalars['Int']>;
4693
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4694
+ page?: InputMaybe<Scalars['Int']>;
4695
+ search?: InputMaybe<Scalars['String']>;
4696
+ sort?: InputMaybe<Scalars['Json']>;
4697
+ };
4698
+ export type TaskDoingAssignmentsArgs = {
4699
+ filter?: InputMaybe<Scalars['Json']>;
4700
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4701
+ limit?: InputMaybe<Scalars['Int']>;
4702
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4703
+ page?: InputMaybe<Scalars['Int']>;
4704
+ search?: InputMaybe<Scalars['String']>;
4705
+ sort?: InputMaybe<Scalars['Json']>;
4706
+ };
4707
+ export type TaskGiveAssignmentsArgs = {
4708
+ filter?: InputMaybe<Scalars['Json']>;
4709
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4710
+ limit?: InputMaybe<Scalars['Int']>;
4711
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4712
+ page?: InputMaybe<Scalars['Int']>;
4713
+ search?: InputMaybe<Scalars['String']>;
4714
+ sort?: InputMaybe<Scalars['Json']>;
4715
+ };
4716
+ export type TaskHelpAssignmentsArgs = {
4717
+ filter?: InputMaybe<Scalars['Json']>;
4718
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4719
+ limit?: InputMaybe<Scalars['Int']>;
4720
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4721
+ page?: InputMaybe<Scalars['Int']>;
4722
+ search?: InputMaybe<Scalars['String']>;
4723
+ sort?: InputMaybe<Scalars['Json']>;
4724
+ };
4725
+ export type TaskSupervisingAssignmentsArgs = {
4726
+ filter?: InputMaybe<Scalars['Json']>;
4727
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4728
+ limit?: InputMaybe<Scalars['Int']>;
4729
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4730
+ page?: InputMaybe<Scalars['Int']>;
4731
+ search?: InputMaybe<Scalars['String']>;
4732
+ sort?: InputMaybe<Scalars['Json']>;
4733
+ };
4689
4734
  /** neu:personalia:task collection response. */
4690
4735
  export type TaskCollectionResponse = {
4691
4736
  /** Response info. */
@@ -4694,8 +4739,8 @@ export type TaskCollectionResponse = {
4694
4739
  items?: Maybe<Array<Task>>;
4695
4740
  };
4696
4741
  export type TaskInput = {
4697
- /** Relation ID of Cabang. */
4698
- branchId?: InputMaybe<Scalars['ObjectId']>;
4742
+ /** Relation IDs of Cabang. */
4743
+ branchIds?: InputMaybe<Array<Scalars['ID']>>;
4699
4744
  /** When this tugas was created. */
4700
4745
  createdAt?: InputMaybe<Scalars['Date']>;
4701
4746
  /** Relation ID of Created By. */
@@ -4706,12 +4751,12 @@ export type TaskInput = {
4706
4751
  deletedBy?: InputMaybe<Scalars['ObjectId']>;
4707
4752
  /** Tugas */
4708
4753
  display?: InputMaybe<Scalars['String']>;
4709
- /** Relation ID of Mengerjakan. */
4710
- doingAssignmentId?: InputMaybe<Scalars['ObjectId']>;
4754
+ /** Relation IDs of Mengerjakan. */
4755
+ doingAssignmentIds?: InputMaybe<Array<Scalars['ID']>>;
4711
4756
  /** Tanggal tugas selesai. */
4712
4757
  estimatedEndDate?: InputMaybe<Scalars['Date']>;
4713
4758
  /** Estimated jam perhari (jam) */
4714
- estimatedHourByDay?: InputMaybe<Scalars['Int']>;
4759
+ estimatedHourByDay?: InputMaybe<Scalars['Float']>;
4715
4760
  /** Estimated komunikasi (jam) */
4716
4761
  estimatedHourCognitiveAssignment?: InputMaybe<Scalars['Int']>;
4717
4762
  /** Estimated komunikasi (jam) */
@@ -4730,10 +4775,10 @@ export type TaskInput = {
4730
4775
  externalServiceDescription?: InputMaybe<Scalars['String']>;
4731
4776
  /** Tugas */
4732
4777
  flag?: InputMaybe<Scalars['String']>;
4733
- /** Relation ID of Memberikan. */
4734
- givingAssignmentId?: InputMaybe<Scalars['ObjectId']>;
4735
- /** Relation ID of Membantu. */
4736
- helpAssignmentId?: InputMaybe<Scalars['ObjectId']>;
4778
+ /** Relation IDs of Memberikan. */
4779
+ givingAssignmentIds?: InputMaybe<Array<Scalars['ID']>>;
4780
+ /** Relation IDs of Membantu. */
4781
+ helpAssignmentIds?: InputMaybe<Array<Scalars['ID']>>;
4737
4782
  /** Detail dari Deskripsi Dinas Dalam. */
4738
4783
  internalServiceDescription?: InputMaybe<Scalars['String']>;
4739
4784
  /** Status Prioritas dari Tugas. */
@@ -4746,8 +4791,8 @@ export type TaskInput = {
4746
4791
  resultAssignment?: InputMaybe<Scalars['String']>;
4747
4792
  /** Status dari Tugas. */
4748
4793
  status?: InputMaybe<Scalars['String']>;
4749
- /** Relation ID of Mensupervisi. */
4750
- supervisingAssignmentId?: InputMaybe<Scalars['ObjectId']>;
4794
+ /** Relation IDs of Mensupervisi. */
4795
+ supervisingAssignmentIds?: InputMaybe<Array<Scalars['ID']>>;
4751
4796
  /** When this tugas was last synced. */
4752
4797
  syncedAt?: InputMaybe<Scalars['Date']>;
4753
4798
  /** Detail dari Tugas ini. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.0.2-beta.3",
3
+ "version": "1.0.2-beta.4",
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.22.0",
61
61
  "@neon.id/utils": "0.38.0",
62
- "@neutron.co.id/personalia-models": "1.2.0-beta.2",
62
+ "@neutron.co.id/personalia-models": "1.2.0-beta.3",
63
63
  "@nuxt/kit": "3.2.3",
64
64
  "vue": "3.2.47"
65
65
  },
@@ -124,12 +124,12 @@
124
124
  "@neon.id/interfaces": "^0.153.0",
125
125
  "@neon.id/office": "^0.22.0",
126
126
  "@neon.id/utils": "^0.38.0",
127
- "@neutron.co.id/personalia-models": "^1.2.0-beta.2",
127
+ "@neutron.co.id/personalia-models": "^1.2.0-beta.3",
128
128
  "@nuxt/kit": "^3.2.3",
129
129
  "vue": "^3.2.47"
130
130
  },
131
131
  "publishConfig": {
132
132
  "access": "public"
133
133
  },
134
- "build": 52
134
+ "build": 53
135
135
  }