Tldraw/packages/tlschema/src/shapes/TLGroupShape.ts

19 wiersze
516 B
TypeScript

import { defineMigrations } from '@tldraw/store'
import { T } from '@tldraw/validate'
import { createShapeValidator, TLBaseShape } from './TLBaseShape'
/** @public */
export type TLGroupShapeProps = { [key in never]: undefined }
/** @public */
export type TLGroupShape = TLBaseShape<'group', TLGroupShapeProps>
/** @internal */
export const groupShapeValidator: T.Validator<TLGroupShape> = createShapeValidator(
'group',
T.object({})
)
/** @internal */
export const groupShapeMigrations = defineMigrations({})