mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
25ebc3b925
## summary adds a first-class Twilio adapter for SMS and MMS bots, plus low-level voice helpers for custom Twilio voice routes this includes webhook parsing and signature verification, outbound Messages API helpers, phone-number and Messaging Service sending, inbound MMS attachments with authenticated `fetchData`, plain text card fallback rendering, markdown conversion, and runtime-light `api`, `webhook`, `voice`, and `format` subpaths the adapter intentionally avoids the `twilio` npm runtime dependency so apps can use the low-level helpers without pulling in the full SDK
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"globalEnv": [
|
|
"NODE_ENV",
|
|
"SLACK_BOT_TOKEN",
|
|
"SLACK_SIGNING_SECRET",
|
|
"TEAMS_APP_ID",
|
|
"TEAMS_APP_PASSWORD",
|
|
"TEAMS_APP_TENANT_ID",
|
|
"GOOGLE_CHAT_CREDENTIALS",
|
|
"GOOGLE_CHAT_PUBSUB_TOPIC",
|
|
"GOOGLE_CHAT_IMPERSONATE_USER",
|
|
"FACEBOOK_APP_SECRET",
|
|
"FACEBOOK_PAGE_ACCESS_TOKEN",
|
|
"FACEBOOK_VERIFY_TOKEN",
|
|
"WHATSAPP_ACCESS_TOKEN",
|
|
"WHATSAPP_APP_SECRET",
|
|
"WHATSAPP_PHONE_NUMBER_ID",
|
|
"WHATSAPP_VERIFY_TOKEN",
|
|
"TWILIO_ACCOUNT_SID",
|
|
"TWILIO_AUTH_TOKEN",
|
|
"TWILIO_PHONE_NUMBER",
|
|
"TWILIO_MESSAGING_SERVICE_SID",
|
|
"BOT_USERNAME",
|
|
"REDIS_URL",
|
|
"EDGE_CONFIG"
|
|
],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**", "docs/**", ".next/**", "!.next/cache/**"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"test": {
|
|
"dependsOn": ["build"],
|
|
"outputs": []
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": []
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|