front
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import {type WhiteboardJoinPolicy, WhiteboardState} from "@/enums";
|
||||
|
||||
export interface User {
|
||||
username: string
|
||||
email: string
|
||||
@@ -18,3 +20,14 @@ export interface AuthResponse {
|
||||
accessToken: string
|
||||
refreshToken: string
|
||||
}
|
||||
|
||||
export interface Whiteboard {
|
||||
id: string
|
||||
ownerId: string
|
||||
title: string
|
||||
createdAt: Date
|
||||
deletedAt?: Date
|
||||
maxParticipants?: number
|
||||
joinPolicy?: WhiteboardJoinPolicy
|
||||
state: WhiteboardState
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user