beadscope 0.0.0-stage → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -0
- package/.next/app-path-routes-manifest.json +35 -0
- package/.next/build/chunks/[root-of-the-server]__05i36w1t4lzaf._.js +502 -0
- package/.next/build/chunks/[root-of-the-server]__05i36w1t4lzaf._.js.map +11 -0
- package/.next/build/chunks/[root-of-the-server]__1kki86fknkq7y._.js +191 -0
- package/.next/build/chunks/[root-of-the-server]__1kki86fknkq7y._.js.map +8 -0
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_1gfkiq9iz8yb8._.js +13 -0
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_1gfkiq9iz8yb8._.js.map +5 -0
- package/.next/build/chunks/[turbopack]_runtime.js +1056 -0
- package/.next/build/chunks/[turbopack]_runtime.js.map +11 -0
- package/.next/build/chunks/node_modules_20v-8wlfss9m1._.js +7240 -0
- package/.next/build/chunks/node_modules_20v-8wlfss9m1._.js.map +47 -0
- package/.next/build/chunks/pool_entry-[turbopack-node]_transforms_postcss_ts_0tp-k2vy8nj6i._.js +6 -0
- package/.next/build/chunks/pool_entry-[turbopack-node]_transforms_postcss_ts_0tp-k2vy8nj6i._.js.map +5 -0
- package/.next/build/package.json +1 -0
- package/.next/build-manifest.json +69 -0
- package/.next/export-marker.json +6 -0
- package/.next/fallback-build-manifest.json +15 -0
- package/.next/images-manifest.json +68 -0
- package/.next/next-minimal-server.js.nft.json +1 -0
- package/.next/next-server.js.nft.json +1 -0
- package/.next/package.json +1 -0
- package/.next/prerender-manifest.json +193 -0
- package/.next/required-server-files.js +379 -0
- package/.next/required-server-files.json +379 -0
- package/.next/routes-manifest.json +293 -0
- package/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/.next/server/app/_global-error/page/build-manifest.json +22 -0
- package/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/.next/server/app/_global-error/page.js +10 -0
- package/.next/server/app/_global-error/page.js.map +5 -0
- package/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
- package/.next/server/app/_global-error.html +1 -0
- package/.next/server/app/_global-error.meta +30 -0
- package/.next/server/app/_global-error.rsc +19 -0
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +24 -0
- package/.next/server/app/_global-error.segments/_full.segment.rsc +19 -0
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -0
- package/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/.next/server/app/_not-found/page/build-manifest.json +22 -0
- package/.next/server/app/_not-found/page/next-font-manifest.json +11 -0
- package/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
- package/.next/server/app/_not-found/page.js +13 -0
- package/.next/server/app/_not-found/page.js.map +5 -0
- package/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
- package/.next/server/app/_not-found.html +12 -0
- package/.next/server/app/_not-found.meta +35 -0
- package/.next/server/app/_not-found.rsc +25 -0
- package/.next/server/app/_not-found.segments/_full.segment.rsc +25 -0
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +31 -0
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -0
- package/.next/server/app/api/config/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/config/route/build-manifest.json +12 -0
- package/.next/server/app/api/config/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/config/route.js +11 -0
- package/.next/server/app/api/config/route.js.map +5 -0
- package/.next/server/app/api/config/route.js.nft.json +1 -0
- package/.next/server/app/api/config/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/fs/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/fs/route/build-manifest.json +12 -0
- package/.next/server/app/api/fs/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/fs/route.js +10 -0
- package/.next/server/app/api/fs/route.js.map +5 -0
- package/.next/server/app/api/fs/route.js.nft.json +1 -0
- package/.next/server/app/api/fs/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/activity/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/activity/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/activity/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/activity/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/activity/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/activity/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/activity/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route.js +10 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/attachments/[...path]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/attachments/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/attachments/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/attachments/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/attachments/route.js +10 -0
- package/.next/server/app/api/p/[projectId]/attachments/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/attachments/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/attachments/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/human/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/[id]/status/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/beads/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route.js +8 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/beads/stream/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/doctor/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/doctor/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/doctor/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/doctor/route.js +11 -0
- package/.next/server/app/api/p/[projectId]/doctor/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/doctor/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/doctor/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/gamification/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/gamification/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/gamification/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/gamification/route.js +12 -0
- package/.next/server/app/api/p/[projectId]/gamification/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/gamification/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/gamification/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/insights/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/insights/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/insights/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/insights/route.js +12 -0
- package/.next/server/app/api/p/[projectId]/insights/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/insights/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/insights/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/order/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/order/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/order/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/order/route.js +10 -0
- package/.next/server/app/api/p/[projectId]/order/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/order/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/order/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/p/[projectId]/publish/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/p/[projectId]/publish/route/build-manifest.json +12 -0
- package/.next/server/app/api/p/[projectId]/publish/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/p/[projectId]/publish/route.js +14 -0
- package/.next/server/app/api/p/[projectId]/publish/route.js.map +5 -0
- package/.next/server/app/api/p/[projectId]/publish/route.js.nft.json +1 -0
- package/.next/server/app/api/p/[projectId]/publish/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/projects/[id]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/projects/[id]/route/build-manifest.json +12 -0
- package/.next/server/app/api/projects/[id]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/projects/[id]/route.js +11 -0
- package/.next/server/app/api/projects/[id]/route.js.map +5 -0
- package/.next/server/app/api/projects/[id]/route.js.nft.json +1 -0
- package/.next/server/app/api/projects/[id]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/projects/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/projects/route/build-manifest.json +12 -0
- package/.next/server/app/api/projects/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/projects/route.js +10 -0
- package/.next/server/app/api/projects/route.js.map +5 -0
- package/.next/server/app/api/projects/route.js.nft.json +1 -0
- package/.next/server/app/api/projects/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/telemetry/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/telemetry/route/build-manifest.json +12 -0
- package/.next/server/app/api/telemetry/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/telemetry/route.js +8 -0
- package/.next/server/app/api/telemetry/route.js.map +5 -0
- package/.next/server/app/api/telemetry/route.js.nft.json +1 -0
- package/.next/server/app/api/telemetry/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/update/check/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/update/check/route/build-manifest.json +12 -0
- package/.next/server/app/api/update/check/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/update/check/route.js +11 -0
- package/.next/server/app/api/update/check/route.js.map +5 -0
- package/.next/server/app/api/update/check/route.js.nft.json +1 -0
- package/.next/server/app/api/update/check/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/update/run/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/update/run/route/build-manifest.json +12 -0
- package/.next/server/app/api/update/run/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/update/run/route.js +11 -0
- package/.next/server/app/api/update/run/route.js.map +5 -0
- package/.next/server/app/api/update/run/route.js.nft.json +1 -0
- package/.next/server/app/api/update/run/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/viewer-mode/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/viewer-mode/route/build-manifest.json +12 -0
- package/.next/server/app/api/viewer-mode/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/viewer-mode/route.js +10 -0
- package/.next/server/app/api/viewer-mode/route.js.map +5 -0
- package/.next/server/app/api/viewer-mode/route.js.nft.json +1 -0
- package/.next/server/app/api/viewer-mode/route_client-reference-manifest.js +3 -0
- package/.next/server/app/apple-icon.png/route/app-paths-manifest.json +3 -0
- package/.next/server/app/apple-icon.png/route/build-manifest.json +12 -0
- package/.next/server/app/apple-icon.png/route.js +8 -0
- package/.next/server/app/apple-icon.png/route.js.map +5 -0
- package/.next/server/app/apple-icon.png/route.js.nft.json +1 -0
- package/.next/server/app/apple-icon.png.body +0 -0
- package/.next/server/app/apple-icon.png.meta +1 -0
- package/.next/server/app/favicon.ico/route/app-paths-manifest.json +3 -0
- package/.next/server/app/favicon.ico/route/build-manifest.json +12 -0
- package/.next/server/app/favicon.ico/route.js +8 -0
- package/.next/server/app/favicon.ico/route.js.map +5 -0
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -0
- package/.next/server/app/favicon.ico.body +0 -0
- package/.next/server/app/favicon.ico.meta +1 -0
- package/.next/server/app/icon.svg/route/app-paths-manifest.json +3 -0
- package/.next/server/app/icon.svg/route/build-manifest.json +12 -0
- package/.next/server/app/icon.svg/route.js +8 -0
- package/.next/server/app/icon.svg/route.js.map +5 -0
- package/.next/server/app/icon.svg/route.js.nft.json +1 -0
- package/.next/server/app/icon.svg.body +1 -0
- package/.next/server/app/icon.svg.meta +1 -0
- package/.next/server/app/index.html +12 -0
- package/.next/server/app/index.meta +29 -0
- package/.next/server/app/index.rsc +27 -0
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +30 -0
- package/.next/server/app/index.segments/_full.segment.rsc +27 -0
- package/.next/server/app/index.segments/_tree.segment.rsc +5 -0
- package/.next/server/app/p/[projectId]/page/app-paths-manifest.json +3 -0
- package/.next/server/app/p/[projectId]/page/build-manifest.json +22 -0
- package/.next/server/app/p/[projectId]/page/next-font-manifest.json +11 -0
- package/.next/server/app/p/[projectId]/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/p/[projectId]/page/server-reference-manifest.json +4 -0
- package/.next/server/app/p/[projectId]/page.js +15 -0
- package/.next/server/app/p/[projectId]/page.js.map +5 -0
- package/.next/server/app/p/[projectId]/page.js.nft.json +1 -0
- package/.next/server/app/p/[projectId]/page_client-reference-manifest.js +3 -0
- package/.next/server/app/page/app-paths-manifest.json +3 -0
- package/.next/server/app/page/build-manifest.json +22 -0
- package/.next/server/app/page/next-font-manifest.json +11 -0
- package/.next/server/app/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/page/server-reference-manifest.json +4 -0
- package/.next/server/app/page.js +14 -0
- package/.next/server/app/page.js.map +5 -0
- package/.next/server/app/page.js.nft.json +1 -0
- package/.next/server/app/page_client-reference-manifest.js +3 -0
- package/.next/server/app-paths-manifest.json +35 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_[___path]_route_actions_1040addoe_3v-.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_[___path]_route_actions_1040addoe_3v-.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_route_actions_0xbz9ode02i8m.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_attachments_route_actions_0xbz9ode02i8m.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_archive_route_actions_11wcutlx3g3z6.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_archive_route_actions_11wcutlx3g3z6.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_assist_route_actions_20an4chs-trua.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_assist_route_actions_20an4chs-trua.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_comments_route_actions_1nfem6pen0k0g.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_comments_route_actions_1nfem6pen0k0g.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_deps_route_actions_18gjapy3mw4wv.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_deps_route_actions_18gjapy3mw4wv.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_gate_route_actions_187fh3sknhoaj.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_gate_route_actions_187fh3sknhoaj.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_human_route_actions_07owr7gyh2_8k.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_human_route_actions_07owr7gyh2_8k.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_route_actions_1etbw4at9d6k4.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_route_actions_1etbw4at9d6k4.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_status_route_actions_1umhmm3s8juuu.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_[id]_status_route_actions_1umhmm3s8juuu.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_stream_route_actions_175r-6ar5_pmi.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_beads_stream_route_actions_175r-6ar5_pmi.js.map +1 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_gamification_route_actions_1ogeffkobnbsr.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_p_[projectId]_gamification_route_actions_1ogeffkobnbsr.js.map +1 -0
- package/.next/server/chunks/[externals]__0lwlz8xkhksb0._.js +3 -0
- package/.next/server/chunks/[externals]__0lwlz8xkhksb0._.js.map +1 -0
- package/.next/server/chunks/[externals]__1auxgbs1xf3g3._.js +3 -0
- package/.next/server/chunks/[externals]__1auxgbs1xf3g3._.js.map +1 -0
- package/.next/server/chunks/[externals]__1h8nsgzt8l8pm._.js +3 -0
- package/.next/server/chunks/[externals]__1h8nsgzt8l8pm._.js.map +1 -0
- package/.next/server/chunks/[externals]__1p2j9_5g429uh._.js +3 -0
- package/.next/server/chunks/[externals]__1p2j9_5g429uh._.js.map +1 -0
- package/.next/server/chunks/[externals]__1py9g7vq1lv21._.js +3 -0
- package/.next/server/chunks/[externals]__1py9g7vq1lv21._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0190u3x31o2kc._.js +327 -0
- package/.next/server/chunks/[root-of-the-server]__0190u3x31o2kc._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__035zaj0slqy-4._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__035zaj0slqy-4._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0bzf8xm20iw7a._.js +57 -0
- package/.next/server/chunks/[root-of-the-server]__0bzf8xm20iw7a._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0p9qh6g3s0rez._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0p9qh6g3s0rez._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0v7bhiiq13er3._.js +57 -0
- package/.next/server/chunks/[root-of-the-server]__0v7bhiiq13er3._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0yiz2szg7yt42._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0yiz2szg7yt42._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__1-f7qk3-8a266._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1-f7qk3-8a266._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__122sebyef7_fq._.js +57 -0
- package/.next/server/chunks/[root-of-the-server]__122sebyef7_fq._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__12b8wltp8nh6j._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__12b8wltp8nh6j._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__15bjnu5yieigz._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__15bjnu5yieigz._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__15y25z0ilm3d6._.js +57 -0
- package/.next/server/chunks/[root-of-the-server]__15y25z0ilm3d6._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__1egyye6rj7_du._.js +57 -0
- package/.next/server/chunks/[root-of-the-server]__1egyye6rj7_du._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__1gdvsv3omtde3._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1gdvsv3omtde3._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__1zrubp2jc8bi0._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1zrubp2jc8bi0._.js.map +1 -0
- package/.next/server/chunks/[turbopack]_runtime.js +937 -0
- package/.next/server/chunks/[turbopack]_runtime.js.map +10 -0
- package/.next/server/chunks/_004qegokrf7fy._.js +3 -0
- package/.next/server/chunks/_004qegokrf7fy._.js.map +1 -0
- package/.next/server/chunks/_013mswtsyfnoo._.js +3 -0
- package/.next/server/chunks/_013mswtsyfnoo._.js.map +1 -0
- package/.next/server/chunks/_0gij0z-co_3s4._.js +3 -0
- package/.next/server/chunks/_0gij0z-co_3s4._.js.map +1 -0
- package/.next/server/chunks/_0gjygs98zpepc._.js +3 -0
- package/.next/server/chunks/_0gjygs98zpepc._.js.map +1 -0
- package/.next/server/chunks/_0grrkbm3e2o1h._.js +3 -0
- package/.next/server/chunks/_0grrkbm3e2o1h._.js.map +1 -0
- package/.next/server/chunks/_0j2w6pi0oz3ag._.js +3 -0
- package/.next/server/chunks/_0j2w6pi0oz3ag._.js.map +1 -0
- package/.next/server/chunks/_0kd1hwufqyhnn._.js +3 -0
- package/.next/server/chunks/_0kd1hwufqyhnn._.js.map +1 -0
- package/.next/server/chunks/_0sr--n5b--0bk._.js +3 -0
- package/.next/server/chunks/_0sr--n5b--0bk._.js.map +1 -0
- package/.next/server/chunks/_0tuzzupepjznm._.js +3 -0
- package/.next/server/chunks/_0tuzzupepjznm._.js.map +1 -0
- package/.next/server/chunks/_0vx1iev9xu_vx._.js +329 -0
- package/.next/server/chunks/_0vx1iev9xu_vx._.js.map +1 -0
- package/.next/server/chunks/_0wemi40xtpagp._.js +3 -0
- package/.next/server/chunks/_0wemi40xtpagp._.js.map +1 -0
- package/.next/server/chunks/_0wh8igpovqaep._.js +3 -0
- package/.next/server/chunks/_0wh8igpovqaep._.js.map +1 -0
- package/.next/server/chunks/_10s9tyeasgb0i._.js +3 -0
- package/.next/server/chunks/_10s9tyeasgb0i._.js.map +1 -0
- package/.next/server/chunks/_10uu_24l62-_0._.js +3 -0
- package/.next/server/chunks/_10uu_24l62-_0._.js.map +1 -0
- package/.next/server/chunks/_111ja8xkcaayx._.js +3 -0
- package/.next/server/chunks/_111ja8xkcaayx._.js.map +1 -0
- package/.next/server/chunks/_146xyuw6iu78n._.js +3 -0
- package/.next/server/chunks/_146xyuw6iu78n._.js.map +1 -0
- package/.next/server/chunks/_170e1_rlfsf03._.js +3 -0
- package/.next/server/chunks/_170e1_rlfsf03._.js.map +1 -0
- package/.next/server/chunks/_18ktg21m5ffu5._.js +3 -0
- package/.next/server/chunks/_18ktg21m5ffu5._.js.map +1 -0
- package/.next/server/chunks/_19tb4jcjqiyom._.js +3 -0
- package/.next/server/chunks/_19tb4jcjqiyom._.js.map +1 -0
- package/.next/server/chunks/_1ffeeaqyjdqzf._.js +3 -0
- package/.next/server/chunks/_1ffeeaqyjdqzf._.js.map +1 -0
- package/.next/server/chunks/_1k3na_-a86gbn._.js +3 -0
- package/.next/server/chunks/_1k3na_-a86gbn._.js.map +1 -0
- package/.next/server/chunks/_1kwx_epvqg4do._.js +3 -0
- package/.next/server/chunks/_1kwx_epvqg4do._.js.map +1 -0
- package/.next/server/chunks/_1mxn_lbuesj3_._.js +3 -0
- package/.next/server/chunks/_1mxn_lbuesj3_._.js.map +1 -0
- package/.next/server/chunks/_1n-6yntr59hz-._.js +3 -0
- package/.next/server/chunks/_1n-6yntr59hz-._.js.map +1 -0
- package/.next/server/chunks/_1o0e0kk3zhmfk._.js +3 -0
- package/.next/server/chunks/_1o0e0kk3zhmfk._.js.map +1 -0
- package/.next/server/chunks/_1qxheoabqmzqk._.js +3 -0
- package/.next/server/chunks/_1qxheoabqmzqk._.js.map +1 -0
- package/.next/server/chunks/_1tji4d-rsralm._.js +3 -0
- package/.next/server/chunks/_1tji4d-rsralm._.js.map +1 -0
- package/.next/server/chunks/_1w6vul60in-n6._.js +3 -0
- package/.next/server/chunks/_1w6vul60in-n6._.js.map +1 -0
- package/.next/server/chunks/_1yp1pldb73ib4._.js +3 -0
- package/.next/server/chunks/_1yp1pldb73ib4._.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_config_route_actions_0ep4_f1yut2mt.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_config_route_actions_0ep4_f1yut2mt.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_fs_route_actions_0bfrr9ckhntty.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_fs_route_actions_0bfrr9ckhntty.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_activity_route_actions_1o0prtv03y3nn.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_activity_route_actions_1o0prtv03y3nn.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_beads_route_actions_073r35dma_j8s.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_beads_route_actions_073r35dma_j8s.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_doctor_route_actions_1rijqoag5taoa.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_doctor_route_actions_1rijqoag5taoa.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_insights_route_actions_0jz8vtlr3le7i.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_insights_route_actions_0jz8vtlr3le7i.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_order_route_actions_02ppmkb6_hzeb.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_order_route_actions_02ppmkb6_hzeb.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_publish_route_actions_09aeeim6yuy6h.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_p_[projectId]_publish_route_actions_09aeeim6yuy6h.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_route_actions_0xth066-5sa64.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_route_actions_0xth066-5sa64.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_projects_route_actions_0h5ne2fr_h1tq.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_projects_route_actions_0h5ne2fr_h1tq.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_telemetry_route_actions_1w3amzmkajq41.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_telemetry_route_actions_1w3amzmkajq41.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_update_check_route_actions_1i8_z9m5w7fuz.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_update_check_route_actions_1i8_z9m5w7fuz.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_update_run_route_actions_0hd7t05lf6pu_.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_update_run_route_actions_0hd7t05lf6pu_.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_viewer-mode_route_actions_1bxw5uknzqmon.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_viewer-mode_route_actions_1bxw5uknzqmon.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_apple-icon_png_route_actions_0jcl8aui56a1m.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_apple-icon_png_route_actions_0jcl8aui56a1m.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_0g2jjlssn1kss.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_0g2jjlssn1kss.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_1r2h_ubdhjtcp.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_1r2h_ubdhjtcp.js.map +1 -0
- package/.next/server/chunks/instrumentation-node_ts_157o961d03nbm._.js +3 -0
- package/.next/server/chunks/instrumentation-node_ts_157o961d03nbm._.js.map +1 -0
- package/.next/server/chunks/lib_beads-view_ts_1fvxcrevh9zu_._.js +3 -0
- package/.next/server/chunks/lib_beads-view_ts_1fvxcrevh9zu_._.js.map +1 -0
- package/.next/server/chunks/lib_config_ts_0zrjxh_mm8sv8._.js +3 -0
- package/.next/server/chunks/lib_config_ts_0zrjxh_mm8sv8._.js.map +1 -0
- package/.next/server/chunks/lib_gamification_ts_0ojrlsdva9tsn._.js +3 -0
- package/.next/server/chunks/lib_gamification_ts_0ojrlsdva9tsn._.js.map +1 -0
- package/.next/server/chunks/lib_self-update_ts_1s_0im4leryko._.js +3 -0
- package/.next/server/chunks/lib_self-update_ts_1s_0im4leryko._.js.map +1 -0
- package/.next/server/chunks/lib_store_ts_06cg85jmkn83a._.js +5 -0
- package/.next/server/chunks/lib_store_ts_06cg85jmkn83a._.js.map +1 -0
- package/.next/server/chunks/node_modules_next_0sx6ib_cz483a._.js +320 -0
- package/.next/server/chunks/node_modules_next_0sx6ib_cz483a._.js.map +1 -0
- package/.next/server/chunks/ssr/[externals]__05zh3njt6xz3h._.js +3 -0
- package/.next/server/chunks/ssr/[externals]__05zh3njt6xz3h._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0_jjlev4jw3sc._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0_jjlev4jw3sc._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0gttu4_51ori6._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0gttu4_51ori6._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0uzyn00104lyw._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0uzyn00104lyw._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10sjsc4ko7y98._.js +14 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10sjsc4ko7y98._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10zoxas8t6ikf._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10zoxas8t6ikf._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1_1soca8mkipl._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1_1soca8mkipl._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js +14 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1kh1tntqbjk8h._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1kh1tntqbjk8h._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1oibig2utok9d._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1oibig2utok9d._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1xizcyi5hek65._.js +60 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1xizcyi5hek65._.js.map +1 -0
- package/.next/server/chunks/ssr/[turbopack]_runtime.js +937 -0
- package/.next/server/chunks/ssr/[turbopack]_runtime.js.map +10 -0
- package/.next/server/chunks/ssr/_02mwe4ucwaopu._.js +291 -0
- package/.next/server/chunks/ssr/_02mwe4ucwaopu._.js.map +1 -0
- package/.next/server/chunks/ssr/_0_ky_k50rh6-9._.js +3 -0
- package/.next/server/chunks/ssr/_0_ky_k50rh6-9._.js.map +1 -0
- package/.next/server/chunks/ssr/_1020o02v8ucmf._.js +3 -0
- package/.next/server/chunks/ssr/_1020o02v8ucmf._.js.map +1 -0
- package/.next/server/chunks/ssr/_1i_x4qkev3tax._.js +3 -0
- package/.next/server/chunks/ssr/_1i_x4qkev3tax._.js.map +1 -0
- package/.next/server/chunks/ssr/_1mzldxegsozij._.js +3 -0
- package/.next/server/chunks/ssr/_1mzldxegsozij._.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_p_[projectId]_page_actions_1v83cl8bzuchz.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_p_[projectId]_page_actions_1v83cl8bzuchz.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1jew5ls7.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1jew5ls7.js.map +1 -0
- package/.next/server/chunks/ssr/components_launcher_tsx_1i40oht1v6miz._.js +3 -0
- package/.next/server/chunks/ssr/components_launcher_tsx_1i40oht1v6miz._.js.map +1 -0
- package/.next/server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js +3 -0
- package/.next/server/chunks/ssr/components_providers_tsx_0thx-xfvr_dtx._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js +33 -0
- package/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_0h91jdk0pr40d._.js +33 -0
- package/.next/server/chunks/ssr/node_modules_0h91jdk0pr40d._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +6 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892nagajq.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892nagajq.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08w9x0-loejdh.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08w9x0-loejdh.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bpybjk9qyzcp.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bpybjk9qyzcp.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0d8m61g-qls74.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0d8m61g-qls74.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13q04th-918ib.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13q04th-918ib.js.map +1 -0
- package/.next/server/edge/chunks/_0o_tvsklgn-yk._.js +3 -0
- package/.next/server/edge/chunks/_0o_tvsklgn-yk._.js.map +1 -0
- package/.next/server/edge/chunks/node_modules_next_dist_esm_build_templates_edge-wrapper_1oiuqfca5iqka.js.map +1 -0
- package/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_1oiuqfca5iqka.js +3 -0
- package/.next/server/functions-config-manifest.json +19 -0
- package/.next/server/instrumentation/middleware-manifest.json +12 -0
- package/.next/server/instrumentation.js +4 -0
- package/.next/server/instrumentation.js.map +5 -0
- package/.next/server/instrumentation.js.nft.json +1 -0
- package/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/.next/server/middleware/middleware-manifest.json +6 -0
- package/.next/server/middleware-build-manifest.js +69 -0
- package/.next/server/middleware-manifest.json +6 -0
- package/.next/server/middleware.js +5 -0
- package/.next/server/middleware.js.map +5 -0
- package/.next/server/middleware.js.nft.json +1 -0
- package/.next/server/next-font-manifest.js +1 -0
- package/.next/server/next-font-manifest.json +19 -0
- package/.next/server/pages/404.html +12 -0
- package/.next/server/pages/500.html +1 -0
- package/.next/server/pages-manifest.json +4 -0
- package/.next/server/prefetch-hints.json +34 -0
- package/.next/server/preview-props.json +5 -0
- package/.next/server/server-reference-manifest.js +1 -0
- package/.next/server/server-reference-manifest.json +5 -0
- package/.next/static/CNwJGIAhEiVMAkf3ebvok/_buildManifest.js +11 -0
- package/.next/static/CNwJGIAhEiVMAkf3ebvok/_clientMiddlewareManifest.js +6 -0
- package/.next/static/CNwJGIAhEiVMAkf3ebvok/_ssgManifest.js +1 -0
- package/.next/static/chunks/04lvtbsumb9l-.js +22 -0
- package/.next/static/chunks/07balm4l-kilq.js +1 -0
- package/.next/static/chunks/0cz1d0mv5g_q7.js +1 -0
- package/.next/static/chunks/0lf_v5uyq3i9q.js +1 -0
- package/.next/static/chunks/1ix59xuhq-q14.css +1 -0
- package/.next/static/chunks/1oizlhl9fdqt_.js +1 -0
- package/.next/static/chunks/21v6r4y8vgqng.css +3 -0
- package/.next/static/chunks/2ca16cvfmb3l3.js +1 -0
- package/.next/static/chunks/2k0ht_txv9ool.js +1 -0
- package/.next/static/chunks/2x0qc_flzv-la.js +31 -0
- package/.next/static/chunks/2xh00k9l33qnb.js +1 -0
- package/.next/static/chunks/3-53rbq2namxd.js +1 -0
- package/.next/static/chunks/3yk880zca6oid.js +58 -0
- package/.next/static/chunks/3yqhmu1hny1_2.js +1 -0
- package/.next/static/chunks/turbopack-3-ry682tkyiqk.js +1 -0
- package/.next/static/media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2 +0 -0
- package/.next/static/media/53b9e256198e5412-s.390ncx5urfkfu.woff2 +0 -0
- package/.next/static/media/5ce348bf30bf5439-s.31988l_ccedte.woff2 +0 -0
- package/.next/static/media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2 +0 -0
- package/.next/static/media/7178b3e590c64307-s.21jp631_3pja2.woff2 +0 -0
- package/.next/static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2 +0 -0
- package/.next/static/media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2 +0 -0
- package/.next/static/media/8a480f0b521d4e75-s.1qq4vpdcun5oj.woff2 +0 -0
- package/.next/static/media/apple-icon.3wegq_e2im0r7.png +0 -0
- package/.next/static/media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2 +0 -0
- package/.next/static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2 +0 -0
- package/.next/static/media/favicon.2zdrk8nf2w92v.ico +0 -0
- package/.next/static/media/fef07dbb0973bf53-s.3p2_lha1f2xer.woff2 +0 -0
- package/.next/static/media/icon.20nhmzpyywyzw.svg +1 -0
- package/.next/turbopack +0 -0
- package/LICENSE +22 -0
- package/README.md +439 -2
- package/bin/beadscope.mjs +724 -0
- package/next.config.ts +43 -0
- package/package.json +105 -4
- package/public/file.svg +1 -0
- package/public/globe.svg +1 -0
- package/public/next.svg +1 -0
- package/public/vercel.svg +1 -0
- package/public/window.svg +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../app/api/viewer-mode/route.ts","../../../node_modules/next/src/build/templates/app-route.ts"],"sourcesContent":["import { NextResponse } from \"next/server\";\nimport { z } from \"zod\";\nimport { isReadOnly, VIEWER_MODE_COOKIE } from \"@/lib/config\";\nimport { fail } from \"@/lib/api\";\n\nexport const dynamic = \"force-dynamic\";\nconst headers = { \"Cache-Control\": \"no-store\", Vary: \"Cookie\" };\nconst input = z.object({ readOnly: z.boolean() });\n\nexport function GET(req: Request) {\n return NextResponse.json({ readOnly: isReadOnly(req) }, { headers });\n}\n\nexport async function PUT(req: Request) {\n // A foreign website must not silently change the user's editing preference.\n const origin = req.headers.get(\"origin\");\n // Next may use its internal listening hostname in req.url. Host is the\n // authority the browser addressed (e.g. 127.0.0.1 rather than localhost).\n const url = new URL(req.url);\n const host = req.headers.get(\"host\") ?? url.host;\n if (origin && origin !== `${url.protocol}//${host}`) {\n return NextResponse.json({ error: \"Origin mismatch\" }, { status: 403 });\n }\n try {\n const { readOnly } = input.parse(await req.json());\n const res = NextResponse.json({ readOnly }, { headers });\n res.cookies.set(VIEWER_MODE_COOKIE, readOnly ? \"read-only\" : \"editing\", {\n httpOnly: true, sameSite: \"strict\", path: \"/\",\n secure: new URL(req.url).protocol === \"https:\",\n // No expires/maxAge: mode is session-scoped, unlike banner appearance.\n });\n return res;\n } catch (e) { return fail(e); }\n}\n","import {\n AppRouteRouteModule,\n type AppRouteRouteHandlerContext,\n type AppRouteRouteModuleOptions,\n} from '../../server/route-modules/app-route/module.compiled'\nimport { RouteKind } from '../../server/route-kind'\nimport { patchFetch as _patchFetch } from '../../server/lib/patch-fetch'\nimport type { IncomingMessage, ServerResponse } from 'node:http'\nimport {\n addRequestMeta,\n getRequestMeta,\n setRequestMeta,\n type RequestMeta,\n} from '../../server/request-meta'\nimport {\n getTracer,\n type Span,\n SpanKind,\n SpanStatusCode,\n} from '../../server/lib/trace/tracer'\nimport { setManifestsSingleton } from '../../server/app-render/manifests-singleton'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { NodeNextRequest, NodeNextResponse } from '../../server/base-http/node'\nimport {\n NextRequestAdapter,\n signalFromNodeResponse,\n} from '../../server/web/spec-extension/adapters/next-request'\nimport { BaseServerSpan } from '../../server/lib/trace/constants'\nimport { getRevalidateReason } from '../../server/instrumentation/utils'\nimport { sendResponse } from '../../server/send-response'\nimport {\n fromNodeOutgoingHttpHeaders,\n toNodeOutgoingHttpHeaders,\n} from '../../server/web/utils'\nimport { getCacheControlHeader } from '../../server/lib/cache-control'\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from '../../lib/constants'\nimport { NoFallbackError } from '../../shared/lib/no-fallback-error.external'\nimport { isRouteCacheOwner } from '../../server/lib/route-cache-key'\nimport {\n CachedRouteKind,\n type ResponseCacheEntry,\n type ResponseGenerator,\n} from '../../server/response-cache'\n\n// These are injected by the loader afterwards. This is injected as a variable\n// instead of a replacement because this could also be `undefined` instead of\n// an empty string.\ndeclare const nextConfigOutput: AppRouteRouteModuleOptions['nextConfigOutput']\n\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\n// INJECT:nextConfigOutput\n\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: 'VAR_DEFINITION_PAGE',\n pathname: 'VAR_DEFINITION_PATHNAME',\n filename: 'VAR_DEFINITION_FILENAME',\n bundlePath: 'VAR_DEFINITION_BUNDLE_PATH',\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: 'VAR_RESOLVED_PAGE_PATH',\n nextConfigOutput,\n // The lazy require factory ensures that:\n // - In dev: devRequestTimingInternalsEnd is set before userland executes,\n // correctly attributing module load time to application-code rather than\n // framework internals.\n // - In all modes: async modules (route files with top-level await) are\n // handled correctly — require() returns a Promise for such modules, which\n // ensureUserland() awaits before the first request is handled.\n userland: () => require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n // In Turbopack dev mode, also provide a synchronous per-request getter so\n // server HMR updates are picked up without re-executing the entry chunk.\n // Using require() (synchronous) avoids adding async overhead that would be\n // incorrectly attributed to application-code time in devRequestTiming.\n ...(process.env.TURBOPACK && process.env.__NEXT_DEV_SERVER\n ? {\n getUserland: () =>\n require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n }\n : {}),\n})\n\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule\n\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage,\n })\n}\n\nexport {\n routeModule,\n workAsyncStorage,\n workUnitAsyncStorage,\n serverHooks,\n patchFetch,\n}\n\nexport async function handler(\n req: IncomingMessage,\n res: ServerResponse,\n ctx: {\n waitUntil?: (prom: Promise<void>) => void\n requestMeta?: RequestMeta\n }\n) {\n if (ctx.requestMeta) {\n setRequestMeta(req, ctx.requestMeta)\n }\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint())\n }\n let srcPage = 'VAR_DEFINITION_PAGE'\n\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/'\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/'\n }\n const multiZoneDraftMode = process.env\n .__NEXT_MULTI_ZONE_DRAFT_MODE as any as boolean\n\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode,\n })\n\n if (!prepareResult) {\n res.statusCode = 400\n res.end('Bad Request')\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n const {\n buildId,\n deploymentId,\n params,\n nextConfig,\n parsedUrl,\n isDraftMode,\n prerenderManifest,\n routerServerContext,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n resolvedPathname,\n clientReferenceManifest,\n serverActionsManifest,\n previewProps,\n } = prepareResult\n\n const normalizedSrcPage = normalizeAppPath(srcPage)\n\n // Only this route's prerenders can establish ISR or admit generated params.\n const isPrerendered =\n Boolean(prerenderManifest.routes[resolvedPathname]) &&\n (routeModule.isDev ||\n isRouteCacheOwner(\n resolvedPathname,\n routeModule.cacheOwner,\n prerenderManifest.routes[resolvedPathname]\n ))\n\n let isIsr = Boolean(\n prerenderManifest.dynamicRoutes[normalizedSrcPage] || isPrerendered\n )\n\n const render404 = async () => {\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext?.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false)\n } else {\n res.end('This page could not be found')\n }\n return null\n }\n\n if (isIsr && !isDraftMode) {\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage]\n\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.adapterPath) {\n return await render404()\n }\n throw new NoFallbackError()\n }\n }\n }\n\n let cacheKey: string | null = null\n\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey\n }\n\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest,\n })\n }\n\n const method = req.method || 'GET'\n const tracer = getTracer()\n const activeSpan = tracer.getActiveScopeSpan()\n const isWrappedByNextServer = Boolean(\n routerServerContext?.isWrappedByNextServer\n )\n const isMinimalMode = Boolean(getRequestMeta(req, 'minimalMode'))\n\n const incrementalCache =\n getRequestMeta(req, 'incrementalCache') ||\n (await routeModule.getIncrementalCache(\n req,\n nextConfig,\n previewProps,\n prerenderManifest,\n isMinimalMode\n ))\n\n incrementalCache?.resetRequestCache()\n ;(globalThis as any).__incrementalCache = incrementalCache\n\n const context: AppRouteRouteHandlerContext = {\n params,\n previewProps,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts),\n useCacheTimeout: nextConfig.experimental.useCacheTimeout,\n durableUseCacheEntries: Boolean(\n nextConfig.experimental.durableUseCacheEntries\n ),\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n validationLevel: nextConfig.experimental.instantInsights.validationLevel,\n isDraftMode,\n incrementalCache,\n hmrRefreshHash: getRequestMeta(req, 'hmrRefreshHash'),\n cacheLifeProfiles: nextConfig.cacheLife,\n staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,\n waitUntil: ctx.waitUntil,\n onClose: (cb) => {\n res.on('close', cb)\n },\n onAfterTaskError: undefined,\n },\n sharedContext: {\n buildId,\n deploymentId,\n },\n }\n const nodeNextReq = new NodeNextRequest(req)\n const nodeNextRes = new NodeNextResponse(res)\n\n const nextReq = NextRequestAdapter.fromNodeNextRequest(\n nodeNextReq,\n signalFromNodeResponse(res)\n )\n\n const responseGenerator: ResponseGenerator = async ({\n previousCacheEntry,\n }) => {\n try {\n if (\n !isMinimalMode &&\n isOnDemandRevalidate &&\n revalidateOnlyGenerated &&\n !previousCacheEntry\n ) {\n res.statusCode = 404\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED')\n res.end('This page could not be found')\n return null\n }\n\n const response =\n cacheKey === null\n ? await routeModule.handle(nextReq, context)\n : await routeModule.prerender(nextReq, context)\n\n ;(req as any).fetchMetrics = (context.renderOpts as any).fetchMetrics\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil\n\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil)\n pendingWaitUntil = undefined\n }\n }\n const cacheTags = context.renderOpts.collectedTags\n\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob()\n\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers)\n\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags\n }\n\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type\n }\n\n const revalidate =\n typeof context.renderOpts.collectedRevalidate === 'undefined' ||\n context.renderOpts.collectedRevalidate >= INFINITE_CACHE\n ? false\n : context.renderOpts.collectedRevalidate\n\n const expire =\n typeof context.renderOpts.collectedExpire === 'undefined' ||\n context.renderOpts.collectedExpire >= INFINITE_CACHE\n ? // Fall back to the global `expireTime` config when the\n // route has a numeric `revalidate` but didn't declare an\n // explicit `expire` (e.g. via `cacheLife`). This mirrors the\n // build-time fallback in `build/index.ts` so cache entries\n // and the response Cache-Control header agree on the route's\n // effective expire. Routes that opt out of revalidation\n // (`revalidate: false`) or that are dynamic (`revalidate: 0`)\n // keep `expire: undefined`.\n revalidate !== false && revalidate > 0\n ? nextConfig.expireTime\n : undefined\n : context.renderOpts.collectedExpire\n\n // Create the cache entry for the response.\n const cacheEntry: ResponseCacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers,\n },\n cacheControl: { revalidate, expire },\n }\n\n return cacheEntry\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, pendingWaitUntil)\n return null\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry?.isStale) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n throw err\n }\n }\n\n const handleResponse = async (\n currentSpan: Span | undefined,\n parentSpan: Span | undefined\n ) => {\n try {\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n previewProps,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode,\n })\n\n if (cacheEntry !== null && 'error' in cacheEntry) {\n throw cacheEntry.error\n }\n\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return\n }\n\n if (cacheEntry?.value?.kind !== CachedRouteKind.APP_ROUTE) {\n throw new Error(\n `Invariant: app-route received invalid cache entry ${cacheEntry?.value?.kind}`\n )\n }\n\n if (!isMinimalMode) {\n res.setHeader(\n 'x-nextjs-cache',\n isOnDemandRevalidate\n ? 'REVALIDATED'\n : cacheEntry.isMiss\n ? 'MISS'\n : cacheEntry.isStale\n ? 'STALE'\n : 'HIT'\n )\n }\n\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader(\n 'Cache-Control',\n 'private, no-cache, no-store, max-age=0, must-revalidate'\n )\n }\n\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers)\n\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER)\n }\n\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (\n cacheEntry.cacheControl &&\n !res.getHeader('Cache-Control') &&\n !headers.get('Cache-Control')\n ) {\n headers.set(\n 'Cache-Control',\n getCacheControlHeader(cacheEntry.cacheControl)\n )\n }\n\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200,\n })\n )\n return\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n\n // rethrow so that we can handle serving error page\n\n // If this is during static generation, throw the error again.\n if (isIsr) throw err\n\n // Otherwise, send a 500 response unless the original response has\n // already committed. In that case, preserve its status code for\n // telemetry while still recording the failure and terminating a response\n // that the failed pipeline left open.\n if (res.headersSent) {\n if (currentSpan) {\n const error =\n err instanceof Error ? err : new Error('Unknown app route error')\n currentSpan.recordException(error)\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n message: error.message,\n })\n currentSpan.setAttribute('error.type', error.name)\n }\n if (!res.writableEnded && !res.destroyed) {\n res.end()\n }\n } else {\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n new Response(null, { status: 500 })\n )\n }\n return\n } finally {\n ;(() => {\n if (!currentSpan) {\n return\n }\n\n let statusCode = res.statusCode\n\n currentSpan.setAttributes({\n 'http.status_code': statusCode,\n 'next.rsc': false,\n })\n\n if (statusCode && statusCode >= 500) {\n // For 5xx status codes: SHOULD be set to 'Error' span status.\n // x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n })\n // For span status 'Error', SHOULD set 'error.type' attribute.\n currentSpan.setAttribute('error.type', statusCode.toString())\n }\n\n const rootSpanAttributes = tracer.getRootSpanAttributes()\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return\n }\n\n if (\n rootSpanAttributes.get('next.span_type') !==\n BaseServerSpan.handleRequest\n ) {\n console.warn(\n `Unexpected root span type '${rootSpanAttributes.get(\n 'next.span_type'\n )}'. Please report this Next.js issue https://github.com/vercel/next.js`\n )\n return\n }\n\n const route = rootSpanAttributes.get('next.route') || normalizedSrcPage\n const name = `${method} ${route}`\n\n currentSpan.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name,\n })\n currentSpan.updateName(name)\n\n // Propagate http.route to the parent span if one exists (e.g.\n // a platform-created HTTP span in adapter deployments).\n if (parentSpan && parentSpan !== currentSpan) {\n parentSpan.setAttribute('http.route', route)\n parentSpan.updateName(name)\n }\n })()\n }\n }\n\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (isWrappedByNextServer && activeSpan) {\n await handleResponse(activeSpan, undefined)\n } else {\n let parentSpan = tracer.getActiveScopeSpan()\n await tracer.withPropagatedContext(\n req.headers,\n () =>\n tracer.trace(\n BaseServerSpan.handleRequest,\n {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url,\n },\n },\n (span) => handleResponse(span, parentSpan)\n ),\n undefined,\n !isWrappedByNextServer\n )\n }\n}\n"],"names":["dynamic","headers","Vary","input","object","readOnly","boolean","GET","req","json","PUT","origin","get","url","URL","host","protocol","error","status","parse","res","cookies","set","httpOnly","sameSite","path","secure","e","AppRouteRouteModule","RouteKind","patchFetch","_patchFetch","addRequestMeta","getRequestMeta","setRequestMeta","getTracer","SpanKind","SpanStatusCode","setManifestsSingleton","normalizeAppPath","NodeNextRequest","NodeNextResponse","NextRequestAdapter","signalFromNodeResponse","BaseServerSpan","getRevalidateReason","sendResponse","fromNodeOutgoingHttpHeaders","toNodeOutgoingHttpHeaders","getCacheControlHeader","INFINITE_CACHE","NEXT_CACHE_TAGS_HEADER","NoFallbackError","isRouteCacheOwner","CachedRouteKind","routeModule","definition","kind","APP_ROUTE","page","pathname","filename","bundlePath","distDir","process","env","__NEXT_RELATIVE_DIST_DIR","relativeProjectDir","__NEXT_RELATIVE_PROJECT_DIR","resolvedPagePath","nextConfigOutput","userland","require","TURBOPACK","__NEXT_DEV_SERVER","getUserland","workAsyncStorage","workUnitAsyncStorage","serverHooks","handler","ctx","requestMeta","isDev","hrtime","bigint","srcPage","replace","multiZoneDraftMode","__NEXT_MULTI_ZONE_DRAFT_MODE","prepareResult","prepare","statusCode","end","waitUntil","Promise","resolve","buildId","deploymentId","params","nextConfig","parsedUrl","isDraftMode","prerenderManifest","routerServerContext","isOnDemandRevalidate","revalidateOnlyGenerated","resolvedPathname","clientReferenceManifest","serverActionsManifest","previewProps","normalizedSrcPage","isPrerendered","Boolean","routes","cacheOwner","isIsr","dynamicRoutes","render404","prerenderInfo","fallback","adapterPath","cacheKey","method","tracer","activeSpan","getActiveScopeSpan","isWrappedByNextServer","isMinimalMode","incrementalCache","getIncrementalCache","resetRequestCache","globalThis","__incrementalCache","context","renderOpts","experimental","authInterrupts","useCacheTimeout","durableUseCacheEntries","cacheComponents","validationLevel","instantInsights","hmrRefreshHash","cacheLifeProfiles","cacheLife","staticPageGenerationTimeout","onClose","cb","on","onAfterTaskError","undefined","sharedContext","nodeNextReq","nodeNextRes","nextReq","fromNodeNextRequest","responseGenerator","previousCacheEntry","setHeader","response","handle","prerender","fetchMetrics","pendingWaitUntil","cacheTags","collectedTags","blob","type","revalidate","collectedRevalidate","expire","collectedExpire","expireTime","cacheEntry","value","body","Buffer","from","arrayBuffer","cacheControl","err","isStale","silenceLog","onRequestError","routerKind","routePath","routeType","revalidateReason","isStaticGeneration","handleResponse","currentSpan","parentSpan","routeKind","isFallback","isRoutePPREnabled","Error","isMiss","delete","getHeader","Response","headersSent","recordException","setStatus","code","ERROR","message","setAttribute","name","writableEnded","destroyed","setAttributes","toString","rootSpanAttributes","getRootSpanAttributes","handleRequest","console","warn","route","updateName","withPropagatedContext","trace","spanName","SERVER","attributes","span"],"mappings":"6CAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAGA,IAAMC,EAAU,CAAE,gBAAiB,WAAYC,KAAM,QAAS,EACxDC,EAAQ,EAAA,CAAC,CAACC,MAAM,CAAC,CAAEC,SAAU,EAAA,CAAC,CAACC,OAAO,EAAG,GAMxC,eAAeI,EAAIF,CAAY,EAEpC,IAAMG,EAASH,EAAIP,OAAO,CAACW,GAAG,CAAC,UAGzBC,EAAM,IAAIC,IAAIN,EAAIK,GAAG,EACrBE,EAAOP,EAAIP,OAAO,CAACW,GAAG,CAAC,SAAWC,EAAIE,IAAI,CAChD,GAAIJ,GAAUA,IAAW,CAAA,EAAGE,EAAIG,QAAQ,CAAC,EAAE,EAAED,EAAAA,CAAM,CACjD,CADmD,MAC5C,EAAA,YAAY,CAACN,IAAI,CAAC,CAAEQ,MAAO,iBAAkB,EAAG,CAAEC,OAAQ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o3SeD55n6tC27sjqMeAYGZC+jgyjG9DfSQ0im45sEJlEwuo4nZ6ODO0amqwji7cjAzW9HRkopzPWMe6kBl2H2HRkyhKHWDD8TleLH6e1IxMM3htfLZIHKcS+52ht25GtjYvjXi0yzJsKT8vlrmBwzL1ed6eBYyoycWbYcK/X3QEHw8XEFeLG3r/WndBcmIFDksPm1CjPYWN2tnawb8gHuWkZ8p3ncHTwpJLBlfSnDl4aMejGhXRGAtqe8iGDbp9oDpuuPQGbQ9NmGNHGplFmoiWWYUNyuL5nw5oQ1Vp3gzOs0kyKxjr/6+82HWySUaUs6Nb5EPoHOaXoY+HrqyAAAAAASUVORK5CYII=","base64");e.s(["GET",0,function(){return new t.NextResponse(a,{headers:{"Content-Type":"image/x-icon","Cache-Control":"public, max-age=0, must-revalidate"}})},"dynamic",0,"force-static"])},6218,e=>{var t=e.i(47909),a=e.i(74017),r=e.i(96250),n=e.i(59756),i=e.i(61916),o=e.i(74677),A=e.i(69741),l=e.i(16795),s=e.i(87718),u=e.i(95169),c=e.i(47587),d=e.i(66012),p=e.i(70101),h=e.i(74838),w=e.i(10372),f=e.i(93695),C=e.i(9580);e.i(52474);var v=e.i(220);let m=new t.AppRouteRouteModule({definition:{kind:a.f.APP_ROUTE,page:"/favicon.ico/route",pathname:"/favicon.ico",filename:"favicon.ico--route-entry",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/favicon.ico--route-entry.js",nextConfigOutput:"",userland:()=>e.r(93237),...{}}),{workAsyncStorage:g,workUnitAsyncStorage:x,serverHooks:y}=m;async function R(e,t,r){r.requestMeta&&(0,n.R)(e,r.requestMeta),m.isDev&&(0,n.i)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/favicon.ico/route";g=g.replace(/\/index$/,"")||"/";let x=await m.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!x)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:y,deploymentId:R,params:E,nextConfig:D,parsedUrl:S,isDraftMode:H,prerenderManifest:U,routerServerContext:B,isOnDemandRevalidate:k,revalidateOnlyGenerated:M,resolvedPathname:O,clientReferenceManifest:T,serverActionsManifest:P,previewProps:b}=x,I=(0,A.f)(g),j=!!U.routes[O]&&(m.isDev||(0,C.f)(O,m.cacheOwner,U.routes[O])),G=!!(U.dynamicRoutes[I]||j),F=async()=>((null==B?void 0:B.render404)?await B.render404(e,t,S,!1):t.end("This page could not be found"),null);if(G&&!H){let e=U.dynamicRoutes[I];if(e&&!1===e.fallback&&!j){if(D.adapterPath)return await F();throw new f.NoFallbackError}}let Q=null;!G||m.isDev||H||(Q="/index"===(Q=O)?"/":Q),P&&T&&(0,o.f)({page:g,clientReferenceManifest:T,serverActionsManifest:P});let L=e.method||"GET",X=(0,i.v)(),N=X.getActiveScopeSpan(),W=!!(null==B?void 0:B.isWrappedByNextServer),q=!!(0,n.w)(e,"minimalMode"),J=(0,n.w)(e,"incrementalCache")||await m.getIncrementalCache(e,D,b,U,q);null==J||J.resetRequestCache(),globalThis.__incrementalCache=J;let K={params:E,previewProps:b,renderOpts:{experimental:{authInterrupts:!!D.experimental.authInterrupts,useCacheTimeout:D.experimental.useCacheTimeout,durableUseCacheEntries:!!D.experimental.durableUseCacheEntries},cacheComponents:!!D.cacheComponents,validationLevel:D.experimental.instantInsights.validationLevel,isDraftMode:H,incrementalCache:J,hmrRefreshHash:(0,n.w)(e,"hmrRefreshHash"),cacheLifeProfiles:D.cacheLife,staticPageGenerationTimeout:D.staticPageGenerationTimeout,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0},sharedContext:{buildId:y,deploymentId:R}},Y=new l.x(e),V=new l.e(t),Z=s.k.fromNodeNextRequest(Y,(0,s.t)(t)),z=async({previousCacheEntry:a})=>{try{if(!q&&k&&M&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=null===Q?await m.handle(Z,K):await m.prerender(Z,K);e.fetchMetrics=K.renderOpts.fetchMetrics;let i=K.renderOpts.pendingWaitUntil;i&&r.waitUntil&&(r.waitUntil(i),i=void 0);let o=K.renderOpts.collectedTags;if(!G)return await (0,d.f)(Y,V,n,i),null;{let e=await n.blob(),t=(0,p.S)(n.headers);o&&(t[w.M]=o),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==K.renderOpts.collectedRevalidate&&!(K.renderOpts.collectedRevalidate>=w.Q)&&K.renderOpts.collectedRevalidate,r=void 0===K.renderOpts.collectedExpire||K.renderOpts.collectedExpire>=w.Q?!1!==a&&a>0?D.expireTime:void 0:K.renderOpts.collectedExpire;return{value:{kind:v.x.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await m.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,c.f)({isStaticGeneration:null!==Q,isOnDemandRevalidate:k})},!1,B),t}},_=async(n,o)=>{try{var A,l;let n=await m.handleResponse({req:e,nextConfig:D,cacheKey:Q,routeKind:a.f.APP_ROUTE,isFallback:!1,previewProps:b,prerenderManifest:U,isRoutePPREnabled:!1,isOnDemandRevalidate:k,revalidateOnlyGenerated:M,responseGenerator:z,waitUntil:r.waitUntil,isMinimalMode:q});if(null!==n&&"error"in n)throw n.error;if(!G)return;if((null==n||null==(A=n.value)?void 0:A.kind)!==v.x.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`);q||t.setHeader("x-nextjs-cache",k?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),H&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,p.G)(n.value.headers);q&&G||i.delete(w.M),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,h.f)(n.cacheControl)),await (0,d.f)(Y,V,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(a){if(a instanceof f.NoFallbackError||await m.onRequestError(e,a,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,c.f)({isStaticGeneration:null!==Q,isOnDemandRevalidate:k})},!1,B),G)throw a;if(t.headersSent){if(n){let e=a instanceof Error?a:Error("Unknown app route error");n.recordException(e),n.setStatus({code:i.J.ERROR,message:e.message}),n.setAttribute("error.type",e.name)}t.writableEnded||t.destroyed||t.end()}else await (0,d.f)(Y,V,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.J.ERROR}),n.setAttribute("error.type",e.toString()));let a=X.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==u.q.handleRequest)return console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route")||I,A=`${L} ${r}`;n.setAttributes({"next.route":r,"http.route":r,"next.span_name":A}),n.updateName(A),o&&o!==n&&(o.setAttribute("http.route",r),o.updateName(A))})()}};if(W&&N)await _(N,void 0);else{let t=X.getActiveScopeSpan();await X.withPropagatedContext(e.headers,()=>X.trace(u.q.handleRequest,{spanName:`${L} ${g}`,kind:i.C.SERVER,attributes:{"http.method":L,"http.target":e.url}},e=>_(e,t)),void 0,!W)}}e.s(["handler",0,R,"patchFetch",0,function(){return(0,r.f)({workAsyncStorage:g,workUnitAsyncStorage:x})},"routeModule",0,m,"serverHooks",0,y,"workAsyncStorage",0,g,"workUnitAsyncStorage",0,x])}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1mxn_lbuesj3_._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../app/favicon.ico--route-entry.js","../../../node_modules/next/src/build/templates/app-route.ts"],"sourcesContent":["import { NextResponse } from 'next/server'\n\nconst contentType = \"image/x-icon\"\nconst cacheControl = \"public, max-age=0, must-revalidate\"\nconst buffer = Buffer.from(\"AAABAAMAEBAAAAEAIACDAQAANgAAACAgAAABACAAKAIAALkBAAAwMAAAAQAgAE0DAADhAwAAiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAABYlAAAWJQFJUiTwAAABNUlEQVQ4ja1TTUvDQBCdq/4/j9ljoZA9eOrR2n/jSQQRTA4aP6pRsHropU3TKHie9GQ2LozM1EqSTakVDwPJY96bj7cDAACdzvuuVjjwPUy0QqtVTu2BlnN8hYf7e287sCL7Ht6tJ60VG4qIVjjYnvwdHvZh2fYS6HUXFIWGosDI9yZcK5xCdWZOur8yNHooaTaxdHL0IZFOLT3FJcXXhi4DU9sJVFviCkwev5SUpZbC00LiNbWCjR5LujgvamNA9YfbmyeW5smnM0Ib7gholdPZcSHxWxz+VaDXXVA2s5Ql1hmhDXcEotDItnlhTRfGz6UsuO6CCFRsDIxYxdtuusDk+MY0XEDrPCSuwEnNEdpw38MJ8GH89Sn7Kj8APgg+jO3JePtzkSLiYZ/f9qZz5hyuvCJ/ARNA1P+dy9tAAAAAAElFTkSuQmCCiVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAACxLAAAsSwGlPZapAAAB2klEQVRYhe1XXU7CQBDeq5iot9AHgVPYXXxU2OVRzqCJ+qIJFa8iwiWA4AkEZae0PhFYM/0BlJbdIlQTnWSSpv063zf7NzuExFjZggKnUOdMdjkDTzBQ67j/L5UdweCeU8jHcX2yMnX2OYXWuoQGgpqVE2ePxFmJDQ8Fg+G2yBd8yI+HB0uZi2zIg5Gg8q1kwe5MAKfQyIp8LgJaQfYWFLImj7xSlDkiGDysAlXPHGXfvCv72vOfdUHT4DkFm+BWSwLcXXrKG01VZPiM7zaFxy2KI+AmZeK5QbBee6x6nfEsaFxmafGhuygg9iMOoR+sM569e+1PlM4G/ckM/xyKwFhJPGSrArqBgNrVGgKqOK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DfSQ0im45sEJlEwuo4nZ6ODO0amqwji7cjAzW9HRkopzPWMe6kBl2H2HRkyhKHWDD8TleLH6e1IxMM3htfLZIHKcS+52ht25GtjYvjXi0yzJsKT8vlrmBwzL1ed6eBYyoycWbYcK/X3QEHw8XEFeLG3r/WndBcmIFDksPm1CjPYWN2tnawb8gHuWkZ8p3ncHTwpJLBlfSnDl4aMejGhXRGAtqe8iGDbp9oDpuuPQGbQ9NmGNHGplFmoiWWYUNyuL5nw5oQ1Vp3gzOs0kyKxjr/6+82HWySUaUs6Nb5EPoHOaXoY+HrqyAAAAAASUVORK5CYII=\", 'base64')\n\nexport function GET() {\n return new NextResponse(buffer, {\n headers: {\n 'Content-Type': contentType,\n 'Cache-Control': cacheControl,\n },\n })\n}\n\nexport const dynamic = 'force-static'\n","import {\n AppRouteRouteModule,\n type AppRouteRouteHandlerContext,\n type AppRouteRouteModuleOptions,\n} from '../../server/route-modules/app-route/module.compiled'\nimport { RouteKind } from '../../server/route-kind'\nimport { patchFetch as _patchFetch } from '../../server/lib/patch-fetch'\nimport type { IncomingMessage, ServerResponse } from 'node:http'\nimport {\n addRequestMeta,\n getRequestMeta,\n setRequestMeta,\n type RequestMeta,\n} from '../../server/request-meta'\nimport {\n getTracer,\n type Span,\n SpanKind,\n SpanStatusCode,\n} from '../../server/lib/trace/tracer'\nimport { setManifestsSingleton } from '../../server/app-render/manifests-singleton'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { NodeNextRequest, NodeNextResponse } from '../../server/base-http/node'\nimport {\n NextRequestAdapter,\n signalFromNodeResponse,\n} from '../../server/web/spec-extension/adapters/next-request'\nimport { BaseServerSpan } from '../../server/lib/trace/constants'\nimport { getRevalidateReason } from '../../server/instrumentation/utils'\nimport { sendResponse } from '../../server/send-response'\nimport {\n fromNodeOutgoingHttpHeaders,\n toNodeOutgoingHttpHeaders,\n} from '../../server/web/utils'\nimport { getCacheControlHeader } from '../../server/lib/cache-control'\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from '../../lib/constants'\nimport { NoFallbackError } from '../../shared/lib/no-fallback-error.external'\nimport { isRouteCacheOwner } from '../../server/lib/route-cache-key'\nimport {\n CachedRouteKind,\n type ResponseCacheEntry,\n type ResponseGenerator,\n} from '../../server/response-cache'\n\n// These are injected by the loader afterwards. This is injected as a variable\n// instead of a replacement because this could also be `undefined` instead of\n// an empty string.\ndeclare const nextConfigOutput: AppRouteRouteModuleOptions['nextConfigOutput']\n\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\n// INJECT:nextConfigOutput\n\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: 'VAR_DEFINITION_PAGE',\n pathname: 'VAR_DEFINITION_PATHNAME',\n filename: 'VAR_DEFINITION_FILENAME',\n bundlePath: 'VAR_DEFINITION_BUNDLE_PATH',\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: 'VAR_RESOLVED_PAGE_PATH',\n nextConfigOutput,\n // The lazy require factory ensures that:\n // - In dev: devRequestTimingInternalsEnd is set before userland executes,\n // correctly attributing module load time to application-code rather than\n // framework internals.\n // - In all modes: async modules (route files with top-level await) are\n // handled correctly — require() returns a Promise for such modules, which\n // ensureUserland() awaits before the first request is handled.\n userland: () => require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n // In Turbopack dev mode, also provide a synchronous per-request getter so\n // server HMR updates are picked up without re-executing the entry chunk.\n // Using require() (synchronous) avoids adding async overhead that would be\n // incorrectly attributed to application-code time in devRequestTiming.\n ...(process.env.TURBOPACK && process.env.__NEXT_DEV_SERVER\n ? {\n getUserland: () =>\n require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n }\n : {}),\n})\n\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule\n\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage,\n })\n}\n\nexport {\n routeModule,\n workAsyncStorage,\n workUnitAsyncStorage,\n serverHooks,\n patchFetch,\n}\n\nexport async function handler(\n req: IncomingMessage,\n res: ServerResponse,\n ctx: {\n waitUntil?: (prom: Promise<void>) => void\n requestMeta?: RequestMeta\n }\n) {\n if (ctx.requestMeta) {\n setRequestMeta(req, ctx.requestMeta)\n }\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint())\n }\n let srcPage = 'VAR_DEFINITION_PAGE'\n\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/'\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/'\n }\n const multiZoneDraftMode = process.env\n .__NEXT_MULTI_ZONE_DRAFT_MODE as any as boolean\n\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode,\n })\n\n if (!prepareResult) {\n res.statusCode = 400\n res.end('Bad Request')\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n const {\n buildId,\n deploymentId,\n params,\n nextConfig,\n parsedUrl,\n isDraftMode,\n prerenderManifest,\n routerServerContext,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n resolvedPathname,\n clientReferenceManifest,\n serverActionsManifest,\n previewProps,\n } = prepareResult\n\n const normalizedSrcPage = normalizeAppPath(srcPage)\n\n // Only this route's prerenders can establish ISR or admit generated params.\n const isPrerendered =\n Boolean(prerenderManifest.routes[resolvedPathname]) &&\n (routeModule.isDev ||\n isRouteCacheOwner(\n resolvedPathname,\n routeModule.cacheOwner,\n prerenderManifest.routes[resolvedPathname]\n ))\n\n let isIsr = Boolean(\n prerenderManifest.dynamicRoutes[normalizedSrcPage] || isPrerendered\n )\n\n const render404 = async () => {\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext?.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false)\n } else {\n res.end('This page could not be found')\n }\n return null\n }\n\n if (isIsr && !isDraftMode) {\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage]\n\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.adapterPath) {\n return await render404()\n }\n throw new NoFallbackError()\n }\n }\n }\n\n let cacheKey: string | null = null\n\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey\n }\n\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest,\n })\n }\n\n const method = req.method || 'GET'\n const tracer = getTracer()\n const activeSpan = tracer.getActiveScopeSpan()\n const isWrappedByNextServer = Boolean(\n routerServerContext?.isWrappedByNextServer\n )\n const isMinimalMode = Boolean(getRequestMeta(req, 'minimalMode'))\n\n const incrementalCache =\n getRequestMeta(req, 'incrementalCache') ||\n (await routeModule.getIncrementalCache(\n req,\n nextConfig,\n previewProps,\n prerenderManifest,\n isMinimalMode\n ))\n\n incrementalCache?.resetRequestCache()\n ;(globalThis as any).__incrementalCache = incrementalCache\n\n const context: AppRouteRouteHandlerContext = {\n params,\n previewProps,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts),\n useCacheTimeout: nextConfig.experimental.useCacheTimeout,\n durableUseCacheEntries: Boolean(\n nextConfig.experimental.durableUseCacheEntries\n ),\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n validationLevel: nextConfig.experimental.instantInsights.validationLevel,\n isDraftMode,\n incrementalCache,\n hmrRefreshHash: getRequestMeta(req, 'hmrRefreshHash'),\n cacheLifeProfiles: nextConfig.cacheLife,\n staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,\n waitUntil: ctx.waitUntil,\n onClose: (cb) => {\n res.on('close', cb)\n },\n onAfterTaskError: undefined,\n },\n sharedContext: {\n buildId,\n deploymentId,\n },\n }\n const nodeNextReq = new NodeNextRequest(req)\n const nodeNextRes = new NodeNextResponse(res)\n\n const nextReq = NextRequestAdapter.fromNodeNextRequest(\n nodeNextReq,\n signalFromNodeResponse(res)\n )\n\n const responseGenerator: ResponseGenerator = async ({\n previousCacheEntry,\n }) => {\n try {\n if (\n !isMinimalMode &&\n isOnDemandRevalidate &&\n revalidateOnlyGenerated &&\n !previousCacheEntry\n ) {\n res.statusCode = 404\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED')\n res.end('This page could not be found')\n return null\n }\n\n const response =\n cacheKey === null\n ? await routeModule.handle(nextReq, context)\n : await routeModule.prerender(nextReq, context)\n\n ;(req as any).fetchMetrics = (context.renderOpts as any).fetchMetrics\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil\n\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil)\n pendingWaitUntil = undefined\n }\n }\n const cacheTags = context.renderOpts.collectedTags\n\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob()\n\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers)\n\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags\n }\n\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type\n }\n\n const revalidate =\n typeof context.renderOpts.collectedRevalidate === 'undefined' ||\n context.renderOpts.collectedRevalidate >= INFINITE_CACHE\n ? false\n : context.renderOpts.collectedRevalidate\n\n const expire =\n typeof context.renderOpts.collectedExpire === 'undefined' ||\n context.renderOpts.collectedExpire >= INFINITE_CACHE\n ? // Fall back to the global `expireTime` config when the\n // route has a numeric `revalidate` but didn't declare an\n // explicit `expire` (e.g. via `cacheLife`). This mirrors the\n // build-time fallback in `build/index.ts` so cache entries\n // and the response Cache-Control header agree on the route's\n // effective expire. Routes that opt out of revalidation\n // (`revalidate: false`) or that are dynamic (`revalidate: 0`)\n // keep `expire: undefined`.\n revalidate !== false && revalidate > 0\n ? nextConfig.expireTime\n : undefined\n : context.renderOpts.collectedExpire\n\n // Create the cache entry for the response.\n const cacheEntry: ResponseCacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers,\n },\n cacheControl: { revalidate, expire },\n }\n\n return cacheEntry\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, pendingWaitUntil)\n return null\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry?.isStale) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n throw err\n }\n }\n\n const handleResponse = async (\n currentSpan: Span | undefined,\n parentSpan: Span | undefined\n ) => {\n try {\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n previewProps,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode,\n })\n\n if (cacheEntry !== null && 'error' in cacheEntry) {\n throw cacheEntry.error\n }\n\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return\n }\n\n if (cacheEntry?.value?.kind !== CachedRouteKind.APP_ROUTE) {\n throw new Error(\n `Invariant: app-route received invalid cache entry ${cacheEntry?.value?.kind}`\n )\n }\n\n if (!isMinimalMode) {\n res.setHeader(\n 'x-nextjs-cache',\n isOnDemandRevalidate\n ? 'REVALIDATED'\n : cacheEntry.isMiss\n ? 'MISS'\n : cacheEntry.isStale\n ? 'STALE'\n : 'HIT'\n )\n }\n\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader(\n 'Cache-Control',\n 'private, no-cache, no-store, max-age=0, must-revalidate'\n )\n }\n\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers)\n\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER)\n }\n\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (\n cacheEntry.cacheControl &&\n !res.getHeader('Cache-Control') &&\n !headers.get('Cache-Control')\n ) {\n headers.set(\n 'Cache-Control',\n getCacheControlHeader(cacheEntry.cacheControl)\n )\n }\n\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200,\n })\n )\n return\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n\n // rethrow so that we can handle serving error page\n\n // If this is during static generation, throw the error again.\n if (isIsr) throw err\n\n // Otherwise, send a 500 response unless the original response has\n // already committed. In that case, preserve its status code for\n // telemetry while still recording the failure and terminating a response\n // that the failed pipeline left open.\n if (res.headersSent) {\n if (currentSpan) {\n const error =\n err instanceof Error ? err : new Error('Unknown app route error')\n currentSpan.recordException(error)\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n message: error.message,\n })\n currentSpan.setAttribute('error.type', error.name)\n }\n if (!res.writableEnded && !res.destroyed) {\n res.end()\n }\n } else {\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n new Response(null, { status: 500 })\n )\n }\n return\n } finally {\n ;(() => {\n if (!currentSpan) {\n return\n }\n\n let statusCode = res.statusCode\n\n currentSpan.setAttributes({\n 'http.status_code': statusCode,\n 'next.rsc': false,\n })\n\n if (statusCode && statusCode >= 500) {\n // For 5xx status codes: SHOULD be set to 'Error' span status.\n // x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n })\n // For span status 'Error', SHOULD set 'error.type' attribute.\n currentSpan.setAttribute('error.type', statusCode.toString())\n }\n\n const rootSpanAttributes = tracer.getRootSpanAttributes()\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return\n }\n\n if (\n rootSpanAttributes.get('next.span_type') !==\n BaseServerSpan.handleRequest\n ) {\n console.warn(\n `Unexpected root span type '${rootSpanAttributes.get(\n 'next.span_type'\n )}'. Please report this Next.js issue https://github.com/vercel/next.js`\n )\n return\n }\n\n const route = rootSpanAttributes.get('next.route') || normalizedSrcPage\n const name = `${method} ${route}`\n\n currentSpan.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name,\n })\n currentSpan.updateName(name)\n\n // Propagate http.route to the parent span if one exists (e.g.\n // a platform-created HTTP span in adapter deployments).\n if (parentSpan && parentSpan !== currentSpan) {\n parentSpan.setAttribute('http.route', route)\n parentSpan.updateName(name)\n }\n })()\n }\n }\n\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (isWrappedByNextServer && activeSpan) {\n await handleResponse(activeSpan, undefined)\n } else {\n let parentSpan = tracer.getActiveScopeSpan()\n await tracer.withPropagatedContext(\n req.headers,\n () =>\n tracer.trace(\n BaseServerSpan.handleRequest,\n {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url,\n },\n },\n (span) => handleResponse(span, parentSpan)\n ),\n undefined,\n !isWrappedByNextServer\n )\n }\n}\n"],"names":["contentType","cacheControl","buffer","Buffer","from","GET","headers","dynamic","AppRouteRouteModule","RouteKind","patchFetch","_patchFetch","addRequestMeta","getRequestMeta","setRequestMeta","getTracer","SpanKind","SpanStatusCode","setManifestsSingleton","normalizeAppPath","NodeNextRequest","NodeNextResponse","NextRequestAdapter","signalFromNodeResponse","BaseServerSpan","getRevalidateReason","sendResponse","fromNodeOutgoingHttpHeaders","toNodeOutgoingHttpHeaders","getCacheControlHeader","INFINITE_CACHE","NEXT_CACHE_TAGS_HEADER","NoFallbackError","isRouteCacheOwner","CachedRouteKind","routeModule","definition","kind","APP_ROUTE","page","pathname","filename","bundlePath","distDir","process","env","__NEXT_RELATIVE_DIST_DIR","relativeProjectDir","__NEXT_RELATIVE_PROJECT_DIR","resolvedPagePath","nextConfigOutput","userland","require","TURBOPACK","__NEXT_DEV_SERVER","getUserland","workAsyncStorage","workUnitAsyncStorage","serverHooks","handler","req","res","ctx","requestMeta","isDev","hrtime","bigint","srcPage","replace","multiZoneDraftMode","__NEXT_MULTI_ZONE_DRAFT_MODE","prepareResult","prepare","statusCode","end","waitUntil","Promise","resolve","buildId","deploymentId","params","nextConfig","parsedUrl","isDraftMode","prerenderManifest","routerServerContext","isOnDemandRevalidate","revalidateOnlyGenerated","resolvedPathname","clientReferenceManifest","serverActionsManifest","previewProps","normalizedSrcPage","isPrerendered","Boolean","routes","cacheOwner","isIsr","dynamicRoutes","render404","prerenderInfo","fallback","adapterPath","cacheKey","method","tracer","activeSpan","getActiveScopeSpan","isWrappedByNextServer","isMinimalMode","incrementalCache","getIncrementalCache","resetRequestCache","globalThis","__incrementalCache","context","renderOpts","experimental","authInterrupts","useCacheTimeout","durableUseCacheEntries","cacheComponents","validationLevel","instantInsights","hmrRefreshHash","cacheLifeProfiles","cacheLife","staticPageGenerationTimeout","onClose","cb","on","onAfterTaskError","undefined","sharedContext","nodeNextReq","nodeNextRes","nextReq","fromNodeNextRequest","responseGenerator","previousCacheEntry","setHeader","response","handle","prerender","fetchMetrics","pendingWaitUntil","cacheTags","collectedTags","blob","type","revalidate","collectedRevalidate","expire","collectedExpire","expireTime","cacheEntry","value","status","body","arrayBuffer","err","isStale","silenceLog","onRequestError","routerKind","routePath","routeType","revalidateReason","isStaticGeneration","handleResponse","currentSpan","parentSpan","routeKind","isFallback","isRoutePPREnabled","error","Error","isMiss","delete","getHeader","get","set","Response","headersSent","recordException","setStatus","code","ERROR","message","setAttribute","name","writableEnded","destroyed","setAttributes","toString","rootSpanAttributes","getRootSpanAttributes","handleRequest","console","warn","route","updateName","withPropagatedContext","trace","spanName","SERVER","attributes","url","span"],"mappings":"6CAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OAIA,IAAME,EAASC,OAAOC,IAAI,CAAC,u5EAAw5E,uBAE56E,SAASC,EACZ,OAAO,IAAI,EAAA,YAAY,CAACH,EAAQ,CAC5BI,QAAS,CACL,eAPQ,CAOQN,cAChB,gBAPS,CAOQC,mCACrB,CACJ,EACJ,cAEuB,2BCfvB,IAAA,EAIO,EAAA,CAHLO,AAGK,CAAA,OACP,EAA0B,EAAyB,CAAA,AAA1CC,CAA0C,GAAA,EAJ9B,EAKrB,CADkB,CACwB,AAFmB,EAEnB,CAAjCC,AAAiC,CAAA,AAFnC,GACmB,CAC8C,GAExE,EAGEI,EAEK,CAJLF,AAIK,CAPgBD,AAOhB,MAFS,CAGhB,EAIgB,EACT,AAb2B,CAa3B,AAJLI,CANc,AAUT,CANA,CAHLF,CASK,GAbmC,CAc1C,CALW,CAK2B,AAPJ,CAIhCG,CAGoC,CAA7BE,AAA6B,CAAA,EADA,CATtB,EACdJ,AAMQ,EAIV,AAHEG,EAG+B,EAAA,CAAxBE,AAAwB,CAAA,EADkD,IACT,CAD5C,AAE9B,CAJgB,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ACA,CAACxB,EAEL,CACF,mCA9gBA,SAASlG,EACP,MAAA,CAAA,EAAOC,EAAAA,CAAAA,EAAY,kBACjB6C,uBACAC,CACF,EACF","ignoreList":[1]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[15022,e=>{var t=e.i(83535),a=e.i(72507),r=e.i(5622),n=e.i(73744);async function i(e,{params:r}){try{let{projectId:i}=await r,o=await (0,t.R)(i),l=(0,a.L)(),s=await o.list();return(0,n.N)({beads:s,meta:{kind:o.kind,humanActor:l.humanActor,humanAllowlist:l.humanAllowlist,pollIntervalMs:l.pollIntervalMs,gamification:l.gamification,readOnly:(0,a.g)(e),lanePrefix:(0,a.A)()}})}catch(e){return(0,n.O)(e)}}async function o(e,{params:i}){try{let{projectId:o}=await i,l=await (0,t.R)(o),s=(0,a.L)(),u=r.I.parse(await e.json()),c=await l.create(u,s.humanActor);return(0,n.N)(c,201)}catch(e){return(0,n.O)(e)}}e.s(["GET",0,i,"POST",0,o,"dynamic",0,"force-dynamic"])},74612,e=>{var t=e.i(47909),a=e.i(74017),r=e.i(96250),n=e.i(59756),i=e.i(61916),o=e.i(74677),l=e.i(69741),s=e.i(16795),u=e.i(87718),c=e.i(95169),d=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(74838),w=e.i(10372),m=e.i(93695),v=e.i(9580);e.i(52474);var R=e.i(220);let x=new t.AppRouteRouteModule({definition:{kind:a.f.APP_ROUTE,page:"/api/p/[projectId]/beads/route",pathname:"/api/p/[projectId]/beads",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/p/[projectId]/beads/route.ts",nextConfigOutput:"",userland:()=>e.r(15022),...{}}),{workAsyncStorage:g,workUnitAsyncStorage:y,serverHooks:E}=x;async function b(e,t,r){r.requestMeta&&(0,n.R)(e,r.requestMeta),x.isDev&&(0,n.i)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/p/[projectId]/beads/route";g=g.replace(/\/index$/,"")||"/";let y=await x.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!y)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:E,deploymentId:b,params:A,nextConfig:C,parsedUrl:P,isDraftMode:T,prerenderManifest:O,routerServerContext:S,isOnDemandRevalidate:U,revalidateOnlyGenerated:k,resolvedPathname:I,clientReferenceManifest:M,serverActionsManifest:q,previewProps:j}=y,N=(0,l.f)(g),D=!!O.routes[I]&&(x.isDev||(0,v.f)(I,x.cacheOwner,O.routes[I])),_=!!(O.dynamicRoutes[N]||D),L=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,P,!1):t.end("This page could not be found"),null);if(_&&!T){let e=O.dynamicRoutes[N];if(e&&!1===e.fallback&&!D){if(C.adapterPath)return await L();throw new m.NoFallbackError}}let H=null;!_||x.isDev||T||(H="/index"===(H=I)?"/":H),q&&M&&(0,o.f)({page:g,clientReferenceManifest:M,serverActionsManifest:q});let G=e.method||"GET",$=(0,i.v)(),B=$.getActiveScopeSpan(),F=!!(null==S?void 0:S.isWrappedByNextServer),K=!!(0,n.w)(e,"minimalMode"),V=(0,n.w)(e,"incrementalCache")||await x.getIncrementalCache(e,C,j,O,K);null==V||V.resetRequestCache(),globalThis.__incrementalCache=V;let J={params:A,previewProps:j,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout,durableUseCacheEntries:!!C.experimental.durableUseCacheEntries},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,isDraftMode:T,incrementalCache:V,hmrRefreshHash:(0,n.w)(e,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0},sharedContext:{buildId:E,deploymentId:b}},Q=new s.x(e),W=new s.e(t),Z=u.k.fromNodeNextRequest(Q,(0,u.t)(t)),z=async({previousCacheEntry:a})=>{try{if(!K&&U&&k&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=null===H?await x.handle(Z,J):await x.prerender(Z,J);e.fetchMetrics=J.renderOpts.fetchMetrics;let i=J.renderOpts.pendingWaitUntil;i&&r.waitUntil&&(r.waitUntil(i),i=void 0);let o=J.renderOpts.collectedTags;if(!_)return await (0,p.f)(Q,W,n,i),null;{let e=await n.blob(),t=(0,h.S)(n.headers);o&&(t[w.M]=o),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==J.renderOpts.collectedRevalidate&&!(J.renderOpts.collectedRevalidate>=w.Q)&&J.renderOpts.collectedRevalidate,r=void 0===J.renderOpts.collectedExpire||J.renderOpts.collectedExpire>=w.Q?!1!==a&&a>0?C.expireTime:void 0:J.renderOpts.collectedExpire;return{value:{kind:R.x.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await x.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,d.f)({isStaticGeneration:null!==H,isOnDemandRevalidate:U})},!1,S),t}},X=async(n,o)=>{try{var l,s;let n=await x.handleResponse({req:e,nextConfig:C,cacheKey:H,routeKind:a.f.APP_ROUTE,isFallback:!1,previewProps:j,prerenderManifest:O,isRoutePPREnabled:!1,isOnDemandRevalidate:U,revalidateOnlyGenerated:k,responseGenerator:z,waitUntil:r.waitUntil,isMinimalMode:K});if(null!==n&&"error"in n)throw n.error;if(!_)return;if((null==n||null==(l=n.value)?void 0:l.kind)!==R.x.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==n||null==(s=n.value)?void 0:s.kind}`);K||t.setHeader("x-nextjs-cache",U?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),T&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.G)(n.value.headers);K&&_||i.delete(w.M),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,f.f)(n.cacheControl)),await (0,p.f)(Q,W,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(a){if(a instanceof m.NoFallbackError||await x.onRequestError(e,a,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,d.f)({isStaticGeneration:null!==H,isOnDemandRevalidate:U})},!1,S),_)throw a;if(t.headersSent){if(n){let e=a instanceof Error?a:Error("Unknown app route error");n.recordException(e),n.setStatus({code:i.J.ERROR,message:e.message}),n.setAttribute("error.type",e.name)}t.writableEnded||t.destroyed||t.end()}else await (0,p.f)(Q,W,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.J.ERROR}),n.setAttribute("error.type",e.toString()));let a=$.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==c.q.handleRequest)return console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route")||N,l=`${G} ${r}`;n.setAttributes({"next.route":r,"http.route":r,"next.span_name":l}),n.updateName(l),o&&o!==n&&(o.setAttribute("http.route",r),o.updateName(l))})()}};if(F&&B)await X(B,void 0);else{let t=$.getActiveScopeSpan();await $.withPropagatedContext(e.headers,()=>$.trace(c.q.handleRequest,{spanName:`${G} ${g}`,kind:i.C.SERVER,attributes:{"http.method":G,"http.target":e.url}},e=>X(e,t)),void 0,!F)}}e.s(["handler",0,b,"patchFetch",0,function(){return(0,r.f)({workAsyncStorage:g,workUnitAsyncStorage:y})},"routeModule",0,x,"serverHooks",0,E,"workAsyncStorage",0,g,"workUnitAsyncStorage",0,y])}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1n-6yntr59hz-._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../app/api/p/%5BprojectId%5D/beads/route.ts","../../../node_modules/next/src/build/templates/app-route.ts"],"sourcesContent":["import { getStore } from \"@/lib/store\";\nimport { getConfig, isReadOnly, lanePrefix } from \"@/lib/config\";\nimport { createInputSchema } from \"@/lib/schema\";\nimport { ok, fail } from \"@/lib/api\";\n\nexport const dynamic = \"force-dynamic\";\n\ntype Ctx = { params: Promise<{ projectId: string }> };\n\nexport async function GET(_req: Request, { params }: Ctx) {\n try {\n const { projectId } = await params;\n const store = await getStore(projectId);\n const cfg = getConfig();\n const beads = await store.list();\n return ok({\n beads,\n meta: {\n kind: store.kind,\n humanActor: cfg.humanActor,\n humanAllowlist: cfg.humanAllowlist,\n pollIntervalMs: cfg.pollIntervalMs,\n gamification: cfg.gamification,\n readOnly: isReadOnly(_req),\n lanePrefix: lanePrefix(),\n },\n });\n } catch (e) {\n return fail(e);\n }\n}\n\nexport async function POST(req: Request, { params }: Ctx) {\n try {\n const { projectId } = await params;\n const store = await getStore(projectId);\n const cfg = getConfig();\n const input = createInputSchema.parse(await req.json());\n const bead = await store.create(input, cfg.humanActor);\n return ok(bead, 201);\n } catch (e) {\n return fail(e);\n }\n}\n","import {\n AppRouteRouteModule,\n type AppRouteRouteHandlerContext,\n type AppRouteRouteModuleOptions,\n} from '../../server/route-modules/app-route/module.compiled'\nimport { RouteKind } from '../../server/route-kind'\nimport { patchFetch as _patchFetch } from '../../server/lib/patch-fetch'\nimport type { IncomingMessage, ServerResponse } from 'node:http'\nimport {\n addRequestMeta,\n getRequestMeta,\n setRequestMeta,\n type RequestMeta,\n} from '../../server/request-meta'\nimport {\n getTracer,\n type Span,\n SpanKind,\n SpanStatusCode,\n} from '../../server/lib/trace/tracer'\nimport { setManifestsSingleton } from '../../server/app-render/manifests-singleton'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { NodeNextRequest, NodeNextResponse } from '../../server/base-http/node'\nimport {\n NextRequestAdapter,\n signalFromNodeResponse,\n} from '../../server/web/spec-extension/adapters/next-request'\nimport { BaseServerSpan } from '../../server/lib/trace/constants'\nimport { getRevalidateReason } from '../../server/instrumentation/utils'\nimport { sendResponse } from '../../server/send-response'\nimport {\n fromNodeOutgoingHttpHeaders,\n toNodeOutgoingHttpHeaders,\n} from '../../server/web/utils'\nimport { getCacheControlHeader } from '../../server/lib/cache-control'\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from '../../lib/constants'\nimport { NoFallbackError } from '../../shared/lib/no-fallback-error.external'\nimport { isRouteCacheOwner } from '../../server/lib/route-cache-key'\nimport {\n CachedRouteKind,\n type ResponseCacheEntry,\n type ResponseGenerator,\n} from '../../server/response-cache'\n\n// These are injected by the loader afterwards. This is injected as a variable\n// instead of a replacement because this could also be `undefined` instead of\n// an empty string.\ndeclare const nextConfigOutput: AppRouteRouteModuleOptions['nextConfigOutput']\n\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\n// INJECT:nextConfigOutput\n\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: 'VAR_DEFINITION_PAGE',\n pathname: 'VAR_DEFINITION_PATHNAME',\n filename: 'VAR_DEFINITION_FILENAME',\n bundlePath: 'VAR_DEFINITION_BUNDLE_PATH',\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: 'VAR_RESOLVED_PAGE_PATH',\n nextConfigOutput,\n // The lazy require factory ensures that:\n // - In dev: devRequestTimingInternalsEnd is set before userland executes,\n // correctly attributing module load time to application-code rather than\n // framework internals.\n // - In all modes: async modules (route files with top-level await) are\n // handled correctly — require() returns a Promise for such modules, which\n // ensureUserland() awaits before the first request is handled.\n userland: () => require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n // In Turbopack dev mode, also provide a synchronous per-request getter so\n // server HMR updates are picked up without re-executing the entry chunk.\n // Using require() (synchronous) avoids adding async overhead that would be\n // incorrectly attributed to application-code time in devRequestTiming.\n ...(process.env.TURBOPACK && process.env.__NEXT_DEV_SERVER\n ? {\n getUserland: () =>\n require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n }\n : {}),\n})\n\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule\n\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage,\n })\n}\n\nexport {\n routeModule,\n workAsyncStorage,\n workUnitAsyncStorage,\n serverHooks,\n patchFetch,\n}\n\nexport async function handler(\n req: IncomingMessage,\n res: ServerResponse,\n ctx: {\n waitUntil?: (prom: Promise<void>) => void\n requestMeta?: RequestMeta\n }\n) {\n if (ctx.requestMeta) {\n setRequestMeta(req, ctx.requestMeta)\n }\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint())\n }\n let srcPage = 'VAR_DEFINITION_PAGE'\n\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/'\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/'\n }\n const multiZoneDraftMode = process.env\n .__NEXT_MULTI_ZONE_DRAFT_MODE as any as boolean\n\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode,\n })\n\n if (!prepareResult) {\n res.statusCode = 400\n res.end('Bad Request')\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n const {\n buildId,\n deploymentId,\n params,\n nextConfig,\n parsedUrl,\n isDraftMode,\n prerenderManifest,\n routerServerContext,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n resolvedPathname,\n clientReferenceManifest,\n serverActionsManifest,\n previewProps,\n } = prepareResult\n\n const normalizedSrcPage = normalizeAppPath(srcPage)\n\n // Only this route's prerenders can establish ISR or admit generated params.\n const isPrerendered =\n Boolean(prerenderManifest.routes[resolvedPathname]) &&\n (routeModule.isDev ||\n isRouteCacheOwner(\n resolvedPathname,\n routeModule.cacheOwner,\n prerenderManifest.routes[resolvedPathname]\n ))\n\n let isIsr = Boolean(\n prerenderManifest.dynamicRoutes[normalizedSrcPage] || isPrerendered\n )\n\n const render404 = async () => {\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext?.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false)\n } else {\n res.end('This page could not be found')\n }\n return null\n }\n\n if (isIsr && !isDraftMode) {\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage]\n\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.adapterPath) {\n return await render404()\n }\n throw new NoFallbackError()\n }\n }\n }\n\n let cacheKey: string | null = null\n\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey\n }\n\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest,\n })\n }\n\n const method = req.method || 'GET'\n const tracer = getTracer()\n const activeSpan = tracer.getActiveScopeSpan()\n const isWrappedByNextServer = Boolean(\n routerServerContext?.isWrappedByNextServer\n )\n const isMinimalMode = Boolean(getRequestMeta(req, 'minimalMode'))\n\n const incrementalCache =\n getRequestMeta(req, 'incrementalCache') ||\n (await routeModule.getIncrementalCache(\n req,\n nextConfig,\n previewProps,\n prerenderManifest,\n isMinimalMode\n ))\n\n incrementalCache?.resetRequestCache()\n ;(globalThis as any).__incrementalCache = incrementalCache\n\n const context: AppRouteRouteHandlerContext = {\n params,\n previewProps,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts),\n useCacheTimeout: nextConfig.experimental.useCacheTimeout,\n durableUseCacheEntries: Boolean(\n nextConfig.experimental.durableUseCacheEntries\n ),\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n validationLevel: nextConfig.experimental.instantInsights.validationLevel,\n isDraftMode,\n incrementalCache,\n hmrRefreshHash: getRequestMeta(req, 'hmrRefreshHash'),\n cacheLifeProfiles: nextConfig.cacheLife,\n staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,\n waitUntil: ctx.waitUntil,\n onClose: (cb) => {\n res.on('close', cb)\n },\n onAfterTaskError: undefined,\n },\n sharedContext: {\n buildId,\n deploymentId,\n },\n }\n const nodeNextReq = new NodeNextRequest(req)\n const nodeNextRes = new NodeNextResponse(res)\n\n const nextReq = NextRequestAdapter.fromNodeNextRequest(\n nodeNextReq,\n signalFromNodeResponse(res)\n )\n\n const responseGenerator: ResponseGenerator = async ({\n previousCacheEntry,\n }) => {\n try {\n if (\n !isMinimalMode &&\n isOnDemandRevalidate &&\n revalidateOnlyGenerated &&\n !previousCacheEntry\n ) {\n res.statusCode = 404\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED')\n res.end('This page could not be found')\n return null\n }\n\n const response =\n cacheKey === null\n ? await routeModule.handle(nextReq, context)\n : await routeModule.prerender(nextReq, context)\n\n ;(req as any).fetchMetrics = (context.renderOpts as any).fetchMetrics\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil\n\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil)\n pendingWaitUntil = undefined\n }\n }\n const cacheTags = context.renderOpts.collectedTags\n\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob()\n\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers)\n\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags\n }\n\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type\n }\n\n const revalidate =\n typeof context.renderOpts.collectedRevalidate === 'undefined' ||\n context.renderOpts.collectedRevalidate >= INFINITE_CACHE\n ? false\n : context.renderOpts.collectedRevalidate\n\n const expire =\n typeof context.renderOpts.collectedExpire === 'undefined' ||\n context.renderOpts.collectedExpire >= INFINITE_CACHE\n ? // Fall back to the global `expireTime` config when the\n // route has a numeric `revalidate` but didn't declare an\n // explicit `expire` (e.g. via `cacheLife`). This mirrors the\n // build-time fallback in `build/index.ts` so cache entries\n // and the response Cache-Control header agree on the route's\n // effective expire. Routes that opt out of revalidation\n // (`revalidate: false`) or that are dynamic (`revalidate: 0`)\n // keep `expire: undefined`.\n revalidate !== false && revalidate > 0\n ? nextConfig.expireTime\n : undefined\n : context.renderOpts.collectedExpire\n\n // Create the cache entry for the response.\n const cacheEntry: ResponseCacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers,\n },\n cacheControl: { revalidate, expire },\n }\n\n return cacheEntry\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, pendingWaitUntil)\n return null\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry?.isStale) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n throw err\n }\n }\n\n const handleResponse = async (\n currentSpan: Span | undefined,\n parentSpan: Span | undefined\n ) => {\n try {\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n previewProps,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode,\n })\n\n if (cacheEntry !== null && 'error' in cacheEntry) {\n throw cacheEntry.error\n }\n\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return\n }\n\n if (cacheEntry?.value?.kind !== CachedRouteKind.APP_ROUTE) {\n throw new Error(\n `Invariant: app-route received invalid cache entry ${cacheEntry?.value?.kind}`\n )\n }\n\n if (!isMinimalMode) {\n res.setHeader(\n 'x-nextjs-cache',\n isOnDemandRevalidate\n ? 'REVALIDATED'\n : cacheEntry.isMiss\n ? 'MISS'\n : cacheEntry.isStale\n ? 'STALE'\n : 'HIT'\n )\n }\n\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader(\n 'Cache-Control',\n 'private, no-cache, no-store, max-age=0, must-revalidate'\n )\n }\n\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers)\n\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER)\n }\n\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (\n cacheEntry.cacheControl &&\n !res.getHeader('Cache-Control') &&\n !headers.get('Cache-Control')\n ) {\n headers.set(\n 'Cache-Control',\n getCacheControlHeader(cacheEntry.cacheControl)\n )\n }\n\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200,\n })\n )\n return\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n\n // rethrow so that we can handle serving error page\n\n // If this is during static generation, throw the error again.\n if (isIsr) throw err\n\n // Otherwise, send a 500 response unless the original response has\n // already committed. In that case, preserve its status code for\n // telemetry while still recording the failure and terminating a response\n // that the failed pipeline left open.\n if (res.headersSent) {\n if (currentSpan) {\n const error =\n err instanceof Error ? err : new Error('Unknown app route error')\n currentSpan.recordException(error)\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n message: error.message,\n })\n currentSpan.setAttribute('error.type', error.name)\n }\n if (!res.writableEnded && !res.destroyed) {\n res.end()\n }\n } else {\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n new Response(null, { status: 500 })\n )\n }\n return\n } finally {\n ;(() => {\n if (!currentSpan) {\n return\n }\n\n let statusCode = res.statusCode\n\n currentSpan.setAttributes({\n 'http.status_code': statusCode,\n 'next.rsc': false,\n })\n\n if (statusCode && statusCode >= 500) {\n // For 5xx status codes: SHOULD be set to 'Error' span status.\n // x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n })\n // For span status 'Error', SHOULD set 'error.type' attribute.\n currentSpan.setAttribute('error.type', statusCode.toString())\n }\n\n const rootSpanAttributes = tracer.getRootSpanAttributes()\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return\n }\n\n if (\n rootSpanAttributes.get('next.span_type') !==\n BaseServerSpan.handleRequest\n ) {\n console.warn(\n `Unexpected root span type '${rootSpanAttributes.get(\n 'next.span_type'\n )}'. Please report this Next.js issue https://github.com/vercel/next.js`\n )\n return\n }\n\n const route = rootSpanAttributes.get('next.route') || normalizedSrcPage\n const name = `${method} ${route}`\n\n currentSpan.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name,\n })\n currentSpan.updateName(name)\n\n // Propagate http.route to the parent span if one exists (e.g.\n // a platform-created HTTP span in adapter deployments).\n if (parentSpan && parentSpan !== currentSpan) {\n parentSpan.setAttribute('http.route', route)\n parentSpan.updateName(name)\n }\n })()\n }\n }\n\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (isWrappedByNextServer && activeSpan) {\n await handleResponse(activeSpan, undefined)\n } else {\n let parentSpan = tracer.getActiveScopeSpan()\n await tracer.withPropagatedContext(\n req.headers,\n () =>\n tracer.trace(\n BaseServerSpan.handleRequest,\n {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url,\n },\n },\n (span) => handleResponse(span, parentSpan)\n ),\n undefined,\n !isWrappedByNextServer\n )\n }\n}\n"],"names":["dynamic","GET","_req","params","projectId","store","cfg","beads","list","meta","kind","humanActor","humanAllowlist","pollIntervalMs","gamification","readOnly","lanePrefix","e","POST","req","input","parse","json","bead","create","AppRouteRouteModule","RouteKind","patchFetch","_patchFetch","addRequestMeta","getRequestMeta","setRequestMeta","getTracer","SpanKind","SpanStatusCode","setManifestsSingleton","normalizeAppPath","NodeNextRequest","NodeNextResponse","NextRequestAdapter","signalFromNodeResponse","BaseServerSpan","getRevalidateReason","sendResponse","fromNodeOutgoingHttpHeaders","toNodeOutgoingHttpHeaders","getCacheControlHeader","INFINITE_CACHE","NEXT_CACHE_TAGS_HEADER","NoFallbackError","isRouteCacheOwner","CachedRouteKind","routeModule","definition","APP_ROUTE","page","pathname","filename","bundlePath","distDir","process","env","__NEXT_RELATIVE_DIST_DIR","relativeProjectDir","__NEXT_RELATIVE_PROJECT_DIR","resolvedPagePath","nextConfigOutput","userland","require","TURBOPACK","__NEXT_DEV_SERVER","getUserland","workAsyncStorage","workUnitAsyncStorage","serverHooks","handler","res","ctx","requestMeta","isDev","hrtime","bigint","srcPage","replace","multiZoneDraftMode","__NEXT_MULTI_ZONE_DRAFT_MODE","prepareResult","prepare","statusCode","end","waitUntil","Promise","resolve","buildId","deploymentId","nextConfig","parsedUrl","isDraftMode","prerenderManifest","routerServerContext","isOnDemandRevalidate","revalidateOnlyGenerated","resolvedPathname","clientReferenceManifest","serverActionsManifest","previewProps","normalizedSrcPage","isPrerendered","Boolean","routes","cacheOwner","isIsr","dynamicRoutes","render404","prerenderInfo","fallback","adapterPath","cacheKey","method","tracer","activeSpan","getActiveScopeSpan","isWrappedByNextServer","isMinimalMode","incrementalCache","getIncrementalCache","resetRequestCache","globalThis","__incrementalCache","context","renderOpts","experimental","authInterrupts","useCacheTimeout","durableUseCacheEntries","cacheComponents","validationLevel","instantInsights","hmrRefreshHash","cacheLifeProfiles","cacheLife","staticPageGenerationTimeout","onClose","cb","on","onAfterTaskError","undefined","sharedContext","nodeNextReq","nodeNextRes","nextReq","fromNodeNextRequest","responseGenerator","previousCacheEntry","setHeader","response","handle","prerender","fetchMetrics","pendingWaitUntil","cacheTags","collectedTags","blob","headers","type","revalidate","collectedRevalidate","expire","collectedExpire","expireTime","cacheEntry","value","status","body","Buffer","from","arrayBuffer","cacheControl","err","isStale","silenceLog","onRequestError","routerKind","routePath","routeType","revalidateReason","isStaticGeneration","handleResponse","currentSpan","parentSpan","routeKind","isFallback","isRoutePPREnabled","error","Error","isMiss","delete","getHeader","get","set","Response","headersSent","recordException","setStatus","code","ERROR","message","setAttribute","name","writableEnded","destroyed","setAttributes","toString","rootSpanAttributes","getRootSpanAttributes","handleRequest","console","warn","route","updateName","withPropagatedContext","trace","spanName","SERVER","attributes","url","span"],"mappings":"6CAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OAMO,eAAeC,EAAIC,CAAa,CAAE,QAAEC,CAAM,CAAO,EACtD,GAAI,CACF,GAAM,WAAEC,CAAS,CAAE,CAAG,MAAMD,EACtBE,EAAQ,MAAM,CAAA,EAAA,EAAA,CAAA,AAAQ,EAACD,GACvBE,EAAM,CAAA,EAAA,EAAA,CAAA,AAAS,IACfC,EAAQ,MAAMF,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AAS8L,MAAM,CACrBC,WAAY,CACV,cAAe1G,EACf,cAAenG,EAAI8M,GAAG,AACxB,CACF,EACA,AAACC,GAASvC,EAAeuC,EAAMrC,SAEnC3C,EACA,CAACxB,EAEL,CACF,mCA9gBA,SAAS/F,EACP,MAAA,CAAA,EAAOC,EAAAA,CAAAA,EAAY,kBACjB4C,uBACAC,CACF,EACF","ignoreList":[1]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[57076,e=>{var t=e.i(83535),a=e.i(72507),r=e.i(73744),n=e.i(27864),i=e.i(27080),o=e.i(95100);let s=[{id:"backlog",name:"Backlog",color:"#64748b",cmd:"deferred",droppable:!0,status:"deferred",test:e=>"deferred"===e.status},{id:"ready",name:"Ready",color:"#3b82f6",cmd:"bd ready",droppable:!0,status:"open",test:(e,t)=>"open"===e.status&&!t},{id:"in_progress",name:"In Progress",color:"#d97706",cmd:"in_progress",droppable:!0,status:"in_progress",test:e=>"in_progress"===e.status||"hooked"===e.status},{id:"blocked",name:"Blocked",color:"#ef4444",cmd:"bd blocked",droppable:!1,test:(e,t)=>t&&"deferred"!==e.status&&"closed"!==e.status},{id:"done",name:"Done",color:"#16a34a",cmd:"closed",droppable:!0,status:"closed",test:e=>"closed"===e.status}];s.map(e=>e.id);let l=e=>{if(!e)return null;let t=Date.parse(e);return Number.isFinite(t)?t:null},d=e=>new Date(e).toISOString().slice(0,10);function u(e,t){if(0===e.length)return 0;let a=Math.min(e.length-1,Math.floor(t/100*e.length));return Math.round(10*e[a])/10}function c(e){let t=[...e].sort((e,t)=>e-t);return{p50:u(t,50),p90:u(t,90),count:t.length}}async function p(e,{params:u}){try{let{projectId:p}=await u,h=new URL(e.url),f=Math.min(365,Math.max(7,Number(h.searchParams.get("days"))||30)),g=await (0,t.R)(p),m=(0,a.L)(),w=await g.list(),v=(0,a.e)(p),b=v&&"path"in v?v.path:null,R=b?(0,n.O)(b):[],y=function(e,t,a,r,n){let u=n-864e5*r,p=(0,o.Y)(e),h=[];for(let e=u;e<=n;e+=864e5)h.push(d(e));let f=new Map(h.map(e=>[e,{date:e,human:0,agent:0,total:0}])),g=new Map(h.map(e=>[e,{date:e,created:0,closed:0}])),m=new Map,w=[];for(let e of t){if("field_change"!==e.kind||e.extra?.field!=="status"||!e.issue_id)continue;let t=l(e.created_at);if(null!==t)if("in_progress"===e.extra.new_value){let a=m.get(e.issue_id);(void 0===a||t<a)&&m.set(e.issue_id,t)}else"closed"===e.extra.new_value&&w.push({issueId:e.issue_id,at:t,actor:e.actor})}let v=w.length>0||m.size>0,b=[];if(w.length>0)for(let e of w){let t=p.get(e.issueId);t&&b.push({bead:t,at:e.at,origin:(0,i.P)(e.actor,a)})}else for(let t of e){let e=l(t.closed_at);null!==e&&b.push({bead:t,at:e,origin:(0,i.P)(t.assignee||t.created_by,a)})}for(let e of b){if(e.at<u||e.at>n)continue;let t=d(e.at),a=f.get(t);a&&(a.total++,"human"===e.origin?a.human++:a.agent++);let r=g.get(t);r&&r.closed++}for(let t of e){let e=l(t.created_at);if(null===e||e<u||e>n)continue;let a=g.get(d(e));a&&a.created++}let R=[],y=[],x=[];for(let e of b){if(e.at<u||e.at>n)continue;let t=m.get(e.bead.id)??l(e.bead.started_at)??l(e.bead.created_at);if(null===t||e.at<=t)continue;let a=(e.at-t)/36e5;R.push(a),("human"===e.origin?y:x).push(a)}let _=[];for(let t of e){if("in_progress"!==t.status&&"hooked"!==t.status)continue;let e=m.get(t.id)??l(t.started_at)??l(t.updated_at)??l(t.created_at);null!==e&&_.push({id:t.id,title:t.title,days:Math.round((n-e)/864e5*10)/10,origin:(0,i.P)(t.assignee||t.created_by,a)})}_.sort((e,t)=>t.days-e.days);let E=new Map(s.map(e=>[e.id,0]));for(let t of e){let e=function(e,t){let a=(0,o.V)(e,t);for(let t of s)if(t.test(e,a))return t.id;return null}(t,p);e&&E.set(e,(E.get(e)??0)+1)}let C=s.map(e=>({id:e.id,name:e.name,color:e.color,count:E.get(e.id)??0}));return{days:r,throughput:h.map(e=>f.get(e)),createdClosed:h.map(e=>g.get(e)),cycle:{overall:c(R),human:c(y),agent:c(x)},aging:_.slice(0,12),columns:C,hasEvents:v}}(w,R,m.humanAllowlist,f,Date.now());return(0,r.N)(y)}catch(e){return(0,r.O)(e)}}e.s(["GET",0,p,"dynamic",0,"force-dynamic"],57076)},20771,e=>{var t=e.i(47909),a=e.i(74017),r=e.i(96250),n=e.i(59756),i=e.i(61916),o=e.i(74677),s=e.i(69741),l=e.i(16795),d=e.i(87718),u=e.i(95169),c=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(74838),g=e.i(10372),m=e.i(93695),w=e.i(9580);e.i(52474);var v=e.i(220);let b=new t.AppRouteRouteModule({definition:{kind:a.f.APP_ROUTE,page:"/api/p/[projectId]/insights/route",pathname:"/api/p/[projectId]/insights",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/p/[projectId]/insights/route.ts",nextConfigOutput:"",userland:()=>e.r(57076),...{}}),{workAsyncStorage:R,workUnitAsyncStorage:y,serverHooks:x}=b;async function _(e,t,r){r.requestMeta&&(0,n.R)(e,r.requestMeta),b.isDev&&(0,n.i)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let R="/api/p/[projectId]/insights/route";R=R.replace(/\/index$/,"")||"/";let y=await b.prepare(e,t,{srcPage:R,multiZoneDraftMode:!1});if(!y)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:x,deploymentId:_,params:E,nextConfig:C,parsedUrl:P,isDraftMode:A,prerenderManifest:k,routerServerContext:S,isOnDemandRevalidate:T,revalidateOnlyGenerated:M,resolvedPathname:O,clientReferenceManifest:U,serverActionsManifest:I,previewProps:D}=y,q=(0,s.f)(R),N=!!k.routes[O]&&(b.isDev||(0,w.f)(O,b.cacheOwner,k.routes[O])),j=!!(k.dynamicRoutes[q]||N),L=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,P,!1):t.end("This page could not be found"),null);if(j&&!A){let e=k.dynamicRoutes[q];if(e&&!1===e.fallback&&!N){if(C.adapterPath)return await L();throw new m.NoFallbackError}}let H=null;!j||b.isDev||A||(H="/index"===(H=O)?"/":H),I&&U&&(0,o.f)({page:R,clientReferenceManifest:U,serverActionsManifest:I});let G=e.method||"GET",$=(0,i.v)(),B=$.getActiveScopeSpan(),F=!!(null==S?void 0:S.isWrappedByNextServer),V=!!(0,n.w)(e,"minimalMode"),K=(0,n.w)(e,"incrementalCache")||await b.getIncrementalCache(e,C,D,k,V);null==K||K.resetRequestCache(),globalThis.__incrementalCache=K;let J={params:E,previewProps:D,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout,durableUseCacheEntries:!!C.experimental.durableUseCacheEntries},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,isDraftMode:A,incrementalCache:K,hmrRefreshHash:(0,n.w)(e,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0},sharedContext:{buildId:x,deploymentId:_}},Q=new l.x(e),W=new l.e(t),z=d.k.fromNodeNextRequest(Q,(0,d.t)(t)),Y=async({previousCacheEntry:a})=>{try{if(!V&&T&&M&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=null===H?await b.handle(z,J):await b.prerender(z,J);e.fetchMetrics=J.renderOpts.fetchMetrics;let i=J.renderOpts.pendingWaitUntil;i&&r.waitUntil&&(r.waitUntil(i),i=void 0);let o=J.renderOpts.collectedTags;if(!j)return await (0,p.f)(Q,W,n,i),null;{let e=await n.blob(),t=(0,h.S)(n.headers);o&&(t[g.M]=o),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==J.renderOpts.collectedRevalidate&&!(J.renderOpts.collectedRevalidate>=g.Q)&&J.renderOpts.collectedRevalidate,r=void 0===J.renderOpts.collectedExpire||J.renderOpts.collectedExpire>=g.Q?!1!==a&&a>0?C.expireTime:void 0:J.renderOpts.collectedExpire;return{value:{kind:v.x.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await b.onRequestError(e,t,{routerKind:"App Router",routePath:R,routeType:"route",revalidateReason:(0,c.f)({isStaticGeneration:null!==H,isOnDemandRevalidate:T})},!1,S),t}},Z=async(n,o)=>{try{var s,l;let n=await b.handleResponse({req:e,nextConfig:C,cacheKey:H,routeKind:a.f.APP_ROUTE,isFallback:!1,previewProps:D,prerenderManifest:k,isRoutePPREnabled:!1,isOnDemandRevalidate:T,revalidateOnlyGenerated:M,responseGenerator:Y,waitUntil:r.waitUntil,isMinimalMode:V});if(null!==n&&"error"in n)throw n.error;if(!j)return;if((null==n||null==(s=n.value)?void 0:s.kind)!==v.x.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`);V||t.setHeader("x-nextjs-cache",T?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.G)(n.value.headers);V&&j||i.delete(g.M),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,f.f)(n.cacheControl)),await (0,p.f)(Q,W,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(a){if(a instanceof m.NoFallbackError||await b.onRequestError(e,a,{routerKind:"App Router",routePath:q,routeType:"route",revalidateReason:(0,c.f)({isStaticGeneration:null!==H,isOnDemandRevalidate:T})},!1,S),j)throw a;if(t.headersSent){if(n){let e=a instanceof Error?a:Error("Unknown app route error");n.recordException(e),n.setStatus({code:i.J.ERROR,message:e.message}),n.setAttribute("error.type",e.name)}t.writableEnded||t.destroyed||t.end()}else await (0,p.f)(Q,W,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.J.ERROR}),n.setAttribute("error.type",e.toString()));let a=$.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==u.q.handleRequest)return console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route")||q,s=`${G} ${r}`;n.setAttributes({"next.route":r,"http.route":r,"next.span_name":s}),n.updateName(s),o&&o!==n&&(o.setAttribute("http.route",r),o.updateName(s))})()}};if(F&&B)await Z(B,void 0);else{let t=$.getActiveScopeSpan();await $.withPropagatedContext(e.headers,()=>$.trace(u.q.handleRequest,{spanName:`${G} ${R}`,kind:i.C.SERVER,attributes:{"http.method":G,"http.target":e.url}},e=>Z(e,t)),void 0,!F)}}e.s(["handler",0,_,"patchFetch",0,function(){return(0,r.f)({workAsyncStorage:R,workUnitAsyncStorage:y})},"routeModule",0,b,"serverHooks",0,x,"workAsyncStorage",0,R,"workUnitAsyncStorage",0,y])}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1o0e0kk3zhmfk._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../app/api/p/%5BprojectId%5D/insights/route.ts","../../../lib/insights.ts","../../../lib/board-columns.ts","../../../node_modules/next/src/build/templates/app-route.ts"],"sourcesContent":["import { getStore } from \"@/lib/store\";\nimport { getConfig, getProject } from \"@/lib/config\";\nimport { ok, fail } from \"@/lib/api\";\nimport { readInteractions } from \"@/lib/interactions\";\nimport { computeInsights } from \"@/lib/insights\";\n\nexport const dynamic = \"force-dynamic\";\n\ntype Ctx = { params: Promise<{ projectId: string }> };\n\nexport async function GET(req: Request, { params }: Ctx) {\n try {\n const { projectId } = await params;\n const url = new URL(req.url);\n const days = Math.min(365, Math.max(7, Number(url.searchParams.get(\"days\")) || 30));\n\n const store = await getStore(projectId);\n const cfg = getConfig();\n const beads = await store.list();\n const project = getProject(projectId);\n const repoPath = project && \"path\" in project ? project.path : null;\n const events = repoPath ? readInteractions(repoPath) : [];\n\n const data = computeInsights(beads, events, cfg.humanAllowlist, days, Date.now());\n return ok(data);\n } catch (e) {\n return fail(e);\n }\n}\n","import \"server-only\";\nimport type { Bead } from \"./schema\";\nimport { originOf, type Origin } from \"./attribution\";\nimport type { RawInteraction } from \"./interactions\";\nimport { BOARD_COLUMNS, colOf } from \"./board-columns\";\nimport { makeIndex } from \"./beads-view\";\n\n/**\n * Flow metrics for the Insights dashboard, derived from the bead list plus the\n * interaction log (status transitions). Everything is computed server-side so\n * the client only renders. Reuses lib/interactions readInteractions output.\n */\n\nconst DAY = 86_400_000;\n\nexport interface DayPoint {\n date: string;\n human: number;\n agent: number;\n total: number;\n}\nexport interface CreatedClosedPoint {\n date: string;\n created: number;\n closed: number;\n}\nexport interface CycleStat {\n /** hours */\n p50: number;\n p90: number;\n count: number;\n}\nexport interface AgingItem {\n id: string;\n title: string;\n days: number;\n origin: Origin;\n}\nexport interface ColumnCount {\n id: string;\n name: string;\n color: string;\n count: number;\n}\nexport interface InsightsData {\n days: number;\n throughput: DayPoint[];\n createdClosed: CreatedClosedPoint[];\n cycle: { overall: CycleStat; human: CycleStat; agent: CycleStat };\n aging: AgingItem[];\n columns: ColumnCount[];\n hasEvents: boolean;\n}\n\nconst ms = (iso?: string | null): number | null => {\n if (!iso) return null;\n const t = Date.parse(iso);\n return Number.isFinite(t) ? t : null;\n};\nconst dayKey = (t: number) => new Date(t).toISOString().slice(0, 10);\n\nfunction percentile(sorted: number[], p: number): number {\n if (sorted.length === 0) return 0;\n const idx = Math.min(sorted.length - 1, Math.floor((p / 100) * sorted.length));\n return Math.round(sorted[idx] * 10) / 10;\n}\nfunction cycleStat(durations: number[]): CycleStat {\n const s = [...durations].sort((a, b) => a - b);\n return { p50: percentile(s, 50), p90: percentile(s, 90), count: s.length };\n}\n\nexport function computeInsights(\n beads: Bead[],\n events: RawInteraction[],\n humanAllowlist: string[],\n days: number,\n now: number,\n): InsightsData {\n const start = now - days * DAY;\n const index = makeIndex(beads);\n\n // Day buckets across the range (oldest → newest).\n const buckets: string[] = [];\n for (let t = start; t <= now; t += DAY) buckets.push(dayKey(t));\n const tp = new Map(buckets.map((d) => [d, { date: d, human: 0, agent: 0, total: 0 }]));\n const cc = new Map(buckets.map((d) => [d, { date: d, created: 0, closed: 0 }]));\n\n // From the interaction log: first in_progress per issue + close events.\n const firstInProgress = new Map<string, number>();\n const closeEvents: { issueId: string; at: number; actor?: string }[] = [];\n for (const ev of events) {\n if (ev.kind !== \"field_change\" || ev.extra?.field !== \"status\" || !ev.issue_id) continue;\n const at = ms(ev.created_at);\n if (at === null) continue;\n if (ev.extra.new_value === \"in_progress\") {\n const prev = firstInProgress.get(ev.issue_id);\n if (prev === undefined || at < prev) firstInProgress.set(ev.issue_id, at);\n } else if (ev.extra.new_value === \"closed\") {\n closeEvents.push({ issueId: ev.issue_id, at, actor: ev.actor });\n }\n }\n const hasEvents = closeEvents.length > 0 || firstInProgress.size > 0;\n\n // Closes: from the log when present, else synthesized from bead.closed_at.\n type Close = { bead: Bead; at: number; origin: Origin };\n const closes: Close[] = [];\n if (closeEvents.length > 0) {\n for (const ce of closeEvents) {\n const bead = index.get(ce.issueId);\n if (!bead) continue;\n closes.push({ bead, at: ce.at, origin: originOf(ce.actor, humanAllowlist) });\n }\n } else {\n for (const b of beads) {\n const at = ms(b.closed_at);\n if (at === null) continue;\n closes.push({ bead: b, at, origin: originOf(b.assignee || b.created_by, humanAllowlist) });\n }\n }\n\n // Throughput + closed counts.\n for (const c of closes) {\n if (c.at < start || c.at > now) continue;\n const k = dayKey(c.at);\n const point = tp.get(k);\n if (point) {\n point.total++;\n if (c.origin === \"human\") point.human++;\n else point.agent++;\n }\n const ccp = cc.get(k);\n if (ccp) ccp.closed++;\n }\n // Created counts.\n for (const b of beads) {\n const at = ms(b.created_at);\n if (at === null || at < start || at > now) continue;\n const ccp = cc.get(dayKey(at));\n if (ccp) ccp.created++;\n }\n\n // Cycle time (in_progress → close), falling back to created → close.\n const dur = { all: [] as number[], human: [] as number[], agent: [] as number[] };\n for (const c of closes) {\n if (c.at < start || c.at > now) continue;\n const startT =\n firstInProgress.get(c.bead.id) ?? ms(c.bead.started_at) ?? ms(c.bead.created_at);\n if (startT === null || c.at <= startT) continue;\n const hours = (c.at - startT) / 3_600_000;\n dur.all.push(hours);\n (c.origin === \"human\" ? dur.human : dur.agent).push(hours);\n }\n\n // Aging WIP: still in progress, time since work started.\n const aging: AgingItem[] = [];\n for (const b of beads) {\n if (b.status !== \"in_progress\" && b.status !== \"hooked\") continue;\n const startT =\n firstInProgress.get(b.id) ?? ms(b.started_at) ?? ms(b.updated_at) ?? ms(b.created_at);\n if (startT === null) continue;\n aging.push({\n id: b.id,\n title: b.title,\n days: Math.round(((now - startT) / DAY) * 10) / 10,\n origin: originOf(b.assignee || b.created_by, humanAllowlist),\n });\n }\n aging.sort((a, b) => b.days - a.days);\n\n // Column counts (current snapshot) for WIP limits.\n const counts = new Map(BOARD_COLUMNS.map((c) => [c.id, 0]));\n for (const b of beads) {\n const col = colOf(b, index);\n if (col) counts.set(col, (counts.get(col) ?? 0) + 1);\n }\n const columns = BOARD_COLUMNS.map((c) => ({\n id: c.id,\n name: c.name,\n color: c.color,\n count: counts.get(c.id) ?? 0,\n }));\n\n return {\n days,\n throughput: buckets.map((d) => tp.get(d)!),\n createdClosed: buckets.map((d) => cc.get(d)!),\n cycle: { overall: cycleStat(dur.all), human: cycleStat(dur.human), agent: cycleStat(dur.agent) },\n aging: aging.slice(0, 12),\n columns,\n hasEvents,\n };\n}\n","import type { Bead } from \"./schema\";\nimport { isBlocked } from \"./beads-view\";\n\n/**\n * The board's column model — shared by the Board (Kanban) and List views so they\n * agree on which column a bead belongs to and the column ordering used for the\n * manual run-order. Column order here defines top-to-bottom order in the List.\n */\nexport interface BoardColumn {\n id: string;\n name: string;\n color: string;\n cmd: string;\n droppable: boolean;\n /** The bd status a drop into this column sets (undefined = not a real status). */\n status?: string;\n test: (b: Bead, blocked: boolean) => boolean;\n}\n\nexport const BOARD_COLUMNS: BoardColumn[] = [\n { id: \"backlog\", name: \"Backlog\", color: \"#64748b\", cmd: \"deferred\", droppable: true, status: \"deferred\", test: (b) => b.status === \"deferred\" },\n { id: \"ready\", name: \"Ready\", color: \"#3b82f6\", cmd: \"bd ready\", droppable: true, status: \"open\", test: (b, blocked) => b.status === \"open\" && !blocked },\n { id: \"in_progress\", name: \"In Progress\", color: \"#d97706\", cmd: \"in_progress\", droppable: true, status: \"in_progress\", test: (b) => b.status === \"in_progress\" || b.status === \"hooked\" },\n { id: \"blocked\", name: \"Blocked\", color: \"#ef4444\", cmd: \"bd blocked\", droppable: false, test: (b, blocked) => blocked && b.status !== \"deferred\" && b.status !== \"closed\" },\n { id: \"done\", name: \"Done\", color: \"#16a34a\", cmd: \"closed\", droppable: true, status: \"closed\", test: (b) => b.status === \"closed\" },\n];\n\nexport const COLUMN_ORDER: string[] = BOARD_COLUMNS.map((c) => c.id);\n\n/** Which board column a bead belongs to (first matching test), or null. */\nexport function colOf(bead: Bead, index: Map<string, Bead>): string | null {\n const blocked = isBlocked(bead, index);\n for (const c of BOARD_COLUMNS) if (c.test(bead, blocked)) return c.id;\n return null;\n}\n\nexport type BoardSortMode = \"priority\" | \"updated\" | \"manual\";\n\nfunction updatedTime(card: Bead): number {\n const parsed = Date.parse(card.updated_at || card.created_at || \"\");\n return Number.isFinite(parsed) ? parsed : Number.NEGATIVE_INFINITY;\n}\n\nfunction byUpdatedThenPriority(left: Bead, right: Bead): number {\n const updatedDiff = updatedTime(right) - updatedTime(left);\n return updatedDiff || left.priority - right.priority || left.id.localeCompare(right.id);\n}\n\nfunction byPriorityThenUpdated(first: Bead, second: Bead): number {\n return first.priority - second.priority || byUpdatedThenPriority(first, second);\n}\n\n/** Sort cards according to the board's explicit display mode. */\nexport function sortBoardCards(\n cards: Bead[], mode: BoardSortMode, order?: string[],\n): Bead[] {\n const rank = new Map((order ?? []).map((id, i) => [id, i]));\n\n return [...cards].sort((cardA, cardB) => {\n if (mode === \"updated\") return byUpdatedThenPriority(cardA, cardB);\n if (mode === \"priority\") return byPriorityThenUpdated(cardA, cardB);\n\n const rankA = rank.get(cardA.id) ?? Number.POSITIVE_INFINITY;\n const rankB = rank.get(cardB.id) ?? Number.POSITIVE_INFINITY;\n if (rankA !== rankB) return rankA - rankB;\n return cardA.priority - cardB.priority;\n });\n}\n\n/** Preserve saved manual order, falling back to priority for unranked cards. */\nexport function sortByOrder(cards: Bead[], order?: string[]): Bead[] {\n return sortBoardCards(cards, \"manual\", order);\n}\n","import {\n AppRouteRouteModule,\n type AppRouteRouteHandlerContext,\n type AppRouteRouteModuleOptions,\n} from '../../server/route-modules/app-route/module.compiled'\nimport { RouteKind } from '../../server/route-kind'\nimport { patchFetch as _patchFetch } from '../../server/lib/patch-fetch'\nimport type { IncomingMessage, ServerResponse } from 'node:http'\nimport {\n addRequestMeta,\n getRequestMeta,\n setRequestMeta,\n type RequestMeta,\n} from '../../server/request-meta'\nimport {\n getTracer,\n type Span,\n SpanKind,\n SpanStatusCode,\n} from '../../server/lib/trace/tracer'\nimport { setManifestsSingleton } from '../../server/app-render/manifests-singleton'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { NodeNextRequest, NodeNextResponse } from '../../server/base-http/node'\nimport {\n NextRequestAdapter,\n signalFromNodeResponse,\n} from '../../server/web/spec-extension/adapters/next-request'\nimport { BaseServerSpan } from '../../server/lib/trace/constants'\nimport { getRevalidateReason } from '../../server/instrumentation/utils'\nimport { sendResponse } from '../../server/send-response'\nimport {\n fromNodeOutgoingHttpHeaders,\n toNodeOutgoingHttpHeaders,\n} from '../../server/web/utils'\nimport { getCacheControlHeader } from '../../server/lib/cache-control'\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from '../../lib/constants'\nimport { NoFallbackError } from '../../shared/lib/no-fallback-error.external'\nimport { isRouteCacheOwner } from '../../server/lib/route-cache-key'\nimport {\n CachedRouteKind,\n type ResponseCacheEntry,\n type ResponseGenerator,\n} from '../../server/response-cache'\n\n// These are injected by the loader afterwards. This is injected as a variable\n// instead of a replacement because this could also be `undefined` instead of\n// an empty string.\ndeclare const nextConfigOutput: AppRouteRouteModuleOptions['nextConfigOutput']\n\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\n// INJECT:nextConfigOutput\n\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: 'VAR_DEFINITION_PAGE',\n pathname: 'VAR_DEFINITION_PATHNAME',\n filename: 'VAR_DEFINITION_FILENAME',\n bundlePath: 'VAR_DEFINITION_BUNDLE_PATH',\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: 'VAR_RESOLVED_PAGE_PATH',\n nextConfigOutput,\n // The lazy require factory ensures that:\n // - In dev: devRequestTimingInternalsEnd is set before userland executes,\n // correctly attributing module load time to application-code rather than\n // framework internals.\n // - In all modes: async modules (route files with top-level await) are\n // handled correctly — require() returns a Promise for such modules, which\n // ensureUserland() awaits before the first request is handled.\n userland: () => require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n // In Turbopack dev mode, also provide a synchronous per-request getter so\n // server HMR updates are picked up without re-executing the entry chunk.\n // Using require() (synchronous) avoids adding async overhead that would be\n // incorrectly attributed to application-code time in devRequestTiming.\n ...(process.env.TURBOPACK && process.env.__NEXT_DEV_SERVER\n ? {\n getUserland: () =>\n require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n }\n : {}),\n})\n\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule\n\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage,\n })\n}\n\nexport {\n routeModule,\n workAsyncStorage,\n workUnitAsyncStorage,\n serverHooks,\n patchFetch,\n}\n\nexport async function handler(\n req: IncomingMessage,\n res: ServerResponse,\n ctx: {\n waitUntil?: (prom: Promise<void>) => void\n requestMeta?: RequestMeta\n }\n) {\n if (ctx.requestMeta) {\n setRequestMeta(req, ctx.requestMeta)\n }\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint())\n }\n let srcPage = 'VAR_DEFINITION_PAGE'\n\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/'\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/'\n }\n const multiZoneDraftMode = process.env\n .__NEXT_MULTI_ZONE_DRAFT_MODE as any as boolean\n\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode,\n })\n\n if (!prepareResult) {\n res.statusCode = 400\n res.end('Bad Request')\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n const {\n buildId,\n deploymentId,\n params,\n nextConfig,\n parsedUrl,\n isDraftMode,\n prerenderManifest,\n routerServerContext,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n resolvedPathname,\n clientReferenceManifest,\n serverActionsManifest,\n previewProps,\n } = prepareResult\n\n const normalizedSrcPage = normalizeAppPath(srcPage)\n\n // Only this route's prerenders can establish ISR or admit generated params.\n const isPrerendered =\n Boolean(prerenderManifest.routes[resolvedPathname]) &&\n (routeModule.isDev ||\n isRouteCacheOwner(\n resolvedPathname,\n routeModule.cacheOwner,\n prerenderManifest.routes[resolvedPathname]\n ))\n\n let isIsr = Boolean(\n prerenderManifest.dynamicRoutes[normalizedSrcPage] || isPrerendered\n )\n\n const render404 = async () => {\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext?.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false)\n } else {\n res.end('This page could not be found')\n }\n return null\n }\n\n if (isIsr && !isDraftMode) {\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage]\n\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.adapterPath) {\n return await render404()\n }\n throw new NoFallbackError()\n }\n }\n }\n\n let cacheKey: string | null = null\n\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey\n }\n\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest,\n })\n }\n\n const method = req.method || 'GET'\n const tracer = getTracer()\n const activeSpan = tracer.getActiveScopeSpan()\n const isWrappedByNextServer = Boolean(\n routerServerContext?.isWrappedByNextServer\n )\n const isMinimalMode = Boolean(getRequestMeta(req, 'minimalMode'))\n\n const incrementalCache =\n getRequestMeta(req, 'incrementalCache') ||\n (await routeModule.getIncrementalCache(\n req,\n nextConfig,\n previewProps,\n prerenderManifest,\n isMinimalMode\n ))\n\n incrementalCache?.resetRequestCache()\n ;(globalThis as any).__incrementalCache = incrementalCache\n\n const context: AppRouteRouteHandlerContext = {\n params,\n previewProps,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts),\n useCacheTimeout: nextConfig.experimental.useCacheTimeout,\n durableUseCacheEntries: Boolean(\n nextConfig.experimental.durableUseCacheEntries\n ),\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n validationLevel: nextConfig.experimental.instantInsights.validationLevel,\n isDraftMode,\n incrementalCache,\n hmrRefreshHash: getRequestMeta(req, 'hmrRefreshHash'),\n cacheLifeProfiles: nextConfig.cacheLife,\n staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,\n waitUntil: ctx.waitUntil,\n onClose: (cb) => {\n res.on('close', cb)\n },\n onAfterTaskError: undefined,\n },\n sharedContext: {\n buildId,\n deploymentId,\n },\n }\n const nodeNextReq = new NodeNextRequest(req)\n const nodeNextRes = new NodeNextResponse(res)\n\n const nextReq = NextRequestAdapter.fromNodeNextRequest(\n nodeNextReq,\n signalFromNodeResponse(res)\n )\n\n const responseGenerator: ResponseGenerator = async ({\n previousCacheEntry,\n }) => {\n try {\n if (\n !isMinimalMode &&\n isOnDemandRevalidate &&\n revalidateOnlyGenerated &&\n !previousCacheEntry\n ) {\n res.statusCode = 404\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED')\n res.end('This page could not be found')\n return null\n }\n\n const response =\n cacheKey === null\n ? await routeModule.handle(nextReq, context)\n : await routeModule.prerender(nextReq, context)\n\n ;(req as any).fetchMetrics = (context.renderOpts as any).fetchMetrics\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil\n\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil)\n pendingWaitUntil = undefined\n }\n }\n const cacheTags = context.renderOpts.collectedTags\n\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob()\n\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers)\n\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags\n }\n\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type\n }\n\n const revalidate =\n typeof context.renderOpts.collectedRevalidate === 'undefined' ||\n context.renderOpts.collectedRevalidate >= INFINITE_CACHE\n ? false\n : context.renderOpts.collectedRevalidate\n\n const expire =\n typeof context.renderOpts.collectedExpire === 'undefined' ||\n context.renderOpts.collectedExpire >= INFINITE_CACHE\n ? // Fall back to the global `expireTime` config when the\n // route has a numeric `revalidate` but didn't declare an\n // explicit `expire` (e.g. via `cacheLife`). This mirrors the\n // build-time fallback in `build/index.ts` so cache entries\n // and the response Cache-Control header agree on the route's\n // effective expire. Routes that opt out of revalidation\n // (`revalidate: false`) or that are dynamic (`revalidate: 0`)\n // keep `expire: undefined`.\n revalidate !== false && revalidate > 0\n ? nextConfig.expireTime\n : undefined\n : context.renderOpts.collectedExpire\n\n // Create the cache entry for the response.\n const cacheEntry: ResponseCacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers,\n },\n cacheControl: { revalidate, expire },\n }\n\n return cacheEntry\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, pendingWaitUntil)\n return null\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry?.isStale) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n throw err\n }\n }\n\n const handleResponse = async (\n currentSpan: Span | undefined,\n parentSpan: Span | undefined\n ) => {\n try {\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n previewProps,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode,\n })\n\n if (cacheEntry !== null && 'error' in cacheEntry) {\n throw cacheEntry.error\n }\n\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return\n }\n\n if (cacheEntry?.value?.kind !== CachedRouteKind.APP_ROUTE) {\n throw new Error(\n `Invariant: app-route received invalid cache entry ${cacheEntry?.value?.kind}`\n )\n }\n\n if (!isMinimalMode) {\n res.setHeader(\n 'x-nextjs-cache',\n isOnDemandRevalidate\n ? 'REVALIDATED'\n : cacheEntry.isMiss\n ? 'MISS'\n : cacheEntry.isStale\n ? 'STALE'\n : 'HIT'\n )\n }\n\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader(\n 'Cache-Control',\n 'private, no-cache, no-store, max-age=0, must-revalidate'\n )\n }\n\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers)\n\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER)\n }\n\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (\n cacheEntry.cacheControl &&\n !res.getHeader('Cache-Control') &&\n !headers.get('Cache-Control')\n ) {\n headers.set(\n 'Cache-Control',\n getCacheControlHeader(cacheEntry.cacheControl)\n )\n }\n\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200,\n })\n )\n return\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: cacheKey !== null,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n\n // rethrow so that we can handle serving error page\n\n // If this is during static generation, throw the error again.\n if (isIsr) throw err\n\n // Otherwise, send a 500 response unless the original response has\n // already committed. In that case, preserve its status code for\n // telemetry while still recording the failure and terminating a response\n // that the failed pipeline left open.\n if (res.headersSent) {\n if (currentSpan) {\n const error =\n err instanceof Error ? err : new Error('Unknown app route error')\n currentSpan.recordException(error)\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n message: error.message,\n })\n currentSpan.setAttribute('error.type', error.name)\n }\n if (!res.writableEnded && !res.destroyed) {\n res.end()\n }\n } else {\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n new Response(null, { status: 500 })\n )\n }\n return\n } finally {\n ;(() => {\n if (!currentSpan) {\n return\n }\n\n let statusCode = res.statusCode\n\n currentSpan.setAttributes({\n 'http.status_code': statusCode,\n 'next.rsc': false,\n })\n\n if (statusCode && statusCode >= 500) {\n // For 5xx status codes: SHOULD be set to 'Error' span status.\n // x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n })\n // For span status 'Error', SHOULD set 'error.type' attribute.\n currentSpan.setAttribute('error.type', statusCode.toString())\n }\n\n const rootSpanAttributes = tracer.getRootSpanAttributes()\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return\n }\n\n if (\n rootSpanAttributes.get('next.span_type') !==\n BaseServerSpan.handleRequest\n ) {\n console.warn(\n `Unexpected root span type '${rootSpanAttributes.get(\n 'next.span_type'\n )}'. Please report this Next.js issue https://github.com/vercel/next.js`\n )\n return\n }\n\n const route = rootSpanAttributes.get('next.route') || normalizedSrcPage\n const name = `${method} ${route}`\n\n currentSpan.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name,\n })\n currentSpan.updateName(name)\n\n // Propagate http.route to the parent span if one exists (e.g.\n // a platform-created HTTP span in adapter deployments).\n if (parentSpan && parentSpan !== currentSpan) {\n parentSpan.setAttribute('http.route', route)\n parentSpan.updateName(name)\n }\n })()\n }\n }\n\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (isWrappedByNextServer && activeSpan) {\n await handleResponse(activeSpan, undefined)\n } else {\n let parentSpan = tracer.getActiveScopeSpan()\n await tracer.withPropagatedContext(\n req.headers,\n () =>\n tracer.trace(\n BaseServerSpan.handleRequest,\n {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url,\n },\n },\n (span) => handleResponse(span, parentSpan)\n ),\n undefined,\n !isWrappedByNextServer\n )\n }\n}\n"],"names":["BOARD_COLUMNS","id","name","color","cmd","droppable","status","test","b","blocked","COLUMN_ORDER","map","c","colOf","bead","index","updatedTime","card","parsed","Date","parse","updated_at","created_at","Number","isFinite","NEGATIVE_INFINITY","byUpdatedThenPriority","left","right","updatedDiff","priority","localeCompare","byPriorityThenUpdated","first","second","sortBoardCards","cards","mode","order","rank","Map","i","sort","cardA","cardB","rankA","get","POSITIVE_INFINITY","rankB","sortByOrder","AppRouteRouteModule","RouteKind","patchFetch","_patchFetch","addRequestMeta","getRequestMeta","setRequestMeta","getTracer","SpanKind","SpanStatusCode","setManifestsSingleton","normalizeAppPath","NodeNextRequest","NodeNextResponse","NextRequestAdapter","signalFromNodeResponse","BaseServerSpan","getRevalidateReason","sendResponse","fromNodeOutgoingHttpHeaders","toNodeOutgoingHttpHeaders","getCacheControlHeader","INFINITE_CACHE","NEXT_CACHE_TAGS_HEADER","NoFallbackError","isRouteCacheOwner","CachedRouteKind","routeModule","definition","kind","APP_ROUTE","page","pathname","filename","bundlePath","distDir","process","env","__NEXT_RELATIVE_DIST_DIR","relativeProjectDir","__NEXT_RELATIVE_PROJECT_DIR","resolvedPagePath","nextConfigOutput","userland","require","TURBOPACK","__NEXT_DEV_SERVER","getUserland","workAsyncStorage","workUnitAsyncStorage","serverHooks","handler","req","res","ctx","requestMeta","isDev","hrtime","bigint","srcPage","replace","multiZoneDraftMode","__NEXT_MULTI_ZONE_DRAFT_MODE","prepareResult","prepare","statusCode","end","waitUntil","Promise","resolve","buildId","deploymentId","params","nextConfig","parsedUrl","isDraftMode","prerenderManifest","routerServerContext","isOnDemandRevalidate","revalidateOnlyGenerated","resolvedPathname","clientReferenceManifest","serverActionsManifest","previewProps","normalizedSrcPage","isPrerendered","Boolean","routes","cacheOwner","isIsr","dynamicRoutes","render404","prerenderInfo","fallback","adapterPath","cacheKey","method","tracer","activeSpan","getActiveScopeSpan","isWrappedByNextServer","isMinimalMode","incrementalCache","getIncrementalCache","resetRequestCache","globalThis","__incrementalCache","context","renderOpts","experimental","authInterrupts","useCacheTimeout","durableUseCacheEntries","cacheComponents","validationLevel","instantInsights","hmrRefreshHash","cacheLifeProfiles","cacheLife","staticPageGenerationTimeout","onClose","cb","on","onAfterTaskError","undefined","sharedContext","nodeNextReq","nodeNextRes","nextReq","fromNodeNextRequest","responseGenerator","previousCacheEntry","setHeader","response","handle","prerender","fetchMetrics","pendingWaitUntil","cacheTags","collectedTags","blob","headers","type","revalidate","collectedRevalidate","expire","collectedExpire","expireTime","cacheEntry","value","body","Buffer","from","arrayBuffer","cacheControl","err","isStale","silenceLog","onRequestError","routerKind","routePath","routeType","revalidateReason","isStaticGeneration","handleResponse","currentSpan","parentSpan","routeKind","isFallback","isRoutePPREnabled","error","Error","isMiss","delete","getHeader","set","Response","headersSent","recordException","setStatus","code","ERROR","message","setAttribute","writableEnded","destroyed","setAttributes","toString","rootSpanAttributes","getRootSpanAttributes","handleRequest","console","warn","route","updateName","withPropagatedContext","trace","spanName","SERVER","attributes","url","span"],"mappings":"6CAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OCDA,EAAA,EAAA,CAAA,CAAA,OCDA,EAAA,EAAA,CAAA,CAAA,OAkBO,IAAMA,EAA+B,CAC1C,CAAEC,GAAI,UAAWC,KAAM,UAAWC,MAAO,UAAWC,IAAK,WAAYC,WAAW,EAAMC,OAAQ,WAAYC,KAAM,AAACC,GAAmB,aAAbA,EAAEF,MAAM,AAAgB,EAC/I,CAAEL,GAAI,QAASC,KAAM,QAASC,MAAO,UAAWC,IAAK,WAAYC,WAAW,EAAMC,OAAQ,OAAQC,KAAM,CAACC,EAAGC,IAAyB,SAAbD,EAAEF,MAAM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ACtC3B,EAAW4B,UAAU,CAAClP,IAE1B,CAAA,EACF,CACF,EAIA,GAAIoJ,GAAyBF,EAC3B,MAAMkE,EAAelE,EADkB,KACN0B,OAC5B,CACL,IAAI0C,EAAarE,EAAOE,kBAAkB,EAC1C,OAAMF,EAAOkG,qBAAqB,CAChC/I,EAAIyF,OAAO,CACX,IACE5C,EAAOmG,KAAK,CACVpL,EAAAA,CAAAA,CAAe8K,aAAa,CAC5B,CACEO,SAAU,CAAA,EAAGrG,EAAO,CAAC,EAAErC,EAAAA,CAAS,CAChC9B,KAAMrB,EAAAA,CAAAA,CAAS8L,MAAM,CACrBC,WAAY,CACV,cAAevG,EACf,cAAe5C,EAAIoJ,GAAG,AACxB,CACF,EACA,AAACC,GAASrC,EAAeqC,EAAMnC,SAEnC1C,EACA,CAACxB,EAEL,CACF,mCA9gBA,SAASlG,EACP,MAAA,CAAA,EAAOC,EAAAA,CAAAA,EAAY,kBACjB6C,uBACAC,CACF,EACF","ignoreList":[3]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../instrumentation.ts"],"sourcesContent":["/**\n * Server init hook (runs once per Next.js server instance).\n *\n * The Node-only error handling lives in ./instrumentation-node and is imported\n * lazily, only under the Node runtime, so Turbopack doesn't flag `process.on`\n * when it analyzes this file for the Edge runtime.\n */\nexport async function register() {\n if (process.env.NEXT_RUNTIME === \"nodejs\") {\n await import(\"./instrumentation-node\");\n }\n}\n"],"names":["register"],"mappings":"sKAOO,eAAeA,IAElB,MAAA,EAAA,CAAA,CAAA,MAEJ"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[85824,e=>{var t=e.i(71724),r=e.i(5954),a=e.i(55744),n=e.i(72507),i=e.i(73744);let o=t.z.object({columnId:r.z.string().min(1),ids:a.z.array(r.z.string())});async function s(e,{params:t}){try{let{projectId:e}=await t;return(0,i.N)({orders:(0,n.d)(e)})}catch(e){return(0,i.O)(e)}}async function l(e,{params:t}){try{let{projectId:r}=await t,{columnId:a,ids:s}=o.parse(await e.json());return(0,i.N)({orders:(0,n.v)(r,a,s)})}catch(e){return(0,i.O)(e)}}e.s(["GET",0,s,"PUT",0,l,"dynamic",0,"force-dynamic"])},4953,e=>{var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),i=e.i(61916),o=e.i(74677),s=e.i(69741),l=e.i(16795),u=e.i(87718),d=e.i(95169),c=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(74838),v=e.i(10372),w=e.i(93695),m=e.i(9580);e.i(52474);var R=e.i(220);let x=new t.AppRouteRouteModule({definition:{kind:r.f.APP_ROUTE,page:"/api/p/[projectId]/order/route",pathname:"/api/p/[projectId]/order",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/p/[projectId]/order/route.ts",nextConfigOutput:"",userland:()=>e.r(85824),...{}}),{workAsyncStorage:y,workUnitAsyncStorage:g,serverHooks:E}=x;async function C(e,t,a){a.requestMeta&&(0,n.R)(e,a.requestMeta),x.isDev&&(0,n.i)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let y="/api/p/[projectId]/order/route";y=y.replace(/\/index$/,"")||"/";let g=await x.prepare(e,t,{srcPage:y,multiZoneDraftMode:!1});if(!g)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:E,deploymentId:C,params:b,nextConfig:P,parsedUrl:T,isDraftMode:A,prerenderManifest:S,routerServerContext:O,isOnDemandRevalidate:U,revalidateOnlyGenerated:k,resolvedPathname:I,clientReferenceManifest:j,serverActionsManifest:q,previewProps:M}=g,N=(0,s.f)(y),D=!!S.routes[I]&&(x.isDev||(0,m.f)(I,x.cacheOwner,S.routes[I])),_=!!(S.dynamicRoutes[N]||D),H=async()=>((null==O?void 0:O.render404)?await O.render404(e,t,T,!1):t.end("This page could not be found"),null);if(_&&!A){let e=S.dynamicRoutes[N];if(e&&!1===e.fallback&&!D){if(P.adapterPath)return await H();throw new w.NoFallbackError}}let G=null;!_||x.isDev||A||(G="/index"===(G=I)?"/":G),q&&j&&(0,o.f)({page:y,clientReferenceManifest:j,serverActionsManifest:q});let L=e.method||"GET",$=(0,i.v)(),z=$.getActiveScopeSpan(),B=!!(null==O?void 0:O.isWrappedByNextServer),F=!!(0,n.w)(e,"minimalMode"),K=(0,n.w)(e,"incrementalCache")||await x.getIncrementalCache(e,P,M,S,F);null==K||K.resetRequestCache(),globalThis.__incrementalCache=K;let V={params:b,previewProps:M,renderOpts:{experimental:{authInterrupts:!!P.experimental.authInterrupts,useCacheTimeout:P.experimental.useCacheTimeout,durableUseCacheEntries:!!P.experimental.durableUseCacheEntries},cacheComponents:!!P.cacheComponents,validationLevel:P.experimental.instantInsights.validationLevel,isDraftMode:A,incrementalCache:K,hmrRefreshHash:(0,n.w)(e,"hmrRefreshHash"),cacheLifeProfiles:P.cacheLife,staticPageGenerationTimeout:P.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0},sharedContext:{buildId:E,deploymentId:C}},J=new l.x(e),Q=new l.e(t),W=u.k.fromNodeNextRequest(J,(0,u.t)(t)),Z=async({previousCacheEntry:r})=>{try{if(!F&&U&&k&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=null===G?await x.handle(W,V):await x.prerender(W,V);e.fetchMetrics=V.renderOpts.fetchMetrics;let i=V.renderOpts.pendingWaitUntil;i&&a.waitUntil&&(a.waitUntil(i),i=void 0);let o=V.renderOpts.collectedTags;if(!_)return await (0,p.f)(J,Q,n,i),null;{let e=await n.blob(),t=(0,h.S)(n.headers);o&&(t[v.M]=o),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=v.Q)&&V.renderOpts.collectedRevalidate,a=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=v.Q?!1!==r&&r>0?P.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:R.x.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await x.onRequestError(e,t,{routerKind:"App Router",routePath:y,routeType:"route",revalidateReason:(0,c.f)({isStaticGeneration:null!==G,isOnDemandRevalidate:U})},!1,O),t}},X=async(n,o)=>{try{var s,l;let n=await x.handleResponse({req:e,nextConfig:P,cacheKey:G,routeKind:r.f.APP_ROUTE,isFallback:!1,previewProps:M,prerenderManifest:S,isRoutePPREnabled:!1,isOnDemandRevalidate:U,revalidateOnlyGenerated:k,responseGenerator:Z,waitUntil:a.waitUntil,isMinimalMode:F});if(null!==n&&"error"in n)throw n.error;if(!_)return;if((null==n||null==(s=n.value)?void 0:s.kind)!==R.x.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`);F||t.setHeader("x-nextjs-cache",U?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.G)(n.value.headers);F&&_||i.delete(v.M),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,f.f)(n.cacheControl)),await (0,p.f)(J,Q,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(r){if(r instanceof w.NoFallbackError||await x.onRequestError(e,r,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,c.f)({isStaticGeneration:null!==G,isOnDemandRevalidate:U})},!1,O),_)throw r;if(t.headersSent){if(n){let e=r instanceof Error?r:Error("Unknown app route error");n.recordException(e),n.setStatus({code:i.J.ERROR,message:e.message}),n.setAttribute("error.type",e.name)}t.writableEnded||t.destroyed||t.end()}else await (0,p.f)(J,Q,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.J.ERROR}),n.setAttribute("error.type",e.toString()));let r=$.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.q.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||N,s=`${L} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":s}),n.updateName(s),o&&o!==n&&(o.setAttribute("http.route",a),o.updateName(s))})()}};if(B&&z)await X(z,void 0);else{let t=$.getActiveScopeSpan();await $.withPropagatedContext(e.headers,()=>$.trace(d.q.handleRequest,{spanName:`${L} ${y}`,kind:i.C.SERVER,attributes:{"http.method":L,"http.target":e.url}},e=>X(e,t)),void 0,!B)}}e.s(["handler",0,C,"patchFetch",0,function(){return(0,a.f)({workAsyncStorage:y,workUnitAsyncStorage:g})},"routeModule",0,x,"serverHooks",0,E,"workAsyncStorage",0,y,"workUnitAsyncStorage",0,g])}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1tji4d-rsralm._.js.map
|