@sprucelabs/schema
Version:
Static and dynamic binding plus runtime validation and transformation to ensure your app is sound. 🤓
14 lines (13 loc) • 641 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 literal */
TemplateRenderAs["Type"] = "type";
/** We are rendering as a value (only called if a value is set in the schema definition, like defaultValue) */
TemplateRenderAs["Value"] = "value";
/** We are rendering as the schema's field type (Schema) */
TemplateRenderAs["SchemaType"] = "schemaType";
})(TemplateRenderAs || (exports.TemplateRenderAs = TemplateRenderAs = {}));