mirror of https://github.com/langgenius/dify.git
fix: change timestamp type to integer
This commit is contained in:
parent
9503fafc53
commit
5af165fce9
|
|
@ -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'),
|
||||
}] : []),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ export type ConversationVariable = {
|
|||
|
||||
export type GlobalVariable = {
|
||||
name: string
|
||||
value_type: 'string' | 'number'
|
||||
value_type: 'string' | 'number' | 'integer'
|
||||
description: string
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue