2
0

🚸 (setVariable) Rename Today setVar type to Now

This commit is contained in:
Baptiste Arnaud
2023-08-07 14:32:30 +02:00
parent 037d4ce345
commit 4d3f67c752
5 changed files with 72 additions and 37 deletions

View File

@ -6,6 +6,7 @@ export const valueTypes = [
'Custom',
'Empty',
'User ID',
'Now',
'Today',
'Yesterday',
'Tomorrow',
@ -14,6 +15,8 @@ export const valueTypes = [
'Map item with same index',
] as const
export const hiddenTypes = ['Today']
export const setVariableOptionsSchema = z.object({
variableId: z.string().optional(),
expressionToEvaluate: z.string().optional(),