Client - init OAuth Applications list

This commit is contained in:
Sam
2022-05-28 16:16:36 +02:00
parent 489710c29d
commit 25decef696
25 changed files with 358 additions and 3 deletions

View 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,
}