@the-inkwell/shared 0.1.107 → 0.1.109

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.107",
3
+ "version": "0.1.109",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",
@@ -4,6 +4,7 @@ import Positions, {
4
4
  } from '../../../_schema/Positions'
5
5
  import Clients from '../../../_schema/Clients'
6
6
  import { ListRequest, ListResponse } from '../../../utils'
7
+ import PositionStatuses from '../../../_schema/PositionStatuses'
7
8
 
8
9
  export type AdminPosition = Positions & {
9
10
  client: Pick<Clients, 'id' | 'name'> | null
@@ -20,7 +21,12 @@ export type AdminPositionResponse = AdminPosition
20
21
 
21
22
  // list
22
23
 
23
- export type AdminPositionListInput = ListRequest
24
+ export type AdminPositionListInput = ListRequest<
25
+ unknown,
26
+ {
27
+ status?: PositionStatuses[]
28
+ }
29
+ >
24
30
  export type AdminPositionListResponse = ListResponse<AdminPosition>
25
31
 
26
32
  // create