hububb-models 1.0.42 → 1.0.44
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -2,4 +2,4 @@ export type { Listing, Picture, Address } from "./models/listing/listing";
|
|
2
2
|
export type { Reservation } from "./models/reservation/reservation";
|
3
3
|
export type { User } from "./models/user/user";
|
4
4
|
export type { ChatMessage } from "./models/thread/message";
|
5
|
-
export type { ChatThread
|
5
|
+
export type { ChatThread } from "./models/thread/thread";
|
package/src/index.ts
CHANGED
@@ -5,4 +5,4 @@ export type { Reservation } from "./models/reservation/reservation";
|
|
5
5
|
export type { User } from "./models/user/user";
|
6
6
|
|
7
7
|
export type { ChatMessage } from "./models/thread/message";
|
8
|
-
export type { ChatThread
|
8
|
+
export type { ChatThread } from "./models/thread/thread";
|
@@ -10,12 +10,3 @@ export interface ChatThread {
|
|
10
10
|
participants?: User[];
|
11
11
|
type: "ONE_TO_ONE" | "GROUP";
|
12
12
|
}
|
13
|
-
export interface UpdateChatThreadDTO {
|
14
|
-
id?: string;
|
15
|
-
createdAt: Timestamp;
|
16
|
-
updatedAt: Timestamp;
|
17
|
-
lastMessage?: Partial<ChatMessage>;
|
18
|
-
participantIds: string[];
|
19
|
-
participants?: User[];
|
20
|
-
type: "ONE_TO_ONE" | "GROUP";
|
21
|
-
}
|
@@ -11,13 +11,3 @@ export interface ChatThread {
|
|
11
11
|
participants?: User[];
|
12
12
|
type: "ONE_TO_ONE" | "GROUP";
|
13
13
|
}
|
14
|
-
|
15
|
-
export interface UpdateChatThreadDTO {
|
16
|
-
id?: string;
|
17
|
-
createdAt: Timestamp;
|
18
|
-
updatedAt: Timestamp;
|
19
|
-
lastMessage?: Partial<ChatMessage>;
|
20
|
-
participantIds: string[];
|
21
|
-
participants?: User[];
|
22
|
-
type: "ONE_TO_ONE" | "GROUP";
|
23
|
-
}
|