@tsed/schema
Version:
JsonSchema module for Ts.ED Framework
25 lines (24 loc) • 641 B
TypeScript
/**
* Declare a new string model with `format: date`.
*
* See @@JsonSchema@@ to discover available methods.
*
* @schemaFunctional
*/
export declare function date(): import("../index.js").JsonSchema<Date>;
/**
* Declare a new string model with `format: datetime`.
*
* See @@JsonSchema@@ to discover available methods.
*
* @schemaFunctional
*/
export declare function datetime(): import("../index.js").JsonSchema<Date>;
/**
* Declare a new string model with `format: time`.
*
* See @@JsonSchema@@ to discover available methods.
*
* @schemaFunctional
*/
export declare function time(): import("../index.js").JsonSchema<Date>;