feat(api): add candidate assessment attempt contract
This commit is contained in:
1 parent
6c86c4e559
commit
565ef8d4f5
100 files changed
+30314
-74
No files matched your search
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* 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>;
|
||||
Reference in new issue
Block a user