UNPKG

directory-schema-validator

Version:

Validate file system structure with an extension of JSON schema.

25 lines (24 loc) 1.23 kB
"use strict"; /** * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.parse = exports.shorthandToJSONSchema = exports.Validator = void 0; var validate_1 = require("./validate"); Object.defineProperty(exports, "Validator", { enumerable: true, get: function () { return validate_1.Validator; } }); var shorthand_1 = require("./shorthand"); Object.defineProperty(exports, "shorthandToJSONSchema", { enumerable: true, get: function () { return shorthand_1.shorthandToJSONSchema; } }); var parse_1 = require("./parse"); Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return parse_1.parse; } });