Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
docs(shared-connections): clarify camelCase/snake_case in prose
Two prose tweaks so TypeScript readers don't have to mentally translate from Python-style field names: - "Creating a SHARED connection" intro now mentions both (`accountType` in TypeScript, `account_type` in Python). - "Common ACL patterns" caption notes the table uses camelCase and tells Python callers what to translate to. Pure prose change — no code samples touched. Build clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
venkat82 committed
May 13, 2026 at 20:52 UTC
3e581d5959266b7c1628427a1360d25b4ba71967
1 file changed
+3
-3
docs/content/docs/auth-configuration/shared-connections.mdx
+3
-3
@@ -36,7 +36,7 @@ SHARED connections are never used implicitly. A session belonging to a non-creat
36
37
## Creating a SHARED connection
38
39
-Pass an `experimental` block to `link()` containing `account_type: "SHARED"` (and optionally an initial ACL). Omit the ACL block to keep the default deny-by-default state (only the creator can use it until you grant access).
39
+Pass an `experimental` block to `link()` (`accountType` in TypeScript, `account_type` in Python) set to `"SHARED"`, and optionally an initial ACL. Omit the ACL block to keep the default deny-by-default state (only the creator can use it until you grant access).
40
41
<Tabs groupId="language" items={['Python', 'TypeScript']} persist>
42
<Tab value="Python">
@@ -114,9 +114,9 @@ The creator can always use their own connection — the ACL only governs other `
114
115
### Common ACL patterns
116
117
-The table below shows the inner shape of `acl_config_for_shared` — wrap it inside the `experimental` block at the call site.
117
+The table below shows the inner shape of the ACL block (`aclConfigForShared` in TypeScript, `acl_config_for_shared` in Python) — wrap it inside the `experimental` block at the call site. Field names are camelCase in the TypeScript samples; Python callers translate to snake_case (`allow_all_users`, `allowed_user_ids`, `not_allowed_user_ids`).
118
119
-| Goal | `acl_config_for_shared` |
119
+| Goal | ACL block |
120
|---|---|
121
| **Only the creator** (default) | `{}` (or omit the block) |
122
| **Allow every `userId`** | `{ allowAllUsers: true }` |