@uniteverses/shared 1.0.13 → 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,20 @@ 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
|
+
}
|
|
175
189
|
export interface OrgEvent {
|
|
176
190
|
id: string;
|
|
177
191
|
organizationId: string;
|
|
@@ -179,6 +193,7 @@ export interface OrgEvent {
|
|
|
179
193
|
description: string | null;
|
|
180
194
|
createdAt: string | Date;
|
|
181
195
|
occurrences?: OrgEventOccurrence[];
|
|
196
|
+
translations?: OrgEventTranslation[];
|
|
182
197
|
_count?: {
|
|
183
198
|
occurrences: number;
|
|
184
199
|
};
|
|
@@ -186,10 +201,24 @@ export interface OrgEvent {
|
|
|
186
201
|
export interface CreateOrgEventInput {
|
|
187
202
|
name: string;
|
|
188
203
|
description?: string;
|
|
204
|
+
translations?: OrgEventTranslationInput[];
|
|
189
205
|
}
|
|
190
206
|
export interface UpdateOrgEventInput {
|
|
191
207
|
name?: string;
|
|
192
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;
|
|
193
222
|
}
|
|
194
223
|
export interface OrgEventOccurrence {
|
|
195
224
|
id: string;
|
|
@@ -202,6 +231,7 @@ export interface OrgEventOccurrence {
|
|
|
202
231
|
createdAt: string | Date;
|
|
203
232
|
applicants?: OrgEventOccurrenceApplicant[];
|
|
204
233
|
participants?: OrgEventOccurrenceParticipant[];
|
|
234
|
+
translations?: OrgEventOccurrenceTranslation[];
|
|
205
235
|
_count?: {
|
|
206
236
|
applicants: number;
|
|
207
237
|
participants: number;
|
|
@@ -213,6 +243,7 @@ export interface CreateOrgEventOccurrenceInput {
|
|
|
213
243
|
location?: string;
|
|
214
244
|
capacity?: number;
|
|
215
245
|
description?: string;
|
|
246
|
+
translations?: OrgEventOccurrenceTranslationInput[];
|
|
216
247
|
}
|
|
217
248
|
export interface UpdateOrgEventOccurrenceInput {
|
|
218
249
|
startsAt?: string;
|
|
@@ -220,6 +251,7 @@ export interface UpdateOrgEventOccurrenceInput {
|
|
|
220
251
|
location?: string;
|
|
221
252
|
capacity?: number;
|
|
222
253
|
description?: string;
|
|
254
|
+
translations?: OrgEventOccurrenceTranslationInput[];
|
|
223
255
|
}
|
|
224
256
|
export interface OrgEventOccurrenceApplicant {
|
|
225
257
|
id: string;
|