dify/web/context/app-context-defaults.ts
Byron.wang 976d061f9b
refactor(api): merge ping and version endpoints into system (#40058)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-10 08:50:40 +00:00

19 lines
497 B
TypeScript

import type { GetWorkspacesCurrentSummaryResponse } from '@dify/contracts/api/console/workspaces/types.gen'
import type { LangGeniusVersionInfo } from './app-context-types'
export const initialLangGeniusVersionInfo: LangGeniusVersionInfo = {
current_env: '',
current_version: '',
latest_version: '',
release_notes: '',
version: '',
}
export const initialWorkspaceSummary: GetWorkspacesCurrentSummaryResponse = {
id: '',
name: '',
plan: null,
credits: null,
role: 'normal',
}