MultifileSchemaGenerator
Anchor::TypeScript::MultifileSchemaGenerator
Generate a file for each resource type definition.
Maybe
and enums are defined in shared.ts
.
Example
.call
Parameters
register
, context
, include_all_fields
, and exclude_fields
all have the same behavior as the parameters defined in Anchor::TypeScript::SchemaGenerator
.
manually_editable
- Type:
Boolean
- Default:
true
If true
, the generated type and imports are wrapped by // START AUTOGEN
and // END AUTOGEN
.
This is useful if you want to make manual edits to a resource's type and ensure it flows to all the other resources that reference it.