Add gdrive context source adapter (#209)

* Add gdrive context source adapter

* feat(gdrive): normalize internal doc links, tabs, and header/footer structure

* fix(gdrive): reject generic source credential flags

* test(gdrive): include local adapter in expected list

* fix(gdrive): remove dead exports and silence false positive secret checks

* fix(setup): restore notion source auth flow
This commit is contained in:
ARYAN 2026-06-27 14:41:32 -07:00 committed by GitHub
parent 967a413a06
commit 5645dc4d28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 2546 additions and 74 deletions

View file

@ -168,6 +168,18 @@ const notionConnectionSchema = z
})
.describe('Notion context-source connection.');
const gdriveConnectionSchema = z
.looseObject({
driver: z.literal('gdrive'),
service_account_key_ref: z
.string()
.min(1)
.describe('Reference to a Google service-account JSON key file. Must use file:/absolute/path/to/key.json.'),
folder_id: z.string().min(1).describe('Google Drive folder ID to ingest.'),
recursive: z.boolean().optional().describe('When true, recursively traverse subfolders beneath folder_id.'),
})
.describe('Google Drive Google Docs context-source connection.');
const dbtConnectionSchema = z
.looseObject({
driver: z.literal('dbt'),
@ -202,6 +214,7 @@ export const connectionConfigSchema = z.discriminatedUnion('driver', [
lookerConnectionSchema,
lookmlConnectionSchema,
notionConnectionSchema,
gdriveConnectionSchema,
dbtConnectionSchema,
metricflowConnectionSchema,
]);