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§
§§§§§§§§§
readonly category?: "doNothing" | "throwError" | "oom" | "randomData"§
readonly memory Size Value?: numberThe approximate amount of memory to generate. Be generous... Default: 10
readonly nanoid Alphabet?: stringThe alphabet to use for generating the nanoIds Default: "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
readonly nanoid Length?: stringThe length of each nanoIds Default: "16"
readonly random Data Count?: numberThe number of random data items to generate into an array Default: 10
readonly random Data Seed?: stringIf set, seed to use for generating the data (same seed will generate the same data)
readonly random Data Single Array?: booleanWhether to output a single array instead of multiple items
readonly random Data Type?:
| "url"
| "user"
| "address"
| "email"
| "ipv4"
| "uuid"
| "latLong"
| "creditCard"
| "ipv6"
| "macAddress"
| "nanoid"
| "semver"Default: "user"
readonly throw Error Message?: stringThe message to send as part of the error Default: "Node has thrown an error"
readonly throw Error Type?: "NodeApiError" | "NodeOperationError" | "Error"Default: "NodeApiError"
Default: "throwError"