@the-inkwell/shared 0.1.66 → 0.1.68
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.
|
|
3
|
+
"version": "0.1.68",
|
|
4
4
|
"description": "Shared code for Inkwell",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "Inkwell (Rob Yedlin)",
|
|
@@ -14,8 +14,5 @@
|
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@types/node": "^22.13.1",
|
|
16
16
|
"typescript": "^5.7.3"
|
|
17
|
-
},
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"kysely": "^0.27.6"
|
|
20
17
|
}
|
|
21
18
|
}
|
|
@@ -9,7 +9,9 @@ import { type ListRequest, type ListResponse } from '../../../utils'
|
|
|
9
9
|
|
|
10
10
|
// detail
|
|
11
11
|
|
|
12
|
-
export type AdminCandidacy = Candidacy
|
|
12
|
+
export type AdminCandidacy = Candidacy
|
|
13
|
+
export type AdminCandidacyQueryParams = Pick<AdminCandidacy, 'id'>
|
|
14
|
+
export type AdminCandidacyResponse = AdminCandidacy & {
|
|
13
15
|
referral?: Pick<Referral, 'id'>
|
|
14
16
|
person: Pick<Person, 'id' | 'firstName' | 'lastName' | 'photoUrl'>
|
|
15
17
|
ratingTags?: Pick<Tag, 'id' | 'name'>[]
|
|
@@ -5,12 +5,13 @@ import { type ListRequest, type ListResponse } from '../../../utils'
|
|
|
5
5
|
// detail
|
|
6
6
|
|
|
7
7
|
export type AdminPerson = Person
|
|
8
|
-
export type
|
|
8
|
+
export type AdminPersonQueryParams = Pick<AdminPerson, 'id'>
|
|
9
|
+
export type AdminPersonResponse = AdminPerson
|
|
9
10
|
|
|
10
11
|
// list
|
|
11
12
|
|
|
12
13
|
export type AdminPersonListInput = ListRequest
|
|
13
|
-
export type
|
|
14
|
+
export type AdminPersonListResponse = ListResponse<AdminPerson>
|
|
14
15
|
|
|
15
16
|
// create
|
|
16
17
|
|
|
@@ -18,6 +19,7 @@ export type AdminPersonCreateInput = Pick<
|
|
|
18
19
|
PersonInitializer,
|
|
19
20
|
'firstName' | 'lastName' | 'email' | 'phone' | 'linkedInUrl' | 'photoUrl'
|
|
20
21
|
>
|
|
22
|
+
export type AdminPersonCreateResponse = Pick<AdminPerson, 'id'>
|
|
21
23
|
|
|
22
24
|
// update
|
|
23
25
|
|
|
@@ -28,4 +30,4 @@ export type AdminPersonUpdateInput = Pick<
|
|
|
28
30
|
|
|
29
31
|
// delete
|
|
30
32
|
|
|
31
|
-
export type
|
|
33
|
+
export type AdminPersonDeleteQueryParams = Pick<AdminPerson, 'id'>
|
|
@@ -5,12 +5,14 @@ import { type ListResponse } from '../../../utils'
|
|
|
5
5
|
// detail
|
|
6
6
|
|
|
7
7
|
export type AdminWebsiteStaticPage = WebsiteStaticPage
|
|
8
|
-
export type
|
|
8
|
+
export type AdminWebsiteStaticPageQueryParams = Pick<WebsiteStaticPage, 'slug'>
|
|
9
|
+
export type AdminWebsiteStaticPageResponse = AdminWebsiteStaticPage
|
|
9
10
|
|
|
10
11
|
// list
|
|
11
12
|
|
|
12
13
|
export type AdminWebsiteStaticPageList = ListResponse<WebsiteStaticPage>
|
|
13
14
|
export type AdminWebsiteStaticPageListInput = Pick<WebsiteStaticPage, 'slug'>
|
|
15
|
+
export type AdminWebsiteStaticPageListResponse = AdminWebsiteStaticPageList
|
|
14
16
|
|
|
15
17
|
// update
|
|
16
18
|
|