@the-inkwell/shared 0.1.55 → 0.1.57

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.1.55",
3
+ "version": "0.1.57",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin)",
@@ -6,8 +6,7 @@ export type AdminCandidacy = {
6
6
  currentStatus: any // TODO add this
7
7
 
8
8
  rating: number | null
9
- ratingTags: any
10
- ratingNotes: string | null
9
+ ratingNotes?: string | null
11
10
 
12
11
  source: any // TODO add this
13
12
 
@@ -19,47 +18,16 @@ export type AdminCandidacy = {
19
18
 
20
19
  referral: any // TODO add this
21
20
 
21
+ ratingTags?: any // TODO add this
22
22
  actions?: any // TODO add this
23
23
  feedbacks?: any // TODO add this
24
24
  notes?: any // TODO add this
25
25
 
26
- deletedAt: string | null
27
- createdAt: string
28
- updatedAt: string
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
- */