@the-inkwell/shared 0.1.55 → 0.1.56
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.
|
@@ -1,33 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/*
|
|
4
|
-
model Candidacy {
|
|
5
|
-
id String @id @default(uuid())
|
|
6
|
-
|
|
7
|
-
currentStatus CandidacyStatuses? @default(SUBMITTED)
|
|
8
|
-
|
|
9
|
-
rating Int?
|
|
10
|
-
ratingReason String?
|
|
11
|
-
|
|
12
|
-
source CandidacySources? @default(ADMIN)
|
|
13
|
-
|
|
14
|
-
person Person @relation(fields: [personId], references: [id])
|
|
15
|
-
personId String
|
|
16
|
-
|
|
17
|
-
position Position @relation(fields: [positionId], references: [id])
|
|
18
|
-
positionId String
|
|
19
|
-
|
|
20
|
-
referral Referral?
|
|
21
|
-
|
|
22
|
-
actions Action[]
|
|
23
|
-
feedbacks CandidacyFeedback[]
|
|
24
|
-
notes Note[]
|
|
25
|
-
|
|
26
|
-
deletedAt DateTime?
|
|
27
|
-
createdAt DateTime @default(now())
|
|
28
|
-
updatedAt DateTime @default(now())
|
|
29
|
-
|
|
30
|
-
@@unique([personId, positionId])
|
|
31
|
-
@@map("candidacies")
|
|
32
|
-
}
|
|
33
|
-
*/
|
package/package.json
CHANGED
|
@@ -23,43 +23,11 @@ export type AdminCandidacy = {
|
|
|
23
23
|
feedbacks?: any // TODO add this
|
|
24
24
|
notes?: any // TODO add this
|
|
25
25
|
|
|
26
|
-
deletedAt:
|
|
27
|
-
createdAt:
|
|
28
|
-
updatedAt:
|
|
26
|
+
deletedAt: Date | null
|
|
27
|
+
createdAt: Date
|
|
28
|
+
updatedAt: Date
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
export type AdminCandidacyListRequest = ListRequest
|
|
32
32
|
|
|
33
33
|
export type AdminCandidacyListResponse = ListResponse<AdminCandidacy>
|
|
34
|
-
|
|
35
|
-
/*
|
|
36
|
-
model Candidacy {
|
|
37
|
-
id String @id @default(uuid())
|
|
38
|
-
|
|
39
|
-
currentStatus CandidacyStatuses? @default(SUBMITTED)
|
|
40
|
-
|
|
41
|
-
rating Int?
|
|
42
|
-
ratingReason String?
|
|
43
|
-
|
|
44
|
-
source CandidacySources? @default(ADMIN)
|
|
45
|
-
|
|
46
|
-
person Person @relation(fields: [personId], references: [id])
|
|
47
|
-
personId String
|
|
48
|
-
|
|
49
|
-
position Position @relation(fields: [positionId], references: [id])
|
|
50
|
-
positionId String
|
|
51
|
-
|
|
52
|
-
referral Referral?
|
|
53
|
-
|
|
54
|
-
actions Action[]
|
|
55
|
-
feedbacks CandidacyFeedback[]
|
|
56
|
-
notes Note[]
|
|
57
|
-
|
|
58
|
-
deletedAt DateTime?
|
|
59
|
-
createdAt DateTime @default(now())
|
|
60
|
-
updatedAt DateTime @default(now())
|
|
61
|
-
|
|
62
|
-
@@unique([personId, positionId])
|
|
63
|
-
@@map("candidacies")
|
|
64
|
-
}
|
|
65
|
-
*/
|