import ServiceAccessors from "./accessors"
import { elementName, Game, GameWithoutId } from "./games"

const serviceAccessors = new ServiceAccessors<GameWithoutId, Game>(elementName)

export const gameListGet = serviceAccessors.listGet()
export const gameGet = serviceAccessors.get()
export const gameAdd = serviceAccessors.add()
export const gameSet = serviceAccessors.set()
