refactor(adapter): replaced FrameworkBkndConfig with RuntimeBkndConfig

This commit is contained in:
dswbx
2026-01-09 12:59:03 +01:00
parent 03d3b8e407
commit 521d8bc6ff

View File

@@ -1,15 +1,10 @@
import { type FrameworkBkndConfig, createRuntimeApp } from "bknd/adapter";
import { createRuntimeApp, type RuntimeBkndConfig } from "bknd/adapter";
type TSvelteKit = {
request: Request;
};
export type SvelteKitBkndConfig<Env> = FrameworkBkndConfig<Env> & {
adminOptions?: {
adminBasepath?: string;
assetsPath?: string;
};
};
export type SvelteKitBkndConfig<Env> = Pick<RuntimeBkndConfig<Env>, "adminOptions">;
/**
* Get bknd app instance