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.
		
		
		
		
		
			
		
			
				
					15 lines
				
				436 B
			
		
		
			
		
	
	
					15 lines
				
				436 B
			| 
								 
											3 years ago
										 
									 | 
							
								"use strict";
							 | 
						||
| 
								 | 
							
								Object.defineProperty(exports, "__esModule", { value: true });
							 | 
						||
| 
								 | 
							
								const properties_1 = require("./properties");
							 | 
						||
| 
								 | 
							
								const def = {
							 | 
						||
| 
								 | 
							
								    keyword: "optionalProperties",
							 | 
						||
| 
								 | 
							
								    schemaType: "object",
							 | 
						||
| 
								 | 
							
								    error: properties_1.error,
							 | 
						||
| 
								 | 
							
								    code(cxt) {
							 | 
						||
| 
								 | 
							
								        if (cxt.parentSchema.properties)
							 | 
						||
| 
								 | 
							
								            return;
							 | 
						||
| 
								 | 
							
								        (0, properties_1.validateProperties)(cxt);
							 | 
						||
| 
								 | 
							
								    },
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								exports.default = def;
							 | 
						||
| 
								 | 
							
								//# sourceMappingURL=optionalProperties.js.map
							 |