Skip to content

Provider

Provider specifies functions for creating new object instances and for resolving enum values by name.

enumValue(enumName): Val

string

Val


findIdent(identName): Val | undefined

string

Val | undefined


findStructFieldNames(structType): string[] | undefined

string

string[] | undefined


findStructFieldType(structType, fieldName): ProviderFieldType | undefined

string

string

ProviderFieldType | undefined


findStructType(structType): Type | undefined

string

Type | undefined


newValue(structType, fields): Val

string

Record<string, Val>

Val