interface DebugHelperNodeParameters {
category?:
| "doNothing"
| "throwError"
| "oom"
| "randomData";
memorySizeValue?: number;
nanoidAlphabet?: string;
nanoidLength?: string;
randomDataCount?: number;
randomDataSeed?: string;
randomDataSingleArray?: boolean;
randomDataType?: | "url"
| "user"
| "address"
| "email"
| "ipv4"
| "uuid"
| "latLong"
| "creditCard"
| "ipv6"
| "macAddress"
| "nanoid"
| "semver";
throwErrorMessage?: string;
throwErrorType?: | "NodeApiError"
| "NodeOperationError"
| "Error";
}
Properties§
Source§readonly memory Size Value?: number
readonly memory Size Value?: number
The approximate amount of memory to generate. Be generous... Default: 10
Source§readonly nanoid Alphabet?: string
readonly nanoid Alphabet?: string
The alphabet to use for generating the nanoIds Default: "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
Source§readonly random Data Count?: number
readonly random Data Count?: number
The number of random data items to generate into an array Default: 10
Source§readonly random Data Seed?: string
readonly random Data Seed?: string
If set, seed to use for generating the data (same seed will generate the same data)
Source§readonly random Data Single Array?: boolean
readonly random Data Single Array?: boolean
Whether to output a single array instead of multiple items
Source§readonly random Data Type?:
| "url"
| "user"
| "address"
| "email"
| "ipv4"
| "uuid"
| "latLong"
| "creditCard"
| "ipv6"
| "macAddress"
| "nanoid"
| "semver"
readonly random Data Type?:
| "url"
| "user"
| "address"
| "email"
| "ipv4"
| "uuid"
| "latLong"
| "creditCard"
| "ipv6"
| "macAddress"
| "nanoid"
| "semver"
Default: "user"
Default: "throwError"