@plyaz/types 1.35.2 → 1.35.3

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.
@@ -63,43 +63,43 @@ export interface DraftCampaignData extends FormCampaignDataInterface {
63
63
  */
64
64
  export interface CampaignEntity {
65
65
  id: string;
66
- creator_id: string;
66
+ creatorId: string;
67
67
  title: string;
68
68
  subtitle: string;
69
- campaign_images?: string[];
70
- start_date?: string;
69
+ campaignImages?: string[];
70
+ startDate?: string;
71
71
  duration?: number;
72
72
  story: string;
73
- location_region?: string;
74
- location_city?: string;
73
+ locationRegion?: string;
74
+ locationCity?: string;
75
75
  sport?: string;
76
76
  category?: string;
77
77
  tags?: string[];
78
- campaign_videos?: string[];
79
- funding_target: number;
78
+ campaignVideos?: string[];
79
+ fundingTarget: number;
80
80
  status: CAMPAIGN_STATUS;
81
- first_contribution_at?: string;
82
- created_at: string;
83
- updated_at: string;
84
- deleted_at?: string;
81
+ firstContributionAt?: string;
82
+ createdAt: string;
83
+ updatedAt: string;
84
+ deletedAt?: string;
85
85
  }
86
86
  /**
87
87
  * Create campaign DTO
88
88
  */
89
89
  export interface CreateCampaignDTO {
90
- creator_id: string;
90
+ creatorId: string;
91
91
  title: string;
92
92
  subtitle: string;
93
93
  story: string;
94
- funding_target: number;
94
+ fundingTarget: number;
95
95
  duration?: number;
96
- location_region?: string;
97
- location_city?: string;
96
+ locationRegion?: string;
97
+ locationCity?: string;
98
98
  sport?: string;
99
99
  category?: string;
100
100
  tags?: string[];
101
- campaign_images?: string[];
102
- campaign_videos?: string[];
101
+ campaignImages?: string[];
102
+ campaignVideos?: string[];
103
103
  }
104
104
  /**
105
105
  * Update campaign DTO
@@ -124,10 +124,10 @@ export interface DeleteCampaignDTO {
124
124
  */
125
125
  export interface QueryCampaignDTO {
126
126
  status?: CAMPAIGN_STATUS;
127
- creator_id?: string;
127
+ creatorId?: string;
128
128
  sport?: string;
129
129
  category?: string;
130
- location_region?: string;
130
+ locationRegion?: string;
131
131
  limit?: number;
132
132
  offset?: number;
133
133
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/types",
3
- "version": "1.35.2",
3
+ "version": "1.35.3",
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.",