@the-inkwell/shared 0.1.102 → 0.1.104

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.102",
3
+ "version": "0.1.104",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",
@@ -5,9 +5,7 @@ import Clients, {
5
5
  } from '../../../_schema/Clients'
6
6
  import ClientStatuses from '../../../_schema/ClientStatuses'
7
7
 
8
- export type AdminClient = Clients & {
9
- _openPositionsCount: number
10
- }
8
+ export type AdminClient = Clients
11
9
  type AdminClientInitializer = ClientsInitializer
12
10
  type AdminClientMutator = ClientsMutator
13
11
 
@@ -24,13 +22,17 @@ export type AdminClientListInput = ListRequest<
24
22
  status?: ClientStatuses[]
25
23
  }
26
24
  >
27
- export type AdminClientListResponse = ListResponse<AdminClient>
25
+ export type AdminClientListResponse = ListResponse<
26
+ AdminClient & {
27
+ _openPositionsCount: number
28
+ }
29
+ >
28
30
 
29
31
  // create
30
32
 
31
33
  export type AdminClientCreateInput = Pick<
32
34
  AdminClientInitializer,
33
- 'name' | 'description'
35
+ 'name' | 'description' | 'status'
34
36
  >
35
37
  export type AdminClientCreateResponse = Pick<AdminClient, 'id'>
36
38