examples: fixing imports due to 0.16

This commit is contained in:
dswbx
2025-08-03 13:15:01 +02:00
parent bd48bb7a18
commit 412eab6653
6 changed files with 21 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
import type { NextjsBkndConfig } from "bknd/adapter/nextjs";
import { boolean, em, entity, text } from "bknd/data";
import { boolean, em, entity, text } from "bknd";
import { registerLocalMediaAdapter } from "bknd/adapter/node";
import { secureRandomString } from "bknd/utils";
@@ -22,7 +22,7 @@ const schema = em({
// register your schema to get automatic type completion
type Database = (typeof schema)["DB"];
declare module "bknd/core" {
declare module "bknd" {
interface DB extends Database {}
}