@neutron.co.id/operasional-interfaces 1.1.1-beta.4 → 1.1.1-beta.5

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
@@ -8,9 +8,9 @@ const context = require("@neon.id/context");
8
8
  const office = require("@neon.id/office");
9
9
  const form = require("@neon.id/form");
10
10
  const _hoisted_1$1 = { class: "xxx-button" };
11
- const __default__$3 = vue.defineComponent({ name: "XxxButton" });
12
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
13
- ...__default__$3,
11
+ const __default__$4 = vue.defineComponent({ name: "XxxButton" });
12
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
13
+ ...__default__$4,
14
14
  props: {
15
15
  color: {
16
16
  type: String,
@@ -26,11 +26,11 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
26
26
  }
27
27
  });
28
28
  const StaffModel = personaliaModels.models.StaffModel;
29
- const __default__$2 = vue.defineComponent({
29
+ const __default__$3 = vue.defineComponent({
30
30
  name: "StaffCollection"
31
31
  });
32
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
33
- ...__default__$2,
32
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
33
+ ...__default__$3,
34
34
  setup(__props) {
35
35
  context.useCollection();
36
36
  return (_ctx, _cache) => {
@@ -46,7 +46,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
46
46
  });
47
47
  const _hoisted_1 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
48
48
  const _hoisted_2 = { class: "grid gap-4 sm:grid-cols-2" };
49
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
49
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
50
50
  __name: "StaffSingle",
51
51
  setup(__props) {
52
52
  const {
@@ -199,7 +199,95 @@ const _export_sfc = (sfc, props) => {
199
199
  }
200
200
  return target;
201
201
  };
202
- const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-dbeb1998"]]);
202
+ const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-dbeb1998"]]);
203
+ const SituationTypeModel = personaliaModels.models.SituationTypeModel;
204
+ const __default__$2 = vue.defineComponent({ name: "SituationTypeCollection" });
205
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
206
+ ...__default__$2,
207
+ setup(__props) {
208
+ context.useCollection();
209
+ return (_ctx, _cache) => {
210
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-situationType-collection" }, {
211
+ default: vue.withCtx(() => [
212
+ vue.createVNode(vue.unref(office.OfficeCollectionTable))
213
+ ]),
214
+ _: 1
215
+ /* STABLE */
216
+ });
217
+ };
218
+ }
219
+ });
220
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
221
+ __name: "SituationTypeSingle",
222
+ setup(__props) {
223
+ const {
224
+ fields,
225
+ id,
226
+ initialValues,
227
+ values,
228
+ isNew,
229
+ isLoading,
230
+ isChanged,
231
+ isReady,
232
+ isMain,
233
+ saveOne,
234
+ discardChanges
235
+ } = context.useSingle();
236
+ return (_ctx, _cache) => {
237
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-situation-type-single" }, {
238
+ default: vue.withCtx(() => [
239
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
240
+ default: vue.withCtx(() => [
241
+ vue.createVNode(vue.unref(office.OfficeTab), {
242
+ handle: "info",
243
+ icon: "circle-info",
244
+ title: "Info"
245
+ }, {
246
+ default: vue.withCtx(() => [
247
+ vue.createVNode(vue.unref(form.NeonForm), {
248
+ handle: "info",
249
+ "initial-values": vue.unref(initialValues),
250
+ "is-loading": vue.unref(isLoading),
251
+ "is-changed": vue.unref(isChanged),
252
+ "use-unsaved": "",
253
+ onCancel: vue.unref(discardChanges),
254
+ onSubmit: vue.unref(saveOne)
255
+ }, {
256
+ default: vue.withCtx(() => [
257
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
258
+ default: vue.withCtx(() => [
259
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
260
+ modelValue: vue.unref(values).situationTypeName,
261
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).situationTypeName = $event)
262
+ }, vue.unref(fields).situationTypeName), null, 16, ["modelValue"])
263
+ ]),
264
+ _: 1
265
+ /* STABLE */
266
+ }),
267
+ vue.createVNode(vue.unref(office.OfficeRelation), {
268
+ modelValue: vue.unref(values),
269
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
270
+ field: vue.unref(fields).branches
271
+ }, null, 8, ["modelValue", "field"])
272
+ ]),
273
+ _: 1
274
+ /* STABLE */
275
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
276
+ ]),
277
+ _: 1
278
+ /* STABLE */
279
+ })
280
+ ]),
281
+ _: 1
282
+ /* STABLE */
283
+ }, 8, ["use-url"])
284
+ ]),
285
+ _: 1
286
+ /* STABLE */
287
+ });
288
+ };
289
+ }
290
+ });
203
291
  const TaskModel = personaliaModels.models.TaskModel;
204
292
  function devAssert(condition, message) {
205
293
  const booleanCondition = Boolean(condition);
@@ -4210,7 +4298,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
4210
4298
  });
4211
4299
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4212
4300
  __proto__: null,
4213
- StaffCollection: _sfc_main$5,
4301
+ SituationTypeCollection: _sfc_main$5,
4302
+ SituationTypeModel,
4303
+ SituationTypeSingle: _sfc_main$4,
4304
+ StaffCollection: _sfc_main$7,
4214
4305
  StaffModel,
4215
4306
  StaffSingle,
4216
4307
  TaskCollection: _sfc_main$2,
@@ -4218,7 +4309,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
4218
4309
  TaskSingle: _sfc_main$1,
4219
4310
  TaskWork: _sfc_main,
4220
4311
  TaskWorkButton: _sfc_main$3,
4221
- XxxButton: _sfc_main$6
4312
+ XxxButton: _sfc_main$8
4222
4313
  }, Symbol.toStringTag, { value: "Module" }));
