Type Alias VersionValidatorPopupOptions

VersionValidatorPopupOptions: {
    message: string;
    title: string;
    variable: string;
}

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.

Type declaration

  • message: string

    The contents of the post message the generated page will send if the versions don't match.

    'version:conflict'
    
  • title: string

    The title of the page that will be generated to respond in case the versions don't match.

    'Conflict'
    
  • variable: string

    The name of the query string variable the middleware will check in order to indentify whether the request comes from a popup or not. The variable must have 'true' as its value.

    'popup'