summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/shared/models/cephfs-directory-models.ts
blob: 92186aecc9617a50ee579e2f856d3a4a360fe09c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { TreeStatus } from '@swimlane/ngx-datatable';

export class CephfsSnapshot {
  name: string;
  path: string;
  created: string;
}

export class CephfsQuotas {
  max_bytes?: number;
  max_files?: number;
}

export class CephfsDir {
  name: string;
  path: string;
  quotas: CephfsQuotas;
  snapshots: CephfsSnapshot[];
  parent: string;
  treeStatus?: TreeStatus; // Needed for table tree view
}