4223
4314
  function registerComponents(app) {
4224
4315
  Object.entries(components).forEach(([name, component]) => {
@@ -4235,7 +4326,10 @@ const OperasionalInterfacesPlugin = {
4235
4326
  };
4236
4327
  exports.OperasionalInterfacesPlugin = OperasionalInterfacesPlugin;
4237
4328
  exports.Schema = graphql;
4238
- exports.StaffCollection = _sfc_main$5;
4329
+ exports.SituationTypeCollection = _sfc_main$5;
4330
+ exports.SituationTypeModel = SituationTypeModel;
4331
+ exports.SituationTypeSingle = _sfc_main$4;
4332
+ exports.StaffCollection = _sfc_main$7;
4239
4333
  exports.StaffModel = StaffModel;
4240
4334
  exports.StaffSingle = StaffSingle;
4241
4335
  exports.TaskCollection = _sfc_main$2;
@@ -4243,4 +4337,4 @@ exports.TaskModel = TaskModel;
4243
4337
  exports.TaskSingle = _sfc_main$1;
4244
4338
  exports.TaskWork = _sfc_main;
4245
4339
  exports.TaskWorkButton = _sfc_main$3;
4246
- exports.XxxButton = _sfc_main$6;
4340
+ exports.XxxButton = _sfc_main$8;
package/build/index.mjs CHANGED
@@ -6,9 +6,9 @@ import { useCollection, NeonCollection, useSingle, NeonSingle } from "@neon.id/c
6
6
  import { OfficeCollectionTable, OfficeTabs, OfficeTab, OfficeRelation } from "@neon.id/office";
7
7
  import { NeonForm, NeonField, NeonFields } from "@neon.id/form";
8
8
  const _hoisted_1$1 = { class: "xxx-button" };
9
- const __default__$3 = defineComponent({ name: "XxxButton" });
10
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
11
- ...__default__$3,
9
+ const __default__$4 = defineComponent({ name: "XxxButton" });
10
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
11
+ ...__default__$4,
12
12
  props: {
13
13
  color: {
14
14
  type: String,
@@ -24,11 +24,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
24
24
  }
25
25
  });
26
26
  const StaffModel = models.StaffModel;
27
- const __default__$2 = defineComponent({
27
+ const __default__$3 = defineComponent({
28
28
  name: "StaffCollection"
29
29
  });
30
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
31
- ...__default__$2,
30
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
31
+ ...__default__$3,
32
32
  setup(__props) {
33
33
  useCollection();
34
34
  return (_ctx, _cache) => {
@@ -44,7 +44,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
44
44
  });
45
45
  const _hoisted_1 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
46
46
  const _hoisted_2 = { class: "grid gap-4 sm:grid-cols-2" };
47
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
47
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
48
48
  __name: "StaffSingle",
49
49
  setup(__props) {
50
50
  const {
@@ -197,7 +197,95 @@ const _export_sfc = (sfc, props) => {
197
197
  }
198
198
  return target;
199
199
  };
200
- const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-dbeb1998"]]);
200
+ const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-dbeb1998"]]);
201
+ const SituationTypeModel = models.SituationTypeModel;
202
+ const __default__$2 = defineComponent({ name: "SituationTypeCollection" });
203
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
204
+ ...__default__$2,
205
+ setup(__props) {
206
+ useCollection();
207
+ return (_ctx, _cache) => {
208
+ return openBlock(), createBlock(unref(NeonCollection), { class: "neu-situationType-collection" }, {
209
+ default: withCtx(() => [
210
+ createVNode(unref(OfficeCollectionTable))
211
+ ]),
212
+ _: 1
213
+ /* STABLE */
214
+ });
215
+ };
216
+ }
217
+ });
218
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
219
+ __name: "SituationTypeSingle",
220
+ setup(__props) {
221
+ const {
222
+ fields,
223
+ id,
224
+ initialValues,
225
+ values,
226
+ isNew,
227
+ isLoading,
228
+ isChanged,
229
+ isReady,
230
+ isMain,
231
+ saveOne,
232
+ discardChanges
233
+ } = useSingle();
234
+ return (_ctx, _cache) => {
235
+ return openBlock(), createBlock(unref(NeonSingle), { class: "neu-situation-type-single" }, {
236
+ default: withCtx(() => [
237
+ createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
238
+ default: withCtx(() => [
239
+ createVNode(unref(OfficeTab), {
240
+ handle: "info",
241
+ icon: "circle-info",
242
+ title: "Info"
243
+ }, {
244
+ default: withCtx(() => [
245
+ createVNode(unref(NeonForm), {
246
+ handle: "info",
247
+ "initial-values": unref(initialValues),
248
+ "is-loading": unref(isLoading),
249
+ "is-changed": unref(isChanged),
250
+ "use-unsaved": "",
251
+ onCancel: unref(discardChanges),
252
+ onSubmit: unref(saveOne)
253
+ }, {
254
+ default: withCtx(() => [
255
+ createVNode(unref(NeonFields), { md: "grid-cols-4" }, {
256
+ default: withCtx(() => [
257
+ createVNode(unref(NeonField), mergeProps({
258
+ modelValue: unref(values).situationTypeName,
259
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).situationTypeName = $event)
260
+ }, unref(fields).situationTypeName), null, 16, ["modelValue"])
261
+ ]),
262
+ _: 1
263
+ /* STABLE */
264
+ }),
265
+ createVNode(unref(OfficeRelation), {
266
+ modelValue: unref(values),
267
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
268
+ field: unref(fields).branches
269
+ }, null, 8, ["modelValue", "field"])
270
+ ]),
271
+ _: 1
272
+ /* STABLE */
273
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
274
+ ]),
275
+ _: 1
276
+ /* STABLE */
277
+ })
278
+ ]),
279
+ _: 1
280
+ /* STABLE */
281
+ }, 8, ["use-url"])
282
+ ]),
283
+ _: 1
284
+ /* STABLE */
285
+ });
286
+ };
287
+ }
288
+ });
201
289
  const TaskModel = models.TaskModel;
202
290
  function devAssert(condition, message) {
203
291
  const booleanCondition = Boolean(condition);
@@ -4208,7 +4296,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4208
4296
  });
4209
4297
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4210
4298
  __proto__: null,
4211
- StaffCollection: _sfc_main$5,
4299
+ SituationTypeCollection: _sfc_main$5,
4300
+ SituationTypeModel,
4301
+ SituationTypeSingle: _sfc_main$4,
4302
+ StaffCollection: _sfc_main$7,
4212
4303
  StaffModel,
4213
4304
  StaffSingle,
4214
4305
  TaskCollection: _sfc_main$2,
@@ -4216,7 +4307,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
4216
4307
  TaskSingle: _sfc_main$1,
4217
4308
  TaskWork: _sfc_main,
4218
4309
  TaskWorkButton: _sfc_main$3,
4219
- XxxButton: _sfc_main$6
4310
+ XxxButton: _sfc_main$8
4220
4311
  }, Symbol.toStringTag, { value: "Module" }));
