@neutron.co.id/operasional-modules 1.10.3 → 1.10.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/personalia/resources/submission/submission.model.d.ts +1 -1
- package/build/personalia/resources/submission/submission.model.mjs +9 -2
- package/build/personalia/resources/submission/submission.resource.d.ts +1 -1
- package/build/personalia/resources/submission/submission.views.mjs +34 -6
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SubmissionModel: import("@neon.id/model").Model<"neu:personalia:submission", "status" | "type" | "nameStaff" | "image" | "title" | "branches" | "raisedAt" | "submissionStaffs" | "raiseStaffs" | "decideStaffs" | "followUpStaffs" | "nominal" | "preparedAt" | "processedAt" | "agreedStaffs" | "delayStaffs" | "virtualFollowUpStaffs" | "specifications" | "document" | "workingHours">;
|
|
1
|
+
export declare const SubmissionModel: import("@neon.id/model").Model<"neu:personalia:submission", "status" | "type" | "nameStaff" | "image" | "title" | "branches" | "raisedAt" | "submissionStaffs" | "raiseStaffs" | "decideStaffs" | "followUpStaffs" | "nominal" | "preparedAt" | "processedAt" | "areas" | "agreedStaffs" | "delayStaffs" | "virtualFollowUpStaffs" | "specifications" | "document" | "workingHours">;
|
|
2
2
|
export type TSubmissionModel = typeof SubmissionModel;
|
|
3
3
|
export declare const fragments: {
|
|
4
4
|
item: Schema.Submission;
|
|
@@ -56,7 +56,13 @@ const item = {
|
|
|
56
56
|
updatedAt: 1,
|
|
57
57
|
image: 1,
|
|
58
58
|
nameStaff: 1,
|
|
59
|
-
updatedBy: 1
|
|
59
|
+
updatedBy: 1,
|
|
60
|
+
areas: {
|
|
61
|
+
id: 1,
|
|
62
|
+
display: 1,
|
|
63
|
+
flag: 1,
|
|
64
|
+
name: 1
|
|
65
|
+
}
|
|
60
66
|
};
|
|
61
67
|
const detail = {
|
|
62
68
|
...item,
|
|
@@ -67,7 +73,8 @@ const detail = {
|
|
|
67
73
|
followUpStaffIds: 1,
|
|
68
74
|
agreedStaffIds: 1,
|
|
69
75
|
delayStaffIds: 1,
|
|
70
|
-
submissionTypeIds: 1
|
|
76
|
+
submissionTypeIds: 1,
|
|
77
|
+
areaIds: 1
|
|
71
78
|
};
|
|
72
79
|
export const fragments = {
|
|
73
80
|
item,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Resource } from '@neon.id/context';
|
|
2
|
-
export declare const SubmissionResource: Resource<Schema.Submission, import("@neon.id/model").Model<"neu:personalia:submission", "status" | "type" | "nameStaff" | "image" | "title" | "branches" | "raisedAt" | "submissionStaffs" | "raiseStaffs" | "decideStaffs" | "followUpStaffs" | "nominal" | "preparedAt" | "processedAt" | "agreedStaffs" | "delayStaffs" | "virtualFollowUpStaffs" | "specifications" | "document" | "workingHours">>;
|
|
2
|
+
export declare const SubmissionResource: Resource<Schema.Submission, import("@neon.id/model").Model<"neu:personalia:submission", "status" | "type" | "nameStaff" | "image" | "title" | "branches" | "raisedAt" | "submissionStaffs" | "raiseStaffs" | "decideStaffs" | "followUpStaffs" | "nominal" | "preparedAt" | "processedAt" | "areas" | "agreedStaffs" | "delayStaffs" | "virtualFollowUpStaffs" | "specifications" | "document" | "workingHours">>;
|
|
@@ -54,7 +54,14 @@ export const SubmissionCollectionStaffView = ResourceUtil.createCollection({
|
|
|
54
54
|
"decideStaffs",
|
|
55
55
|
"followUpStaffs"
|
|
56
56
|
],
|
|
57
|
-
sorts: [
|
|
57
|
+
sorts: [
|
|
58
|
+
"type",
|
|
59
|
+
"preparedAt",
|
|
60
|
+
"raisedAt",
|
|
61
|
+
"processedAt",
|
|
62
|
+
"createdAt",
|
|
63
|
+
"updatedAt"
|
|
64
|
+
],
|
|
58
65
|
query: () => {
|
|
59
66
|
const { staff } = useOperasional();
|
|
60
67
|
return Query.define({
|
|
@@ -115,7 +122,7 @@ export const SubmissionCollectionFollowUpView = ResourceUtil.createCollection({
|
|
|
115
122
|
"decideStaffs",
|
|
116
123
|
"followUpStaffs"
|
|
117
124
|
],
|
|
118
|
-
sorts: ["updatedAt", "createdAt", "updater"],
|
|
125
|
+
sorts: ["type", "updatedAt", "createdAt", "updater"],
|
|
119
126
|
query: () => {
|
|
120
127
|
const { staff } = useOperasional();
|
|
121
128
|
return Query.define({
|
|
@@ -182,7 +189,14 @@ export const SubmissionCollectionAuditView = ResourceUtil.createCollection({
|
|
|
182
189
|
"decideStaffs",
|
|
183
190
|
"followUpStaffs"
|
|
184
191
|
],
|
|
185
|
-
sorts: [
|
|
192
|
+
sorts: [
|
|
193
|
+
"type",
|
|
194
|
+
"preparedAt",
|
|
195
|
+
"raisedAt",
|
|
196
|
+
"processedAt",
|
|
197
|
+
"createdAt",
|
|
198
|
+
"updatedAt"
|
|
199
|
+
],
|
|
186
200
|
query: () => {
|
|
187
201
|
const { staff } = useOperasional();
|
|
188
202
|
return Query.define({
|
|
@@ -243,7 +257,14 @@ export const SubmissionCollectionDecisionView = ResourceUtil.createCollection({
|
|
|
243
257
|
"decideStaffs",
|
|
244
258
|
"followUpStaffs"
|
|
245
259
|
],
|
|
246
|
-
sorts: [
|
|
260
|
+
sorts: [
|
|
261
|
+
"type",
|
|
262
|
+
"preparedAt",
|
|
263
|
+
"raisedAt",
|
|
264
|
+
"processedAt",
|
|
265
|
+
"createdAt",
|
|
266
|
+
"updatedAt"
|
|
267
|
+
],
|
|
247
268
|
query: () => {
|
|
248
269
|
const { staff } = useOperasional();
|
|
249
270
|
return Query.define({
|
|
@@ -304,7 +325,14 @@ export const SubmissionCollectionWaitingDecisionView = ResourceUtil.createCollec
|
|
|
304
325
|
"decideStaffs",
|
|
305
326
|
"followUpStaffs"
|
|
306
327
|
],
|
|
307
|
-
sorts: [
|
|
328
|
+
sorts: [
|
|
329
|
+
"type",
|
|
330
|
+
"preparedAt",
|
|
331
|
+
"raisedAt",
|
|
332
|
+
"processedAt",
|
|
333
|
+
"createdAt",
|
|
334
|
+
"updatedAt"
|
|
335
|
+
],
|
|
308
336
|
query: () => {
|
|
309
337
|
const { staff } = useOperasional();
|
|
310
338
|
return Query.define({
|
|
@@ -381,7 +409,7 @@ export const SubmissionCollectionSupervisorView = ResourceUtil.createCollection(
|
|
|
381
409
|
"decideStaffs",
|
|
382
410
|
"followUpStaffs"
|
|
383
411
|
],
|
|
384
|
-
sorts: ["updatedAt", "createdAt", "updater"],
|
|
412
|
+
sorts: ["type", "updatedAt", "createdAt", "updater"],
|
|
385
413
|
query: () => {
|
|
386
414
|
const { supervisedStaffIds } = useOperasional();
|
|
387
415
|
return Query.define({
|
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.4",
|
|
4
4
|
"description": "Modules of Neutron Operasional.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"contributors": [
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@neon.id/interfaces": "^1.25.0",
|
|
48
48
|
"@neon.id/office": "^1.21.0",
|
|
49
49
|
"@neon.id/query": "^1.6.0",
|
|
50
|
-
"@neutron.co.id/operasional-interfaces": "^1.11.
|
|
51
|
-
"@neutron.co.id/personalia-models": "^1.10.
|
|
50
|
+
"@neutron.co.id/operasional-interfaces": "^1.11.4",
|
|
51
|
+
"@neutron.co.id/personalia-models": "^1.10.4",
|
|
52
52
|
"@nuxt/kit": "^3.8.1",
|
|
53
53
|
"pretty-bytes": "^6.1.1"
|
|
54
54
|
},
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
"@neon.id/interfaces": "^1.25.0",
|
|
77
77
|
"@neon.id/office": "^1.21.0",
|
|
78
78
|
"@neon.id/query": "^1.6.0",
|
|
79
|
-
"@neutron.co.id/operasional-interfaces": "^1.11.
|
|
80
|
-
"@neutron.co.id/personalia-models": "^1.10.
|
|
79
|
+
"@neutron.co.id/operasional-interfaces": "^1.11.4",
|
|
80
|
+
"@neutron.co.id/personalia-models": "^1.10.4",
|
|
81
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": 83
|
|
88
88
|
}
|