AshTypescript.Resource

View Source

Spark DSL extension for configuring TypeScript generation on Ash resources.

This extension allows resources to define TypeScript-specific settings, such as custom type names for the generated TypeScript interfaces.

typescript

Define TypeScript settings for this resource

Options

NameTypeDefaultDocs
type_nameString.tThe name of the TypeScript type for the resource
field_nameskeyword[]A keyword list mapping invalid field names to valid alternatives (e.g., [address_line_1: :address_line1])
argument_nameskeyword[]A keyword list mapping invalid argument names to valid alternatives per action (e.g., [read_with_invalid_arg: [is_active?: :is_active]])