mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-29 10:02:04 +00:00
refactor: add provider barrels and webhook grouping
This commit is contained in:
7
src/webhook/server.ts
Normal file
7
src/webhook/server.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { RuntimeEnv } from "../runtime.js";
|
||||
import { startWebhook } from "../twilio/webhook.js";
|
||||
|
||||
// Thin wrapper to keep webhook server co-located with other webhook helpers.
|
||||
export { startWebhook };
|
||||
|
||||
export type WebhookServer = Awaited<ReturnType<typeof startWebhook>>;
|
||||
6
src/webhook/update.ts
Normal file
6
src/webhook/update.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export {
|
||||
updateWebhook,
|
||||
setMessagingServiceWebhook,
|
||||
findIncomingNumberSid,
|
||||
findMessagingServiceSid,
|
||||
} from "../twilio/update-webhook.js";
|
||||
Reference in New Issue
Block a user