wedance-shared 1.0.239 → 1.0.240
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/types/organizer.d.ts +10 -1
- package/package.json +1 -1
|
@@ -119,8 +119,10 @@ export type UserOrganizerRelation = {
|
|
|
119
119
|
oldId?: string | null;
|
|
120
120
|
};
|
|
121
121
|
};
|
|
122
|
+
export type OrganizerApplicationStatus = "pending" | "approved" | "rejected";
|
|
122
123
|
export type OrganizerApplication = {
|
|
123
124
|
id: string;
|
|
125
|
+
userId: string | null;
|
|
124
126
|
fullName: string;
|
|
125
127
|
organizerName: string;
|
|
126
128
|
email: string;
|
|
@@ -136,8 +138,15 @@ export type OrganizerApplication = {
|
|
|
136
138
|
facebook: string | null;
|
|
137
139
|
instagram: string | null;
|
|
138
140
|
about: string | null;
|
|
139
|
-
status:
|
|
141
|
+
status: OrganizerApplicationStatus;
|
|
142
|
+
rejectionReason: string | null;
|
|
140
143
|
createdAt: string;
|
|
141
144
|
updatedAt: string;
|
|
142
145
|
};
|
|
143
146
|
export type CreateOrganizerApplicationInput = Pick<OrganizerApplication, "fullName" | "organizerName" | "email" | "phone" | "city" | "foundedAt" | "frequency" | "averageAttendance" | "styles" | "currentTicketing" | "interestedInTicketing" | "website" | "facebook" | "instagram" | "about">;
|
|
147
|
+
export type ApproveOrganizerApplicationInput = {
|
|
148
|
+
city: City;
|
|
149
|
+
};
|
|
150
|
+
export type RejectOrganizerApplicationInput = {
|
|
151
|
+
reason?: string | null;
|
|
152
|
+
};
|
package/package.json
CHANGED