@neutron.co.id/operasional-modules 1.10.2-beta.1 → 1.10.3
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/personalia/resources/attendance/attendance.model.d.ts +1 -1
- package/build/personalia/resources/attendance/attendance.model.mjs +9 -2
- package/build/personalia/resources/attendance/attendance.resource.d.ts +1 -1
- package/build/personalia/resources/checkIn/checkIn.model.d.ts +1 -1
- package/build/personalia/resources/checkIn/checkIn.model.mjs +2 -1
- package/build/personalia/resources/checkIn/checkIn.resource.d.ts +1 -1
- package/build/personalia/resources/checkIn/checkIn.views.mjs +2 -2
- package/build/personalia/resources/progress/progress.model.d.ts +1 -1
- package/build/personalia/resources/progress/progress.model.mjs +2 -1
- package/build/personalia/resources/progress/progress.resource.d.ts +1 -1
- package/build/personalia/resources/responsibility/responsibility.model.d.ts +1 -1
- package/build/personalia/resources/responsibility/responsibility.model.mjs +2 -1
- package/build/personalia/resources/responsibility/responsibility.resource.d.ts +1 -1
- package/build/personalia/resources/staff/staff.model.d.ts +1 -1
- package/build/personalia/resources/staff/staff.model.mjs +9 -2
- package/build/personalia/resources/staff/staff.resource.d.ts +1 -1
- package/package.json +26 -26
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const AttendanceModel: import("@neon.id/model").Model<"neu:personalia:attendance", "status" | "type" | "submitStaff" | "decideStaff" | "submittedAt" | "startedAt" | "endedAt" | "notes" | "nameStaff" | "branch" | "virtualSubmitStaff" | "attendanceAt" | "homeAt" | "earlyAt" | "comeAt" | "lateAt">;
|
|
1
|
+
export declare const AttendanceModel: import("@neon.id/model").Model<"neu:personalia:attendance", "status" | "type" | "submitStaff" | "decideStaff" | "submittedAt" | "startedAt" | "endedAt" | "notes" | "nameStaff" | "branch" | "delegateStaffs" | "virtualSubmitStaff" | "attendanceAt" | "homeAt" | "earlyAt" | "comeAt" | "lateAt">;
|
|
2
2
|
export type TAttendanceModel = typeof AttendanceModel;
|
|
3
3
|
export declare const fragments: {
|
|
4
4
|
item: Schema.Attendance;
|
|
@@ -29,12 +29,19 @@ const item = {
|
|
|
29
29
|
startedAt: 1,
|
|
30
30
|
endedAt: 1,
|
|
31
31
|
updatedAt: 1,
|
|
32
|
-
updatedBy: 1
|
|
32
|
+
updatedBy: 1,
|
|
33
|
+
delegateStaffs: {
|
|
34
|
+
id: 1,
|
|
35
|
+
name: 1,
|
|
36
|
+
display: 1,
|
|
37
|
+
flag: 1
|
|
38
|
+
}
|
|
33
39
|
};
|
|
34
40
|
const detail = {
|
|
35
41
|
...item,
|
|
36
42
|
submitStaffId: 1,
|
|
37
|
-
decideStaffId: 1
|
|
43
|
+
decideStaffId: 1,
|
|
44
|
+
delegateStaffIds: 1
|
|
38
45
|
};
|
|
39
46
|
export const fragments = {
|
|
40
47
|
item,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Resource } from '@neon.id/context';
|
|
2
|
-
export declare const AttendanceResource: Resource<Schema.Attendance, import("@neon.id/model").Model<"neu:personalia:attendance", "status" | "type" | "submitStaff" | "decideStaff" | "submittedAt" | "startedAt" | "endedAt" | "notes" | "nameStaff" | "branch" | "virtualSubmitStaff" | "attendanceAt" | "homeAt" | "earlyAt" | "comeAt" | "lateAt">>;
|
|
2
|
+
export declare const AttendanceResource: Resource<Schema.Attendance, import("@neon.id/model").Model<"neu:personalia:attendance", "status" | "type" | "submitStaff" | "decideStaff" | "submittedAt" | "startedAt" | "endedAt" | "notes" | "nameStaff" | "branch" | "delegateStaffs" | "virtualSubmitStaff" | "attendanceAt" | "homeAt" | "earlyAt" | "comeAt" | "lateAt">>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const CheckInModel: import("@neon.id/model").Model<"neu:tempat:checkIn", "staff" | "type" | "user" | "branch" | "checkInAt" | "building" | "note" | "latitude" | "longitude" | "student" | "teacher" | "virtualStaff" | "informationCheckIn">;
|
|
1
|
+
export declare const CheckInModel: import("@neon.id/model").Model<"neu:tempat:checkIn", "staff" | "type" | "user" | "branch" | "statusGPS" | "checkInAt" | "building" | "note" | "latitude" | "longitude" | "student" | "teacher" | "virtualStaff" | "informationCheckIn">;
|
|
2
2
|
export type TCheckInModel = typeof CheckInModel;
|
|
3
3
|
export declare const fragments: {
|
|
4
4
|
item: Schema.CheckIn;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Resource } from '@neon.id/context';
|
|
2
|
-
export declare const CheckInResource: Resource<Schema.CheckIn, import("@neon.id/model").Model<"neu:tempat:checkIn", "staff" | "type" | "user" | "branch" | "checkInAt" | "building" | "note" | "latitude" | "longitude" | "student" | "teacher" | "virtualStaff" | "informationCheckIn">>;
|
|
2
|
+
export declare const CheckInResource: Resource<Schema.CheckIn, import("@neon.id/model").Model<"neu:tempat:checkIn", "staff" | "type" | "user" | "branch" | "statusGPS" | "checkInAt" | "building" | "note" | "latitude" | "longitude" | "student" | "teacher" | "virtualStaff" | "informationCheckIn">>;
|
|
@@ -20,7 +20,7 @@ export const CheckInCollectionExternalView = ResourceUtil.createCollection({
|
|
|
20
20
|
view: "external",
|
|
21
21
|
peeks: ["modal"]
|
|
22
22
|
},
|
|
23
|
-
columns: ["display", "type", "checkInAt", "staff", "building"],
|
|
23
|
+
columns: ["statusGPS", "display", "type", "checkInAt", "staff", "building"],
|
|
24
24
|
filters: ["type", "building"],
|
|
25
25
|
sorts: ["checkInAt"]
|
|
26
26
|
});
|
|
@@ -44,7 +44,7 @@ export const CheckInCollectionSupervisorView = ResourceUtil.createCollection({
|
|
|
44
44
|
view: "supervisor",
|
|
45
45
|
peeks: ["modal"]
|
|
46
46
|
},
|
|
47
|
-
columns: ["display", "type", "checkInAt", "staff", "building"],
|
|
47
|
+
columns: ["statusGPS", "display", "type", "checkInAt", "staff", "building"],
|
|
48
48
|
sorts: ["checkInAt"],
|
|
49
49
|
query: () => {
|
|
50
50
|
const { supervisedStaffIds } = useOperasional();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ProgressModel: import("@neon.id/model").Model<"neu:personalia:progress", "startedAt" | "endedAt" | "nameStaff" | "branches" | "detail" | "staffs" | "plans" | "virtualIsNotes" | "accessStaffs" | "priority" | "isNotes" | "submissions" | "virtualStaffs" | "responsibilities" | "tasks">;
|
|
1
|
+
export declare const ProgressModel: import("@neon.id/model").Model<"neu:personalia:progress", "startedAt" | "endedAt" | "nameStaff" | "branches" | "detail" | "staffs" | "plans" | "virtualIsNotes" | "accessStaffs" | "priority" | "isNotes" | "submissions" | "virtualStaffs" | "responsibilities" | "tasks" | "reports">;
|
|
2
2
|
export type TProgressModel = typeof ProgressModel;
|
|
3
3
|
export declare const fragments: {
|
|
4
4
|
item: Schema.Progress;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Resource } from '@neon.id/context';
|
|
2
|
-
export declare const ProgressResource: Resource<Schema.Progress, import("@neon.id/model").Model<"neu:personalia:progress", "startedAt" | "endedAt" | "nameStaff" | "branches" | "detail" | "staffs" | "plans" | "virtualIsNotes" | "accessStaffs" | "priority" | "isNotes" | "submissions" | "virtualStaffs" | "responsibilities" | "tasks">>;
|
|
2
|
+
export declare const ProgressResource: Resource<Schema.Progress, import("@neon.id/model").Model<"neu:personalia:progress", "startedAt" | "endedAt" | "nameStaff" | "branches" | "detail" | "staffs" | "plans" | "virtualIsNotes" | "accessStaffs" | "priority" | "isNotes" | "submissions" | "virtualStaffs" | "responsibilities" | "tasks" | "reports">>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ResponsibilityModel: import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "title" | "branches" | "detail" | "condition" | "responsibilityType" | "staffWorks" | "staffSupervises" | "score" | "lastProgress" | "virtualStaffWorks" | "result">;
|
|
1
|
+
export declare const ResponsibilityModel: import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "title" | "branches" | "detail" | "reports" | "condition" | "responsibilityType" | "staffWorks" | "staffSupervises" | "score" | "lastProgress" | "virtualStaffWorks" | "result">;
|
|
2
2
|
export type TResponsibilityModel = typeof ResponsibilityModel;
|
|
3
3
|
export declare const fragments: {
|
|
4
4
|
item: Schema.Responsibility;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Resource } from '@neon.id/context';
|
|
2
|
-
export declare const ResponsibilityResource: Resource<Schema.Responsibility, import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "title" | "branches" | "detail" | "condition" | "responsibilityType" | "staffWorks" | "staffSupervises" | "score" | "lastProgress" | "virtualStaffWorks" | "result">>;
|
|
2
|
+
export declare const ResponsibilityResource: Resource<Schema.Responsibility, import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "title" | "branches" | "detail" | "reports" | "condition" | "responsibilityType" | "staffWorks" | "staffSupervises" | "score" | "lastProgress" | "virtualStaffWorks" | "result">>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "status" | "user" | "name" | "branch" | "point" | "image" | "note" | "branches" | "nik" | "birthPlace" | "birthDate">;
|
|
1
|
+
export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "status" | "user" | "name" | "branch" | "point" | "image" | "note" | "branches" | "nik" | "birthPlace" | "birthDate" | "virtualRoles">;
|
|
2
2
|
export type TStaffModel = typeof StaffModel;
|
|
3
3
|
export declare const fragments: {
|
|
4
4
|
item: Schema.Staff;
|
|
@@ -29,13 +29,20 @@ const item = {
|
|
|
29
29
|
roleIds: 1
|
|
30
30
|
},
|
|
31
31
|
status: 1,
|
|
32
|
-
point: 1
|
|
32
|
+
point: 1,
|
|
33
|
+
virtualRoles: {
|
|
34
|
+
id: 1,
|
|
35
|
+
display: 1,
|
|
36
|
+
flag: 1,
|
|
37
|
+
name: 1
|
|
38
|
+
}
|
|
33
39
|
};
|
|
34
40
|
const detail = {
|
|
35
41
|
...item,
|
|
36
42
|
branchId: 1,
|
|
37
43
|
branchIds: 1,
|
|
38
|
-
userId: 1
|
|
44
|
+
userId: 1,
|
|
45
|
+
virtualRoleIds: 1
|
|
39
46
|
};
|
|
40
47
|
export const fragments = {
|
|
41
48
|
item,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Resource } from '@neon.id/context';
|
|
2
|
-
export declare const StaffResource: Resource<Schema.Staff, import("@neon.id/model").Model<"neu:personalia:staff", "status" | "user" | "name" | "branch" | "point" | "image" | "note" | "branches" | "nik" | "birthPlace" | "birthDate">>;
|
|
2
|
+
export declare const StaffResource: Resource<Schema.Staff, import("@neon.id/model").Model<"neu:personalia:staff", "status" | "user" | "name" | "branch" | "point" | "image" | "note" | "branches" | "nik" | "birthPlace" | "birthDate" | "virtualRoles">>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-modules",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"description": "Modules of Neutron Operasional.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"contributors": [
|
|
@@ -42,47 +42,47 @@
|
|
|
42
42
|
"warm": "nuxt prepare"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@neon.id/context": "^1.
|
|
46
|
-
"@neon.id/display": "^1.
|
|
47
|
-
"@neon.id/interfaces": "^1.
|
|
48
|
-
"@neon.id/office": "^1.
|
|
49
|
-
"@neon.id/query": "^1.
|
|
50
|
-
"@neutron.co.id/operasional-interfaces": "^1.11.
|
|
51
|
-
"@neutron.co.id/personalia-models": "^1.10.2
|
|
52
|
-
"@nuxt/kit": "^3.
|
|
45
|
+
"@neon.id/context": "^1.23.0",
|
|
46
|
+
"@neon.id/display": "^1.16.0",
|
|
47
|
+
"@neon.id/interfaces": "^1.25.0",
|
|
48
|
+
"@neon.id/office": "^1.21.0",
|
|
49
|
+
"@neon.id/query": "^1.6.0",
|
|
50
|
+
"@neutron.co.id/operasional-interfaces": "^1.11.2",
|
|
51
|
+
"@neutron.co.id/personalia-models": "^1.10.2",
|
|
52
|
+
"@nuxt/kit": "^3.8.1",
|
|
53
53
|
"pretty-bytes": "^6.1.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@neon.id/cli": "0.
|
|
57
|
-
"@neon.id/module-builder": "1.
|
|
58
|
-
"@neon.id/types": "1.
|
|
59
|
-
"@types/eslint": "8.44.
|
|
60
|
-
"@types/node": "20.
|
|
56
|
+
"@neon.id/cli": "0.13.0",
|
|
57
|
+
"@neon.id/module-builder": "1.3.0",
|
|
58
|
+
"@neon.id/types": "1.61.0",
|
|
59
|
+
"@types/eslint": "8.44.7",
|
|
60
|
+
"@types/node": "20.9.0",
|
|
61
61
|
"@types/prettier": "3.0.0",
|
|
62
62
|
"@vortex.so/eslint-plugin": "0.7.0",
|
|
63
|
-
"eslint": "8.
|
|
63
|
+
"eslint": "8.53.0",
|
|
64
64
|
"globby": "13.2.2",
|
|
65
65
|
"magicast": "0.3.0",
|
|
66
|
-
"nuxt": "3.
|
|
66
|
+
"nuxt": "3.8.1",
|
|
67
67
|
"prettier": "3.0.3",
|
|
68
68
|
"typescript": "5.2.2",
|
|
69
69
|
"unbuild": "2.0.0",
|
|
70
|
-
"vite": "4.
|
|
70
|
+
"vite": "4.5.0",
|
|
71
71
|
"vitest": "0.34.6"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@neon.id/context": "^1.
|
|
75
|
-
"@neon.id/display": "^1.
|
|
76
|
-
"@neon.id/interfaces": "^1.
|
|
77
|
-
"@neon.id/office": "^1.
|
|
78
|
-
"@neon.id/query": "^1.
|
|
79
|
-
"@neutron.co.id/operasional-interfaces": "^1.11.
|
|
80
|
-
"@neutron.co.id/personalia-models": "^1.10.2
|
|
81
|
-
"@nuxt/kit": "^3.
|
|
74
|
+
"@neon.id/context": "^1.23.0",
|
|
75
|
+
"@neon.id/display": "^1.16.0",
|
|
76
|
+
"@neon.id/interfaces": "^1.25.0",
|
|
77
|
+
"@neon.id/office": "^1.21.0",
|
|
78
|
+
"@neon.id/query": "^1.6.0",
|
|
79
|
+
"@neutron.co.id/operasional-interfaces": "^1.11.2",
|
|
80
|
+
"@neutron.co.id/personalia-models": "^1.10.2",
|
|
81
|
+
"@nuxt/kit": "^3.8.1",
|
|
82
82
|
"pretty-bytes": "^6.1.1"
|
|
83
83
|
},
|
|
84
84
|
"publishConfig": {
|
|
85
85
|
"access": "public"
|
|
86
86
|
},
|
|
87
|
-
"build":
|
|
87
|
+
"build": 82
|
|
88
88
|
}
|