source: trip-planner-front/node_modules/webpack/schemas/plugins/ProgressPlugin.check.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[6a3a178]1/*
2 * This file was automatically generated.
3 * DO NOT MODIFY BY HAND.
4 * Run `yarn special-lint-fix` to update
5 */
6"use strict";module.exports=t,module.exports.default=t;const e={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},n=Object.prototype.hasOwnProperty;function r(t,{instancePath:o="",parentData:s,parentDataProperty:a,rootData:l=t}={}){let i=null,p=0;if(0===p){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const o=p;for(const o in t)if(!n.call(e,o))return r.errors=[{params:{additionalProperty:o}}],!1;if(o===p){if(void 0!==t.activeModules){const e=p;if("boolean"!=typeof t.activeModules)return r.errors=[{params:{type:"boolean"}}],!1;var u=e===p}else u=!0;if(u){if(void 0!==t.dependencies){const e=p;if("boolean"!=typeof t.dependencies)return r.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.dependenciesCount){let e=t.dependenciesCount;const n=p;if("number"!=typeof e||!isFinite(e))return r.errors=[{params:{type:"number"}}],!1;u=n===p}else u=!0;if(u){if(void 0!==t.entries){const e=p;if("boolean"!=typeof t.entries)return r.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.handler){const e=p,n=p;let o=!1,s=null;const a=p;if(!(t.handler instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),p++}if(a===p&&(o=!0,s=0),!o){const e={params:{passingSchemas:s}};return null===i?i=[e]:i.push(e),p++,r.errors=i,!1}p=n,null!==i&&(n?i.length=n:i=null),u=e===p}else u=!0;if(u){if(void 0!==t.modules){const e=p;if("boolean"!=typeof t.modules)return r.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.modulesCount){let e=t.modulesCount;const n=p;if("number"!=typeof e||!isFinite(e))return r.errors=[{params:{type:"number"}}],!1;u=n===p}else u=!0;if(u){if(void 0!==t.percentBy){let e=t.percentBy;const n=p;if("entries"!==e&&"modules"!==e&&"dependencies"!==e&&null!==e)return r.errors=[{params:{}}],!1;u=n===p}else u=!0;if(u)if(void 0!==t.profile){let e=t.profile;const n=p;if(!0!==e&&!1!==e&&null!==e)return r.errors=[{params:{}}],!1;u=n===p}else u=!0}}}}}}}}}}return r.errors=i,0===p}function t(e,{instancePath:n="",parentData:o,parentDataProperty:s,rootData:a=e}={}){let l=null,i=0;const p=i;let u=!1;const f=i;r(e,{instancePath:n,parentData:o,parentDataProperty:s,rootData:a})||(l=null===l?r.errors:l.concat(r.errors),i=l.length);var c=f===i;if(u=u||c,!u){const n=i;if(!(e instanceof Function)){const e={params:{}};null===l?l=[e]:l.push(e),i++}c=n===i,u=u||c}if(!u){const e={params:{}};return null===l?l=[e]:l.push(e),i++,t.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),t.errors=l,0===i}
Note: See TracBrowser for help on using the repository browser.