Type Alias: GeneratorOptions<T, E>
GeneratorOptions<
T,E>: {default:T| (it:E) =>T;on:"add";sequence:string;using:Generator; }
Options for generating property values.
Type Parameters
| Type Parameter | Default type | Description | 
|---|---|---|
| T | unknown | The property type. | 
| E | unknown | The entity type. | 
Type declaration
default?
optionaldefault:T| (it:E) =>T
The default value, or a function to generate the default value.
on?
optionalon:"add"
When to generate the value.
sequence?
optionalsequence:string
The sequence to use for the generation strategy.
using?
optionalusing:Generator
The generation strategy to use.