@uniteverses/shared 1.0.12 → 1.0.14
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.
|
@@ -172,6 +172,102 @@ export interface Comment {
|
|
|
172
172
|
versions: CommentVersion[];
|
|
173
173
|
replies?: Comment[];
|
|
174
174
|
}
|
|
175
|
+
export interface OrgEventTranslation {
|
|
176
|
+
id: string;
|
|
177
|
+
eventId: string;
|
|
178
|
+
languageId: string;
|
|
179
|
+
name: string;
|
|
180
|
+
description: string | null;
|
|
181
|
+
createdAt: string | Date;
|
|
182
|
+
language: Language;
|
|
183
|
+
}
|
|
184
|
+
export interface OrgEventTranslationInput {
|
|
185
|
+
languageId: string;
|
|
186
|
+
name: string;
|
|
187
|
+
description?: string;
|
|
188
|
+
}
|
|
189
|
+
export interface OrgEvent {
|
|
190
|
+
id: string;
|
|
191
|
+
organizationId: string;
|
|
192
|
+
name: string;
|
|
193
|
+
description: string | null;
|
|
194
|
+
createdAt: string | Date;
|
|
195
|
+
occurrences?: OrgEventOccurrence[];
|
|
196
|
+
translations?: OrgEventTranslation[];
|
|
197
|
+
_count?: {
|
|
198
|
+
occurrences: number;
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
export interface CreateOrgEventInput {
|
|
202
|
+
name: string;
|
|
203
|
+
description?: string;
|
|
204
|
+
translations?: OrgEventTranslationInput[];
|
|
205
|
+
}
|
|
206
|
+
export interface UpdateOrgEventInput {
|
|
207
|
+
name?: string;
|
|
208
|
+
description?: string;
|
|
209
|
+
translations?: OrgEventTranslationInput[];
|
|
210
|
+
}
|
|
211
|
+
export interface OrgEventOccurrenceTranslation {
|
|
212
|
+
id: string;
|
|
213
|
+
occurrenceId: string;
|
|
214
|
+
languageId: string;
|
|
215
|
+
description: string | null;
|
|
216
|
+
createdAt: string | Date;
|
|
217
|
+
language: Language;
|
|
218
|
+
}
|
|
219
|
+
export interface OrgEventOccurrenceTranslationInput {
|
|
220
|
+
languageId: string;
|
|
221
|
+
description?: string;
|
|
222
|
+
}
|
|
223
|
+
export interface OrgEventOccurrence {
|
|
224
|
+
id: string;
|
|
225
|
+
eventId: string;
|
|
226
|
+
startsAt: string | Date;
|
|
227
|
+
endsAt: string | Date | null;
|
|
228
|
+
location: string | null;
|
|
229
|
+
capacity: number | null;
|
|
230
|
+
description: string | null;
|
|
231
|
+
createdAt: string | Date;
|
|
232
|
+
applicants?: OrgEventOccurrenceApplicant[];
|
|
233
|
+
participants?: OrgEventOccurrenceParticipant[];
|
|
234
|
+
translations?: OrgEventOccurrenceTranslation[];
|
|
235
|
+
_count?: {
|
|
236
|
+
applicants: number;
|
|
237
|
+
participants: number;
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
export interface CreateOrgEventOccurrenceInput {
|
|
241
|
+
startsAt: string;
|
|
242
|
+
endsAt?: string;
|
|
243
|
+
location?: string;
|
|
244
|
+
capacity?: number;
|
|
245
|
+
description?: string;
|
|
246
|
+
translations?: OrgEventOccurrenceTranslationInput[];
|
|
247
|
+
}
|
|
248
|
+
export interface UpdateOrgEventOccurrenceInput {
|
|
249
|
+
startsAt?: string;
|
|
250
|
+
endsAt?: string;
|
|
251
|
+
location?: string;
|
|
252
|
+
capacity?: number;
|
|
253
|
+
description?: string;
|
|
254
|
+
translations?: OrgEventOccurrenceTranslationInput[];
|
|
255
|
+
}
|
|
256
|
+
export interface OrgEventOccurrenceApplicant {
|
|
257
|
+
id: string;
|
|
258
|
+
occurrenceId: string;
|
|
259
|
+
userId: string;
|
|
260
|
+
status: string;
|
|
261
|
+
appliedAt: string | Date;
|
|
262
|
+
user: User;
|
|
263
|
+
}
|
|
264
|
+
export interface OrgEventOccurrenceParticipant {
|
|
265
|
+
id: string;
|
|
266
|
+
occurrenceId: string;
|
|
267
|
+
userId: string;
|
|
268
|
+
joinedAt: string | Date;
|
|
269
|
+
user: User;
|
|
270
|
+
}
|
|
175
271
|
export interface FoodGroup {
|
|
176
272
|
id: string;
|
|
177
273
|
name: string;
|