mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 13:38:51 +00:00
78 lines
1.2 KiB
TypeScript
78 lines
1.2 KiB
TypeScript
// prettier-ignore
|
|
const USER_PAGE = {
|
|
SORTBY_OPTIONS: [
|
|
{
|
|
value: 'id',
|
|
label: 'Sort by id',
|
|
},
|
|
{
|
|
value: 'name',
|
|
label: 'Sort by name',
|
|
},
|
|
{
|
|
value: 'identifiedCode',
|
|
label: 'Sort by identified code',
|
|
},
|
|
{
|
|
value: 'phone',
|
|
label: 'Sort by phone',
|
|
},
|
|
{
|
|
value: 'roomId',
|
|
label: 'Sort by room',
|
|
},
|
|
],
|
|
ORDERBY_OPTIONS: [
|
|
{
|
|
value: 'asc',
|
|
label: 'Ascending',
|
|
},
|
|
{
|
|
value: 'desc',
|
|
label: 'Descending',
|
|
},
|
|
],
|
|
};
|
|
|
|
// prettier-ignore
|
|
const ROOM_PAGE = {
|
|
ORDERBY_OPTIONS: [
|
|
{
|
|
value: 'asc',
|
|
label: 'Ascending',
|
|
},
|
|
{
|
|
value: 'desc',
|
|
label: 'Descending',
|
|
},
|
|
],
|
|
SORTBY_OPTIONS: [
|
|
{
|
|
value: 'id',
|
|
label: 'Sort by id',
|
|
},
|
|
{
|
|
value: 'name',
|
|
label: 'Sort by name',
|
|
},
|
|
{
|
|
value: 'amount',
|
|
label: 'Sort by amount',
|
|
},
|
|
{
|
|
value: 'price',
|
|
label: 'Sort by price',
|
|
},
|
|
{
|
|
value: 'discount',
|
|
label: 'Sort by discount',
|
|
},
|
|
{
|
|
value: 'status',
|
|
label: 'Sort by status',
|
|
},
|
|
],
|
|
}
|
|
|
|
export { USER_PAGE, ROOM_PAGE };
|