@uniteverses/shared 1.0.42 → 1.0.44

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.
@@ -134,6 +134,7 @@ export interface CreatePostInput {
134
134
  title: string;
135
135
  body: string;
136
136
  topicId?: string;
137
+ organizationId?: string;
137
138
  }
138
139
  export interface UpdatePostInput {
139
140
  title: string;
@@ -151,10 +152,12 @@ export interface Post {
151
152
  id: string;
152
153
  userId: string;
153
154
  topicId: string | null;
155
+ organizationId: string | null;
154
156
  createdAt: string | Date;
155
157
  deletedAt: string | Date | null;
156
158
  user: User;
157
159
  topic?: Topic | null;
160
+ organization?: Organization | null;
158
161
  versions: PostVersion[];
159
162
  comments?: Comment[];
160
163
  _count?: {
@@ -203,6 +206,8 @@ export interface OrgEventTranslationInput {
203
206
  export interface OrgEvent {
204
207
  id: string;
205
208
  organizationId: string;
209
+ isActive: boolean;
210
+ registrationRequired: boolean;
206
211
  createdAt: string | Date;
207
212
  occurrences?: OrgEventOccurrence[];
208
213
  translations: OrgEventTranslation[];
@@ -212,9 +217,13 @@ export interface OrgEvent {
212
217
  }
213
218
  export interface CreateOrgEventInput {
214
219
  translations: OrgEventTranslationInput[];
220
+ isActive?: boolean;
221
+ registrationRequired?: boolean;
215
222
  }
216
223
  export interface UpdateOrgEventInput {
217
224
  translations: OrgEventTranslationInput[];
225
+ isActive?: boolean;
226
+ registrationRequired?: boolean;
218
227
  }
219
228
  export interface OrgEventOccurrenceTranslation {
220
229
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [