Skip to content

Commit b173d2a

Browse files
benfrank241DK09876
authored andcommitted
remove unused code
1 parent 04e319a commit b173d2a

File tree

7 files changed

+1
-168
lines changed

7 files changed

+1
-168
lines changed

src/dropBoxOAuth/.DS_Store

8 KB
Binary file not shown.

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ export type {
4646
// Value exports
4747
export {
4848
NotionOAuth,
49-
NotionSelection,
5049
NotionConnectorType,
5150
createVectorizeNotionConnector,
5251
createWhiteLabelNotionConnector,

src/notionOAuth/core/apiFunctions.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,17 @@ import { NotionConnectorType } from "../types";
2222
export async function createVectorizeNotionConnector(
2323
config: VectorizeAPIConfig,
2424
connectorName: string,
25-
platformUrl: string = "https://api-dev.vectorize.io/v1",
25+
platformUrl: string = "https://api.vectorize.io/v1",
2626
): Promise<any> {
2727
try {
28-
console.log(`[Vectorize] Creating Notion connector: ${connectorName}`);
29-
console.log(`[Vectorize] Using platform URL: ${platformUrl}`);
30-
console.log(`[Vectorize] Config:`, JSON.stringify(config, null, 2));
3128

3229
const connector: ConnectorConfig = {
3330
name: connectorName,
3431
type: NotionConnectorType.VECTORIZE
3532
};
36-
37-
console.log(`[Vectorize] Connector configuration prepared:`, JSON.stringify(connector, null, 2));
3833

3934
try {
4035
const result = await createSourceConnector(config, connector, platformUrl);
41-
console.log(`[Vectorize] Connector created successfully: ${connectorName}`);
4236
return result;
4337
} catch (error: unknown) {
4438
// Format the error data properly to avoid [object Object]

src/notionOAuth/core/oauth.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// notionOAuth/core/OAuth.ts
2-
31
import { BaseOAuth } from '../../baseOAuth/core/oauth';
42
import { OAuthConfig, OAuthError, OAuthResponse } from '../../baseOAuth/types';
53
import { NotionOAuthConfig } from '../types';

src/notionOAuth/core/selection.ts

Lines changed: 0 additions & 155 deletions
This file was deleted.

src/notionOAuth/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export * from './types';
66
// Export Dropbox specific functions
77
export * from './core/apiFunctions';
88
export * from './core/oauth';
9-
export * from './core/selection';
109
export * from './utils/token';
1110

1211
// Re-export base types and functions that are useful for consumers

src/notionOAuth/types/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// notionOAuth/types/index.ts
2-
31
import {
42
OAuthConfig,
53
OAuthError,

0 commit comments

Comments
 (0)