Files
lincodex/frontend/src/shared/api/schemas/need/skillTaxonomyCode.zod.ts
T

18 lines
698 B
TypeScript

/**
* Generated by orval 🍺
* Do not edit manually.
* Lincodex API
* OpenAPI spec version: 0.1.0
*/
import * as zod from 'zod';
export const SkillTaxonomyCodeMax = 64;
export const SkillTaxonomyCodeRegExp = new RegExp('^[a-z0-9][a-z0-9_.+#-]*$');
export const SkillTaxonomyCode = zod.string().min(1).max(SkillTaxonomyCodeMax).regex(SkillTaxonomyCodeRegExp).describe('Code of a skill in the platform skill taxonomy, for example `postgresql`. The server assigns it from the taxonomy; clients never send it and never derive it from the name.')
export type SkillTaxonomyCode = zod.input<typeof SkillTaxonomyCode>;
export type SkillTaxonomyCodeOutput = zod.output<typeof SkillTaxonomyCode>;