sigit.io/src/types/mark.ts

28 lines
434 B
TypeScript
Raw Normal View History

import { MarkType } from "./drawing";
export interface CurrentUserMark {
id: number
mark: Mark
isLast: boolean
isCompleted: boolean
currentValue?: string
}
export interface Mark {
id: number
npub: string
pdfFileHash: string
type: MarkType
location: MarkLocation
2024-08-14 12:24:15 +03:00
fileName: string
value?: string
}
export interface MarkLocation {
top: number
left: number
height: number
width: number
page: number
}