Files
pgadmin4/web/pgadmin/static/js/components/PgTree/TreeModelX/index.ts
Aditya Toshniwal 5c34c10d4e - Move pgadmin4-treeview to pgAdmin main repo.
- Use react based context menu for browser tree. #5615.
- Fix feature tests failure.
2023-01-02 10:51:13 +05:30

11 lines
386 B
TypeScript

import { TreeModel, IBasicFileSystemHost } from 'react-aspen'
import { DecorationsManager } from 'aspen-decorations'
export class TreeModelX extends TreeModel {
public readonly decorations: DecorationsManager
constructor(host: IBasicFileSystemHost, mountPath: string) {
super(host, mountPath)
this.decorations = new DecorationsManager(this.root as any)
}
}