feat: custom webapp logo (#1766)

This commit is contained in:
zxhlyh 2023-12-18 16:25:37 +08:00 • committed by GitHub
commit 5bb841935e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 888 additions and 24 deletions

View file

@ -103,6 +103,10 @@ export const fetchCurrentWorkspace: Fetcher<ICurrentWorkspace, { url: string; pa
return get<ICurrentWorkspace>(url, { params })
}
export const updateCurrentWorkspace: Fetcher<ICurrentWorkspace, { url: string; body: Record<string, any> }> = ({ url, body }) => {
return post<ICurrentWorkspace>(url, { body })
}
export const fetchWorkspaces: Fetcher<{ workspaces: IWorkspace[] }, { url: string; params: Record<string, any> }> = ({ url, params }) => {
return get<{ workspaces: IWorkspace[] }>(url, { params })
}