default
default: { modules: { Product: { actions: { fetchProducts: any; resetProducts: any; setPage: any }; getters: { currentPage: ((state: any) => any); pagesTotal: ((state: any) => any); products: ((state: any) => any); productsTotalQty: ((state: any) => any) }; mutations: {}; state: { currentPage: number; pagination: null; products: never[] } }; Ticket: { actions: { fetchTicket: any }; getters: { ticketLoadingState: ((state: any) => any); tickets: ((state: any) => any) }; mutations: {}; state: { error: null; loadingState: string; tickets: never[] } } }; namespaced: boolean }
Type declaration
modules: { Product: { actions: { fetchProducts: any; resetProducts: any; setPage: any }; getters: { currentPage: ((state: any) => any); pagesTotal: ((state: any) => any); products: ((state: any) => any); productsTotalQty: ((state: any) => any) }; mutations: {}; state: { currentPage: number; pagination: null; products: never[] } }; Ticket: { actions: { fetchTicket: any }; getters: { ticketLoadingState: ((state: any) => any); tickets: ((state: any) => any) }; mutations: {}; state: { error: null; loadingState: string; tickets: never[] } } }
Product: { actions: { fetchProducts: any; resetProducts: any; setPage: any }; getters: { currentPage: ((state: any) => any); pagesTotal: ((state: any) => any); products: ((state: any) => any); productsTotalQty: ((state: any) => any) }; mutations: {}; state: { currentPage: number; pagination: null; products: never[] } }
actions: { fetchProducts: any; resetProducts: any; setPage: any }
fetchProducts:function
Parameters
__namedParameters: Object
query: any
resetProducts:function
- resetProducts(__namedParameters: Object): void
Parameters
__namedParameters: Object
Returns void
setPage:function
- setPage(__namedParameters: Object, page: any): void
Parameters
__namedParameters: Object
page: any
Returns void
getters: { currentPage: ((state: any) => any); pagesTotal: ((state: any) => any); products: ((state: any) => any); productsTotalQty: ((state: any) => any) }
currentPage: ((state: any) => any)
pagesTotal: ((state: any) => any)
products: ((state: any) => any)
productsTotalQty: ((state: any) => any)
mutations: {}
state: { currentPage: number; pagination: null; products: never[] }
currentPage: number
pagination: null
products: never[]
Ticket: { actions: { fetchTicket: any }; getters: { ticketLoadingState: ((state: any) => any); tickets: ((state: any) => any) }; mutations: {}; state: { error: null; loadingState: string; tickets: never[] } }
actions: { fetchTicket: any }
fetchTicket:function
Parameters
__namedParameters: Object
getters: { ticketLoadingState: ((state: any) => any); tickets: ((state: any) => any) }
ticketLoadingState: ((state: any) => any)
tickets: ((state: any) => any)
mutations: {}
state: { error: null; loadingState: string; tickets: never[] }
error: null
loadingState: string
tickets: never[]
namespaced: boolean