@pathway-io/core 1.0.13 → 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -86,10 +86,13 @@ type MessageListCoercedQueryParams = {
86
86
  };
87
87
  type Message = {
88
88
  id: number;
89
+ content: string;
89
90
  channel: {
90
91
  id: number;
91
92
  };
92
- content: string;
93
+ user: {
94
+ id: string;
95
+ };
93
96
  createdAt: Date;
94
97
  deletedAt: Date | null;
95
98
  updatedAt: Date;
package/dist/index.d.ts CHANGED
@@ -86,10 +86,13 @@ type MessageListCoercedQueryParams = {
86
86
  };
87
87
  type Message = {
88
88
  id: number;
89
+ content: string;
89
90
  channel: {
90
91
  id: number;
91
92
  };
92
- content: string;
93
+ user: {
94
+ id: string;
95
+ };
93
96
  createdAt: Date;
94
97
  deletedAt: Date | null;
95
98
  updatedAt: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathway-io/core",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -9,10 +9,14 @@ export type MessageListCoercedQueryParams = {
9
9
  export type Message = {
10
10
  id: number
11
11
 
12
+ content: string
13
+
12
14
  channel: {
13
15
  id: number
14
16
  }
15
- content: string
17
+ user: {
18
+ id: string
19
+ }
16
20
 
17
21
  createdAt: Date
18
22
  deletedAt: Date | null