diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-27 00:55:03 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-27 00:55:03 +0200 |
| commit | 679ebc02b5501c1432753571283501d08d83267d (patch) | |
| tree | f5a1633ed283941c68fa56fe8b191f97d47670f9 /packages | |
| parent | d5db4701506b6ad206ecd017ba415c4b80952f97 (diff) | |
| parent | b10bb8ed55330d98cbbb88d7e139b943a9f95f00 (diff) | |
| download | opencut-679ebc02b5501c1432753571283501d08d83267d.tar.gz | |
Merge branch 'main' of https://github.com/mazeincoding/AppCut
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/auth/src/server.ts | 4 | ||||
| -rw-r--r-- | packages/db/src/index.ts | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/packages/auth/src/server.ts b/packages/auth/src/server.ts index f6c68dc5..6590c0af 100644 --- a/packages/auth/src/server.ts +++ b/packages/auth/src/server.ts @@ -16,7 +16,7 @@ export const auth = betterAuth({ emailAndPassword: { enabled: true, }, - socialProviders: { + socialProviders: { google: { clientId: process.env.GOOGLE_CLIENT_ID as string, clientSecret: process.env.GOOGLE_CLIENT_SECRET as string, @@ -26,4 +26,4 @@ export const auth = betterAuth({ trustedOrigins: ["http://localhost:3000"], }); -export type Auth = typeof auth;
\ No newline at end of file +export type Auth = typeof auth; diff --git a/packages/db/src/index.ts b/packages/db/src/index.ts index b712776c..91fc841d 100644 --- a/packages/db/src/index.ts +++ b/packages/db/src/index.ts @@ -13,4 +13,7 @@ const client = postgres(process.env.DATABASE_URL); export const db = drizzle(client, { schema }); // Re-export schema for convenience -export * from "./schema";
\ No newline at end of file +export * from "./schema"; + +// Re-export drizzle-orm functions to ensure version consistency +export { eq, and, or, not, isNull, isNotNull, inArray, notInArray, exists, notExists, sql } from "drizzle-orm";
\ No newline at end of file |
