We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af4c0e2 commit 78ad63cCopy full SHA for 78ad63c
src/components/Apiker/Apiker.ts
@@ -49,7 +49,8 @@ export class Apiker {
49
authRoutes = false,
50
name = "Apiker",
51
email,
52
- debug
+ debug,
53
+ scheduled,
54
} = options;
55
56
/**
@@ -100,7 +101,8 @@ export class Apiker {
100
101
*/
102
const workerExports = {
103
handlers: {
- fetch: handleEntryRequest
104
+ fetch: handleEntryRequest,
105
106
}
107
};
108
src/components/Apiker/interfaces.ts
@@ -24,6 +24,7 @@ export interface Options {
24
adminPanel?: boolean;
25
name?: string;
26
email?: EmailOptions;
27
+ scheduled?: (event: any, env: any, ctx: any) => Promise<void>;
28
29
30
export type Timings = { [timingName: string]: number };
0 commit comments