@the-inkwell/shared 0.1.111 → 0.1.113

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.111",
3
+ "version": "0.1.113",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",
@@ -6,11 +6,7 @@ import Clients from '../../../_schema/Clients'
6
6
  import { ListRequest, ListResponse } from '../../../utils'
7
7
  import PositionStatuses from '../../../_schema/PositionStatuses'
8
8
 
9
- export type AdminPosition = Positions & {
10
- client: Pick<Clients, 'id' | 'name'> | null
11
- _referralsCount: number
12
- _openCandidaciesCount: number
13
- }
9
+ export type AdminPosition = Positions
14
10
  type AdminPositionInitializer = PositionsInitializer
15
11
  type AdminPositionMutator = PositionsMutator
16
12
 
@@ -27,7 +23,13 @@ export type AdminPositionListInput = ListRequest<
27
23
  status?: PositionStatuses[]
28
24
  }
29
25
  >
30
- export type AdminPositionListResponse = ListResponse<AdminPosition>
26
+ export type AdminPositionListResponse = ListResponse<
27
+ AdminPosition & {
28
+ client: Pick<Clients, 'id' | 'name'> | null
29
+ _referralsCount: number
30
+ _openCandidaciesCount: number
31
+ }
32
+ >
31
33
 
32
34
  // create
33
35
 
@@ -22,3 +22,4 @@ export type AdminWebsiteStaticPageUpdateInput = Pick<
22
22
  AdminWebsiteStaticPageMutator,
23
23
  'content' | 'meta'
24
24
  >
25
+ export type AdminWebsiteStaticPageUpdateParams = Pick<WebsiteStaticPage, 'slug'>