next
Version:
The React Framework
27 lines (26 loc) • 1.16 kB
JavaScript
/**
* App Router types - Client-safe types for the Next.js App Router
*
* This file contains type definitions that can be safely imported
* by both client-side and server-side code without circular dependencies.
*/ "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "HasLoadingBoundary", {
enumerable: true,
get: function() {
return HasLoadingBoundary;
}
});
var HasLoadingBoundary = /*#__PURE__*/ function(HasLoadingBoundary) {
// There is a loading boundary in this particular segment
HasLoadingBoundary[HasLoadingBoundary["SegmentHasLoadingBoundary"] = 1] = "SegmentHasLoadingBoundary";
// There is a loading boundary somewhere in the subtree (but not in
// this segment)
HasLoadingBoundary[HasLoadingBoundary["SubtreeHasLoadingBoundary"] = 2] = "SubtreeHasLoadingBoundary";
// There is no loading boundary in this segment or any of its descendants
HasLoadingBoundary[HasLoadingBoundary["SubtreeHasNoLoadingBoundary"] = 3] = "SubtreeHasNoLoadingBoundary";
return HasLoadingBoundary;
}({});
//# sourceMappingURL=app-router-types.js.map