mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-15 20:17:22 +00:00
refactor(adapter): replaced FrameworkBkndConfig with RuntimeBkndConfig
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user