Skip to content

Commit

Permalink
Removed all occurrences of dustTableId (#9892)
Browse files Browse the repository at this point in the history
* Removed all occurrences of dustTableId

* No unused import
  • Loading branch information
overmode authored Jan 10, 2025
1 parent 4f5d5ed commit 2747b02
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions connectors/src/connectors/google_drive/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
Err,
getGoogleIdsFromSheetContentNodeInternalId,
getGoogleSheetContentNodeInternalId,
getGoogleSheetTableId,
isGoogleSheetContentNodeInternalId,
Ok,
removeNulls,
Expand Down Expand Up @@ -358,10 +357,6 @@ export class GoogleDriveConnectorManager extends BaseConnectorManager<null> {
sourceUrl: null,
expandable: false,
permission: "read",
dustTableId: getGoogleSheetTableId(
s.driveFileId,
s.driveSheetId
),
};
})
);
Expand Down
3 changes: 0 additions & 3 deletions connectors/src/connectors/notion/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { ContentNode, ContentNodesViewType, Result } from "@dust-tt/types";
import {
Err,
getNotionDatabaseTableId,
getOAuthConnectionAccessToken,
NOTION_MIME_TYPES,
Ok,
Expand Down Expand Up @@ -566,7 +565,6 @@ export class NotionConnectorManager extends BaseConnectorManager<null> {
permission: "read",
dustDocumentId: nodeIdFromNotionId(page.notionPageId),
lastUpdatedAt: page.lastUpsertedTs?.getTime() || null,
dustTableId: null,
}))
);

Expand All @@ -584,7 +582,6 @@ export class NotionConnectorManager extends BaseConnectorManager<null> {
permission: "read",
dustDocumentId: nodeIdFromNotionId(`database-${db.notionDatabaseId}`),
lastUpdatedAt: null,
dustTableId: getNotionDatabaseTableId(db.notionDatabaseId),
}));

const contentNodes = pageNodes.concat(dbNodes);
Expand Down
2 changes: 0 additions & 2 deletions connectors/src/connectors/slack/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ export class SlackConnectorManager extends BaseConnectorManager<SlackConfigurati
permission: ch.permission,
dustDocumentId: null,
lastUpdatedAt: null,
dustTableId: null,
providerVisibility: ch.private ? "private" : "public",
}));

Expand Down Expand Up @@ -631,7 +630,6 @@ export class SlackConnectorManager extends BaseConnectorManager<SlackConfigurati
permission: ch.permission,
dustDocumentId: null,
lastUpdatedAt: null,
dustTableId: null,
providerVisibility: ch.private ? "private" : "public",
}));

Expand Down

0 comments on commit 2747b02

Please sign in to comment.