Add home screen view options
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2
src/types/index.ts
Normal file
2
src/types/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export { SORT, SORT_DIRECTION } from './sort';
|
||||
export { VIEW } from './view';
|
15
src/types/sort.ts
Normal file
15
src/types/sort.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
enum SORT {
|
||||
TITLE = 'Title',
|
||||
DATE_CREATED = 'Date Created',
|
||||
DATE_MODIFIED = 'Date Modified',
|
||||
DATE_USED = 'Last Used',
|
||||
TIMES_USED = 'Times Used',
|
||||
SIZE = 'Size',
|
||||
}
|
||||
|
||||
enum SORT_DIRECTION {
|
||||
ASCENDING = 'Ascending',
|
||||
DESCENDING = 'Descending',
|
||||
}
|
||||
|
||||
export { SORT, SORT_DIRECTION };
|
7
src/types/view.ts
Normal file
7
src/types/view.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
enum VIEW {
|
||||
MASONRY = 'Masonry',
|
||||
GRID = 'Grid',
|
||||
LIST = 'List',
|
||||
}
|
||||
|
||||
export { VIEW };
|
Reference in New Issue
Block a user