@interopio/schemas
v9.4.0
Published
A collection of JSON schemas used in io.Connect Desktop clients.
Downloads
2,682
Readme
A wrapper module containing the io.Connect Desktop clients JSON schemas
build
To build use some of the scripts below:
npm run build
using
Import, instantiate and use getter properties on the instance.
import { SchemaValidator } from "@interopio/schemas/app/validator";
import { FileProvider } from "@interopio/schemas/app/fileProvider";
import { SchemaProvider } from "@interopio/schemas/app/provider";
const schemasPath = join(getApplicationPath(), "../schemas/schemas");
const provider = new FileProvider(logger, schemasPath);
const validator = new SchemaValidator(provider, logger);