forked from cerc-io/snowballtools-base
13 lines
189 B
TypeScript
13 lines
189 B
TypeScript
|
const user = {
|
||
|
id: 2
|
||
|
};
|
||
|
|
||
|
export const createResolvers = async (): Promise<any> => {
|
||
|
return {
|
||
|
Query: {
|
||
|
// TODO: fetch user data from db
|
||
|
getUser: () => user
|
||
|
}
|
||
|
};
|
||
|
};
|