Optional options: { Optional constraints?: { enumKey?: EnumKeyConstraint<TypeScriptOptions> | undefined; enumValue?: EnumValueConstraint<TypeScriptOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional defaultOptional dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional enumOptional indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional mapOptional modelOptional moduleOptional presets?: (undefined | ({ class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; type?: { ...; ...) | ({ preset?: { class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; typ...))[]Optional processorOptional rawUse raw property names instead of constrained ones, where you most likely need to access them with obj["propertyName"] instead of obj.propertyName
Optional renderOptional typeOptional useUse JS reserved keywords so the TS output models can easily be transpiled to JS
Readonly languageReadonly optionsStatic defaultStatic defaultOptional constraints?: { enumKey?: EnumKeyConstraint<TypeScriptOptions> | undefined; enumValue?: EnumValueConstraint<TypeScriptOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional defaultOptional dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional enumOptional indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional mapOptional modelOptional moduleOptional presets?: (undefined | ({ class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; type?: { ...; ...) | ({ preset?: { class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; typ...))[]Optional processorOptional rawUse raw property names instead of constrained ones, where you most likely need to access them with obj["propertyName"] instead of obj.propertyName
Optional renderOptional typeOptional useUse JS reserved keywords so the TS output models can easily be transpiled to JS
Generates a scattered model where dependencies and rendered results are separated.
Generates the full output of a model, instead of a scattered model.
OutputModels result is no longer the model itself, but including package, package dependencies and model dependencies.
Wrapper to get an instance of the dependency manager
Protected getThis function returns an instance of the dependency manager which is either a factory or an instance.
Protected getProtected processProcess any of the input formats to the appropriate InputMetaModel type and split out the meta models based on the requirements of the generators
Render any ConstrainedMetaModel to code based on the type
Optional options: { Optional constraints?: { enumKey?: EnumKeyConstraint<TypeScriptOptions> | undefined; enumValue?: EnumValueConstraint<TypeScriptOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional defaultOptional dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional enumOptional indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional mapOptional modelOptional moduleOptional presets?: (undefined | ({ class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; type?: { ...; ...) | ({ preset?: { class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; typ...))[]Optional processorOptional rawUse raw property names instead of constrained ones, where you most likely need to access them with obj["propertyName"] instead of obj.propertyName
Optional renderOptional typeOptional useUse JS reserved keywords so the TS output models can easily be transpiled to JS
Render a complete model result where the model code, library and model dependencies are all bundled appropriately.
Optional options: { Optional constraints?: { enumKey?: EnumKeyConstraint<TypeScriptOptions> | undefined; enumValue?: EnumValueConstraint<TypeScriptOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional defaultOptional dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional enumOptional indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional mapOptional modelOptional moduleOptional presets?: (undefined | ({ class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; type?: { ...; ...) | ({ preset?: { class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; typ...))[]Optional processorOptional rawUse raw property names instead of constrained ones, where you most likely need to access them with obj["propertyName"] instead of obj.propertyName
Optional renderOptional typeOptional useUse JS reserved keywords so the TS output models can easily be transpiled to JS
Optional options: Partial<TypeScriptOptions>Optional options: { Optional constraints?: { enumKey?: EnumKeyConstraint<TypeScriptOptions> | undefined; enumValue?: EnumValueConstraint<TypeScriptOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional defaultOptional dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional enumOptional indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional mapOptional modelOptional moduleOptional presets?: (undefined | ({ class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; type?: { ...; ...) | ({ preset?: { class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; typ...))[]Optional processorOptional rawUse raw property names instead of constrained ones, where you most likely need to access them with obj["propertyName"] instead of obj.propertyName
Optional renderOptional typeOptional useUse JS reserved keywords so the TS output models can easily be transpiled to JS
Static getReturns the TypeScript options by merging custom options with default ones.
Optional options: { Optional constraints?: { enumKey?: EnumKeyConstraint<TypeScriptOptions> | undefined; enumValue?: EnumValueConstraint<TypeScriptOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional defaultOptional dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional enumOptional indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional mapOptional modelOptional moduleOptional presets?: (undefined | ({ class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; type?: { ...; ...) | ({ preset?: { class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; interface?: { ...; } | undefined; enum?: { ...; } | undefined; typ...))[]Optional processorOptional rawUse raw property names instead of constrained ones, where you most likely need to access them with obj["propertyName"] instead of obj.propertyName
Optional renderOptional typeOptional useUse JS reserved keywords so the TS output models can easily be transpiled to JS
Generated using TypeDoc
Generator for TypeScript