Skip to main content

blueprint.generator_2.writetypeboxtype

Home > @blaze-cardano/blueprint > Generator_2 > writeTypeboxType

Generator_2.writeTypeboxType() method

Signature:

writeTypeboxType(schema: Declaration<Schema> | Annotated<Declaration<Schema>> | Data | Annotated<Data> | Annotated<Constructor>, definitions: Record<string, Annotated<Schema>>, stack?: string[], options?: {
isMapKey?: boolean;
}): void;

Parameters

Parameter

Type

Description

schema

Declaration<Schema> | Annotated<Declaration<Schema>> | Data | Annotated<Data> | Annotated<Constructor>

definitions

Record<string, Annotated<Schema>>

stack

string[]

(Optional)

options

{ isMapKey?: boolean; }

(Optional)

Returns:

void