@aws-amplify/graphql-api-construct 1.18.3-ai-next.0 → 1.18.3
Sign up to get free protection for your applications and to get access to all the features.
- package/.jsii +456 -59
- package/API.md +17 -0
- package/CHANGELOG.md +1 -1
- package/jest.config.js +12 -0
- package/lib/amplify-dynamodb-table-wrapper.js +1 -1
- package/lib/amplify-graphql-api.js +4 -3
- package/lib/amplify-graphql-definition.js +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +5 -2
- package/lib/log-config-types.d.ts +78 -0
- package/lib/log-config-types.js +8 -0
- package/lib/sql-model-datasource-strategy.js +1 -1
- package/lib/types.d.ts +5 -0
- package/lib/types.js +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +15 -54
- package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +2 -2
- package/node_modules/@aws-amplify/graphql-conversation-transformer/jest.config.js +10 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +12 -48
- package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +9 -49
- package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-directives/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-directives/jest.config.js +6 -0
- package/node_modules/@aws-amplify/graphql-directives/package.json +2 -42
- package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/package.json +9 -48
- package/node_modules/@aws-amplify/graphql-generation-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/jest.config.js +9 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/package.json +9 -44
- package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/package.json +9 -48
- package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/package.json +10 -46
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +13 -49
- package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/package.json +9 -49
- package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/jest.config.js +5 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +9 -48
- package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +11 -47
- package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +10 -52
- package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-sql-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-sql-transformer/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +10 -49
- package/node_modules/@aws-amplify/graphql-transformer/API.md +2 -0
- package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-transformer/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.d.ts +2 -1
- package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js +2 -1
- package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer/package.json +20 -61
- package/node_modules/@aws-amplify/graphql-transformer/src/graphql-transformer.ts +4 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/API.md +3 -3
- package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/jest.config.js +12 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.d.ts +4 -3
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.js +27 -7
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.d.ts +4 -3
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.js +5 -3
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.d.ts +3 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.js +2 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/package.json +8 -46
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +12 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/index.d.ts +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/logConfig.d.ts +8 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/logConfig.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/logConfig.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/logConfig.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +3 -35
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/index.ts +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/logConfig.ts +8 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@aws-cdk/assert/BUILD.md +15 -0
- package/node_modules/@aws-cdk/assert/LICENSE +201 -0
- package/node_modules/@aws-cdk/assert/NOTICE +2 -0
- package/node_modules/@aws-cdk/assert/README.md +228 -0
- package/node_modules/@aws-cdk/assert/clone.sh +29 -0
- package/node_modules/@aws-cdk/assert/jest.d.ts +14 -0
- package/node_modules/@aws-cdk/assert/jest.js +57 -0
- package/node_modules/@aws-cdk/assert/lib/assertion.d.ts +17 -0
- package/node_modules/@aws-cdk/assert/lib/assertion.js +31 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/and-assertion.d.ts +10 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/and-assertion.js +21 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/count-resources.d.ts +10 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/count-resources.js +54 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/exist.d.ts +3 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/exist.js +18 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-output.d.ts +29 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-output.js +77 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-resource-matchers.d.ts +123 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-resource-matchers.js +404 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-resource.d.ts +69 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-resource.js +130 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-type.d.ts +3 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-type.js +22 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/match-template.d.ts +19 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/match-template.js +98 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/negated-assertion.d.ts +8 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/negated-assertion.js +18 -0
- package/node_modules/@aws-cdk/assert/lib/canonicalize-assets.d.ts +11 -0
- package/node_modules/@aws-cdk/assert/lib/canonicalize-assets.js +70 -0
- package/node_modules/@aws-cdk/assert/lib/expect.d.ts +4 -0
- package/node_modules/@aws-cdk/assert/lib/expect.js +16 -0
- package/node_modules/@aws-cdk/assert/lib/index.d.ts +14 -0
- package/node_modules/@aws-cdk/assert/lib/index.js +27 -0
- package/node_modules/@aws-cdk/assert/lib/inspector.d.ts +31 -0
- package/node_modules/@aws-cdk/assert/lib/inspector.js +69 -0
- package/node_modules/@aws-cdk/assert/lib/synth-utils.d.ts +30 -0
- package/node_modules/@aws-cdk/assert/lib/synth-utils.js +92 -0
- package/node_modules/@aws-cdk/assert/package.json +77 -0
- package/node_modules/@aws-cdk/cfnspec/CHANGELOG.md +16795 -0
- package/node_modules/@aws-cdk/cfnspec/LICENSE +201 -0
- package/node_modules/@aws-cdk/cfnspec/NOTICE +2 -0
- package/node_modules/@aws-cdk/cfnspec/README.md +14 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/build.d.ts +1 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/build.js +37 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/create-missing-libraries.d.ts +6 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/create-missing-libraries.js +311 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/massage-spec.d.ts +10 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/massage-spec.js +70 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/patch-set.d.ts +25 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/patch-set.js +241 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/report-issues.d.ts +9 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/report-issues.js +72 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/scrutiny.d.ts +12 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/scrutiny.js +85 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/spec-diff.d.ts +1 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/spec-diff.js +248 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/split-spec-by-service.d.ts +1 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/split-spec-by-service.js +120 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/template/LICENSE +201 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/template/NOTICE +2 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh +18 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/update-metrics.sh +15 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/update.sh +113 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/validate-cfn.d.ts +67 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/validate-cfn.js +285 -0
- package/node_modules/@aws-cdk/cfnspec/cfn.version +1 -0
- package/node_modules/@aws-cdk/cfnspec/lib/_private_schema/cfn-lint.d.ts +24 -0
- package/node_modules/@aws-cdk/cfnspec/lib/_private_schema/cfn-lint.js +3 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_EC2_VPNConnection.json +27 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_Lambda_Function.json +27 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_RDS_DBCluster.json +70 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_RDS_DBInstance.json +37 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_SNS_Topic.json +52 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_SQS_Queue.json +53 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/README.md +168 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/canned-metrics-schema.d.ts +60 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/canned-metrics-schema.js +12 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/services.json +31957 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics.d.ts +41 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics.js +75 -0
- package/node_modules/@aws-cdk/cfnspec/lib/index.d.ts +63 -0
- package/node_modules/@aws-cdk/cfnspec/lib/index.js +200 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/augmentation.d.ts +87 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/augmentation.js +28 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/base-types.d.ts +14 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/base-types.js +29 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/cfn-lint.d.ts +13 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/cfn-lint.js +3 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/docs.d.ts +20 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/docs.js +3 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/index.d.ts +7 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/index.js +20 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/property.d.ts +179 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/property.js +168 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/resource-type.d.ts +118 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/resource-type.js +99 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/specification.d.ts +56 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/specification.js +11 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/CHANGELOG.md +902 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/LICENSE +15 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/README.md +264 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/copy/copy.js +232 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/copy/index.js +6 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/copy-sync/copy-sync.js +166 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/copy-sync/index.js +5 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/empty/index.js +48 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/file.js +69 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/index.js +23 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/link.js +61 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/symlink-paths.js +99 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/symlink-type.js +31 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/symlink.js +63 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/fs/index.js +130 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/index.js +27 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/json/index.js +16 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/json/output-json.js +12 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/mkdirs/make-dir.js +141 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/move/index.js +6 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/move/move.js +65 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/move-sync/index.js +5 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/move-sync/move-sync.js +47 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/output/index.js +40 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/remove/index.js +9 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/remove/rimraf.js +302 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/util/stat.js +139 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/util/utimes.js +26 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/package.json +70 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/CHANGELOG.md +171 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/LICENSE +15 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/README.md +230 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/index.js +88 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/package.json +40 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/utils.js +14 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/universalify/LICENSE +20 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/universalify/README.md +76 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/universalify/index.js +24 -0
- package/node_modules/@aws-cdk/cfnspec/node_modules/universalify/package.json +34 -0
- package/node_modules/@aws-cdk/cfnspec/package.json +63 -0
- package/node_modules/@aws-cdk/cfnspec/spec/cfn-docs.json +51044 -0
- package/node_modules/@aws-cdk/cfnspec/spec/cfn-lint.json +35 -0
- package/node_modules/@aws-cdk/cfnspec/spec/specification.json +148332 -0
- package/node_modules/@aws-cdk/cloudformation-diff/LICENSE +201 -0
- package/node_modules/@aws-cdk/cloudformation-diff/NOTICE +2 -0
- package/node_modules/@aws-cdk/cloudformation-diff/README.md +12 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/index.d.ts +9 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/index.js +94 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/types.d.ts +326 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/types.js +457 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/util.d.ts +41 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/util.js +165 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff-template.d.ts +21 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff-template.js +166 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diffable.d.ts +22 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diffable.js +47 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/format-table.d.ts +6 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/format-table.js +109 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/format.d.ts +23 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/format.js +414 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/iam-changes.d.ts +62 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/iam-changes.js +246 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/managed-policy.d.ts +18 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/managed-policy.js +29 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/statement.d.ts +127 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/statement.js +268 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/index.d.ts +4 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/index.js +18 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-changes.d.ts +32 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-changes.js +95 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-rule.d.ts +50 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-rule.js +91 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/render-intrinsics.d.ts +21 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/render-intrinsics.js +79 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/util.d.ts +7 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/util.js +63 -0
- package/node_modules/@aws-cdk/cloudformation-diff/package.json +60 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +229 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +173 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +266 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +891 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +126 -0
- package/node_modules/ansi-regex/index.d.ts +37 -0
- package/node_modules/ansi-regex/index.js +10 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +55 -0
- package/node_modules/ansi-regex/readme.md +78 -0
- package/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/astral-regex/index.d.ts +28 -0
- package/node_modules/astral-regex/index.js +6 -0
- package/node_modules/astral-regex/license +9 -0
- package/node_modules/astral-regex/package.json +33 -0
- package/node_modules/astral-regex/readme.md +46 -0
- package/node_modules/at-least-node/LICENSE +6 -0
- package/node_modules/at-least-node/README.md +25 -0
- package/node_modules/at-least-node/index.js +5 -0
- package/node_modules/at-least-node/package.json +32 -0
- package/node_modules/chalk/index.d.ts +415 -0
- package/node_modules/chalk/license +9 -0
- package/node_modules/chalk/package.json +68 -0
- package/node_modules/chalk/readme.md +341 -0
- package/node_modules/chalk/source/index.js +229 -0
- package/node_modules/chalk/source/templates.js +134 -0
- package/node_modules/chalk/source/util.js +39 -0
- package/node_modules/color-convert/CHANGELOG.md +54 -0
- package/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +839 -0
- package/node_modules/color-convert/index.js +81 -0
- package/node_modules/color-convert/package.json +48 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +28 -0
- package/node_modules/diff/CONTRIBUTING.md +36 -0
- package/node_modules/diff/LICENSE +29 -0
- package/node_modules/diff/README.md +339 -0
- package/node_modules/diff/dist/diff.js +1730 -0
- package/node_modules/diff/dist/diff.min.js +1 -0
- package/node_modules/diff/lib/convert/dmp.js +32 -0
- package/node_modules/diff/lib/convert/xml.js +42 -0
- package/node_modules/diff/lib/diff/array.js +45 -0
- package/node_modules/diff/lib/diff/base.js +358 -0
- package/node_modules/diff/lib/diff/character.js +37 -0
- package/node_modules/diff/lib/diff/css.js +41 -0
- package/node_modules/diff/lib/diff/json.js +163 -0
- package/node_modules/diff/lib/diff/line.js +94 -0
- package/node_modules/diff/lib/diff/sentence.js +41 -0
- package/node_modules/diff/lib/diff/word.js +108 -0
- package/node_modules/diff/lib/index.es6.js +1699 -0
- package/node_modules/diff/lib/index.js +234 -0
- package/node_modules/diff/lib/index.mjs +1699 -0
- package/node_modules/diff/lib/patch/apply.js +238 -0
- package/node_modules/diff/lib/patch/create.js +276 -0
- package/node_modules/diff/lib/patch/merge.js +613 -0
- package/node_modules/diff/lib/patch/parse.js +167 -0
- package/node_modules/diff/lib/patch/reverse.js +63 -0
- package/node_modules/diff/lib/util/array.js +32 -0
- package/node_modules/diff/lib/util/distance-iterator.js +57 -0
- package/node_modules/diff/lib/util/params.js +24 -0
- package/node_modules/diff/package.json +89 -0
- package/node_modules/diff/release-notes.md +317 -0
- package/node_modules/diff/runtime.js +3 -0
- package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/emoji-regex/README.md +73 -0
- package/node_modules/emoji-regex/es2015/index.js +6 -0
- package/node_modules/emoji-regex/es2015/text.js +6 -0
- package/node_modules/emoji-regex/index.d.ts +23 -0
- package/node_modules/emoji-regex/index.js +6 -0
- package/node_modules/emoji-regex/package.json +50 -0
- package/node_modules/emoji-regex/text.js +6 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/.stale.yml +21 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/tests_checker.yml +8 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +23 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +20 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +125 -0
- package/node_modules/fast-uri/benchmark.js +105 -0
- package/node_modules/fast-uri/index.js +303 -0
- package/node_modules/fast-uri/lib/schemes.js +188 -0
- package/node_modules/fast-uri/lib/scopedChars.js +30 -0
- package/node_modules/fast-uri/lib/utils.js +242 -0
- package/node_modules/fast-uri/package.json +39 -0
- package/node_modules/fast-uri/test/.gitkeep +0 -0
- package/node_modules/fast-uri/test/ajv.test.js +39 -0
- package/node_modules/fast-uri/test/compatibility.test.js +131 -0
- package/node_modules/fast-uri/test/equal.test.js +103 -0
- package/node_modules/fast-uri/test/parse.test.js +318 -0
- package/node_modules/fast-uri/test/resolve.test.js +75 -0
- package/node_modules/fast-uri/test/serialize.test.js +143 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/util.test.js +23 -0
- package/node_modules/fast-uri/types/index.d.ts +53 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/graphql-mapping-template/CHANGELOG.md +4 -0
- package/node_modules/graphql-mapping-template/LICENSE +201 -0
- package/node_modules/graphql-mapping-template/jest.config.js +12 -0
- package/node_modules/graphql-mapping-template/package.json +2 -41
- package/node_modules/graphql-transformer-common/CHANGELOG.md +4 -0
- package/node_modules/graphql-transformer-common/LICENSE +201 -0
- package/node_modules/graphql-transformer-common/jest.config.js +12 -0
- package/node_modules/graphql-transformer-common/package.json +3 -42
- package/node_modules/has-flag/index.d.ts +39 -0
- package/node_modules/has-flag/index.js +8 -0
- package/node_modules/has-flag/license +9 -0
- package/node_modules/has-flag/package.json +46 -0
- package/node_modules/has-flag/readme.md +89 -0
- package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/node_modules/is-fullwidth-code-point/license +9 -0
- package/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/lodash.truncate/LICENSE +47 -0
- package/node_modules/lodash.truncate/README.md +18 -0
- package/node_modules/lodash.truncate/index.js +632 -0
- package/node_modules/lodash.truncate/package.json +17 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/slice-ansi/index.js +103 -0
- package/node_modules/slice-ansi/license +10 -0
- package/node_modules/slice-ansi/package.json +52 -0
- package/node_modules/slice-ansi/readme.md +66 -0
- package/node_modules/string-width/index.d.ts +29 -0
- package/node_modules/string-width/index.js +47 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +56 -0
- package/node_modules/string-width/readme.md +50 -0
- package/node_modules/strip-ansi/index.d.ts +17 -0
- package/node_modules/strip-ansi/index.js +4 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +54 -0
- package/node_modules/strip-ansi/readme.md +46 -0
- package/node_modules/supports-color/browser.js +5 -0
- package/node_modules/supports-color/index.js +135 -0
- package/node_modules/supports-color/license +9 -0
- package/node_modules/supports-color/package.json +53 -0
- package/node_modules/supports-color/readme.md +76 -0
- package/node_modules/table/LICENSE +24 -0
- package/node_modules/table/README.md +837 -0
- package/node_modules/table/dist/src/alignSpanningCell.d.ts +7 -0
- package/node_modules/table/dist/src/alignSpanningCell.js +48 -0
- package/node_modules/table/dist/src/alignSpanningCell.js.map +1 -0
- package/node_modules/table/dist/src/alignString.d.ts +6 -0
- package/node_modules/table/dist/src/alignString.js +60 -0
- package/node_modules/table/dist/src/alignString.js.map +1 -0
- package/node_modules/table/dist/src/alignTableData.d.ts +2 -0
- package/node_modules/table/dist/src/alignTableData.js +20 -0
- package/node_modules/table/dist/src/alignTableData.js.map +1 -0
- package/node_modules/table/dist/src/calculateCellHeight.d.ts +4 -0
- package/node_modules/table/dist/src/calculateCellHeight.js +12 -0
- package/node_modules/table/dist/src/calculateCellHeight.js.map +1 -0
- package/node_modules/table/dist/src/calculateMaximumColumnWidths.d.ts +7 -0
- package/node_modules/table/dist/src/calculateMaximumColumnWidths.js +36 -0
- package/node_modules/table/dist/src/calculateMaximumColumnWidths.js.map +1 -0
- package/node_modules/table/dist/src/calculateOutputColumnWidths.d.ts +2 -0
- package/node_modules/table/dist/src/calculateOutputColumnWidths.js +10 -0
- package/node_modules/table/dist/src/calculateOutputColumnWidths.js.map +1 -0
- package/node_modules/table/dist/src/calculateRowHeights.d.ts +5 -0
- package/node_modules/table/dist/src/calculateRowHeights.js +42 -0
- package/node_modules/table/dist/src/calculateRowHeights.js.map +1 -0
- package/node_modules/table/dist/src/calculateSpanningCellWidth.d.ts +3 -0
- package/node_modules/table/dist/src/calculateSpanningCellWidth.js +26 -0
- package/node_modules/table/dist/src/calculateSpanningCellWidth.js.map +1 -0
- package/node_modules/table/dist/src/createStream.d.ts +2 -0
- package/node_modules/table/dist/src/createStream.js +74 -0
- package/node_modules/table/dist/src/createStream.js.map +1 -0
- package/node_modules/table/dist/src/drawBorder.d.ts +34 -0
- package/node_modules/table/dist/src/drawBorder.js +202 -0
- package/node_modules/table/dist/src/drawBorder.js.map +1 -0
- package/node_modules/table/dist/src/drawContent.d.ts +14 -0
- package/node_modules/table/dist/src/drawContent.js +51 -0
- package/node_modules/table/dist/src/drawContent.js.map +1 -0
- package/node_modules/table/dist/src/drawRow.d.ts +10 -0
- package/node_modules/table/dist/src/drawRow.js +25 -0
- package/node_modules/table/dist/src/drawRow.js.map +1 -0
- package/node_modules/table/dist/src/drawTable.d.ts +2 -0
- package/node_modules/table/dist/src/drawTable.js +31 -0
- package/node_modules/table/dist/src/drawTable.js.map +1 -0
- package/node_modules/table/dist/src/generated/validators.d.ts +13 -0
- package/node_modules/table/dist/src/generated/validators.js +2694 -0
- package/node_modules/table/dist/src/generated/validators.js.map +1 -0
- package/node_modules/table/dist/src/getBorderCharacters.d.ts +2 -0
- package/node_modules/table/dist/src/getBorderCharacters.js +105 -0
- package/node_modules/table/dist/src/getBorderCharacters.js.map +1 -0
- package/node_modules/table/dist/src/index.d.ts +5 -0
- package/node_modules/table/dist/src/index.js +21 -0
- package/node_modules/table/dist/src/index.js.map +1 -0
- package/node_modules/table/dist/src/injectHeaderConfig.d.ts +3 -0
- package/node_modules/table/dist/src/injectHeaderConfig.js +29 -0
- package/node_modules/table/dist/src/injectHeaderConfig.js.map +1 -0
- package/node_modules/table/dist/src/makeRangeConfig.d.ts +3 -0
- package/node_modules/table/dist/src/makeRangeConfig.js +18 -0
- package/node_modules/table/dist/src/makeRangeConfig.js.map +1 -0
- package/node_modules/table/dist/src/makeStreamConfig.d.ts +7 -0
- package/node_modules/table/dist/src/makeStreamConfig.js +43 -0
- package/node_modules/table/dist/src/makeStreamConfig.js.map +1 -0
- package/node_modules/table/dist/src/makeTableConfig.d.ts +7 -0
- package/node_modules/table/dist/src/makeTableConfig.js +62 -0
- package/node_modules/table/dist/src/makeTableConfig.js.map +1 -0
- package/node_modules/table/dist/src/mapDataUsingRowHeights.d.ts +4 -0
- package/node_modules/table/dist/src/mapDataUsingRowHeights.js +52 -0
- package/node_modules/table/dist/src/mapDataUsingRowHeights.js.map +1 -0
- package/node_modules/table/dist/src/padTableData.d.ts +3 -0
- package/node_modules/table/dist/src/padTableData.js +23 -0
- package/node_modules/table/dist/src/padTableData.js.map +1 -0
- package/node_modules/table/dist/src/schemas/config.json +95 -0
- package/node_modules/table/dist/src/schemas/shared.json +139 -0
- package/node_modules/table/dist/src/schemas/streamConfig.json +25 -0
- package/node_modules/table/dist/src/spanningCellManager.d.ts +23 -0
- package/node_modules/table/dist/src/spanningCellManager.js +95 -0
- package/node_modules/table/dist/src/spanningCellManager.js.map +1 -0
- package/node_modules/table/dist/src/stringifyTableData.d.ts +2 -0
- package/node_modules/table/dist/src/stringifyTableData.js +13 -0
- package/node_modules/table/dist/src/stringifyTableData.js.map +1 -0
- package/node_modules/table/dist/src/table.d.ts +2 -0
- package/node_modules/table/dist/src/table.js +32 -0
- package/node_modules/table/dist/src/table.js.map +1 -0
- package/node_modules/table/dist/src/truncateTableData.d.ts +6 -0
- package/node_modules/table/dist/src/truncateTableData.js +24 -0
- package/node_modules/table/dist/src/truncateTableData.js.map +1 -0
- package/node_modules/table/dist/src/types/api.d.ts +130 -0
- package/node_modules/table/dist/src/types/api.js +3 -0
- package/node_modules/table/dist/src/types/api.js.map +1 -0
- package/node_modules/table/dist/src/types/internal.d.ts +1 -0
- package/node_modules/table/dist/src/types/internal.js +3 -0
- package/node_modules/table/dist/src/types/internal.js.map +1 -0
- package/node_modules/table/dist/src/utils.d.ts +9 -0
- package/node_modules/table/dist/src/utils.js +134 -0
- package/node_modules/table/dist/src/utils.js.map +1 -0
- package/node_modules/table/dist/src/validateConfig.d.ts +2 -0
- package/node_modules/table/dist/src/validateConfig.js +27 -0
- package/node_modules/table/dist/src/validateConfig.js.map +1 -0
- package/node_modules/table/dist/src/validateSpanningCellConfig.d.ts +3 -0
- package/node_modules/table/dist/src/validateSpanningCellConfig.js +46 -0
- package/node_modules/table/dist/src/validateSpanningCellConfig.js.map +1 -0
- package/node_modules/table/dist/src/validateTableData.d.ts +1 -0
- package/node_modules/table/dist/src/validateTableData.js +32 -0
- package/node_modules/table/dist/src/validateTableData.js.map +1 -0
- package/node_modules/table/dist/src/wrapCell.d.ts +8 -0
- package/node_modules/table/dist/src/wrapCell.js +33 -0
- package/node_modules/table/dist/src/wrapCell.js.map +1 -0
- package/node_modules/table/dist/src/wrapString.d.ts +9 -0
- package/node_modules/table/dist/src/wrapString.js +27 -0
- package/node_modules/table/dist/src/wrapString.js.map +1 -0
- package/node_modules/table/dist/src/wrapWord.d.ts +1 -0
- package/node_modules/table/dist/src/wrapWord.js +42 -0
- package/node_modules/table/dist/src/wrapWord.js.map +1 -0
- package/node_modules/table/package.json +77 -0
- package/package.json +132 -123
- package/src/amplify-graphql-api.ts +2 -0
- package/src/index.ts +2 -0
- package/src/log-config-types.ts +84 -0
- package/src/types.ts +6 -1
@@ -0,0 +1,2694 @@
|
|
1
|
+
"use strict";
|
2
|
+
exports["config.json"] = validate43;
|
3
|
+
const schema13 = {
|
4
|
+
"$id": "config.json",
|
5
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
6
|
+
"type": "object",
|
7
|
+
"properties": {
|
8
|
+
"border": {
|
9
|
+
"$ref": "shared.json#/definitions/borders"
|
10
|
+
},
|
11
|
+
"header": {
|
12
|
+
"type": "object",
|
13
|
+
"properties": {
|
14
|
+
"content": {
|
15
|
+
"type": "string"
|
16
|
+
},
|
17
|
+
"alignment": {
|
18
|
+
"$ref": "shared.json#/definitions/alignment"
|
19
|
+
},
|
20
|
+
"wrapWord": {
|
21
|
+
"type": "boolean"
|
22
|
+
},
|
23
|
+
"truncate": {
|
24
|
+
"type": "integer"
|
25
|
+
},
|
26
|
+
"paddingLeft": {
|
27
|
+
"type": "integer"
|
28
|
+
},
|
29
|
+
"paddingRight": {
|
30
|
+
"type": "integer"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"required": ["content"],
|
34
|
+
"additionalProperties": false
|
35
|
+
},
|
36
|
+
"columns": {
|
37
|
+
"$ref": "shared.json#/definitions/columns"
|
38
|
+
},
|
39
|
+
"columnDefault": {
|
40
|
+
"$ref": "shared.json#/definitions/column"
|
41
|
+
},
|
42
|
+
"drawVerticalLine": {
|
43
|
+
"typeof": "function"
|
44
|
+
},
|
45
|
+
"drawHorizontalLine": {
|
46
|
+
"typeof": "function"
|
47
|
+
},
|
48
|
+
"singleLine": {
|
49
|
+
"typeof": "boolean"
|
50
|
+
},
|
51
|
+
"spanningCells": {
|
52
|
+
"type": "array",
|
53
|
+
"items": {
|
54
|
+
"type": "object",
|
55
|
+
"properties": {
|
56
|
+
"col": {
|
57
|
+
"type": "integer",
|
58
|
+
"minimum": 0
|
59
|
+
},
|
60
|
+
"row": {
|
61
|
+
"type": "integer",
|
62
|
+
"minimum": 0
|
63
|
+
},
|
64
|
+
"colSpan": {
|
65
|
+
"type": "integer",
|
66
|
+
"minimum": 1
|
67
|
+
},
|
68
|
+
"rowSpan": {
|
69
|
+
"type": "integer",
|
70
|
+
"minimum": 1
|
71
|
+
},
|
72
|
+
"alignment": {
|
73
|
+
"$ref": "shared.json#/definitions/alignment"
|
74
|
+
},
|
75
|
+
"verticalAlignment": {
|
76
|
+
"$ref": "shared.json#/definitions/verticalAlignment"
|
77
|
+
},
|
78
|
+
"wrapWord": {
|
79
|
+
"type": "boolean"
|
80
|
+
},
|
81
|
+
"truncate": {
|
82
|
+
"type": "integer"
|
83
|
+
},
|
84
|
+
"paddingLeft": {
|
85
|
+
"type": "integer"
|
86
|
+
},
|
87
|
+
"paddingRight": {
|
88
|
+
"type": "integer"
|
89
|
+
}
|
90
|
+
},
|
91
|
+
"required": ["row", "col"],
|
92
|
+
"additionalProperties": false
|
93
|
+
}
|
94
|
+
}
|
95
|
+
},
|
96
|
+
"additionalProperties": false
|
97
|
+
};
|
98
|
+
const schema15 = {
|
99
|
+
"type": "object",
|
100
|
+
"properties": {
|
101
|
+
"topBody": {
|
102
|
+
"$ref": "#/definitions/border"
|
103
|
+
},
|
104
|
+
"topJoin": {
|
105
|
+
"$ref": "#/definitions/border"
|
106
|
+
},
|
107
|
+
"topLeft": {
|
108
|
+
"$ref": "#/definitions/border"
|
109
|
+
},
|
110
|
+
"topRight": {
|
111
|
+
"$ref": "#/definitions/border"
|
112
|
+
},
|
113
|
+
"bottomBody": {
|
114
|
+
"$ref": "#/definitions/border"
|
115
|
+
},
|
116
|
+
"bottomJoin": {
|
117
|
+
"$ref": "#/definitions/border"
|
118
|
+
},
|
119
|
+
"bottomLeft": {
|
120
|
+
"$ref": "#/definitions/border"
|
121
|
+
},
|
122
|
+
"bottomRight": {
|
123
|
+
"$ref": "#/definitions/border"
|
124
|
+
},
|
125
|
+
"bodyLeft": {
|
126
|
+
"$ref": "#/definitions/border"
|
127
|
+
},
|
128
|
+
"bodyRight": {
|
129
|
+
"$ref": "#/definitions/border"
|
130
|
+
},
|
131
|
+
"bodyJoin": {
|
132
|
+
"$ref": "#/definitions/border"
|
133
|
+
},
|
134
|
+
"headerJoin": {
|
135
|
+
"$ref": "#/definitions/border"
|
136
|
+
},
|
137
|
+
"joinBody": {
|
138
|
+
"$ref": "#/definitions/border"
|
139
|
+
},
|
140
|
+
"joinLeft": {
|
141
|
+
"$ref": "#/definitions/border"
|
142
|
+
},
|
143
|
+
"joinRight": {
|
144
|
+
"$ref": "#/definitions/border"
|
145
|
+
},
|
146
|
+
"joinJoin": {
|
147
|
+
"$ref": "#/definitions/border"
|
148
|
+
},
|
149
|
+
"joinMiddleUp": {
|
150
|
+
"$ref": "#/definitions/border"
|
151
|
+
},
|
152
|
+
"joinMiddleDown": {
|
153
|
+
"$ref": "#/definitions/border"
|
154
|
+
},
|
155
|
+
"joinMiddleLeft": {
|
156
|
+
"$ref": "#/definitions/border"
|
157
|
+
},
|
158
|
+
"joinMiddleRight": {
|
159
|
+
"$ref": "#/definitions/border"
|
160
|
+
}
|
161
|
+
},
|
162
|
+
"additionalProperties": false
|
163
|
+
};
|
164
|
+
const func8 = Object.prototype.hasOwnProperty;
|
165
|
+
const schema16 = {
|
166
|
+
"type": "string"
|
167
|
+
};
|
168
|
+
function validate46(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
169
|
+
let vErrors = null;
|
170
|
+
let errors = 0;
|
171
|
+
if (typeof data !== "string") {
|
172
|
+
const err0 = {
|
173
|
+
instancePath,
|
174
|
+
schemaPath: "#/type",
|
175
|
+
keyword: "type",
|
176
|
+
params: {
|
177
|
+
type: "string"
|
178
|
+
},
|
179
|
+
message: "must be string"
|
180
|
+
};
|
181
|
+
if (vErrors === null) {
|
182
|
+
vErrors = [err0];
|
183
|
+
}
|
184
|
+
else {
|
185
|
+
vErrors.push(err0);
|
186
|
+
}
|
187
|
+
errors++;
|
188
|
+
}
|
189
|
+
validate46.errors = vErrors;
|
190
|
+
return errors === 0;
|
191
|
+
}
|
192
|
+
function validate45(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
193
|
+
let vErrors = null;
|
194
|
+
let errors = 0;
|
195
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
196
|
+
for (const key0 in data) {
|
197
|
+
if (!(func8.call(schema15.properties, key0))) {
|
198
|
+
const err0 = {
|
199
|
+
instancePath,
|
200
|
+
schemaPath: "#/additionalProperties",
|
201
|
+
keyword: "additionalProperties",
|
202
|
+
params: {
|
203
|
+
additionalProperty: key0
|
204
|
+
},
|
205
|
+
message: "must NOT have additional properties"
|
206
|
+
};
|
207
|
+
if (vErrors === null) {
|
208
|
+
vErrors = [err0];
|
209
|
+
}
|
210
|
+
else {
|
211
|
+
vErrors.push(err0);
|
212
|
+
}
|
213
|
+
errors++;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
if (data.topBody !== undefined) {
|
217
|
+
if (!(validate46(data.topBody, {
|
218
|
+
instancePath: instancePath + "/topBody",
|
219
|
+
parentData: data,
|
220
|
+
parentDataProperty: "topBody",
|
221
|
+
rootData
|
222
|
+
}))) {
|
223
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
224
|
+
errors = vErrors.length;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
if (data.topJoin !== undefined) {
|
228
|
+
if (!(validate46(data.topJoin, {
|
229
|
+
instancePath: instancePath + "/topJoin",
|
230
|
+
parentData: data,
|
231
|
+
parentDataProperty: "topJoin",
|
232
|
+
rootData
|
233
|
+
}))) {
|
234
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
235
|
+
errors = vErrors.length;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
if (data.topLeft !== undefined) {
|
239
|
+
if (!(validate46(data.topLeft, {
|
240
|
+
instancePath: instancePath + "/topLeft",
|
241
|
+
parentData: data,
|
242
|
+
parentDataProperty: "topLeft",
|
243
|
+
rootData
|
244
|
+
}))) {
|
245
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
246
|
+
errors = vErrors.length;
|
247
|
+
}
|
248
|
+
}
|
249
|
+
if (data.topRight !== undefined) {
|
250
|
+
if (!(validate46(data.topRight, {
|
251
|
+
instancePath: instancePath + "/topRight",
|
252
|
+
parentData: data,
|
253
|
+
parentDataProperty: "topRight",
|
254
|
+
rootData
|
255
|
+
}))) {
|
256
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
257
|
+
errors = vErrors.length;
|
258
|
+
}
|
259
|
+
}
|
260
|
+
if (data.bottomBody !== undefined) {
|
261
|
+
if (!(validate46(data.bottomBody, {
|
262
|
+
instancePath: instancePath + "/bottomBody",
|
263
|
+
parentData: data,
|
264
|
+
parentDataProperty: "bottomBody",
|
265
|
+
rootData
|
266
|
+
}))) {
|
267
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
268
|
+
errors = vErrors.length;
|
269
|
+
}
|
270
|
+
}
|
271
|
+
if (data.bottomJoin !== undefined) {
|
272
|
+
if (!(validate46(data.bottomJoin, {
|
273
|
+
instancePath: instancePath + "/bottomJoin",
|
274
|
+
parentData: data,
|
275
|
+
parentDataProperty: "bottomJoin",
|
276
|
+
rootData
|
277
|
+
}))) {
|
278
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
279
|
+
errors = vErrors.length;
|
280
|
+
}
|
281
|
+
}
|
282
|
+
if (data.bottomLeft !== undefined) {
|
283
|
+
if (!(validate46(data.bottomLeft, {
|
284
|
+
instancePath: instancePath + "/bottomLeft",
|
285
|
+
parentData: data,
|
286
|
+
parentDataProperty: "bottomLeft",
|
287
|
+
rootData
|
288
|
+
}))) {
|
289
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
290
|
+
errors = vErrors.length;
|
291
|
+
}
|
292
|
+
}
|
293
|
+
if (data.bottomRight !== undefined) {
|
294
|
+
if (!(validate46(data.bottomRight, {
|
295
|
+
instancePath: instancePath + "/bottomRight",
|
296
|
+
parentData: data,
|
297
|
+
parentDataProperty: "bottomRight",
|
298
|
+
rootData
|
299
|
+
}))) {
|
300
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
301
|
+
errors = vErrors.length;
|
302
|
+
}
|
303
|
+
}
|
304
|
+
if (data.bodyLeft !== undefined) {
|
305
|
+
if (!(validate46(data.bodyLeft, {
|
306
|
+
instancePath: instancePath + "/bodyLeft",
|
307
|
+
parentData: data,
|
308
|
+
parentDataProperty: "bodyLeft",
|
309
|
+
rootData
|
310
|
+
}))) {
|
311
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
312
|
+
errors = vErrors.length;
|
313
|
+
}
|
314
|
+
}
|
315
|
+
if (data.bodyRight !== undefined) {
|
316
|
+
if (!(validate46(data.bodyRight, {
|
317
|
+
instancePath: instancePath + "/bodyRight",
|
318
|
+
parentData: data,
|
319
|
+
parentDataProperty: "bodyRight",
|
320
|
+
rootData
|
321
|
+
}))) {
|
322
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
323
|
+
errors = vErrors.length;
|
324
|
+
}
|
325
|
+
}
|
326
|
+
if (data.bodyJoin !== undefined) {
|
327
|
+
if (!(validate46(data.bodyJoin, {
|
328
|
+
instancePath: instancePath + "/bodyJoin",
|
329
|
+
parentData: data,
|
330
|
+
parentDataProperty: "bodyJoin",
|
331
|
+
rootData
|
332
|
+
}))) {
|
333
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
334
|
+
errors = vErrors.length;
|
335
|
+
}
|
336
|
+
}
|
337
|
+
if (data.headerJoin !== undefined) {
|
338
|
+
if (!(validate46(data.headerJoin, {
|
339
|
+
instancePath: instancePath + "/headerJoin",
|
340
|
+
parentData: data,
|
341
|
+
parentDataProperty: "headerJoin",
|
342
|
+
rootData
|
343
|
+
}))) {
|
344
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
345
|
+
errors = vErrors.length;
|
346
|
+
}
|
347
|
+
}
|
348
|
+
if (data.joinBody !== undefined) {
|
349
|
+
if (!(validate46(data.joinBody, {
|
350
|
+
instancePath: instancePath + "/joinBody",
|
351
|
+
parentData: data,
|
352
|
+
parentDataProperty: "joinBody",
|
353
|
+
rootData
|
354
|
+
}))) {
|
355
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
356
|
+
errors = vErrors.length;
|
357
|
+
}
|
358
|
+
}
|
359
|
+
if (data.joinLeft !== undefined) {
|
360
|
+
if (!(validate46(data.joinLeft, {
|
361
|
+
instancePath: instancePath + "/joinLeft",
|
362
|
+
parentData: data,
|
363
|
+
parentDataProperty: "joinLeft",
|
364
|
+
rootData
|
365
|
+
}))) {
|
366
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
367
|
+
errors = vErrors.length;
|
368
|
+
}
|
369
|
+
}
|
370
|
+
if (data.joinRight !== undefined) {
|
371
|
+
if (!(validate46(data.joinRight, {
|
372
|
+
instancePath: instancePath + "/joinRight",
|
373
|
+
parentData: data,
|
374
|
+
parentDataProperty: "joinRight",
|
375
|
+
rootData
|
376
|
+
}))) {
|
377
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
378
|
+
errors = vErrors.length;
|
379
|
+
}
|
380
|
+
}
|
381
|
+
if (data.joinJoin !== undefined) {
|
382
|
+
if (!(validate46(data.joinJoin, {
|
383
|
+
instancePath: instancePath + "/joinJoin",
|
384
|
+
parentData: data,
|
385
|
+
parentDataProperty: "joinJoin",
|
386
|
+
rootData
|
387
|
+
}))) {
|
388
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
389
|
+
errors = vErrors.length;
|
390
|
+
}
|
391
|
+
}
|
392
|
+
if (data.joinMiddleUp !== undefined) {
|
393
|
+
if (!(validate46(data.joinMiddleUp, {
|
394
|
+
instancePath: instancePath + "/joinMiddleUp",
|
395
|
+
parentData: data,
|
396
|
+
parentDataProperty: "joinMiddleUp",
|
397
|
+
rootData
|
398
|
+
}))) {
|
399
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
400
|
+
errors = vErrors.length;
|
401
|
+
}
|
402
|
+
}
|
403
|
+
if (data.joinMiddleDown !== undefined) {
|
404
|
+
if (!(validate46(data.joinMiddleDown, {
|
405
|
+
instancePath: instancePath + "/joinMiddleDown",
|
406
|
+
parentData: data,
|
407
|
+
parentDataProperty: "joinMiddleDown",
|
408
|
+
rootData
|
409
|
+
}))) {
|
410
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
411
|
+
errors = vErrors.length;
|
412
|
+
}
|
413
|
+
}
|
414
|
+
if (data.joinMiddleLeft !== undefined) {
|
415
|
+
if (!(validate46(data.joinMiddleLeft, {
|
416
|
+
instancePath: instancePath + "/joinMiddleLeft",
|
417
|
+
parentData: data,
|
418
|
+
parentDataProperty: "joinMiddleLeft",
|
419
|
+
rootData
|
420
|
+
}))) {
|
421
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
422
|
+
errors = vErrors.length;
|
423
|
+
}
|
424
|
+
}
|
425
|
+
if (data.joinMiddleRight !== undefined) {
|
426
|
+
if (!(validate46(data.joinMiddleRight, {
|
427
|
+
instancePath: instancePath + "/joinMiddleRight",
|
428
|
+
parentData: data,
|
429
|
+
parentDataProperty: "joinMiddleRight",
|
430
|
+
rootData
|
431
|
+
}))) {
|
432
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
433
|
+
errors = vErrors.length;
|
434
|
+
}
|
435
|
+
}
|
436
|
+
}
|
437
|
+
else {
|
438
|
+
const err1 = {
|
439
|
+
instancePath,
|
440
|
+
schemaPath: "#/type",
|
441
|
+
keyword: "type",
|
442
|
+
params: {
|
443
|
+
type: "object"
|
444
|
+
},
|
445
|
+
message: "must be object"
|
446
|
+
};
|
447
|
+
if (vErrors === null) {
|
448
|
+
vErrors = [err1];
|
449
|
+
}
|
450
|
+
else {
|
451
|
+
vErrors.push(err1);
|
452
|
+
}
|
453
|
+
errors++;
|
454
|
+
}
|
455
|
+
validate45.errors = vErrors;
|
456
|
+
return errors === 0;
|
457
|
+
}
|
458
|
+
const schema17 = {
|
459
|
+
"type": "string",
|
460
|
+
"enum": ["left", "right", "center", "justify"]
|
461
|
+
};
|
462
|
+
const func0 = require("ajv/dist/runtime/equal").default;
|
463
|
+
function validate68(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
464
|
+
let vErrors = null;
|
465
|
+
let errors = 0;
|
466
|
+
if (typeof data !== "string") {
|
467
|
+
const err0 = {
|
468
|
+
instancePath,
|
469
|
+
schemaPath: "#/type",
|
470
|
+
keyword: "type",
|
471
|
+
params: {
|
472
|
+
type: "string"
|
473
|
+
},
|
474
|
+
message: "must be string"
|
475
|
+
};
|
476
|
+
if (vErrors === null) {
|
477
|
+
vErrors = [err0];
|
478
|
+
}
|
479
|
+
else {
|
480
|
+
vErrors.push(err0);
|
481
|
+
}
|
482
|
+
errors++;
|
483
|
+
}
|
484
|
+
if (!((((data === "left") || (data === "right")) || (data === "center")) || (data === "justify"))) {
|
485
|
+
const err1 = {
|
486
|
+
instancePath,
|
487
|
+
schemaPath: "#/enum",
|
488
|
+
keyword: "enum",
|
489
|
+
params: {
|
490
|
+
allowedValues: schema17.enum
|
491
|
+
},
|
492
|
+
message: "must be equal to one of the allowed values"
|
493
|
+
};
|
494
|
+
if (vErrors === null) {
|
495
|
+
vErrors = [err1];
|
496
|
+
}
|
497
|
+
else {
|
498
|
+
vErrors.push(err1);
|
499
|
+
}
|
500
|
+
errors++;
|
501
|
+
}
|
502
|
+
validate68.errors = vErrors;
|
503
|
+
return errors === 0;
|
504
|
+
}
|
505
|
+
const schema18 = {
|
506
|
+
"oneOf": [{
|
507
|
+
"type": "object",
|
508
|
+
"patternProperties": {
|
509
|
+
"^[0-9]+$": {
|
510
|
+
"$ref": "#/definitions/column"
|
511
|
+
}
|
512
|
+
},
|
513
|
+
"additionalProperties": false
|
514
|
+
}, {
|
515
|
+
"type": "array",
|
516
|
+
"items": {
|
517
|
+
"$ref": "#/definitions/column"
|
518
|
+
}
|
519
|
+
}]
|
520
|
+
};
|
521
|
+
const pattern0 = new RegExp("^[0-9]+$", "u");
|
522
|
+
const schema19 = {
|
523
|
+
"type": "object",
|
524
|
+
"properties": {
|
525
|
+
"alignment": {
|
526
|
+
"$ref": "#/definitions/alignment"
|
527
|
+
},
|
528
|
+
"verticalAlignment": {
|
529
|
+
"$ref": "#/definitions/verticalAlignment"
|
530
|
+
},
|
531
|
+
"width": {
|
532
|
+
"type": "integer",
|
533
|
+
"minimum": 1
|
534
|
+
},
|
535
|
+
"wrapWord": {
|
536
|
+
"type": "boolean"
|
537
|
+
},
|
538
|
+
"truncate": {
|
539
|
+
"type": "integer"
|
540
|
+
},
|
541
|
+
"paddingLeft": {
|
542
|
+
"type": "integer"
|
543
|
+
},
|
544
|
+
"paddingRight": {
|
545
|
+
"type": "integer"
|
546
|
+
}
|
547
|
+
},
|
548
|
+
"additionalProperties": false
|
549
|
+
};
|
550
|
+
function validate72(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
551
|
+
let vErrors = null;
|
552
|
+
let errors = 0;
|
553
|
+
if (typeof data !== "string") {
|
554
|
+
const err0 = {
|
555
|
+
instancePath,
|
556
|
+
schemaPath: "#/type",
|
557
|
+
keyword: "type",
|
558
|
+
params: {
|
559
|
+
type: "string"
|
560
|
+
},
|
561
|
+
message: "must be string"
|
562
|
+
};
|
563
|
+
if (vErrors === null) {
|
564
|
+
vErrors = [err0];
|
565
|
+
}
|
566
|
+
else {
|
567
|
+
vErrors.push(err0);
|
568
|
+
}
|
569
|
+
errors++;
|
570
|
+
}
|
571
|
+
if (!((((data === "left") || (data === "right")) || (data === "center")) || (data === "justify"))) {
|
572
|
+
const err1 = {
|
573
|
+
instancePath,
|
574
|
+
schemaPath: "#/enum",
|
575
|
+
keyword: "enum",
|
576
|
+
params: {
|
577
|
+
allowedValues: schema17.enum
|
578
|
+
},
|
579
|
+
message: "must be equal to one of the allowed values"
|
580
|
+
};
|
581
|
+
if (vErrors === null) {
|
582
|
+
vErrors = [err1];
|
583
|
+
}
|
584
|
+
else {
|
585
|
+
vErrors.push(err1);
|
586
|
+
}
|
587
|
+
errors++;
|
588
|
+
}
|
589
|
+
validate72.errors = vErrors;
|
590
|
+
return errors === 0;
|
591
|
+
}
|
592
|
+
const schema21 = {
|
593
|
+
"type": "string",
|
594
|
+
"enum": ["top", "middle", "bottom"]
|
595
|
+
};
|
596
|
+
function validate74(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
597
|
+
let vErrors = null;
|
598
|
+
let errors = 0;
|
599
|
+
if (typeof data !== "string") {
|
600
|
+
const err0 = {
|
601
|
+
instancePath,
|
602
|
+
schemaPath: "#/type",
|
603
|
+
keyword: "type",
|
604
|
+
params: {
|
605
|
+
type: "string"
|
606
|
+
},
|
607
|
+
message: "must be string"
|
608
|
+
};
|
609
|
+
if (vErrors === null) {
|
610
|
+
vErrors = [err0];
|
611
|
+
}
|
612
|
+
else {
|
613
|
+
vErrors.push(err0);
|
614
|
+
}
|
615
|
+
errors++;
|
616
|
+
}
|
617
|
+
if (!(((data === "top") || (data === "middle")) || (data === "bottom"))) {
|
618
|
+
const err1 = {
|
619
|
+
instancePath,
|
620
|
+
schemaPath: "#/enum",
|
621
|
+
keyword: "enum",
|
622
|
+
params: {
|
623
|
+
allowedValues: schema21.enum
|
624
|
+
},
|
625
|
+
message: "must be equal to one of the allowed values"
|
626
|
+
};
|
627
|
+
if (vErrors === null) {
|
628
|
+
vErrors = [err1];
|
629
|
+
}
|
630
|
+
else {
|
631
|
+
vErrors.push(err1);
|
632
|
+
}
|
633
|
+
errors++;
|
634
|
+
}
|
635
|
+
validate74.errors = vErrors;
|
636
|
+
return errors === 0;
|
637
|
+
}
|
638
|
+
function validate71(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
639
|
+
let vErrors = null;
|
640
|
+
let errors = 0;
|
641
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
642
|
+
for (const key0 in data) {
|
643
|
+
if (!(((((((key0 === "alignment") || (key0 === "verticalAlignment")) || (key0 === "width")) || (key0 === "wrapWord")) || (key0 === "truncate")) || (key0 === "paddingLeft")) || (key0 === "paddingRight"))) {
|
644
|
+
const err0 = {
|
645
|
+
instancePath,
|
646
|
+
schemaPath: "#/additionalProperties",
|
647
|
+
keyword: "additionalProperties",
|
648
|
+
params: {
|
649
|
+
additionalProperty: key0
|
650
|
+
},
|
651
|
+
message: "must NOT have additional properties"
|
652
|
+
};
|
653
|
+
if (vErrors === null) {
|
654
|
+
vErrors = [err0];
|
655
|
+
}
|
656
|
+
else {
|
657
|
+
vErrors.push(err0);
|
658
|
+
}
|
659
|
+
errors++;
|
660
|
+
}
|
661
|
+
}
|
662
|
+
if (data.alignment !== undefined) {
|
663
|
+
if (!(validate72(data.alignment, {
|
664
|
+
instancePath: instancePath + "/alignment",
|
665
|
+
parentData: data,
|
666
|
+
parentDataProperty: "alignment",
|
667
|
+
rootData
|
668
|
+
}))) {
|
669
|
+
vErrors = vErrors === null ? validate72.errors : vErrors.concat(validate72.errors);
|
670
|
+
errors = vErrors.length;
|
671
|
+
}
|
672
|
+
}
|
673
|
+
if (data.verticalAlignment !== undefined) {
|
674
|
+
if (!(validate74(data.verticalAlignment, {
|
675
|
+
instancePath: instancePath + "/verticalAlignment",
|
676
|
+
parentData: data,
|
677
|
+
parentDataProperty: "verticalAlignment",
|
678
|
+
rootData
|
679
|
+
}))) {
|
680
|
+
vErrors = vErrors === null ? validate74.errors : vErrors.concat(validate74.errors);
|
681
|
+
errors = vErrors.length;
|
682
|
+
}
|
683
|
+
}
|
684
|
+
if (data.width !== undefined) {
|
685
|
+
let data2 = data.width;
|
686
|
+
if (!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))) {
|
687
|
+
const err1 = {
|
688
|
+
instancePath: instancePath + "/width",
|
689
|
+
schemaPath: "#/properties/width/type",
|
690
|
+
keyword: "type",
|
691
|
+
params: {
|
692
|
+
type: "integer"
|
693
|
+
},
|
694
|
+
message: "must be integer"
|
695
|
+
};
|
696
|
+
if (vErrors === null) {
|
697
|
+
vErrors = [err1];
|
698
|
+
}
|
699
|
+
else {
|
700
|
+
vErrors.push(err1);
|
701
|
+
}
|
702
|
+
errors++;
|
703
|
+
}
|
704
|
+
if ((typeof data2 == "number") && (isFinite(data2))) {
|
705
|
+
if (data2 < 1 || isNaN(data2)) {
|
706
|
+
const err2 = {
|
707
|
+
instancePath: instancePath + "/width",
|
708
|
+
schemaPath: "#/properties/width/minimum",
|
709
|
+
keyword: "minimum",
|
710
|
+
params: {
|
711
|
+
comparison: ">=",
|
712
|
+
limit: 1
|
713
|
+
},
|
714
|
+
message: "must be >= 1"
|
715
|
+
};
|
716
|
+
if (vErrors === null) {
|
717
|
+
vErrors = [err2];
|
718
|
+
}
|
719
|
+
else {
|
720
|
+
vErrors.push(err2);
|
721
|
+
}
|
722
|
+
errors++;
|
723
|
+
}
|
724
|
+
}
|
725
|
+
}
|
726
|
+
if (data.wrapWord !== undefined) {
|
727
|
+
if (typeof data.wrapWord !== "boolean") {
|
728
|
+
const err3 = {
|
729
|
+
instancePath: instancePath + "/wrapWord",
|
730
|
+
schemaPath: "#/properties/wrapWord/type",
|
731
|
+
keyword: "type",
|
732
|
+
params: {
|
733
|
+
type: "boolean"
|
734
|
+
},
|
735
|
+
message: "must be boolean"
|
736
|
+
};
|
737
|
+
if (vErrors === null) {
|
738
|
+
vErrors = [err3];
|
739
|
+
}
|
740
|
+
else {
|
741
|
+
vErrors.push(err3);
|
742
|
+
}
|
743
|
+
errors++;
|
744
|
+
}
|
745
|
+
}
|
746
|
+
if (data.truncate !== undefined) {
|
747
|
+
let data4 = data.truncate;
|
748
|
+
if (!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))) {
|
749
|
+
const err4 = {
|
750
|
+
instancePath: instancePath + "/truncate",
|
751
|
+
schemaPath: "#/properties/truncate/type",
|
752
|
+
keyword: "type",
|
753
|
+
params: {
|
754
|
+
type: "integer"
|
755
|
+
},
|
756
|
+
message: "must be integer"
|
757
|
+
};
|
758
|
+
if (vErrors === null) {
|
759
|
+
vErrors = [err4];
|
760
|
+
}
|
761
|
+
else {
|
762
|
+
vErrors.push(err4);
|
763
|
+
}
|
764
|
+
errors++;
|
765
|
+
}
|
766
|
+
}
|
767
|
+
if (data.paddingLeft !== undefined) {
|
768
|
+
let data5 = data.paddingLeft;
|
769
|
+
if (!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))) {
|
770
|
+
const err5 = {
|
771
|
+
instancePath: instancePath + "/paddingLeft",
|
772
|
+
schemaPath: "#/properties/paddingLeft/type",
|
773
|
+
keyword: "type",
|
774
|
+
params: {
|
775
|
+
type: "integer"
|
776
|
+
},
|
777
|
+
message: "must be integer"
|
778
|
+
};
|
779
|
+
if (vErrors === null) {
|
780
|
+
vErrors = [err5];
|
781
|
+
}
|
782
|
+
else {
|
783
|
+
vErrors.push(err5);
|
784
|
+
}
|
785
|
+
errors++;
|
786
|
+
}
|
787
|
+
}
|
788
|
+
if (data.paddingRight !== undefined) {
|
789
|
+
let data6 = data.paddingRight;
|
790
|
+
if (!(((typeof data6 == "number") && (!(data6 % 1) && !isNaN(data6))) && (isFinite(data6)))) {
|
791
|
+
const err6 = {
|
792
|
+
instancePath: instancePath + "/paddingRight",
|
793
|
+
schemaPath: "#/properties/paddingRight/type",
|
794
|
+
keyword: "type",
|
795
|
+
params: {
|
796
|
+
type: "integer"
|
797
|
+
},
|
798
|
+
message: "must be integer"
|
799
|
+
};
|
800
|
+
if (vErrors === null) {
|
801
|
+
vErrors = [err6];
|
802
|
+
}
|
803
|
+
else {
|
804
|
+
vErrors.push(err6);
|
805
|
+
}
|
806
|
+
errors++;
|
807
|
+
}
|
808
|
+
}
|
809
|
+
}
|
810
|
+
else {
|
811
|
+
const err7 = {
|
812
|
+
instancePath,
|
813
|
+
schemaPath: "#/type",
|
814
|
+
keyword: "type",
|
815
|
+
params: {
|
816
|
+
type: "object"
|
817
|
+
},
|
818
|
+
message: "must be object"
|
819
|
+
};
|
820
|
+
if (vErrors === null) {
|
821
|
+
vErrors = [err7];
|
822
|
+
}
|
823
|
+
else {
|
824
|
+
vErrors.push(err7);
|
825
|
+
}
|
826
|
+
errors++;
|
827
|
+
}
|
828
|
+
validate71.errors = vErrors;
|
829
|
+
return errors === 0;
|
830
|
+
}
|
831
|
+
function validate70(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
832
|
+
let vErrors = null;
|
833
|
+
let errors = 0;
|
834
|
+
const _errs0 = errors;
|
835
|
+
let valid0 = false;
|
836
|
+
let passing0 = null;
|
837
|
+
const _errs1 = errors;
|
838
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
839
|
+
for (const key0 in data) {
|
840
|
+
if (!(pattern0.test(key0))) {
|
841
|
+
const err0 = {
|
842
|
+
instancePath,
|
843
|
+
schemaPath: "#/oneOf/0/additionalProperties",
|
844
|
+
keyword: "additionalProperties",
|
845
|
+
params: {
|
846
|
+
additionalProperty: key0
|
847
|
+
},
|
848
|
+
message: "must NOT have additional properties"
|
849
|
+
};
|
850
|
+
if (vErrors === null) {
|
851
|
+
vErrors = [err0];
|
852
|
+
}
|
853
|
+
else {
|
854
|
+
vErrors.push(err0);
|
855
|
+
}
|
856
|
+
errors++;
|
857
|
+
}
|
858
|
+
}
|
859
|
+
for (const key1 in data) {
|
860
|
+
if (pattern0.test(key1)) {
|
861
|
+
if (!(validate71(data[key1], {
|
862
|
+
instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),
|
863
|
+
parentData: data,
|
864
|
+
parentDataProperty: key1,
|
865
|
+
rootData
|
866
|
+
}))) {
|
867
|
+
vErrors = vErrors === null ? validate71.errors : vErrors.concat(validate71.errors);
|
868
|
+
errors = vErrors.length;
|
869
|
+
}
|
870
|
+
}
|
871
|
+
}
|
872
|
+
}
|
873
|
+
else {
|
874
|
+
const err1 = {
|
875
|
+
instancePath,
|
876
|
+
schemaPath: "#/oneOf/0/type",
|
877
|
+
keyword: "type",
|
878
|
+
params: {
|
879
|
+
type: "object"
|
880
|
+
},
|
881
|
+
message: "must be object"
|
882
|
+
};
|
883
|
+
if (vErrors === null) {
|
884
|
+
vErrors = [err1];
|
885
|
+
}
|
886
|
+
else {
|
887
|
+
vErrors.push(err1);
|
888
|
+
}
|
889
|
+
errors++;
|
890
|
+
}
|
891
|
+
var _valid0 = _errs1 === errors;
|
892
|
+
if (_valid0) {
|
893
|
+
valid0 = true;
|
894
|
+
passing0 = 0;
|
895
|
+
}
|
896
|
+
const _errs5 = errors;
|
897
|
+
if (Array.isArray(data)) {
|
898
|
+
const len0 = data.length;
|
899
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
900
|
+
if (!(validate71(data[i0], {
|
901
|
+
instancePath: instancePath + "/" + i0,
|
902
|
+
parentData: data,
|
903
|
+
parentDataProperty: i0,
|
904
|
+
rootData
|
905
|
+
}))) {
|
906
|
+
vErrors = vErrors === null ? validate71.errors : vErrors.concat(validate71.errors);
|
907
|
+
errors = vErrors.length;
|
908
|
+
}
|
909
|
+
}
|
910
|
+
}
|
911
|
+
else {
|
912
|
+
const err2 = {
|
913
|
+
instancePath,
|
914
|
+
schemaPath: "#/oneOf/1/type",
|
915
|
+
keyword: "type",
|
916
|
+
params: {
|
917
|
+
type: "array"
|
918
|
+
},
|
919
|
+
message: "must be array"
|
920
|
+
};
|
921
|
+
if (vErrors === null) {
|
922
|
+
vErrors = [err2];
|
923
|
+
}
|
924
|
+
else {
|
925
|
+
vErrors.push(err2);
|
926
|
+
}
|
927
|
+
errors++;
|
928
|
+
}
|
929
|
+
var _valid0 = _errs5 === errors;
|
930
|
+
if (_valid0 && valid0) {
|
931
|
+
valid0 = false;
|
932
|
+
passing0 = [passing0, 1];
|
933
|
+
}
|
934
|
+
else {
|
935
|
+
if (_valid0) {
|
936
|
+
valid0 = true;
|
937
|
+
passing0 = 1;
|
938
|
+
}
|
939
|
+
}
|
940
|
+
if (!valid0) {
|
941
|
+
const err3 = {
|
942
|
+
instancePath,
|
943
|
+
schemaPath: "#/oneOf",
|
944
|
+
keyword: "oneOf",
|
945
|
+
params: {
|
946
|
+
passingSchemas: passing0
|
947
|
+
},
|
948
|
+
message: "must match exactly one schema in oneOf"
|
949
|
+
};
|
950
|
+
if (vErrors === null) {
|
951
|
+
vErrors = [err3];
|
952
|
+
}
|
953
|
+
else {
|
954
|
+
vErrors.push(err3);
|
955
|
+
}
|
956
|
+
errors++;
|
957
|
+
}
|
958
|
+
else {
|
959
|
+
errors = _errs0;
|
960
|
+
if (vErrors !== null) {
|
961
|
+
if (_errs0) {
|
962
|
+
vErrors.length = _errs0;
|
963
|
+
}
|
964
|
+
else {
|
965
|
+
vErrors = null;
|
966
|
+
}
|
967
|
+
}
|
968
|
+
}
|
969
|
+
validate70.errors = vErrors;
|
970
|
+
return errors === 0;
|
971
|
+
}
|
972
|
+
function validate79(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
973
|
+
let vErrors = null;
|
974
|
+
let errors = 0;
|
975
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
976
|
+
for (const key0 in data) {
|
977
|
+
if (!(((((((key0 === "alignment") || (key0 === "verticalAlignment")) || (key0 === "width")) || (key0 === "wrapWord")) || (key0 === "truncate")) || (key0 === "paddingLeft")) || (key0 === "paddingRight"))) {
|
978
|
+
const err0 = {
|
979
|
+
instancePath,
|
980
|
+
schemaPath: "#/additionalProperties",
|
981
|
+
keyword: "additionalProperties",
|
982
|
+
params: {
|
983
|
+
additionalProperty: key0
|
984
|
+
},
|
985
|
+
message: "must NOT have additional properties"
|
986
|
+
};
|
987
|
+
if (vErrors === null) {
|
988
|
+
vErrors = [err0];
|
989
|
+
}
|
990
|
+
else {
|
991
|
+
vErrors.push(err0);
|
992
|
+
}
|
993
|
+
errors++;
|
994
|
+
}
|
995
|
+
}
|
996
|
+
if (data.alignment !== undefined) {
|
997
|
+
if (!(validate72(data.alignment, {
|
998
|
+
instancePath: instancePath + "/alignment",
|
999
|
+
parentData: data,
|
1000
|
+
parentDataProperty: "alignment",
|
1001
|
+
rootData
|
1002
|
+
}))) {
|
1003
|
+
vErrors = vErrors === null ? validate72.errors : vErrors.concat(validate72.errors);
|
1004
|
+
errors = vErrors.length;
|
1005
|
+
}
|
1006
|
+
}
|
1007
|
+
if (data.verticalAlignment !== undefined) {
|
1008
|
+
if (!(validate74(data.verticalAlignment, {
|
1009
|
+
instancePath: instancePath + "/verticalAlignment",
|
1010
|
+
parentData: data,
|
1011
|
+
parentDataProperty: "verticalAlignment",
|
1012
|
+
rootData
|
1013
|
+
}))) {
|
1014
|
+
vErrors = vErrors === null ? validate74.errors : vErrors.concat(validate74.errors);
|
1015
|
+
errors = vErrors.length;
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
if (data.width !== undefined) {
|
1019
|
+
let data2 = data.width;
|
1020
|
+
if (!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))) {
|
1021
|
+
const err1 = {
|
1022
|
+
instancePath: instancePath + "/width",
|
1023
|
+
schemaPath: "#/properties/width/type",
|
1024
|
+
keyword: "type",
|
1025
|
+
params: {
|
1026
|
+
type: "integer"
|
1027
|
+
},
|
1028
|
+
message: "must be integer"
|
1029
|
+
};
|
1030
|
+
if (vErrors === null) {
|
1031
|
+
vErrors = [err1];
|
1032
|
+
}
|
1033
|
+
else {
|
1034
|
+
vErrors.push(err1);
|
1035
|
+
}
|
1036
|
+
errors++;
|
1037
|
+
}
|
1038
|
+
if ((typeof data2 == "number") && (isFinite(data2))) {
|
1039
|
+
if (data2 < 1 || isNaN(data2)) {
|
1040
|
+
const err2 = {
|
1041
|
+
instancePath: instancePath + "/width",
|
1042
|
+
schemaPath: "#/properties/width/minimum",
|
1043
|
+
keyword: "minimum",
|
1044
|
+
params: {
|
1045
|
+
comparison: ">=",
|
1046
|
+
limit: 1
|
1047
|
+
},
|
1048
|
+
message: "must be >= 1"
|
1049
|
+
};
|
1050
|
+
if (vErrors === null) {
|
1051
|
+
vErrors = [err2];
|
1052
|
+
}
|
1053
|
+
else {
|
1054
|
+
vErrors.push(err2);
|
1055
|
+
}
|
1056
|
+
errors++;
|
1057
|
+
}
|
1058
|
+
}
|
1059
|
+
}
|
1060
|
+
if (data.wrapWord !== undefined) {
|
1061
|
+
if (typeof data.wrapWord !== "boolean") {
|
1062
|
+
const err3 = {
|
1063
|
+
instancePath: instancePath + "/wrapWord",
|
1064
|
+
schemaPath: "#/properties/wrapWord/type",
|
1065
|
+
keyword: "type",
|
1066
|
+
params: {
|
1067
|
+
type: "boolean"
|
1068
|
+
},
|
1069
|
+
message: "must be boolean"
|
1070
|
+
};
|
1071
|
+
if (vErrors === null) {
|
1072
|
+
vErrors = [err3];
|
1073
|
+
}
|
1074
|
+
else {
|
1075
|
+
vErrors.push(err3);
|
1076
|
+
}
|
1077
|
+
errors++;
|
1078
|
+
}
|
1079
|
+
}
|
1080
|
+
if (data.truncate !== undefined) {
|
1081
|
+
let data4 = data.truncate;
|
1082
|
+
if (!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))) {
|
1083
|
+
const err4 = {
|
1084
|
+
instancePath: instancePath + "/truncate",
|
1085
|
+
schemaPath: "#/properties/truncate/type",
|
1086
|
+
keyword: "type",
|
1087
|
+
params: {
|
1088
|
+
type: "integer"
|
1089
|
+
},
|
1090
|
+
message: "must be integer"
|
1091
|
+
};
|
1092
|
+
if (vErrors === null) {
|
1093
|
+
vErrors = [err4];
|
1094
|
+
}
|
1095
|
+
else {
|
1096
|
+
vErrors.push(err4);
|
1097
|
+
}
|
1098
|
+
errors++;
|
1099
|
+
}
|
1100
|
+
}
|
1101
|
+
if (data.paddingLeft !== undefined) {
|
1102
|
+
let data5 = data.paddingLeft;
|
1103
|
+
if (!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))) {
|
1104
|
+
const err5 = {
|
1105
|
+
instancePath: instancePath + "/paddingLeft",
|
1106
|
+
schemaPath: "#/properties/paddingLeft/type",
|
1107
|
+
keyword: "type",
|
1108
|
+
params: {
|
1109
|
+
type: "integer"
|
1110
|
+
},
|
1111
|
+
message: "must be integer"
|
1112
|
+
};
|
1113
|
+
if (vErrors === null) {
|
1114
|
+
vErrors = [err5];
|
1115
|
+
}
|
1116
|
+
else {
|
1117
|
+
vErrors.push(err5);
|
1118
|
+
}
|
1119
|
+
errors++;
|
1120
|
+
}
|
1121
|
+
}
|
1122
|
+
if (data.paddingRight !== undefined) {
|
1123
|
+
let data6 = data.paddingRight;
|
1124
|
+
if (!(((typeof data6 == "number") && (!(data6 % 1) && !isNaN(data6))) && (isFinite(data6)))) {
|
1125
|
+
const err6 = {
|
1126
|
+
instancePath: instancePath + "/paddingRight",
|
1127
|
+
schemaPath: "#/properties/paddingRight/type",
|
1128
|
+
keyword: "type",
|
1129
|
+
params: {
|
1130
|
+
type: "integer"
|
1131
|
+
},
|
1132
|
+
message: "must be integer"
|
1133
|
+
};
|
1134
|
+
if (vErrors === null) {
|
1135
|
+
vErrors = [err6];
|
1136
|
+
}
|
1137
|
+
else {
|
1138
|
+
vErrors.push(err6);
|
1139
|
+
}
|
1140
|
+
errors++;
|
1141
|
+
}
|
1142
|
+
}
|
1143
|
+
}
|
1144
|
+
else {
|
1145
|
+
const err7 = {
|
1146
|
+
instancePath,
|
1147
|
+
schemaPath: "#/type",
|
1148
|
+
keyword: "type",
|
1149
|
+
params: {
|
1150
|
+
type: "object"
|
1151
|
+
},
|
1152
|
+
message: "must be object"
|
1153
|
+
};
|
1154
|
+
if (vErrors === null) {
|
1155
|
+
vErrors = [err7];
|
1156
|
+
}
|
1157
|
+
else {
|
1158
|
+
vErrors.push(err7);
|
1159
|
+
}
|
1160
|
+
errors++;
|
1161
|
+
}
|
1162
|
+
validate79.errors = vErrors;
|
1163
|
+
return errors === 0;
|
1164
|
+
}
|
1165
|
+
function validate84(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
1166
|
+
let vErrors = null;
|
1167
|
+
let errors = 0;
|
1168
|
+
if (typeof data !== "string") {
|
1169
|
+
const err0 = {
|
1170
|
+
instancePath,
|
1171
|
+
schemaPath: "#/type",
|
1172
|
+
keyword: "type",
|
1173
|
+
params: {
|
1174
|
+
type: "string"
|
1175
|
+
},
|
1176
|
+
message: "must be string"
|
1177
|
+
};
|
1178
|
+
if (vErrors === null) {
|
1179
|
+
vErrors = [err0];
|
1180
|
+
}
|
1181
|
+
else {
|
1182
|
+
vErrors.push(err0);
|
1183
|
+
}
|
1184
|
+
errors++;
|
1185
|
+
}
|
1186
|
+
if (!(((data === "top") || (data === "middle")) || (data === "bottom"))) {
|
1187
|
+
const err1 = {
|
1188
|
+
instancePath,
|
1189
|
+
schemaPath: "#/enum",
|
1190
|
+
keyword: "enum",
|
1191
|
+
params: {
|
1192
|
+
allowedValues: schema21.enum
|
1193
|
+
},
|
1194
|
+
message: "must be equal to one of the allowed values"
|
1195
|
+
};
|
1196
|
+
if (vErrors === null) {
|
1197
|
+
vErrors = [err1];
|
1198
|
+
}
|
1199
|
+
else {
|
1200
|
+
vErrors.push(err1);
|
1201
|
+
}
|
1202
|
+
errors++;
|
1203
|
+
}
|
1204
|
+
validate84.errors = vErrors;
|
1205
|
+
return errors === 0;
|
1206
|
+
}
|
1207
|
+
function validate43(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
1208
|
+
/*# sourceURL="config.json" */ ;
|
1209
|
+
let vErrors = null;
|
1210
|
+
let errors = 0;
|
1211
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
1212
|
+
for (const key0 in data) {
|
1213
|
+
if (!((((((((key0 === "border") || (key0 === "header")) || (key0 === "columns")) || (key0 === "columnDefault")) || (key0 === "drawVerticalLine")) || (key0 === "drawHorizontalLine")) || (key0 === "singleLine")) || (key0 === "spanningCells"))) {
|
1214
|
+
const err0 = {
|
1215
|
+
instancePath,
|
1216
|
+
schemaPath: "#/additionalProperties",
|
1217
|
+
keyword: "additionalProperties",
|
1218
|
+
params: {
|
1219
|
+
additionalProperty: key0
|
1220
|
+
},
|
1221
|
+
message: "must NOT have additional properties"
|
1222
|
+
};
|
1223
|
+
if (vErrors === null) {
|
1224
|
+
vErrors = [err0];
|
1225
|
+
}
|
1226
|
+
else {
|
1227
|
+
vErrors.push(err0);
|
1228
|
+
}
|
1229
|
+
errors++;
|
1230
|
+
}
|
1231
|
+
}
|
1232
|
+
if (data.border !== undefined) {
|
1233
|
+
if (!(validate45(data.border, {
|
1234
|
+
instancePath: instancePath + "/border",
|
1235
|
+
parentData: data,
|
1236
|
+
parentDataProperty: "border",
|
1237
|
+
rootData
|
1238
|
+
}))) {
|
1239
|
+
vErrors = vErrors === null ? validate45.errors : vErrors.concat(validate45.errors);
|
1240
|
+
errors = vErrors.length;
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
if (data.header !== undefined) {
|
1244
|
+
let data1 = data.header;
|
1245
|
+
if (data1 && typeof data1 == "object" && !Array.isArray(data1)) {
|
1246
|
+
if (data1.content === undefined) {
|
1247
|
+
const err1 = {
|
1248
|
+
instancePath: instancePath + "/header",
|
1249
|
+
schemaPath: "#/properties/header/required",
|
1250
|
+
keyword: "required",
|
1251
|
+
params: {
|
1252
|
+
missingProperty: "content"
|
1253
|
+
},
|
1254
|
+
message: "must have required property '" + "content" + "'"
|
1255
|
+
};
|
1256
|
+
if (vErrors === null) {
|
1257
|
+
vErrors = [err1];
|
1258
|
+
}
|
1259
|
+
else {
|
1260
|
+
vErrors.push(err1);
|
1261
|
+
}
|
1262
|
+
errors++;
|
1263
|
+
}
|
1264
|
+
for (const key1 in data1) {
|
1265
|
+
if (!((((((key1 === "content") || (key1 === "alignment")) || (key1 === "wrapWord")) || (key1 === "truncate")) || (key1 === "paddingLeft")) || (key1 === "paddingRight"))) {
|
1266
|
+
const err2 = {
|
1267
|
+
instancePath: instancePath + "/header",
|
1268
|
+
schemaPath: "#/properties/header/additionalProperties",
|
1269
|
+
keyword: "additionalProperties",
|
1270
|
+
params: {
|
1271
|
+
additionalProperty: key1
|
1272
|
+
},
|
1273
|
+
message: "must NOT have additional properties"
|
1274
|
+
};
|
1275
|
+
if (vErrors === null) {
|
1276
|
+
vErrors = [err2];
|
1277
|
+
}
|
1278
|
+
else {
|
1279
|
+
vErrors.push(err2);
|
1280
|
+
}
|
1281
|
+
errors++;
|
1282
|
+
}
|
1283
|
+
}
|
1284
|
+
if (data1.content !== undefined) {
|
1285
|
+
if (typeof data1.content !== "string") {
|
1286
|
+
const err3 = {
|
1287
|
+
instancePath: instancePath + "/header/content",
|
1288
|
+
schemaPath: "#/properties/header/properties/content/type",
|
1289
|
+
keyword: "type",
|
1290
|
+
params: {
|
1291
|
+
type: "string"
|
1292
|
+
},
|
1293
|
+
message: "must be string"
|
1294
|
+
};
|
1295
|
+
if (vErrors === null) {
|
1296
|
+
vErrors = [err3];
|
1297
|
+
}
|
1298
|
+
else {
|
1299
|
+
vErrors.push(err3);
|
1300
|
+
}
|
1301
|
+
errors++;
|
1302
|
+
}
|
1303
|
+
}
|
1304
|
+
if (data1.alignment !== undefined) {
|
1305
|
+
if (!(validate68(data1.alignment, {
|
1306
|
+
instancePath: instancePath + "/header/alignment",
|
1307
|
+
parentData: data1,
|
1308
|
+
parentDataProperty: "alignment",
|
1309
|
+
rootData
|
1310
|
+
}))) {
|
1311
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
1312
|
+
errors = vErrors.length;
|
1313
|
+
}
|
1314
|
+
}
|
1315
|
+
if (data1.wrapWord !== undefined) {
|
1316
|
+
if (typeof data1.wrapWord !== "boolean") {
|
1317
|
+
const err4 = {
|
1318
|
+
instancePath: instancePath + "/header/wrapWord",
|
1319
|
+
schemaPath: "#/properties/header/properties/wrapWord/type",
|
1320
|
+
keyword: "type",
|
1321
|
+
params: {
|
1322
|
+
type: "boolean"
|
1323
|
+
},
|
1324
|
+
message: "must be boolean"
|
1325
|
+
};
|
1326
|
+
if (vErrors === null) {
|
1327
|
+
vErrors = [err4];
|
1328
|
+
}
|
1329
|
+
else {
|
1330
|
+
vErrors.push(err4);
|
1331
|
+
}
|
1332
|
+
errors++;
|
1333
|
+
}
|
1334
|
+
}
|
1335
|
+
if (data1.truncate !== undefined) {
|
1336
|
+
let data5 = data1.truncate;
|
1337
|
+
if (!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))) {
|
1338
|
+
const err5 = {
|
1339
|
+
instancePath: instancePath + "/header/truncate",
|
1340
|
+
schemaPath: "#/properties/header/properties/truncate/type",
|
1341
|
+
keyword: "type",
|
1342
|
+
params: {
|
1343
|
+
type: "integer"
|
1344
|
+
},
|
1345
|
+
message: "must be integer"
|
1346
|
+
};
|
1347
|
+
if (vErrors === null) {
|
1348
|
+
vErrors = [err5];
|
1349
|
+
}
|
1350
|
+
else {
|
1351
|
+
vErrors.push(err5);
|
1352
|
+
}
|
1353
|
+
errors++;
|
1354
|
+
}
|
1355
|
+
}
|
1356
|
+
if (data1.paddingLeft !== undefined) {
|
1357
|
+
let data6 = data1.paddingLeft;
|
1358
|
+
if (!(((typeof data6 == "number") && (!(data6 % 1) && !isNaN(data6))) && (isFinite(data6)))) {
|
1359
|
+
const err6 = {
|
1360
|
+
instancePath: instancePath + "/header/paddingLeft",
|
1361
|
+
schemaPath: "#/properties/header/properties/paddingLeft/type",
|
1362
|
+
keyword: "type",
|
1363
|
+
params: {
|
1364
|
+
type: "integer"
|
1365
|
+
},
|
1366
|
+
message: "must be integer"
|
1367
|
+
};
|
1368
|
+
if (vErrors === null) {
|
1369
|
+
vErrors = [err6];
|
1370
|
+
}
|
1371
|
+
else {
|
1372
|
+
vErrors.push(err6);
|
1373
|
+
}
|
1374
|
+
errors++;
|
1375
|
+
}
|
1376
|
+
}
|
1377
|
+
if (data1.paddingRight !== undefined) {
|
1378
|
+
let data7 = data1.paddingRight;
|
1379
|
+
if (!(((typeof data7 == "number") && (!(data7 % 1) && !isNaN(data7))) && (isFinite(data7)))) {
|
1380
|
+
const err7 = {
|
1381
|
+
instancePath: instancePath + "/header/paddingRight",
|
1382
|
+
schemaPath: "#/properties/header/properties/paddingRight/type",
|
1383
|
+
keyword: "type",
|
1384
|
+
params: {
|
1385
|
+
type: "integer"
|
1386
|
+
},
|
1387
|
+
message: "must be integer"
|
1388
|
+
};
|
1389
|
+
if (vErrors === null) {
|
1390
|
+
vErrors = [err7];
|
1391
|
+
}
|
1392
|
+
else {
|
1393
|
+
vErrors.push(err7);
|
1394
|
+
}
|
1395
|
+
errors++;
|
1396
|
+
}
|
1397
|
+
}
|
1398
|
+
}
|
1399
|
+
else {
|
1400
|
+
const err8 = {
|
1401
|
+
instancePath: instancePath + "/header",
|
1402
|
+
schemaPath: "#/properties/header/type",
|
1403
|
+
keyword: "type",
|
1404
|
+
params: {
|
1405
|
+
type: "object"
|
1406
|
+
},
|
1407
|
+
message: "must be object"
|
1408
|
+
};
|
1409
|
+
if (vErrors === null) {
|
1410
|
+
vErrors = [err8];
|
1411
|
+
}
|
1412
|
+
else {
|
1413
|
+
vErrors.push(err8);
|
1414
|
+
}
|
1415
|
+
errors++;
|
1416
|
+
}
|
1417
|
+
}
|
1418
|
+
if (data.columns !== undefined) {
|
1419
|
+
if (!(validate70(data.columns, {
|
1420
|
+
instancePath: instancePath + "/columns",
|
1421
|
+
parentData: data,
|
1422
|
+
parentDataProperty: "columns",
|
1423
|
+
rootData
|
1424
|
+
}))) {
|
1425
|
+
vErrors = vErrors === null ? validate70.errors : vErrors.concat(validate70.errors);
|
1426
|
+
errors = vErrors.length;
|
1427
|
+
}
|
1428
|
+
}
|
1429
|
+
if (data.columnDefault !== undefined) {
|
1430
|
+
if (!(validate79(data.columnDefault, {
|
1431
|
+
instancePath: instancePath + "/columnDefault",
|
1432
|
+
parentData: data,
|
1433
|
+
parentDataProperty: "columnDefault",
|
1434
|
+
rootData
|
1435
|
+
}))) {
|
1436
|
+
vErrors = vErrors === null ? validate79.errors : vErrors.concat(validate79.errors);
|
1437
|
+
errors = vErrors.length;
|
1438
|
+
}
|
1439
|
+
}
|
1440
|
+
if (data.drawVerticalLine !== undefined) {
|
1441
|
+
if (typeof data.drawVerticalLine != "function") {
|
1442
|
+
const err9 = {
|
1443
|
+
instancePath: instancePath + "/drawVerticalLine",
|
1444
|
+
schemaPath: "#/properties/drawVerticalLine/typeof",
|
1445
|
+
keyword: "typeof",
|
1446
|
+
params: {},
|
1447
|
+
message: "must pass \"typeof\" keyword validation"
|
1448
|
+
};
|
1449
|
+
if (vErrors === null) {
|
1450
|
+
vErrors = [err9];
|
1451
|
+
}
|
1452
|
+
else {
|
1453
|
+
vErrors.push(err9);
|
1454
|
+
}
|
1455
|
+
errors++;
|
1456
|
+
}
|
1457
|
+
}
|
1458
|
+
if (data.drawHorizontalLine !== undefined) {
|
1459
|
+
if (typeof data.drawHorizontalLine != "function") {
|
1460
|
+
const err10 = {
|
1461
|
+
instancePath: instancePath + "/drawHorizontalLine",
|
1462
|
+
schemaPath: "#/properties/drawHorizontalLine/typeof",
|
1463
|
+
keyword: "typeof",
|
1464
|
+
params: {},
|
1465
|
+
message: "must pass \"typeof\" keyword validation"
|
1466
|
+
};
|
1467
|
+
if (vErrors === null) {
|
1468
|
+
vErrors = [err10];
|
1469
|
+
}
|
1470
|
+
else {
|
1471
|
+
vErrors.push(err10);
|
1472
|
+
}
|
1473
|
+
errors++;
|
1474
|
+
}
|
1475
|
+
}
|
1476
|
+
if (data.singleLine !== undefined) {
|
1477
|
+
if (typeof data.singleLine != "boolean") {
|
1478
|
+
const err11 = {
|
1479
|
+
instancePath: instancePath + "/singleLine",
|
1480
|
+
schemaPath: "#/properties/singleLine/typeof",
|
1481
|
+
keyword: "typeof",
|
1482
|
+
params: {},
|
1483
|
+
message: "must pass \"typeof\" keyword validation"
|
1484
|
+
};
|
1485
|
+
if (vErrors === null) {
|
1486
|
+
vErrors = [err11];
|
1487
|
+
}
|
1488
|
+
else {
|
1489
|
+
vErrors.push(err11);
|
1490
|
+
}
|
1491
|
+
errors++;
|
1492
|
+
}
|
1493
|
+
}
|
1494
|
+
if (data.spanningCells !== undefined) {
|
1495
|
+
let data13 = data.spanningCells;
|
1496
|
+
if (Array.isArray(data13)) {
|
1497
|
+
const len0 = data13.length;
|
1498
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
1499
|
+
let data14 = data13[i0];
|
1500
|
+
if (data14 && typeof data14 == "object" && !Array.isArray(data14)) {
|
1501
|
+
if (data14.row === undefined) {
|
1502
|
+
const err12 = {
|
1503
|
+
instancePath: instancePath + "/spanningCells/" + i0,
|
1504
|
+
schemaPath: "#/properties/spanningCells/items/required",
|
1505
|
+
keyword: "required",
|
1506
|
+
params: {
|
1507
|
+
missingProperty: "row"
|
1508
|
+
},
|
1509
|
+
message: "must have required property '" + "row" + "'"
|
1510
|
+
};
|
1511
|
+
if (vErrors === null) {
|
1512
|
+
vErrors = [err12];
|
1513
|
+
}
|
1514
|
+
else {
|
1515
|
+
vErrors.push(err12);
|
1516
|
+
}
|
1517
|
+
errors++;
|
1518
|
+
}
|
1519
|
+
if (data14.col === undefined) {
|
1520
|
+
const err13 = {
|
1521
|
+
instancePath: instancePath + "/spanningCells/" + i0,
|
1522
|
+
schemaPath: "#/properties/spanningCells/items/required",
|
1523
|
+
keyword: "required",
|
1524
|
+
params: {
|
1525
|
+
missingProperty: "col"
|
1526
|
+
},
|
1527
|
+
message: "must have required property '" + "col" + "'"
|
1528
|
+
};
|
1529
|
+
if (vErrors === null) {
|
1530
|
+
vErrors = [err13];
|
1531
|
+
}
|
1532
|
+
else {
|
1533
|
+
vErrors.push(err13);
|
1534
|
+
}
|
1535
|
+
errors++;
|
1536
|
+
}
|
1537
|
+
for (const key2 in data14) {
|
1538
|
+
if (!(func8.call(schema13.properties.spanningCells.items.properties, key2))) {
|
1539
|
+
const err14 = {
|
1540
|
+
instancePath: instancePath + "/spanningCells/" + i0,
|
1541
|
+
schemaPath: "#/properties/spanningCells/items/additionalProperties",
|
1542
|
+
keyword: "additionalProperties",
|
1543
|
+
params: {
|
1544
|
+
additionalProperty: key2
|
1545
|
+
},
|
1546
|
+
message: "must NOT have additional properties"
|
1547
|
+
};
|
1548
|
+
if (vErrors === null) {
|
1549
|
+
vErrors = [err14];
|
1550
|
+
}
|
1551
|
+
else {
|
1552
|
+
vErrors.push(err14);
|
1553
|
+
}
|
1554
|
+
errors++;
|
1555
|
+
}
|
1556
|
+
}
|
1557
|
+
if (data14.col !== undefined) {
|
1558
|
+
let data15 = data14.col;
|
1559
|
+
if (!(((typeof data15 == "number") && (!(data15 % 1) && !isNaN(data15))) && (isFinite(data15)))) {
|
1560
|
+
const err15 = {
|
1561
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/col",
|
1562
|
+
schemaPath: "#/properties/spanningCells/items/properties/col/type",
|
1563
|
+
keyword: "type",
|
1564
|
+
params: {
|
1565
|
+
type: "integer"
|
1566
|
+
},
|
1567
|
+
message: "must be integer"
|
1568
|
+
};
|
1569
|
+
if (vErrors === null) {
|
1570
|
+
vErrors = [err15];
|
1571
|
+
}
|
1572
|
+
else {
|
1573
|
+
vErrors.push(err15);
|
1574
|
+
}
|
1575
|
+
errors++;
|
1576
|
+
}
|
1577
|
+
if ((typeof data15 == "number") && (isFinite(data15))) {
|
1578
|
+
if (data15 < 0 || isNaN(data15)) {
|
1579
|
+
const err16 = {
|
1580
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/col",
|
1581
|
+
schemaPath: "#/properties/spanningCells/items/properties/col/minimum",
|
1582
|
+
keyword: "minimum",
|
1583
|
+
params: {
|
1584
|
+
comparison: ">=",
|
1585
|
+
limit: 0
|
1586
|
+
},
|
1587
|
+
message: "must be >= 0"
|
1588
|
+
};
|
1589
|
+
if (vErrors === null) {
|
1590
|
+
vErrors = [err16];
|
1591
|
+
}
|
1592
|
+
else {
|
1593
|
+
vErrors.push(err16);
|
1594
|
+
}
|
1595
|
+
errors++;
|
1596
|
+
}
|
1597
|
+
}
|
1598
|
+
}
|
1599
|
+
if (data14.row !== undefined) {
|
1600
|
+
let data16 = data14.row;
|
1601
|
+
if (!(((typeof data16 == "number") && (!(data16 % 1) && !isNaN(data16))) && (isFinite(data16)))) {
|
1602
|
+
const err17 = {
|
1603
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/row",
|
1604
|
+
schemaPath: "#/properties/spanningCells/items/properties/row/type",
|
1605
|
+
keyword: "type",
|
1606
|
+
params: {
|
1607
|
+
type: "integer"
|
1608
|
+
},
|
1609
|
+
message: "must be integer"
|
1610
|
+
};
|
1611
|
+
if (vErrors === null) {
|
1612
|
+
vErrors = [err17];
|
1613
|
+
}
|
1614
|
+
else {
|
1615
|
+
vErrors.push(err17);
|
1616
|
+
}
|
1617
|
+
errors++;
|
1618
|
+
}
|
1619
|
+
if ((typeof data16 == "number") && (isFinite(data16))) {
|
1620
|
+
if (data16 < 0 || isNaN(data16)) {
|
1621
|
+
const err18 = {
|
1622
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/row",
|
1623
|
+
schemaPath: "#/properties/spanningCells/items/properties/row/minimum",
|
1624
|
+
keyword: "minimum",
|
1625
|
+
params: {
|
1626
|
+
comparison: ">=",
|
1627
|
+
limit: 0
|
1628
|
+
},
|
1629
|
+
message: "must be >= 0"
|
1630
|
+
};
|
1631
|
+
if (vErrors === null) {
|
1632
|
+
vErrors = [err18];
|
1633
|
+
}
|
1634
|
+
else {
|
1635
|
+
vErrors.push(err18);
|
1636
|
+
}
|
1637
|
+
errors++;
|
1638
|
+
}
|
1639
|
+
}
|
1640
|
+
}
|
1641
|
+
if (data14.colSpan !== undefined) {
|
1642
|
+
let data17 = data14.colSpan;
|
1643
|
+
if (!(((typeof data17 == "number") && (!(data17 % 1) && !isNaN(data17))) && (isFinite(data17)))) {
|
1644
|
+
const err19 = {
|
1645
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/colSpan",
|
1646
|
+
schemaPath: "#/properties/spanningCells/items/properties/colSpan/type",
|
1647
|
+
keyword: "type",
|
1648
|
+
params: {
|
1649
|
+
type: "integer"
|
1650
|
+
},
|
1651
|
+
message: "must be integer"
|
1652
|
+
};
|
1653
|
+
if (vErrors === null) {
|
1654
|
+
vErrors = [err19];
|
1655
|
+
}
|
1656
|
+
else {
|
1657
|
+
vErrors.push(err19);
|
1658
|
+
}
|
1659
|
+
errors++;
|
1660
|
+
}
|
1661
|
+
if ((typeof data17 == "number") && (isFinite(data17))) {
|
1662
|
+
if (data17 < 1 || isNaN(data17)) {
|
1663
|
+
const err20 = {
|
1664
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/colSpan",
|
1665
|
+
schemaPath: "#/properties/spanningCells/items/properties/colSpan/minimum",
|
1666
|
+
keyword: "minimum",
|
1667
|
+
params: {
|
1668
|
+
comparison: ">=",
|
1669
|
+
limit: 1
|
1670
|
+
},
|
1671
|
+
message: "must be >= 1"
|
1672
|
+
};
|
1673
|
+
if (vErrors === null) {
|
1674
|
+
vErrors = [err20];
|
1675
|
+
}
|
1676
|
+
else {
|
1677
|
+
vErrors.push(err20);
|
1678
|
+
}
|
1679
|
+
errors++;
|
1680
|
+
}
|
1681
|
+
}
|
1682
|
+
}
|
1683
|
+
if (data14.rowSpan !== undefined) {
|
1684
|
+
let data18 = data14.rowSpan;
|
1685
|
+
if (!(((typeof data18 == "number") && (!(data18 % 1) && !isNaN(data18))) && (isFinite(data18)))) {
|
1686
|
+
const err21 = {
|
1687
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/rowSpan",
|
1688
|
+
schemaPath: "#/properties/spanningCells/items/properties/rowSpan/type",
|
1689
|
+
keyword: "type",
|
1690
|
+
params: {
|
1691
|
+
type: "integer"
|
1692
|
+
},
|
1693
|
+
message: "must be integer"
|
1694
|
+
};
|
1695
|
+
if (vErrors === null) {
|
1696
|
+
vErrors = [err21];
|
1697
|
+
}
|
1698
|
+
else {
|
1699
|
+
vErrors.push(err21);
|
1700
|
+
}
|
1701
|
+
errors++;
|
1702
|
+
}
|
1703
|
+
if ((typeof data18 == "number") && (isFinite(data18))) {
|
1704
|
+
if (data18 < 1 || isNaN(data18)) {
|
1705
|
+
const err22 = {
|
1706
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/rowSpan",
|
1707
|
+
schemaPath: "#/properties/spanningCells/items/properties/rowSpan/minimum",
|
1708
|
+
keyword: "minimum",
|
1709
|
+
params: {
|
1710
|
+
comparison: ">=",
|
1711
|
+
limit: 1
|
1712
|
+
},
|
1713
|
+
message: "must be >= 1"
|
1714
|
+
};
|
1715
|
+
if (vErrors === null) {
|
1716
|
+
vErrors = [err22];
|
1717
|
+
}
|
1718
|
+
else {
|
1719
|
+
vErrors.push(err22);
|
1720
|
+
}
|
1721
|
+
errors++;
|
1722
|
+
}
|
1723
|
+
}
|
1724
|
+
}
|
1725
|
+
if (data14.alignment !== undefined) {
|
1726
|
+
if (!(validate68(data14.alignment, {
|
1727
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/alignment",
|
1728
|
+
parentData: data14,
|
1729
|
+
parentDataProperty: "alignment",
|
1730
|
+
rootData
|
1731
|
+
}))) {
|
1732
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
1733
|
+
errors = vErrors.length;
|
1734
|
+
}
|
1735
|
+
}
|
1736
|
+
if (data14.verticalAlignment !== undefined) {
|
1737
|
+
if (!(validate84(data14.verticalAlignment, {
|
1738
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/verticalAlignment",
|
1739
|
+
parentData: data14,
|
1740
|
+
parentDataProperty: "verticalAlignment",
|
1741
|
+
rootData
|
1742
|
+
}))) {
|
1743
|
+
vErrors = vErrors === null ? validate84.errors : vErrors.concat(validate84.errors);
|
1744
|
+
errors = vErrors.length;
|
1745
|
+
}
|
1746
|
+
}
|
1747
|
+
if (data14.wrapWord !== undefined) {
|
1748
|
+
if (typeof data14.wrapWord !== "boolean") {
|
1749
|
+
const err23 = {
|
1750
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/wrapWord",
|
1751
|
+
schemaPath: "#/properties/spanningCells/items/properties/wrapWord/type",
|
1752
|
+
keyword: "type",
|
1753
|
+
params: {
|
1754
|
+
type: "boolean"
|
1755
|
+
},
|
1756
|
+
message: "must be boolean"
|
1757
|
+
};
|
1758
|
+
if (vErrors === null) {
|
1759
|
+
vErrors = [err23];
|
1760
|
+
}
|
1761
|
+
else {
|
1762
|
+
vErrors.push(err23);
|
1763
|
+
}
|
1764
|
+
errors++;
|
1765
|
+
}
|
1766
|
+
}
|
1767
|
+
if (data14.truncate !== undefined) {
|
1768
|
+
let data22 = data14.truncate;
|
1769
|
+
if (!(((typeof data22 == "number") && (!(data22 % 1) && !isNaN(data22))) && (isFinite(data22)))) {
|
1770
|
+
const err24 = {
|
1771
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/truncate",
|
1772
|
+
schemaPath: "#/properties/spanningCells/items/properties/truncate/type",
|
1773
|
+
keyword: "type",
|
1774
|
+
params: {
|
1775
|
+
type: "integer"
|
1776
|
+
},
|
1777
|
+
message: "must be integer"
|
1778
|
+
};
|
1779
|
+
if (vErrors === null) {
|
1780
|
+
vErrors = [err24];
|
1781
|
+
}
|
1782
|
+
else {
|
1783
|
+
vErrors.push(err24);
|
1784
|
+
}
|
1785
|
+
errors++;
|
1786
|
+
}
|
1787
|
+
}
|
1788
|
+
if (data14.paddingLeft !== undefined) {
|
1789
|
+
let data23 = data14.paddingLeft;
|
1790
|
+
if (!(((typeof data23 == "number") && (!(data23 % 1) && !isNaN(data23))) && (isFinite(data23)))) {
|
1791
|
+
const err25 = {
|
1792
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/paddingLeft",
|
1793
|
+
schemaPath: "#/properties/spanningCells/items/properties/paddingLeft/type",
|
1794
|
+
keyword: "type",
|
1795
|
+
params: {
|
1796
|
+
type: "integer"
|
1797
|
+
},
|
1798
|
+
message: "must be integer"
|
1799
|
+
};
|
1800
|
+
if (vErrors === null) {
|
1801
|
+
vErrors = [err25];
|
1802
|
+
}
|
1803
|
+
else {
|
1804
|
+
vErrors.push(err25);
|
1805
|
+
}
|
1806
|
+
errors++;
|
1807
|
+
}
|
1808
|
+
}
|
1809
|
+
if (data14.paddingRight !== undefined) {
|
1810
|
+
let data24 = data14.paddingRight;
|
1811
|
+
if (!(((typeof data24 == "number") && (!(data24 % 1) && !isNaN(data24))) && (isFinite(data24)))) {
|
1812
|
+
const err26 = {
|
1813
|
+
instancePath: instancePath + "/spanningCells/" + i0 + "/paddingRight",
|
1814
|
+
schemaPath: "#/properties/spanningCells/items/properties/paddingRight/type",
|
1815
|
+
keyword: "type",
|
1816
|
+
params: {
|
1817
|
+
type: "integer"
|
1818
|
+
},
|
1819
|
+
message: "must be integer"
|
1820
|
+
};
|
1821
|
+
if (vErrors === null) {
|
1822
|
+
vErrors = [err26];
|
1823
|
+
}
|
1824
|
+
else {
|
1825
|
+
vErrors.push(err26);
|
1826
|
+
}
|
1827
|
+
errors++;
|
1828
|
+
}
|
1829
|
+
}
|
1830
|
+
}
|
1831
|
+
else {
|
1832
|
+
const err27 = {
|
1833
|
+
instancePath: instancePath + "/spanningCells/" + i0,
|
1834
|
+
schemaPath: "#/properties/spanningCells/items/type",
|
1835
|
+
keyword: "type",
|
1836
|
+
params: {
|
1837
|
+
type: "object"
|
1838
|
+
},
|
1839
|
+
message: "must be object"
|
1840
|
+
};
|
1841
|
+
if (vErrors === null) {
|
1842
|
+
vErrors = [err27];
|
1843
|
+
}
|
1844
|
+
else {
|
1845
|
+
vErrors.push(err27);
|
1846
|
+
}
|
1847
|
+
errors++;
|
1848
|
+
}
|
1849
|
+
}
|
1850
|
+
}
|
1851
|
+
else {
|
1852
|
+
const err28 = {
|
1853
|
+
instancePath: instancePath + "/spanningCells",
|
1854
|
+
schemaPath: "#/properties/spanningCells/type",
|
1855
|
+
keyword: "type",
|
1856
|
+
params: {
|
1857
|
+
type: "array"
|
1858
|
+
},
|
1859
|
+
message: "must be array"
|
1860
|
+
};
|
1861
|
+
if (vErrors === null) {
|
1862
|
+
vErrors = [err28];
|
1863
|
+
}
|
1864
|
+
else {
|
1865
|
+
vErrors.push(err28);
|
1866
|
+
}
|
1867
|
+
errors++;
|
1868
|
+
}
|
1869
|
+
}
|
1870
|
+
}
|
1871
|
+
else {
|
1872
|
+
const err29 = {
|
1873
|
+
instancePath,
|
1874
|
+
schemaPath: "#/type",
|
1875
|
+
keyword: "type",
|
1876
|
+
params: {
|
1877
|
+
type: "object"
|
1878
|
+
},
|
1879
|
+
message: "must be object"
|
1880
|
+
};
|
1881
|
+
if (vErrors === null) {
|
1882
|
+
vErrors = [err29];
|
1883
|
+
}
|
1884
|
+
else {
|
1885
|
+
vErrors.push(err29);
|
1886
|
+
}
|
1887
|
+
errors++;
|
1888
|
+
}
|
1889
|
+
validate43.errors = vErrors;
|
1890
|
+
return errors === 0;
|
1891
|
+
}
|
1892
|
+
exports["streamConfig.json"] = validate86;
|
1893
|
+
const schema24 = {
|
1894
|
+
"$id": "streamConfig.json",
|
1895
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
1896
|
+
"type": "object",
|
1897
|
+
"properties": {
|
1898
|
+
"border": {
|
1899
|
+
"$ref": "shared.json#/definitions/borders"
|
1900
|
+
},
|
1901
|
+
"columns": {
|
1902
|
+
"$ref": "shared.json#/definitions/columns"
|
1903
|
+
},
|
1904
|
+
"columnDefault": {
|
1905
|
+
"$ref": "shared.json#/definitions/column"
|
1906
|
+
},
|
1907
|
+
"columnCount": {
|
1908
|
+
"type": "integer",
|
1909
|
+
"minimum": 1
|
1910
|
+
},
|
1911
|
+
"drawVerticalLine": {
|
1912
|
+
"typeof": "function"
|
1913
|
+
}
|
1914
|
+
},
|
1915
|
+
"required": ["columnDefault", "columnCount"],
|
1916
|
+
"additionalProperties": false
|
1917
|
+
};
|
1918
|
+
function validate87(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
1919
|
+
let vErrors = null;
|
1920
|
+
let errors = 0;
|
1921
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
1922
|
+
for (const key0 in data) {
|
1923
|
+
if (!(func8.call(schema15.properties, key0))) {
|
1924
|
+
const err0 = {
|
1925
|
+
instancePath,
|
1926
|
+
schemaPath: "#/additionalProperties",
|
1927
|
+
keyword: "additionalProperties",
|
1928
|
+
params: {
|
1929
|
+
additionalProperty: key0
|
1930
|
+
},
|
1931
|
+
message: "must NOT have additional properties"
|
1932
|
+
};
|
1933
|
+
if (vErrors === null) {
|
1934
|
+
vErrors = [err0];
|
1935
|
+
}
|
1936
|
+
else {
|
1937
|
+
vErrors.push(err0);
|
1938
|
+
}
|
1939
|
+
errors++;
|
1940
|
+
}
|
1941
|
+
}
|
1942
|
+
if (data.topBody !== undefined) {
|
1943
|
+
if (!(validate46(data.topBody, {
|
1944
|
+
instancePath: instancePath + "/topBody",
|
1945
|
+
parentData: data,
|
1946
|
+
parentDataProperty: "topBody",
|
1947
|
+
rootData
|
1948
|
+
}))) {
|
1949
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
1950
|
+
errors = vErrors.length;
|
1951
|
+
}
|
1952
|
+
}
|
1953
|
+
if (data.topJoin !== undefined) {
|
1954
|
+
if (!(validate46(data.topJoin, {
|
1955
|
+
instancePath: instancePath + "/topJoin",
|
1956
|
+
parentData: data,
|
1957
|
+
parentDataProperty: "topJoin",
|
1958
|
+
rootData
|
1959
|
+
}))) {
|
1960
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
1961
|
+
errors = vErrors.length;
|
1962
|
+
}
|
1963
|
+
}
|
1964
|
+
if (data.topLeft !== undefined) {
|
1965
|
+
if (!(validate46(data.topLeft, {
|
1966
|
+
instancePath: instancePath + "/topLeft",
|
1967
|
+
parentData: data,
|
1968
|
+
parentDataProperty: "topLeft",
|
1969
|
+
rootData
|
1970
|
+
}))) {
|
1971
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
1972
|
+
errors = vErrors.length;
|
1973
|
+
}
|
1974
|
+
}
|
1975
|
+
if (data.topRight !== undefined) {
|
1976
|
+
if (!(validate46(data.topRight, {
|
1977
|
+
instancePath: instancePath + "/topRight",
|
1978
|
+
parentData: data,
|
1979
|
+
parentDataProperty: "topRight",
|
1980
|
+
rootData
|
1981
|
+
}))) {
|
1982
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
1983
|
+
errors = vErrors.length;
|
1984
|
+
}
|
1985
|
+
}
|
1986
|
+
if (data.bottomBody !== undefined) {
|
1987
|
+
if (!(validate46(data.bottomBody, {
|
1988
|
+
instancePath: instancePath + "/bottomBody",
|
1989
|
+
parentData: data,
|
1990
|
+
parentDataProperty: "bottomBody",
|
1991
|
+
rootData
|
1992
|
+
}))) {
|
1993
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
1994
|
+
errors = vErrors.length;
|
1995
|
+
}
|
1996
|
+
}
|
1997
|
+
if (data.bottomJoin !== undefined) {
|
1998
|
+
if (!(validate46(data.bottomJoin, {
|
1999
|
+
instancePath: instancePath + "/bottomJoin",
|
2000
|
+
parentData: data,
|
2001
|
+
parentDataProperty: "bottomJoin",
|
2002
|
+
rootData
|
2003
|
+
}))) {
|
2004
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2005
|
+
errors = vErrors.length;
|
2006
|
+
}
|
2007
|
+
}
|
2008
|
+
if (data.bottomLeft !== undefined) {
|
2009
|
+
if (!(validate46(data.bottomLeft, {
|
2010
|
+
instancePath: instancePath + "/bottomLeft",
|
2011
|
+
parentData: data,
|
2012
|
+
parentDataProperty: "bottomLeft",
|
2013
|
+
rootData
|
2014
|
+
}))) {
|
2015
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2016
|
+
errors = vErrors.length;
|
2017
|
+
}
|
2018
|
+
}
|
2019
|
+
if (data.bottomRight !== undefined) {
|
2020
|
+
if (!(validate46(data.bottomRight, {
|
2021
|
+
instancePath: instancePath + "/bottomRight",
|
2022
|
+
parentData: data,
|
2023
|
+
parentDataProperty: "bottomRight",
|
2024
|
+
rootData
|
2025
|
+
}))) {
|
2026
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2027
|
+
errors = vErrors.length;
|
2028
|
+
}
|
2029
|
+
}
|
2030
|
+
if (data.bodyLeft !== undefined) {
|
2031
|
+
if (!(validate46(data.bodyLeft, {
|
2032
|
+
instancePath: instancePath + "/bodyLeft",
|
2033
|
+
parentData: data,
|
2034
|
+
parentDataProperty: "bodyLeft",
|
2035
|
+
rootData
|
2036
|
+
}))) {
|
2037
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2038
|
+
errors = vErrors.length;
|
2039
|
+
}
|
2040
|
+
}
|
2041
|
+
if (data.bodyRight !== undefined) {
|
2042
|
+
if (!(validate46(data.bodyRight, {
|
2043
|
+
instancePath: instancePath + "/bodyRight",
|
2044
|
+
parentData: data,
|
2045
|
+
parentDataProperty: "bodyRight",
|
2046
|
+
rootData
|
2047
|
+
}))) {
|
2048
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2049
|
+
errors = vErrors.length;
|
2050
|
+
}
|
2051
|
+
}
|
2052
|
+
if (data.bodyJoin !== undefined) {
|
2053
|
+
if (!(validate46(data.bodyJoin, {
|
2054
|
+
instancePath: instancePath + "/bodyJoin",
|
2055
|
+
parentData: data,
|
2056
|
+
parentDataProperty: "bodyJoin",
|
2057
|
+
rootData
|
2058
|
+
}))) {
|
2059
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2060
|
+
errors = vErrors.length;
|
2061
|
+
}
|
2062
|
+
}
|
2063
|
+
if (data.headerJoin !== undefined) {
|
2064
|
+
if (!(validate46(data.headerJoin, {
|
2065
|
+
instancePath: instancePath + "/headerJoin",
|
2066
|
+
parentData: data,
|
2067
|
+
parentDataProperty: "headerJoin",
|
2068
|
+
rootData
|
2069
|
+
}))) {
|
2070
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2071
|
+
errors = vErrors.length;
|
2072
|
+
}
|
2073
|
+
}
|
2074
|
+
if (data.joinBody !== undefined) {
|
2075
|
+
if (!(validate46(data.joinBody, {
|
2076
|
+
instancePath: instancePath + "/joinBody",
|
2077
|
+
parentData: data,
|
2078
|
+
parentDataProperty: "joinBody",
|
2079
|
+
rootData
|
2080
|
+
}))) {
|
2081
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2082
|
+
errors = vErrors.length;
|
2083
|
+
}
|
2084
|
+
}
|
2085
|
+
if (data.joinLeft !== undefined) {
|
2086
|
+
if (!(validate46(data.joinLeft, {
|
2087
|
+
instancePath: instancePath + "/joinLeft",
|
2088
|
+
parentData: data,
|
2089
|
+
parentDataProperty: "joinLeft",
|
2090
|
+
rootData
|
2091
|
+
}))) {
|
2092
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2093
|
+
errors = vErrors.length;
|
2094
|
+
}
|
2095
|
+
}
|
2096
|
+
if (data.joinRight !== undefined) {
|
2097
|
+
if (!(validate46(data.joinRight, {
|
2098
|
+
instancePath: instancePath + "/joinRight",
|
2099
|
+
parentData: data,
|
2100
|
+
parentDataProperty: "joinRight",
|
2101
|
+
rootData
|
2102
|
+
}))) {
|
2103
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2104
|
+
errors = vErrors.length;
|
2105
|
+
}
|
2106
|
+
}
|
2107
|
+
if (data.joinJoin !== undefined) {
|
2108
|
+
if (!(validate46(data.joinJoin, {
|
2109
|
+
instancePath: instancePath + "/joinJoin",
|
2110
|
+
parentData: data,
|
2111
|
+
parentDataProperty: "joinJoin",
|
2112
|
+
rootData
|
2113
|
+
}))) {
|
2114
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2115
|
+
errors = vErrors.length;
|
2116
|
+
}
|
2117
|
+
}
|
2118
|
+
if (data.joinMiddleUp !== undefined) {
|
2119
|
+
if (!(validate46(data.joinMiddleUp, {
|
2120
|
+
instancePath: instancePath + "/joinMiddleUp",
|
2121
|
+
parentData: data,
|
2122
|
+
parentDataProperty: "joinMiddleUp",
|
2123
|
+
rootData
|
2124
|
+
}))) {
|
2125
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2126
|
+
errors = vErrors.length;
|
2127
|
+
}
|
2128
|
+
}
|
2129
|
+
if (data.joinMiddleDown !== undefined) {
|
2130
|
+
if (!(validate46(data.joinMiddleDown, {
|
2131
|
+
instancePath: instancePath + "/joinMiddleDown",
|
2132
|
+
parentData: data,
|
2133
|
+
parentDataProperty: "joinMiddleDown",
|
2134
|
+
rootData
|
2135
|
+
}))) {
|
2136
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2137
|
+
errors = vErrors.length;
|
2138
|
+
}
|
2139
|
+
}
|
2140
|
+
if (data.joinMiddleLeft !== undefined) {
|
2141
|
+
if (!(validate46(data.joinMiddleLeft, {
|
2142
|
+
instancePath: instancePath + "/joinMiddleLeft",
|
2143
|
+
parentData: data,
|
2144
|
+
parentDataProperty: "joinMiddleLeft",
|
2145
|
+
rootData
|
2146
|
+
}))) {
|
2147
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2148
|
+
errors = vErrors.length;
|
2149
|
+
}
|
2150
|
+
}
|
2151
|
+
if (data.joinMiddleRight !== undefined) {
|
2152
|
+
if (!(validate46(data.joinMiddleRight, {
|
2153
|
+
instancePath: instancePath + "/joinMiddleRight",
|
2154
|
+
parentData: data,
|
2155
|
+
parentDataProperty: "joinMiddleRight",
|
2156
|
+
rootData
|
2157
|
+
}))) {
|
2158
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
2159
|
+
errors = vErrors.length;
|
2160
|
+
}
|
2161
|
+
}
|
2162
|
+
}
|
2163
|
+
else {
|
2164
|
+
const err1 = {
|
2165
|
+
instancePath,
|
2166
|
+
schemaPath: "#/type",
|
2167
|
+
keyword: "type",
|
2168
|
+
params: {
|
2169
|
+
type: "object"
|
2170
|
+
},
|
2171
|
+
message: "must be object"
|
2172
|
+
};
|
2173
|
+
if (vErrors === null) {
|
2174
|
+
vErrors = [err1];
|
2175
|
+
}
|
2176
|
+
else {
|
2177
|
+
vErrors.push(err1);
|
2178
|
+
}
|
2179
|
+
errors++;
|
2180
|
+
}
|
2181
|
+
validate87.errors = vErrors;
|
2182
|
+
return errors === 0;
|
2183
|
+
}
|
2184
|
+
function validate109(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
2185
|
+
let vErrors = null;
|
2186
|
+
let errors = 0;
|
2187
|
+
const _errs0 = errors;
|
2188
|
+
let valid0 = false;
|
2189
|
+
let passing0 = null;
|
2190
|
+
const _errs1 = errors;
|
2191
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
2192
|
+
for (const key0 in data) {
|
2193
|
+
if (!(pattern0.test(key0))) {
|
2194
|
+
const err0 = {
|
2195
|
+
instancePath,
|
2196
|
+
schemaPath: "#/oneOf/0/additionalProperties",
|
2197
|
+
keyword: "additionalProperties",
|
2198
|
+
params: {
|
2199
|
+
additionalProperty: key0
|
2200
|
+
},
|
2201
|
+
message: "must NOT have additional properties"
|
2202
|
+
};
|
2203
|
+
if (vErrors === null) {
|
2204
|
+
vErrors = [err0];
|
2205
|
+
}
|
2206
|
+
else {
|
2207
|
+
vErrors.push(err0);
|
2208
|
+
}
|
2209
|
+
errors++;
|
2210
|
+
}
|
2211
|
+
}
|
2212
|
+
for (const key1 in data) {
|
2213
|
+
if (pattern0.test(key1)) {
|
2214
|
+
if (!(validate71(data[key1], {
|
2215
|
+
instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),
|
2216
|
+
parentData: data,
|
2217
|
+
parentDataProperty: key1,
|
2218
|
+
rootData
|
2219
|
+
}))) {
|
2220
|
+
vErrors = vErrors === null ? validate71.errors : vErrors.concat(validate71.errors);
|
2221
|
+
errors = vErrors.length;
|
2222
|
+
}
|
2223
|
+
}
|
2224
|
+
}
|
2225
|
+
}
|
2226
|
+
else {
|
2227
|
+
const err1 = {
|
2228
|
+
instancePath,
|
2229
|
+
schemaPath: "#/oneOf/0/type",
|
2230
|
+
keyword: "type",
|
2231
|
+
params: {
|
2232
|
+
type: "object"
|
2233
|
+
},
|
2234
|
+
message: "must be object"
|
2235
|
+
};
|
2236
|
+
if (vErrors === null) {
|
2237
|
+
vErrors = [err1];
|
2238
|
+
}
|
2239
|
+
else {
|
2240
|
+
vErrors.push(err1);
|
2241
|
+
}
|
2242
|
+
errors++;
|
2243
|
+
}
|
2244
|
+
var _valid0 = _errs1 === errors;
|
2245
|
+
if (_valid0) {
|
2246
|
+
valid0 = true;
|
2247
|
+
passing0 = 0;
|
2248
|
+
}
|
2249
|
+
const _errs5 = errors;
|
2250
|
+
if (Array.isArray(data)) {
|
2251
|
+
const len0 = data.length;
|
2252
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
2253
|
+
if (!(validate71(data[i0], {
|
2254
|
+
instancePath: instancePath + "/" + i0,
|
2255
|
+
parentData: data,
|
2256
|
+
parentDataProperty: i0,
|
2257
|
+
rootData
|
2258
|
+
}))) {
|
2259
|
+
vErrors = vErrors === null ? validate71.errors : vErrors.concat(validate71.errors);
|
2260
|
+
errors = vErrors.length;
|
2261
|
+
}
|
2262
|
+
}
|
2263
|
+
}
|
2264
|
+
else {
|
2265
|
+
const err2 = {
|
2266
|
+
instancePath,
|
2267
|
+
schemaPath: "#/oneOf/1/type",
|
2268
|
+
keyword: "type",
|
2269
|
+
params: {
|
2270
|
+
type: "array"
|
2271
|
+
},
|
2272
|
+
message: "must be array"
|
2273
|
+
};
|
2274
|
+
if (vErrors === null) {
|
2275
|
+
vErrors = [err2];
|
2276
|
+
}
|
2277
|
+
else {
|
2278
|
+
vErrors.push(err2);
|
2279
|
+
}
|
2280
|
+
errors++;
|
2281
|
+
}
|
2282
|
+
var _valid0 = _errs5 === errors;
|
2283
|
+
if (_valid0 && valid0) {
|
2284
|
+
valid0 = false;
|
2285
|
+
passing0 = [passing0, 1];
|
2286
|
+
}
|
2287
|
+
else {
|
2288
|
+
if (_valid0) {
|
2289
|
+
valid0 = true;
|
2290
|
+
passing0 = 1;
|
2291
|
+
}
|
2292
|
+
}
|
2293
|
+
if (!valid0) {
|
2294
|
+
const err3 = {
|
2295
|
+
instancePath,
|
2296
|
+
schemaPath: "#/oneOf",
|
2297
|
+
keyword: "oneOf",
|
2298
|
+
params: {
|
2299
|
+
passingSchemas: passing0
|
2300
|
+
},
|
2301
|
+
message: "must match exactly one schema in oneOf"
|
2302
|
+
};
|
2303
|
+
if (vErrors === null) {
|
2304
|
+
vErrors = [err3];
|
2305
|
+
}
|
2306
|
+
else {
|
2307
|
+
vErrors.push(err3);
|
2308
|
+
}
|
2309
|
+
errors++;
|
2310
|
+
}
|
2311
|
+
else {
|
2312
|
+
errors = _errs0;
|
2313
|
+
if (vErrors !== null) {
|
2314
|
+
if (_errs0) {
|
2315
|
+
vErrors.length = _errs0;
|
2316
|
+
}
|
2317
|
+
else {
|
2318
|
+
vErrors = null;
|
2319
|
+
}
|
2320
|
+
}
|
2321
|
+
}
|
2322
|
+
validate109.errors = vErrors;
|
2323
|
+
return errors === 0;
|
2324
|
+
}
|
2325
|
+
function validate113(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
2326
|
+
let vErrors = null;
|
2327
|
+
let errors = 0;
|
2328
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
2329
|
+
for (const key0 in data) {
|
2330
|
+
if (!(((((((key0 === "alignment") || (key0 === "verticalAlignment")) || (key0 === "width")) || (key0 === "wrapWord")) || (key0 === "truncate")) || (key0 === "paddingLeft")) || (key0 === "paddingRight"))) {
|
2331
|
+
const err0 = {
|
2332
|
+
instancePath,
|
2333
|
+
schemaPath: "#/additionalProperties",
|
2334
|
+
keyword: "additionalProperties",
|
2335
|
+
params: {
|
2336
|
+
additionalProperty: key0
|
2337
|
+
},
|
2338
|
+
message: "must NOT have additional properties"
|
2339
|
+
};
|
2340
|
+
if (vErrors === null) {
|
2341
|
+
vErrors = [err0];
|
2342
|
+
}
|
2343
|
+
else {
|
2344
|
+
vErrors.push(err0);
|
2345
|
+
}
|
2346
|
+
errors++;
|
2347
|
+
}
|
2348
|
+
}
|
2349
|
+
if (data.alignment !== undefined) {
|
2350
|
+
if (!(validate72(data.alignment, {
|
2351
|
+
instancePath: instancePath + "/alignment",
|
2352
|
+
parentData: data,
|
2353
|
+
parentDataProperty: "alignment",
|
2354
|
+
rootData
|
2355
|
+
}))) {
|
2356
|
+
vErrors = vErrors === null ? validate72.errors : vErrors.concat(validate72.errors);
|
2357
|
+
errors = vErrors.length;
|
2358
|
+
}
|
2359
|
+
}
|
2360
|
+
if (data.verticalAlignment !== undefined) {
|
2361
|
+
if (!(validate74(data.verticalAlignment, {
|
2362
|
+
instancePath: instancePath + "/verticalAlignment",
|
2363
|
+
parentData: data,
|
2364
|
+
parentDataProperty: "verticalAlignment",
|
2365
|
+
rootData
|
2366
|
+
}))) {
|
2367
|
+
vErrors = vErrors === null ? validate74.errors : vErrors.concat(validate74.errors);
|
2368
|
+
errors = vErrors.length;
|
2369
|
+
}
|
2370
|
+
}
|
2371
|
+
if (data.width !== undefined) {
|
2372
|
+
let data2 = data.width;
|
2373
|
+
if (!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))) {
|
2374
|
+
const err1 = {
|
2375
|
+
instancePath: instancePath + "/width",
|
2376
|
+
schemaPath: "#/properties/width/type",
|
2377
|
+
keyword: "type",
|
2378
|
+
params: {
|
2379
|
+
type: "integer"
|
2380
|
+
},
|
2381
|
+
message: "must be integer"
|
2382
|
+
};
|
2383
|
+
if (vErrors === null) {
|
2384
|
+
vErrors = [err1];
|
2385
|
+
}
|
2386
|
+
else {
|
2387
|
+
vErrors.push(err1);
|
2388
|
+
}
|
2389
|
+
errors++;
|
2390
|
+
}
|
2391
|
+
if ((typeof data2 == "number") && (isFinite(data2))) {
|
2392
|
+
if (data2 < 1 || isNaN(data2)) {
|
2393
|
+
const err2 = {
|
2394
|
+
instancePath: instancePath + "/width",
|
2395
|
+
schemaPath: "#/properties/width/minimum",
|
2396
|
+
keyword: "minimum",
|
2397
|
+
params: {
|
2398
|
+
comparison: ">=",
|
2399
|
+
limit: 1
|
2400
|
+
},
|
2401
|
+
message: "must be >= 1"
|
2402
|
+
};
|
2403
|
+
if (vErrors === null) {
|
2404
|
+
vErrors = [err2];
|
2405
|
+
}
|
2406
|
+
else {
|
2407
|
+
vErrors.push(err2);
|
2408
|
+
}
|
2409
|
+
errors++;
|
2410
|
+
}
|
2411
|
+
}
|
2412
|
+
}
|
2413
|
+
if (data.wrapWord !== undefined) {
|
2414
|
+
if (typeof data.wrapWord !== "boolean") {
|
2415
|
+
const err3 = {
|
2416
|
+
instancePath: instancePath + "/wrapWord",
|
2417
|
+
schemaPath: "#/properties/wrapWord/type",
|
2418
|
+
keyword: "type",
|
2419
|
+
params: {
|
2420
|
+
type: "boolean"
|
2421
|
+
},
|
2422
|
+
message: "must be boolean"
|
2423
|
+
};
|
2424
|
+
if (vErrors === null) {
|
2425
|
+
vErrors = [err3];
|
2426
|
+
}
|
2427
|
+
else {
|
2428
|
+
vErrors.push(err3);
|
2429
|
+
}
|
2430
|
+
errors++;
|
2431
|
+
}
|
2432
|
+
}
|
2433
|
+
if (data.truncate !== undefined) {
|
2434
|
+
let data4 = data.truncate;
|
2435
|
+
if (!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))) {
|
2436
|
+
const err4 = {
|
2437
|
+
instancePath: instancePath + "/truncate",
|
2438
|
+
schemaPath: "#/properties/truncate/type",
|
2439
|
+
keyword: "type",
|
2440
|
+
params: {
|
2441
|
+
type: "integer"
|
2442
|
+
},
|
2443
|
+
message: "must be integer"
|
2444
|
+
};
|
2445
|
+
if (vErrors === null) {
|
2446
|
+
vErrors = [err4];
|
2447
|
+
}
|
2448
|
+
else {
|
2449
|
+
vErrors.push(err4);
|
2450
|
+
}
|
2451
|
+
errors++;
|
2452
|
+
}
|
2453
|
+
}
|
2454
|
+
if (data.paddingLeft !== undefined) {
|
2455
|
+
let data5 = data.paddingLeft;
|
2456
|
+
if (!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))) {
|
2457
|
+
const err5 = {
|
2458
|
+
instancePath: instancePath + "/paddingLeft",
|
2459
|
+
schemaPath: "#/properties/paddingLeft/type",
|
2460
|
+
keyword: "type",
|
2461
|
+
params: {
|
2462
|
+
type: "integer"
|
2463
|
+
},
|
2464
|
+
message: "must be integer"
|
2465
|
+
};
|
2466
|
+
if (vErrors === null) {
|
2467
|
+
vErrors = [err5];
|
2468
|
+
}
|
2469
|
+
else {
|
2470
|
+
vErrors.push(err5);
|
2471
|
+
}
|
2472
|
+
errors++;
|
2473
|
+
}
|
2474
|
+
}
|
2475
|
+
if (data.paddingRight !== undefined) {
|
2476
|
+
let data6 = data.paddingRight;
|
2477
|
+
if (!(((typeof data6 == "number") && (!(data6 % 1) && !isNaN(data6))) && (isFinite(data6)))) {
|
2478
|
+
const err6 = {
|
2479
|
+
instancePath: instancePath + "/paddingRight",
|
2480
|
+
schemaPath: "#/properties/paddingRight/type",
|
2481
|
+
keyword: "type",
|
2482
|
+
params: {
|
2483
|
+
type: "integer"
|
2484
|
+
},
|
2485
|
+
message: "must be integer"
|
2486
|
+
};
|
2487
|
+
if (vErrors === null) {
|
2488
|
+
vErrors = [err6];
|
2489
|
+
}
|
2490
|
+
else {
|
2491
|
+
vErrors.push(err6);
|
2492
|
+
}
|
2493
|
+
errors++;
|
2494
|
+
}
|
2495
|
+
}
|
2496
|
+
}
|
2497
|
+
else {
|
2498
|
+
const err7 = {
|
2499
|
+
instancePath,
|
2500
|
+
schemaPath: "#/type",
|
2501
|
+
keyword: "type",
|
2502
|
+
params: {
|
2503
|
+
type: "object"
|
2504
|
+
},
|
2505
|
+
message: "must be object"
|
2506
|
+
};
|
2507
|
+
if (vErrors === null) {
|
2508
|
+
vErrors = [err7];
|
2509
|
+
}
|
2510
|
+
else {
|
2511
|
+
vErrors.push(err7);
|
2512
|
+
}
|
2513
|
+
errors++;
|
2514
|
+
}
|
2515
|
+
validate113.errors = vErrors;
|
2516
|
+
return errors === 0;
|
2517
|
+
}
|
2518
|
+
function validate86(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
2519
|
+
/*# sourceURL="streamConfig.json" */ ;
|
2520
|
+
let vErrors = null;
|
2521
|
+
let errors = 0;
|
2522
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
2523
|
+
if (data.columnDefault === undefined) {
|
2524
|
+
const err0 = {
|
2525
|
+
instancePath,
|
2526
|
+
schemaPath: "#/required",
|
2527
|
+
keyword: "required",
|
2528
|
+
params: {
|
2529
|
+
missingProperty: "columnDefault"
|
2530
|
+
},
|
2531
|
+
message: "must have required property '" + "columnDefault" + "'"
|
2532
|
+
};
|
2533
|
+
if (vErrors === null) {
|
2534
|
+
vErrors = [err0];
|
2535
|
+
}
|
2536
|
+
else {
|
2537
|
+
vErrors.push(err0);
|
2538
|
+
}
|
2539
|
+
errors++;
|
2540
|
+
}
|
2541
|
+
if (data.columnCount === undefined) {
|
2542
|
+
const err1 = {
|
2543
|
+
instancePath,
|
2544
|
+
schemaPath: "#/required",
|
2545
|
+
keyword: "required",
|
2546
|
+
params: {
|
2547
|
+
missingProperty: "columnCount"
|
2548
|
+
},
|
2549
|
+
message: "must have required property '" + "columnCount" + "'"
|
2550
|
+
};
|
2551
|
+
if (vErrors === null) {
|
2552
|
+
vErrors = [err1];
|
2553
|
+
}
|
2554
|
+
else {
|
2555
|
+
vErrors.push(err1);
|
2556
|
+
}
|
2557
|
+
errors++;
|
2558
|
+
}
|
2559
|
+
for (const key0 in data) {
|
2560
|
+
if (!(((((key0 === "border") || (key0 === "columns")) || (key0 === "columnDefault")) || (key0 === "columnCount")) || (key0 === "drawVerticalLine"))) {
|
2561
|
+
const err2 = {
|
2562
|
+
instancePath,
|
2563
|
+
schemaPath: "#/additionalProperties",
|
2564
|
+
keyword: "additionalProperties",
|
2565
|
+
params: {
|
2566
|
+
additionalProperty: key0
|
2567
|
+
},
|
2568
|
+
message: "must NOT have additional properties"
|
2569
|
+
};
|
2570
|
+
if (vErrors === null) {
|
2571
|
+
vErrors = [err2];
|
2572
|
+
}
|
2573
|
+
else {
|
2574
|
+
vErrors.push(err2);
|
2575
|
+
}
|
2576
|
+
errors++;
|
2577
|
+
}
|
2578
|
+
}
|
2579
|
+
if (data.border !== undefined) {
|
2580
|
+
if (!(validate87(data.border, {
|
2581
|
+
instancePath: instancePath + "/border",
|
2582
|
+
parentData: data,
|
2583
|
+
parentDataProperty: "border",
|
2584
|
+
rootData
|
2585
|
+
}))) {
|
2586
|
+
vErrors = vErrors === null ? validate87.errors : vErrors.concat(validate87.errors);
|
2587
|
+
errors = vErrors.length;
|
2588
|
+
}
|
2589
|
+
}
|
2590
|
+
if (data.columns !== undefined) {
|
2591
|
+
if (!(validate109(data.columns, {
|
2592
|
+
instancePath: instancePath + "/columns",
|
2593
|
+
parentData: data,
|
2594
|
+
parentDataProperty: "columns",
|
2595
|
+
rootData
|
2596
|
+
}))) {
|
2597
|
+
vErrors = vErrors === null ? validate109.errors : vErrors.concat(validate109.errors);
|
2598
|
+
errors = vErrors.length;
|
2599
|
+
}
|
2600
|
+
}
|
2601
|
+
if (data.columnDefault !== undefined) {
|
2602
|
+
if (!(validate113(data.columnDefault, {
|
2603
|
+
instancePath: instancePath + "/columnDefault",
|
2604
|
+
parentData: data,
|
2605
|
+
parentDataProperty: "columnDefault",
|
2606
|
+
rootData
|
2607
|
+
}))) {
|
2608
|
+
vErrors = vErrors === null ? validate113.errors : vErrors.concat(validate113.errors);
|
2609
|
+
errors = vErrors.length;
|
2610
|
+
}
|
2611
|
+
}
|
2612
|
+
if (data.columnCount !== undefined) {
|
2613
|
+
let data3 = data.columnCount;
|
2614
|
+
if (!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))) {
|
2615
|
+
const err3 = {
|
2616
|
+
instancePath: instancePath + "/columnCount",
|
2617
|
+
schemaPath: "#/properties/columnCount/type",
|
2618
|
+
keyword: "type",
|
2619
|
+
params: {
|
2620
|
+
type: "integer"
|
2621
|
+
},
|
2622
|
+
message: "must be integer"
|
2623
|
+
};
|
2624
|
+
if (vErrors === null) {
|
2625
|
+
vErrors = [err3];
|
2626
|
+
}
|
2627
|
+
else {
|
2628
|
+
vErrors.push(err3);
|
2629
|
+
}
|
2630
|
+
errors++;
|
2631
|
+
}
|
2632
|
+
if ((typeof data3 == "number") && (isFinite(data3))) {
|
2633
|
+
if (data3 < 1 || isNaN(data3)) {
|
2634
|
+
const err4 = {
|
2635
|
+
instancePath: instancePath + "/columnCount",
|
2636
|
+
schemaPath: "#/properties/columnCount/minimum",
|
2637
|
+
keyword: "minimum",
|
2638
|
+
params: {
|
2639
|
+
comparison: ">=",
|
2640
|
+
limit: 1
|
2641
|
+
},
|
2642
|
+
message: "must be >= 1"
|
2643
|
+
};
|
2644
|
+
if (vErrors === null) {
|
2645
|
+
vErrors = [err4];
|
2646
|
+
}
|
2647
|
+
else {
|
2648
|
+
vErrors.push(err4);
|
2649
|
+
}
|
2650
|
+
errors++;
|
2651
|
+
}
|
2652
|
+
}
|
2653
|
+
}
|
2654
|
+
if (data.drawVerticalLine !== undefined) {
|
2655
|
+
if (typeof data.drawVerticalLine != "function") {
|
2656
|
+
const err5 = {
|
2657
|
+
instancePath: instancePath + "/drawVerticalLine",
|
2658
|
+
schemaPath: "#/properties/drawVerticalLine/typeof",
|
2659
|
+
keyword: "typeof",
|
2660
|
+
params: {},
|
2661
|
+
message: "must pass \"typeof\" keyword validation"
|
2662
|
+
};
|
2663
|
+
if (vErrors === null) {
|
2664
|
+
vErrors = [err5];
|
2665
|
+
}
|
2666
|
+
else {
|
2667
|
+
vErrors.push(err5);
|
2668
|
+
}
|
2669
|
+
errors++;
|
2670
|
+
}
|
2671
|
+
}
|
2672
|
+
}
|
2673
|
+
else {
|
2674
|
+
const err6 = {
|
2675
|
+
instancePath,
|
2676
|
+
schemaPath: "#/type",
|
2677
|
+
keyword: "type",
|
2678
|
+
params: {
|
2679
|
+
type: "object"
|
2680
|
+
},
|
2681
|
+
message: "must be object"
|
2682
|
+
};
|
2683
|
+
if (vErrors === null) {
|
2684
|
+
vErrors = [err6];
|
2685
|
+
}
|
2686
|
+
else {
|
2687
|
+
vErrors.push(err6);
|
2688
|
+
}
|
2689
|
+
errors++;
|
2690
|
+
}
|
2691
|
+
validate86.errors = vErrors;
|
2692
|
+
return errors === 0;
|
2693
|
+
}
|
2694
|
+
//# sourceMappingURL=validators.js.map
|