@the-inkwell/shared 0.1.89 → 0.1.91

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.89",
3
+ "version": "0.1.91",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",
@@ -3,9 +3,10 @@ import Client, {
3
3
  ClientsInitializer,
4
4
  ClientsMutator
5
5
  } from '../../../_schema/Clients'
6
+ import ClientStatuses from '../../../_schema/ClientStatuses'
6
7
 
7
8
  export type AdminClient = Client & {
8
- _positionsCount: number
9
+ _openPositionsCount: number
9
10
  }
10
11
  type AdminClientInitializer = ClientsInitializer
11
12
  type AdminClientMutator = ClientsMutator
@@ -17,7 +18,12 @@ export type AdminClientResponse = AdminClient
17
18
 
18
19
  // list
19
20
 
20
- export type AdminClientListInput = ListRequest
21
+ export type AdminClientListInput = ListRequest<
22
+ unknown,
23
+ {
24
+ status?: ClientStatuses[]
25
+ }
26
+ >
21
27
  export type AdminClientListResponse = ListResponse<AdminClient>
22
28
 
23
29
  // create