File: //home/arjun/projects/buyercall/buyercall/assets/vue/widgets/Manage_Source/constants.js
//ACTIONS
export const ROOT_ACTION_SET_WINDOW_WIDTH = 'ROOT_ACTION_SET_WINDOW_WIDTH';
export const ROOT_ACTION_SET_ERROR_MESSAGE = 'ROOT_ACTION_SET_ERROR_MESSAGE';
export const ROOT_ACTION_SET_SUCCESS_MESSAGE =
'ROOT_ACTION_SET_SUCCESS_MESSAGE';
export const ROOT_ACTION_RESET_SUCCESS_AND_ERROR_MESSAGE =
'ROOT_ACTION_RESET_SUCCESS_AND_ERROR_MESSAGE';
export const ROOT_ACTION_SET_BREADCRUMB = 'ROOT_ACTION_SET_BREADCRUMB';
//MUTATIIONS
export const ROOT_MUTATION_SET_WINDOW_WIDTH = 'ROOT_MUTATION_SET_WINDOW_WIDTH';
export const ROOT_MUTATION_SET_ERROR_MESSAGE =
'ROOT_MUTATION_SET_ERROR_MESSAGE';
export const ROOT_MUTATION_SET_SUCCESS_MESSAGE =
'ROOT_MUTATION_SET_SUCCESS_MESSAGE';
export const ROOT_MUTATION_SET_BREADCRUMB = 'ROOT_MUTATION_SET_BREADCRUMB';
// GETTERS
export const ROOT_GETTER = 'ROOT_GETTER';
export const ROOT_GETTER_ISMOBILE_VIEW = 'ROOT_GETTER_ISMOBILE_VIEW';
export const ROOT_GETTER_GET_BREADCRUMBS = 'ROOT_GETTER_GET_BREADCRUMBS';
export const sourceListTableConfig = {
totalRows: 1,
currentPage: 1,
perPage: 5,
pageOptions: [5, 10, 25, 50, 100],
filter: null,
filterOn: [],
sortBy: 'createdOn',
sortDesc: false,
fields: [
{
key: 'name',
sortable: true,
},
{
key: 'description',
sortable: true,
},
{
key: 'createdOn',
sortable: true,
},
{
key: 'updatedOn',
sortable: true,
},
{
key: 'updatedBy',
sortable: true,
},
{
key: 'createdBy',
sortable: true,
},
'action',
],
};