Interface IEndpoint

IEndpoint interface

interface IEndpoint {
    handler: (data: any) => Promise<any>;
    validator: (input: any) => Promise<{ message: string; status: Status }>;
}

Properties

Properties

handler: (data: any) => Promise<any>
validator: (input: any) => Promise<{ message: string; status: Status }>