@uniteverses/shared 1.0.59 → 1.0.60
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.
|
@@ -65,19 +65,19 @@ export interface DeleteProfileResult {
|
|
|
65
65
|
export interface CheckAdminResult {
|
|
66
66
|
isAdmin: boolean;
|
|
67
67
|
}
|
|
68
|
-
export interface
|
|
68
|
+
export interface TypeTranslation {
|
|
69
69
|
id: string;
|
|
70
|
-
|
|
70
|
+
typeId: string;
|
|
71
71
|
languageId: string;
|
|
72
72
|
name: string;
|
|
73
73
|
createdAt: string | Date;
|
|
74
74
|
language: Language;
|
|
75
75
|
}
|
|
76
|
-
export interface
|
|
76
|
+
export interface Type {
|
|
77
77
|
id: string;
|
|
78
78
|
emoji: string;
|
|
79
79
|
createdAt: string | Date;
|
|
80
|
-
translations?:
|
|
80
|
+
translations?: TypeTranslation[];
|
|
81
81
|
}
|
|
82
82
|
export interface OrganizationAddress {
|
|
83
83
|
id: string;
|
|
@@ -111,7 +111,7 @@ export interface Organization {
|
|
|
111
111
|
description?: string | null;
|
|
112
112
|
createdAt: string | Date;
|
|
113
113
|
types: {
|
|
114
|
-
type:
|
|
114
|
+
type: Type;
|
|
115
115
|
}[];
|
|
116
116
|
addresses: OrganizationAddress[];
|
|
117
117
|
phones: OrganizationPhone[];
|
|
@@ -160,11 +160,13 @@ export interface CreatePostInput {
|
|
|
160
160
|
topicId?: string;
|
|
161
161
|
organizationId?: string;
|
|
162
162
|
imageStoragePath?: string | null;
|
|
163
|
+
typeIds?: string[];
|
|
163
164
|
}
|
|
164
165
|
export interface UpdatePostInput {
|
|
165
166
|
title: string;
|
|
166
167
|
body: string;
|
|
167
168
|
imageStoragePath?: string | null;
|
|
169
|
+
typeIds?: string[];
|
|
168
170
|
}
|
|
169
171
|
export interface PostVersion {
|
|
170
172
|
id: string;
|
|
@@ -198,6 +200,9 @@ export interface Post {
|
|
|
198
200
|
versions: PostVersion[];
|
|
199
201
|
translations?: PostTranslation[];
|
|
200
202
|
comments?: Comment[];
|
|
203
|
+
types?: {
|
|
204
|
+
type: Type;
|
|
205
|
+
}[];
|
|
201
206
|
_count?: {
|
|
202
207
|
comments: number;
|
|
203
208
|
};
|
|
@@ -228,6 +233,9 @@ export interface Deal {
|
|
|
228
233
|
deletedAt: string | Date | null;
|
|
229
234
|
organization?: Organization | null;
|
|
230
235
|
translations?: DealTranslation[];
|
|
236
|
+
types?: {
|
|
237
|
+
type: Type;
|
|
238
|
+
}[];
|
|
231
239
|
}
|
|
232
240
|
export interface CreateDealInput {
|
|
233
241
|
organizationId: string;
|
|
@@ -240,6 +248,7 @@ export interface CreateDealInput {
|
|
|
240
248
|
bogoGet?: number | null;
|
|
241
249
|
startsAt?: string | null;
|
|
242
250
|
endsAt?: string | null;
|
|
251
|
+
typeIds?: string[];
|
|
243
252
|
}
|
|
244
253
|
export interface UpdateDealInput {
|
|
245
254
|
imageStoragePath?: string | null;
|
|
@@ -251,6 +260,7 @@ export interface UpdateDealInput {
|
|
|
251
260
|
bogoGet?: number | null;
|
|
252
261
|
startsAt?: string | null;
|
|
253
262
|
endsAt?: string | null;
|
|
263
|
+
typeIds?: string[];
|
|
254
264
|
}
|
|
255
265
|
export interface CreateCommentInput {
|
|
256
266
|
body: string;
|
|
@@ -300,6 +310,9 @@ export interface OrgEvent {
|
|
|
300
310
|
occurrences?: OrgEventOccurrence[];
|
|
301
311
|
translations: OrgEventTranslation[];
|
|
302
312
|
imageUrl?: string | null;
|
|
313
|
+
types?: {
|
|
314
|
+
type: Type;
|
|
315
|
+
}[];
|
|
303
316
|
_count?: {
|
|
304
317
|
occurrences: number;
|
|
305
318
|
};
|
|
@@ -308,12 +321,14 @@ export interface CreateOrgEventInput {
|
|
|
308
321
|
translations: OrgEventTranslationInput[];
|
|
309
322
|
isActive?: boolean;
|
|
310
323
|
registrationRequired?: boolean;
|
|
324
|
+
typeIds?: string[];
|
|
311
325
|
}
|
|
312
326
|
export interface UpdateOrgEventInput {
|
|
313
327
|
translations: OrgEventTranslationInput[];
|
|
314
328
|
isActive?: boolean;
|
|
315
329
|
registrationRequired?: boolean;
|
|
316
330
|
imageStoragePath?: string | null;
|
|
331
|
+
typeIds?: string[];
|
|
317
332
|
}
|
|
318
333
|
export interface OrgEventOccurrenceTranslation {
|
|
319
334
|
id: string;
|