4221
4312
  function registerComponents(app) {
4222
4313
  Object.entries(components).forEach(([name, component]) => {
@@ -4234,7 +4325,10 @@ const OperasionalInterfacesPlugin = {
4234
4325
  export {
4235
4326
  OperasionalInterfacesPlugin,
4236
4327
  graphql as Schema,
4237
- _sfc_main$5 as StaffCollection,
4328
+ _sfc_main$5 as SituationTypeCollection,
4329
+ SituationTypeModel,
4330
+ _sfc_main$4 as SituationTypeSingle,
4331
+ _sfc_main$7 as StaffCollection,
4238
4332
  StaffModel,
4239
4333
  StaffSingle,
4240
4334
  _sfc_main$2 as TaskCollection,
@@ -4242,5 +4336,5 @@ export {
4242
4336
  _sfc_main$1 as TaskSingle,
4243
4337
  _sfc_main as TaskWork,
4244
4338
  _sfc_main$3 as TaskWorkButton,
4245
- _sfc_main$6 as XxxButton
4339
+ _sfc_main$8 as XxxButton
4246
4340
  };
@@ -1,3 +1,4 @@
1
1
  export * from './common';
2
2
  export * from './staff';
3
+ export * from './situationType';
3
4
  export * from './task';
@@ -0,0 +1,2 @@
1
+ export * from './situationType.types';
2
+ export * from './sheets';
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as SituationTypeCollection } from './SituationTypeCollection.vue';
2
+ export { default as SituationTypeSingle } from './SituationTypeSingle.vue';
@@ -0,0 +1,2 @@
1
+ export declare const SituationTypeModel: import("@neon.id/model").Model<"neu:personalia:situationType", "branches" | "situationTypeName">;
2
+ export type TSituationTypeModel = typeof SituationTypeModel;
@@ -1,2 +1,2 @@
1
- export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "name" | "image" | "nik" | "branch" | "branches" | "user" | "birthPlace" | "birthDate" | "note">;
1
+ export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "name" | "image" | "branches" | "user" | "branch" | "nik" | "birthPlace" | "birthDate" | "note">;
2
2
  export type TStaffModel = typeof StaffModel;
@@ -340,6 +340,10 @@ export type Branch = {
340
340
  restorer?: Maybe<User>;
341
341
  /** Inversed relation from Cabang field of neu:tempat:room model. */
342
342
  rooms?: Maybe<Array<Room>>;
343
+ /** Inversed relation from Cabang field of neu:personalia:situationType model. */
344
+ situationTypes?: Maybe<Array<SituationType>>;
345
+ /** Inversed relation from Cabang field of neu:personalia:situation model. */
346
+ situations?: Maybe<Array<Situation>>;
343
347
  /** Inversed relation from Cabang Utama field of neu:personalia:staff model. */
344
348
  staffs?: Maybe<Array<Staff>>;
345
349
  /** Ringkasan cabang. */
@@ -382,6 +386,24 @@ export type BranchRoomsArgs = {
382
386
  search?: InputMaybe<Scalars['String']>;
383
387
  sort?: InputMaybe<Scalars['Json']>;
384
388
  };
389
+ export type BranchSituationTypesArgs = {
390
+ filter?: InputMaybe<Scalars['Json']>;
391
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
392
+ limit?: InputMaybe<Scalars['Int']>;
393
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
394
+ page?: InputMaybe<Scalars['Int']>;
395
+ search?: InputMaybe<Scalars['String']>;
396
+ sort?: InputMaybe<Scalars['Json']>;
397
+ };
398
+ export type BranchSituationsArgs = {
399
+ filter?: InputMaybe<Scalars['Json']>;
400
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
401
+ limit?: InputMaybe<Scalars['Int']>;
402
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
403
+ page?: InputMaybe<Scalars['Int']>;
404
+ search?: InputMaybe<Scalars['String']>;
405
+ sort?: InputMaybe<Scalars['Json']>;
406
+ };
385
407
  export type BranchStaffsArgs = {
386
408
  filter?: InputMaybe<Scalars['Json']>;
387
409
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
@@ -592,6 +614,8 @@ export type Building = {
592
614
  restoredBy?: Maybe<Scalars['ObjectId']>;
593
615
  /** Who last restored this bangunan. */
594
616
  restorer?: Maybe<User>;
617
+ /** Inversed relation from Bangunan field of neu:tempat:room model. */
618
+ rooms?: Maybe<Array<Room>>;
595
619
  /** When this bangunan was last synced. */
596
620
  syncedAt?: Maybe<Scalars['Date']>;
597
621
  /** When this bangunan was last updated. */
@@ -619,6 +643,15 @@ export type BuildingCheckInsArgs = {
619
643
  search?: InputMaybe<Scalars['String']>;
620
644
  sort?: InputMaybe<Scalars['Json']>;
621
645
  };
646
+ export type BuildingRoomsArgs = {
647
+ filter?: InputMaybe<Scalars['Json']>;
648
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
649
+ limit?: InputMaybe<Scalars['Int']>;
650
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
651
+ page?: InputMaybe<Scalars['Int']>;
652
+ search?: InputMaybe<Scalars['String']>;
653
+ sort?: InputMaybe<Scalars['Json']>;
654
+ };
622
655
  /** neu:tempat:building collection response. */
623
656
  export type BuildingCollectionResponse = {
624
657
  /** Response info. */
@@ -1232,6 +1265,10 @@ export type Mutation = {
1232
1265
  createOneRoom?: Maybe<RoomSingleResponse>;
1233
1266
  /** Create single neo:kokpit:service item. */
1234
1267
  createOneService?: Maybe<ServiceSingleResponse>;
1268
+ /** Create single neu:personalia:situation item. */
1269
+ createOneSituation?: Maybe<SituationSingleResponse>;
1270
+ /** Create single neu:personalia:situationType item. */
1271
+ createOneSituationType?: Maybe<SituationTypeSingleResponse>;
1235
1272
  /** Create single neu:personalia:staff item. */
1236
1273
  createOneStaff?: Maybe<StaffSingleResponse>;
1237
1274
  /** Create single neu:personalia:task item. */
@@ -1270,6 +1307,10 @@ export type Mutation = {
1270
1307
  deleteOneRoom?: Maybe<RoomSingleResponse>;
1271
1308
  /** Delete single neo:kokpit:service item. */
1272
1309
  deleteOneService?: Maybe<ServiceSingleResponse>;
1310
+ /** Delete single neu:personalia:situation item. */
1311
+ deleteOneSituation?: Maybe<SituationSingleResponse>;
1312
+ /** Delete single neu:personalia:situationType item. */
1313
+ deleteOneSituationType?: Maybe<SituationTypeSingleResponse>;
1273
1314
  /** Delete single neu:personalia:staff item. */
1274
1315
  deleteOneStaff?: Maybe<StaffSingleResponse>;
1275
1316
  /** Delete single neu:personalia:task item. */
@@ -1308,6 +1349,10 @@ export type Mutation = {
1308
1349
  duplicateOneRoom?: Maybe<RoomSingleResponse>;
1309
1350
  /** Duplicate single neo:kokpit:service item. */
1310
1351
  duplicateOneService?: Maybe<ServiceSingleResponse>;
1352
+ /** Duplicate single neu:personalia:situation item. */
1353
+ duplicateOneSituation?: Maybe<SituationSingleResponse>;
1354
+ /** Duplicate single neu:personalia:situationType item. */
1355
+ duplicateOneSituationType?: Maybe<SituationTypeSingleResponse>;
1311
1356
  /** Duplicate single neu:personalia:staff item. */
1312
1357
  duplicateOneStaff?: Maybe<StaffSingleResponse>;
1313
1358
  /** Duplicate single neu:personalia:task item. */
@@ -1348,6 +1393,10 @@ export type Mutation = {
1348
1393
  executeRoom?: Maybe<ExecuteResponse>;
1349
1394
  /** Execute a custom action on neo:kokpit:service. */
1350
1395
  executeService?: Maybe<ExecuteResponse>;
1396
+ /** Execute a custom action on neu:personalia:situation. */
1397
+ executeSituation?: Maybe<ExecuteResponse>;
1398
+ /** Execute a custom action on neu:personalia:situationType. */
1399
+ executeSituationType?: Maybe<ExecuteResponse>;
1351
1400
  /** Execute a custom action on neu:personalia:staff. */
1352
1401
  executeStaff?: Maybe<ExecuteResponse>;
1353
1402
  /** Execute a custom action on neu:personalia:task. */
@@ -1387,6 +1436,10 @@ export type Mutation = {
1387
1436
  restoreOneRoom?: Maybe<RoomSingleResponse>;
1388
1437
  /** Restore single neo:kokpit:service item. */
1389
1438
  restoreOneService?: Maybe<ServiceSingleResponse>;
1439
+ /** Restore single neu:personalia:situation item. */
1440
+ restoreOneSituation?: Maybe<SituationSingleResponse>;
1441
+ /** Restore single neu:personalia:situationType item. */
1442
+ restoreOneSituationType?: Maybe<SituationTypeSingleResponse>;
1390
1443
  /** Restore single neu:personalia:staff item. */
1391
1444
  restoreOneStaff?: Maybe<StaffSingleResponse>;
1392
1445
  /** Restore single neu:personalia:task item. */
@@ -1425,6 +1478,10 @@ export type Mutation = {
1425
1478
  syncManyRooms?: Maybe<SyncManyResponse>;
1426
1479
  /** Sync many neo:kokpit:service items. */
1427
1480
  syncManyServices?: Maybe<SyncManyResponse>;
1481
+ /** Sync many neu:personalia:situationType items. */
1482
+ syncManySituationTypes?: Maybe<SyncManyResponse>;
1483
+ /** Sync many neu:personalia:situation items. */
1484
+ syncManySituations?: Maybe<SyncManyResponse>;
1428
1485
  /** Sync many neu:personalia:staff items. */
1429
1486
  syncManyStaffs?: Maybe<SyncManyResponse>;
1430
1487
  /** Sync many neu:personalia:task items. */
@@ -1463,6 +1520,10 @@ export type Mutation = {
1463
1520
  syncOneRoom?: Maybe<RoomSingleResponse>;
1464
1521
  /** Sync single neo:kokpit:service item. */
1465
1522
  syncOneService?: Maybe<ServiceSingleResponse>;
1523
+ /** Sync single neu:personalia:situation item. */
1524
+ syncOneSituation?: Maybe<SituationSingleResponse>;
1525
+ /** Sync single neu:personalia:situationType item. */
1526
+ syncOneSituationType?: Maybe<SituationTypeSingleResponse>;
1466
1527
  /** Sync single neu:personalia:staff item. */
1467
1528
  syncOneStaff?: Maybe<StaffSingleResponse>;
1468
1529
  /** Sync single neu:personalia:task item. */
@@ -1501,6 +1562,10 @@ export type Mutation = {
1501
1562
  updateOneRoom?: Maybe<RoomSingleResponse>;
1502
1563
  /** Update single neo:kokpit:service item. */
1503
1564
  updateOneService?: Maybe<ServiceSingleResponse>;
1565
+ /** Update single neu:personalia:situation item. */
1566
+ updateOneSituation?: Maybe<SituationSingleResponse>;
1567
+ /** Update single neu:personalia:situationType item. */
1568
+ updateOneSituationType?: Maybe<SituationTypeSingleResponse>;
1504
1569
  /** Update single neu:personalia:staff item. */
1505
1570
  updateOneStaff?: Maybe<StaffSingleResponse>;
1506
1571
  /** Update single neu:personalia:task item. */
@@ -1585,6 +1650,16 @@ export type MutationCreateOneServiceArgs = {
1585
1650
  logs?: InputMaybe<Array<Scalars['String']>>;
1586
1651
  shortcuts?: InputMaybe<Array<Scalars['String']>>;
1587
1652
  };
1653
+ export type MutationCreateOneSituationArgs = {
1654
+ data: SituationInput;
1655
+ logs?: InputMaybe<Array<Scalars['String']>>;
1656
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
1657
+ };
1658
+ export type MutationCreateOneSituationTypeArgs = {
1659
+ data: SituationTypeInput;
1660
+ logs?: InputMaybe<Array<Scalars['String']>>;
1661
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
1662
+ };
1588
1663
  export type MutationCreateOneStaffArgs = {
1589
1664
  data: StaffInput;
1590
1665
  logs?: InputMaybe<Array<Scalars['String']>>;
@@ -1680,6 +1755,16 @@ export type MutationDeleteOneServiceArgs = {
1680
1755
  logs?: InputMaybe<Array<Scalars['String']>>;
1681
1756
  shortcuts?: InputMaybe<Array<Scalars['String']>>;
1682
1757
  };
1758
+ export type MutationDeleteOneSituationArgs = {
1759
+ id: Scalars['ObjectId'];
1760
+ logs?: InputMaybe<Array<Scalars['String']>>;
1761
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
1762
+ };
1763
+ export type MutationDeleteOneSituationTypeArgs = {
1764
+ id: Scalars['ObjectId'];
1765
+ logs?: InputMaybe<Array<Scalars['String']>>;
1766
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
1767
+ };
1683
1768
  export type MutationDeleteOneStaffArgs = {
1684
1769
  id: Scalars['ObjectId'];
1685
1770
  logs?: InputMaybe<Array<Scalars['String']>>;
@@ -1775,6 +1860,16 @@ export type MutationDuplicateOneServiceArgs = {
1775
1860
  logs?: InputMaybe<Array<Scalars['String']>>;
1776
1861
  shortcuts?: InputMaybe<Array<Scalars['String']>>;
1777
1862
  };
1863
+ export type MutationDuplicateOneSituationArgs = {
1864
+ id: Scalars['ObjectId'];
1865
+ logs?: InputMaybe<Array<Scalars['String']>>;
1866
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
1867
+ };
1868
+ export type MutationDuplicateOneSituationTypeArgs = {
1869
+ id: Scalars['ObjectId'];
1870
+ logs?: InputMaybe<Array<Scalars['String']>>;
1871
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
1872
+ };
1778
1873
  export type MutationDuplicateOneStaffArgs = {
1779
1874
  id: Scalars['ObjectId'];
1780
1875
  logs?: InputMaybe<Array<Scalars['String']>>;
@@ -1890,6 +1985,18 @@ export type MutationExecuteServiceArgs = {
1890
1985
  logs?: InputMaybe<Array<Scalars['String']>>;
1891
1986
  shortcuts?: InputMaybe<Array<Scalars['String']>>;
1892
1987
  };
1988
+ export type MutationExecuteSituationArgs = {
1989
+ action?: InputMaybe<Scalars['String']>;
1990
+ input?: InputMaybe<Scalars['Json']>;
1991
+ logs?: InputMaybe<Array<Scalars['String']>>;
1992
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
1993
+ };
1994
+ export type MutationExecuteSituationTypeArgs = {
1995
+ action?: InputMaybe<Scalars['String']>;
1996
+ input?: InputMaybe<Scalars['Json']>;
1997
+ logs?: InputMaybe<Array<Scalars['String']>>;
1998
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
1999
+ };
1893
2000
  export type MutationExecuteStaffArgs = {
1894
2001
  action?: InputMaybe<Scalars['String']>;
1895
2002
  input?: InputMaybe<Scalars['Json']>;
@@ -1989,6 +2096,16 @@ export type MutationRestoreOneServiceArgs = {
1989
2096
  logs?: InputMaybe<Array<Scalars['String']>>;
1990
2097
  shortcuts?: InputMaybe<Array<Scalars['String']>>;
1991
2098
  };
2099
+ export type MutationRestoreOneSituationArgs = {
2100
+ id: Scalars['ObjectId'];
2101
+ logs?: InputMaybe<Array<Scalars['String']>>;
2102
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
2103
+ };
2104
+ export type MutationRestoreOneSituationTypeArgs = {
2105
+ id: Scalars['ObjectId'];
2106
+ logs?: InputMaybe<Array<Scalars['String']>>;
2107
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
2108
+ };
1992
2109
  export type MutationRestoreOneStaffArgs = {
1993
2110
  id: Scalars['ObjectId'];
1994
2111
  logs?: InputMaybe<Array<Scalars['String']>>;
@@ -2204,6 +2321,32 @@ export type MutationSyncManyServicesArgs = {
2204
2321
  sort?: InputMaybe<Scalars['Json']>;
2205
2322
  useDry?: InputMaybe<Scalars['Boolean']>;
2206
2323
  };
2324
+ export type MutationSyncManySituationTypesArgs = {
2325
+ filter?: InputMaybe<Scalars['Json']>;
2326
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
2327
+ limit?: InputMaybe<Scalars['Int']>;
2328
+ logs?: InputMaybe<Array<Scalars['String']>>;
2329
+ maxSyncedAt?: InputMaybe<Scalars['Date']>;
2330
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
2331
+ page?: InputMaybe<Scalars['Int']>;
2332
+ search?: InputMaybe<Scalars['String']>;
2333
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
2334
+ sort?: InputMaybe<Scalars['Json']>;
2335
+ useDry?: InputMaybe<Scalars['Boolean']>;
2336
+ };
2337
+ export type MutationSyncManySituationsArgs = {
2338
+ filter?: InputMaybe<Scalars['Json']>;
2339
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
2340
+ limit?: InputMaybe<Scalars['Int']>;
2341
+ logs?: InputMaybe<Array<Scalars['String']>>;
2342
+ maxSyncedAt?: InputMaybe<Scalars['Date']>;
2343
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
2344
+ page?: InputMaybe<Scalars['Int']>;
2345
+ search?: InputMaybe<Scalars['String']>;
2346
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
2347
+ sort?: InputMaybe<Scalars['Json']>;
2348
+ useDry?: InputMaybe<Scalars['Boolean']>;
2349
+ };
2207
2350
  export type MutationSyncManyStaffsArgs = {
2208
2351
  filter?: InputMaybe<Scalars['Json']>;
2209
2352
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
@@ -2331,6 +2474,16 @@ export type MutationSyncOneServiceArgs = {
2331
2474
  logs?: InputMaybe<Array<Scalars['String']>>;
2332
2475
  shortcuts?: InputMaybe<Array<Scalars['String']>>;
2333
2476
  };
2477
+ export type MutationSyncOneSituationArgs = {
2478
+ id: Scalars['ObjectId'];
2479
+ logs?: InputMaybe<Array<Scalars['String']>>;
2480
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
2481
+ };
2482
+ export type MutationSyncOneSituationTypeArgs = {
2483
+ id: Scalars['ObjectId'];
2484
+ logs?: InputMaybe<Array<Scalars['String']>>;
2485
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
2486
+ };
2334
2487
  export type MutationSyncOneStaffArgs = {
2335
2488
  id: Scalars['ObjectId'];
2336
2489
  logs?: InputMaybe<Array<Scalars['String']>>;
@@ -2441,6 +2594,18 @@ export type MutationUpdateOneServiceArgs = {
2441
2594
  logs?: InputMaybe<Array<Scalars['String']>>;
2442
2595
  shortcuts?: InputMaybe<Array<Scalars['String']>>;
2443
2596
  };
2597
+ export type MutationUpdateOneSituationArgs = {
2598
+ data: SituationInput;
2599
+ id: Scalars['ObjectId'];
2600
+ logs?: InputMaybe<Array<Scalars['String']>>;
2601
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
2602
+ };
2603
+ export type MutationUpdateOneSituationTypeArgs = {
2604
+ data: SituationTypeInput;
2605
+ id: Scalars['ObjectId'];
2606
+ logs?: InputMaybe<Array<Scalars['String']>>;
2607
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
2608
+ };
2444
2609
  export type MutationUpdateOneStaffArgs = {
2445
2610
  data: StaffInput;
2446
2611
  id: Scalars['ObjectId'];
@@ -2720,6 +2885,10 @@ export type ProvinceSingleResponse = {
2720
2885
  item?: Maybe<Province>;
2721
2886
  };
2722
2887
  export type Query = {
2888
+ Situation?: Maybe<SituationSingleResponse>;
2889
+ SituationType?: Maybe<SituationTypeSingleResponse>;
2890
+ SituationTypes?: Maybe<SituationTypeCollectionResponse>;
2891
+ Situations?: Maybe<SituationCollectionResponse>;
2723
2892
  Task?: Maybe<TaskSingleResponse>;
2724
2893
  Tasks?: Maybe<TaskCollectionResponse>;
2725
2894
  application?: Maybe<ApplicationSingleResponse>;
@@ -2768,6 +2937,10 @@ export type Query = {
2768
2937
  countRooms?: Maybe<CountResponse>;
2769
2938
  /** Count neo:kokpit:service items. */
2770
2939
  countServices?: Maybe<CountResponse>;
2940
+ /** Count neu:personalia:situationType items. */
2941
+ countSituationTypes?: Maybe<CountResponse>;
2942
+ /** Count neu:personalia:situation items. */
2943
+ countSituations?: Maybe<CountResponse>;
2771
2944
  /** Count neu:personalia:staff items. */
2772
2945
  countStaffs?: Maybe<CountResponse>;
2773
2946
  /** Count neu:personalia:task items. */
@@ -2798,6 +2971,38 @@ export type Query = {
2798
2971
  user?: Maybe<UserSingleResponse>;
2799
2972
  users?: Maybe<UserCollectionResponse>;
2800
2973
  };
2974
+ export type QuerySituationArgs = {
2975
+ id: Scalars['ObjectId'];
2976
+ logs?: InputMaybe<Array<Scalars['String']>>;
2977
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
2978
+ };
2979
+ export type QuerySituationTypeArgs = {
2980
+ id: Scalars['ObjectId'];
2981
+ logs?: InputMaybe<Array<Scalars['String']>>;
2982
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
2983
+ };
2984
+ export type QuerySituationTypesArgs = {
2985
+ filter?: InputMaybe<Scalars['Json']>;
2986
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
2987
+ limit?: InputMaybe<Scalars['Int']>;
2988
+ logs?: InputMaybe<Array<Scalars['String']>>;
2989
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
2990
+ page?: InputMaybe<Scalars['Int']>;
2991
+ search?: InputMaybe<Scalars['String']>;
2992
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
2993
+ sort?: InputMaybe<Scalars['Json']>;
2994
+ };
2995
+ export type QuerySituationsArgs = {
2996
+ filter?: InputMaybe<Scalars['Json']>;
2997
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
2998
+ limit?: InputMaybe<Scalars['Int']>;
2999
+ logs?: InputMaybe<Array<Scalars['String']>>;
3000
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
3001
+ page?: InputMaybe<Scalars['Int']>;
3002
+ search?: InputMaybe<Scalars['String']>;
3003
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
3004
+ sort?: InputMaybe<Scalars['Json']>;
3005
+ };
2801
3006
  export type QueryTaskArgs = {
2802
3007
  id: Scalars['ObjectId'];
2803
3008
  logs?: InputMaybe<Array<Scalars['String']>>;
@@ -3107,6 +3312,28 @@ export type QueryCountServicesArgs = {
3107
3312
  shortcuts?: InputMaybe<Array<Scalars['String']>>;
3108
3313
  sort?: InputMaybe<Scalars['Json']>;
3109
3314
  };
3315
+ export type QueryCountSituationTypesArgs = {
3316
+ filter?: InputMaybe<Scalars['Json']>;
3317
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
3318
+ limit?: InputMaybe<Scalars['Int']>;
3319
+ logs?: InputMaybe<Array<Scalars['String']>>;
3320
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
3321
+ page?: InputMaybe<Scalars['Int']>;
3322
+ search?: InputMaybe<Scalars['String']>;
3323
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
3324
+ sort?: InputMaybe<Scalars['Json']>;
3325
+ };
3326
+ export type QueryCountSituationsArgs = {
3327
+ filter?: InputMaybe<Scalars['Json']>;
3328
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
3329
+ limit?: InputMaybe<Scalars['Int']>;
3330
+ logs?: InputMaybe<Array<Scalars['String']>>;
3331
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
3332
+ page?: InputMaybe<Scalars['Int']>;
3333
+ search?: InputMaybe<Scalars['String']>;
3334
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
3335
+ sort?: InputMaybe<Scalars['Json']>;
3336
+ };
3110
3337
  export type QueryCountStaffsArgs = {
3111
3338
  filter?: InputMaybe<Scalars['Json']>;
3112
3339
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
@@ -3714,6 +3941,266 @@ export type ServiceSingleResponse = {
3714
3941
  /** Single neo:kokpit:service item. */
3715
3942
  item?: Maybe<Service>;
3716
3943
  };
3944
+ export type Situation = {
3945
+ /** Relation IDs of Cabang. */
3946
+ branchIds?: Maybe<Array<Scalars['ObjectId']>>;
3947
+ /** Cabang dari Situasi ini. */
3948
+ branches?: Maybe<Array<Branch>>;
3949
+ /** When this situasi was created. */
3950
+ createdAt?: Maybe<Scalars['Date']>;
3951
+ /** Relation ID of Created By. */
3952
+ createdBy?: Maybe<Scalars['ObjectId']>;
3953
+ /** Who created this situasi. */
3954
+ creator?: Maybe<User>;
3955
+ /** When this situasi was deleted. */
3956
+ deletedAt?: Maybe<Scalars['Date']>;
3957
+ /** Relation ID of Deleted By. */
3958
+ deletedBy?: Maybe<Scalars['ObjectId']>;
3959
+ /** Who deleted this situasi. */
3960
+ deleter?: Maybe<User>;
3961
+ /** Situasi */
3962
+ display?: Maybe<Scalars['String']>;
3963
+ /** Situasi */
3964
+ flag?: Maybe<Scalars['String']>;
3965
+ /** Object ID. */
3966
+ id?: Maybe<Scalars['ID']>;
3967
+ /** When this situasi was restored. */
3968
+ restoredAt?: Maybe<Scalars['Date']>;
3969
+ /** Relation ID of Restored By. */
3970
+ restoredBy?: Maybe<Scalars['ObjectId']>;
3971
+ /** Who last restored this situasi. */
3972
+ restorer?: Maybe<User>;
3973
+ /** Deskripsi dari situasi. */
3974
+ situationDescription?: Maybe<Scalars['String']>;
3975
+ /** Situasi ini berkaitan dengan siapa. */
3976
+ situationRelatedBy?: Maybe<Array<Staff>>;
3977
+ /** Relation IDs of Berkaitan Siapa. */
3978
+ situationRelatedByIds?: Maybe<Array<Scalars['ObjectId']>>;
3979
+ /** Situasi ini dilaporkan siapa. */
3980
+ situationReportedBy?: Maybe<Array<Staff>>;
3981
+ /** Relation IDs of Dilaporkan Siapa. */
3982
+ situationReportedByIds?: Maybe<Array<Scalars['ObjectId']>>;
3983
+ /** Response dari situasi. */
3984
+ situationResponse?: Maybe<Scalars['String']>;
3985
+ /** Status Situasi dari . */
3986
+ situationStatus?: Maybe<Scalars['String']>;
3987
+ /** Siapa yang bisa suportif dalam distuasi ini. */
3988
+ situationSupportedBy?: Maybe<Array<Staff>>;
3989
+ /** Relation IDs of Siapa Yang Bisa Supportif. */
3990
+ situationSupportedByIds?: Maybe<Array<Scalars['ObjectId']>>;
3991
+ /** Tipe Status dari Situasi ini. */
3992
+ situationType?: Maybe<SituationType>;
3993
+ /** Relation ID of Tipe Situasi. */
3994
+ situationTypeIds?: Maybe<Scalars['ObjectId']>;
3995
+ /** Status Supportif dari situasi. */
3996
+ supportiveStatus?: Maybe<Scalars['String']>;
3997
+ /** When this situasi was last synced. */
3998
+ syncedAt?: Maybe<Scalars['Date']>;
3999
+ /** When this situasi was last updated. */
4000
+ updatedAt?: Maybe<Scalars['Date']>;
4001
+ /** Relation ID of Updated By. */
4002
+ updatedBy?: Maybe<Scalars['ObjectId']>;
4003
+ /** Who last updated this situasi. */
4004
+ updater?: Maybe<User>;
4005
+ /** Tanggal dari urgensi situasi. */
4006
+ urgentSituationDate?: Maybe<Scalars['Date']>;
4007
+ };
4008
+ export type SituationBranchesArgs = {
4009
+ filter?: InputMaybe<Scalars['Json']>;
4010
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4011
+ limit?: InputMaybe<Scalars['Int']>;
4012
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4013
+ page?: InputMaybe<Scalars['Int']>;
4014
+ search?: InputMaybe<Scalars['String']>;
4015
+ sort?: InputMaybe<Scalars['Json']>;
4016
+ };
4017
+ export type SituationSituationRelatedByArgs = {
4018
+ filter?: InputMaybe<Scalars['Json']>;
4019
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4020
+ limit?: InputMaybe<Scalars['Int']>;
4021
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4022
+ page?: InputMaybe<Scalars['Int']>;
4023
+ search?: InputMaybe<Scalars['String']>;
4024
+ sort?: InputMaybe<Scalars['Json']>;
4025
+ };
4026
+ export type SituationSituationReportedByArgs = {
4027
+ filter?: InputMaybe<Scalars['Json']>;
4028
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4029
+ limit?: InputMaybe<Scalars['Int']>;
4030
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4031
+ page?: InputMaybe<Scalars['Int']>;
4032
+ search?: InputMaybe<Scalars['String']>;
4033
+ sort?: InputMaybe<Scalars['Json']>;
4034
+ };
4035
+ export type SituationSituationSupportedByArgs = {
4036
+ filter?: InputMaybe<Scalars['Json']>;
4037
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4038
+ limit?: InputMaybe<Scalars['Int']>;
4039
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4040
+ page?: InputMaybe<Scalars['Int']>;
4041
+ search?: InputMaybe<Scalars['String']>;
4042
+ sort?: InputMaybe<Scalars['Json']>;
4043
+ };
4044
+ /** neu:personalia:situation collection response. */
4045
+ export type SituationCollectionResponse = {
4046
+ /** Response info. */
4047
+ info?: Maybe<Info>;
4048
+ /** Collection of neu:personalia:situation items. */
4049
+ items?: Maybe<Array<Situation>>;
4050
+ };
4051
+ export type SituationInput = {
4052
+ /** Relation IDs of Cabang. */
4053
+ branchIds?: InputMaybe<Array<Scalars['ID']>>;
4054
+ /** When this situasi was created. */
4055
+ createdAt?: InputMaybe<Scalars['Date']>;
4056
+ /** Relation ID of Created By. */
4057
+ createdBy?: InputMaybe<Scalars['ObjectId']>;
4058
+ /** When this situasi was deleted. */
4059
+ deletedAt?: InputMaybe<Scalars['Date']>;
4060
+ /** Relation ID of Deleted By. */
4061
+ deletedBy?: InputMaybe<Scalars['ObjectId']>;
4062
+ /** Situasi */
4063
+ display?: InputMaybe<Scalars['String']>;
4064
+ /** Situasi */
4065
+ flag?: InputMaybe<Scalars['String']>;
4066
+ /** When this situasi was restored. */
4067
+ restoredAt?: InputMaybe<Scalars['Date']>;
4068
+ /** Relation ID of Restored By. */
4069
+ restoredBy?: InputMaybe<Scalars['ObjectId']>;
4070
+ /** Deskripsi dari situasi. */
4071
+ situationDescription?: InputMaybe<Scalars['String']>;
4072
+ /** Relation IDs of Berkaitan Siapa. */
4073
+ situationRelatedByIds?: InputMaybe<Array<Scalars['ID']>>;
4074
+ /** Relation IDs of Dilaporkan Siapa. */
4075
+ situationReportedByIds?: InputMaybe<Array<Scalars['ID']>>;
4076
+ /** Response dari situasi. */
4077
+ situationResponse?: InputMaybe<Scalars['String']>;
4078
+ /** Status Situasi dari . */
4079
+ situationStatus?: InputMaybe<Scalars['String']>;
4080
+ /** Relation IDs of Siapa Yang Bisa Supportif. */
4081
+ situationSupportedByIds?: InputMaybe<Array<Scalars['ID']>>;
4082
+ /** Relation ID of Tipe Situasi. */
4083
+ situationTypeIds?: InputMaybe<Scalars['ObjectId']>;
4084
+ /** Status Supportif dari situasi. */
4085
+ supportiveStatus?: InputMaybe<Scalars['String']>;
4086
+ /** When this situasi was last synced. */
4087
+ syncedAt?: InputMaybe<Scalars['Date']>;
4088
+ /** When this situasi was last updated. */
4089
+ updatedAt?: InputMaybe<Scalars['Date']>;
4090
+ /** Relation ID of Updated By. */
4091
+ updatedBy?: InputMaybe<Scalars['ObjectId']>;
4092
+ /** Tanggal dari urgensi situasi. */
4093
+ urgentSituationDate?: InputMaybe<Scalars['Date']>;
4094
+ };
4095
+ /** Single neu:personalia:situation response. */
4096
+ export type SituationSingleResponse = {
4097
+ /** Response info. */
4098
+ info?: Maybe<Info>;
4099
+ /** Single neu:personalia:situation item. */
4100
+ item?: Maybe<Situation>;
4101
+ };
4102
+ export type SituationType = {
4103
+ /** Relation IDs of Cabang. */
4104
+ branchIds?: Maybe<Array<Scalars['ObjectId']>>;
4105
+ /** Cabang dari Tipe situasi ini. */
4106
+ branches?: Maybe<Array<Branch>>;
4107
+ /** When this tipe situasi was created. */
4108
+ createdAt?: Maybe<Scalars['Date']>;
4109
+ /** Relation ID of Created By. */
4110
+ createdBy?: Maybe<Scalars['ObjectId']>;
4111
+ /** Who created this tipe situasi. */
4112
+ creator?: Maybe<User>;
4113
+ /** When this tipe situasi was deleted. */
4114
+ deletedAt?: Maybe<Scalars['Date']>;
4115
+ /** Relation ID of Deleted By. */
4116
+ deletedBy?: Maybe<Scalars['ObjectId']>;
4117
+ /** Who deleted this tipe situasi. */
4118
+ deleter?: Maybe<User>;
4119
+ /** Tipe Situasi */
4120
+ display?: Maybe<Scalars['String']>;
4121
+ /** Tipe Situasi */
4122
+ flag?: Maybe<Scalars['String']>;
4123
+ /** Object ID. */
4124
+ id?: Maybe<Scalars['ID']>;
4125
+ /** When this tipe situasi was restored. */
4126
+ restoredAt?: Maybe<Scalars['Date']>;
4127
+ /** Relation ID of Restored By. */
4128
+ restoredBy?: Maybe<Scalars['ObjectId']>;
4129
+ /** Who last restored this tipe situasi. */
4130
+ restorer?: Maybe<User>;
4131
+ /** Detail dari Tipe situasi. */
4132
+ situationTypeName?: Maybe<Scalars['String']>;
4133
+ /** Inversed relation from Tipe Situasi field of neu:personalia:situation model. */
4134
+ situations?: Maybe<Array<Situation>>;
4135
+ /** When this tipe situasi was last synced. */
4136
+ syncedAt?: Maybe<Scalars['Date']>;
4137
+ /** When this tipe situasi was last updated. */
4138
+ updatedAt?: Maybe<Scalars['Date']>;
4139
+ /** Relation ID of Updated By. */
4140
+ updatedBy?: Maybe<Scalars['ObjectId']>;
4141
+ /** Who last updated this tipe situasi. */
4142
+ updater?: Maybe<User>;
4143
+ };
4144
+ export type SituationTypeBranchesArgs = {
4145
+ filter?: InputMaybe<Scalars['Json']>;
4146
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4147
+ limit?: InputMaybe<Scalars['Int']>;
4148
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4149
+ page?: InputMaybe<Scalars['Int']>;
4150
+ search?: InputMaybe<Scalars['String']>;
4151
+ sort?: InputMaybe<Scalars['Json']>;
4152
+ };
4153
+ export type SituationTypeSituationsArgs = {
4154
+ filter?: InputMaybe<Scalars['Json']>;
4155
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4156
+ limit?: InputMaybe<Scalars['Int']>;
4157
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4158
+ page?: InputMaybe<Scalars['Int']>;
4159
+ search?: InputMaybe<Scalars['String']>;
4160
+ sort?: InputMaybe<Scalars['Json']>;
4161
+ };
4162
+ /** neu:personalia:situationType collection response. */
4163
+ export type SituationTypeCollectionResponse = {
4164
+ /** Response info. */
4165
+ info?: Maybe<Info>;
4166
+ /** Collection of neu:personalia:situationType items. */
4167
+ items?: Maybe<Array<SituationType>>;
4168
+ };
4169
+ export type SituationTypeInput = {
4170
+ /** Relation IDs of Cabang. */
4171
+ branchIds?: InputMaybe<Array<Scalars['ID']>>;
4172
+ /** When this tipe situasi was created. */
4173
+ createdAt?: InputMaybe<Scalars['Date']>;
4174
+ /** Relation ID of Created By. */
4175
+ createdBy?: InputMaybe<Scalars['ObjectId']>;
4176
+ /** When this tipe situasi was deleted. */
4177
+ deletedAt?: InputMaybe<Scalars['Date']>;
4178
+ /** Relation ID of Deleted By. */
4179
+ deletedBy?: InputMaybe<Scalars['ObjectId']>;
4180
+ /** Tipe Situasi */
4181
+ display?: InputMaybe<Scalars['String']>;
4182
+ /** Tipe Situasi */
4183
+ flag?: InputMaybe<Scalars['String']>;
4184
+ /** When this tipe situasi was restored. */
4185
+ restoredAt?: InputMaybe<Scalars['Date']>;
4186
+ /** Relation ID of Restored By. */
4187
+ restoredBy?: InputMaybe<Scalars['ObjectId']>;
4188
+ /** Detail dari Tipe situasi. */
4189
+ situationTypeName?: InputMaybe<Scalars['String']>;
4190
+ /** When this tipe situasi was last synced. */
4191
+ syncedAt?: InputMaybe<Scalars['Date']>;
4192
+ /** When this tipe situasi was last updated. */
4193
+ updatedAt?: InputMaybe<Scalars['Date']>;
4194
+ /** Relation ID of Updated By. */
4195
+ updatedBy?: InputMaybe<Scalars['ObjectId']>;
4196
+ };
4197
+ /** Single neu:personalia:situationType response. */
4198
+ export type SituationTypeSingleResponse = {
4199
+ /** Response info. */
4200
+ info?: Maybe<Info>;
4201
+ /** Single neu:personalia:situationType item. */
4202
+ item?: Maybe<SituationType>;
4203
+ };
3717
4204
  /** Sort direction. */
3718
4205
  export type SortDirection =
3719
4206
  /** Alias for ascending sort direction. */
@@ -3784,6 +4271,12 @@ export type Staff = {
3784
4271
  restoredBy?: Maybe<Scalars['ObjectId']>;
3785
4272
  /** Who last restored this karyawan. */
3786
4273
  restorer?: Maybe<User>;
4274
+ /** Inversed relation from Berkaitan Siapa field of neu:personalia:situation model. */
4275
+ situationRelatesBy?: Maybe<Array<Situation>>;
4276
+ /** Inversed relation from Dilaporkan Siapa field of neu:personalia:situation model. */
4277
+ situationReportesBy?: Maybe<Array<Situation>>;
4278
+ /** Inversed relation from Siapa Yang Bisa Supportif field of neu:personalia:situation model. */
4279
+ situationSupportsBy?: Maybe<Array<Situation>>;
3787
4280
  /** Inversed relation from Mensupervisi field of neu:personalia:task model. */
3788
4281
  supervisingAssignments?: Maybe<Array<Task>>;
3789
4282
  /** When this karyawan was last synced. */
@@ -3844,6 +4337,33 @@ export type StaffHelpAssignmentsArgs = {
3844
4337
  search?: InputMaybe<Scalars['String']>;
3845
4338
  sort?: InputMaybe<Scalars['Json']>;
3846
4339
  };
4340
+ export type StaffSituationRelatesByArgs = {
4341
+ filter?: InputMaybe<Scalars['Json']>;
4342
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4343
+ limit?: InputMaybe<Scalars['Int']>;
4344
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4345
+ page?: InputMaybe<Scalars['Int']>;
4346
+ search?: InputMaybe<Scalars['String']>;
4347
+ sort?: InputMaybe<Scalars['Json']>;
4348
+ };
4349
+ export type StaffSituationReportesByArgs = {
4350
+ filter?: InputMaybe<Scalars['Json']>;
4351
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4352
+ limit?: InputMaybe<Scalars['Int']>;
4353
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4354
+ page?: InputMaybe<Scalars['Int']>;
4355
+ search?: InputMaybe<Scalars['String']>;
4356
+ sort?: InputMaybe<Scalars['Json']>;
4357
+ };
4358
+ export type StaffSituationSupportsByArgs = {
4359
+ filter?: InputMaybe<Scalars['Json']>;
4360
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4361
+ limit?: InputMaybe<Scalars['Int']>;
4362
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4363
+ page?: InputMaybe<Scalars['Int']>;
4364
+ search?: InputMaybe<Scalars['String']>;
4365
+ sort?: InputMaybe<Scalars['Json']>;
4366
+ };
3847
4367
  export type StaffSupervisingAssignmentsArgs = {
3848
4368
  filter?: InputMaybe<Scalars['Json']>;
3849
4369
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
@@ -3910,6 +4430,18 @@ export type StaffSingleResponse = {
3910
4430
  item?: Maybe<Staff>;
3911
4431
  };
3912
4432
  export type Subscription = {
4433
+ /** One neu:personalia:situation item created. */
4434
+ SituationCreated?: Maybe<Situation>;
4435
+ /** One neu:personalia:situation item deleted. */
4436
+ SituationDeleted?: Maybe<Situation>;
4437
+ /** One neu:personalia:situationType item created. */
4438
+ SituationTypeCreated?: Maybe<SituationType>;
4439
+ /** One neu:personalia:situationType item deleted. */
4440
+ SituationTypeDeleted?: Maybe<SituationType>;
4441
+ /** One neu:personalia:situationType item updated. */
4442
+ SituationTypeUpdated?: Maybe<SituationType>;
4443
+ /** One neu:personalia:situation item updated. */
4444
+ SituationUpdated?: Maybe<Situation>;
3913
4445
  /** One neu:personalia:task item created. */
3914
4446
  TaskCreated?: Maybe<Task>;
3915
4447
  /** One neu:personalia:task item deleted. */
@@ -4025,6 +4557,66 @@ export type Subscription = {
4025
4557
  /** One neo:identitas:user item updated. */
4026
4558
  userUpdated?: Maybe<User>;
4027
4559
  };
4560
+ export type SubscriptionSituationCreatedArgs = {
4561
+ filter?: InputMaybe<Scalars['Json']>;
4562
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4563
+ limit?: InputMaybe<Scalars['Int']>;
4564
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4565
+ page?: InputMaybe<Scalars['Int']>;
4566
+ search?: InputMaybe<Scalars['String']>;
4567
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
4568
+ sort?: InputMaybe<Scalars['Json']>;
4569
+ };
4570
+ export type SubscriptionSituationDeletedArgs = {
4571
+ filter?: InputMaybe<Scalars['Json']>;
4572
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4573
+ limit?: InputMaybe<Scalars['Int']>;
4574
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4575
+ page?: InputMaybe<Scalars['Int']>;
4576
+ search?: InputMaybe<Scalars['String']>;
4577
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
4578
+ sort?: InputMaybe<Scalars['Json']>;
4579
+ };
4580
+ export type SubscriptionSituationTypeCreatedArgs = {
4581
+ filter?: InputMaybe<Scalars['Json']>;
4582
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4583
+ limit?: InputMaybe<Scalars['Int']>;
4584
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4585
+ page?: InputMaybe<Scalars['Int']>;
4586
+ search?: InputMaybe<Scalars['String']>;
4587
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
4588
+ sort?: InputMaybe<Scalars['Json']>;
4589
+ };
4590
+ export type SubscriptionSituationTypeDeletedArgs = {
4591
+ filter?: InputMaybe<Scalars['Json']>;
4592
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4593
+ limit?: InputMaybe<Scalars['Int']>;
4594
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4595
+ page?: InputMaybe<Scalars['Int']>;
4596
+ search?: InputMaybe<Scalars['String']>;
4597
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
4598
+ sort?: InputMaybe<Scalars['Json']>;
4599
+ };
4600
+ export type SubscriptionSituationTypeUpdatedArgs = {
4601
+ filter?: InputMaybe<Scalars['Json']>;
4602
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4603
+ limit?: InputMaybe<Scalars['Int']>;
4604
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4605
+ page?: InputMaybe<Scalars['Int']>;
4606
+ search?: InputMaybe<Scalars['String']>;
4607
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
4608
+ sort?: InputMaybe<Scalars['Json']>;
4609
+ };
4610
+ export type SubscriptionSituationUpdatedArgs = {
4611
+ filter?: InputMaybe<Scalars['Json']>;
4612
+ ids?: InputMaybe<Array<Scalars['ObjectId']>>;
4613
+ limit?: InputMaybe<Scalars['Int']>;
4614
+ minUpdatedAt?: InputMaybe<Scalars['Date']>;
4615
+ page?: InputMaybe<Scalars['Int']>;
4616
+ search?: InputMaybe<Scalars['String']>;
4617
+ shortcuts?: InputMaybe<Array<Scalars['String']>>;
4618
+ sort?: InputMaybe<Scalars['Json']>;
4619
+ };
4028
4620
  export type SubscriptionTaskCreatedArgs = {
4029
4621
  filter?: InputMaybe<Scalars['Json']>;
4030
4622
  ids?: InputMaybe<Array<Scalars['ObjectId']>>;
@@ -4625,7 +5217,7 @@ export type Task = {
4625
5217
  doingAssignmentIds?: Maybe<Array<Scalars['ObjectId']>>;
4626
5218
  /** Yang mengerjakan Tugas ini. */
4627
5219
  doingAssignments?: Maybe<Array<Staff>>;
4628
- /** Employee name virtual formatted to string */
5220
+ /** Employee name virtual formatted to trimmed string */
4629
5221
  employeeNameTrimmed?: Maybe<Scalars['String']>;
4630
5222
  /** Tanggal tugas selesai. */
4631
5223
  estimatedEndDate?: Maybe<Scalars['Date']>;
@@ -4755,7 +5347,7 @@ export type TaskInput = {
4755
5347
  display?: InputMaybe<Scalars['String']>;
4756
5348
  /** Relation IDs of Mengerjakan. */
4757
5349
  doingAssignmentIds?: InputMaybe<Array<Scalars['ID']>>;
4758
- /** Employee name virtual formatted to string */
5350
+ /** Employee name virtual formatted to trimmed string */
4759
5351
  employeeNameTrimmed?: InputMaybe<Scalars['String']>;
4760
5352
  /** Tanggal tugas selesai. */
4761
5353
  estimatedEndDate?: InputMaybe<Scalars['Date']>;
@@ -4971,7 +5563,7 @@ export type User = {
4971
5563
  organizations?: Maybe<Array<Organization>>;
4972
5564
  /** User password */
4973
5565
  password?: Maybe<Scalars['String']>;
4974
- /** Phone number of this user, must be handphone number. */
5566
+ /** Phone number of this user, must be handphone/cellular number. */
4975
5567
  phone?: Maybe<Scalars['String']>;
4976
5568
  /** Relation IDs of Policies. */
4977
5569
  policyIds?: Maybe<Array<Scalars['ObjectId']>>;
@@ -5122,7 +5714,7 @@ export type UserInput = {
5122
5714
  organizationIds?: InputMaybe<Array<Scalars['ID']>>;
5123
5715
  /** User password */
5124
5716
  password?: InputMaybe<Scalars['String']>;
5125
- /** Phone number of this user, must be handphone number. */
5717
+ /** Phone number of this user, must be handphone/cellular number. */
5126
5718
  phone?: InputMaybe<Scalars['String']>;
5127
5719
  /** Relation IDs of Policies. */
5128
5720
  policyIds?: InputMaybe<Array<Scalars['ID']>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.1.1-beta.4",
3
+ "version": "1.1.1-beta.5",
4
4
  "description": "Interface library of Neutron.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -59,14 +59,14 @@
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.2.1-beta.4",
62
+ "@neutron.co.id/personalia-models": "1.2.1-beta.5",
63
63
  "@nuxt/kit": "3.2.3",
64
64
  "vue": "3.2.47"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@faker-js/faker": "7.6.0",
68
- "@graphql-codegen/cli": "3.2.1",
69
- "@graphql-codegen/client-preset": "2.1.0",
68
+ "@graphql-codegen/cli": "3.2.2",
69
+ "@graphql-codegen/client-preset": "2.1.1",
70
70
  "@neon.id/module-builder": "0.13.0",
71
71
  "@neon.id/styles": "0.15.0",
72
72
  "@neon.id/types": "1.37.0",
@@ -91,7 +91,7 @@
91
91
  "@vue/eslint-config-prettier": "7.1.0",
92
92
  "@vue/eslint-config-typescript": "11.0.2",
93
93
  "@vueuse/core": "9.13.0",
94
- "@vueuse/head": "1.1.15",
94
+ "@vueuse/head": "1.1.19",
95
95
  "@vueuse/nuxt": "9.13.0",
96
96
  "autoprefixer": "10.4.13",
97
97
  "buffer": "6.0.3",
@@ -124,12 +124,12 @@
124
124
  "@neon.id/interfaces": "^0.153.0",
125
125
  "@neon.id/office": "^0.23.0",
126
126
  "@neon.id/utils": "^0.38.0",
127
- "@neutron.co.id/personalia-models": "^1.2.1-beta.4",
127
+ "@neutron.co.id/personalia-models": "^1.2.1-beta.5",
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": 61
134
+ "build": 62
135
135
  }