ts-gyb / Exports / RenderConfiguration
Renderer configuration
• namedTypesOutputPath: string
Output path for named types. If it is a relative path, it will be resolved based on the configuration file path.
• namedTypesTemplatePath: string
Template path for named types. Must be a mustache template. If it is a relative path, it will be resolved based on the configuration file path.
For example, code-templates/named-types.mustache
.
• outputPath: Record
<string
, string
>
Scoped output directories or paths. The key is the scope name and the value is the output directory or file path.
If it is a relative path, it will be resolved based on the configuration file path.
For example, { "api": "../ios/AppTarget/Generated" }
• templates: Record
<string
, string
>
Scoped template file paths. The key is the scope name and the value is the template file path. If it is a relative path, it will be resolved based on the configuration file path.
• Optional
typeNameMap: Record
<string
, string
>
The mapping from predefinedTypes
to the existing types in the target language (Kotlin/Swift).
For example, { "CodeGen_Int": "Int" }
.