@sprucelabs/schema
Version:
Static and dynamic binding plus runtime validation and transformation to ensure your app is sound. 🤓
11 lines (10 loc) • 515 B
JavaScript
/** How are we being rendered in the template */
export var TemplateRenderAs;
(function (TemplateRenderAs) {
/** We are rendering type information (the value interface) */
TemplateRenderAs["Type"] = "type";
/** We are rendering as a value (only called if a value is set in the schema definition) */
TemplateRenderAs["Value"] = "value";
/** We are rendering as the definition's type (ISchema) */
TemplateRenderAs["SchemaType"] = "schemaType";
})(TemplateRenderAs || (TemplateRenderAs = {}));