@the-inkwell/shared 0.1.114 → 0.1.116
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,7 +1,12 @@
|
|
|
1
|
-
import Campaigns
|
|
1
|
+
import Campaigns, {
|
|
2
|
+
CampaignsInitializer,
|
|
3
|
+
CampaignsMutator
|
|
4
|
+
} from '../../../_schema/Campaigns'
|
|
2
5
|
import { type ListRequest, type ListResponse } from '../../../utils'
|
|
3
6
|
|
|
4
7
|
export type AdminCampaign = Campaigns
|
|
8
|
+
export type AdminCampaignInitializer = CampaignsInitializer
|
|
9
|
+
export type AdminCampaignMutator = CampaignsMutator
|
|
5
10
|
|
|
6
11
|
// detail
|
|
7
12
|
|
|
@@ -13,6 +18,10 @@ export type AdminCampaignResponse = AdminCampaign
|
|
|
13
18
|
export type AdminCampaignListInput = ListRequest
|
|
14
19
|
export type AdminCampaignListResponse = ListResponse<AdminCampaign>
|
|
15
20
|
|
|
21
|
+
// create
|
|
22
|
+
|
|
23
|
+
export type AdminCampaignCreateInput = Pick<AdminCampaignInitializer, 'name'>
|
|
24
|
+
|
|
16
25
|
// delete
|
|
17
26
|
|
|
18
27
|
export type AdminCampaignDeleteParams = Pick<AdminCampaign, 'id'>
|