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 = {
|
type TSvelteKit = {
|
||||||
request: Request;
|
request: Request;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type SvelteKitBkndConfig<Env> = FrameworkBkndConfig<Env> & {
|
export type SvelteKitBkndConfig<Env> = Pick<RuntimeBkndConfig<Env>, "adminOptions">;
|
||||||
adminOptions?: {
|
|
||||||
adminBasepath?: string;
|
|
||||||
assetsPath?: string;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get bknd app instance
|
* Get bknd app instance
|
||||||
|
|||||||
Reference in New Issue
Block a user