@the-inkwell/shared 0.1.75 → 0.1.76
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,26 +1,29 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type Actions from '../../../_schema/Actions'
|
|
2
2
|
import type Candidacies from '../../../_schema/Candidacies'
|
|
3
3
|
import type CandidacyFeedback from '../../../_schema/CandidacyFeedback'
|
|
4
|
-
import type
|
|
5
|
-
import type
|
|
6
|
-
import type
|
|
7
|
-
import type
|
|
4
|
+
import type Notes from '../../../_schema/Notes'
|
|
5
|
+
import type Persons from '../../../_schema/Persons'
|
|
6
|
+
import type Referrals from '../../../_schema/Referrals'
|
|
7
|
+
import type Tags from '../../../_schema/Tags'
|
|
8
8
|
import { type ListRequest, type ListResponse } from '../../../utils'
|
|
9
9
|
|
|
10
|
+
export type AdminCandidacy = Candidacies & {
|
|
11
|
+
referral?: Pick<Referrals, 'id'>
|
|
12
|
+
person?: Pick<Persons, 'id' | 'firstName' | 'lastName' | 'photoUrl'>
|
|
13
|
+
candidacyRatingToTags?: {
|
|
14
|
+
tag: Pick<Tags, 'id' | 'name'>[]
|
|
15
|
+
}[]
|
|
16
|
+
actions?: Pick<Actions, 'id' | 'name'>[]
|
|
17
|
+
candidacyFeedbacks?: Pick<CandidacyFeedback, 'id' | 'content'>[]
|
|
18
|
+
notes?: Pick<Notes, 'id' | 'content'>[]
|
|
19
|
+
}
|
|
20
|
+
|
|
10
21
|
// detail
|
|
11
22
|
|
|
12
|
-
export type AdminCandidacy = Candidacies
|
|
13
23
|
export type AdminCandidacyQueryParams = Pick<AdminCandidacy, 'id'>
|
|
14
|
-
export type AdminCandidacyResponse = AdminCandidacy
|
|
15
|
-
referral?: Pick<Referral, 'id'>
|
|
16
|
-
person: Pick<Person, 'id' | 'firstName' | 'lastName' | 'photoUrl'>
|
|
17
|
-
ratingTags?: Pick<Tag, 'id' | 'name'>[]
|
|
18
|
-
actions?: Pick<Action, 'id' | 'name'>[]
|
|
19
|
-
feedbacks?: Pick<CandidacyFeedback, 'id' | 'content'>[]
|
|
20
|
-
notes?: Pick<Note, 'id' | 'content'>[]
|
|
21
|
-
}
|
|
24
|
+
export type AdminCandidacyResponse = AdminCandidacy
|
|
22
25
|
|
|
23
26
|
// list
|
|
24
27
|
|
|
25
|
-
export type AdminCandidacyList = ListResponse<AdminCandidacy>
|
|
26
28
|
export type AdminCandidacyListInput = ListRequest
|
|
29
|
+
export type AdminCandidacyListResponse = ListResponse<AdminCandidacy>
|
|
@@ -7,10 +7,10 @@ import { type ListRequest, type ListResponse } from '../../../utils'
|
|
|
7
7
|
|
|
8
8
|
type AdminPersonMutator = PersonsMutator
|
|
9
9
|
type AdminPersonInitializer = PersonsInitializer
|
|
10
|
+
export type AdminPerson = Persons
|
|
10
11
|
|
|
11
12
|
// detail
|
|
12
13
|
|
|
13
|
-
export type AdminPerson = Persons
|
|
14
14
|
export type AdminPersonQueryParams = Pick<AdminPerson, 'id'>
|
|
15
15
|
export type AdminPersonResponse = AdminPerson
|
|
16
16
|
|
|
@@ -3,10 +3,10 @@ import type { WebsiteStaticPagesMutator } from '../../../_schema/WebsiteStaticPa
|
|
|
3
3
|
import { type ListResponse } from '../../../utils'
|
|
4
4
|
|
|
5
5
|
type AdminWebsiteStaticPageMutator = WebsiteStaticPagesMutator
|
|
6
|
+
export type AdminWebsiteStaticPage = WebsiteStaticPage
|
|
6
7
|
|
|
7
8
|
// detail
|
|
8
9
|
|
|
9
|
-
export type AdminWebsiteStaticPage = WebsiteStaticPage
|
|
10
10
|
export type AdminWebsiteStaticPageQueryParams = Pick<WebsiteStaticPage, 'slug'>
|
|
11
11
|
export type AdminWebsiteStaticPageResponse = AdminWebsiteStaticPage
|
|
12
12
|
|