zs
2025-05-06 f1204f4d3ec3e8bcb9c9d0be9c88fbe34e95b36c
HIAWms/web/src/libs/Permission/Permission.d.ts
对比新文件
@@ -0,0 +1,25 @@
declare global {
  interface Window {
    app: any
  }
}
export interface Permission {
  id: string
  name: string
}
export interface UserInfo {
  permissions: {
    all: boolean
    widgets: string[]
  }
}
export interface Props {
  node: {
    id: string
    name: string
  }
  [key: string]: any
}