mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-18 22:29:15 +00:00
18 lines
584 B
TypeScript
18 lines
584 B
TypeScript
import {
|
|
CreateHumanitecSyncSchema,
|
|
HumanitecSyncSchema,
|
|
UpdateHumanitecSyncSchema
|
|
} from "@app/services/secret-sync/humanitec";
|
|
import { SecretSync } from "@app/services/secret-sync/secret-sync-enums";
|
|
|
|
import { registerSyncSecretsEndpoints } from "./secret-sync-endpoints";
|
|
|
|
export const registerHumanitecSyncRouter = async (server: FastifyZodProvider) =>
|
|
registerSyncSecretsEndpoints({
|
|
destination: SecretSync.Humanitec,
|
|
server,
|
|
responseSchema: HumanitecSyncSchema,
|
|
createSchema: CreateHumanitecSyncSchema,
|
|
updateSchema: UpdateHumanitecSyncSchema
|
|
});
|