@uniteverses/shared 1.0.48 → 1.0.50

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.
@@ -90,6 +90,7 @@ export interface OrganizationPhone {
90
90
  export interface Organization {
91
91
  id: string;
92
92
  name: string;
93
+ description?: string | null;
93
94
  createdAt: string | Date;
94
95
  types: {
95
96
  type: OrganizationType;
@@ -100,12 +101,14 @@ export interface Organization {
100
101
  }
101
102
  export interface CreateOrganizationInput {
102
103
  name: string;
104
+ description?: string | null;
103
105
  typeIds?: string[];
104
106
  addresses?: Omit<OrganizationAddress, "id" | "organizationId" | "createdAt">[];
105
107
  phones?: Omit<OrganizationPhone, "id" | "organizationId" | "createdAt">[];
106
108
  }
107
109
  export interface UpdateOrganizationInput {
108
110
  name?: string;
111
+ description?: string | null;
109
112
  imageStoragePath?: string | null;
110
113
  typeIds?: string[];
111
114
  addresses?: Omit<OrganizationAddress, "id" | "organizationId" | "createdAt">[];
@@ -150,6 +153,15 @@ export interface PostVersion {
150
153
  body: string;
151
154
  createdAt: string | Date;
152
155
  }
156
+ export interface PostTranslation {
157
+ id: string;
158
+ postId: string;
159
+ languageId: string;
160
+ title: string;
161
+ body: string;
162
+ createdAt: string | Date;
163
+ language: Language;
164
+ }
153
165
  export interface Post {
154
166
  id: string;
155
167
  userId: string;
@@ -161,6 +173,7 @@ export interface Post {
161
173
  topic?: Topic | null;
162
174
  organization?: Organization | null;
163
175
  versions: PostVersion[];
176
+ translations?: PostTranslation[];
164
177
  comments?: Comment[];
165
178
  _count?: {
166
179
  comments: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [