tahamajs's picture
download
raw
500 Bytes
import{toNestErrors as r,validateFieldsNatively as e}from"@hookform/resolvers";import{validate as o}from"superstruct";var t=function(t,s,u){return void 0===u&&(u={}),function(a,i,n){var f,m=o(a,t,s);return m[0]?{values:{},errors:r((f=m[0],f.failures().reduce(function(r,e){return(r[e.path.join(".")]={message:e.message,type:e.type})&&r},{})),n)}:(n.shouldUseNativeValidation&&e({},n),{values:u.raw?a:m[1],errors:{}})}};export{t as superstructResolver};
//# sourceMappingURL=superstruct.module.js.map

Xet Storage Details

Size:
500 Bytes
·
Xet hash:
e46be48b0d9f4d8db1d3c3e45f42f50aa91df9f6c0831b0b5d4d0c38775b7e6c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.