2024-07-11 16:16:36 +02:00
|
|
|
import { MarkType } from "./drawing";
|
|
|
|
|
2024-07-18 15:38:07 +03:00
|
|
|
export interface CurrentUserMark {
|
|
|
|
mark: Mark
|
|
|
|
isLast: boolean
|
|
|
|
isCompleted: boolean
|
|
|
|
}
|
|
|
|
|
2024-07-11 16:16:36 +02:00
|
|
|
export interface Mark {
|
2024-07-18 15:38:07 +03:00
|
|
|
id: number;
|
|
|
|
npub: string;
|
|
|
|
pdfFileHash: string;
|
|
|
|
type: MarkType;
|
|
|
|
location: MarkLocation;
|
|
|
|
value?: string;
|
2024-07-11 16:16:36 +02:00
|
|
|
}
|
|
|
|
|
2024-07-17 11:25:02 +03:00
|
|
|
export interface MarkLocation {
|
|
|
|
top: number;
|
|
|
|
left: number;
|
|
|
|
height: number;
|
|
|
|
width: number;
|
|
|
|
page: number;
|
2024-07-11 16:16:36 +02:00
|
|
|
}
|