@cashfarm/tractor
Version:
A Hapi server with superpowers
10 lines (9 loc) • 345 B
TypeScript
import { Guid } from '@cashfarm/lang';
import { Identity } from '@cashfarm/plow';
export declare class CreatedResponse {
message: string;
id: string | number | Guid | Identity<any>;
resourceUrl?: string;
readonly status = 201;
constructor(message: string, id: string | number | Guid | Identity<any>, resourceUrl?: string);
}