mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-23 07:03:54 -07:00
upgrade packages + improve typing
This commit is contained in:
parent
fd55f4fb7f
commit
19f5eefdd2
138 changed files with 4504 additions and 11015 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { GameSortField, Room, Game, SortBy, UserSortField } from 'types';
|
||||
import { GameSortField, Message, Room, Game, SortBy, UserSortField } from 'types';
|
||||
|
||||
export interface RoomsState {
|
||||
rooms: RoomsStateRooms;
|
||||
|
|
@ -41,10 +41,3 @@ export interface RoomsStateSortGamesBy extends SortBy {
|
|||
export interface RoomsStateSortUsersBy extends SortBy {
|
||||
field: UserSortField
|
||||
}
|
||||
|
||||
export interface Message {
|
||||
message: string;
|
||||
messageType: number;
|
||||
timeReceived: number;
|
||||
timeOf?: number;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue