@neutron.co.id/operasional-interfaces 1.9.7 → 1.11.0

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # Vortex XXX's Interfaces
1
+ # Neutron Operasional Interfaces
2
2
 
3
- This repository contains interface library boilerplate of Vortex.
3
+ This repository contains interface library of Neutron Operasional.
@@ -0,0 +1 @@
1
+ export {};
@@ -1,2 +1,2 @@
1
- export declare const CheckInModel: import("@neon.id/model").Model<"neu:tempat:checkIn", "type" | "branch" | "user" | "note" | "building" | "checkInAt" | "student" | "teacher" | "staff" | "virtualStaff" | "informationCheckIn">;
1
+ export declare const CheckInModel: import("@neon.id/model").Model<"neu:tempat:checkIn", "type" | "branch" | "user" | "note" | "building" | "latitude" | "longitude" | "checkInAt" | "student" | "teacher" | "staff" | "virtualStaff" | "informationCheckIn">;
2
2
  export type TCheckInModel = typeof CheckInModel;
@@ -1,4 +1,9 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("stop" | "close" | "start" | "scanned")[], "stop" | "close" | "start" | "scanned", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ stop: (...args: any[]) => void;
3
+ close: (...args: any[]) => void;
4
+ start: (...args: any[]) => void;
5
+ scanned: (...args: any[]) => void;
6
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
2
7
  onClose?: ((...args: any[]) => any) | undefined;
3
8
  onStop?: ((...args: any[]) => any) | undefined;
4
9
  onStart?: ((...args: any[]) => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { MaybeProp } from '../../../types';
1
+ import { MaybeProp } from '../../../../../@package/types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  modelValue: {
4
4
  type: MaybeProp<string>;
@@ -12,7 +12,9 @@ declare const _default: import("vue").DefineComponent<{
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
15
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ "update:modelValue": (...args: any[]) => void;
17
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
18
  modelValue: {
17
19
  type: MaybeProp<string>;
18
20
  default: undefined;
@@ -1,6 +1,5 @@
1
- import type { NBase } from '@neon.id/types';
2
1
  import { type PropType } from 'vue';
3
- import { MaybeProp } from '../../../types';
2
+ import { MaybeProp } from '../../../../../@package/types';
4
3
  export interface UpdateUserPayload {
5
4
  userId: string;
6
5
  roleIds: string[];
@@ -19,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
19
18
  default: null;
20
19
  };
21
20
  roles: {
22
- type: PropType<NBase.ItemAttribute[]>;
21
+ type: PropType<any[]>;
23
22
  default: () => never[];
24
23
  };
25
24
  errors: {
@@ -27,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
27
26
  default: () => {};
28
27
  };
29
28
  onChoose: {
30
- type: PropType<(userId: string) => Promise<any>>;
29
+ type: PropType<(userId: string) => Promise<any | undefined>>;
31
30
  default: null;
32
31
  };
33
32
  onRegister: {
@@ -62,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
62
61
  default: null;
63
62
  };
64
63
  roles: {
65
- type: PropType<NBase.ItemAttribute[]>;
64
+ type: PropType<any[]>;
66
65
  default: () => never[];
67
66
  };
68
67
  errors: {
@@ -70,7 +69,7 @@ declare const _default: import("vue").DefineComponent<{
70
69
  default: () => {};
71
70
  };
72
71
  onChoose: {
73
- type: PropType<(userId: string) => Promise<any>>;
72
+ type: PropType<(userId: string) => Promise<any | undefined>>;
74
73
  default: null;
75
74
  };
76
75
  onRegister: {
@@ -93,11 +92,11 @@ declare const _default: import("vue").DefineComponent<{
93
92
  "onNo-conflict"?: (() => any) | undefined;
94
93
  }, {
95
94
  user: import("@neutron.co.id/personalia-models").User | null;
96
- roles: NBase.ItemAttribute[];
95
+ roles: any[];
97
96
  profile: any;
98
97
  errors: Record<string, string>;
99
98
  conflict: any;
100
- onChoose: (userId: string) => Promise<any>;
99
+ onChoose: (userId: string) => Promise<any | undefined>;
101
100
  onRegister: (payload: any) => Promise<string | undefined>;
102
101
  onConnect: (userId: string) => Promise<any>;
103
102
  onDisconnect: (payload: UpdateUserPayload) => Promise<any>;
@@ -1,2 +1,2 @@
1
- export declare const ProgressModel: import("@neon.id/model").Model<"neu:personalia:progress", "nameStaff" | "startedAt" | "endedAt" | "branches" | "accessStaffs" | "detail" | "isNotes" | "plans" | "priority" | "responsibilities" | "staffs" | "submissions" | "virtualIsNotes" | "virtualStaffs">;
1
+ export declare const ProgressModel: import("@neon.id/model").Model<"neu:personalia:progress", "nameStaff" | "startedAt" | "endedAt" | "branches" | "accessStaffs" | "detail" | "isNotes" | "plans" | "priority" | "responsibilities" | "staffs" | "submissions" | "tasks" | "virtualIsNotes" | "virtualStaffs">;
2
2
  export type TProgressModel = typeof ProgressModel;
@@ -1,2 +1,2 @@
1
- export declare const ResponsibilityModel: import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "branches" | "detail" | "condition" | "lastProgress" | "responsibilityType" | "result" | "score" | "staffSupervises" | "staffWorks" | "title">;
1
+ export declare const ResponsibilityModel: import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "branches" | "detail" | "condition" | "lastProgress" | "responsibilityType" | "result" | "score" | "staffSupervises" | "staffWorks" | "title" | "virtualStaffWorks">;
2
2
  export type TResponsibilityModel = typeof ResponsibilityModel;
@@ -1,2 +1,2 @@
1
- export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "branch" | "name" | "user" | "image" | "note" | "birthDate" | "birthPlace" | "branches" | "nik">;
1
+ export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "status" | "branch" | "name" | "user" | "image" | "note" | "birthDate" | "birthPlace" | "branches" | "nik">;
2
2
  export type TStaffModel = typeof StaffModel;
@@ -1,2 +1,2 @@
1
- export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "status" | "user" | "branches" | "doingAssignments" | "helpAssignments" | "supervisingAssignments" | "priority" | "employeeNameTrimmed" | "estimatedEndDate" | "estimatedHourByDay" | "estimatedHourCognitiveAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCreativeAssignment" | "estimatedHourDoingAssignment" | "estimatedRealizedAssignmentEnd" | "estimatedRealizedAssignmentStart" | "estimatedStartDate" | "externalServiceDescription" | "giveAssignments" | "images" | "internalServiceDescription" | "resultAssignment" | "taskName">;
1
+ export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "status" | "user" | "branches" | "doingAssignments" | "helpAssignments" | "supervisingAssignments" | "detail" | "priority" | "submissions" | "employeeNameTrimmed" | "canceledDate" | "completedDate" | "estimatedEndDate" | "estimatedHour" | "estimatedHourByDay" | "estimatedHourCognitiveAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCreativeAssignment" | "estimatedHourDoingAssignment" | "estimatedRealizedAssignmentEnd" | "estimatedRealizedAssignmentStart" | "estimatedStartDate" | "externalServiceDescription" | "giveAssignments" | "images" | "internalServiceDescription" | "percentStatus" | "resultAssignment" | "taskName">;
2
2
  export type TTaskModel = typeof TaskModel;
@@ -1,4 +1,4 @@
1
- import { Schema } from '../../types';
1
+ import { Schema } from '../../../../@package/types';
2
2
  import { ComputedRef, Ref } from 'vue';
3
3
  export interface Input {
4
4
  }