BlockShapeContract
Defined in: core/src/block-shapes.ts:13
Shape contract for one built-in block.
Properties
canonicalShape
readonlycanonicalShape:"object"|"text"|"array"|"mixed"
Defined in: core/src/block-shapes.ts:15
Preferred shape for new files and examples
example
readonlyexample:string
Defined in: core/src/block-shapes.ts:21
Minimal canonical replacement used by diagnostics
legacyShapes
readonlylegacyShapes: readonly ("object"|"text"|"array"|"mixed")[]
Defined in: core/src/block-shapes.ts:19
Supported shapes that may be formatter-sensitive
supportedShapes
readonlysupportedShapes: readonly ("object"|"text"|"array"|"mixed")[]
Defined in: core/src/block-shapes.ts:17
Shapes that retain defined behavior