Mirror the Composio project's auth configs as the connector catalog with logo.dev icons
This commit is contained in:
1 parent
dde449d226
commit
00e05054ca
18 files changed
+269
-175
No files matched your search
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Auth configs are configured in the Composio dashboard and mirrored through
|
||||
* the API at runtime — the app no longer creates them, so the create-once
|
||||
* auth_config:* cache rows in composio_settings are never read again and are
|
||||
* purged. entity_id rows stay: connected-account calls still use them.
|
||||
*/
|
||||
export const authConfigPurgeSchema = `
|
||||
delete from composio_settings where key like 'auth_config:%';
|
||||
`;
|
||||
@@ -45,6 +45,7 @@ import { composioIntegrationSchema } from "./migrations/043-composio-integration
|
||||
import { mentionWakeStateSchema } from "./migrations/044-mention-wake-state";
|
||||
import { connectorGrantsSchema } from "./migrations/045-connector-grants";
|
||||
import { composioKeyPurgeSchema } from "./migrations/046-composio-key-purge";
|
||||
import { authConfigPurgeSchema } from "./migrations/047-auth-config-purge";
|
||||
|
||||
interface Migration {
|
||||
version: number;
|
||||
@@ -99,6 +100,7 @@ const MIGRATIONS: Migration[] = [
|
||||
{ version: 44, name: "mention_wake_state", sql: mentionWakeStateSchema },
|
||||
{ version: 45, name: "connector_grants", sql: connectorGrantsSchema },
|
||||
{ version: 46, name: "composio_key_purge", sql: composioKeyPurgeSchema },
|
||||
{ version: 47, name: "auth_config_purge", sql: authConfigPurgeSchema },
|
||||
];
|
||||
|
||||
const SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1].version;
|
||||
|
||||
Reference in new issue
Block a user