- type: ResourceKind.Project
- }],
- render: item => renderType(item.kind),
- width: "125px"
-}, {
- name: "Owner",
- selected: true,
- render: item => renderOwner(item.owner),
- width: "200px"
-}, {
- name: "File size",
- selected: true,
- render: item => renderFileSize(item.fileSize),
- width: "50px"
-}, {
- name: "Last modified",
- selected: true,
- sortDirection: "none",
- render: item => renderDate(item.lastModified),
- width: "150px"
-}];
-
-const contextMenuActions = [[{
- icon: "fas fa-users fa-fw",
- name: "Share"
-}, {
- icon: "fas fa-sign-out-alt fa-fw",
- name: "Move to"
-}, {
- icon: "fas fa-star fa-fw",
- name: "Add to favourite"
-}, {
- icon: "fas fa-edit fa-fw",
- name: "Rename"
-}, {
- icon: "fas fa-copy fa-fw",
- name: "Make a copy"
-}, {
- icon: "fas fa-download fa-fw",
- name: "Download"
-}], [{
- icon: "fas fa-trash-alt fa-fw",
- name: "Remove"
-}
-]];
+ filters: [
+ {
+ name: RESOURCE_LABEL(ResourceKind.Collection),
+ selected: true,
+ type: ResourceKind.Collection
+ },
+ {
+ name: RESOURCE_LABEL(ResourceKind.Process),
+ selected: true,
+ type: ResourceKind.Process
+ },
+ {
+ name: RESOURCE_LABEL(ResourceKind.Project),
+ selected: true,
+ type: ResourceKind.Project
+ }
+ ],
+ render: item => RENDER_TYPE(item.kind),
+ width: "125px"
+ },
+ {
+ name: ColumnNames.OWNER,
+ selected: true,
+ render: item => RENDER_OWNER(item.owner),
+ width: "200px"
+ },
+ {
+ name: ColumnNames.FILE_SIZE,
+ selected: true,
+ render: item => RENDER_FILE_SIZE(item.fileSize),
+ width: "50px"
+ },
+ {
+ name: ColumnNames.LAST_MODIFIED,
+ selected: true,
+ sortDirection: SortDirection.None,
+ render: item => RENDER_DATE(item.lastModified),
+ width: "150px"
+ }
+];