@the-inkwell/shared 0.1.110 → 0.1.112
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 +1 -1
- package/src/types/models/admin/campaigns/index.ts +2 -2
- package/src/types/models/admin/candidacies/index.ts +2 -2
- package/src/types/models/admin/clients/index.ts +2 -2
- package/src/types/models/admin/messages/index.ts +1 -1
- package/src/types/models/admin/persons/index.ts +2 -2
- package/src/types/models/admin/positions/index.ts +2 -2
- package/src/types/models/admin/referrals/index.ts +2 -2
- package/src/types/models/admin/website/index.ts +2 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ export type AdminCampaign = Campaigns
|
|
|
5
5
|
|
|
6
6
|
// detail
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type AdminCampaignParams = Pick<AdminCampaign, 'id'>
|
|
9
9
|
export type AdminCampaignResponse = AdminCampaign
|
|
10
10
|
|
|
11
11
|
// list
|
|
@@ -15,4 +15,4 @@ export type AdminCampaignListResponse = ListResponse<AdminCampaign>
|
|
|
15
15
|
|
|
16
16
|
// delete
|
|
17
17
|
|
|
18
|
-
export type
|
|
18
|
+
export type AdminCampaignDeleteParams = Pick<AdminCampaign, 'id'>
|
|
@@ -31,7 +31,7 @@ export type AdminCandidacyMutator = CandidaciesMutator
|
|
|
31
31
|
|
|
32
32
|
// detail
|
|
33
33
|
|
|
34
|
-
export type
|
|
34
|
+
export type AdminCandidacyParams = Pick<AdminCandidacy, 'id'>
|
|
35
35
|
export type AdminCandidacyResponse = AdminCandidacy
|
|
36
36
|
|
|
37
37
|
// list
|
|
@@ -56,4 +56,4 @@ export type AdminCandidacyUpdateInput = Pick<
|
|
|
56
56
|
|
|
57
57
|
// delete
|
|
58
58
|
|
|
59
|
-
export type
|
|
59
|
+
export type AdminCandidacyDeleteParams = Pick<AdminCandidacy, 'id'>
|
|
@@ -11,7 +11,7 @@ type AdminClientMutator = ClientsMutator
|
|
|
11
11
|
|
|
12
12
|
// detail
|
|
13
13
|
|
|
14
|
-
export type
|
|
14
|
+
export type AdminClientParams = Pick<AdminClient, 'id'>
|
|
15
15
|
export type AdminClientResponse = AdminClient
|
|
16
16
|
|
|
17
17
|
// list
|
|
@@ -45,4 +45,4 @@ export type AdminClientUpdateInput = Pick<
|
|
|
45
45
|
|
|
46
46
|
// delete
|
|
47
47
|
|
|
48
|
-
export type
|
|
48
|
+
export type AdminClientDeleteParams = Pick<AdminClient, 'id'>
|
|
@@ -11,7 +11,7 @@ export type AdminPerson = Persons
|
|
|
11
11
|
|
|
12
12
|
// detail
|
|
13
13
|
|
|
14
|
-
export type
|
|
14
|
+
export type AdminPersonParams = Pick<AdminPerson, 'id'>
|
|
15
15
|
export type AdminPersonResponse = AdminPerson
|
|
16
16
|
|
|
17
17
|
// list
|
|
@@ -36,4 +36,4 @@ export type AdminPersonUpdateInput = Pick<
|
|
|
36
36
|
|
|
37
37
|
// delete
|
|
38
38
|
|
|
39
|
-
export type
|
|
39
|
+
export type AdminPersonDeleteParams = Pick<AdminPerson, 'id'>
|
|
@@ -16,7 +16,7 @@ type AdminPositionMutator = PositionsMutator
|
|
|
16
16
|
|
|
17
17
|
// detail
|
|
18
18
|
|
|
19
|
-
export type
|
|
19
|
+
export type AdminPositionParams = Pick<AdminPosition, 'id'>
|
|
20
20
|
export type AdminPositionResponse = AdminPosition
|
|
21
21
|
|
|
22
22
|
// list
|
|
@@ -45,7 +45,7 @@ export type AdminPositionUpdateInput = Pick<
|
|
|
45
45
|
|
|
46
46
|
// delete
|
|
47
47
|
|
|
48
|
-
export type
|
|
48
|
+
export type AdminPositionDeleteParams = Pick<AdminPosition, 'id'>
|
|
49
49
|
|
|
50
50
|
/*
|
|
51
51
|
export default interface Positions {
|
|
@@ -24,7 +24,7 @@ type AdminReferralMutator = ReferralsMutator
|
|
|
24
24
|
|
|
25
25
|
// detail
|
|
26
26
|
|
|
27
|
-
export type
|
|
27
|
+
export type AdminReferralParams = Pick<AdminReferral, 'id'>
|
|
28
28
|
export type AdminReferralResponse = AdminReferral
|
|
29
29
|
|
|
30
30
|
// list
|
|
@@ -59,4 +59,4 @@ export type AdminReferralUpdateInput = Pick<
|
|
|
59
59
|
|
|
60
60
|
// delete
|
|
61
61
|
|
|
62
|
-
export type
|
|
62
|
+
export type AdminReferralDeleteParams = Pick<AdminReferral, 'id'>
|
|
@@ -7,7 +7,7 @@ export type AdminWebsiteStaticPage = WebsiteStaticPage
|
|
|
7
7
|
|
|
8
8
|
// detail
|
|
9
9
|
|
|
10
|
-
export type
|
|
10
|
+
export type AdminWebsiteStaticPageParams = Pick<WebsiteStaticPage, 'slug'>
|
|
11
11
|
export type AdminWebsiteStaticPageResponse = AdminWebsiteStaticPage
|
|
12
12
|
|
|
13
13
|
// list
|
|
@@ -22,3 +22,4 @@ export type AdminWebsiteStaticPageUpdateInput = Pick<
|
|
|
22
22
|
AdminWebsiteStaticPageMutator,
|
|
23
23
|
'content' | 'meta'
|
|
24
24
|
>
|
|
25
|
+
export type AdminWebsiteStaticPageUpdateParams = Pick<WebsiteStaticPage, 'slug'>
|