mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 15:41:27 +00:00
19 lines
636 B
TypeScript
19 lines
636 B
TypeScript
import { AppConnection } from "@app/services/app-connection/app-connection-enums";
|
|
import {
|
|
CreateMySqlConnectionSchema,
|
|
SanitizedMySqlConnectionSchema,
|
|
UpdateMySqlConnectionSchema
|
|
} from "@app/services/app-connection/mysql";
|
|
|
|
import { registerAppConnectionEndpoints } from "./app-connection-endpoints";
|
|
|
|
export const registerMySqlConnectionRouter = async (server: FastifyZodProvider) => {
|
|
registerAppConnectionEndpoints({
|
|
app: AppConnection.MySql,
|
|
server,
|
|
sanitizedResponseSchema: SanitizedMySqlConnectionSchema,
|
|
createSchema: CreateMySqlConnectionSchema,
|
|
updateSchema: UpdateMySqlConnectionSchema
|
|
});
|
|
};
|