You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 lines
507 B

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.webPath = webPath;
const MaxLengthFromMinLength_1 = require("./_internals/helpers/MaxLengthFromMinLength");
const UriPathArbitraryBuilder_1 = require("./_internals/builders/UriPathArbitraryBuilder");
function webPath(constraints) {
const c = constraints || {};
const resolvedSize = (0, MaxLengthFromMinLength_1.resolveSize)(c.size);
return (0, UriPathArbitraryBuilder_1.buildUriPathArbitrary)(resolvedSize);
}