@plyaz/types 1.42.2 → 1.42.4
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.
|
@@ -39,13 +39,6 @@ export interface UseCampaignParticipantsParams {
|
|
|
39
39
|
campaignId: string;
|
|
40
40
|
filters?: ParticipantFilters;
|
|
41
41
|
}
|
|
42
|
-
/**
|
|
43
|
-
* Parameters for useUpdateCampaign hook
|
|
44
|
-
*/
|
|
45
|
-
export interface UpdateCampaignParams {
|
|
46
|
-
campaignId: string;
|
|
47
|
-
data: PatchCampaignDTO;
|
|
48
|
-
}
|
|
49
42
|
/**
|
|
50
43
|
* Campaign endpoint types for TypeScript
|
|
51
44
|
* Using fetchff's Req type to properly define endpoints
|
package/dist/campaign/index.d.ts
CHANGED
|
@@ -16,4 +16,4 @@
|
|
|
16
16
|
export { CreateCampaignSchema, UpdateCampaignSchema, PatchCampaignSchema, QueryCampaignSchema, DeleteCampaignSchema, CampaignResponseSchema, CampaignListResponseSchema, formCampaignSchema, } from './schemas';
|
|
17
17
|
export type { FormCampaignData } from './schemas';
|
|
18
18
|
export { CAMPAIGN_STATUS, MILESTONE_TRIGGER_TYPE, MILESTONE_STATUS } from './enums';
|
|
19
|
-
export type { CreateCampaignDTO, UpdateCampaignDTO, PatchCampaignDTO, QueryCampaignDTO, DeleteCampaignDTO, CampaignResponseDTO, CampaignListResponseDTO, CampaignEntity, CampaignStoreItem, CampaignStoreState, CampaignCreatedPayload, CampaignUpdatedPayload, CampaignDeletedPayload, CampaignValidationFailedPayload, CampaignFrontendStoreData, CampaignFrontendStoreState, CampaignFrontendStoreActions, CampaignFrontendStoreSlice, CampaignFrontendServiceConfig, CampaignFrontendEventType, CampaignDomainServiceConfig, OverviewDataItem, OverviewData, FormCampaignDataInterface, DraftCampaignData, } from './types';
|
|
19
|
+
export type { CreateCampaignDTO, UpdateCampaignDTO, PatchCampaignDTO, QueryCampaignDTO, DeleteCampaignDTO, UpdateCampaignParams, CampaignResponseDTO, CampaignListResponseDTO, CampaignEntity, CampaignStoreItem, CampaignStoreState, CampaignCreatedPayload, CampaignUpdatedPayload, CampaignDeletedPayload, CampaignValidationFailedPayload, CampaignFrontendStoreData, CampaignFrontendStoreState, CampaignFrontendStoreActions, CampaignFrontendStoreSlice, CampaignFrontendServiceConfig, CampaignFrontendEventType, CampaignDomainServiceConfig, OverviewDataItem, OverviewData, FormCampaignDataInterface, DraftCampaignData, } from './types';
|
package/dist/campaign/types.d.ts
CHANGED
|
@@ -34,6 +34,13 @@ export type QueryCampaignDTO = z.infer<typeof QueryCampaignSchema>;
|
|
|
34
34
|
* Delete options DTO (DELETE)
|
|
35
35
|
*/
|
|
36
36
|
export type DeleteCampaignDTO = z.infer<typeof DeleteCampaignSchema>;
|
|
37
|
+
/**
|
|
38
|
+
* Update campaign params interface for API operations
|
|
39
|
+
*/
|
|
40
|
+
export interface UpdateCampaignParams {
|
|
41
|
+
campaignId: string;
|
|
42
|
+
data: PatchCampaignDTO;
|
|
43
|
+
}
|
|
37
44
|
/**
|
|
38
45
|
* Single entity response DTO
|
|
39
46
|
*/
|
package/package.json
CHANGED