fix: frontend permission check (#784)
This commit is contained in:
@@ -118,6 +118,13 @@ export type IWorkspace = {
|
||||
current: boolean
|
||||
}
|
||||
|
||||
export type ICurrentWorkspace = Omit<IWorkspace, 'current'> & {
|
||||
role: 'normal' | 'admin' | 'owner'
|
||||
providers: Provider[]
|
||||
in_trail: boolean
|
||||
trial_end_reason?: string
|
||||
}
|
||||
|
||||
export type DataSourceNotionPage = {
|
||||
page_icon: null | {
|
||||
type: string | null
|
||||
|
Reference in New Issue
Block a user