added type compatibility layer
added text data entry for sending new messages added websockets connection added type annots UNTESTED interop between TSX and Java backend
This commit is contained in:
parent
486751022c
commit
49e7eacb0b
3 changed files with 47 additions and 8 deletions
|
@ -6,6 +6,14 @@ enum FileType {
|
|||
EXEC_BINARY,
|
||||
UNKNOWN,
|
||||
}
|
||||
export type User = {
|
||||
name: string,
|
||||
userId: string,
|
||||
avatar: Avatar
|
||||
}
|
||||
export type Avatar = {
|
||||
pictureUri: string,
|
||||
}
|
||||
export type Attachment = {
|
||||
name: string,
|
||||
uri: string,
|
||||
|
@ -21,3 +29,6 @@ export type ChatMessage = {
|
|||
message: string,
|
||||
attachments: Attachment
|
||||
}
|
||||
export type ServerMsgType = {
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue