JSPM

@interopio/schemas

9.2.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 2500
    • Score
      100M100P100Q108550F
    • License ISC

    A collection of JSON schemas used in io.Connect Desktop clients.

    Package Exports

    • @interopio/schemas
    • @interopio/schemas/app/main.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 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);