import { T } from '@tldraw/validate' import { createShapePropsMigrationSequence } from '../records/TLShape' import { DefaultColorStyle } from '../styles/TLColorStyle' import { DefaultSizeStyle } from '../styles/TLSizeStyle' import { ShapePropsType, TLBaseShape } from './TLBaseShape' import { DrawShapeSegment } from './TLDrawShape' /** @public */ export const highlightShapeProps = { color: DefaultColorStyle, size: DefaultSizeStyle, segments: T.arrayOf(DrawShapeSegment), isComplete: T.boolean, isPen: T.boolean, } /** @public */ export type TLHighlightShapeProps = ShapePropsType /** @public */ export type TLHighlightShape = TLBaseShape<'highlight', TLHighlightShapeProps> /** @internal */ export const highlightShapeMigrations = createShapePropsMigrationSequence({ sequence: [] })