mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 07:46:31 +08:00
fix: change timestamp type to integer
This commit is contained in:
parent
9503fafc53
commit
5af165fce9
@ -52,7 +52,7 @@ const Panel = () => {
|
|||||||
// is workflow
|
// is workflow
|
||||||
...((isWorkflowPage && !isChatMode) ? [{
|
...((isWorkflowPage && !isChatMode) ? [{
|
||||||
name: 'timestamp',
|
name: 'timestamp',
|
||||||
value_type: 'number' as const,
|
value_type: 'integer' as const,
|
||||||
description: t('workflow.globalVar.fieldsDescription.triggerTimestamp'),
|
description: t('workflow.globalVar.fieldsDescription.triggerTimestamp'),
|
||||||
}] : []),
|
}] : []),
|
||||||
]
|
]
|
||||||
|
|||||||
@ -178,7 +178,7 @@ export type ConversationVariable = {
|
|||||||
|
|
||||||
export type GlobalVariable = {
|
export type GlobalVariable = {
|
||||||
name: string
|
name: string
|
||||||
value_type: 'string' | 'number'
|
value_type: 'string' | 'number' | 'integer'
|
||||||
description: string
|
description: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user