fix: move open meta around

This commit is contained in:
David Nguyen
2025-11-06 16:40:55 +11:00
parent 1592fbd369
commit 4e38d861f6
58 changed files with 370 additions and 238 deletions

View File

@ -4,18 +4,11 @@ import { authenticatedProcedure } from '../../trpc';
import {
ZDeleteEnvelopeRecipientRequestSchema,
ZDeleteEnvelopeRecipientResponseSchema,
deleteEnvelopeRecipientMeta,
} from './delete-envelope-recipient.types';
export const deleteEnvelopeRecipientRoute = authenticatedProcedure
.meta({
openapi: {
method: 'POST',
path: '/envelope/recipient/delete',
summary: 'Delete envelope recipient',
description: 'Delete an envelope recipient',
tags: ['Envelope Recipients'],
},
})
.meta(deleteEnvelopeRecipientMeta)
.input(ZDeleteEnvelopeRecipientRequestSchema)
.output(ZDeleteEnvelopeRecipientResponseSchema)
.mutation(async ({ input, ctx }) => {