updated codegen, fixed tsconfig, added prisma

added login, registration and session check
This commit is contained in:
lnn0q 2025-03-23 21:06:15 +02:00
parent 9518787206
commit 04b606b7fa
24 changed files with 740 additions and 1747 deletions

View file

@ -1,20 +1,18 @@
import { Book } from "@generated/graphql";
import { Book } from '@generated/types';
export const books = [
{
id: "1",
title: "some-title-1",
author: "someone",
id: '1',
title: 'some-title-1',
author: 'someone'
},
{
id: "2",
title: "some-title-1",
author: "someone",
},
id: '2',
title: 'some-title-1',
author: 'someone'
}
];
export async function BooksManyResolver(_: any): Promise<Book[]> {
console.log("Called 'BooksManyResolver' resolver...");
return books;
}