Skip to content

Commit 261e1bc

Browse files
Fix remaining outdated function references in types.md
- Update createGDriveSourceConnector to createVectorizeGDriveConnector - Remove obsolete whiteLabel parameter from function signature examples - Ensure all documentation examples use current API signatures Co-Authored-By: dikshant.pradhan@vectorize.io <dikshant.pradhan@vectorize.io>
1 parent 7d5a41c commit 261e1bc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/types.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,8 @@ const config: VectorizeAPIConfig = {
401401
};
402402

403403
// Use the config with API functions
404-
const connectorId = await createGDriveSourceConnector(
404+
const connectorId = await createVectorizeGDriveConnector(
405405
config,
406-
false,
407406
"My Google Drive Connector"
408407
);
409408
```
@@ -473,10 +472,9 @@ const tokens = await refreshDropboxToken(
473472
### API Functions
474473

475474
```typescript
476-
// Create Google Drive connector
477-
const connectorId = await createGDriveSourceConnector(
475+
// Create Google Drive connector (Vectorize-managed)
476+
const connectorId = await createVectorizeGDriveConnector(
478477
config: VectorizeAPIConfig,
479-
whiteLabel: boolean,
480478
connectorName: string,
481479
platformUrl?: string,
482480
clientId?: string,

0 commit comments

Comments
 (0)