@uniteverses/shared 1.0.77 → 1.0.79
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.
|
@@ -133,6 +133,7 @@ export interface Organization {
|
|
|
133
133
|
name: string;
|
|
134
134
|
description?: string | null;
|
|
135
135
|
createdAt: string | Date;
|
|
136
|
+
pinned: boolean;
|
|
136
137
|
types: {
|
|
137
138
|
type: Type;
|
|
138
139
|
}[];
|
|
@@ -178,16 +179,16 @@ export interface TopicWithChildren {
|
|
|
178
179
|
};
|
|
179
180
|
}
|
|
180
181
|
export interface CreatePostInput {
|
|
181
|
-
title
|
|
182
|
-
body
|
|
182
|
+
title?: string;
|
|
183
|
+
body?: string;
|
|
183
184
|
topicId?: string;
|
|
184
185
|
organizationId?: string;
|
|
185
186
|
imageStoragePath?: string | null;
|
|
186
187
|
typeIds?: string[];
|
|
187
188
|
}
|
|
188
189
|
export interface UpdatePostInput {
|
|
189
|
-
title
|
|
190
|
-
body
|
|
190
|
+
title?: string;
|
|
191
|
+
body?: string;
|
|
191
192
|
imageStoragePath?: string | null;
|
|
192
193
|
typeIds?: string[];
|
|
193
194
|
}
|
|
@@ -217,6 +218,7 @@ export interface Post {
|
|
|
217
218
|
imageUrl?: string | null;
|
|
218
219
|
createdAt: string | Date;
|
|
219
220
|
deletedAt: string | Date | null;
|
|
221
|
+
pinned: boolean;
|
|
220
222
|
user: User;
|
|
221
223
|
topic?: Topic | null;
|
|
222
224
|
organization?: Organization | null;
|
|
@@ -254,6 +256,7 @@ export interface Deal {
|
|
|
254
256
|
endsAt: string | Date | null;
|
|
255
257
|
createdAt: string | Date;
|
|
256
258
|
deletedAt: string | Date | null;
|
|
259
|
+
pinned: boolean;
|
|
257
260
|
organization?: Organization | null;
|
|
258
261
|
translations?: DealTranslation[];
|
|
259
262
|
types?: {
|
|
@@ -335,6 +338,7 @@ export interface OrgEvent {
|
|
|
335
338
|
isActive: boolean;
|
|
336
339
|
registrationRequired: boolean;
|
|
337
340
|
createdAt: string | Date;
|
|
341
|
+
pinned: boolean;
|
|
338
342
|
occurrences?: OrgEventOccurrence[];
|
|
339
343
|
translations: OrgEventTranslation[];
|
|
340
344
|
imageUrl?: string | null;
|