Type alias SingletonApiDefinition<Type>

SingletonApiDefinition<Type>: {
    response: ZodObject<any>;
} & (Type extends "get" | "delete"
    ? {
        body?: never;
    }
    : {
        body: ZodType;
    })

Type Parameters

  • Type extends SingletonType

Type declaration

Generated using TypeDoc