@sprucelabs/schema
Version:
Static and dynamic binding plus runtime validation and transformation to ensure your app is sound. 🤓
14 lines (13 loc) • 647 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TemplateRenderAs = void 0;
/** How are we being rendered in the template */
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 || (exports.TemplateRenderAs = TemplateRenderAs = {}));