Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
20
Frontend-Learner/node_modules/nitropack/dist/presets/cloudflare/runtime/cloudflare-pages.d.ts
generated
vendored
Normal file
20
Frontend-Learner/node_modules/nitropack/dist/presets/cloudflare/runtime/cloudflare-pages.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import "#nitro-internal-pollyfills";
|
||||
import type { Request as CFRequest, EventContext, ExecutionContext } from "@cloudflare/workers-types";
|
||||
/**
|
||||
* Reference: https://developers.cloudflare.com/workers/runtime-apis/fetch-event/#parameters
|
||||
*/
|
||||
interface CFPagesEnv {
|
||||
ASSETS: {
|
||||
fetch: (request: CFRequest) => Promise<Response>;
|
||||
};
|
||||
CF_PAGES: "1";
|
||||
CF_PAGES_BRANCH: string;
|
||||
CF_PAGES_COMMIT_SHA: string;
|
||||
CF_PAGES_URL: string;
|
||||
[key: string]: any;
|
||||
}
|
||||
declare const _default: {
|
||||
fetch(request: CFRequest, env: CFPagesEnv, context: EventContext<CFPagesEnv, string, any>): Promise<any>;
|
||||
scheduled(event: any, env: CFPagesEnv, context: ExecutionContext): void;
|
||||
};
|
||||
export default _default;
|
||||
Loading…
Add table
Add a link
Reference in a new issue