@the-inkwell/shared 0.1.134 → 0.1.136
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
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
3
3
|
|
|
4
4
|
import type { default as ListViewModels } from './ListViewModels';
|
|
5
|
-
import type { PositionsId } from './Positions';
|
|
6
5
|
|
|
7
6
|
/** Identifier type for public.list_views */
|
|
8
7
|
export type ListViewsId = string;
|
|
@@ -17,8 +16,6 @@ export default interface ListViews {
|
|
|
17
16
|
|
|
18
17
|
query: unknown;
|
|
19
18
|
|
|
20
|
-
positionId: PositionsId | null;
|
|
21
|
-
|
|
22
19
|
archivedAt: Date | null;
|
|
23
20
|
|
|
24
21
|
deletedAt: Date | null;
|
|
@@ -39,8 +36,6 @@ export interface ListViewsInitializer {
|
|
|
39
36
|
|
|
40
37
|
query: unknown;
|
|
41
38
|
|
|
42
|
-
positionId?: PositionsId | null;
|
|
43
|
-
|
|
44
39
|
archivedAt?: Date | null;
|
|
45
40
|
|
|
46
41
|
deletedAt?: Date | null;
|
|
@@ -62,8 +57,6 @@ export interface ListViewsMutator {
|
|
|
62
57
|
|
|
63
58
|
query?: unknown;
|
|
64
59
|
|
|
65
|
-
positionId?: PositionsId | null;
|
|
66
|
-
|
|
67
60
|
archivedAt?: Date | null;
|
|
68
61
|
|
|
69
62
|
deletedAt?: Date | null;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import ListViewModels from '../../../_schema/ListViewModels'
|
|
2
|
+
import ListViews, {
|
|
3
|
+
ListViewsInitializer,
|
|
4
|
+
ListViewsMutator
|
|
5
|
+
} from '../../../_schema/ListViews'
|
|
6
|
+
import { type ListRequest, type ListResponse } from '../../../utils'
|
|
7
|
+
|
|
8
|
+
export type AdminListView = ListViews
|
|
9
|
+
export type AdminListViewInitializer = ListViewsInitializer
|
|
10
|
+
export type AdminListViewMutator = ListViewsMutator
|
|
11
|
+
|
|
12
|
+
// detail
|
|
13
|
+
|
|
14
|
+
export type AdminListViewParams = Pick<AdminListView, 'id'>
|
|
15
|
+
export type AdminListViewResponse = AdminListView
|
|
16
|
+
|
|
17
|
+
// list
|
|
18
|
+
|
|
19
|
+
export type AdminListViewListInput = ListRequest<
|
|
20
|
+
unknown,
|
|
21
|
+
{
|
|
22
|
+
model: ListViewModels
|
|
23
|
+
}
|
|
24
|
+
>
|
|
25
|
+
export type AdminListViewListResponse = ListResponse<AdminListView>
|
|
26
|
+
|
|
27
|
+
// create
|
|
28
|
+
|
|
29
|
+
export type AdminListViewCreateInput = Pick<
|
|
30
|
+
AdminListViewInitializer,
|
|
31
|
+
'model' | 'name' | 'query'
|
|
32
|
+
>
|
|
33
|
+
export type AdminListViewCreateResponse = Pick<AdminListView, 'id'>
|
|
34
|
+
|
|
35
|
+
// update
|
|
36
|
+
|
|
37
|
+
export type AdminListViewUpdateInput = Pick<
|
|
38
|
+
AdminListViewMutator,
|
|
39
|
+
'name' | 'query'
|
|
40
|
+
>
|
|
41
|
+
|
|
42
|
+
// delete
|
|
43
|
+
|
|
44
|
+
export type AdminListViewDeleteParams = Pick<AdminListView, 'id'>
|