@the-inkwell/shared 0.1.19 → 0.1.21
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,19 +2,31 @@ import { ListResponse } from '../../shared'
|
|
|
2
2
|
|
|
3
3
|
// main model
|
|
4
4
|
|
|
5
|
-
export type
|
|
5
|
+
export type AdminPerson = {
|
|
6
|
+
id: string
|
|
7
|
+
firstName: string | null
|
|
8
|
+
lastName: string | null
|
|
9
|
+
email: string
|
|
10
|
+
phone: string | null
|
|
11
|
+
linkedInUrl: string | null
|
|
12
|
+
createdAt: Date
|
|
13
|
+
updatedAt: Date
|
|
14
|
+
// TODO add this
|
|
15
|
+
// roles: AdminRole[]
|
|
16
|
+
// permissions: AdminPermission[]
|
|
17
|
+
} // TODO add this
|
|
6
18
|
|
|
7
19
|
// detail
|
|
8
20
|
|
|
9
|
-
export type
|
|
21
|
+
export type AdminPersonResponse = AdminPerson
|
|
10
22
|
|
|
11
23
|
// list
|
|
12
24
|
|
|
13
|
-
export type
|
|
25
|
+
export type AdminPersonsListRequest = {
|
|
14
26
|
take: number
|
|
15
27
|
skip: number
|
|
16
28
|
orderBy: any // TODO add this
|
|
17
29
|
where: any // TODO add this
|
|
18
30
|
}
|
|
19
31
|
|
|
20
|
-
export type
|
|
32
|
+
export type AdminPersonsListResponse = ListResponse<AdminPerson>
|