@hed-hog/operations 0.0.299 → 0.0.300
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/dist/operations.service.js +1193 -1193
- package/hedhog/data/menu.yaml +198 -198
- package/hedhog/data/role.yaml +23 -23
- package/hedhog/data/route.yaml +317 -317
- package/hedhog/table/operations_approval.yaml +49 -49
- package/hedhog/table/operations_approval_history.yaml +29 -29
- package/hedhog/table/operations_collaborator.yaml +67 -67
- package/hedhog/table/operations_collaborator_schedule_day.yaml +34 -34
- package/hedhog/table/operations_contract.yaml +100 -100
- package/hedhog/table/operations_contract_document.yaml +39 -39
- package/hedhog/table/operations_contract_financial_term.yaml +40 -40
- package/hedhog/table/operations_contract_history.yaml +27 -27
- package/hedhog/table/operations_contract_party.yaml +46 -46
- package/hedhog/table/operations_contract_revision.yaml +38 -38
- package/hedhog/table/operations_contract_signature.yaml +38 -38
- package/hedhog/table/operations_project.yaml +54 -54
- package/hedhog/table/operations_project_assignment.yaml +55 -55
- package/hedhog/table/operations_schedule_adjustment_day.yaml +34 -34
- package/hedhog/table/operations_schedule_adjustment_request.yaml +53 -53
- package/hedhog/table/operations_time_off_request.yaml +57 -57
- package/hedhog/table/operations_timesheet.yaml +41 -41
- package/hedhog/table/operations_timesheet_entry.yaml +40 -40
- package/package.json +4 -4
- package/src/operations.controller.ts +182 -182
- package/src/operations.module.ts +22 -22
- package/src/operations.service.ts +3595 -3595
- package/dist/operations-data.controller.d.ts +0 -139
- package/dist/operations-data.controller.d.ts.map +0 -1
- package/dist/operations-data.controller.js +0 -113
- package/dist/operations-data.controller.js.map +0 -1
- package/dist/operations-growth.controller.d.ts +0 -48
- package/dist/operations-growth.controller.d.ts.map +0 -1
- package/dist/operations-growth.controller.js +0 -90
- package/dist/operations-growth.controller.js.map +0 -1
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: collaborator_id
|
|
4
|
-
type: fk
|
|
5
|
-
references:
|
|
6
|
-
table: operations_collaborator
|
|
7
|
-
column: id
|
|
8
|
-
onDelete: CASCADE
|
|
9
|
-
onUpdate: CASCADE
|
|
10
|
-
- name: approver_collaborator_id
|
|
11
|
-
type: fk
|
|
12
|
-
isNullable: true
|
|
13
|
-
references:
|
|
14
|
-
table: operations_collaborator
|
|
15
|
-
column: id
|
|
16
|
-
onDelete: SET NULL
|
|
17
|
-
onUpdate: CASCADE
|
|
18
|
-
- name: request_scope
|
|
19
|
-
type: enum
|
|
20
|
-
values: [temporary, permanent]
|
|
21
|
-
default: temporary
|
|
22
|
-
- name: effective_start_date
|
|
23
|
-
type: date
|
|
24
|
-
- name: effective_end_date
|
|
25
|
-
type: date
|
|
26
|
-
isNullable: true
|
|
27
|
-
- name: status
|
|
28
|
-
type: enum
|
|
29
|
-
values: [draft, submitted, approved, rejected, cancelled]
|
|
30
|
-
default: draft
|
|
31
|
-
- name: reason
|
|
32
|
-
type: text
|
|
33
|
-
isNullable: true
|
|
34
|
-
- name: submitted_at
|
|
35
|
-
type: datetime
|
|
36
|
-
isNullable: true
|
|
37
|
-
- name: reviewed_at
|
|
38
|
-
type: datetime
|
|
39
|
-
isNullable: true
|
|
40
|
-
- name: deleted_at
|
|
41
|
-
type: datetime
|
|
42
|
-
isNullable: true
|
|
43
|
-
- type: created_at
|
|
44
|
-
- type: updated_at
|
|
45
|
-
|
|
46
|
-
indices:
|
|
47
|
-
- columns: [collaborator_id]
|
|
48
|
-
- columns: [approver_collaborator_id]
|
|
49
|
-
- columns: [request_scope]
|
|
50
|
-
- columns: [status]
|
|
51
|
-
- columns: [effective_start_date]
|
|
52
|
-
- columns: [effective_end_date]
|
|
53
|
-
- columns: [deleted_at]
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: collaborator_id
|
|
4
|
+
type: fk
|
|
5
|
+
references:
|
|
6
|
+
table: operations_collaborator
|
|
7
|
+
column: id
|
|
8
|
+
onDelete: CASCADE
|
|
9
|
+
onUpdate: CASCADE
|
|
10
|
+
- name: approver_collaborator_id
|
|
11
|
+
type: fk
|
|
12
|
+
isNullable: true
|
|
13
|
+
references:
|
|
14
|
+
table: operations_collaborator
|
|
15
|
+
column: id
|
|
16
|
+
onDelete: SET NULL
|
|
17
|
+
onUpdate: CASCADE
|
|
18
|
+
- name: request_scope
|
|
19
|
+
type: enum
|
|
20
|
+
values: [temporary, permanent]
|
|
21
|
+
default: temporary
|
|
22
|
+
- name: effective_start_date
|
|
23
|
+
type: date
|
|
24
|
+
- name: effective_end_date
|
|
25
|
+
type: date
|
|
26
|
+
isNullable: true
|
|
27
|
+
- name: status
|
|
28
|
+
type: enum
|
|
29
|
+
values: [draft, submitted, approved, rejected, cancelled]
|
|
30
|
+
default: draft
|
|
31
|
+
- name: reason
|
|
32
|
+
type: text
|
|
33
|
+
isNullable: true
|
|
34
|
+
- name: submitted_at
|
|
35
|
+
type: datetime
|
|
36
|
+
isNullable: true
|
|
37
|
+
- name: reviewed_at
|
|
38
|
+
type: datetime
|
|
39
|
+
isNullable: true
|
|
40
|
+
- name: deleted_at
|
|
41
|
+
type: datetime
|
|
42
|
+
isNullable: true
|
|
43
|
+
- type: created_at
|
|
44
|
+
- type: updated_at
|
|
45
|
+
|
|
46
|
+
indices:
|
|
47
|
+
- columns: [collaborator_id]
|
|
48
|
+
- columns: [approver_collaborator_id]
|
|
49
|
+
- columns: [request_scope]
|
|
50
|
+
- columns: [status]
|
|
51
|
+
- columns: [effective_start_date]
|
|
52
|
+
- columns: [effective_end_date]
|
|
53
|
+
- columns: [deleted_at]
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: collaborator_id
|
|
4
|
-
type: fk
|
|
5
|
-
references:
|
|
6
|
-
table: operations_collaborator
|
|
7
|
-
column: id
|
|
8
|
-
onDelete: CASCADE
|
|
9
|
-
onUpdate: CASCADE
|
|
10
|
-
- name: approver_collaborator_id
|
|
11
|
-
type: fk
|
|
12
|
-
isNullable: true
|
|
13
|
-
references:
|
|
14
|
-
table: operations_collaborator
|
|
15
|
-
column: id
|
|
16
|
-
onDelete: SET NULL
|
|
17
|
-
onUpdate: CASCADE
|
|
18
|
-
- name: request_type
|
|
19
|
-
type: enum
|
|
20
|
-
values: [vacation, personal_time, sick_leave, unpaid_leave, other]
|
|
21
|
-
default: vacation
|
|
22
|
-
- name: start_date
|
|
23
|
-
type: date
|
|
24
|
-
- name: end_date
|
|
25
|
-
type: date
|
|
26
|
-
- name: total_days
|
|
27
|
-
type: decimal
|
|
28
|
-
precision: 6
|
|
29
|
-
scale: 2
|
|
30
|
-
isNullable: true
|
|
31
|
-
- name: status
|
|
32
|
-
type: enum
|
|
33
|
-
values: [draft, submitted, approved, rejected, cancelled]
|
|
34
|
-
default: draft
|
|
35
|
-
- name: reason
|
|
36
|
-
type: text
|
|
37
|
-
isNullable: true
|
|
38
|
-
- name: submitted_at
|
|
39
|
-
type: datetime
|
|
40
|
-
isNullable: true
|
|
41
|
-
- name: reviewed_at
|
|
42
|
-
type: datetime
|
|
43
|
-
isNullable: true
|
|
44
|
-
- name: deleted_at
|
|
45
|
-
type: datetime
|
|
46
|
-
isNullable: true
|
|
47
|
-
- type: created_at
|
|
48
|
-
- type: updated_at
|
|
49
|
-
|
|
50
|
-
indices:
|
|
51
|
-
- columns: [collaborator_id]
|
|
52
|
-
- columns: [approver_collaborator_id]
|
|
53
|
-
- columns: [request_type]
|
|
54
|
-
- columns: [status]
|
|
55
|
-
- columns: [start_date]
|
|
56
|
-
- columns: [end_date]
|
|
57
|
-
- columns: [deleted_at]
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: collaborator_id
|
|
4
|
+
type: fk
|
|
5
|
+
references:
|
|
6
|
+
table: operations_collaborator
|
|
7
|
+
column: id
|
|
8
|
+
onDelete: CASCADE
|
|
9
|
+
onUpdate: CASCADE
|
|
10
|
+
- name: approver_collaborator_id
|
|
11
|
+
type: fk
|
|
12
|
+
isNullable: true
|
|
13
|
+
references:
|
|
14
|
+
table: operations_collaborator
|
|
15
|
+
column: id
|
|
16
|
+
onDelete: SET NULL
|
|
17
|
+
onUpdate: CASCADE
|
|
18
|
+
- name: request_type
|
|
19
|
+
type: enum
|
|
20
|
+
values: [vacation, personal_time, sick_leave, unpaid_leave, other]
|
|
21
|
+
default: vacation
|
|
22
|
+
- name: start_date
|
|
23
|
+
type: date
|
|
24
|
+
- name: end_date
|
|
25
|
+
type: date
|
|
26
|
+
- name: total_days
|
|
27
|
+
type: decimal
|
|
28
|
+
precision: 6
|
|
29
|
+
scale: 2
|
|
30
|
+
isNullable: true
|
|
31
|
+
- name: status
|
|
32
|
+
type: enum
|
|
33
|
+
values: [draft, submitted, approved, rejected, cancelled]
|
|
34
|
+
default: draft
|
|
35
|
+
- name: reason
|
|
36
|
+
type: text
|
|
37
|
+
isNullable: true
|
|
38
|
+
- name: submitted_at
|
|
39
|
+
type: datetime
|
|
40
|
+
isNullable: true
|
|
41
|
+
- name: reviewed_at
|
|
42
|
+
type: datetime
|
|
43
|
+
isNullable: true
|
|
44
|
+
- name: deleted_at
|
|
45
|
+
type: datetime
|
|
46
|
+
isNullable: true
|
|
47
|
+
- type: created_at
|
|
48
|
+
- type: updated_at
|
|
49
|
+
|
|
50
|
+
indices:
|
|
51
|
+
- columns: [collaborator_id]
|
|
52
|
+
- columns: [approver_collaborator_id]
|
|
53
|
+
- columns: [request_type]
|
|
54
|
+
- columns: [status]
|
|
55
|
+
- columns: [start_date]
|
|
56
|
+
- columns: [end_date]
|
|
57
|
+
- columns: [deleted_at]
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: collaborator_id
|
|
4
|
-
type: fk
|
|
5
|
-
references:
|
|
6
|
-
table: operations_collaborator
|
|
7
|
-
column: id
|
|
8
|
-
onDelete: CASCADE
|
|
9
|
-
onUpdate: CASCADE
|
|
10
|
-
- name: approver_collaborator_id
|
|
11
|
-
type: fk
|
|
12
|
-
isNullable: true
|
|
13
|
-
references:
|
|
14
|
-
table: operations_collaborator
|
|
15
|
-
column: id
|
|
16
|
-
onDelete: SET NULL
|
|
17
|
-
onUpdate: CASCADE
|
|
18
|
-
- name: week_start_date
|
|
19
|
-
type: date
|
|
20
|
-
- name: week_end_date
|
|
21
|
-
type: date
|
|
22
|
-
- name: total_hours
|
|
23
|
-
type: decimal
|
|
24
|
-
precision: 6
|
|
25
|
-
scale: 2
|
|
26
|
-
isNullable: true
|
|
27
|
-
- name: status
|
|
28
|
-
type: enum
|
|
29
|
-
values: [draft, submitted, approved, rejected]
|
|
30
|
-
default: draft
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: collaborator_id
|
|
4
|
+
type: fk
|
|
5
|
+
references:
|
|
6
|
+
table: operations_collaborator
|
|
7
|
+
column: id
|
|
8
|
+
onDelete: CASCADE
|
|
9
|
+
onUpdate: CASCADE
|
|
10
|
+
- name: approver_collaborator_id
|
|
11
|
+
type: fk
|
|
12
|
+
isNullable: true
|
|
13
|
+
references:
|
|
14
|
+
table: operations_collaborator
|
|
15
|
+
column: id
|
|
16
|
+
onDelete: SET NULL
|
|
17
|
+
onUpdate: CASCADE
|
|
18
|
+
- name: week_start_date
|
|
19
|
+
type: date
|
|
20
|
+
- name: week_end_date
|
|
21
|
+
type: date
|
|
22
|
+
- name: total_hours
|
|
23
|
+
type: decimal
|
|
24
|
+
precision: 6
|
|
25
|
+
scale: 2
|
|
26
|
+
isNullable: true
|
|
27
|
+
- name: status
|
|
28
|
+
type: enum
|
|
29
|
+
values: [draft, submitted, approved, rejected]
|
|
30
|
+
default: draft
|
|
31
31
|
- name: submitted_at
|
|
32
32
|
type: datetime
|
|
33
33
|
isNullable: true
|
|
@@ -41,14 +41,14 @@ columns:
|
|
|
41
41
|
type: datetime
|
|
42
42
|
isNullable: true
|
|
43
43
|
- type: created_at
|
|
44
|
-
- type: updated_at
|
|
45
|
-
|
|
46
|
-
indices:
|
|
47
|
-
- columns: [collaborator_id]
|
|
48
|
-
- columns: [approver_collaborator_id]
|
|
49
|
-
- columns: [status]
|
|
50
|
-
- columns: [week_start_date]
|
|
51
|
-
- columns: [week_end_date]
|
|
52
|
-
- columns: [collaborator_id, week_start_date, week_end_date]
|
|
53
|
-
isUnique: true
|
|
54
|
-
- columns: [deleted_at]
|
|
44
|
+
- type: updated_at
|
|
45
|
+
|
|
46
|
+
indices:
|
|
47
|
+
- columns: [collaborator_id]
|
|
48
|
+
- columns: [approver_collaborator_id]
|
|
49
|
+
- columns: [status]
|
|
50
|
+
- columns: [week_start_date]
|
|
51
|
+
- columns: [week_end_date]
|
|
52
|
+
- columns: [collaborator_id, week_start_date, week_end_date]
|
|
53
|
+
isUnique: true
|
|
54
|
+
- columns: [deleted_at]
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: timesheet_id
|
|
4
|
-
type: fk
|
|
5
|
-
references:
|
|
6
|
-
table: operations_timesheet
|
|
7
|
-
column: id
|
|
8
|
-
onDelete: CASCADE
|
|
9
|
-
onUpdate: CASCADE
|
|
10
|
-
- name: project_assignment_id
|
|
11
|
-
type: fk
|
|
12
|
-
isNullable: true
|
|
13
|
-
references:
|
|
14
|
-
table: operations_project_assignment
|
|
15
|
-
column: id
|
|
16
|
-
onDelete: SET NULL
|
|
17
|
-
onUpdate: CASCADE
|
|
18
|
-
- name: work_date
|
|
19
|
-
type: date
|
|
20
|
-
- name: activity_label
|
|
21
|
-
type: varchar
|
|
22
|
-
length: 255
|
|
23
|
-
isNullable: true
|
|
24
|
-
- name: hours
|
|
25
|
-
type: decimal
|
|
26
|
-
precision: 6
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: timesheet_id
|
|
4
|
+
type: fk
|
|
5
|
+
references:
|
|
6
|
+
table: operations_timesheet
|
|
7
|
+
column: id
|
|
8
|
+
onDelete: CASCADE
|
|
9
|
+
onUpdate: CASCADE
|
|
10
|
+
- name: project_assignment_id
|
|
11
|
+
type: fk
|
|
12
|
+
isNullable: true
|
|
13
|
+
references:
|
|
14
|
+
table: operations_project_assignment
|
|
15
|
+
column: id
|
|
16
|
+
onDelete: SET NULL
|
|
17
|
+
onUpdate: CASCADE
|
|
18
|
+
- name: work_date
|
|
19
|
+
type: date
|
|
20
|
+
- name: activity_label
|
|
21
|
+
type: varchar
|
|
22
|
+
length: 255
|
|
23
|
+
isNullable: true
|
|
24
|
+
- name: hours
|
|
25
|
+
type: decimal
|
|
26
|
+
precision: 6
|
|
27
27
|
scale: 2
|
|
28
|
-
- name: description
|
|
29
|
-
type: text
|
|
30
|
-
isNullable: true
|
|
31
|
-
- name: deleted_at
|
|
32
|
-
type: datetime
|
|
33
|
-
isNullable: true
|
|
34
|
-
- type: created_at
|
|
35
|
-
- type: updated_at
|
|
36
|
-
|
|
37
|
-
indices:
|
|
38
|
-
- columns: [timesheet_id]
|
|
39
|
-
- columns: [project_assignment_id]
|
|
40
|
-
- columns: [work_date]
|
|
41
|
-
- columns: [deleted_at]
|
|
28
|
+
- name: description
|
|
29
|
+
type: text
|
|
30
|
+
isNullable: true
|
|
31
|
+
- name: deleted_at
|
|
32
|
+
type: datetime
|
|
33
|
+
isNullable: true
|
|
34
|
+
- type: created_at
|
|
35
|
+
- type: updated_at
|
|
36
|
+
|
|
37
|
+
indices:
|
|
38
|
+
- columns: [timesheet_id]
|
|
39
|
+
- columns: [project_assignment_id]
|
|
40
|
+
- columns: [work_date]
|
|
41
|
+
- columns: [deleted_at]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/operations",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.300",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"@nestjs/jwt": "^11",
|
|
11
11
|
"@nestjs/mapped-types": "*",
|
|
12
12
|
"@hed-hog/api": "0.0.6",
|
|
13
|
+
"@hed-hog/api-pagination": "0.0.7",
|
|
13
14
|
"@hed-hog/api-types": "0.0.1",
|
|
14
|
-
"@hed-hog/core": "0.0.299",
|
|
15
15
|
"@hed-hog/api-locale": "0.0.14",
|
|
16
|
-
"@hed-hog/api-
|
|
17
|
-
"@hed-hog/
|
|
16
|
+
"@hed-hog/api-prisma": "0.0.6",
|
|
17
|
+
"@hed-hog/core": "0.0.300"
|
|
18
18
|
},
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|