manifold/web/lib/api/graphql/datasources/index.ts
joy_void_joy 35a811ceee graphql: Add datasources
Add a simple wrapper datasources around web/lib/firebase
2022-07-20 18:15:55 +02:00

11 lines
220 B
TypeScript

import type { contextType } from '../types'
import { FirebaseAPI } from './firebaseAPI'
const dataSources = () =>
({
firebaseAPI: new FirebaseAPI(),
} as contextType['dataSources'])
export default dataSources