Package Exports
- @interopio/schemas/app/fileProvider
- @interopio/schemas/app/fileProvider.js
- @interopio/schemas/app/names
- @interopio/schemas/app/names.js
- @interopio/schemas/app/validator
- @interopio/schemas/app/validator.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@interopio/schemas) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
A wrapper module containing the io.Connect Desktop clients JSON schemas
build
To build use some of the scripts below:
npm run buildusing
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);