Variable: historyMessageSchema
consthistoryMessageSchema:object
Defined in: src/lib/messages/schema.ts:192
JSON schema for an undo or redo message
Type Declaration
$id
readonly$id:"paintcanvas/message/history"="paintcanvas/message/history"
additionalProperties
readonlyadditionalProperties:false=false
properties
readonlyproperties:object
properties.protocol
protocol:
object
properties.protocol.const
readonlyconst:2=PROTOCOL_VERSION
properties.step
step:
object
properties.step.pattern
readonlypattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"=UUID_PATTERN
properties.step.type
readonlytype:"string"="string"
properties.type
readonlytype:object
properties.type.enum
readonlyenum: readonly ["undo","redo"]
required
readonlyrequired: readonly ["protocol","type","step"]
type
readonlytype:"object"="object"