import { object, string } from 'yup'; import type { SchemaOf } from 'yup'; export interface GetSupplierPathParamsSchema { id: string; } export const getSupplierPathParamsSchema: SchemaOf = object().shape({ id: string().required(), });