AshTypescript.Resource
View SourceSpark 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
| Name | Type | Default | Docs | 
|---|---|---|---|
type_name | String.t | The name of the TypeScript type for the resource | |
field_names | keyword | [] | A keyword list mapping invalid field names to valid alternatives (e.g., [address_line_1: :address_line1]) | 
argument_names | keyword | [] | A keyword list mapping invalid argument names to valid alternatives per action (e.g., [read_with_invalid_arg: [is_active?: :is_active]]) |