21 lines
666 B
TypeScript
21 lines
666 B
TypeScript
/**
|
|
* Generated by orval 🍺
|
|
* Do not edit manually.
|
|
* Lincodex API
|
|
* OpenAPI spec version: 0.1.0
|
|
*/
|
|
import * as zod from 'zod';
|
|
|
|
export const practiceExampleInputMax = 10000;
|
|
|
|
export const practiceExampleExpectedOutputMax = 10000;
|
|
|
|
|
|
export const PracticeExample = zod.object({
|
|
"input": zod.string().max(practiceExampleInputMax),
|
|
"expected_output": zod.string().max(practiceExampleExpectedOutputMax)
|
|
}).describe('Public example of the practice task: an input and its expected output. Hidden checks are never listed.')
|
|
|
|
export type PracticeExample = zod.input<typeof PracticeExample>;
|
|
export type PracticeExampleOutput = zod.output<typeof PracticeExample>;
|