Client - init OAuth Applications list
This commit is contained in:
11
fittrackee_client/src/store/modules/oauth2/getters.ts
Normal file
11
fittrackee_client/src/store/modules/oauth2/getters.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import { GetterTree } from 'vuex'
|
||||
|
||||
import { OAUTH2_STORE } from '@/store/constants'
|
||||
import { IOAuth2Getters, IOAuth2State } from '@/store/modules/oauth2/types'
|
||||
import { IRootState } from '@/store/modules/root/types'
|
||||
|
||||
export const getters: GetterTree<IOAuth2State, IRootState> & IOAuth2Getters = {
|
||||
[OAUTH2_STORE.GETTERS.CLIENTS]: (state: IOAuth2State) => state.clients,
|
||||
[OAUTH2_STORE.GETTERS.CLIENTS_PAGINATION]: (state: IOAuth2State) =>
|
||||
state.pagination,
|
||||
}
|
Reference in New Issue
Block a user