@plyaz/types 1.42.3 → 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
@@ -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';
@@ -38,7 +38,7 @@ export type DeleteCampaignDTO = z.infer<typeof DeleteCampaignSchema>;
38
38
  * Update campaign params interface for API operations
39
39
  */
40
40
  export interface UpdateCampaignParams {
41
- id: string;
41
+ campaignId: string;
42
42
  data: PatchCampaignDTO;
43
43
  }
44
44
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/types",
3
- "version": "1.42.3",
3
+ "version": "1.42.4",
4
4
  "author": "Redeemer Pace",
5
5
  "license": "ISC",
6
6
  "description": "Provides shared TypeScript types and schema utilities for validation and parsing in the @playz ecosystem.",