H5P NodeJS Library
    Preparing search index...

    Keeps track of validation functions and structures and caches them in memory.

    Index

    Constructors

    Methods

    • Gets the validator function for the op schema.

      Parameters

      Returns Promise<ValidateFunction<unknown>>

    • Gets the logic checks for snapshots.

      Parameters

      Returns Promise<any>

      the logical structure; note that even if the structure is typed at the moment, is not validated when read from storage, so it is possible that a malformed file in a library does not conform to the types

    • Gets the validator function for snapshots.

      Parameters

      Returns Promise<ValidateFunction<unknown>>