Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
22
node_modules/@vercel/build-utils/dist/framework-helpers.d.ts
generated
vendored
Normal file
22
node_modules/@vercel/build-utils/dist/framework-helpers.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import { Builder } from '.';
|
||||
/**
|
||||
* List of backend frameworks supported by the experimental backends feature
|
||||
*/
|
||||
export declare const BACKEND_FRAMEWORKS: readonly ["express", "hono", "h3", "koa", "nestjs", "fastify", "elysia"];
|
||||
export declare const PYTHON_FRAMEWORKS: readonly ["fastapi", "flask", "python"];
|
||||
export declare const RUNTIME_FRAMEWORKS: readonly ["python"];
|
||||
export declare const BACKEND_BUILDERS: readonly ["@vercel/express", "@vercel/hono", "@vercel/h3", "@vercel/koa", "@vercel/nestjs", "@vercel/fastify", "@vercel/elysia"];
|
||||
export type BackendFramework = (typeof BACKEND_FRAMEWORKS)[number];
|
||||
export type PythonFramework = (typeof PYTHON_FRAMEWORKS)[number];
|
||||
/**
|
||||
* Checks if the given framework is a backend framework
|
||||
*/
|
||||
export declare function isBackendFramework(framework: string | null | undefined): framework is BackendFramework;
|
||||
export declare function isPythonFramework(framework: string | null | undefined): framework is (typeof PYTHON_FRAMEWORKS)[number];
|
||||
export declare function isExperimentalBackendsWithoutIntrospectionEnabled(): boolean;
|
||||
export declare function isExperimentalBackendsEnabled(): boolean;
|
||||
export declare function isBackendBuilder(builder: Builder | null | undefined): boolean;
|
||||
/**
|
||||
* Checks if experimental backends are enabled AND the framework is a backend framework
|
||||
*/
|
||||
export declare function shouldUseExperimentalBackends(framework: string | null | undefined): boolean;
|
||||
Loading…
Add table
Add a link
Reference in a new issue