API โบ @qwik.dev/qwik-router/middleware/firebase
createQwikCity
Warning: This API is now obsolete.
Use
createQwikRouter
instead. Will be removed in V3
createQwikCity: typeof createQwikRouter;
createQwikRouter
export declare function createQwikRouter(
opts: QwikRouterFirebaseOptions,
): (req: any, res: any) => Promise<void>;
Parameter
Type
Description
opts
(req: any, res: any) => Promise<void>
PlatformFirebase
export interface PlatformFirebase extends Object
Extends: Object
QwikCityFirebaseOptions
Warning: This API is now obsolete.
Use
QwikRouterFirebaseOptions
instead. Will be removed in V3
export type QwikCityFirebaseOptions = QwikRouterFirebaseOptions;
References: QwikRouterFirebaseOptions
QwikRouterFirebaseOptions
export interface QwikRouterFirebaseOptions extends ServerRenderOptions
Extends: ServerRenderOptions