@uniteverses/shared 1.0.14 → 1.0.15

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.
@@ -189,24 +189,18 @@ export interface OrgEventTranslationInput {
189
189
  export interface OrgEvent {
190
190
  id: string;
191
191
  organizationId: string;
192
- name: string;
193
- description: string | null;
194
192
  createdAt: string | Date;
195
193
  occurrences?: OrgEventOccurrence[];
196
- translations?: OrgEventTranslation[];
194
+ translations: OrgEventTranslation[];
197
195
  _count?: {
198
196
  occurrences: number;
199
197
  };
200
198
  }
201
199
  export interface CreateOrgEventInput {
202
- name: string;
203
- description?: string;
204
- translations?: OrgEventTranslationInput[];
200
+ translations: OrgEventTranslationInput[];
205
201
  }
206
202
  export interface UpdateOrgEventInput {
207
- name?: string;
208
- description?: string;
209
- translations?: OrgEventTranslationInput[];
203
+ translations: OrgEventTranslationInput[];
210
204
  }
211
205
  export interface OrgEventOccurrenceTranslation {
212
206
  id: string;
@@ -227,11 +221,10 @@ export interface OrgEventOccurrence {
227
221
  endsAt: string | Date | null;
228
222
  location: string | null;
229
223
  capacity: number | null;
230
- description: string | null;
231
224
  createdAt: string | Date;
232
225
  applicants?: OrgEventOccurrenceApplicant[];
233
226
  participants?: OrgEventOccurrenceParticipant[];
234
- translations?: OrgEventOccurrenceTranslation[];
227
+ translations: OrgEventOccurrenceTranslation[];
235
228
  _count?: {
236
229
  applicants: number;
237
230
  participants: number;
@@ -242,7 +235,6 @@ export interface CreateOrgEventOccurrenceInput {
242
235
  endsAt?: string;
243
236
  location?: string;
244
237
  capacity?: number;
245
- description?: string;
246
238
  translations?: OrgEventOccurrenceTranslationInput[];
247
239
  }
248
240
  export interface UpdateOrgEventOccurrenceInput {
@@ -250,7 +242,6 @@ export interface UpdateOrgEventOccurrenceInput {
250
242
  endsAt?: string;
251
243
  location?: string;
252
244
  capacity?: number;
253
- description?: string;
254
245
  translations?: OrgEventOccurrenceTranslationInput[];
255
246
  }
256
247
  export interface OrgEventOccurrenceApplicant {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [