Files
lincodex/frontend/src/shared/api/schemas/identity/consentTextVersion.zod.ts
T

18 lines
723 B
TypeScript

/**
* Generated by orval 🍺
* Do not edit manually.
* Lincodex API
* OpenAPI spec version: 0.1.0
*/
import * as zod from 'zod';
export const ConsentTextVersionMax = 64;
export const ConsentTextVersionRegExp = new RegExp('^[A-Za-z0-9._-]+$');
export const ConsentTextVersion = zod.string().min(1).max(ConsentTextVersionMax).regex(ConsentTextVersionRegExp).describe('Identifier of the published consent text that the user saw and accepted. The server stores the acceptance with this version and the hash of its text; the client never sends or receives the hash.')
export type ConsentTextVersion = zod.input<typeof ConsentTextVersion>;
export type ConsentTextVersionOutput = zod.output<typeof ConsentTextVersion>;