fix: change timestamp type to integer

This commit is contained in:
zhsama 2025-10-30 18:24:30 +08:00
parent 9503fafc53
commit 5af165fce9
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ const Panel = () => {
// is workflow
...((isWorkflowPage && !isChatMode) ? [{
name: 'timestamp',
value_type: 'number' as const,
value_type: 'integer' as const,
description: t('workflow.globalVar.fieldsDescription.triggerTimestamp'),
}] : []),
]

View File

@ -178,7 +178,7 @@ export type ConversationVariable = {
export type GlobalVariable = {
name: string
value_type: 'string' | 'number'
value_type: 'string' | 'number' | 'integer'
description: string
}