@the-inkwell/shared 0.1.136 → 0.1.138

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.
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./campaigns"), exports);
18
18
  __exportStar(require("./candidacies"), exports);
19
19
  __exportStar(require("./clients"), exports);
20
+ __exportStar(require("./listViews"), exports);
20
21
  __exportStar(require("./messages"), exports);
21
22
  __exportStar(require("./partners"), exports);
22
23
  __exportStar(require("./persons"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.1.136",
3
+ "version": "0.1.138",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",
@@ -1,6 +1,7 @@
1
1
  export * from './campaigns'
2
2
  export * from './candidacies'
3
3
  export * from './clients'
4
+ export * from './listViews'
4
5
  export * from './messages'
5
6
  export * from './partners'
6
7
  export * from './persons'
@@ -5,7 +5,9 @@ import ListViews, {
5
5
  } from '../../../_schema/ListViews'
6
6
  import { type ListRequest, type ListResponse } from '../../../utils'
7
7
 
8
- export type AdminListView = ListViews
8
+ export type AdminListView = ListViews & {
9
+ query: Record<string, any>
10
+ }
9
11
  export type AdminListViewInitializer = ListViewsInitializer
10
12
  export type AdminListViewMutator = ListViewsMutator
11
13
 
@@ -28,8 +30,10 @@ export type AdminListViewListResponse = ListResponse<AdminListView>
28
30
 
29
31
  export type AdminListViewCreateInput = Pick<
30
32
  AdminListViewInitializer,
31
- 'model' | 'name' | 'query'
32
- >
33
+ 'model' | 'name'
34
+ > & {
35
+ query: Record<string, any>
36
+ }
33
37
  export type AdminListViewCreateResponse = Pick<AdminListView, 'id'>
34
38
 
35
39
  // update