@neutron.co.id/operasional-modules 1.10.3 → 1.10.5-beta.1
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 +52 -12
- 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" | "areas" | "preparedAt" | "processedAt" | "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" | "areas" | "preparedAt" | "processedAt" | "agreedStaffs" | "delayStaffs" | "virtualFollowUpStaffs" | "specifications" | "document" | "workingHours">>;
|
|
@@ -42,19 +42,28 @@ export const SubmissionCollectionStaffView = ResourceUtil.createCollection({
|
|
|
42
42
|
"raiseStaffs",
|
|
43
43
|
"decideStaffs",
|
|
44
44
|
"followUpStaffs",
|
|
45
|
-
"nominal"
|
|
45
|
+
"nominal",
|
|
46
|
+
"areas"
|
|
46
47
|
],
|
|
47
48
|
filters: [
|
|
48
49
|
"status",
|
|
49
50
|
"type",
|
|
50
51
|
// 'specifications',
|
|
51
52
|
"branches",
|
|
53
|
+
"areas",
|
|
52
54
|
"submissionStaffs",
|
|
53
55
|
"raiseStaffs",
|
|
54
56
|
"decideStaffs",
|
|
55
57
|
"followUpStaffs"
|
|
56
58
|
],
|
|
57
|
-
sorts: [
|
|
59
|
+
sorts: [
|
|
60
|
+
"type",
|
|
61
|
+
"preparedAt",
|
|
62
|
+
"raisedAt",
|
|
63
|
+
"processedAt",
|
|
64
|
+
"createdAt",
|
|
65
|
+
"updatedAt"
|
|
66
|
+
],
|
|
58
67
|
query: () => {
|
|
59
68
|
const { staff } = useOperasional();
|
|
60
69
|
return Query.define({
|
|
@@ -103,19 +112,21 @@ export const SubmissionCollectionFollowUpView = ResourceUtil.createCollection({
|
|
|
103
112
|
"raiseStaffs",
|
|
104
113
|
"decideStaffs",
|
|
105
114
|
"followUpStaffs",
|
|
106
|
-
"nominal"
|
|
115
|
+
"nominal",
|
|
116
|
+
"areas"
|
|
107
117
|
],
|
|
108
118
|
filters: [
|
|
109
119
|
"status",
|
|
110
120
|
"type",
|
|
111
121
|
// 'specifications',
|
|
112
122
|
"branches",
|
|
123
|
+
"areas",
|
|
113
124
|
"submissionStaffs",
|
|
114
125
|
"raiseStaffs",
|
|
115
126
|
"decideStaffs",
|
|
116
127
|
"followUpStaffs"
|
|
117
128
|
],
|
|
118
|
-
sorts: ["updatedAt", "createdAt", "updater"],
|
|
129
|
+
sorts: ["type", "updatedAt", "createdAt", "updater"],
|
|
119
130
|
query: () => {
|
|
120
131
|
const { staff } = useOperasional();
|
|
121
132
|
return Query.define({
|
|
@@ -170,19 +181,28 @@ export const SubmissionCollectionAuditView = ResourceUtil.createCollection({
|
|
|
170
181
|
"raiseStaffs",
|
|
171
182
|
"decideStaffs",
|
|
172
183
|
"followUpStaffs",
|
|
173
|
-
"nominal"
|
|
184
|
+
"nominal",
|
|
185
|
+
"areas"
|
|
174
186
|
],
|
|
175
187
|
filters: [
|
|
176
188
|
"status",
|
|
177
189
|
"type",
|
|
178
190
|
// 'specifications',
|
|
179
191
|
"branches",
|
|
192
|
+
"areas",
|
|
180
193
|
"submissionStaffs",
|
|
181
194
|
"raiseStaffs",
|
|
182
195
|
"decideStaffs",
|
|
183
196
|
"followUpStaffs"
|
|
184
197
|
],
|
|
185
|
-
sorts: [
|
|
198
|
+
sorts: [
|
|
199
|
+
"type",
|
|
200
|
+
"preparedAt",
|
|
201
|
+
"raisedAt",
|
|
202
|
+
"processedAt",
|
|
203
|
+
"createdAt",
|
|
204
|
+
"updatedAt"
|
|
205
|
+
],
|
|
186
206
|
query: () => {
|
|
187
207
|
const { staff } = useOperasional();
|
|
188
208
|
return Query.define({
|
|
@@ -231,19 +251,28 @@ export const SubmissionCollectionDecisionView = ResourceUtil.createCollection({
|
|
|
231
251
|
"raiseStaffs",
|
|
232
252
|
"decideStaffs",
|
|
233
253
|
"followUpStaffs",
|
|
234
|
-
"nominal"
|
|
254
|
+
"nominal",
|
|
255
|
+
"areas"
|
|
235
256
|
],
|
|
236
257
|
filters: [
|
|
237
258
|
"status",
|
|
238
259
|
"type",
|
|
239
260
|
// 'specifications',
|
|
240
261
|
"branches",
|
|
262
|
+
"areas",
|
|
241
263
|
"submissionStaffs",
|
|
242
264
|
"raiseStaffs",
|
|
243
265
|
"decideStaffs",
|
|
244
266
|
"followUpStaffs"
|
|
245
267
|
],
|
|
246
|
-
sorts: [
|
|
268
|
+
sorts: [
|
|
269
|
+
"type",
|
|
270
|
+
"preparedAt",
|
|
271
|
+
"raisedAt",
|
|
272
|
+
"processedAt",
|
|
273
|
+
"createdAt",
|
|
274
|
+
"updatedAt"
|
|
275
|
+
],
|
|
247
276
|
query: () => {
|
|
248
277
|
const { staff } = useOperasional();
|
|
249
278
|
return Query.define({
|
|
@@ -292,19 +321,28 @@ export const SubmissionCollectionWaitingDecisionView = ResourceUtil.createCollec
|
|
|
292
321
|
"raiseStaffs",
|
|
293
322
|
"decideStaffs",
|
|
294
323
|
"followUpStaffs",
|
|
295
|
-
"nominal"
|
|
324
|
+
"nominal",
|
|
325
|
+
"areas"
|
|
296
326
|
],
|
|
297
327
|
filters: [
|
|
298
328
|
"status",
|
|
299
329
|
"type",
|
|
300
330
|
// 'specifications',
|
|
301
331
|
"branches",
|
|
332
|
+
"areas",
|
|
302
333
|
"submissionStaffs",
|
|
303
334
|
"raiseStaffs",
|
|
304
335
|
"decideStaffs",
|
|
305
336
|
"followUpStaffs"
|
|
306
337
|
],
|
|
307
|
-
sorts: [
|
|
338
|
+
sorts: [
|
|
339
|
+
"type",
|
|
340
|
+
"preparedAt",
|
|
341
|
+
"raisedAt",
|
|
342
|
+
"processedAt",
|
|
343
|
+
"createdAt",
|
|
344
|
+
"updatedAt"
|
|
345
|
+
],
|
|
308
346
|
query: () => {
|
|
309
347
|
const { staff } = useOperasional();
|
|
310
348
|
return Query.define({
|
|
@@ -369,19 +407,21 @@ export const SubmissionCollectionSupervisorView = ResourceUtil.createCollection(
|
|
|
369
407
|
"raiseStaffs",
|
|
370
408
|
"decideStaffs",
|
|
371
409
|
"followUpStaffs",
|
|
372
|
-
"nominal"
|
|
410
|
+
"nominal",
|
|
411
|
+
"areas"
|
|
373
412
|
],
|
|
374
413
|
filters: [
|
|
375
414
|
"status",
|
|
376
415
|
"type",
|
|
377
416
|
// 'specifications',
|
|
378
417
|
"branches",
|
|
418
|
+
"areas",
|
|
379
419
|
"submissionStaffs",
|
|
380
420
|
"raiseStaffs",
|
|
381
421
|
"decideStaffs",
|
|
382
422
|
"followUpStaffs"
|
|
383
423
|
],
|
|
384
|
-
sorts: ["updatedAt", "createdAt", "updater"],
|
|
424
|
+
sorts: ["type", "updatedAt", "createdAt", "updater"],
|
|
385
425
|
query: () => {
|
|
386
426
|
const { supervisedStaffIds } = useOperasional();
|
|
387
427
|
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.5-beta.1",
|
|
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": 84
|
|
88
88
|
}
|