We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62f3e68 commit 5fef757Copy full SHA for 5fef757
apps/auto-run-ac-api/src/api/index.ts
@@ -0,0 +1,2 @@
1
+export { defaultTriggersApi } from './defaultTriggers';
2
+export { triggersApi } from './triggersApi';
apps/auto-run-ac-api/src/worker.ts
@@ -1,10 +1,7 @@
-import type { SharedEnv } from 'cloudflare-env';
import { OpenAPIHono } from '@hono/zod-openapi';
3
-import type { Env } from './model';
4
-import { defaultTriggersApi } from './api/defaultTriggers';
5
-import { triggersApi } from './api/triggersApi';
+import { defaultTriggersApi, triggersApi } from './api';
6
7
-const app = new OpenAPIHono<{ Bindings: SharedEnv & Env }>();
+const app = new OpenAPIHono();
8
9
app.doc('/doc', {
10
openapi: '3.1.0',
0 commit comments