These are small command-line demos that show how to use various parts of the API.
Note that not everything that is shown in these demos is part of a public API!
The demos that show the basic usage of the public API are the following:
validationResultDemos.ts
: Shows how to perform filtering operations on aValidationResult
that is returned fromValidators.validateTilesetFile
. It creates a "dummy"ValidationResult
instance and then filters it based on different criteria.validationOptionsDemo.ts
: Shows the effect of theValidationOptions
that can be passed toValidators.validateTilesetFile
. It shows how to include/exclude certain content types in the validation process.