feat: add app_mode field to app import and model definitions (#15729)

Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: twwu <twwu@dify.ai>
This commit is contained in:
-LAN- 2025-03-18 11:12:25 +08:00 committed by GitHub
commit cefec44070
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 17 additions and 11 deletions

View file

@ -1,6 +1,8 @@
import type { AppMode } from '@/types/app'
export const getRedirection = (
isCurrentWorkspaceEditor: boolean,
app: any,
app: { id: string, mode: AppMode },
redirectionFunc: (href: string) => void,
) => {
if (!isCurrentWorkspaceEditor) {