Implemented improvements in the data validation methods used in Stripe and Team Account features by refining the schemas. Adapted string types to UUID for accountId attributes in various services and ensured that Stripe keys follow appropriate prefixes. Autocomplete was turned off for destructive actions for enhanced security.
6 lines
117 B
TypeScript
6 lines
117 B
TypeScript
import { z } from 'zod';
|
|
|
|
export const RenewInvitationSchema = z.object({
|
|
invitationId: z.number().positive(),
|
|
});
|