@the-inkwell/shared 0.1.77 → 0.1.78

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.1.77",
3
+ "version": "0.1.78",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin)",
@@ -1,15 +1,20 @@
1
1
  import type Actions from '../../../_schema/Actions'
2
2
  import type Candidacies from '../../../_schema/Candidacies'
3
3
  import type CandidacyFeedback from '../../../_schema/CandidacyFeedback'
4
+ import Clients from '../../../_schema/Clients'
4
5
  import type Notes from '../../../_schema/Notes'
5
- import type Persons from '../../../_schema/Persons'
6
+ import Positions from '../../../_schema/Positions'
6
7
  import type Referrals from '../../../_schema/Referrals'
7
8
  import type Tags from '../../../_schema/Tags'
8
9
  import { type ListRequest, type ListResponse } from '../../../utils'
10
+ import { AdminPerson } from '../persons'
9
11
 
10
12
  export type AdminCandidacy = Candidacies & {
11
13
  referral?: Pick<Referrals, 'id'>
12
- person?: Pick<Persons, 'id' | 'firstName' | 'lastName' | 'photoUrl'>
14
+ person?: Pick<AdminPerson, 'id' | 'firstName' | 'lastName' | 'photoUrl'>
15
+ position?: Pick<Positions, 'id' | 'name'> & {
16
+ client?: Pick<Clients, 'id' | 'name'>
17
+ }
13
18
  candidacyRatingToTags?: {
14
19
  tag: Pick<Tags, 'id' | 'name'>[]
15
20
  }[]