mirror of
https://github.com/langgenius/dify.git
synced 2026-02-24 18:05:11 +00:00
Compare commits
3 Commits
dependabot
...
fix/trigge
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
354d0e2038 | ||
|
|
0c495c5d75 | ||
|
|
186f89a9c7 |
@@ -119,15 +119,15 @@
|
|||||||
"mime": "4.1.0",
|
"mime": "4.1.0",
|
||||||
"mitt": "3.0.1",
|
"mitt": "3.0.1",
|
||||||
"negotiator": "1.0.0",
|
"negotiator": "1.0.0",
|
||||||
"next": "16.1.4",
|
"next": "16.1.5",
|
||||||
"next-themes": "0.4.6",
|
"next-themes": "0.4.6",
|
||||||
"nuqs": "2.8.6",
|
"nuqs": "2.8.6",
|
||||||
"pinyin-pro": "3.27.0",
|
"pinyin-pro": "3.27.0",
|
||||||
"qrcode.react": "4.2.0",
|
"qrcode.react": "4.2.0",
|
||||||
"qs": "6.14.1",
|
"qs": "6.14.1",
|
||||||
"react": "19.2.3",
|
"react": "19.2.4",
|
||||||
"react-18-input-autosize": "3.0.0",
|
"react-18-input-autosize": "3.0.0",
|
||||||
"react-dom": "19.2.3",
|
"react-dom": "19.2.4",
|
||||||
"react-easy-crop": "5.5.3",
|
"react-easy-crop": "5.5.3",
|
||||||
"react-hotkeys-hook": "4.6.2",
|
"react-hotkeys-hook": "4.6.2",
|
||||||
"react-i18next": "16.5.0",
|
"react-i18next": "16.5.0",
|
||||||
@@ -165,9 +165,9 @@
|
|||||||
"@eslint-react/eslint-plugin": "2.7.0",
|
"@eslint-react/eslint-plugin": "2.7.0",
|
||||||
"@mdx-js/loader": "3.1.1",
|
"@mdx-js/loader": "3.1.1",
|
||||||
"@mdx-js/react": "3.1.1",
|
"@mdx-js/react": "3.1.1",
|
||||||
"@next/bundle-analyzer": "16.1.4",
|
"@next/bundle-analyzer": "16.1.5",
|
||||||
"@next/eslint-plugin-next": "16.1.4",
|
"@next/eslint-plugin-next": "16.1.5",
|
||||||
"@next/mdx": "16.1.4",
|
"@next/mdx": "16.1.5",
|
||||||
"@rgrove/parse-xml": "4.2.0",
|
"@rgrove/parse-xml": "4.2.0",
|
||||||
"@serwist/turbopack": "9.5.0",
|
"@serwist/turbopack": "9.5.0",
|
||||||
"@storybook/addon-docs": "10.2.0",
|
"@storybook/addon-docs": "10.2.0",
|
||||||
|
|||||||
1024
web/pnpm-lock.yaml
generated
1024
web/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,6 @@ import type {
|
|||||||
} from '@/types/workflow'
|
} from '@/types/workflow'
|
||||||
import { get, post } from './base'
|
import { get, post } from './base'
|
||||||
import { getFlowPrefix } from './utils'
|
import { getFlowPrefix } from './utils'
|
||||||
import { sanitizeWorkflowDraftPayload } from './workflow-payload'
|
|
||||||
|
|
||||||
export const fetchWorkflowDraft = (url: string) => {
|
export const fetchWorkflowDraft = (url: string) => {
|
||||||
return get(url, {}, { silent: true }) as Promise<FetchWorkflowDraftResponse>
|
return get(url, {}, { silent: true }) as Promise<FetchWorkflowDraftResponse>
|
||||||
@@ -19,8 +18,7 @@ export const syncWorkflowDraft = ({ url, params }: {
|
|||||||
url: string
|
url: string
|
||||||
params: Pick<FetchWorkflowDraftResponse, 'graph' | 'features' | 'environment_variables' | 'conversation_variables'>
|
params: Pick<FetchWorkflowDraftResponse, 'graph' | 'features' | 'environment_variables' | 'conversation_variables'>
|
||||||
}) => {
|
}) => {
|
||||||
const sanitized = sanitizeWorkflowDraftPayload(params)
|
return post<CommonResponse & { updated_at: number, hash: string }>(url, { body: params }, { silent: true })
|
||||||
return post<CommonResponse & { updated_at: number, hash: string }>(url, { body: sanitized }, { silent: true })
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const fetchNodesDefaultConfigs = (url: string) => {
|
export const fetchNodesDefaultConfigs = (url: string) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user