Add bridge-whatsapp

This commit is contained in:
Darren Clarke 2024-05-07 14:16:01 +02:00
parent 0d09ad1b7e
commit 0499287555
21 changed files with 3485 additions and 47 deletions

View file

@ -4,8 +4,6 @@ import type {
Generated,
ColumnType,
Selectable,
Insertable,
Updateable,
} from "kysely";
import pg from "pg";
import { KyselyAuth } from "@auth/kysely-adapter";
@ -72,6 +70,10 @@ export interface Database {
name: string;
description: string;
phoneNumber: string;
token: string;
qrCode: string;
verified: boolean;
userId: string;
createdBy: string;
createdAt: Date;
updatedAt: Date;
@ -88,7 +90,7 @@ export interface Database {
pageId: string | null;
appId: string | null;
userId: string | null;
isVerified: Generated<boolean>;
verified: Generated<boolean>;
createdAt: GeneratedAlways<Timestamp>;
updatedAt: GeneratedAlways<Timestamp>;
};