NextQueryMetadata: {
    __nextCustomErrorRender?: "1";
    __nextDataReq?: "1";
    __nextDefaultLocale?: string;
    __nextFallback?: "true";
    __nextInferredLocaleFromDefault?: "1";
    __nextLocale?: string;
    __nextNotFoundSrcPage?: string;
    __nextSsgPath?: string;
    _nextBubbleNoFallback?: "1";
    _rsc?: string;
}

Type declaration

  • Optional __nextCustomErrorRender?: "1"
  • Optional __nextDataReq?: "1"
  • Optional __nextDefaultLocale?: string
  • Optional __nextFallback?: "true"
  • Optional __nextInferredLocaleFromDefault?: "1"

    1 when the request did not have a locale in the pathname part of the URL but the default locale was inferred from either the domain or the configuration.

  • Optional __nextLocale?: string

    The locale that was inferred or explicitly set for the request.

    When this property is mutated, it's important to also update the request metadata for _nextInferredDefaultLocale to ensure that the correct behavior is applied.

  • Optional __nextNotFoundSrcPage?: string
  • Optional __nextSsgPath?: string
  • Optional _nextBubbleNoFallback?: "1"
  • Optional _rsc?: string