docs(connectors): document getWorkspaceConnection#238
Conversation
Document the getWorkspaceConnection method for retrieving a shared OAuth token by workspace-connector ID, used by connectors backed by your own OAuth app registered in Workspace Settings such as Databricks and Snowflake. - Rewrite the method JSDoc: connectionConfig explanation, cross-links to getConnection and getCurrentAppUserConnection, and a Snowflake example. - Explain where the connectorId comes from (Workspace Settings). - Split the "Shared connectors" intro into platform vs workspace- registered connectors. - Point getConnection at getWorkspaceConnection for workspace-registered connectors. - Note the retrieval methods in the Available connectors table. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Claude finished @wixysam's task —— View job PR Review:
|
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/sdk@0.8.40-pr.238.591b34cPrefer not to change any import paths? Install using npm alias so your code still imports npm i "@base44/sdk@npm:@base44-preview/sdk@0.8.40-pr.238.591b34c"Or add it to your {
"dependencies": {
"@base44/sdk": "npm:@base44-preview/sdk@0.8.40-pr.238.591b34c"
}
}
Preview published to npm registry — try new features instantly! |
What
Documents the
getWorkspaceConnectionmethod in the connectors module. It retrieves a shared OAuth token by workspace-connector ID, which is how connectors backed by your own OAuth app registered in Workspace Settings (such as Databricks and Snowflake) are accessed.Changes (JSDoc in
src/modules/connectors.types.ts)getWorkspaceConnectionJSDoc to match its siblings:connectionConfigexplanation, cross-links togetConnectionandgetCurrentAppUserConnection, and a Snowflake example.connectorIdcomes from (the connector's settings page in Workspace Settings).getConnection) and workspace-registered connectors (connector ID →getWorkspaceConnection).getConnectionpointing developers with a workspace-registered connector togetWorkspaceConnection.Verification
Ran
npm run create-docsand previewed the generated page inmintlify dev; all cross-links resolve and the example renders as a titled code tab. Docs PR: base44-dev/mintlify-docsdocs-workspace-connection.🤖 Generated with Claude Code