UNPKG

@eluvio/elv-utils-js

Version:

Utilities for the Eluvio Content Fabric

17 lines (14 loc) 534 B
const defSealedObjModel = require('@eluvio/elv-js-helpers/ModelFactory/defSealedObjModel') const PositiveIntModel = require('@eluvio/elv-js-helpers/Model/PositiveIntModel') const FabricFilePathModel = require('./FabricFilePathModel') const HtmlWatermarkModel = defSealedObjModel( 'HtmlWatermark', { align_h: ['left', 'center', 'right'], align_v: ['top', 'middle', 'bottom'], html: FabricFilePathModel, render_height: PositiveIntModel, render_width: PositiveIntModel } ) module.exports = HtmlWatermarkModel