Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

672 B
Raw Blame
import {
  CreateAnthropicConnectionSchema,
  SanitizedAnthropicConnectionSchema,
  UpdateAnthropicConnectionSchema
} from "@app/services/app-connection/anthropic";
import { AppConnection } from "@app/services/app-connection/app-connection-enums";

import { registerAppConnectionEndpoints } from "./app-connection-endpoints";

export const registerAnthropicConnectionRouter = async (server: FastifyZodProvider) => {
  registerAppConnectionEndpoints({
    app: AppConnection.Anthropic,
    server,
    sanitizedResponseSchema: SanitizedAnthropicConnectionSchema,
    createSchema: CreateAnthropicConnectionSchema,
    updateSchema: UpdateAnthropicConnectionSchema
  });
};