@uniteverses/shared 1.0.49 → 1.0.51

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">[];
@@ -137,10 +140,12 @@ export interface CreatePostInput {
137
140
  body: string;
138
141
  topicId?: string;
139
142
  organizationId?: string;
143
+ imageStoragePath?: string | null;
140
144
  }
141
145
  export interface UpdatePostInput {
142
146
  title: string;
143
147
  body: string;
148
+ imageStoragePath?: string | null;
144
149
  }
145
150
  export interface PostVersion {
146
151
  id: string;
@@ -164,6 +169,8 @@ export interface Post {
164
169
  userId: string;
165
170
  topicId: string | null;
166
171
  organizationId: string | null;
172
+ imageStoragePath?: string | null;
173
+ imageUrl?: string | null;
167
174
  createdAt: string | Date;
168
175
  deletedAt: string | Date | null;
169
176
  user: User;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [