unconventional 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,5 +7,5 @@ interface CFFunctionDefinition {
|
|
|
7
7
|
}
|
|
8
8
|
export type CFFunctionHandler = (config: CFFunctionDefinition) => PagesFunction<{}>;
|
|
9
9
|
/** A Cloudflare Pages function handler configured with routes, a database connection, middleware, cors, and error handling OOTB. */
|
|
10
|
-
declare const functionHandler: CFFunctionHandler;
|
|
11
|
-
export
|
|
10
|
+
export declare const functionHandler: CFFunctionHandler;
|
|
11
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.functionHandler = void 0;
|
|
3
4
|
const server_1 = require("../server");
|
|
4
5
|
/** A Cloudflare Pages function handler configured with routes, a database connection, middleware, cors, and error handling OOTB. */
|
|
5
6
|
const functionHandler = (config) => {
|
|
@@ -14,4 +15,4 @@ const functionHandler = (config) => {
|
|
|
14
15
|
return await handler(eventContext);
|
|
15
16
|
};
|
|
16
17
|
};
|
|
17
|
-
exports.
|
|
18
|
+
exports.functionHandler = functionHandler;
|