Wire connector-definitions/ subdir with index barrel (N9)

32dfa89 renamed the three catalog data files into src/main/connector-definitions/ but left src/main/connector-definitions.ts pointing at the old connector-definitions-data-* paths, which no longer resolve. Fix the barrel to import from ./connector-definitions/index and correct each moved file's ConnectorDefinition import to walk up one level (../connector-definitions).
This commit is contained in:
ZacharyZhang-NY committed 2026-04-20 12:26:36 -04:00
1 parent 32dfa89b7e
commit 1c7bc71931
5 files changed
+18 -9

No files matched your search

+4 -6
View File
@@ -18,15 +18,13 @@
* Entries live in three companion files to keep every module under the
* 400-line cap:
*
* - `connector-definitions-data-oauth.ts` — 5 OAuth providers
* - `connector-definitions-data-apikey.ts` — 18 API-key providers
* - `connector-definitions-data-cloud.ts` — 3 Cloud providers
* - `connector-definitions/oauth.ts` — 5 OAuth providers
* - `connector-definitions/apikey.ts` — 18 API-key providers
* - `connector-definitions/cloud.ts` — 3 Cloud providers
*/
import type { ConnectorId } from "@shared/types";
import { OAUTH_CONNECTORS } from "./connector-definitions-data-oauth";
import { API_KEY_CONNECTORS } from "./connector-definitions-data-apikey";
import { CLOUD_CONNECTORS } from "./connector-definitions-data-cloud";
import { OAUTH_CONNECTORS, API_KEY_CONNECTORS, CLOUD_CONNECTORS } from "./connector-definitions/index";
/**
* OAuth provider id recognised by the AgentCompany credential layer. These