Skip to main content

AstBlock

@lowcode/dsl-compiler


Interface: AstBlock

Defined in: dsl-compiler/src/dslToAst/astTypes.ts:110

AST-представление переиспользуемого блока.

Extends

  • Omit<BlockSchema, "rootComponent">

Properties

id

id: string

Defined in: dsl/src/schema.ts:252

Уникальный ID блока.

Inherited from

Omit.id


name

name: string

Defined in: dsl/src/schema.ts:255

Человекочитаемое имя блока.

Inherited from

Omit.name


propsSchema?

optional propsSchema: BlockPropSchema[]

Defined in: dsl/src/schema.ts:261

Описание входных параметров (props).*

Inherited from

Omit.propsSchema


rootComponent

rootComponent: AstComponent

Defined in: dsl-compiler/src/dslToAst/astTypes.ts:111