Documentation Index
Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
Use this file to discover all available pages before exploring further.
GDriveResource exposes a user’s Drive (My Drive plus shared drives the user can see) as a tree.
Setup steps for OAuth credentials live at Google Workspace Credentials.
Node
Browser
examples/typescript/browser/src/gdrive_pkce.ts show a full PKCE flow that keeps the secret out of the page.
Config
| Field | Default | Notes |
|---|---|---|
clientId | required | Google OAuth client ID. |
clientSecret | required | Google OAuth client secret. Redacted in snapshots. |
refreshToken | required | User’s refresh token. Redacted in snapshots. |
refreshFn | built-in | Optional override for the access-token refresh callback. |
Mount mode
read, partial write (uploads under /drive/owned/).
For the mounted layout (owned/, shared/, mime-aware listings) see the Python Drive docs.