feat(formatter): Add decimal point to random number transformer

This commit is contained in:
Faruk AYDIN
2023-09-06 17:06:13 +02:00
parent ff66548462
commit fd61cf3388
2 changed files with 17 additions and 3 deletions

View File

@@ -15,6 +15,15 @@ const randomNumber = [
description: 'The highest number to generate.',
variables: true,
},
{
label: 'Decimal points',
key: 'decimalPoints',
type: 'string' as const,
required: false,
description:
'The number of digits after the decimal point. It can be an integer between 0 and 15.',
variables: true,
},
];
export default randomNumber;