Fix: Install page redirects to signin if Dify finished setup. (#762)

This commit is contained in:
Matri
2023-08-07 13:19:47 +08:00
committed by GitHub
parent cc7b5d128b
commit 6242e91a6b
5 changed files with 139 additions and 117 deletions

View File

@@ -6,6 +6,11 @@ export type OauthResponse = {
redirect_url: string
}
export type SetupStatusResponse = {
step: 'finished' | 'not_started'
setup_at?: Date
}
export type UserProfileResponse = {
id: string
name: string