jimpex
    Preparing search index...

    Type Alias VersionValidatorOptions

    The options used to customize a VersionValidator instance.

    type VersionValidatorOptions = {
        error: string;
        latest: VersionValidatorLatestOptions;
        popup: VersionValidatorPopupOptions;
        version: string;
    }
    Index

    Properties

    error: string

    The error message to show when the version is invalid.

    "The application version doesn't match"
    

    The options for how the middleware should behave if the requested version is latest.

    The options for how to detect if the request comes from a popup and how to compose the post message the middleware will use to respond.

    version: string

    The version used to validate the requests.