@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.
- package/dist/campaign/types.d.ts +19 -19
- package/package.json +1 -1
package/dist/campaign/types.d.ts
CHANGED
|
@@ -63,43 +63,43 @@ export interface DraftCampaignData extends FormCampaignDataInterface {
|
|
|
63
63
|
*/
|
|
64
64
|
export interface CampaignEntity {
|
|
65
65
|
id: string;
|
|
66
|
-
|
|
66
|
+
creatorId: string;
|
|
67
67
|
title: string;
|
|
68
68
|
subtitle: string;
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
campaignImages?: string[];
|
|
70
|
+
startDate?: string;
|
|
71
71
|
duration?: number;
|
|
72
72
|
story: string;
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
locationRegion?: string;
|
|
74
|
+
locationCity?: string;
|
|
75
75
|
sport?: string;
|
|
76
76
|
category?: string;
|
|
77
77
|
tags?: string[];
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
campaignVideos?: string[];
|
|
79
|
+
fundingTarget: number;
|
|
80
80
|
status: CAMPAIGN_STATUS;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
-
|
|
90
|
+
creatorId: string;
|
|
91
91
|
title: string;
|
|
92
92
|
subtitle: string;
|
|
93
93
|
story: string;
|
|
94
|
-
|
|
94
|
+
fundingTarget: number;
|
|
95
95
|
duration?: number;
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
locationRegion?: string;
|
|
97
|
+
locationCity?: string;
|
|
98
98
|
sport?: string;
|
|
99
99
|
category?: string;
|
|
100
100
|
tags?: string[];
|
|
101
|
-
|
|
102
|
-
|
|
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
|
-
|
|
127
|
+
creatorId?: string;
|
|
128
128
|
sport?: string;
|
|
129
129
|
category?: string;
|
|
130
|
-
|
|
130
|
+
locationRegion?: string;
|
|
131
131
|
limit?: number;
|
|
132
132
|
offset?: number;
|
|
133
133
|
}
|
package/package.json
CHANGED