Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISchemaValidator

An implementation of a schema validator.

Hierarchy

  • ISchemaValidator

Implemented by

Index

Methods

Methods

validateData

  • Validate a plugin's schema and user data; populate the composite data.

    Parameters

    • plugin: IPlugin

      The plugin being validated. Its composite data will be populated by reference.

    • Optional populate: boolean

      Whether plugin data should be populated, defaults to true.

    Returns IError[]

    A list of errors if either the schema or data fail to validate or null if there are no errors.

Generated using TypeDoc