watchbell 1.3.1 → 1.6.1
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/package.json +1 -1
- package/server/.next/BUILD_ID +1 -1
- package/server/.next/app-path-routes-manifest.json +3 -0
- package/server/.next/build-manifest.json +36 -3
- package/server/.next/prerender-manifest.json +3 -3
- package/server/.next/required-server-files.json +1 -1
- package/server/.next/routes-manifest.json +18 -0
- package/server/.next/server/app/(console)/(private)/ai/agents/page/server-reference-manifest.json +13 -13
- package/server/.next/server/app/(console)/(private)/ai/agents/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/ai/agents/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/ai/agents/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/ai/ask/page/server-reference-manifest.json +12 -12
- package/server/.next/server/app/(console)/(private)/ai/ask/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/ai/ask/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/ai/ask/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/ai/connect/page/server-reference-manifest.json +11 -11
- package/server/.next/server/app/(console)/(private)/ai/connect/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/ai/connect/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/ai/connect/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/ai/keys/page/server-reference-manifest.json +14 -14
- package/server/.next/server/app/(console)/(private)/ai/keys/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/ai/keys/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/ai/keys/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/ai/logs/page/server-reference-manifest.json +12 -12
- package/server/.next/server/app/(console)/(private)/ai/logs/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/ai/logs/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/ai/logs/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/ai/models/page/server-reference-manifest.json +21 -21
- package/server/.next/server/app/(console)/(private)/ai/models/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/ai/models/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/ai/models/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/ai/page/server-reference-manifest.json +11 -11
- package/server/.next/server/app/(console)/(private)/ai/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/ai/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/ai/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/ai/playground/page/server-reference-manifest.json +14 -14
- package/server/.next/server/app/(console)/(private)/ai/playground/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/ai/playground/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/ai/playground/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/ai/providers/page/server-reference-manifest.json +17 -17
- package/server/.next/server/app/(console)/(private)/ai/providers/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/ai/providers/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/ai/providers/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/ai/quota/page/server-reference-manifest.json +12 -12
- package/server/.next/server/app/(console)/(private)/ai/quota/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/ai/quota/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/ai/quota/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/ai/usage/page/server-reference-manifest.json +12 -12
- package/server/.next/server/app/(console)/(private)/ai/usage/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/ai/usage/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/ai/usage/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/api-docs/[[...op]]/page/server-reference-manifest.json +11 -11
- package/server/.next/server/app/(console)/(private)/api-docs/[[...op]]/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/api-docs/[[...op]]/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/api-docs/[[...op]]/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/(private)/auto-actions/page/server-reference-manifest.json +12 -12
- package/server/.next/server/app/(console)/(private)/auto-actions/page.js +76 -68
- package/server/.next/server/app/(console)/(private)/auto-actions/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/(private)/auto-actions/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/alerts/page/server-reference-manifest.json +27 -27
- package/server/.next/server/app/(console)/alerts/page.js +76 -68
- package/server/.next/server/app/(console)/alerts/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/alerts/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/apps/[id]/page/server-reference-manifest.json +92 -62
- package/server/.next/server/app/(console)/apps/[id]/page.js +78 -70
- package/server/.next/server/app/(console)/apps/[id]/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/apps/[id]/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/apps/page/server-reference-manifest.json +14 -14
- package/server/.next/server/app/(console)/apps/page.js +78 -70
- package/server/.next/server/app/(console)/apps/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/apps/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/backups/page/server-reference-manifest.json +14 -14
- package/server/.next/server/app/(console)/backups/page.js +76 -68
- package/server/.next/server/app/(console)/backups/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/backups/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/catalog/page/server-reference-manifest.json +11 -11
- package/server/.next/server/app/(console)/catalog/page.js +76 -68
- package/server/.next/server/app/(console)/catalog/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/catalog/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/connections/page/server-reference-manifest.json +22 -22
- package/server/.next/server/app/(console)/connections/page.js +76 -68
- package/server/.next/server/app/(console)/connections/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/connections/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/containers/page/app-paths-manifest.json +3 -0
- package/server/.next/server/app/(console)/containers/page/build-manifest.json +22 -0
- package/server/.next/server/app/(console)/containers/page/next-font-manifest.json +11 -0
- package/server/.next/server/app/(console)/containers/page/react-loadable-manifest.json +1 -0
- package/server/.next/server/app/(console)/containers/page/server-reference-manifest.json +145 -0
- package/server/.next/server/app/(console)/containers/page.js +121 -0
- package/server/.next/server/app/(console)/containers/page.js.nft.json +1 -0
- package/server/.next/server/app/(console)/containers/page_client-reference-manifest.js +3 -0
- package/server/.next/server/app/(console)/d1/page/server-reference-manifest.json +11 -11
- package/server/.next/server/app/(console)/d1/page.js +76 -68
- package/server/.next/server/app/(console)/d1/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/d1/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/deploy/page/app-paths-manifest.json +3 -0
- package/server/.next/server/app/(console)/deploy/page/build-manifest.json +22 -0
- package/server/.next/server/app/(console)/deploy/page/next-font-manifest.json +11 -0
- package/server/.next/server/app/(console)/deploy/page/react-loadable-manifest.json +1 -0
- package/server/.next/server/app/(console)/deploy/page/server-reference-manifest.json +115 -0
- package/server/.next/server/app/(console)/deploy/page.js +122 -0
- package/server/.next/server/app/(console)/deploy/page.js.nft.json +1 -0
- package/server/.next/server/app/(console)/deploy/page_client-reference-manifest.js +3 -0
- package/server/.next/server/app/(console)/deployments/page/server-reference-manifest.json +19 -19
- package/server/.next/server/app/(console)/deployments/page.js +76 -68
- package/server/.next/server/app/(console)/deployments/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/deployments/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/dns/page/server-reference-manifest.json +18 -18
- package/server/.next/server/app/(console)/dns/page.js +76 -68
- package/server/.next/server/app/(console)/dns/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/dns/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/domains/page/server-reference-manifest.json +13 -13
- package/server/.next/server/app/(console)/domains/page.js +76 -68
- package/server/.next/server/app/(console)/domains/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/domains/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/events/page/server-reference-manifest.json +11 -11
- package/server/.next/server/app/(console)/events/page.js +76 -68
- package/server/.next/server/app/(console)/events/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/events/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/firebase/page/server-reference-manifest.json +18 -18
- package/server/.next/server/app/(console)/firebase/page.js +76 -68
- package/server/.next/server/app/(console)/firebase/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/firebase/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/logs/page/server-reference-manifest.json +12 -12
- package/server/.next/server/app/(console)/logs/page.js +76 -68
- package/server/.next/server/app/(console)/logs/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/logs/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/manage/sections/page/server-reference-manifest.json +12 -12
- package/server/.next/server/app/(console)/manage/sections/page.js +76 -68
- package/server/.next/server/app/(console)/manage/sections/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/manage/sections/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/neon/page/server-reference-manifest.json +22 -22
- package/server/.next/server/app/(console)/neon/page.js +76 -68
- package/server/.next/server/app/(console)/neon/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/neon/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/os/page/app-paths-manifest.json +3 -0
- package/server/.next/server/app/(console)/os/page/build-manifest.json +22 -0
- package/server/.next/server/app/(console)/os/page/next-font-manifest.json +11 -0
- package/server/.next/server/app/(console)/os/page/react-loadable-manifest.json +1 -0
- package/server/.next/server/app/(console)/os/page/server-reference-manifest.json +125 -0
- package/server/.next/server/app/(console)/os/page.js +120 -0
- package/server/.next/server/app/(console)/os/page.js.nft.json +1 -0
- package/server/.next/server/app/(console)/os/page_client-reference-manifest.js +3 -0
- package/server/.next/server/app/(console)/overview/page/server-reference-manifest.json +19 -19
- package/server/.next/server/app/(console)/overview/page.js +77 -69
- package/server/.next/server/app/(console)/overview/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/overview/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/repos/[id]/page/server-reference-manifest.json +12 -12
- package/server/.next/server/app/(console)/repos/[id]/page.js +80 -72
- package/server/.next/server/app/(console)/repos/[id]/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/repos/[id]/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/repos/page/server-reference-manifest.json +11 -11
- package/server/.next/server/app/(console)/repos/page.js +81 -72
- package/server/.next/server/app/(console)/repos/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/repos/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/settings/page/server-reference-manifest.json +21 -21
- package/server/.next/server/app/(console)/settings/page.js +76 -68
- package/server/.next/server/app/(console)/settings/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/settings/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/sql/page/server-reference-manifest.json +18 -18
- package/server/.next/server/app/(console)/sql/page.js +76 -68
- package/server/.next/server/app/(console)/sql/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/sql/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/status/page/server-reference-manifest.json +11 -11
- package/server/.next/server/app/(console)/status/page.js +76 -68
- package/server/.next/server/app/(console)/status/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/status/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/supabase/page/server-reference-manifest.json +30 -30
- package/server/.next/server/app/(console)/supabase/page.js +81 -72
- package/server/.next/server/app/(console)/supabase/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/supabase/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/topology/page/server-reference-manifest.json +11 -11
- package/server/.next/server/app/(console)/topology/page.js +76 -68
- package/server/.next/server/app/(console)/topology/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/topology/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/turso/page/server-reference-manifest.json +11 -11
- package/server/.next/server/app/(console)/turso/page.js +76 -68
- package/server/.next/server/app/(console)/turso/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/turso/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/upstash/page/server-reference-manifest.json +11 -11
- package/server/.next/server/app/(console)/upstash/page.js +76 -68
- package/server/.next/server/app/(console)/upstash/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/upstash/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/uptime/page/server-reference-manifest.json +25 -25
- package/server/.next/server/app/(console)/uptime/page.js +76 -68
- package/server/.next/server/app/(console)/uptime/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/uptime/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/(console)/welcome/page/server-reference-manifest.json +16 -16
- package/server/.next/server/app/(console)/welcome/page.js +76 -68
- package/server/.next/server/app/(console)/welcome/page.js.nft.json +1 -1
- package/server/.next/server/app/(console)/welcome/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/_global-error/page/server-reference-manifest.json +1 -1
- package/server/.next/server/app/_global-error/page.js +1 -1
- package/server/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/server/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/_global-error.html +1 -1
- package/server/.next/server/app/_global-error.rsc +3 -3
- package/server/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/server/.next/server/app/_global-error.segments/_full.segment.rsc +3 -3
- package/server/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -2
- package/server/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/server/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/server/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/_not-found.html +1 -1
- package/server/.next/server/app/_not-found.rsc +4 -4
- package/server/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
- package/server/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
- package/server/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/server/.next/server/app/account/password/page/server-reference-manifest.json +2 -2
- package/server/.next/server/app/account/password/page.js.nft.json +1 -1
- package/server/.next/server/app/account/password/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/api/collect/route/server-reference-manifest.json +8 -8
- package/server/.next/server/app/api/collect/route.js +59 -52
- package/server/.next/server/app/api/collect/route.js.nft.json +1 -1
- package/server/.next/server/app/api/daily/route/server-reference-manifest.json +8 -8
- package/server/.next/server/app/api/daily/route.js +59 -52
- package/server/.next/server/app/api/daily/route.js.nft.json +1 -1
- package/server/.next/server/app/api/health/route.js.nft.json +1 -1
- package/server/.next/server/app/api/ping/[...parts]/route.js.nft.json +1 -1
- package/server/.next/server/app/api/status/route.js.nft.json +1 -1
- package/server/.next/server/app/api/telegram/webhook/route/server-reference-manifest.json +8 -8
- package/server/.next/server/app/api/telegram/webhook/route.js +59 -52
- package/server/.next/server/app/api/telegram/webhook/route.js.nft.json +1 -1
- package/server/.next/server/app/api/v1/[[...rest]]/route.js.nft.json +1 -1
- package/server/.next/server/app/api/v1/advice/route.js +14 -14
- package/server/.next/server/app/api/v1/advice/route.js.nft.json +1 -1
- package/server/.next/server/app/api/v1/ai/chat/completions/route.js.nft.json +1 -1
- package/server/.next/server/app/api/v1/ai/models/route.js.nft.json +1 -1
- package/server/.next/server/app/api/v1/ai/questions/[id]/route.js.nft.json +1 -1
- package/server/.next/server/app/api/v1/ai/questions/route.js +10 -10
- package/server/.next/server/app/api/v1/ai/questions/route.js.nft.json +1 -1
- package/server/.next/server/app/api/v1/mcp/route.js +25 -24
- package/server/.next/server/app/api/v1/mcp/route.js.nft.json +1 -1
- package/server/.next/server/app/api/v1/me/route.js.nft.json +1 -1
- package/server/.next/server/app/api/v1/openapi.json/route.js.nft.json +1 -1
- package/server/.next/server/app/api/v1/status/apps/[app]/route.js +13 -13
- package/server/.next/server/app/api/v1/status/apps/[app]/route.js.nft.json +1 -1
- package/server/.next/server/app/api/v1/status/route.js +13 -13
- package/server/.next/server/app/api/v1/status/route.js.nft.json +1 -1
- package/server/.next/server/app/api/watchdog/route.js +11 -12
- package/server/.next/server/app/api/watchdog/route.js.nft.json +1 -1
- package/server/.next/server/app/auth/confirm/route.js.nft.json +1 -1
- package/server/.next/server/app/auth/google/callback/route.js.nft.json +1 -1
- package/server/.next/server/app/auth/google/create/callback/route.js.nft.json +1 -1
- package/server/.next/server/app/auth/not-member/route.js.nft.json +1 -1
- package/server/.next/server/app/auth/session-ended/route.js.nft.json +1 -1
- package/server/.next/server/app/icon.svg/route.js.nft.json +1 -1
- package/server/.next/server/app/invite/page/server-reference-manifest.json +2 -2
- package/server/.next/server/app/invite/page.js.nft.json +1 -1
- package/server/.next/server/app/invite/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/mfa/page/server-reference-manifest.json +2 -2
- package/server/.next/server/app/mfa/page.js +35 -30
- package/server/.next/server/app/mfa/page.js.nft.json +1 -1
- package/server/.next/server/app/mfa/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/mfa/setup/page/server-reference-manifest.json +3 -3
- package/server/.next/server/app/mfa/setup/page.js +35 -30
- package/server/.next/server/app/mfa/setup/page.js.nft.json +1 -1
- package/server/.next/server/app/mfa/setup/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/page/server-reference-manifest.json +1 -1
- package/server/.next/server/app/page.js.nft.json +1 -1
- package/server/.next/server/app/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/s/[slug]/badge/[file]/route.js.nft.json +1 -1
- package/server/.next/server/app/s/[slug]/page/server-reference-manifest.json +1 -1
- package/server/.next/server/app/s/[slug]/page.js.nft.json +1 -1
- package/server/.next/server/app/s/[slug]/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/setup/page/server-reference-manifest.json +2 -2
- package/server/.next/server/app/setup/page.js +1 -1
- package/server/.next/server/app/setup/page.js.nft.json +1 -1
- package/server/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app/signin/page/server-reference-manifest.json +3 -3
- package/server/.next/server/app/signin/page.js +35 -30
- package/server/.next/server/app/signin/page.js.nft.json +1 -1
- package/server/.next/server/app/signin/page_client-reference-manifest.js +1 -1
- package/server/.next/server/app-paths-manifest.json +3 -0
- package/server/.next/server/chunks/{[externals]__1-y7b_mfadqi-._.js → [externals]__0n4j2emxdv20_._.js} +1 -1
- package/server/.next/server/chunks/{[externals]__1b3dgyi9diwhy._.js → [externals]__1hwo1oo04do39._.js} +1 -1
- package/server/.next/server/chunks/{[externals]__1dd9hhrnxhegy._.js → [externals]__1k12utcf9tvqg._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__040a3il587nja._.js → [root-of-the-server]__0016p4j5uh74t._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__08i6b8tzxads4._.js → [root-of-the-server]__00oxbw3nfl_kd._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__01dj-ln12bcmb._.js +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__02v25dn1cwxz6._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0qme276hvajvy._.js → [root-of-the-server]__02y9yjf7lp37-._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__03276vwi4jgvk._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1jjusd74y8gd5._.js → [root-of-the-server]__03589rgm1a3ks._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__04u9e45_g1jdi._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__0-zrmrb4499ay._.js → [root-of-the-server]__04v42ls1mfjd2._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__0sp5xoed3-994._.js → [root-of-the-server]__05b18nw2k-7-4._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__05qcc-0e8z1u8._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__01hgqxx2a0okv._.js → [root-of-the-server]__06kp2_zqpttyd._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__04ogdmf82__0g._.js → [root-of-the-server]__06l038ifglbqy._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1etpd6q60ypcc._.js → [root-of-the-server]__06nrq_1pbp3z-._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__0i3h5covkd6_t._.js → [root-of-the-server]__06zmu7jjyw1qw._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__07eo--c90cju2._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0sq7jwlhv9n79._.js → [root-of-the-server]__081hh3_un4awi._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1vvg0ur3_7o0p._.js → [root-of-the-server]__090n04cg_br7j._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0lht1cr4aiudu._.js → [root-of-the-server]__09gla7jgbw2bs._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0cmp5mwchd8sn._.js → [root-of-the-server]__09l9icaspfmoh._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__0m_nqt44ioex_._.js → [root-of-the-server]__09msxcjw3tlue._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1smidspfoqz48._.js → [root-of-the-server]__09yvavo991rdd._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__0ox91q3i5u6fl._.js → [root-of-the-server]__0_vtp19_2frgj._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__0a0st8-rftztn._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__04iumkvxok49x._.js → [root-of-the-server]__0a7moaa91ctod._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__17dr2z1o1hsvk._.js → [root-of-the-server]__0ao4b2jjkcvo1._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__04htuwoulmp21._.js → [root-of-the-server]__0at6fxe9efr-x._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0erdelc9_06nk._.js → [root-of-the-server]__0c_mpay_m5kbm._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__02h-ec_gusm_2._.js → [root-of-the-server]__0di45l_tnq1pm._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__0ebkmgcs7v0c8._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__19k0l-ubyp1j_._.js → [root-of-the-server]__0ej4hdoyogtji._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1etg41llk7f09._.js → [root-of-the-server]__0eqrtvr3uqlqf._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1x7en4waq21dd._.js → [root-of-the-server]__0exruft64u1hg._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0ubalx5w0ds9m._.js → [root-of-the-server]__0fii83nfm0bsk._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1d1u-wejsfl84._.js → [root-of-the-server]__0g0rd65zoitrb._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0fmt9z8-xukob._.js → [root-of-the-server]__0g3v-ty9-xstp._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__0g81f_2ecmg8a._.js +3 -0
- package/server/.next/server/chunks/[root-of-the-server]__0gb4uz-gv3va0._.js +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__0glhrm7zmrvi2._.js +3 -0
- package/server/.next/server/chunks/[root-of-the-server]__0gqye-fi-f3zk._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1jsf0jf_ljpsm._.js → [root-of-the-server]__0jma907r441wi._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1j527a18gh10b._.js → [root-of-the-server]__0jpktq0f88rvz._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__0kk-m8_ul4f4k._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0lco43i5w25zg._.js → [root-of-the-server]__0myf9g_uv3bia._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__0o6q27cnw6-77._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1xnqsy7nud--q._.js → [root-of-the-server]__0pi_camvun8ak._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__0mrbo2p5fy4ji._.js → [root-of-the-server]__0puji-hw0xtk7._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1kr6f03r82mk6._.js → [root-of-the-server]__0qlf-so9k6401._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0iicsi0n7tfa5._.js → [root-of-the-server]__0r0zrp3s_n614._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0zwr7fll4dm9q._.js → [root-of-the-server]__0s3b61ttgb9if._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__1_df6aphi-pfk._.js → [root-of-the-server]__0t0dd5t5rch1i._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__11a8fxlpahjy2._.js → [root-of-the-server]__0tshehtsx7229._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__0ty2qkszfdr5t._.js +3 -0
- package/server/.next/server/chunks/[root-of-the-server]__0ugx1i8km15fl._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__0c2heh-0pjyob._.js → [root-of-the-server]__0uyc9w7f_r10u._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__0uz_r72zdnwdd._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__130_vkgsongq_._.js → [root-of-the-server]__0vb1_m_h5hi0z._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__0x929r1phz1oi._.js → [root-of-the-server]__0vclan952l_ty._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__0vp-x4ifpr3p9._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1wjsjh-1i-sn6._.js → [root-of-the-server]__0vsafetdvsfhj._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0db2p-om-b_4s._.js → [root-of-the-server]__0ww7a-9fnx2rv._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__0x5vp_8n6xvpw._.js +3 -0
- package/server/.next/server/chunks/[root-of-the-server]__0yhki59n8zyjb._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__20sp5m_w5iklm._.js → [root-of-the-server]__10-v22hv1sxrv._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__0jswmvddgl3sb._.js → [root-of-the-server]__10d4a34z0js-f._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0zkeao78mms1_._.js → [root-of-the-server]__10ts7p_9fu3ge._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__14jw0y_hj7jmw._.js → [root-of-the-server]__12tmfv427e9cb._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__1426to_m4prqh._.js +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__1481y3utu_a_o._.js +3 -0
- package/server/.next/server/chunks/[root-of-the-server]__14e0j38785glf._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__1-2ckgdamg0-j._.js → [root-of-the-server]__14yq_wf4xemgd._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__177l2p7kcj-16._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0-94urkhm871c._.js → [root-of-the-server]__192br5y94wzhx._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__19jalyhtntk8p._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__0fc4c9-xzmkol._.js → [root-of-the-server]__19o-a03uklyrw._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__1rpgddeg42i-q._.js → [root-of-the-server]__1_0vd5-tvmsg8._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0w07p3ypro834._.js → [root-of-the-server]__1_goy0uhapvk9._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__1ac-dzt5bffr2._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__1bjvjngj7lvqi._.js → [root-of-the-server]__1ajyr5xvo1-x5._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__0-ytbad9hn7uc._.js → [root-of-the-server]__1avuwg9wmyh48._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__1c78cu7kb9vkl._.js +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__1ey2qia7rofoc._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__161v5qfd5qk2p._.js → [root-of-the-server]__1ghx3ayy7tm73._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__0xfgfo-ks4_e8._.js → [root-of-the-server]__1hlvqq0azku2x._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__0zs-wkvv1cs0i._.js → [root-of-the-server]__1hrcyozojb6ot._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__1hrviq7s700td._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__212_l7y-180xi._.js → [root-of-the-server]__1i841w7a3057h._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__1ifov-udw6__d._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__10negjjz5k5bz._.js → [root-of-the-server]__1ig0p-frprcbm._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__1io5zo7iam532._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0c9y_zg74k4oe._.js → [root-of-the-server]__1iruoalu93dg7._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__1ksyvvsf32jfg._.js +3 -0
- package/server/.next/server/chunks/[root-of-the-server]__1kzi1du1sliqb._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__15vqo7amys573._.js → [root-of-the-server]__1mbm_bvk1oat7._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__1mvibnqor6lx_._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__0ct18spdi1leu._.js → [root-of-the-server]__1ons16gam6qb7._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__1ozfk4_3lx1o7._.js +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__1po33h2u2o4e_._.js +3 -0
- package/server/.next/server/chunks/[root-of-the-server]__1qps9ushddgwe._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__0so_ihc-5tp14._.js → [root-of-the-server]__1qyz1wi13rxxb._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0nkfi6x2c4c5p._.js → [root-of-the-server]__1r2ei065xk141._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0dltcr407-ow6._.js → [root-of-the-server]__1r8mzvf7_9d2k._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__1rxke2_vpd7np._.js +3 -0
- package/server/.next/server/chunks/[root-of-the-server]__1sjp750034q4j._.js +3 -0
- package/server/.next/server/chunks/[root-of-the-server]__1tefe1f5835t_._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__0a5t6bkr3-uqw._.js → [root-of-the-server]__1tlivd99uri0t._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__217jp1b3psyq_._.js → [root-of-the-server]__1vfvw1pmssxww._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1g6xpr_typmce._.js → [root-of-the-server]__1wbnule0tzwdu._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__0zu1odpvrptrt._.js → [root-of-the-server]__1wcnj2xtesyd9._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1cpee8xi1ig3-._.js → [root-of-the-server]__1won_frdj9jms._.js} +2 -2
- package/server/.next/server/chunks/[root-of-the-server]__1wvp6wau5ueb9._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__0bvdnvpw43au9._.js → [root-of-the-server]__1y9gsf61fh1fv._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__1yxudc_keazqo._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__1pyhos8be90-4._.js → [root-of-the-server]__1yxxfmyk3649a._.js} +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1t87mhqedigsz._.js → [root-of-the-server]__1z1fgf8k8icw8._.js} +2 -2
- package/server/.next/server/chunks/{[root-of-the-server]__1d4wmw2wohveb._.js → [root-of-the-server]__1z_l9mj3s_6tu._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__1zvy7u_y3fzbz._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__0xd_bgjy5_tr5._.js → [root-of-the-server]__20056vw370xom._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__205cmd-k6g2kc._.js +3 -0
- package/server/.next/server/chunks/[root-of-the-server]__20dehd8e5-v9y._.js +1 -1
- package/server/.next/server/chunks/{[root-of-the-server]__1sm4p209f_yie._.js → [root-of-the-server]__20qdu-env7wgt._.js} +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__20qirklw1sgj0._.js +3 -0
- package/server/.next/server/chunks/{[root-of-the-server]__0inf2zuuqjrq6._.js → [root-of-the-server]__212-4r-w6a9sm._.js} +2 -2
- package/server/.next/server/chunks/_0-5pjvqu672_v._.js +49 -0
- package/server/.next/server/chunks/_02qrz1g8sdvhe._.js +49 -0
- package/server/.next/server/chunks/_03qlijpos6a21._.js +1 -1
- package/server/.next/server/chunks/_05hhw0eql5-dv._.js +2 -2
- package/server/.next/server/chunks/_06gv0srpbf_lk._.js +1 -1
- package/server/.next/server/chunks/_06lf75x-xhl7v._.js +1 -1
- package/server/.next/server/chunks/{_0-ub844lc_z_a._.js → _0ehqx1pkh20px._.js} +3 -3
- package/server/.next/server/chunks/{_08z7lmk32r__5._.js → _0jiq3ns7681pv._.js} +3 -3
- package/server/.next/server/chunks/_0n-wbmmvp4omq._.js +1 -1
- package/server/.next/server/chunks/_0sy878k2ywjbq._.js +1 -1
- package/server/.next/server/chunks/_0vgplianlrk3e._.js +3 -0
- package/server/.next/server/chunks/_1_son1yzo5xvl._.js +1 -1
- package/server/.next/server/chunks/_1ap0upnvy5i_1._.js +49 -0
- package/server/.next/server/chunks/_1b-88djuoexz1._.js +49 -0
- package/server/.next/server/chunks/{_0-jfehdfklu-i._.js → _1k3v1-vgvzm_o._.js} +2 -2
- package/server/.next/server/chunks/_1l-68brbq289m._.js +2 -2
- package/server/.next/server/chunks/{_1-pv4d4qhe7to._.js → _1t46m15axa4b4._.js} +3 -3
- package/server/.next/server/chunks/node_modules_drizzle-orm_entity_1-0q2stnw2ab8.js +3 -3
- package/server/.next/server/chunks/{_0op74d4yyc3ma._.js → node_modules_next_1mwxx95m7177g._.js} +3 -3
- package/server/.next/server/chunks/src_0--qn984h6czu._.js +1 -1
- package/server/.next/server/chunks/{src_2108_me3q06ih._.js → src_05be6wzefzaky._.js} +2 -2
- package/server/.next/server/chunks/src_05jrvcsgaq5ek._.js +1 -1
- package/server/.next/server/chunks/src_063xvouojxyoa._.js +1 -1
- package/server/.next/server/chunks/src_06tyytf_c_hlu._.js +1 -1
- package/server/.next/server/chunks/src_088gmyaew7ds0._.js +1 -1
- package/server/.next/server/chunks/src_08fq45_-8xq5o._.js +1 -1
- package/server/.next/server/chunks/src_0_9n02bmhtk4z._.js +1 -1
- package/server/.next/server/chunks/src_0c-owt8q0lyj3._.js +1 -1
- package/server/.next/server/chunks/{src_0j8daco-75zka._.js → src_0cdn5fuk8f_x2._.js} +2 -2
- package/server/.next/server/chunks/src_0dxbyz8iemj_5._.js +1 -1
- package/server/.next/server/chunks/src_0hx0sol2clocu._.js +1 -1
- package/server/.next/server/chunks/{src_1lvv9wiag2d8-._.js → src_0j84o_hkkaeg-._.js} +2 -2
- package/server/.next/server/chunks/src_0u2zbz77uh__q._.js +1 -1
- package/server/.next/server/chunks/src_0ud2mqnh4emxz._.js +1 -1
- package/server/.next/server/chunks/src_0y_4gogmeu-2k._.js +1 -1
- package/server/.next/server/chunks/src_10vyvp9vy_69h._.js +1 -1
- package/server/.next/server/chunks/src_13n1vi7uew4iu._.js +1 -1
- package/server/.next/server/chunks/src_1_fnzi0em_6er._.js +3 -0
- package/server/.next/server/chunks/src_1a5yibsjcy1ga._.js +1 -1
- package/server/.next/server/chunks/src_1bqzr81r3wkvi._.js +1 -1
- package/server/.next/server/chunks/src_1cvp6ubs-3z6l._.js +1 -1
- package/server/.next/server/chunks/src_1il7wg_qjxny7._.js +1 -1
- package/server/.next/server/chunks/src_1ntwbcb1cl-y9._.js +1 -1
- package/server/.next/server/chunks/src_1tux0n9_5b1kr._.js +5 -5
- package/server/.next/server/chunks/src_1u-olt84z63rx._.js +1 -1
- package/server/.next/server/chunks/src_1wduh0eckiwl1._.js +1 -1
- package/server/.next/server/chunks/src_1wmb2yl3tn-dd._.js +1 -1
- package/server/.next/server/chunks/src_1wzm081p6qyre._.js +5 -5
- package/server/.next/server/chunks/src_lib_00ixpbvymlbo_._.js +3 -0
- package/server/.next/server/chunks/src_lib_0eqv8l-v8d5ze._.js +1 -1
- package/server/.next/server/chunks/src_lib_0glcfed-uogyd._.js +1 -1
- package/server/.next/server/chunks/src_lib_0j2ifdk5byg1t._.js +3 -0
- package/server/.next/server/chunks/src_lib_0ma36vqcze7a9._.js +7 -0
- package/server/.next/server/chunks/src_lib_0ps7mu81f-6s1._.js +7 -0
- package/server/.next/server/chunks/src_lib_0pyyxm3m1rttg._.js +1 -1
- package/server/.next/server/chunks/src_lib_0ta8sd9jeuw50._.js +10 -10
- package/server/.next/server/chunks/src_lib_13irheo9qqhgx._.js +1 -1
- package/server/.next/server/chunks/src_lib_14grv5a5_n9o0._.js +7 -0
- package/server/.next/server/chunks/src_lib_1en6omqx66g9d._.js +10 -10
- package/server/.next/server/chunks/src_lib_1iuuekw6uwbbr._.js +3 -0
- package/server/.next/server/chunks/src_lib_1qo6t00wwitz6._.js +10 -10
- package/server/.next/server/chunks/src_lib_1znb-e7g8dkgc._.js +7 -0
- package/server/.next/server/chunks/src_lib_alerts_catalog_ts_1ndg28acul64q._.js +1 -1
- package/server/.next/server/chunks/src_lib_collector_auth_ts_0lqx92__e4zij._.js +3 -3
- package/server/.next/server/chunks/src_lib_collector_runners_ts_12z4gtgikss74._.js +6 -6
- package/server/.next/server/chunks/src_lib_data_cached_ts_017to1fh48jms._.js +3 -0
- package/server/.next/server/chunks/src_lib_data_databases-db_ts_04a4hj5j7h8m0._.js +3 -0
- package/server/.next/server/chunks/src_lib_data_os-scan-db_ts_0g2a3ofkaxf40._.js +4 -0
- package/server/.next/server/chunks/src_lib_data_sections-db_ts_1ky6-o4z1mimq._.js +4 -4
- package/server/.next/server/chunks/src_lib_databases_snapshot-data_ts_1xilv6_re7hcp._.js +3 -0
- package/server/.next/server/chunks/src_lib_demo_pool_ts_0fpn8acsdk64i._.js +5 -5
- package/server/.next/server/chunks/src_lib_demo_pool_ts_14rjvkgozh1d4._.js +10 -10
- package/server/.next/server/chunks/src_lib_demo_pool_ts_17xz9bk-d5uic._.js +12 -12
- package/server/.next/server/chunks/src_lib_demo_pool_ts_210g_on8zx_-n._.js +10 -10
- package/server/.next/server/chunks/src_lib_deps_branch_ts_06dz9-7a66n24._.js +3 -0
- package/server/.next/server/chunks/src_lib_deps_osv_ts_0c-lbj4hsmojx._.js +3 -0
- package/server/.next/server/chunks/src_lib_deps_plan_ts_0bctf8v4qttk5._.js +1 -1
- package/server/.next/server/chunks/src_lib_notify_lang_ts_1r2w02ctaky7e._.js +1 -1
- package/server/.next/server/chunks/src_lib_sections_ts_0r8u4nvlpdkgq._.js +1 -1
- package/server/.next/server/chunks/src_lib_view_security_ts_1_c7vkcsp6y27._.js +3 -0
- package/server/.next/server/chunks/src_private_notes_notes-actions_ts_1g63g8u965fhc._.js +1 -1
- package/server/.next/server/chunks/ssr/1oeh_server_app_(console)_(private)_ai_agents_page_actions_21atz5tidps07.js +1 -1
- package/server/.next/server/chunks/ssr/1oeh_server_app_(console)_(private)_ai_models_page_actions_0rvlzfa8rjyz_.js +1 -1
- package/server/.next/server/chunks/ssr/1oeh_server_app_(console)_(private)_ai_playground_page_actions_01ejc1xilpuh4.js +1 -1
- package/server/.next/server/chunks/ssr/1oeh_server_app_(console)_(private)_ai_quota_page_actions_0iki29gyi8cwa.js +1 -1
- package/server/.next/server/chunks/ssr/1oeh_server_app_(console)_(private)_ai_usage_page_actions_1c99h-kwdnep7.js +1 -1
- package/server/.next/server/chunks/ssr/1oeh_server_app_(console)_(private)_auto-actions_page_actions_1kw4ce6-efkr1.js +1 -1
- package/server/.next/server/chunks/ssr/1q96_modules_@tabler_icons-react_dist_esm_icons_IconExternalLink_mjs_19uzq2wmxdb36._.js +3 -0
- package/server/.next/server/chunks/ssr/{[externals]__1rj83sktdlxvt._.js → [externals]__00hge8tjqv73a._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[externals]__1s7xw086rvse0._.js → [externals]__0summv9f9jkob._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[externals]__20leqouf6m6f3._.js → [externals]__1jdljyrzmqoz0._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[externals]__02s9k1gg9qqkm._.js → [externals]__1q1drb4oske-9._.js} +1 -1
- package/server/.next/server/chunks/ssr/[root-of-the-server]__001mglelq4wpc._.js +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__07k_84t5-d55n._.js → [root-of-the-server]__02lkybw6gg3ln._.js} +2 -2
- package/server/.next/server/chunks/ssr/[root-of-the-server]__02s29zgn7lrps._.js +3 -0
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__1e9tlsk1gl8lw._.js → [root-of-the-server]__03xevz8n-mc20._.js} +3 -3
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__077-acap7g4ck._.js → [root-of-the-server]__0423qjo9c2t9-._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0nrc_8-wrhf3y._.js → [root-of-the-server]__04p9ipxxdhqfn._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0ct4apye0sfmc._.js → [root-of-the-server]__05s2n35zn4go-._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0fd39clnjw9fb._.js → [root-of-the-server]__06bgklzuef-ya._.js} +2 -2
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__1itgt83qo1e77._.js → [root-of-the-server]__07_efq7yhxfj-._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0q7rssq_3unbc._.js → [root-of-the-server]__07zuxj3veqm14._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__1qrk2rfmx21b_._.js → [root-of-the-server]__092gsphy4oz6k._.js} +2 -2
- package/server/.next/server/chunks/ssr/[root-of-the-server]__09blzlbsxqvy9._.js +1 -1
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0_-fz8cunfpwp._.js +3 -0
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0de1senl_kfo5._.js +3 -0
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0ee5ew5q3jh8i._.js → [root-of-the-server]__0gyvfp6c-_edw._.js} +2 -2
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0jgapr1cnvhi6._.js +1 -1
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0keo0-hwsnkw9._.js +1 -1
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0l50vsk8enxzj._.js +1 -1
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0mvauw9r_4qss._.js +4 -0
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__04_prmhm_cts4._.js → [root-of-the-server]__0n4bkq-45z4aa._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0e1s_5gg-u3iu._.js → [root-of-the-server]__0no6c0whevi73._.js} +1 -1
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0rdf04ziqasfz._.js +1 -1
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0rrdzb9wowemv._.js +1 -1
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0y2s_4828a5u9._.js +3 -0
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0p86d9imejczs._.js → [root-of-the-server]__0z5ucbis8ik32._.js} +2 -2
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0uxychcp_pldy._.js → [root-of-the-server]__10r0u-q18z71i._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__004q78ed0nf0_._.js → [root-of-the-server]__12t9_ndr9z-2d._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0hgf7si8htevx._.js → [root-of-the-server]__139ya3ejh6htx._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0-zqh1gf4dsj3._.js → [root-of-the-server]__13phmsw9wsyrs._.js} +1 -1
- package/server/.next/server/chunks/ssr/[root-of-the-server]__14e0j38785glf._.js +3 -0
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__080do5vfu69n5._.js → [root-of-the-server]__157kjredkf1pa._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__09j1po2u91fp3._.js → [root-of-the-server]__16jfs8j29r4b5._.js} +2 -2
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0skfdezx5rxie._.js → [root-of-the-server]__183_36tj3p645._.js} +2 -2
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__1sw2q1p1t59y8._.js → [root-of-the-server]__18gw74mr2vto3._.js} +2 -2
- package/server/.next/server/chunks/ssr/[root-of-the-server]__19twn3g5nv5q1._.js +3 -0
- package/server/.next/server/chunks/ssr/[root-of-the-server]__19wvac83zh5-9._.js +3 -0
- package/server/.next/server/chunks/ssr/[root-of-the-server]__1_f7nip9age3d._.js +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0h9rpg5-lhp5q._.js → [root-of-the-server]__1a5760tg4iits._.js} +2 -2
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0b3g72j9cu141._.js → [root-of-the-server]__1d1ksu1dlha3r._.js} +2 -2
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__1y7nfsglxx7cn._.js → [root-of-the-server]__1iqedr7nfvayk._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__11paa809_igt_._.js → [root-of-the-server]__1knbzqo0nba_q._.js} +2 -2
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__05_98ql5tgeii._.js → [root-of-the-server]__1m38od9tgaroe._.js} +1 -1
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__0ed6qo3lg9_f9._.js → [root-of-the-server]__1mah0p09qrkpu._.js} +2 -2
- package/server/.next/server/chunks/ssr/{[root-of-the-server]__1v3b498_j-68t._.js → [root-of-the-server]__1mxpszbk1aup8._.js} +3 -3
- package/server/.next/server/chunks/ssr/[root-of-the-server]__1u_13nhw3kuz3._.js +1 -1
- package/server/.next/server/chunks/ssr/_008i8a0_8skrp._.js +3 -0
- package/server/.next/server/chunks/ssr/{_0azq3ml4gbn1d._.js → _01n29sxn-py3x._.js} +2 -2
- package/server/.next/server/chunks/ssr/_02eudwc8ieb2r._.js +2 -2
- package/server/.next/server/chunks/ssr/_03d3sxmob-gr7._.js +3 -0
- package/server/.next/server/chunks/ssr/{_1wfjx67s3e6ws._.js → _04mnjz5cekpue._.js} +1 -1
- package/server/.next/server/chunks/ssr/_08xqk3eibu5aw._.js +1 -1
- package/server/.next/server/chunks/ssr/_0_oc9q0vqkynd._.js +1 -1
- package/server/.next/server/chunks/ssr/_0a22b7zsckifp._.js +1 -1
- package/server/.next/server/chunks/ssr/{_1ah_xx0-cty-v._.js → _0aznz0i-8olet._.js} +1 -1
- package/server/.next/server/chunks/ssr/_0bd4cxnpnnq2u._.js +1 -1
- package/server/.next/server/chunks/ssr/{_10oqiz6hmf92q._.js → _0c9_fa5ejth12._.js} +2 -2
- package/server/.next/server/chunks/ssr/_0cbbks0ms7i_u._.js +2 -2
- package/server/.next/server/chunks/ssr/_0cw4kz3d6kmb1._.js +1 -1
- package/server/.next/server/chunks/ssr/_0d2d527wcx-lf._.js +2 -2
- package/server/.next/server/chunks/ssr/_0d702k82llasi._.js +1 -1
- package/server/.next/server/chunks/ssr/_0dvz4dndt6lkf._.js +1 -1
- package/server/.next/server/chunks/ssr/_0eu69r0sm274b._.js +3 -0
- package/server/.next/server/chunks/ssr/{_1vjm7-shohnh7._.js → _0fl2-fao_ye7t._.js} +2 -2
- package/server/.next/server/chunks/ssr/_0gl-ewvbhb677._.js +2 -2
- package/server/.next/server/chunks/ssr/_0gmw45sb1llld._.js +1 -1
- package/server/.next/server/chunks/ssr/_0i04zoixa2iup._.js +2 -2
- package/server/.next/server/chunks/ssr/_0iaoiq9xbkdma._.js +3 -0
- package/server/.next/server/chunks/ssr/_0idbg-ok0so2h._.js +2 -2
- package/server/.next/server/chunks/ssr/_0iy27gi4y9-fe._.js +1 -1
- package/server/.next/server/chunks/ssr/_0k2qpgzlqzc_p._.js +1 -1
- package/server/.next/server/chunks/ssr/_0kdn56_ow-x_s._.js +1 -1
- package/server/.next/server/chunks/ssr/_0lb1euzjakqbr._.js +3 -0
- package/server/.next/server/chunks/ssr/{_0_vfnz8i8hac7._.js → _0mhwgy5lvtng0._.js} +1 -1
- package/server/.next/server/chunks/ssr/_0oovfx_t_-u0k._.js +1 -1
- package/server/.next/server/chunks/ssr/_0oub-njkja8gu._.js +2 -2
- package/server/.next/server/chunks/ssr/_0pqkexxo7rts_._.js +2 -2
- package/server/.next/server/chunks/ssr/_0qhvl_fw4qetx._.js +1 -1
- package/server/.next/server/chunks/ssr/_0tnd528j0i1i4._.js +2 -2
- package/server/.next/server/chunks/ssr/_0uwkwcgucqgcf._.js +2 -2
- package/server/.next/server/chunks/ssr/_0uz60lk-7e_cj._.js +4 -0
- package/server/.next/server/chunks/ssr/_0vgplianlrk3e._.js +3 -0
- package/server/.next/server/chunks/ssr/_0wo-lpqf7hr1y._.js +2 -2
- package/server/.next/server/chunks/ssr/_0xmud7u5hdnqu._.js +2 -2
- package/server/.next/server/chunks/ssr/_0zkmkbrbc96-h._.js +3 -0
- package/server/.next/server/chunks/ssr/_1-4401bfn50mf._.js +1 -1
- package/server/.next/server/chunks/ssr/_1-6d1tm3r_qwg._.js +1 -1
- package/server/.next/server/chunks/ssr/_10bven6gb1vj0._.js +1 -1
- package/server/.next/server/chunks/ssr/{_1xokm14jd0teg._.js → _113tc44xki0cp._.js} +1 -1
- package/server/.next/server/chunks/ssr/_118h21qua_4o3._.js +1 -1
- package/server/.next/server/chunks/ssr/_12makqwatfke-._.js +2 -2
- package/server/.next/server/chunks/ssr/_16vvfyez78u5k._.js +3 -0
- package/server/.next/server/chunks/ssr/{_0tu64jsmbyx4_._.js → _18sg0ilz439y6._.js} +2 -2
- package/server/.next/server/chunks/ssr/_19-3vzkc6rk97._.js +1 -1
- package/server/.next/server/chunks/ssr/_19-n2kl-knt0j._.js +3 -0
- package/server/.next/server/chunks/ssr/{_0y5ov4kk2q81r._.js → _19q2vj_ppgsu4._.js} +2 -2
- package/server/.next/server/chunks/ssr/_1_-o2s48aj4i7._.js +1 -1
- package/server/.next/server/chunks/ssr/_1c7jkkvkvzj_u._.js +2 -2
- package/server/.next/server/chunks/ssr/_1cl55h_h3q-b_._.js +1 -1
- package/server/.next/server/chunks/ssr/_1d0anr0hjs5k5._.js +3 -0
- package/server/.next/server/chunks/ssr/_1dlo17ba9g-f9._.js +2 -2
- package/server/.next/server/chunks/ssr/_1fc8k_0p8l00c._.js +2 -2
- package/server/.next/server/chunks/ssr/_1fuywfexex2s8._.js +2 -2
- package/server/.next/server/chunks/ssr/_1g2zbl_-4z_hg._.js +1 -1
- package/server/.next/server/chunks/ssr/_1he21-bt45k8z._.js +2 -2
- package/server/.next/server/chunks/ssr/_1i96si4hzn74p._.js +1 -1
- package/server/.next/server/chunks/ssr/_1j9cka-44jd65._.js +1 -1
- package/server/.next/server/chunks/ssr/_1jh_o2i8hj2g5._.js +1 -1
- package/server/.next/server/chunks/ssr/_1lgb0h9z-8z15._.js +3 -0
- package/server/.next/server/chunks/ssr/_1ln6o3a9quwxo._.js +2 -2
- package/server/.next/server/chunks/ssr/_1m4km_w39x5e9._.js +1 -1
- package/server/.next/server/chunks/ssr/_1pp1o361lgpwu._.js +2 -2
- package/server/.next/server/chunks/ssr/_1q3fi6a4gklq6._.js +3 -0
- package/server/.next/server/chunks/ssr/_1qsshadaq_-6p._.js +3 -0
- package/server/.next/server/chunks/ssr/_1ul3og9l7vp32._.js +4 -0
- package/server/.next/server/chunks/ssr/_1vlm9990gr64r._.js +3 -0
- package/server/.next/server/chunks/ssr/{_1nzncndn-1ggb._.js → _1xbmdurub1ykt._.js} +1 -1
- package/server/.next/server/chunks/ssr/_1yh3k88t_kh4h._.js +2 -2
- package/server/.next/server/chunks/ssr/_1z6dy1k48mskn._.js +1 -1
- package/server/.next/server/chunks/ssr/{_1_ct-7kmkfab1._.js → _1znzrmlfouh6k._.js} +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_(private)_ai_keys_page_actions_181-3r4e_0yb5.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_(private)_ai_logs_page_actions_1ryb93n6khky3.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_alerts_page_actions_06_3gmyq3jtvi.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_apps_[id]_page_actions_1myo_rodrlg3a.js +4 -0
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_apps_page_actions_0ksau5eicvycc.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_connections_page_actions_1fgolmmpxrouc.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_containers_page_actions_1ainjsbrnl360.js +3 -0
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_dns_page_actions_17d_lvhl-u_4w.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_domains_page_actions_1yv3fj_fh-n-5.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_firebase_page_actions_00wuues_v_j3r.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_logs_page_actions_0oqh51t2rx6q0.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_manage_sections_page_actions_1sb2ldu57uj32.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_settings_page_actions_12wgjpd0lbh12.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_supabase_page_actions_1f3a_tpkwjo8z.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_uptime_page_actions_1ylbdz0-ykfh6.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_account_password_page_actions_1v4e71_oifbx9.js +1 -1
- package/server/.next/server/chunks/ssr/_next-internal_server_app_signin_page_actions_11wzk446p6_zi.js +1 -1
- package/server/.next/server/chunks/ssr/{node_modules_@tabler_icons-react_dist_esm_icons_0904ro5eqxhlr._.js → node_modules_@tabler_icons-react_dist_esm_icons_0b7guexr5je6g._.js} +1 -1
- package/server/.next/server/chunks/ssr/{node_modules_@tabler_icons-react_dist_esm_icons_07e6iv4064369._.js → node_modules_@tabler_icons-react_dist_esm_icons_0ej-u2f-ha9q0._.js} +1 -1
- package/server/.next/server/chunks/ssr/{node_modules_@tabler_icons-react_dist_esm_icons_1uzp0vue7-c9z._.js → node_modules_@tabler_icons-react_dist_esm_icons_1nstb42fu_h0p._.js} +1 -1
- package/server/.next/server/chunks/ssr/node_modules_class-variance-authority_dist_index_mjs_0wl3fjdt40o5n._.js +3 -0
- package/server/.next/server/chunks/ssr/{_1b4uqc9fwt4dy._.js → node_modules_next_1mwxx95m7177g._.js} +2 -2
- package/server/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0hrjtaoa__ix8.js +3 -0
- package/server/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0slepiv25mpch.js +3 -0
- package/server/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1oqgmgc8y6yxj.js +3 -0
- package/server/.next/server/chunks/ssr/src_0330uf9pdfco9._.js +1 -1
- package/server/.next/server/chunks/ssr/src_05mcsr-od-9ug._.js +3 -0
- package/server/.next/server/chunks/ssr/src_0632mrev4i__u._.js +3 -0
- package/server/.next/server/chunks/ssr/src_06tjy8wljego8._.js +1 -1
- package/server/.next/server/chunks/ssr/src_084tdkx3c_yqi._.js +1 -1
- package/server/.next/server/chunks/ssr/src_0abts6wp5ucc0._.js +1 -1
- package/server/.next/server/chunks/ssr/src_0c62tj2aysn_e._.js +3 -0
- package/server/.next/server/chunks/ssr/src_0etvjdinp5urq._.js +1 -1
- package/server/.next/server/chunks/ssr/src_0k2rwfjheyrf7._.js +1 -1
- package/server/.next/server/chunks/ssr/src_0ovx2ogvlz2eh._.js +1 -1
- package/server/.next/server/chunks/ssr/src_0ph020gy78gi9._.js +1 -1
- package/server/.next/server/chunks/ssr/src_0uitfl3c1mdqb._.js +2 -2
- package/server/.next/server/chunks/ssr/src_10zavgy86u3us._.js +1 -1
- package/server/.next/server/chunks/ssr/src_13u1vu8hwwr6n._.js +3 -0
- package/server/.next/server/chunks/ssr/src_14bxi75kwc3xt._.js +3 -0
- package/server/.next/server/chunks/ssr/src_15mtytgydjtio._.js +3 -0
- package/server/.next/server/chunks/ssr/{src_14ulgwoxoyfkq._.js → src_1_9q6-wstn038._.js} +2 -2
- package/server/.next/server/chunks/ssr/src_1emolu5lrse98._.js +6 -0
- package/server/.next/server/chunks/ssr/src_1maoe8g5gnv0u._.js +3 -3
- package/server/.next/server/chunks/ssr/src_1ntwbcb1cl-y9._.js +1 -1
- package/server/.next/server/chunks/ssr/src_1q-jgpnd3lbcu._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_(private)_ai_agents_1fyhh1ldgm23z._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_(private)_ai_ask_ask-form_tsx_18ttm9nna_9y6._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_(private)_ai_logs_export-button_tsx_1k-crb88n1za_._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_(private)_ai_models_0ayzqn062pnv5._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_(private)_ai_playground_playground-view_tsx_18ua5zn_a0mar._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_(private)_ai_providers_1ru-30x6-uwu4._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_(private)_ai_quota_limits-form_tsx_1vouaaf560z_x._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_(private)_ai_usage_limits-form_tsx_0sfk3ver58rqw._.js +1 -1
- package/server/.next/server/chunks/ssr/{src_app_(console)_0-vcbt2icvguc._.js → src_app_(console)_0krr6t05xs2tn._.js} +2 -2
- package/server/.next/server/chunks/ssr/{src_app_(console)_05h6-wpd078oj._.js → src_app_(console)_0ohoun7l5f2tb._.js} +2 -2
- package/server/.next/server/chunks/ssr/src_app_(console)_alerts_0j5xlt68kwg8x._.js +2 -2
- package/server/.next/server/chunks/ssr/src_app_(console)_apps_[id]_08in-j3xp5mbn._.js +3 -0
- package/server/.next/server/chunks/ssr/src_app_(console)_backups_actions_ts_1vpytsdh0wc1f._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_backups_drive-buttons_tsx_00cku5r_z3jkg._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_connections_1fahc65-97qla._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_connections_1fmp_anbkapur._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_connections_actions_ts_103blv4gzq76z._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_containers_containers-view_tsx_1xkcrw5gx53xo._.js +3 -0
- package/server/.next/server/chunks/ssr/src_app_(console)_create_actions_ts_05-86qr6kfjey._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_deploy_0zeo9k66pzhae._.js +3 -0
- package/server/.next/server/chunks/ssr/src_app_(console)_deploy_deploy-picker_tsx_1qtt_mfhq6hx7._.js +3 -0
- package/server/.next/server/chunks/ssr/src_app_(console)_dns_actions_ts_1jzn58xzwbukz._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_dns_record-actions_tsx_0cqmz51zcuebv._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_firebase_row-menu_tsx_0hssoq3pqjl-n._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_logs_log-viewer_tsx_0v3e4cflfk14w._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_manage_sections_section-switch_tsx_1mfs-o_357i22._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_monitor-actions_ts_10w3h7myk2ppi._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_os_09ake6nf7de4h._.js +3 -0
- package/server/.next/server/chunks/ssr/src_app_(console)_os_os-view_tsx_0xr69f5vtstls._.js +3 -0
- package/server/.next/server/chunks/ssr/src_app_(console)_palette-action_ts_0zyw9a9imev6p._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_sql_1icfsti04djqe._.js +2 -2
- package/server/.next/server/chunks/ssr/src_app_(console)_sql_actions_ts_1oqco02hw-3vp._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_supabase_0ib3m2ch9gu-4._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_supabase_1ofufib3-zzt-._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_supabase_pool-actions_ts_0nzd4vwy_9zzx._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_uptime_148phfjye0539._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_uptime_1mnnkfi-2zv-k._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_(console)_vercel-actions_ts_0wpk1yo9v632d._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_mfa_setup_setup-flow_tsx_1fpwygr2vdgnh._.js +1 -1
- package/server/.next/server/chunks/ssr/src_app_setup_setup-form_tsx_0izoagdur96e1._.js +1 -1
- package/server/.next/server/chunks/ssr/{src_app_signin_0obhr-33tppu8._.js → src_app_signin_12a3ifphkkcs7._.js} +2 -2
- package/server/.next/server/chunks/ssr/src_components_174vbjanfxq81._.js +3 -0
- package/server/.next/server/chunks/ssr/{src_components_0ozvphxxwb7d-._.js → src_components_1pmro72g7f44k._.js} +1 -1
- package/server/.next/server/chunks/ssr/src_components_charts_tsx_0u0c5sxi3-7ug._.js +1 -1
- package/server/.next/server/chunks/ssr/src_components_create_create-dialog_tsx_1s_9clly_m1ru._.js +1 -1
- package/server/.next/server/chunks/ssr/src_components_live_tsx_1p2s3b807w0jt._.js +1 -1
- package/server/.next/server/chunks/ssr/src_lib_00ixpbvymlbo_._.js +3 -0
- package/server/.next/server/chunks/ssr/src_lib_05ai1oj91p9w2._.js +2 -2
- package/server/.next/server/chunks/ssr/src_lib_0eqv8l-v8d5ze._.js +1 -1
- package/server/.next/server/chunks/ssr/src_lib_0f_4mvf4-xxst._.js +1 -1
- package/server/.next/server/chunks/ssr/src_lib_0j2ifdk5byg1t._.js +3 -0
- package/server/.next/server/chunks/ssr/src_lib_0nbad7vu413-f._.js +1 -1
- package/server/.next/server/chunks/ssr/src_lib_1-o98ehvb_ozi._.js +3 -0
- package/server/.next/server/chunks/ssr/src_lib_1eioo4oodq-8h._.js +1 -1
- package/server/.next/server/chunks/ssr/src_lib_1iuuekw6uwbbr._.js +3 -0
- package/server/.next/server/chunks/ssr/{src_lib_0-nc33gvdtkg5._.js → src_lib_1zgor_vrwl5kt._.js} +1 -1
- package/server/.next/server/chunks/ssr/src_lib_alerts_catalog_ts_1ndg28acul64q._.js +1 -1
- package/server/.next/server/chunks/ssr/src_lib_collector_self-update_ts_18m5vmptpjhtg._.js +1 -1
- package/server/.next/server/chunks/ssr/src_lib_data_cached_ts_017to1fh48jms._.js +3 -0
- package/server/.next/server/chunks/ssr/src_lib_data_databases-db_ts_04a4hj5j7h8m0._.js +3 -0
- package/server/.next/server/chunks/ssr/src_lib_data_os-scan-db_ts_0g2a3ofkaxf40._.js +4 -0
- package/server/.next/server/chunks/ssr/src_lib_data_provider-action-db_ts_0-bucssqnudtd._.js +1 -1
- package/server/.next/server/chunks/ssr/src_lib_data_repos-db_ts_06z14rp86ukii._.js +3 -0
- package/server/.next/server/chunks/ssr/src_lib_data_sections-db_ts_1ky6-o4z1mimq._.js +2 -2
- package/server/.next/server/chunks/ssr/src_lib_databases_snapshot-data_ts_1xilv6_re7hcp._.js +3 -0
- package/server/.next/server/chunks/ssr/{src_lib_demo_0sbw5n9n4mpzx._.js → src_lib_demo_15e3gnqzod0tj._.js} +2 -2
- package/server/.next/server/chunks/ssr/src_lib_demo_pool_ts_0fpn8acsdk64i._.js +1 -1
- package/server/.next/server/chunks/ssr/src_lib_deps_branch_ts_06dz9-7a66n24._.js +3 -0
- package/server/.next/server/chunks/ssr/src_lib_deps_osv_ts_0c-lbj4hsmojx._.js +3 -0
- package/server/.next/server/chunks/ssr/src_lib_deps_plan_ts_0bctf8v4qttk5._.js +1 -1
- package/server/.next/server/chunks/ssr/src_lib_sections_ts_0r8u4nvlpdkgq._.js +1 -1
- package/server/.next/server/chunks/ssr/src_lib_view_security_ts_1_c7vkcsp6y27._.js +3 -0
- package/server/.next/server/chunks/ssr/src_lib_view_usage_ts_1h1tj0m3n2vul._.js +1 -1
- package/server/.next/server/chunks/ssr/src_private_0iy_wyg2p1jkn._.js +1 -1
- package/server/.next/server/chunks/ssr/src_private_actions_decide-form_tsx_1hngtxpyle3v8._.js +1 -1
- package/server/.next/server/chunks/ssr/src_private_ai_providers_actions_ts_0wxa36ai6s5nn._.js +1 -1
- package/server/.next/server/chunks/ssr/src_private_notes_notes-actions_ts_1g63g8u965fhc._.js +1 -1
- package/server/.next/server/chunks/ssr/src_private_ui_0jp9fny_5k1v6._.js +1 -1
- package/server/.next/server/middleware-build-manifest.js +36 -3
- package/server/.next/server/next-font-manifest.js +1 -1
- package/server/.next/server/next-font-manifest.json +12 -0
- package/server/.next/server/pages/404.html +1 -1
- package/server/.next/server/pages/500.html +1 -1
- package/server/.next/server/preview-props.json +3 -3
- package/server/.next/server/server-reference-manifest.js +1 -1
- package/server/.next/server/server-reference-manifest.json +378 -176
- package/server/.next/static/chunks/0-o-4ilzkrd38.js +1 -0
- package/server/.next/static/chunks/{27epf-aa_5m_r.js → 01euc4zjlprz5.js} +1 -1
- package/server/.next/static/chunks/028g933xfv8jn.js +1 -0
- package/server/.next/static/chunks/{0vqfc5ez__g1s.js → 02kly5fiyvt77.js} +1 -1
- package/server/.next/static/chunks/{2zudgr23_bvy5.js → 0dq-2wtk0h5u7.js} +1 -1
- package/server/.next/static/chunks/{1xaww6l378y_h.js → 0ey7akdab5tu8.js} +1 -1
- package/server/.next/static/chunks/0ge2nkna7o16p.js +1 -0
- package/server/.next/static/chunks/0ish66r3_d92v.js +1 -0
- package/server/.next/static/chunks/{16f-5rrbswao-.js → 0l61-etojd65n.js} +1 -1
- package/server/.next/static/chunks/{0o53bcdd6gtyu.js → 0matuoy08desx.js} +1 -1
- package/server/.next/static/chunks/{1jfri9y7a54t3.js → 0mbt6eam4qr2f.js} +1 -1
- package/server/.next/static/chunks/0utjdzwgd7zw2.js +1 -0
- package/server/.next/static/chunks/{1hzn5sr2wq7_6.js → 0v97o46v-74gw.js} +1 -1
- package/server/.next/static/chunks/{3tqlcut9yz40q.js → 0xlfzxnboj4f1.js} +1 -1
- package/server/.next/static/chunks/{2plrf95jah9ew.js → 0xz55932e19r8.js} +1 -1
- package/server/.next/static/chunks/{2i629nz4h3fqg.js → 0y99dm8mesqe9.js} +1 -1
- package/server/.next/static/chunks/{0s44z2_pzghcu.js → 1935vuszybg7i.js} +1 -1
- package/server/.next/static/chunks/{1andb44i5y-5c.js → 1c9eb592ho0-l.js} +1 -1
- package/server/.next/static/chunks/{3a55yojb_7drl.js → 1pogexbz36ij8.js} +1 -1
- package/server/.next/static/chunks/{1d5jx8nbj9hio.js → 1r99dm6-o5qw2.js} +1 -1
- package/server/.next/static/chunks/{0znki_inst5fe.js → 1sa-1lde5_ikt.js} +1 -1
- package/server/.next/static/chunks/{3ki7epe69d8mi.js → 1truzt17f0fce.js} +1 -1
- package/server/.next/static/chunks/{143_uak5v6uky.js → 1u8mo8jflotrt.js} +1 -1
- package/server/.next/static/chunks/{20u3tmdb-6drr.js → 1uk98c6r9i2bn.js} +1 -1
- package/server/.next/static/chunks/{0a77yea00jt0y.js → 2-uaya1_uxlg8.js} +1 -1
- package/server/.next/static/chunks/{3y4vkm_orksj_.js → 2-xolk9x48-v1.js} +1 -1
- package/server/.next/static/chunks/{0x_wb_w6fgkyt.js → 226fbv9fq4xq_.js} +1 -1
- package/server/.next/static/chunks/{2y5zgpld68mbe.js → 22ygzud_kp29f.js} +2 -2
- package/server/.next/static/chunks/{2wmkryogm5g3y.js → 2am77mhkx46hz.js} +2 -2
- package/server/.next/static/chunks/2c2oi6ivdnv6f.js +1 -0
- package/server/.next/static/chunks/{1q0dfli6xlok0.js → 2fvh4wg2kp4c2.js} +1 -1
- package/server/.next/static/chunks/{1lq20aqwgdq8w.js → 2m8-ctreu-y-r.js} +1 -1
- package/server/.next/static/chunks/2owzn0qjb8n5g.js +1 -0
- package/server/.next/static/chunks/2p8bv7d7t08z1.js +1 -0
- package/server/.next/static/chunks/{2jyi95ohxfybd.js → 2szchf79vnxgd.js} +1 -1
- package/server/.next/static/chunks/{2pjruch-2xss_.js → 2yc4qzglai5fq.js} +1 -1
- package/server/.next/static/chunks/{1zid1do5vuxcq.js → 2ze-y3he5_bb0.js} +1 -1
- package/server/.next/static/chunks/2zzk4wxiacgja.css +3 -0
- package/server/.next/static/chunks/{32sed3oqb5mgw.js → 33_2mbxu9wufm.js} +1 -1
- package/server/.next/static/chunks/33avmrae70_xs.js +1 -0
- package/server/.next/static/chunks/{3e8jbph5vbqrh.js → 363mcu9nd9znh.js} +1 -1
- package/server/.next/static/chunks/{0p5xwnif2xe2v.js → 3aou6xwhz8z6a.js} +1 -1
- package/server/.next/static/chunks/{11r3cljnu3lrb.js → 3bwwwv3sp7uyn.js} +1 -1
- package/server/.next/static/chunks/{0p_qyask2har9.js → 3dk6a5gl9glxo.js} +1 -1
- package/server/.next/static/chunks/{20xid8njz36og.js → 3e-0ejqqa7jwn.js} +1 -1
- package/server/.next/static/chunks/{3tigi9c4vke8u.js → 3gkm-ynu4fq5u.js} +1 -1
- package/server/.next/static/chunks/{0tw_we2nleycj.js → 3gmm9g54vx4w0.js} +1 -1
- package/server/.next/static/chunks/3jqmm62dbykt1.js +1 -0
- package/server/.next/static/chunks/{12ryyhs-tt27p.js → 3lvz18snt6489.js} +1 -1
- package/server/.next/static/chunks/{223rdnw2yty48.js → 3m3vl3n5xs039.js} +2 -2
- package/server/.next/static/chunks/{2gnckmw5e2mfd.js → 3qv9klayap1tz.js} +1 -1
- package/server/.next/static/chunks/{12rf9fj_wat4k.js → 3ursfc8kxp2ak.js} +2 -2
- package/server/.next/static/chunks/3xkvsl4vbpm41.js +1 -0
- package/server/.next/static/chunks/3yu0azvye6wr_.js +1 -0
- package/server/drizzle-selfhost/0008_ci_failing_rule.sql +2 -0
- package/server/drizzle-selfhost/0009_os_security_rule.sql +2 -0
- package/server/drizzle-selfhost/0010_supabase_metrics_memory.sql +8 -0
- package/server/drizzle-selfhost/meta/_journal.json +82 -61
- package/server/server.js +1 -1
- package/server/.next/server/chunks/[root-of-the-server]__038br8sr9eepd._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__0a5op--7u5_xh._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__0r3cq1lecww4e._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__0r_6xpjwcdrda._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__0rctmpp7p7cp9._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__0rpys5i04hzww._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__0vax5gpdmh80a._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__0vv63vp8y0fs-._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__0ycpg444s91lb._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__0zjhlf_yodox3._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__1-37ctpn8yw_m._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__1-ne3clcouvm2._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__14vj8ywy5spa2._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__16jyhasrd2ojp._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__16u9d_hm9lefl._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__1_zr2xlmtkn4l._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__1a9cd4d9ohf69._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__1aagly59gw-xf._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__1c0cb3ur16yhh._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__1jvy8r4n-62x7._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__1k-7jan2fsbys._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__1qmdi981syrsn._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__1r9v6qgjwlv32._.js +0 -3
- package/server/.next/server/chunks/[root-of-the-server]__1uad-kugxmkx8._.js +0 -3
- package/server/.next/server/chunks/_0ffsv993spriq._.js +0 -3
- package/server/.next/server/chunks/_0nt4ifc48vl34._.js +0 -48
- package/server/.next/server/chunks/_0rkn5gstaj2d0._.js +0 -48
- package/server/.next/server/chunks/_1_4jb754aeifp._.js +0 -48
- package/server/.next/server/chunks/_1d_77nvqcnkcg._.js +0 -3
- package/server/.next/server/chunks/_1qsryafbujfwn._.js +0 -48
- package/server/.next/server/chunks/src_05vq-abuilwk4._.js +0 -3
- package/server/.next/server/chunks/src_06lwphwuzgl6e._.js +0 -3
- package/server/.next/server/chunks/src_1p24c-nz35cov._.js +0 -3
- package/server/.next/server/chunks/src_20sym_ohuqw76._.js +0 -3
- package/server/.next/server/chunks/src_lib_001zhbfd1zeuk._.js +0 -3
- package/server/.next/server/chunks/src_lib_0k_aposzvy1c8._.js +0 -6
- package/server/.next/server/chunks/src_lib_0n1xnas42gur9._.js +0 -3
- package/server/.next/server/chunks/src_lib_0vjapfdxkooq5._.js +0 -6
- package/server/.next/server/chunks/src_lib_0yn0bj14ih0id._.js +0 -6
- package/server/.next/server/chunks/src_lib_18wgdeemqm6gg._.js +0 -3
- package/server/.next/server/chunks/src_lib_1qbgm0zu8q1rr._.js +0 -6
- package/server/.next/server/chunks/src_lib_1ywf_wup1kxy_._.js +0 -3
- package/server/.next/server/chunks/src_private_123pnf7iqjhkz._.js +0 -3
- package/server/.next/server/chunks/ssr/[root-of-the-server]__03mal5uo1rzg4._.js +0 -3
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0s2of3mcou177._.js +0 -3
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0tqqte5jb6jz7._.js +0 -3
- package/server/.next/server/chunks/ssr/[root-of-the-server]__0ujxsp9l9ad-l._.js +0 -3
- package/server/.next/server/chunks/ssr/[root-of-the-server]__113zn8es2wp67._.js +0 -3
- package/server/.next/server/chunks/ssr/_09s2unlb4r6yf._.js +0 -3
- package/server/.next/server/chunks/ssr/_0_8v3-nq-b4ug._.js +0 -3
- package/server/.next/server/chunks/ssr/_0_yyszoyzyccn._.js +0 -3
- package/server/.next/server/chunks/ssr/_0ffsv993spriq._.js +0 -3
- package/server/.next/server/chunks/ssr/_0v6v5w16qxwke._.js +0 -3
- package/server/.next/server/chunks/ssr/_12wjuabpo0ofk._.js +0 -3
- package/server/.next/server/chunks/ssr/_1js_iq-0mb62d._.js +0 -3
- package/server/.next/server/chunks/ssr/_1ktvwngz0lzjr._.js +0 -3
- package/server/.next/server/chunks/ssr/_1st-ksb6wm2og._.js +0 -3
- package/server/.next/server/chunks/ssr/_next-internal_server_app_(console)_apps_[id]_page_actions_1--1mjfnoprr2.js +0 -3
- package/server/.next/server/chunks/ssr/src_04o0-kzfmcnim._.js +0 -3
- package/server/.next/server/chunks/ssr/src_0dceh6hsdybq8._.js +0 -3
- package/server/.next/server/chunks/ssr/src_1-k3gvxaqli74._.js +0 -3
- package/server/.next/server/chunks/ssr/src_1ckoccd8qvnje._.js +0 -3
- package/server/.next/server/chunks/ssr/src_1p24c-nz35cov._.js +0 -3
- package/server/.next/server/chunks/ssr/src_1wnx8vxv7nd04._.js +0 -3
- package/server/.next/server/chunks/ssr/src_app_(console)_apps_[id]_10xvt--29v-ed._.js +0 -3
- package/server/.next/server/chunks/ssr/src_lib_001zhbfd1zeuk._.js +0 -3
- package/server/.next/server/chunks/ssr/src_lib_033ses2c4-ww-._.js +0 -3
- package/server/.next/server/chunks/ssr/src_lib_0n1xnas42gur9._.js +0 -3
- package/server/.next/server/chunks/ssr/src_lib_18wgdeemqm6gg._.js +0 -3
- package/server/.next/server/chunks/ssr/src_lib_1ywf_wup1kxy_._.js +0 -3
- package/server/.next/server/chunks/ssr/src_private_1yzfhupl3rlpx._.js +0 -6
- package/server/.next/static/chunks/08fdgz3f6aeh3.js +0 -1
- package/server/.next/static/chunks/0uom2d_-nh45g.js +0 -1
- package/server/.next/static/chunks/11locca8ayu84.js +0 -1
- package/server/.next/static/chunks/12z4gcgh75y3h.js +0 -1
- package/server/.next/static/chunks/13t0_-lm77ctu.js +0 -1
- package/server/.next/static/chunks/1tg1mstvws8rj.css +0 -3
- package/server/.next/static/chunks/38ao1jq4zw-nd.js +0 -1
- package/server/.next/static/chunks/3c79k7qsyelf1.js +0 -1
- package/server/.next/static/chunks/3zhb71t6q4f9k.js +0 -1
- /package/server/.next/static/{VmJyuS9PCFUrRHa6THIcV → fogXXBSOhoHV3eIf8_j28}/_buildManifest.js +0 -0
- /package/server/.next/static/{VmJyuS9PCFUrRHa6THIcV → fogXXBSOhoHV3eIf8_j28}/_clientMiddlewareManifest.js +0 -0
- /package/server/.next/static/{VmJyuS9PCFUrRHa6THIcV → fogXXBSOhoHV3eIf8_j28}/_ssgManifest.js +0 -0
package/server/.next/server/chunks/ssr/src_app_(console)_logs_log-viewer_tsx_0v3e4cflfk14w._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[785582,a=>{"use strict";var b=a.i(187924),c=a.i(834295),d=a.i(572131),e=a.i(771378),f=a.i(619089),g=a.i(728951),h=a.i(368114);function i(a){return"fatal"===a||"error"===a?"error":"warning"===a?"warning":"info"}var j=a.i(405050);let k=(0,j.createServerReference)("
|
|
1
|
+
module.exports=[785582,a=>{"use strict";var b=a.i(187924),c=a.i(834295),d=a.i(572131),e=a.i(771378),f=a.i(619089),g=a.i(728951),h=a.i(368114);function i(a){return"fatal"===a||"error"===a?"error":"warning"===a?"warning":"info"}var j=a.i(405050);let k=(0,j.createServerReference)("4083e6c9507c7be66b52f48e5b57ca2803a48d2236",j.callServer,void 0,j.findSourceMapURL,"readLastHour"),l={info:"text-code-info",warning:"text-code-warn",error:"text-code-err"};a.s(["LogViewer",0,function({mode:a,apps:j,appId:m,initial:n,vercelUrl:o}){var p,q;let r,s="live"===a,[t,u]=(0,d.useState)(n),v=(0,e.useMask)(),[w,x]=(0,d.useState)(""),[y,z]=(0,d.useState)(""),[A,B]=(0,d.useState)(""),[C,D]=(0,d.useState)(!0),[E,F]=(0,d.useState)(null),[G,H]=(0,d.useState)(0),[I,J]=(0,d.useState)([]),[K,L]=(0,d.useState)(null),[M,N]=(0,d.useTransition)(),O=(0,d.useRef)(!1),P=(0,d.useRef)(null),Q=j.find(a=>a.name===w)?.id??null,R=m??Q;(0,d.useEffect)(()=>{O.current=M},[M]);let S=(0,d.useCallback)(()=>{N(async()=>{let a=await k(R);a.ok&&a.data?(L(null),J(a.data.problems),u(a.data.lines.slice(-500)),F(Date.parse(a.data.readAt)),H(Date.now())):L(a.ok?"Couldn't read the logs. Try again.":a.error)})},[R]);(0,d.useEffect)(()=>{if(!s)return;let a=setTimeout(S,0);return()=>clearTimeout(a)},[s,S]),(0,d.useEffect)(()=>{if(!s||!C)return;let a=setInterval(()=>{"visible"!==document.visibilityState||O.current||S()},15e3);return()=>clearInterval(a)},[s,C,S]),(0,d.useEffect)(()=>{if(!s)return;let a=setInterval(()=>H(Date.now()),5e3);return()=>clearInterval(a)},[s]);let T=(r=(p={app:m?"":w,level:y,text:A}).text.trim().toLowerCase(),t.filter(a=>(!p.app||a.app===p.app)&&(!p.level||i(a.level)===p.level)&&(!r||`${a.app} ${a.text}`.toLowerCase().includes(r))));return(0,d.useEffect)(()=>{let a=P.current;a&&(a.scrollTop=a.scrollHeight)},[t]),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-2 px-[18px] pb-3 pt-3.5 max-[720px]:px-3.5",children:[!m&&(0,b.jsxs)("select",{className:(0,h.f)(f.S,"w-auto"),"aria-label":"Project",value:w,onChange:a=>x(a.target.value),children:[(0,b.jsx)("option",{value:"",children:"All projects"}),j.map(a=>(0,b.jsx)("option",{value:a.name,children:v("app",a.name)},a.id))]}),(0,b.jsxs)("select",{className:(0,h.f)(f.S,"w-auto"),"aria-label":"Level",value:y,onChange:a=>z(a.target.value),children:[(0,b.jsx)("option",{value:"",children:"All levels"}),s&&(0,b.jsx)("option",{value:"info",children:"Info"}),(0,b.jsx)("option",{value:"warning",children:"Warning"}),(0,b.jsx)("option",{value:"error",children:"Error"})]}),s?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("label",{className:"inline-flex items-center gap-1.5 text-[13px]",children:[(0,b.jsx)("input",{type:"checkbox",className:"accent-brand",checked:C,onChange:a=>D(a.target.checked)})," Auto-refresh every 15s"]}),(0,b.jsx)(f.K,{size:"sm",disabled:M,onClick:S,children:M?"Fetching…":"Fetch now"})]}):(0,b.jsx)("input",{className:(0,h.f)(f.S,"w-[200px] max-[720px]:w-full"),placeholder:"Search messages","aria-label":"Search messages",value:A,onChange:a=>B(a.target.value)}),o&&(0,b.jsxs)("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:(0,f.R)({variant:"ghost",size:"sm"}),children:["Open in Vercel ",(0,b.jsx)(c.f,{size:14,"aria-hidden":!0})]}),(0,b.jsx)("span",{className:"ml-auto flex items-center text-[12.5px] text-ink-soft",children:s?(0,b.jsxs)(b.Fragment,{children:["Vercel request logs · last 1 hour · ",function(a,b){if(null===a)return"reading…";let c=Math.max(0,Math.round((b-a)/1e3));return c<5?"read just now":c<60?`read ${c}s ago`:`read ${Math.floor(c/60)} min ago`}(E,G),(0,b.jsx)(g.Src,{kind:"api"})]}):(0,b.jsxs)(b.Fragment,{children:["Copied by the collector every 5 min · kept 7 days",(0,b.jsx)(g.Src,{kind:"calc"})]})})]}),K&&(0,b.jsx)("p",{role:"alert",className:"px-[18px] pb-2 text-[12.5px] text-err max-[720px]:px-3.5",children:K}),I.length>0&&(0,b.jsx)("p",{className:"px-[18px] pb-2 text-[12.5px] text-ink-soft max-[720px]:px-3.5",children:v("text",I.join(" · "))}),(0,b.jsx)("div",{ref:P,tabIndex:0,"aria-label":s?"Request log lines of the last hour":"Stored warning and error log lines",className:"h-[420px] overflow-auto rounded-b-lg bg-code-bg px-4 py-3 font-mono text-[12.5px] leading-[1.7] text-code-text",children:0===T.length?(0,b.jsx)("div",{className:"whitespace-normal text-code-dim",children:(q={live:s,reading:null===E&&!K,level:y}).live?q.reading?"Reading the last hour…":"error"===q.level?"No errors in the last hour. Error means the server failed (a 5xx or a crash). A wrong password or a missing page is not one, and a sign-in the browser sends straight to Supabase or Firebase never reaches these logs.":"warning"===q.level?"No warnings in the last hour.":"No log lines in this window.":"No warnings or errors stored in the last 7 days."}):T.map(a=>(0,b.jsxs)("div",{className:"whitespace-pre",children:[(0,b.jsx)("time",{className:"text-code-dim",children:a.time})," ",(0,b.jsx)("span",{className:l[i(a.level)],children:a.level.toUpperCase().padEnd(7)})," ",(0,b.jsx)("span",{className:"text-code-proj",children:v("app",a.app).padEnd(17)})," ",v("text",a.text)]},a.id))})]})}],785582)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_app_%28console%29_logs_log-viewer_tsx_0v3e4cflfk14w._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[295129,a=>{"use strict";var b=a.i(187924),c=a.i(572131),d=a.i(823292),e=a.i(611619),f=a.i(405050);let g=(0,f.createServerReference)("
|
|
1
|
+
module.exports=[295129,a=>{"use strict";var b=a.i(187924),c=a.i(572131),d=a.i(823292),e=a.i(611619),f=a.i(405050);let g=(0,f.createServerReference)("605825c95728bb5513b794c0bd6cec76fcc371bfdb",f.callServer,void 0,f.findSourceMapURL,"setSectionOn");a.s(["SectionSwitch",0,function({section:a,label:f,state:h,stops:i}){let[j,k]=(0,c.useTransition)(),[l,m]=(0,c.useState)({server:h,value:"on"===h}),n=l.server===h?l:{server:h,value:"on"===h};n!==l&&m(n);let o=n.value,p=a=>m(b=>({...b,value:a})),[q,r]=(0,c.useState)(!1),s="waiting"===h;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("label",{className:`relative inline-flex items-center ${s?"cursor-not-allowed":"cursor-pointer"}`,title:`${f}: ${s?"not connected yet":o?"on":"off"}`,children:[(0,b.jsx)("input",{type:"checkbox",role:"switch",className:"peer sr-only",checked:o,disabled:j||s,"aria-label":`${f} section`,onChange:b=>{b.target.checked?(p(!0),k(async()=>{let b=await g(a,!0);b.ok?d.c.success(b.message??"Saved."):(p(!1),d.c.error(b.error))})):r(!0)}}),(0,b.jsx)("span",{className:"h-5 w-9 rounded-full bg-line-strong transition-colors peer-checked:bg-brand peer-focus-visible:ring-2 peer-focus-visible:ring-brand/40 peer-disabled:opacity-60"}),(0,b.jsx)("span",{className:"absolute left-0.5 top-0.5 size-4 rounded-full bg-surface transition-transform peer-checked:translate-x-4"})]}),(0,b.jsx)(e.f,{open:q,onOpenChange:r,title:`Turn ${f} off?`,body:`${i} Its data is kept.`,cta:`Turn ${f} off`,danger:"hosting"===a,onConfirm:async()=>{let b=await g(a,!1);return b.ok&&p(!1),{ok:b.ok,message:(b.ok?b.message:b.error)??""}}})]})}],295129)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_app_%28console%29_manage_sections_section-switch_tsx_1mfs-o_357i22._.js.map
|
package/server/.next/server/chunks/ssr/src_app_(console)_monitor-actions_ts_10w3h7myk2ppi._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[739518,a=>{"use strict";var b=a.i(137936),c=a.i(118558),d=a.i(600079),e=a.i(109307),f=a.i(221084),g=a.i(895176),h=a.i(305731),i=a.i(492665),j=a.i(767163),k=a.i(683439),l=a.i(201516),m=a.i(312573),n=a.i(323878),o=a.i(713095);let p={requireActionMember:e.g},q="Something in that request wasn't valid.";async function r(a,b){if(!a.ok)return{ok:!1,error:a.error};if(a.audit)try{await (0,f.f)({kind:!1===a.passed?"err":"ok",...a.audit,actorUserId:b.userId})}catch{console.warn("audit event failed")}return(0,c.refresh)(),{ok:!0,message:a.message,data:{passed:a.passed??!0}}}async function s(a,b){let c=await r(a,b);return c.ok?{ok:!0,message:c.message,data:{pingUrl:a.ok&&a.token?(0,j.J)((0,i.f)().SITE_URL,a.token):null}}:{ok:!1,error:c.error}}async function t(a){let b=await (0,n.C)(m.t.monitorWrite,a.id);return b.allowed?null:{ok:!1,error:`Too many changes. Try again in ${(0,m.H)(b.retryAfter)}.`}}async function u(a,b){return(0,d.F)("operator",async c=>{if(!(0,k.f)(a))return{ok:!1,error:q};let d=(0,l.Y)(b);return d.ok?await t(c)??await r(await (0,g.$)(a,d.value),c):{ok:!1,error:"Check the highlighted fields.",fieldErrors:d.fieldErrors}},p,"local")}async function v(a,b){return(0,d.F)("operator",async c=>{if(!(0,k.f)(a))return{ok:!1,error:q};let d=(0,l.Y)(b);return d.ok?await t(c)??await r(await (0,g.q)(a,d.value),c):{ok:!1,error:"Check the highlighted fields.",fieldErrors:d.fieldErrors}},p,"local")}async function w(a){return(0,d.F)("operator",async b=>(0,k.f)(a)?await t(b)??await r(await (0,h.f)(a),b):{ok:!1,error:q},p,"local")}async function x(a,b){return(0,d.F)("operator",async c=>(0,k.f)(a)&&"boolean"==typeof b?await t(c)??await r(await (0,g.C)(a,b),c):{ok:!1,error:q},p,"local")}async function y(a,b){return(0,d.F)("operator",async c=>(0,k.f)(a)&&"boolean"==typeof b?await t(c)??await r(await (0,g.f)(a,b),c):{ok:!1,error:q},p,"local")}async function z(a){return(0,d.F)("operator",async b=>(0,k.f)(a)?await t(b)??await r(await (0,g.j)(a),b):{ok:!1,error:q},p,"local")}async function A(a){return(0,d.F)("operator",async b=>{if(!(0,k.f)(a))return{ok:!1,error:q};let c=await (0,n.C)(m.t.check,b.id);return c.allowed?r(await (0,g.X)(a),b):{ok:!1,error:`Too many checks. Try again in ${(0,m.H)(c.retryAfter)}.`}},p,"local")}async function B(a,b){return(0,d.F)("operator",async c=>{if(!(0,k.f)(a))return{ok:!1,error:q};let d=(0,l.a)(b);return d.ok?await t(c)??await s(await (0,g._)(a,d.value),c):{ok:!1,error:"Check the highlighted fields.",fieldErrors:d.fieldErrors}},p,"local")}async function C(a,b){return(0,d.F)("operator",async c=>{if(!(0,k.f)(a))return{ok:!1,error:q};let d=(0,l.a)(b);return d.ok?await t(c)??await s(await (0,g.G)(a,d.value),c):{ok:!1,error:"Check the highlighted fields.",fieldErrors:d.fieldErrors}},p,"local")}async function D(a){return(0,d.F)("operator",async b=>(0,k.f)(a)?await t(b)??await s(await (0,g.R)(a),b):{ok:!1,error:q},p,"local")}async function E(a,b){return(0,d.F)("operator",async c=>(0,k.f)(a)&&("ok"===b||"fail"===b)?await t(c)??await r(await (0,g.p)(a,b),c):{ok:!1,error:q},p,"local")}(0,o.ensureServerEntryExports)([u,v,w,x,y,z,A,B,C,D,E]),(0,b.registerServerReference)(u,"
|
|
1
|
+
module.exports=[739518,a=>{"use strict";var b=a.i(137936),c=a.i(118558),d=a.i(600079),e=a.i(109307),f=a.i(221084),g=a.i(895176),h=a.i(305731),i=a.i(492665),j=a.i(767163),k=a.i(683439),l=a.i(201516),m=a.i(312573),n=a.i(323878),o=a.i(713095);let p={requireActionMember:e.g},q="Something in that request wasn't valid.";async function r(a,b){if(!a.ok)return{ok:!1,error:a.error};if(a.audit)try{await (0,f.f)({kind:!1===a.passed?"err":"ok",...a.audit,actorUserId:b.userId})}catch{console.warn("audit event failed")}return(0,c.refresh)(),{ok:!0,message:a.message,data:{passed:a.passed??!0}}}async function s(a,b){let c=await r(a,b);return c.ok?{ok:!0,message:c.message,data:{pingUrl:a.ok&&a.token?(0,j.J)((0,i.f)().SITE_URL,a.token):null}}:{ok:!1,error:c.error}}async function t(a){let b=await (0,n.C)(m.t.monitorWrite,a.id);return b.allowed?null:{ok:!1,error:`Too many changes. Try again in ${(0,m.H)(b.retryAfter)}.`}}async function u(a,b){return(0,d.F)("operator",async c=>{if(!(0,k.f)(a))return{ok:!1,error:q};let d=(0,l.Y)(b);return d.ok?await t(c)??await r(await (0,g.$)(a,d.value),c):{ok:!1,error:"Check the highlighted fields.",fieldErrors:d.fieldErrors}},p,"local")}async function v(a,b){return(0,d.F)("operator",async c=>{if(!(0,k.f)(a))return{ok:!1,error:q};let d=(0,l.Y)(b);return d.ok?await t(c)??await r(await (0,g.q)(a,d.value),c):{ok:!1,error:"Check the highlighted fields.",fieldErrors:d.fieldErrors}},p,"local")}async function w(a){return(0,d.F)("operator",async b=>(0,k.f)(a)?await t(b)??await r(await (0,h.f)(a),b):{ok:!1,error:q},p,"local")}async function x(a,b){return(0,d.F)("operator",async c=>(0,k.f)(a)&&"boolean"==typeof b?await t(c)??await r(await (0,g.C)(a,b),c):{ok:!1,error:q},p,"local")}async function y(a,b){return(0,d.F)("operator",async c=>(0,k.f)(a)&&"boolean"==typeof b?await t(c)??await r(await (0,g.f)(a,b),c):{ok:!1,error:q},p,"local")}async function z(a){return(0,d.F)("operator",async b=>(0,k.f)(a)?await t(b)??await r(await (0,g.j)(a),b):{ok:!1,error:q},p,"local")}async function A(a){return(0,d.F)("operator",async b=>{if(!(0,k.f)(a))return{ok:!1,error:q};let c=await (0,n.C)(m.t.check,b.id);return c.allowed?r(await (0,g.X)(a),b):{ok:!1,error:`Too many checks. Try again in ${(0,m.H)(c.retryAfter)}.`}},p,"local")}async function B(a,b){return(0,d.F)("operator",async c=>{if(!(0,k.f)(a))return{ok:!1,error:q};let d=(0,l.a)(b);return d.ok?await t(c)??await s(await (0,g._)(a,d.value),c):{ok:!1,error:"Check the highlighted fields.",fieldErrors:d.fieldErrors}},p,"local")}async function C(a,b){return(0,d.F)("operator",async c=>{if(!(0,k.f)(a))return{ok:!1,error:q};let d=(0,l.a)(b);return d.ok?await t(c)??await s(await (0,g.G)(a,d.value),c):{ok:!1,error:"Check the highlighted fields.",fieldErrors:d.fieldErrors}},p,"local")}async function D(a){return(0,d.F)("operator",async b=>(0,k.f)(a)?await t(b)??await s(await (0,g.R)(a),b):{ok:!1,error:q},p,"local")}async function E(a,b){return(0,d.F)("operator",async c=>(0,k.f)(a)&&("ok"===b||"fail"===b)?await t(c)??await r(await (0,g.p)(a,b),c):{ok:!1,error:q},p,"local")}(0,o.ensureServerEntryExports)([u,v,w,x,y,z,A,B,C,D,E]),(0,b.registerServerReference)(u,"608ab3e710be9abd7d59af92f7028398c00652dde6",null),(0,b.registerServerReference)(v,"601260bade816c27865e0047c29bd2d538a62ffdc9",null),(0,b.registerServerReference)(w,"400175f96c361c59cb232cd1f6eabb803dcdd01732",null),(0,b.registerServerReference)(x,"6089ee97cd3c193e08ddd452bfea2e6f3a1c510dd2",null),(0,b.registerServerReference)(y,"60515e1bdb1f6b213b0fc55a9702b436d7ee442857",null),(0,b.registerServerReference)(z,"40fdc28d5a926ecba456cf86e02e3fc59d83bf73f2",null),(0,b.registerServerReference)(A,"40655b250e533a0fb33300204f2384bd6916214447",null),(0,b.registerServerReference)(B,"6007e9616fcb4f95dfc2634c51020080adf00ffcf1",null),(0,b.registerServerReference)(C,"602335f04b4ca44e6d44414fc0b21fc7c2506ded76",null),(0,b.registerServerReference)(D,"408bbb4a197d6b521f2efb2eea28a5ad0964058521",null),(0,b.registerServerReference)(E,"60ff7c7566b39f1993eb8e3ec3c60fe29641bd18ca",null),a.s(["I",0,B,"Y",0,u,"w",0,A,"V",0,C,"B",0,v,"l",0,D,"L",0,y,"H",0,x,"W",0,E,"x",0,z,"C",0,w])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_app_%28console%29_monitor-actions_ts_10w3h7myk2ppi._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[[346102,a=>{let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call OsView() from the server but OsView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/os/os-view.tsx","OsView");a.s(["OsView",0,b])},464196,a=>{var b=a.i(346102);a.n(b)},150762,a=>{var b=a.i(907997);let c=(0,a.i(377269).f)("outline","shield-check","ShieldCheck",[["path",{d:"M11.46 20.846a12 12 0 0 1 -7.96 -14.846a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.09 7.06",key:"svg-0"}],["path",{d:"M15 19l2 2l4 -4",key:"svg-1"}]]);var d=a.i(803681),e=a.i(109307),f=a.i(351917);let g={status:"ok",system:"Ubuntu 22.04.5 LTS",ecosystem:"Ubuntu:22.04:LTS",codename:"jammy",packages:1312,kernel:{running:"5.15.0-199-generic",runningVersion:"5.15.0-199.209",newestInstalled:"5.15.0-201.211",reboot:{needed:!0,packages:["linux-image-5.15.0-201-generic"]},update:null},updates:[{source:"gst-plugins-base1.0",binaries:["gstreamer1.0-gl","gstreamer1.0-plugins-base","libgstreamer-plugins-base1.0-0"],installed:"1.20.1-1ubuntu0.7",candidate:"1.20.1-1ubuntu0.8",pockets:["jammy-updates","jammy-security"],security:!0,error:null,fixes:[{cve:"CVE-2026-111183",priority:"medium",cvss3:9.8,status:"released",version:"1.20.1-1ubuntu0.8",usns:["USN-9038-1"],summary:"GStreamer rtpL16depay Heap-based Buffer Overflow Remote Code Execution Vulnerability."}]},{source:"gst-plugins-good1.0",binaries:["gstreamer1.0-plugins-good","libgstreamer-plugins-good1.0-0"],installed:"1.20.3-0ubuntu1.10",candidate:"1.20.3-0ubuntu1.11",pockets:["jammy-updates","jammy-security"],security:!0,error:null,fixes:[{cve:"CVE-2026-111183",priority:"medium",cvss3:9.8,status:"released",version:"1.20.3-0ubuntu1.11",usns:["USN-9038-1"],summary:"GStreamer rtpL16depay Heap-based Buffer Overflow Remote Code Execution Vulnerability."},{cve:"CVE-2026-46471",priority:"medium",cvss3:5.5,status:"released",version:"1.20.3-0ubuntu1.11",usns:["USN-9038-1"],summary:"An issue was discovered in GStreamer gst-plugins-good before 1.28.2."}]},{source:"docker-ce",binaries:["docker-ce","docker-ce-cli"],installed:"5:28.5.1-1~ubuntu.22.04~jammy",candidate:"5:28.5.2-1~ubuntu.22.04~jammy",pockets:["jammy"],security:!1,fixes:[],error:null},{source:"glib2.0",binaries:["libglib2.0-0","libglib2.0-bin"],installed:"2.72.4-0ubuntu2.8",candidate:"2.72.4-0ubuntu2.9",pockets:["jammy-updates"],security:!1,fixes:[],error:null}],backlog:{counts:{"mariadb-10.6":118,webkit2gtk:74,qemu:52,binutils:31,"bind9-libs":22,imagemagick:19},total:316,error:null},aptListsAgeHours:5,scannedAt:"2026-11-11T02:00:00.000Z",error:null};var h=a.i(464196);async function i(){let a=await (0,e.I)(),i=(0,f.C)(),j=null,k=null;return"viewer"===a.role?j="OS vulnerabilities are for operators and owners.":"off-cloud"===i?j=f.r:k="demo"===i?g:await (0,f.y)(),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(d.L,{crumbs:[{label:"DevOps"},{label:"OS vulnerabilities"}],title:"OS vulnerabilities",sub:"Known vulnerabilities on the machine Watchbell runs on, with each one's score and how to fix it. Read-only: Watchbell never installs or upgrades anything.",more:"Watchbell reads the installed packages (dpkg-query) and the updates waiting (apt list --upgradable), asks Ubuntu's security API which CVEs those updates fix, and asks OSV.dev how many advisories have no fix yet. Only package names and versions leave the machine. The daily job scans; the owner can scan now."}),j?(0,b.jsx)(d.N,{flush:!0,children:(0,b.jsx)(d.k,{icon:c,title:"OS vulnerabilities can't be shown",children:j})}):(0,b.jsx)(h.OsView,{initial:k,owner:"owner"===a.role,demo:"demo"===i})]})}a.s(["default",0,i],150762)}],457839,function(a){a.n(a.i(150762))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_app_%28console%29_os_09ake6nf7de4h._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[653353,a=>{"use strict";var b=a.i(187924),c=a.i(834295),d=a.i(122127),e=a.i(572131),f=a.i(546615),g=a.i(619089),h=a.i(368114);let i={CRITICAL:"Critical",HIGH:"High",MODERATE:"Moderate",LOW:"Low",UNKNOWN:"Unknown"},j={CRITICAL:"bg-err-soft text-err",HIGH:"bg-err-soft text-err",MODERATE:"bg-warn-soft text-warn",LOW:"bg-brand-soft text-brand",UNKNOWN:"bg-brand-soft text-brand"};function k({severity:a}){return(0,b.jsx)("span",{className:(0,h.f)("inline-block whitespace-nowrap rounded-[5px] px-2 py-px text-xs font-medium",j[a]),children:i[a]})}j.CRITICAL,j.MODERATE,j.LOW;var l=a.i(286597),m=a.i(462007);let n=a=>/^USN-\d+-\d+$/.test(a)?`https://ubuntu.com/security/notices/${a}`:null;function o(a){let b=a.trim(),c=0,d=b.indexOf(":");d>0&&/^\d+$/.test(b.slice(0,d))&&(c=Number(b.slice(0,d)),b=b.slice(d+1));let e=b.lastIndexOf("-");return e>=0?[c,b.slice(0,e),b.slice(e+1)]:[c,b,""]}function p(a){return void 0===a?0:"~"===a?-1:/[A-Za-z]/.test(a)?a.charCodeAt(0):a.charCodeAt(0)+256}function q(a,b){let c=0,d=0;for(;c<a.length||d<b.length;){for(;c<a.length&&!/\d/.test(a[c])||d<b.length&&!/\d/.test(b[d]);){let e=c<a.length&&!/\d/.test(a[c])?a[c]:void 0,f=d<b.length&&!/\d/.test(b[d])?b[d]:void 0,g=p(e)-p(f);if(0!==g)return g;void 0!==e&&c++,void 0!==f&&d++}let e="",f="";for(;c<a.length&&/\d/.test(a[c]);)e+=a[c++];for(;d<b.length&&/\d/.test(b[d]);)f+=b[d++];if(e=e.replace(/^0+/,""),f=f.replace(/^0+/,""),e.length!==f.length)return e.length-f.length;if(e!==f)return e<f?-1:1}return 0}function r(a){let b=[...new Set(a.flatMap(a=>a.binaries))].sort();return b.length?`sudo apt update && sudo apt install --only-upgrade ${b.join(" ")}`:null}let s=a=>/^CVE-\d{4}-\d{4,}$/.test(a)?`https://nvd.nist.gov/vuln/detail/${a}`:null,t=a=>"number"==typeof a&&Number.isFinite(a)?a.toFixed(1):null;var u=a.i(147474),v=a.i(405050);let w=(0,v.createServerReference)("00f78fe6ac4a0d51efdb651160ecbee92ad739237a",v.callServer,void 0,v.findSourceMapURL,"scanNowAction"),x="grid grid-cols-[170px_minmax(0,1fr)] gap-x-4 gap-y-2 max-[720px]:grid-cols-1 max-[720px]:gap-y-1 [&_dt]:text-ink-soft",y="font-mono text-[12.5px]",z={target:"_blank",rel:"noopener noreferrer"};function A({text:a}){return(0,b.jsxs)("div",{className:"flex min-w-0 items-start gap-2 rounded-md bg-code-bg px-3 py-2",children:[(0,b.jsx)("code",{className:"min-w-0 flex-1 font-mono text-[12px] text-code-text [overflow-wrap:anywhere]",children:a}),(0,b.jsx)(f.CopyButton,{text:a})]})}function B({u:a}){return(0,b.jsxs)("li",{className:"grid gap-2 border-t border-line px-[18px] py-3",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-3 gap-y-0.5",children:[(0,b.jsx)("b",{className:"font-medium",children:a.source}),(0,b.jsxs)("span",{className:(0,h.f)(y,"text-ink-faint [overflow-wrap:anywhere]"),children:[a.installed," → ",a.candidate]}),a.security&&(0,b.jsx)("span",{className:"text-[12px] text-ink-soft",children:"Ubuntu security update"})]}),a.error?(0,b.jsxs)("p",{className:"flex items-start gap-1.5 text-[13px] text-ink-soft",children:[(0,b.jsx)(l.Z,{state:"warn"}),(0,b.jsxs)("span",{children:["Fixed CVEs couldn't be read: ",a.error]})]}):0===a.fixes.length?(0,b.jsx)("p",{className:"text-[13px] text-ink-soft",children:"No CVE listed for this update."}):(0,b.jsx)("ul",{className:"grid gap-2",children:a.fixes.map(a=>{let c,d;return(0,b.jsxs)("li",{className:"min-w-0 rounded-md border border-line px-3 py-2",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,b.jsx)(k,{severity:null===(c=a.cvss3)?"UNKNOWN":c>=9?"CRITICAL":c>=7?"HIGH":c>=4?"MODERATE":c>0?"LOW":"UNKNOWN"}),t(a.cvss3)&&(0,b.jsx)("span",{className:(0,h.f)(y,"font-medium"),title:"CVSS v3 base score",children:t(a.cvss3)}),(0,b.jsx)("a",{href:(d=a.cve,`https://ubuntu.com/security/${d}`),...z,className:(0,h.f)(y,"text-brand hover:underline"),children:a.cve}),a.priority&&(0,b.jsxs)("span",{className:"text-[12px] text-ink-faint",children:["Ubuntu priority: ",a.priority]})]}),a.summary&&(0,b.jsx)("p",{className:"mt-1 text-[13px] text-ink-soft",children:a.summary}),(0,b.jsxs)("div",{className:"mt-1 flex flex-wrap gap-x-3 text-[12.5px]",children:[a.usns.map(a=>n(a)&&(0,b.jsx)("a",{href:n(a),...z,className:"text-brand hover:underline",children:a},a)),s(a.cve)&&(0,b.jsx)("a",{href:s(a.cve),...z,className:"text-brand hover:underline",children:"NVD"})]})]},a.cve)})}),(0,b.jsx)(A,{text:`sudo apt update && sudo apt install --only-upgrade ${[...a.binaries].sort().join(" ")}`})]})}a.s(["OsView",0,function({initial:a,owner:f,demo:i,now:j}){var k,n;let p,s,[t,v]=(0,e.useState)(a),[C,D]=(0,e.useState)(null),[E,F]=(0,e.useTransition)(),G=j??new Date,H=f&&!i?(0,b.jsx)(g.K,{size:"sm",variant:t?"secondary":"primary",onClick:()=>F(async()=>{try{let a=await w();a.ok&&a.data?(v(a.data),D(null)):D(a.ok?"No answer.":a.error)}catch{D("Watchbell didn't answer. Check that it's still running, then try again.")}}),disabled:E,children:E?"Scanning… (up to a minute)":"Scan now"}):null;if(!t)return(0,b.jsx)(g.N,{flush:!0,children:(0,b.jsxs)(g.k,{icon:d.f,title:"Not scanned yet",action:H,children:[f?"The daily job scans this machine; Scan now does it right away.":"The daily job scans this machine; the owner can scan now.",C&&(0,b.jsx)("p",{className:"mt-2 text-err",children:C})]})});let{security:I,other:J}=(k=t.updates,p=a=>a.security||a.fixes.length>0||null!==a.error,{security:k.filter(p),other:k.filter(a=>!p(a))}),K=r(I),L=t.kernel?!(n=t.kernel).running||n.runningVersion||n.newestInstalled?n.newestInstalled&&n.runningVersion&&function(a,b){let[c,d,e]=o(a),[f,g,h]=o(b);return c!==f?c-f:q(d,g)||q(e,h)}(n.newestInstalled,n.runningVersion)>0?{state:"warn",text:`Kernel ${n.newestInstalled} is installed, but ${n.runningVersion} is still running. Reboot to run it.`,command:"sudo reboot"}:n.update?{state:"warn",text:`A kernel update is waiting (${n.update.package} ${n.update.candidate}). Install it, then reboot.`,command:"sudo apt update && sudo apt full-upgrade"}:n.reboot.needed?{state:"warn",text:`An update waits for a reboot${n.reboot.packages.length?` (${n.reboot.packages.join(", ")})`:""}.`,command:"sudo reboot"}:{state:"ok",text:"The newest installed kernel is running.",command:null}:{state:"ok",text:`The running kernel (${n.running}) isn't from an Ubuntu package: the host it runs on updates it.`,command:null}:null,M=Object.entries(t.backlog.counts).sort((a,b)=>b[1]-a[1]),N=new Set(I.flatMap(a=>a.fixes.map(a=>a.cve))).size;return(0,b.jsxs)(b.Fragment,{children:[i&&(0,b.jsx)(g.M,{tone:"info",title:"Made-up data: the demo doesn't scan."}),C&&(0,b.jsx)(g.M,{tone:"danger",title:"Scan now failed",children:C}),t.failedAt&&t.error&&(0,b.jsx)(g.M,{tone:"warning",title:`The last scan failed ${(0,u.$)(new Date(t.failedAt),G)}`,children:`${t.error} These are the results from ${(0,u.$)(new Date(t.scannedAt),G)}.`}),"unsupported"===t.status&&(0,b.jsx)(g.M,{tone:"info",title:"This machine isn't checked",children:t.error??""}),"error"===t.status&&(0,b.jsx)(g.M,{tone:"danger",title:"The scan failed",children:t.error??"Unknown error."}),(0,b.jsx)(g.N,{title:"This machine",meta:H,children:(0,b.jsxs)("dl",{className:x,children:[(0,b.jsx)("dt",{children:"System"}),(0,b.jsx)("dd",{children:t.system??"Unknown"}),(0,b.jsx)("dt",{children:"Packages"}),(0,b.jsxs)("dd",{children:[t.packages.toLocaleString("en-US")," installed"]}),(0,b.jsx)("dt",{children:"Last scan"}),(0,b.jsx)("dd",{children:(0,u.$)(new Date(t.scannedAt),G)}),null!==t.aptListsAgeHours&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("dt",{children:"apt package lists"}),(0,b.jsxs)("dd",{className:t.aptListsAgeHours>48?"text-warn-icon":void 0,children:["updated ",t.aptListsAgeHours<1?"within the hour":`${t.aptListsAgeHours} h ago`,t.aptListsAgeHours>48?": run sudo apt update, or updates may be missing here":""]})]}),!t.failedAt&&"ok"===t.status&&t.error&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("dt",{children:"Note"}),(0,b.jsx)("dd",{className:"text-ink-soft",children:t.error})]})]})}),"ok"===t.status&&(0,b.jsxs)(b.Fragment,{children:[t.kernel&&L&&(0,b.jsxs)(g.N,{title:"Kernel",meta:(0,b.jsxs)("a",{href:(s=t.codename??"jammy",`https://ubuntu.com/security/notices?release=${encodeURIComponent(s)}&details=linux`),...z,className:"inline-flex items-center gap-1 text-brand hover:underline",children:["What Ubuntu's kernel updates fix ",(0,b.jsx)(c.f,{size:13,"aria-hidden":!0})]}),children:[(0,b.jsxs)("p",{className:"flex items-start gap-1.5",children:[(0,b.jsx)(l.Z,{state:L.state}),(0,b.jsx)("span",{children:L.text})]}),(0,b.jsxs)("dl",{className:(0,h.f)(x,"mt-2"),children:[(0,b.jsx)("dt",{children:"Running"}),(0,b.jsxs)("dd",{className:y,children:[t.kernel.running??"Unknown",t.kernel.runningVersion?` (${t.kernel.runningVersion})`:""]}),(0,b.jsx)("dt",{children:"Newest installed"}),(0,b.jsx)("dd",{className:y,children:t.kernel.newestInstalled??"Unknown"})]}),L.command&&(0,b.jsx)("div",{className:"mt-2.5",children:(0,b.jsx)(A,{text:L.command})}),(0,b.jsx)("p",{className:"mt-2 text-[12.5px] text-ink-faint",children:"Ubuntu tracks thousands of kernel CVEs; running the newest kernel it ships is how they get fixed, so Watchbell doesn't list them one by one."})]}),(0,b.jsx)(g.N,{title:I.length?`Security updates waiting (${I.length})`:"Security updates",meta:I.length?`${N} CVE${1===N?"":"s"} fixed by them`:void 0,flush:!0,children:I.length?(0,b.jsxs)(b.Fragment,{children:[K&&(0,b.jsxs)("div",{className:"px-[18px] pb-3",children:[(0,b.jsx)("p",{className:"mb-1.5 text-[13px] text-ink-soft",children:"Install them all at once:"}),(0,b.jsx)(A,{text:K})]}),(0,b.jsx)("ul",{"aria-label":"Security updates waiting",children:I.map(a=>(0,b.jsx)(B,{u:a},a.source))})]}):(0,b.jsxs)("p",{className:"flex items-start gap-1.5 px-[18px] pb-4",children:[(0,b.jsx)(l.Z,{state:"ok"}),(0,b.jsx)("span",{children:"No security update is waiting."})]})}),J.length>0&&(0,b.jsx)(g.N,{flush:!0,children:(0,b.jsxs)("details",{className:"px-[18px] py-3",children:[(0,b.jsxs)("summary",{className:"cursor-pointer select-none font-medium",children:["Other updates (",J.length,")"]}),(0,b.jsx)("p",{className:"mt-1 text-[13px] text-ink-soft",children:"Bug fixes and updates from other repositories; not listed as security fixes."}),(0,b.jsx)("ul",{className:"mt-2 grid gap-1 text-[13px]",children:J.map(a=>(0,b.jsxs)("li",{children:[(0,b.jsx)("b",{className:"font-medium",children:a.source})," ",(0,b.jsxs)("span",{className:(0,h.f)(y,"text-ink-faint"),children:[a.installed," → ",a.candidate]})]},a.source))}),(0,b.jsx)("div",{className:"mt-2.5",children:(0,b.jsx)(A,{text:r(J)??""})})]})}),(0,b.jsx)(g.N,{flush:!0,children:(0,b.jsxs)("details",{className:"px-[18px] py-3",children:[(0,b.jsxs)("summary",{className:"cursor-pointer select-none font-medium",children:["No fix yet (",t.backlog.error?"couldn't be read":`${t.backlog.total.toLocaleString("en-US")} advisories in ${M.length} packages`,")"]}),(0,b.jsx)("p",{className:"mt-1 text-[13px] text-ink-soft",children:"Advisories OSV.dev lists for the installed packages without a fix it knows of: often low priority, deferred, or in universe packages Ubuntu doesn't support. Packages with an update waiting are left out (see above). OSV can lag Ubuntu, so open a package to see Ubuntu's current status."}),t.backlog.error?(0,b.jsx)("p",{className:"mt-2 text-ink-soft",children:t.backlog.error}):(0,b.jsxs)("div",{className:"mt-2 overflow-x-auto",children:[(0,b.jsxs)("table",{className:m.o,children:[(0,b.jsx)(m.U,{head:["Package","Advisories",""]}),(0,b.jsx)("tbody",{children:M.slice(0,25).map(([a,d])=>{let e;return(0,b.jsxs)("tr",{className:m.C,children:[(0,b.jsx)("td",{className:(0,h.f)(m.z,y),children:a}),(0,b.jsx)("td",{className:m.z,children:d.toLocaleString("en-US")}),(0,b.jsx)("td",{className:m.z,children:(0,b.jsxs)("a",{href:(e=t.codename??"jammy",`https://ubuntu.com/security/cves?package=${encodeURIComponent(a)}&version=${encodeURIComponent(e)}`),...z,className:"inline-flex items-center gap-1 text-brand hover:underline",children:["Ubuntu's tracker ",(0,b.jsx)(c.f,{size:13,"aria-hidden":!0})]})})]},a)})})]}),M.length>25&&(0,b.jsxs)("p",{className:"mt-1.5 text-[12.5px] text-ink-faint",children:["And ",M.length-25," more packages."]})]})]})})]})]})}],653353)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_app_%28console%29_os_os-view_tsx_0xr69f5vtstls._.js.map
|
package/server/.next/server/chunks/ssr/src_app_(console)_palette-action_ts_0zyw9a9imev6p._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[760937,929941,a=>{"use strict";var b=a.i(137936),c=a.i(600079),d=a.i(109307),e=a.i(93321),f=a.i(548734),g=a.i(837137),h=a.i(646324),i=a.i(469762),j=a.i(910697);async function k(){let a=await (0,f.f)().select({id:g.resources.id,name:g.resources.name}).from(g.resources).where((0,e.b)((0,e.u)(g.resources.kind,"app"),(0,e.u)(g.resources.monitored,!0))).orderBy(g.resources.name).limit(j.O.apps),b=await (0,f.f)().select({id:g.resources.id,name:g.resources.name,parentId:g.resources.parentId}).from(g.resources).where((0,e.b)((0,e.u)(g.resources.kind,"domain"),(0,e.u)(g.resources.monitored,!0),(0,e.M)(g.resources.goneAt))).orderBy(g.resources.name).limit(j.O.domains),c=new Set(a.map(a=>a.id)),d=b.filter(a=>!a.parentId||c.has(a.parentId)).map(a=>({id:a.id,name:a.name}));if(!a.length)return{apps:[],monitors:[],domains:d};let k=await (0,f.f)().select({id:g.monitors.id,appId:g.monitors.resourceId,url:g.monitors.url,kind:g.monitors.kind,name:g.monitors.name}).from(g.monitors).where((0,e.y)(g.monitors.resourceId,a.map(a=>a.id))).orderBy(g.monitors.createdAt).limit(j.O.monitors),l=new Map(a.map(a=>[a.id,a.name]));return{domains:d,apps:a.map(a=>({...a,domain:(0,i.m)(a.name,k.filter(b=>b.appId===a.id).map(a=>a.url))})),monitors:k.map(a=>({id:a.id,appId:a.appId,appName:l.get(a.appId)??"",path:"heartbeat"===a.kind?` \xb7 ${a.name??"heartbeat"}`:(0,h.K)(a.url)}))}}var l=a.i(713095);async function m(){return(0,c.F)("viewer",async()=>({ok:!0,data:await k()}),{requireActionMember:d.g},"local")}(0,l.ensureServerEntryExports)([m]),(0,b.registerServerReference)(m,"
|
|
1
|
+
module.exports=[760937,929941,a=>{"use strict";var b=a.i(137936),c=a.i(600079),d=a.i(109307),e=a.i(93321),f=a.i(548734),g=a.i(837137),h=a.i(646324),i=a.i(469762),j=a.i(910697);async function k(){let a=await (0,f.f)().select({id:g.resources.id,name:g.resources.name}).from(g.resources).where((0,e.b)((0,e.u)(g.resources.kind,"app"),(0,e.u)(g.resources.monitored,!0))).orderBy(g.resources.name).limit(j.O.apps),b=await (0,f.f)().select({id:g.resources.id,name:g.resources.name,parentId:g.resources.parentId}).from(g.resources).where((0,e.b)((0,e.u)(g.resources.kind,"domain"),(0,e.u)(g.resources.monitored,!0),(0,e.M)(g.resources.goneAt))).orderBy(g.resources.name).limit(j.O.domains),c=new Set(a.map(a=>a.id)),d=b.filter(a=>!a.parentId||c.has(a.parentId)).map(a=>({id:a.id,name:a.name}));if(!a.length)return{apps:[],monitors:[],domains:d};let k=await (0,f.f)().select({id:g.monitors.id,appId:g.monitors.resourceId,url:g.monitors.url,kind:g.monitors.kind,name:g.monitors.name}).from(g.monitors).where((0,e.y)(g.monitors.resourceId,a.map(a=>a.id))).orderBy(g.monitors.createdAt).limit(j.O.monitors),l=new Map(a.map(a=>[a.id,a.name]));return{domains:d,apps:a.map(a=>({...a,domain:(0,i.m)(a.name,k.filter(b=>b.appId===a.id).map(a=>a.url))})),monitors:k.map(a=>({id:a.id,appId:a.appId,appName:l.get(a.appId)??"",path:"heartbeat"===a.kind?` \xb7 ${a.name??"heartbeat"}`:(0,h.K)(a.url)}))}}var l=a.i(713095);async function m(){return(0,c.F)("viewer",async()=>({ok:!0,data:await k()}),{requireActionMember:d.g},"local")}(0,l.ensureServerEntryExports)([m]),(0,b.registerServerReference)(m,"00019977cc003ec0e864e93e49cf0bd8858654523b",null),a.s(["f",0,m],760937);var n=a.i(118558),o=a.i(288950);let p={requireActionMember:d.g};async function q(){return(0,c.F)("owner",async()=>(await (0,o.z)(),(0,n.refresh)(),{ok:!0,message:"Got it."}),p)}(0,l.ensureServerEntryExports)([q]),(0,b.registerServerReference)(q,"003af8e20edb88a8005b0d242ed031ab373ed81cb6",null),a.s(["f",0,q],929941)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_app_%28console%29_palette-action_ts_0zyw9a9imev6p._.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[258401,a=>{var b=a.i(187924),c=a.i(908161),d=a.i(817748),e=a.i(851519),f=a.i(572131),g=a.i(619089),h=a.i(246059),i=a.i(998868),j=a.i(861954),k=a.i(57441),k=k,l=a.i(332485),m=k,n=k,o=k,m=k,k=k;h.z.object({error:h.z.object({status:i.z.string().optional(),message:i.z.string().optional(),details:j.z.array(m.looseObject({reason:i.z.string().optional()})).optional()})}),h.z.object({message:i.z.string()}),h.z.object({missing_permissions:j.z.array(i.z.string()).min(1)}),h.z.object({error:k.enum(["invalid_grant","invalid_client","unauthorized_client"])});let p={"==":"EQUAL","!=":"NOT_EQUAL","<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},q=["string","number","boolean","null"],r=/^(?:__name__|[A-Za-z_][A-Za-z0-9_]{0,99}(?:\.[A-Za-z_][A-Za-z0-9_]{0,99}){0,9})$/;h.z.object({collection:i.z.string().regex(/^(?!__.*__$)(?!\.\.?$)[^/\s][^/]{0,199}$/),where:j.z.array(h.z.object({field:i.z.string().regex(r),op:k.enum(Object.keys(p)),type:k.enum(q),value:i.z.string().max(500)})).max(5),orderBy:h.z.object({field:i.z.string().regex(r),dir:k.enum(["asc","desc"])}).nullable(),limit:l.z.number().int().min(1).max(100)}),j.z.array(m.looseObject({document:h.z.object({name:i.z.string(),fields:n.record(i.z.string(),o.unknown()).optional()}).optional()}));var s=a.i(368114),t=a.i(405050);let u=(0,t.createServerReference)("
|
|
1
|
+
(()=>{"use strict";module.exports=[258401,a=>{var b=a.i(187924),c=a.i(908161),d=a.i(817748),e=a.i(851519),f=a.i(572131),g=a.i(619089),h=a.i(246059),i=a.i(998868),j=a.i(861954),k=a.i(57441),k=k,l=a.i(332485),m=k,n=k,o=k,m=k,k=k;h.z.object({error:h.z.object({status:i.z.string().optional(),message:i.z.string().optional(),details:j.z.array(m.looseObject({reason:i.z.string().optional()})).optional()})}),h.z.object({message:i.z.string()}),h.z.object({missing_permissions:j.z.array(i.z.string()).min(1)}),h.z.object({error:k.enum(["invalid_grant","invalid_client","unauthorized_client"])});let p={"==":"EQUAL","!=":"NOT_EQUAL","<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},q=["string","number","boolean","null"],r=/^(?:__name__|[A-Za-z_][A-Za-z0-9_]{0,99}(?:\.[A-Za-z_][A-Za-z0-9_]{0,99}){0,9})$/;h.z.object({collection:i.z.string().regex(/^(?!__.*__$)(?!\.\.?$)[^/\s][^/]{0,199}$/),where:j.z.array(h.z.object({field:i.z.string().regex(r),op:k.enum(Object.keys(p)),type:k.enum(q),value:i.z.string().max(500)})).max(5),orderBy:h.z.object({field:i.z.string().regex(r),dir:k.enum(["asc","desc"])}).nullable(),limit:l.z.number().int().min(1).max(100)}),j.z.array(m.looseObject({document:h.z.object({name:i.z.string(),fields:n.record(i.z.string(),o.unknown()).optional()}).optional()}));var s=a.i(368114),t=a.i(405050);let u=(0,t.createServerReference)("40d8c4354210ff15f48d3f5f4a0c6119c17a1e0f7b",t.callServer,void 0,t.findSourceMapURL,"firestoreCollectionsAction"),v=(0,t.createServerReference)("6079515d8291737cbfa77d301a52ec9cebffd82161",t.callServer,void 0,t.findSourceMapURL,"firestoreQueryAction");a.s(["FirestoreConsole",0,function({targets:a}){let[h,i]=(0,f.useState)(a[0]?.id??""),[j,k]=(0,f.useState)(null),[l,m]=(0,f.useState)(!1),[n,o]=(0,f.useState)(""),[r,t]=(0,f.useState)([]),[w,x]=(0,f.useState)(""),[y,z]=(0,f.useState)("asc"),[A,B]=(0,f.useState)(20),[C,D]=(0,f.useState)(null),[E,F]=(0,f.useState)(null),[G,H]=(0,f.useTransition)(),I=a.find(a=>a.id===h),J=(a,b)=>t(c=>c.map(c=>c.key===a?{...c,...b}:c));return(0,b.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,b.jsxs)(g.M,{tone:"warning",title:"Every query costs Firestore reads",children:["One read per document returned (at least one per query), from the free 50,000 a day. Listing collections costs one read.",I?.readsToday!=null?` This project has used ${I.readsToday.toLocaleString("en")} today.`:""]}),(0,b.jsxs)("div",{className:"flex flex-wrap items-end gap-2",children:[(0,b.jsxs)("label",{className:"flex flex-col gap-1 text-[13px] font-medium",children:["Project",(0,b.jsx)("select",{className:(0,s.f)(g.S,"w-56"),value:h,onChange:a=>{i(a.target.value),k(null),o(""),D(null)},children:a.map(a=>(0,b.jsx)("option",{value:a.id,children:a.alias},a.id))})]}),(0,b.jsxs)("label",{className:"flex flex-col gap-1 text-[13px] font-medium",children:["Collection",j?(0,b.jsxs)("select",{className:(0,s.f)(g.S,"w-56 font-mono"),value:n,onChange:a=>o(a.target.value),children:[0===j.length&&(0,b.jsx)("option",{value:"",children:"No collections"}),j.map(a=>(0,b.jsx)("option",{value:a,children:a},a))]}):(0,b.jsx)(g.K,{onClick:function(){H(async()=>{try{let a=await u(h);if(!a.ok)return void F(a.error);k(a.data?.collections??[]),m(!!a.data?.more),o(a.data?.collections?.[0]??""),F(null)}catch{F("Watchbell didn't answer. Check that it's still running, then try again.")}})},disabled:G||!h,children:G?"Loading…":"List root collections"})]}),(0,b.jsxs)("label",{className:"flex flex-col gap-1 text-[13px] font-medium",children:["Order by",(0,b.jsx)("input",{className:(0,s.f)(g.S,"w-40 font-mono"),placeholder:"field (optional)",value:w,onChange:a=>x(a.target.value)})]}),(0,b.jsxs)("select",{"aria-label":"Direction",className:(0,s.f)(g.S,"w-24"),value:y,onChange:a=>z("desc"===a.target.value?"desc":"asc"),children:[(0,b.jsx)("option",{value:"asc",children:"asc"}),(0,b.jsx)("option",{value:"desc",children:"desc"})]}),(0,b.jsxs)("label",{className:"flex flex-col gap-1 text-[13px] font-medium",children:["Limit",(0,b.jsx)("input",{type:"number",min:1,max:100,className:(0,s.f)(g.S,"w-20 font-mono"),value:A,onChange:a=>B(Math.max(1,Math.min(100,Math.round(Number(a.target.value)||1))))})]}),(0,b.jsxs)(g.K,{variant:"primary",className:"ml-auto",onClick:function(){H(async()=>{try{let a=await v(h,{collection:n,where:r.map(({field:a,op:b,type:c,value:d})=>({field:a.trim(),op:b,type:c,value:d})),orderBy:w.trim()?{field:w.trim(),dir:y}:null,limit:A});if(!a.ok){F(a.error),D(null);return}D(a.data?.run??null),F(null)}catch{F("Watchbell didn't answer. Check that it's still running, then try again.")}})},disabled:G||!n,children:[(0,b.jsx)(c.f,{size:15})," ",G?"Running…":"Run query"]})]}),l&&(0,b.jsx)("p",{className:"text-[12.5px] text-ink-soft",children:"Showing the first 100 collections."}),(0,b.jsxs)("div",{className:"flex flex-col gap-2",children:[r.map(a=>(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,b.jsx)("span",{className:"w-12 text-[12.5px] text-ink-soft",children:"where"}),(0,b.jsx)("input",{"aria-label":"Field",className:(0,s.f)(g.S,"w-44 font-mono"),placeholder:"field",value:a.field,onChange:b=>J(a.key,{field:b.target.value})}),(0,b.jsx)("select",{"aria-label":"Operator",className:(0,s.f)(g.S,"w-44 font-mono"),value:a.op,onChange:b=>J(a.key,{op:b.target.value}),children:Object.keys(p).map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)("select",{"aria-label":"Value type",className:(0,s.f)(g.S,"w-28"),value:a.type,onChange:b=>J(a.key,{type:b.target.value}),children:q.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)("input",{"aria-label":"Value",className:(0,s.f)(g.S,"w-56 font-mono"),disabled:"null"===a.type,placeholder:"in"===a.op||"not-in"===a.op||"array-contains-any"===a.op?"a, b, c":"value",value:a.value,onChange:b=>J(a.key,{value:b.target.value})}),(0,b.jsx)(g.K,{size:"sm",variant:"ghost","aria-label":"Remove condition",onClick:()=>t(b=>b.filter(b=>b.key!==a.key)),children:(0,b.jsx)(e.f,{size:14})})]},a.key)),r.length<5&&(0,b.jsx)("div",{children:(0,b.jsxs)(g.K,{size:"sm",variant:"ghost",onClick:()=>t(a=>[...a,{key:Date.now(),field:"",op:"==",type:"string",value:""}]),children:[(0,b.jsx)(d.f,{size:14})," Add where"]})})]}),E&&(0,b.jsx)(g.M,{tone:"danger",title:"The query didn't run",children:E}),C&&(0,b.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,b.jsxs)("div",{className:"flex flex-wrap gap-3 text-[12.5px] text-ink-soft",children:[(0,b.jsxs)("span",{children:[(0,b.jsx)("b",{className:"font-mono font-medium text-ink",children:C.docs.length})," document",1===C.docs.length?"":"s"]}),(0,b.jsxs)("span",{children:[(0,b.jsx)("b",{className:"font-mono font-medium text-ink",children:C.reads})," read",1===C.reads?"":"s"," used"]}),(0,b.jsxs)("span",{children:[(0,b.jsx)("b",{className:"font-mono font-medium text-ink",children:C.durationMs})," ms"]}),C.truncated&&(0,b.jsx)("span",{className:"rounded border border-warn-icon/40 bg-warn-soft px-1.5 text-ink",children:"Truncated"})]}),(0,b.jsx)("div",{className:"max-h-[520px] overflow-auto rounded-md border border-line",children:0===C.docs.length?(0,b.jsx)("p",{className:"px-3 py-2 text-[13px] text-ink-soft",children:"No documents matched."}):C.docs.map(a=>(0,b.jsxs)("div",{className:"border-b border-line px-3 py-2 last:border-b-0",children:[(0,b.jsx)("div",{className:"font-mono text-[12.5px] font-medium text-ink",children:a.id}),(0,b.jsx)("pre",{className:"mt-1 overflow-x-auto whitespace-pre-wrap break-all font-mono text-[12px] text-ink-soft",children:a.json})]},a.id))})]})]})}],258401)},366550,a=>{var b=a.i(187924),c=a.i(908161),d=a.i(572131),e=a.i(823292),f=a.i(611619),g=a.i(619089),h=a.i(462007),i=a.i(368114);let j=[{id:"tables-by-size",label:"Tables by size",sql:`select n.nspname as schema, c.relname as table,
|
|
2
2
|
pg_size_pretty(pg_total_relation_size(c.oid)) as total,
|
|
3
3
|
pg_size_pretty(pg_relation_size(c.oid)) as data,
|
|
4
4
|
pg_total_relation_size(c.oid) as bytes
|
|
@@ -30,6 +30,6 @@ from pg_statio_user_indexes`},{id:"row-estimates",label:"Row counts (estimate)",
|
|
|
30
30
|
last_autoanalyze, last_autovacuum
|
|
31
31
|
from pg_stat_user_tables
|
|
32
32
|
order by n_live_tup desc
|
|
33
|
-
limit 100`}],k="watchpost.sql.snippets.v1";var l=a.i(746097),m=a.i(405050);let n=(0,m.createServerReference)("
|
|
33
|
+
limit 100`}],k="watchpost.sql.snippets.v1";var l=a.i(746097),m=a.i(405050);let n=(0,m.createServerReference)("7087775063e189f1605082738d4719a5fa837aec7e",m.callServer,void 0,m.findSourceMapURL,"runSqlAction");function o(a){try{return window.localStorage.setItem(k,JSON.stringify(a)),!0}catch{return!1}}let p=a=>null===a?"NULL":"string"==typeof a?a:String(a);function q({run:a}){return(0,b.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-3 text-[12.5px] text-ink-soft",children:[(0,b.jsxs)("span",{children:[(0,b.jsx)("b",{className:"font-mono font-medium text-ink",children:a.rowCount})," row",1===a.rowCount?"":"s"]}),(0,b.jsxs)("span",{children:[(0,b.jsx)("b",{className:"font-mono font-medium text-ink",children:a.durationMs})," ms"]}),a.truncated&&(0,b.jsx)("span",{className:"rounded border border-warn-icon/40 bg-warn-soft px-1.5 text-ink",children:"Truncated: more rows or data than the console shows"})]}),0===a.columns.length?(0,b.jsx)("p",{className:"text-[13px] text-ink-soft",children:"The statement returned no columns."}):(0,b.jsx)("div",{className:"max-h-[520px] overflow-auto rounded-md border border-line",children:(0,b.jsxs)("table",{className:(0,i.f)(h.o,"font-mono text-[12.5px]"),children:[(0,b.jsx)(h.U,{head:a.columns}),(0,b.jsx)("tbody",{children:a.rows.map((a,c)=>(0,b.jsx)("tr",{children:a.map((a,c)=>(0,b.jsx)("td",{className:(0,i.f)(h.z,"max-w-[420px] overflow-hidden text-ellipsis",null===a&&"text-ink-faint"),title:p(a).length>60?p(a):void 0,children:p(a)},c))},c))})]})})]})}a.s(["SqlConsole",0,function({targets:a}){let[h,m]=(0,d.useState)(a[0]?.id??""),[p,r]=(0,d.useState)(j[0].sql),[s,t]=(0,d.useState)([]),[u,v]=(0,d.useState)(null),[w,x]=(0,d.useState)(null),[y,z]=(0,d.useState)(!1),[A,B]=(0,d.useTransition)();(0,d.useEffect)(()=>{let a=setTimeout(()=>t(function(){try{var a=window.localStorage.getItem(k);if(!a)return[];try{let b=JSON.parse(a);if(!Array.isArray(b))return[];return b.filter(a=>!!a&&"object"==typeof a&&"string"==typeof a.id&&"string"==typeof a.label&&"string"==typeof a.sql).slice(0,30).map(a=>({id:a.id.slice(0,40),label:a.label.slice(0,60),sql:a.sql.slice(0,2e4)}))}catch{return[]}}catch{return[]}}()),0);return()=>clearTimeout(a)},[]);let C=a.find(a=>a.id===h);async function D(a){let b=await n(h,p,a);return b.ok&&b.data?.run?(v(b.data.run),x(null),{ok:!0,message:`${b.data.run.rowCount} row${1===b.data.run.rowCount?"":"s"} in ${b.data.run.durationMs} ms`}):!b.ok&&b.data?.needsWake?(z(!0),{ok:!1,message:l.f}):(v(null),x(b.ok?"No result.":b.error),{ok:!1,message:b.ok?"No result.":b.error})}function E(){if(h&&p.trim()&&!A){if(C?.provider==="neon"&&"active"!==C.wake)return void z(!0);B(async()=>{try{await D(!1)}catch{x("Watchbell didn't answer. Check that it's still running, then try again.")}})}}let F=[...j,...s];return(0,b.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-end gap-2",children:[(0,b.jsxs)("label",{className:"flex flex-col gap-1 text-[13px] font-medium",children:["Database",(0,b.jsx)("select",{className:(0,i.f)(g.S,"w-56"),value:h,onChange:a=>{m(a.target.value),v(null),x(null)},children:a.map(a=>(0,b.jsxs)("option",{value:a.id,children:[a.alias," · ","supabase"===a.provider?"Supabase":"Neon","idle"===a.wake?" (idle)":""]},a.id))})]}),(0,b.jsxs)("label",{className:"flex flex-col gap-1 text-[13px] font-medium",children:["Snippet",(0,b.jsxs)("select",{className:(0,i.f)(g.S,"w-64"),value:"",onChange:a=>{let b=F.find(b=>b.id===a.target.value);b&&r(b.sql)},children:[(0,b.jsx)("option",{value:"",disabled:!0,children:"Insert a snippet…"}),(0,b.jsx)("optgroup",{label:"Built in",children:j.map(a=>(0,b.jsx)("option",{value:a.id,children:a.label},a.id))}),s.length>0&&(0,b.jsx)("optgroup",{label:"Saved in this browser",children:s.map(a=>(0,b.jsx)("option",{value:a.id,children:a.label},a.id))})]})]}),(0,b.jsxs)("div",{className:"ml-auto flex gap-2",children:[(0,b.jsx)(g.K,{size:"sm",variant:"ghost",onClick:function(){let a=window.prompt("Name this snippet (saved in this browser only)")?.trim();if(!a)return;let b=[{id:`local-${Date.now()}`,label:a.slice(0,60),sql:p},...s].slice(0,30);o(b)?(t(b),e.c.success("Snippet saved in this browser")):e.c.error("This browser didn't let the console save it.")},disabled:!p.trim(),children:"Save as snippet"}),(0,b.jsxs)(g.K,{variant:"primary",onClick:E,disabled:A||!h||!p.trim(),children:[(0,b.jsx)(c.f,{size:15})," ",A?"Running…":"Run"]})]})]}),(0,b.jsx)("textarea",{"aria-label":"SQL query",spellCheck:!1,rows:10,value:p,className:(0,i.f)(g.S,"min-h-[180px] resize-y font-mono text-[13px] leading-relaxed"),onChange:a=>r(a.target.value),onKeyDown:a=>{"Enter"===a.key&&(a.ctrlKey||a.metaKey)&&(a.preventDefault(),E())}}),(0,b.jsxs)("p",{className:"text-[12.5px] text-ink-soft",children:["One SELECT, WITH, EXPLAIN, SHOW or TABLE statement. It runs in a read-only transaction that is always rolled back, with a 5 s timeout and at most ",500," rows. Ctrl+Enter runs it. 20 runs per 10 minutes."]}),s.length>0&&(0,b.jsxs)("div",{className:"flex flex-wrap gap-1.5 text-[12.5px] text-ink-soft",children:["Saved here:",s.map(a=>(0,b.jsxs)("span",{className:"inline-flex items-center gap-1 rounded border border-line px-1.5",children:[(0,b.jsx)("button",{type:"button",className:"text-ink hover:underline",onClick:()=>r(a.sql),children:a.label}),(0,b.jsx)("button",{type:"button","aria-label":`Delete snippet ${a.label}`,className:"text-ink-faint hover:text-err",onClick:()=>{var b;let c;return b=a.id,void(o(c=s.filter(a=>a.id!==b))&&t(c))},children:"×"})]},a.id))]}),w&&(0,b.jsx)(g.M,{tone:"danger",title:"The query didn't run",children:w}),u&&(0,b.jsx)(q,{run:u}),(0,b.jsx)(f.f,{open:y,onOpenChange:z,title:`Wake ${C?.alias??"the database"}?`,cta:"Run anyway",body:l.f,onConfirm:async()=>{try{return await D(!0)}catch{return{ok:!1,message:"Watchbell didn't answer. Check that it's still running, then try again."}}}})]})}],366550)}]})();
|
|
34
34
|
|
|
35
35
|
//# sourceMappingURL=src_app_%28console%29_sql_1icfsti04djqe._.js.map
|
|
@@ -2,6 +2,6 @@ module.exports=[719825,a=>{"use strict";var b=a.i(137936),c=a.i(118558),d=a.i(60
|
|
|
2
2
|
begin
|
|
3
3
|
${a.map(a=>` ${a}`).join("\n")}
|
|
4
4
|
end
|
|
5
|
-
$watchpost$;`,ac=[`revoke select on all tables in schema public from ${X};`,`alter default privileges for role postgres in schema public revoke select on tables from ${X};`,`revoke usage on schema public from ${X};`,`revoke connect on database postgres from ${X};`,`revoke pg_read_all_stats from ${X};`,`alter role ${X} nologin;`].map(a=>`begin ${a} exception when others then null; end;`);var ad=a.i(367623);let ae={target:async function(a){let b=await (0,ad.i)(a);if(!b||"supabase"!==b.provider)return null;let c=await (0,P.p)(a,"supabase_project");return c&&c.resource.externalId===b.externalId?{ref:b.externalId,token:c.token,paused:"paused"===b.state}:null},pooler:(a,b)=>V(a,b),run:(a,b,c,d)=>T(a,b,c,d),access:(a,b)=>W(a,b),save:(a,b,c)=>(0,ad.o)(a,b,!1,c),alias:async a=>(0,I.X)(await (0,J.e)(),a),password:()=>(function(a=g.randomBytes){return a(32).toString("base64url")})(),verifier:a=>(function(a,b=(0,g.randomBytes)(16),c=4096){let d=(0,g.pbkdf2Sync)(a.normalize("NFKC"),b,c,32,"sha256"),e=(0,g.createHash)("sha256").update(_(d,"Client Key")).digest(),f=_(d,"Server Key");return`SCRAM-SHA-256$${c}:${b.toString("base64")}$${e.toString("base64")}:${f.toString("base64")}`})(a),sleep:a=>new Promise(b=>setTimeout(b,a))},af="That Supabase project is no longer watched, or its token can't be read.",ag="This project is paused. Restore it first, then add SQL access.",ah=new Set([{code:"28P01"},{code:"08006"},{code:"CONNECT_TIMEOUT"}].map(Y.E));function ai(a){if("scope"===a.kind){let b;return b=a.missing??["database_write"],`This project's token can't set the role up (missing ${b.join(", ")}). It needs Database: Read-write and Connection pooling: Read; replace the token on Connections, or create the role by hand below.`}return a.error}async function aj(a,b=ae){if(!(0,n.f)(a))return{can:!1,reason:"other",error:"Something in that request wasn't valid."};let c=await b.target(a);return c?c.paused?{can:!1,reason:"other",error:ag}:b.access(c.token,c.ref):{can:!1,reason:"other",error:af}}async function ak(a,b,c=ae){if(!(0,n.f)(a))return{ok:!1,error:"Something in that request wasn't valid."};let d=await c.target(a);if(!d)return{ok:!1,error:af};if(d.paused)return{ok:!1,error:ag};let e=await c.pooler(d.token,d.ref);if(!e.ok)return{ok:!1,error:ai(e)};let f=c.password(),g=function(a,b,c){if(!Z.k.test(b))return{ok:!1,error:"This project's ref doesn't look right."};if(!$.test(c))return{ok:!1,error:"The generated password isn't valid."};let d=a.filter(a=>!a.database_type||"PRIMARY"===a.database_type),e=d.map(a=>(a.db_host??"").toLowerCase()).find(a=>Z.J.test(a));if(!e)return{ok:!1,error:"This project has no shared Supavisor pooler host (…pooler.supabase.com). Use the manual steps."};let f=d.find(a=>a.db_name&&/^[A-Za-z_][A-Za-z0-9_]{0,62}$/.test(a.db_name))?.db_name??"postgres";return{ok:!0,dsn:`postgresql://${X}.${b}:${encodeURIComponent(c)}@${e}:6543/${f}?sslmode=require`}}(e.data,d.ref,f);if(!g.ok)return{ok:!1,error:g.error};let h=await c.alias(a),i={kind:"err",message:`SQL access automatic setup failed \xb7 ${h}`,resourceId:a},j=async()=>(await c.run(d.token,d.ref,ab(ac),!1)).ok,k=await c.run(d.token,d.ref,ab(function(a){if(!aa.test(a))throw Error("bad verifier");return[`if not exists (select 1 from pg_catalog.pg_roles where rolname = '${X}') then create role ${X} login password '${a}'; else alter role ${X} with login password '${a}'; end if;`,`alter role ${X} set default_transaction_read_only = on;`,`alter role ${X} set statement_timeout = '5s';`,`grant connect on database postgres to ${X};`,`grant usage on schema public to ${X};`,`grant select on all tables in schema public to ${X};`,`alter default privileges for role postgres in schema public grant select on tables to ${X};`,`begin grant pg_read_all_stats to ${X}; exception when others then null; end;`]}(c.verifier(f))),!1);if(!k.ok){if("transient"===k.kind&&void 0===k.status){let a=await j();return{ok:!1,error:`${k.error} ${a?"Any grants it may have given were revoked.":`Check the ${X} role in the Supabase SQL Editor.`}`,audit:i}}return{ok:!1,error:ai(k),audit:i}}let l={ok:!1,error:"Not checked."};for(let d=0;d<3&&(d>0&&await c.sleep(2e3),!(l=await c.save(a,g.dsn,b)).ok&&ah.has(l.error));d++);if(!l.ok){let a=await j();return{ok:!1,error:`The new role didn't pass the read-only check, so nothing was saved: ${l.error} ${a?`Its grants were revoked and its login turned off (the role ${X} stays; nothing was dropped).`:`Revoking its grants failed too: run "revoke all on all tables in schema public from ${X}; alter role ${X} nologin;" in the Supabase SQL Editor.`}`,audit:i}}return{ok:!0,message:`SQL access created for ${h}: read-only role ${X} checked and saved.`,audit:{kind:"ok",message:`SQL access created automatically for ${h} (read-only role ${X})`,resourceId:a}}}var al=a.i(75105),am=a.i(312573),an=a.i(323878),ao=a.i(530175),ap=a.i(713095);let aq={requireActionMember:e.g};async function ar(a,b){if(a)try{await (0,f.f)({kind:a.kind,message:a.message,detail:a.detail,resourceId:a.resourceId,actorUserId:b.userId})}catch{console.warn("audit event failed")}}let as=(a,b,c)=>async()=>{let d=await (0,an.C)(a,b.id);return d.allowed?null:`Too many ${c}. Try again in ${(0,am.H)(d.retryAfter)}.`};async function at(a,b,c){return(0,d.F)("owner",async d=>{if(!(0,n.f)(a)||"boolean"!=typeof c)return{ok:!1,error:al.w};let e=(0,ao.E)(b);if(!e.ok)return{ok:!1,error:e.error,fieldErrors:{sql:e.error}};let f=await (0,ad.A)(a,e.text,c,as(am.t.sqlRun,d,"runs"));if(await ar(f.audit,d),!f.ok)return{ok:!1,error:f.error,...f.needsWake?{data:{needsWake:!0}}:{}};let{columns:g,rows:h,rowCount:i,truncated:j,durationMs:k}=f.result;return{ok:!0,data:{run:{columns:g,rows:h,rowCount:i,truncated:j,durationMs:k}}}},aq)}async function au(a,b){if(!a.ok)return{ok:!1,error:a.error,..."needsWake"in a&&a.needsWake?{data:{needsWake:!0}}:{}};if(a.audit)try{await (0,f.f)({kind:"ok",...a.audit,actorUserId:b.userId})}catch{console.warn("audit event failed")}return(0,c.refresh)(),{ok:!0,message:a.message}}async function av(a,b,c){return(0,d.F)("owner",async d=>{if(!(0,n.f)(a)||"string"!=typeof b||"boolean"!=typeof c)return{ok:!1,error:al.w};if(!b.trim())return{ok:!1,error:"Paste a connection string.",fieldErrors:{dsn:"Paste a connection string."}};let e=await as(am.t.credential,d,"connection tests")();return e?{ok:!1,error:e}:au(await (0,ad.o)(a,b,c,d.userId),d)},aq)}async function aw(a){return(0,d.F)("owner",async b=>{if(!(0,n.f)(a))return{ok:!1,error:al.w};let c=await as(am.t.credential,b,"connection tests")();return c?{ok:!1,error:c}:{ok:!0,data:await aj(a)}},aq)}async function ax(a){return(0,d.F)("owner",async b=>{if(!(0,n.f)(a))return{ok:!1,error:al.w};let d=await (0,P.q)(b.id,"sql-auto",a);if(d)return{ok:!1,error:d};let e=await ak(a,b.userId);if(e.audit)try{await (0,f.f)({kind:e.audit.kind,message:e.audit.message,resourceId:e.audit.resourceId,actorUserId:b.userId})}catch{console.warn("audit event failed")}return e.ok?((0,c.refresh)(),{ok:!0,message:e.message}):{ok:!1,error:e.error}},aq)}async function ay(a){return(0,d.F)("owner",async b=>{if(!(0,n.f)(a))return{ok:!1,error:al.w};let c=await as(am.t.monitorWrite,b,"changes")();return c?{ok:!1,error:c}:au(await (0,ad.y)(a),b)},aq)}async function az(a){return(0,d.F)("owner",async b=>{if(!(0,n.f)(a))return{ok:!1,error:al.w};let c=await as(am.t.firestoreQuery,b,"Firestore queries")();if(c)return{ok:!1,error:c};let d=await N(a);return d.ok?{ok:!0,data:{collections:d.ids,more:d.more}}:{ok:!1,error:d.error}},aq)}async function aA(a,b){return(0,d.F)("owner",async c=>{if(!(0,n.f)(a))return{ok:!1,error:al.w};let d=await O(a,b,as(am.t.firestoreQuery,c,"Firestore queries"));return await ar(d.audit,c),d.ok?{ok:!0,data:{run:d.result}}:{ok:!1,error:d.error}},aq)}(0,ap.ensureServerEntryExports)([at,av,aw,ax,ay,az,aA]),(0,b.registerServerReference)(at,"
|
|
5
|
+
$watchpost$;`,ac=[`revoke select on all tables in schema public from ${X};`,`alter default privileges for role postgres in schema public revoke select on tables from ${X};`,`revoke usage on schema public from ${X};`,`revoke connect on database postgres from ${X};`,`revoke pg_read_all_stats from ${X};`,`alter role ${X} nologin;`].map(a=>`begin ${a} exception when others then null; end;`);var ad=a.i(367623);let ae={target:async function(a){let b=await (0,ad.i)(a);if(!b||"supabase"!==b.provider)return null;let c=await (0,P.p)(a,"supabase_project");return c&&c.resource.externalId===b.externalId?{ref:b.externalId,token:c.token,paused:"paused"===b.state}:null},pooler:(a,b)=>V(a,b),run:(a,b,c,d)=>T(a,b,c,d),access:(a,b)=>W(a,b),save:(a,b,c)=>(0,ad.o)(a,b,!1,c),alias:async a=>(0,I.X)(await (0,J.e)(),a),password:()=>(function(a=g.randomBytes){return a(32).toString("base64url")})(),verifier:a=>(function(a,b=(0,g.randomBytes)(16),c=4096){let d=(0,g.pbkdf2Sync)(a.normalize("NFKC"),b,c,32,"sha256"),e=(0,g.createHash)("sha256").update(_(d,"Client Key")).digest(),f=_(d,"Server Key");return`SCRAM-SHA-256$${c}:${b.toString("base64")}$${e.toString("base64")}:${f.toString("base64")}`})(a),sleep:a=>new Promise(b=>setTimeout(b,a))},af="That Supabase project is no longer watched, or its token can't be read.",ag="This project is paused. Restore it first, then add SQL access.",ah=new Set([{code:"28P01"},{code:"08006"},{code:"CONNECT_TIMEOUT"}].map(Y.E));function ai(a){if("scope"===a.kind){let b;return b=a.missing??["database_write"],`This project's token can't set the role up (missing ${b.join(", ")}). It needs Database: Read-write and Connection pooling: Read; replace the token on Connections, or create the role by hand below.`}return a.error}async function aj(a,b=ae){if(!(0,n.f)(a))return{can:!1,reason:"other",error:"Something in that request wasn't valid."};let c=await b.target(a);return c?c.paused?{can:!1,reason:"other",error:ag}:b.access(c.token,c.ref):{can:!1,reason:"other",error:af}}async function ak(a,b,c=ae){if(!(0,n.f)(a))return{ok:!1,error:"Something in that request wasn't valid."};let d=await c.target(a);if(!d)return{ok:!1,error:af};if(d.paused)return{ok:!1,error:ag};let e=await c.pooler(d.token,d.ref);if(!e.ok)return{ok:!1,error:ai(e)};let f=c.password(),g=function(a,b,c){if(!Z.k.test(b))return{ok:!1,error:"This project's ref doesn't look right."};if(!$.test(c))return{ok:!1,error:"The generated password isn't valid."};let d=a.filter(a=>!a.database_type||"PRIMARY"===a.database_type),e=d.map(a=>(a.db_host??"").toLowerCase()).find(a=>Z.J.test(a));if(!e)return{ok:!1,error:"This project has no shared Supavisor pooler host (…pooler.supabase.com). Use the manual steps."};let f=d.find(a=>a.db_name&&/^[A-Za-z_][A-Za-z0-9_]{0,62}$/.test(a.db_name))?.db_name??"postgres";return{ok:!0,dsn:`postgresql://${X}.${b}:${encodeURIComponent(c)}@${e}:6543/${f}?sslmode=require`}}(e.data,d.ref,f);if(!g.ok)return{ok:!1,error:g.error};let h=await c.alias(a),i={kind:"err",message:`SQL access automatic setup failed \xb7 ${h}`,resourceId:a},j=async()=>(await c.run(d.token,d.ref,ab(ac),!1)).ok,k=await c.run(d.token,d.ref,ab(function(a){if(!aa.test(a))throw Error("bad verifier");return[`if not exists (select 1 from pg_catalog.pg_roles where rolname = '${X}') then create role ${X} login password '${a}'; else alter role ${X} with login password '${a}'; end if;`,`alter role ${X} set default_transaction_read_only = on;`,`alter role ${X} set statement_timeout = '5s';`,`grant connect on database postgres to ${X};`,`grant usage on schema public to ${X};`,`grant select on all tables in schema public to ${X};`,`alter default privileges for role postgres in schema public grant select on tables to ${X};`,`begin grant pg_read_all_stats to ${X}; exception when others then null; end;`]}(c.verifier(f))),!1);if(!k.ok){if("transient"===k.kind&&void 0===k.status){let a=await j();return{ok:!1,error:`${k.error} ${a?"Any grants it may have given were revoked.":`Check the ${X} role in the Supabase SQL Editor.`}`,audit:i}}return{ok:!1,error:ai(k),audit:i}}let l={ok:!1,error:"Not checked."};for(let d=0;d<3&&(d>0&&await c.sleep(2e3),!(l=await c.save(a,g.dsn,b)).ok&&ah.has(l.error));d++);if(!l.ok){let a=await j();return{ok:!1,error:`The new role didn't pass the read-only check, so nothing was saved: ${l.error} ${a?`Its grants were revoked and its login turned off (the role ${X} stays; nothing was dropped).`:`Revoking its grants failed too: run "revoke all on all tables in schema public from ${X}; alter role ${X} nologin;" in the Supabase SQL Editor.`}`,audit:i}}return{ok:!0,message:`SQL access created for ${h}: read-only role ${X} checked and saved.`,audit:{kind:"ok",message:`SQL access created automatically for ${h} (read-only role ${X})`,resourceId:a}}}var al=a.i(75105),am=a.i(312573),an=a.i(323878),ao=a.i(530175),ap=a.i(713095);let aq={requireActionMember:e.g};async function ar(a,b){if(a)try{await (0,f.f)({kind:a.kind,message:a.message,detail:a.detail,resourceId:a.resourceId,actorUserId:b.userId})}catch{console.warn("audit event failed")}}let as=(a,b,c)=>async()=>{let d=await (0,an.C)(a,b.id);return d.allowed?null:`Too many ${c}. Try again in ${(0,am.H)(d.retryAfter)}.`};async function at(a,b,c){return(0,d.F)("owner",async d=>{if(!(0,n.f)(a)||"boolean"!=typeof c)return{ok:!1,error:al.w};let e=(0,ao.E)(b);if(!e.ok)return{ok:!1,error:e.error,fieldErrors:{sql:e.error}};let f=await (0,ad.A)(a,e.text,c,as(am.t.sqlRun,d,"runs"));if(await ar(f.audit,d),!f.ok)return{ok:!1,error:f.error,...f.needsWake?{data:{needsWake:!0}}:{}};let{columns:g,rows:h,rowCount:i,truncated:j,durationMs:k}=f.result;return{ok:!0,data:{run:{columns:g,rows:h,rowCount:i,truncated:j,durationMs:k}}}},aq)}async function au(a,b){if(!a.ok)return{ok:!1,error:a.error,..."needsWake"in a&&a.needsWake?{data:{needsWake:!0}}:{}};if(a.audit)try{await (0,f.f)({kind:"ok",...a.audit,actorUserId:b.userId})}catch{console.warn("audit event failed")}return(0,c.refresh)(),{ok:!0,message:a.message}}async function av(a,b,c){return(0,d.F)("owner",async d=>{if(!(0,n.f)(a)||"string"!=typeof b||"boolean"!=typeof c)return{ok:!1,error:al.w};if(!b.trim())return{ok:!1,error:"Paste a connection string.",fieldErrors:{dsn:"Paste a connection string."}};let e=await as(am.t.credential,d,"connection tests")();return e?{ok:!1,error:e}:au(await (0,ad.o)(a,b,c,d.userId),d)},aq)}async function aw(a){return(0,d.F)("owner",async b=>{if(!(0,n.f)(a))return{ok:!1,error:al.w};let c=await as(am.t.credential,b,"connection tests")();return c?{ok:!1,error:c}:{ok:!0,data:await aj(a)}},aq)}async function ax(a){return(0,d.F)("owner",async b=>{if(!(0,n.f)(a))return{ok:!1,error:al.w};let d=await (0,P.q)(b.id,"sql-auto",a);if(d)return{ok:!1,error:d};let e=await ak(a,b.userId);if(e.audit)try{await (0,f.f)({kind:e.audit.kind,message:e.audit.message,resourceId:e.audit.resourceId,actorUserId:b.userId})}catch{console.warn("audit event failed")}return e.ok?((0,c.refresh)(),{ok:!0,message:e.message}):{ok:!1,error:e.error}},aq)}async function ay(a){return(0,d.F)("owner",async b=>{if(!(0,n.f)(a))return{ok:!1,error:al.w};let c=await as(am.t.monitorWrite,b,"changes")();return c?{ok:!1,error:c}:au(await (0,ad.y)(a),b)},aq)}async function az(a){return(0,d.F)("owner",async b=>{if(!(0,n.f)(a))return{ok:!1,error:al.w};let c=await as(am.t.firestoreQuery,b,"Firestore queries")();if(c)return{ok:!1,error:c};let d=await N(a);return d.ok?{ok:!0,data:{collections:d.ids,more:d.more}}:{ok:!1,error:d.error}},aq)}async function aA(a,b){return(0,d.F)("owner",async c=>{if(!(0,n.f)(a))return{ok:!1,error:al.w};let d=await O(a,b,as(am.t.firestoreQuery,c,"Firestore queries"));return await ar(d.audit,c),d.ok?{ok:!0,data:{run:d.result}}:{ok:!1,error:d.error}},aq)}(0,ap.ensureServerEntryExports)([at,av,aw,ax,ay,az,aA]),(0,b.registerServerReference)(at,"7087775063e189f1605082738d4719a5fa837aec7e",null),(0,b.registerServerReference)(av,"708b3acc8bbda8781bb3dbc8236b0d3afe318e56a7",null),(0,b.registerServerReference)(aw,"407d7e2cfab73dae9f7c397e7d83a489f221ced5fd",null),(0,b.registerServerReference)(ax,"40e9cf6395ddead9b2d36f52c71e4019712b2aebd0",null),(0,b.registerServerReference)(ay,"406d5c382f7e6dc39cb9d897bae624ad2d0570e3d5",null),(0,b.registerServerReference)(az,"40d8c4354210ff15f48d3f5f4a0c6119c17a1e0f7b",null),(0,b.registerServerReference)(aA,"6079515d8291737cbfa77d301a52ec9cebffd82161",null),a.s(["u",0,ax,"o",0,ay,"L",0,az,"n",0,aA,"S",0,at,"$",0,av,"M",0,aw],719825)}];
|
|
6
6
|
|
|
7
7
|
//# sourceMappingURL=src_app_%28console%29_sql_actions_ts_1oqco02hw-3vp._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[28358,a=>{var b=a.i(187924),c=a.i(196790),d=a.i(572131),e=a.i(823292),f=a.i(611619),g=a.i(619089),h=a.i(507504),i=a.i(814574),j=a.i(405050);let k=(0,j.createServerReference)("4014af47c419ac14cdc33148f64789740059653d94",j.callServer,void 0,j.findSourceMapURL,"deleteMetricsKey"),l=(0,j.createServerReference)("7037f3ef30c1c4a25e6c14869b4995a7a5a6d57f75",j.callServer,void 0,j.findSourceMapURL,"setMetricsKey");function m({id:a,projectRef:f,alias:j,hasKey:k,open:n,onOpenChange:o,trigger:p}){let[q,r]=(0,d.useState)(!1),s=n??q,[t,u]=(0,d.useState)(""),[v,w]=(0,d.useState)(),[x,y]=(0,d.useTransition)();function z(a){x||(u(""),w(void 0),void 0===n&&r(a),o?.(a))}return(0,h.useHoldRefresh)(s),(0,b.jsxs)(i.N,{open:s,onOpenChange:z,children:[p&&(0,b.jsx)(i.a,{render:p}),(0,b.jsxs)(i.d,{className:"gap-0 p-0 sm:max-w-[560px]",showCloseButton:!1,children:[(0,b.jsxs)("div",{className:"flex items-start gap-3 px-[18px] pb-2 pt-4",children:[(0,b.jsx)("span",{className:"grid size-9 shrink-0 place-items-center rounded-lg bg-sunken text-ink-soft",children:(0,b.jsx)(c.f,{size:19})}),(0,b.jsxs)("div",{children:[(0,b.jsxs)(i.F,{className:"text-base",children:[k?"Replace":"Add"," metrics key for ",j]}),(0,b.jsx)(i.C,{className:"mt-0.5 text-[13px] text-ink-soft",children:"CPU, RAM, disk and connections come from Supabase's Metrics API (beta), which needs a Secret API key of this project."})]})]}),(0,b.jsxs)("form",{onSubmit:b=>{b.preventDefault(),y(async()=>{try{let b=await l(a,f,t);if(!b.ok){w(b.fieldErrors?.key??b.error),e.c.error(b.error);return}let c=b.message?.includes("test call failed");e.c.success(`Metrics key saved for ${j}`,{description:c?"The test call failed; the Compute panel shows why.":"CPU shows after the next scrape, in about 5 minutes."}),u(""),z(!1)}catch{e.c.error("Watchbell didn't answer. Check that it's still running, then try again.")}})},children:[(0,b.jsxs)("div",{className:"px-[18px] pt-2 text-[13px] text-ink-soft",children:[(0,b.jsxs)("ol",{className:"mb-3 list-decimal space-y-1 pl-5",children:[(0,b.jsxs)("li",{children:["In Supabase, open ",(0,b.jsx)("b",{className:"font-medium text-ink",children:"Project Settings → API Keys"})," for this project and create a new Secret API key named ",(0,b.jsx)("span",{className:"font-mono text-ink",children:"watchbell-metrics"}),"."]}),(0,b.jsx)("li",{children:"Paste it below. A secret key has full database power, so the console stores it encrypted, never shows it again and only sends it to this project's metrics endpoint."}),(0,b.jsx)("li",{children:"You can revoke it in Supabase at any time; the panel then shows the error and you can add a new one."})]}),(0,b.jsx)(g.O,{id:`mk-${a}`,label:"Secret API key",error:v,help:"Starts with sb_secret_. Saving makes one test call to the metrics endpoint.",children:(0,b.jsx)("input",{id:`mk-${a}`,type:"password",className:`${g.S} font-mono`,autoComplete:"off",spellCheck:!1,placeholder:"sb_secret_…",value:t,onChange:a=>{u(a.target.value),w(void 0)}})})]}),(0,b.jsxs)("div",{className:"flex justify-end gap-2 border-t border-line px-[18px] py-3",children:[(0,b.jsx)(g.K,{type:"button",onClick:()=>z(!1),disabled:x,children:"Cancel"}),(0,b.jsx)(g.K,{type:"submit",variant:"primary",disabled:x||!t.trim(),children:x?"Testing…":k?"Replace key":"Save key"})]})]})]})]})}a.s(["MetricsKeyButtons",0,function({id:a,projectRef:c,alias:d,hasKey:e}){return(0,b.jsxs)("span",{className:"inline-flex gap-1.5",children:[(0,b.jsx)(m,{id:a,projectRef:c,alias:d,hasKey:e,trigger:(0,b.jsx)(g.K,{size:"sm",children:e?"Replace key":"Add metrics key"})}),e&&(0,b.jsx)(f.f,{trigger:(0,b.jsx)(g.K,{size:"sm",variant:"ghost",children:"Remove"}),danger:!0,title:`Remove the metrics key of ${d}?`,cta:"Remove key",body:"The console deletes the stored key and this project's compute history. Revoke the key in Supabase (Project Settings → API Keys) too.",onConfirm:async()=>{let b=await k(a);return b.ok?{ok:!0,message:`Metrics key removed for ${d}.`}:{ok:!1,message:b.error}}})]})},"MetricsKeyDialog",0,m],28358)},103113,a=>{var b=a.i(187924),c=a.i(908161),d=a.i(572131),e=a.i(823292),f=a.i(771378),g=a.i(611619),h=a.i(619089),i=a.i(507504),j=a.i(54901),k=a.i(188406),l=a.i(814574),m=a.i(405050);let n=(0,m.createServerReference)("604f645b71cc99297d3eec94071852184575e61bb4",m.callServer,void 0,m.findSourceMapURL,"checkServicesAction"),o=(0,m.createServerReference)("605777cd5f5ae136ef3ea02ff0f796742e617d458c",m.callServer,void 0,m.findSourceMapURL,"pauseAction"),p=(0,m.createServerReference)("60fca0b41987286faa915d3721e93d57f40df8f4cb",m.callServer,void 0,m.findSourceMapURL,"restoreAction"),q=(0,m.createServerReference)("60d70e13c8dae281d86bef709bc46226448a402ea1",m.callServer,void 0,m.findSourceMapURL,"setAutoRestore"),r=(0,m.createServerReference)("60f9ea98b29be2731c81079f64b3c18571f91693f1",m.callServer,void 0,m.findSourceMapURL,"setKeepActive");var s=a.i(28358);function t({alias:a,account:g,choices:j}){let[k,m]=(0,d.useState)(!1),[n,p]=(0,d.useState)(j.at(-1)?.id??""),[q,r]=(0,d.useTransition)(),s=(0,f.useMask)();(0,i.useHoldRefresh)(k);let u=j.find(a=>a.id===n);return(0,b.jsxs)(l.N,{open:k,onOpenChange:a=>{!q&&(m(a),a&&p(j.at(-1)?.id??""))},children:[(0,b.jsx)(l.a,{render:(0,b.jsx)(h.K,{size:"sm",children:"Restore"})}),(0,b.jsxs)(l.d,{className:"gap-0 p-0 sm:max-w-[560px]",showCloseButton:!1,children:[(0,b.jsxs)("div",{className:"flex items-start gap-3 px-[18px] pb-2 pt-4",children:[(0,b.jsx)("span",{className:"grid size-9 shrink-0 place-items-center rounded-lg bg-sunken text-ink-soft",children:(0,b.jsx)(c.f,{size:19})}),(0,b.jsxs)("div",{children:[(0,b.jsxs)(l.F,{className:"text-base",children:["Restore ",a,"?"]}),(0,b.jsxs)(l.C,{className:"mt-0.5 text-[13px] text-ink-soft",children:["Account ",(0,b.jsx)(f.Masked,{kind:"account",real:g})," already uses both free slots. Pick a project to pause first."]})]})]}),(0,b.jsxs)("div",{className:"px-[18px] pb-2",children:[j.length?(0,b.jsx)("div",{className:"max-h-[260px] overflow-y-auto",children:j.map(a=>(0,b.jsxs)("label",{className:"flex cursor-pointer items-center gap-3 border-b border-line px-1 py-[9px] last:border-b-0 hover:bg-hover",children:[(0,b.jsx)("input",{type:"radio",name:"pause-first",className:"size-4 accent-brand",checked:n===a.id,onChange:()=>p(a.id)}),(0,b.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,b.jsxs)("span",{className:"block truncate",children:["Pause ",a.alias]}),(0,b.jsxs)("span",{className:"block truncate text-[12px] text-ink-faint",children:["Last API traffic ",a.traffic,a.usedBy.length?` \xb7 used by ${a.usedBy.map(a=>s("app",a)).join(", ")}`:""]})]})]},a.id))}):(0,b.jsx)("p",{className:"my-2 text-[13px] text-ink-soft",children:"The console doesn't watch this account's active projects, so pause one in Supabase first."}),(0,b.jsxs)("p",{className:"mb-2 mt-3 text-[13px] text-ink-soft",children:["Apps that use the paused project get errors until you restore it. You can also move ",a," to another account with a free slot instead."]}),(0,b.jsx)("p",{className:"mb-3 text-[13px] text-ink-soft",children:"Restore stays blocked until the project you pause shows Paused (about 2 minutes). Then press Restore again."})]}),(0,b.jsxs)("div",{className:"flex justify-end gap-2 border-t border-line px-[18px] py-3",children:[(0,b.jsx)(h.K,{onClick:()=>m(!1),disabled:q,children:"Cancel"}),(0,b.jsx)(h.K,{variant:"danger",disabled:q||!u,onClick:function(){u&&r(async()=>{try{let b=await o(u.id,u.ref);if(!b.ok)return void e.c.error(b.error);e.c.success("Pause started",{description:`Pausing ${u.alias}. Restore ${a} once ${u.alias} shows Paused, about 2 minutes.`}),m(!1)}catch{e.c.error("Watchbell didn't answer. Check that it's still running, then try again.")}})},children:q?"Working…":"Pause selected"})]})]})]})}let u={keep:(a,b)=>b?`${a}: warning from day 5 without API traffic, and one keep-alive query a day.`:`${a} may pause after 7 idle days.`,autoRestore:(a,b)=>b?`${a} is restored automatically when its account has a free slot.`:`${a} is no longer restored automatically.`};a.s(["ActiveRowMenu",0,function({id:a,projectRef:c,alias:f,label:g,metrics:h,dashboard:i=!0}){let{open:l,dialog:m}=(0,j.W)(),[p,q]=(0,d.useState)(!1);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(k.RowMenu,{label:g,items:[...i?[{label:"Open in Supabase",href:`https://supabase.com/dashboard/project/${encodeURIComponent(c)}`}]:[],{label:"Check services",onSelect:()=>{let b;return b=e.c.loading(`Checking ${f}'s services…`),void n(a,c).then(a=>a.ok?e.c.success(`${f}: services healthy`,{id:b,description:a.message}):e.c.error(`${f}: services`,{id:b,description:a.error})).catch(()=>e.c.error("Watchbell didn't answer. Check that it's still running, then try again.",{id:b}))}},...h?[{label:h.hasKey?"Replace metrics key":"Add metrics key",onSelect:()=>q(!0)}]:[],"---",{label:"Pause project",danger:!0,onSelect:()=>l({title:`Pause ${f}?`,body:"Supabase stops the project in about 2 minutes. Apps that use this database get errors until it's restored (possible for 1 year). Pausing frees one of this account's 2 free slots. Nothing is deleted.",cta:"Pause project",danger:!0,run:async()=>{let b;return(b=`Pausing ${f}. It takes about 2 minutes.`,a=>a.ok?{ok:!0,message:b}:a)(await o(a,c))}})}]}),m,h&&(0,b.jsx)(s.MetricsKeyDialog,{id:a,projectRef:c,alias:f,hasKey:h.hasKey,open:p,onOpenChange:q})]})},"KeepActiveBoxes",0,function({id:a,alias:c,keep:f,autoRestore:g,owner:h,sent:i}){let[j,k]=(0,d.useState)({keep:f,autoRestore:g}),[l,m]=(0,d.useTransition)(),n=(d,f)=>(0,b.jsxs)("label",{className:"flex items-center gap-1.5 text-[13px]",title:h?void 0:"Owner only",children:[(0,b.jsx)("input",{type:"checkbox",className:"size-4 accent-brand",checked:j[d],disabled:!h||l,onChange:b=>{var f;return f=b.target.checked,void(k({...j,[d]:f}),m(async()=>{try{let b=await ("keep"===d?r:q)(a,f);if(!b.ok){k(j),e.c.error(b.error);return}e.c.success("Keep active saved",{description:u[d](c,f)})}catch{k(j),e.c.error("Watchbell didn't answer. Check that it's still running, then try again.")}}))}}),f]});return(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex flex-col items-start gap-0.5",children:[n("keep","Keep active"),n("autoRestore","Auto-restore")]}),i&&(0,b.jsxs)("div",{className:"text-[12px] text-ink-faint",children:["Keep-alive sent ",i]})]})},"RestoreButton",0,function({id:a,projectRef:c,alias:d,account:e,slotsLeft:f,choices:i}){return f>0?(0,b.jsx)(g.f,{trigger:(0,b.jsx)(h.K,{size:"sm",children:"Restore"}),title:`Restore ${d}?`,body:"Supabase brings the project back in about 2 minutes. Apps that use it start working again after that.",cta:"Restore",onConfirm:async()=>{let b=await p(a,c);return b.ok?{ok:!0,message:`Restoring ${d}. It takes about 2 minutes.`}:{ok:!1,message:b.error}}}):(0,b.jsx)(t,{alias:d,account:e,choices:i})}],103113)}]})();
|
|
1
|
+
(()=>{"use strict";module.exports=[28358,a=>{var b=a.i(187924),c=a.i(196790),d=a.i(572131),e=a.i(823292),f=a.i(611619),g=a.i(619089),h=a.i(507504),i=a.i(814574),j=a.i(405050);let k=(0,j.createServerReference)("40def7738c40670422cd332cfea4733acc59d9283e",j.callServer,void 0,j.findSourceMapURL,"deleteMetricsKey"),l=(0,j.createServerReference)("70d02c9056d89b336996fe9271138afafcc74b1893",j.callServer,void 0,j.findSourceMapURL,"setMetricsKey");function m({id:a,projectRef:f,alias:j,hasKey:k,open:n,onOpenChange:o,trigger:p}){let[q,r]=(0,d.useState)(!1),s=n??q,[t,u]=(0,d.useState)(""),[v,w]=(0,d.useState)(),[x,y]=(0,d.useTransition)();function z(a){x||(u(""),w(void 0),void 0===n&&r(a),o?.(a))}return(0,h.useHoldRefresh)(s),(0,b.jsxs)(i.N,{open:s,onOpenChange:z,children:[p&&(0,b.jsx)(i.a,{render:p}),(0,b.jsxs)(i.d,{className:"gap-0 p-0 sm:max-w-[560px]",showCloseButton:!1,children:[(0,b.jsxs)("div",{className:"flex items-start gap-3 px-[18px] pb-2 pt-4",children:[(0,b.jsx)("span",{className:"grid size-9 shrink-0 place-items-center rounded-lg bg-sunken text-ink-soft",children:(0,b.jsx)(c.f,{size:19})}),(0,b.jsxs)("div",{children:[(0,b.jsxs)(i.F,{className:"text-base",children:[k?"Replace":"Add"," metrics key for ",j]}),(0,b.jsx)(i.C,{className:"mt-0.5 text-[13px] text-ink-soft",children:"CPU, RAM, disk and connections come from Supabase's Metrics API (beta), which needs a Secret API key of this project."})]})]}),(0,b.jsxs)("form",{onSubmit:b=>{b.preventDefault(),y(async()=>{try{let b=await l(a,f,t);if(!b.ok){w(b.fieldErrors?.key??b.error),e.c.error(b.error);return}let c=b.message?.includes("test call failed");e.c.success(`Metrics key saved for ${j}`,{description:c?"The test call failed; the Compute panel shows why.":"CPU shows after the next scrape, in about 5 minutes."}),u(""),z(!1)}catch{e.c.error("Watchbell didn't answer. Check that it's still running, then try again.")}})},children:[(0,b.jsxs)("div",{className:"px-[18px] pt-2 text-[13px] text-ink-soft",children:[(0,b.jsxs)("ol",{className:"mb-3 list-decimal space-y-1 pl-5",children:[(0,b.jsxs)("li",{children:["In Supabase, open ",(0,b.jsx)("b",{className:"font-medium text-ink",children:"Project Settings → API Keys"})," for this project and create a new Secret API key named ",(0,b.jsx)("span",{className:"font-mono text-ink",children:"watchbell-metrics"}),"."]}),(0,b.jsx)("li",{children:"Paste it below. A secret key has full database power, so the console stores it encrypted, never shows it again and only sends it to this project's metrics endpoint."}),(0,b.jsx)("li",{children:"You can revoke it in Supabase at any time; the panel then shows the error and you can add a new one."})]}),(0,b.jsx)(g.O,{id:`mk-${a}`,label:"Secret API key",error:v,help:"Starts with sb_secret_. Saving makes one test call to the metrics endpoint.",children:(0,b.jsx)("input",{id:`mk-${a}`,type:"password",className:`${g.S} font-mono`,autoComplete:"off",spellCheck:!1,placeholder:"sb_secret_…",value:t,onChange:a=>{u(a.target.value),w(void 0)}})})]}),(0,b.jsxs)("div",{className:"flex justify-end gap-2 border-t border-line px-[18px] py-3",children:[(0,b.jsx)(g.K,{type:"button",onClick:()=>z(!1),disabled:x,children:"Cancel"}),(0,b.jsx)(g.K,{type:"submit",variant:"primary",disabled:x||!t.trim(),children:x?"Testing…":k?"Replace key":"Save key"})]})]})]})]})}a.s(["MetricsKeyButtons",0,function({id:a,projectRef:c,alias:d,hasKey:e}){return(0,b.jsxs)("span",{className:"inline-flex gap-1.5",children:[(0,b.jsx)(m,{id:a,projectRef:c,alias:d,hasKey:e,trigger:(0,b.jsx)(g.K,{size:"sm",children:e?"Replace key":"Add metrics key"})}),e&&(0,b.jsx)(f.f,{trigger:(0,b.jsx)(g.K,{size:"sm",variant:"ghost",children:"Remove"}),danger:!0,title:`Remove the metrics key of ${d}?`,cta:"Remove key",body:"The console deletes the stored key and this project's compute history. Revoke the key in Supabase (Project Settings → API Keys) too.",onConfirm:async()=>{let b=await k(a);return b.ok?{ok:!0,message:`Metrics key removed for ${d}.`}:{ok:!1,message:b.error}}})]})},"MetricsKeyDialog",0,m],28358)},103113,a=>{var b=a.i(187924),c=a.i(908161),d=a.i(572131),e=a.i(823292),f=a.i(771378),g=a.i(611619),h=a.i(619089),i=a.i(507504),j=a.i(54901),k=a.i(188406),l=a.i(814574),m=a.i(405050);let n=(0,m.createServerReference)("606da1a14269b06c11d31cc23ff80540bcf412850a",m.callServer,void 0,m.findSourceMapURL,"checkServicesAction"),o=(0,m.createServerReference)("60e38a519443104f38be2d7dc5d5e8c780f47cd682",m.callServer,void 0,m.findSourceMapURL,"pauseAction"),p=(0,m.createServerReference)("60ff82607724d162497ebea7d3dd59ad768088c4b3",m.callServer,void 0,m.findSourceMapURL,"restoreAction"),q=(0,m.createServerReference)("60c46098d83b76834ddc31d74f34163791ffe04c27",m.callServer,void 0,m.findSourceMapURL,"setAutoRestore"),r=(0,m.createServerReference)("60b9742b1009ed5af0f83af7ec2af1c507fb262132",m.callServer,void 0,m.findSourceMapURL,"setKeepActive");var s=a.i(28358);function t({alias:a,account:g,choices:j}){let[k,m]=(0,d.useState)(!1),[n,p]=(0,d.useState)(j.at(-1)?.id??""),[q,r]=(0,d.useTransition)(),s=(0,f.useMask)();(0,i.useHoldRefresh)(k);let u=j.find(a=>a.id===n);return(0,b.jsxs)(l.N,{open:k,onOpenChange:a=>{!q&&(m(a),a&&p(j.at(-1)?.id??""))},children:[(0,b.jsx)(l.a,{render:(0,b.jsx)(h.K,{size:"sm",children:"Restore"})}),(0,b.jsxs)(l.d,{className:"gap-0 p-0 sm:max-w-[560px]",showCloseButton:!1,children:[(0,b.jsxs)("div",{className:"flex items-start gap-3 px-[18px] pb-2 pt-4",children:[(0,b.jsx)("span",{className:"grid size-9 shrink-0 place-items-center rounded-lg bg-sunken text-ink-soft",children:(0,b.jsx)(c.f,{size:19})}),(0,b.jsxs)("div",{children:[(0,b.jsxs)(l.F,{className:"text-base",children:["Restore ",a,"?"]}),(0,b.jsxs)(l.C,{className:"mt-0.5 text-[13px] text-ink-soft",children:["Account ",(0,b.jsx)(f.Masked,{kind:"account",real:g})," already uses both free slots. Pick a project to pause first."]})]})]}),(0,b.jsxs)("div",{className:"px-[18px] pb-2",children:[j.length?(0,b.jsx)("div",{className:"max-h-[260px] overflow-y-auto",children:j.map(a=>(0,b.jsxs)("label",{className:"flex cursor-pointer items-center gap-3 border-b border-line px-1 py-[9px] last:border-b-0 hover:bg-hover",children:[(0,b.jsx)("input",{type:"radio",name:"pause-first",className:"size-4 accent-brand",checked:n===a.id,onChange:()=>p(a.id)}),(0,b.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,b.jsxs)("span",{className:"block truncate",children:["Pause ",a.alias]}),(0,b.jsxs)("span",{className:"block truncate text-[12px] text-ink-faint",children:["Last API traffic ",a.traffic,a.usedBy.length?` \xb7 used by ${a.usedBy.map(a=>s("app",a)).join(", ")}`:""]})]})]},a.id))}):(0,b.jsx)("p",{className:"my-2 text-[13px] text-ink-soft",children:"The console doesn't watch this account's active projects, so pause one in Supabase first."}),(0,b.jsxs)("p",{className:"mb-2 mt-3 text-[13px] text-ink-soft",children:["Apps that use the paused project get errors until you restore it. You can also move ",a," to another account with a free slot instead."]}),(0,b.jsx)("p",{className:"mb-3 text-[13px] text-ink-soft",children:"Restore stays blocked until the project you pause shows Paused (about 2 minutes). Then press Restore again."})]}),(0,b.jsxs)("div",{className:"flex justify-end gap-2 border-t border-line px-[18px] py-3",children:[(0,b.jsx)(h.K,{onClick:()=>m(!1),disabled:q,children:"Cancel"}),(0,b.jsx)(h.K,{variant:"danger",disabled:q||!u,onClick:function(){u&&r(async()=>{try{let b=await o(u.id,u.ref);if(!b.ok)return void e.c.error(b.error);e.c.success("Pause started",{description:`Pausing ${u.alias}. Restore ${a} once ${u.alias} shows Paused, about 2 minutes.`}),m(!1)}catch{e.c.error("Watchbell didn't answer. Check that it's still running, then try again.")}})},children:q?"Working…":"Pause selected"})]})]})]})}let u={keep:(a,b)=>b?`${a}: warning from day 5 without API traffic, and one keep-alive query a day.`:`${a} may pause after 7 idle days.`,autoRestore:(a,b)=>b?`${a} is restored automatically when its account has a free slot.`:`${a} is no longer restored automatically.`};a.s(["ActiveRowMenu",0,function({id:a,projectRef:c,alias:f,label:g,metrics:h,dashboard:i=!0}){let{open:l,dialog:m}=(0,j.W)(),[p,q]=(0,d.useState)(!1);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(k.RowMenu,{label:g,items:[...i?[{label:"Open in Supabase",href:`https://supabase.com/dashboard/project/${encodeURIComponent(c)}`}]:[],{label:"Check services",onSelect:()=>{let b;return b=e.c.loading(`Checking ${f}'s services…`),void n(a,c).then(a=>a.ok?e.c.success(`${f}: services healthy`,{id:b,description:a.message}):e.c.error(`${f}: services`,{id:b,description:a.error})).catch(()=>e.c.error("Watchbell didn't answer. Check that it's still running, then try again.",{id:b}))}},...h?[{label:h.hasKey?"Replace metrics key":"Add metrics key",onSelect:()=>q(!0)}]:[],"---",{label:"Pause project",danger:!0,onSelect:()=>l({title:`Pause ${f}?`,body:"Supabase stops the project in about 2 minutes. Apps that use this database get errors until it's restored (possible for 1 year). Pausing frees one of this account's 2 free slots. Nothing is deleted.",cta:"Pause project",danger:!0,run:async()=>{let b;return(b=`Pausing ${f}. It takes about 2 minutes.`,a=>a.ok?{ok:!0,message:b}:a)(await o(a,c))}})}]}),m,h&&(0,b.jsx)(s.MetricsKeyDialog,{id:a,projectRef:c,alias:f,hasKey:h.hasKey,open:p,onOpenChange:q})]})},"KeepActiveBoxes",0,function({id:a,alias:c,keep:f,autoRestore:g,owner:h,sent:i}){let[j,k]=(0,d.useState)({keep:f,autoRestore:g}),[l,m]=(0,d.useTransition)(),n=(d,f)=>(0,b.jsxs)("label",{className:"flex items-center gap-1.5 text-[13px]",title:h?void 0:"Owner only",children:[(0,b.jsx)("input",{type:"checkbox",className:"size-4 accent-brand",checked:j[d],disabled:!h||l,onChange:b=>{var f;return f=b.target.checked,void(k({...j,[d]:f}),m(async()=>{try{let b=await ("keep"===d?r:q)(a,f);if(!b.ok){k(j),e.c.error(b.error);return}e.c.success("Keep active saved",{description:u[d](c,f)})}catch{k(j),e.c.error("Watchbell didn't answer. Check that it's still running, then try again.")}}))}}),f]});return(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex flex-col items-start gap-0.5",children:[n("keep","Keep active"),n("autoRestore","Auto-restore")]}),i&&(0,b.jsxs)("div",{className:"text-[12px] text-ink-faint",children:["Keep-alive sent ",i]})]})},"RestoreButton",0,function({id:a,projectRef:c,alias:d,account:e,slotsLeft:f,choices:i}){return f>0?(0,b.jsx)(g.f,{trigger:(0,b.jsx)(h.K,{size:"sm",children:"Restore"}),title:`Restore ${d}?`,body:"Supabase brings the project back in about 2 minutes. Apps that use it start working again after that.",cta:"Restore",onConfirm:async()=>{let b=await p(a,c);return b.ok?{ok:!0,message:`Restoring ${d}. It takes about 2 minutes.`}:{ok:!1,message:b.error}}}):(0,b.jsx)(t,{alias:d,account:e,choices:i})}],103113)}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_app_%28console%29_supabase_0ib3m2ch9gu-4._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[[758173,a=>{var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call MetricsKeyButtons() from the server but MetricsKeyButtons is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/supabase/metrics-key-dialog.tsx","MetricsKeyButtons");(0,b.registerClientReference)(function(){throw Error("Attempted to call MetricsKeyDialog() from the server but MetricsKeyDialog is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/supabase/metrics-key-dialog.tsx","MetricsKeyDialog"),a.s(["MetricsKeyButtons",0,c])},140698,a=>{var b=a.i(758173);a.n(b)},491641,a=>{var b=a.i(907997),c=a.i(175038),d=a.i(395936),e=a.i(701702),f=a.i(803681),g=a.i(959581),h=a.i(685865),i=a.i(154756),j=a.i(954296),k=a.i(686251),l=a.i(791444),m=a.i(109307),n=a.i(532620),o=a.i(560954),p=a.i(612990),q=a.i(863858),r=a.i(371289),s=a.i(658932),t=a.i(367623),u=a.i(367247),v=a.i(245710),w=a.i(139138),x=a.i(887923),y=a.i(715208),z=a.i(556987),A=a.i(505237),B=a.i(179806),C=a.i(252302),D=a.i(140698);let E="text-[12px] text-ink-faint";function F({blocks:a,owner:c}){return a.length?(0,b.jsxs)(f.N,{title:"Compute",meta:(0,b.jsx)(j.Src,{kind:"api",children:"Metrics API · 5 min"}),children:[(0,b.jsx)("p",{className:"mb-3 text-[12.5px] text-ink-soft",children:"From Supabase's Metrics API (beta) with a per-project Secret API key the owner adds. Bars are now; the line is the hourly average over 24 h. Egress and monthly active users aren't readable per project through the Management API: see Usage in the Supabase dashboard."}),(0,b.jsx)("div",{className:"flex flex-col divide-y divide-line",children:a.map(a=>(0,b.jsx)(G,{b:a,owner:c},a.id))})]}):null}function G({b:a,owner:c}){let d=a.panel,e="none"!==d.kind;return(0,b.jsxs)("div",{className:"py-3 first:pt-0 last:pb-0",children:[(0,b.jsxs)("div",{className:"mb-2 flex flex-wrap items-center gap-x-3 gap-y-1",children:[(0,b.jsx)(i.F,{kind:"db",name:a.name,dbId:a.id}),"ok"===d.kind&&(0,b.jsxs)("span",{className:(0,w.f)(E,d.stale&&"text-warn"),children:["as of ",d.asOf,d.stale?" · not updating":""]}),c&&(0,b.jsx)("span",{className:"ml-auto",children:(0,b.jsx)(D.MetricsKeyButtons,{id:a.id,projectRef:a.ref,alias:a.alias,hasKey:e})})]}),"none"===d.kind&&(0,b.jsxs)("p",{className:"text-[13px] text-ink-soft",children:[a.paused?"Paused: no compute to read. ":"","No metrics key yet",c?". Add one to see CPU, RAM, disk and connections.":". An owner can add one."]}),"waiting"===d.kind&&(0,b.jsx)("p",{className:"text-[13px] text-ink-soft",children:d.note}),"ok"===d.kind&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"grid grid-cols-2 gap-x-6 gap-y-3 min-[1001px]:grid-cols-4",children:d.gauges.map(a=>(0,b.jsxs)("div",{className:"min-w-0",children:[(0,b.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,b.jsx)("span",{className:"text-[12.5px] text-ink-soft",children:a.label}),(0,b.jsx)("span",{className:"ml-auto font-mono text-[15px] font-semibold",children:a.value})]}),(0,b.jsx)(f.e,{pct:a.pct??0,tone:a.tone}),(0,b.jsx)("div",{className:"mt-1.5",children:(0,b.jsx)(C.t,{values:a.series,width:160,height:28,fluid:!0,label:`${a.label}, hourly average over the last 24 hours`})}),(0,b.jsx)("div",{className:E,children:a.peak??"24 h"})]},a.label))}),d.error&&(0,b.jsxs)("p",{className:"mt-2 text-[12.5px] text-warn",children:["Last scrape failed: ",d.error]})]})]})}var H=a.i(228796),I=a.i(722061),J=a.i(221802);let K="text-[12px] text-ink-faint";async function L({searchParams:a}){let C=await (0,m.I)(),{create:D}=await a,E=new Date,G=(0,A.z)(C.role),[M,N,O]=await Promise.all([(0,n.R)("supabase_project"),(0,n.V)(),(0,n.e)()]),P=(0,y.Y)(M,E,O),Q=(0,y.d)(N),R=(0,y.i)(P),S="owner"===C.role,[T,U,V,W]=await Promise.all([(0,o.A)(P.map(a=>a.id)),(0,u.d)(P.map(a=>a.id),E),S?(0,t.Q)(P.map(a=>a.id)):new Set,(0,r.r)()?(0,p.H)():Promise.resolve(null)]),X=P.filter(a=>S||U.has(a.id)).map(a=>({id:a.id,name:a.name,alias:a.alias,ref:a.ref,paused:a.paused,panel:(0,B.j)(U.get(a.id),E)}));return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(h.AutoRefresh,{at:E.getTime()}),(0,b.jsx)(f.L,{crumbs:[{label:"Database"},{label:"Supabase"}],title:"Supabase",sub:"Read from Supabase's Management API, so watching never wakes your databases.",more:"Database size is read once a day, and only while a project is already active. Keep active (owners, per project) warns from day 5 without API traffic and sends one keep-alive query a day. Auto-restore brings a paused project back only when its account has a free slot.",actions:"owner"===C.role?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(d.default,{href:"/connections",className:(0,f.R)(),children:"Manage accounts"}),(0,b.jsx)(H.CreateButton,{type:"supabase_project",target:"",targetName:"Supabase",label:"New project"})]}):void 0}),(0,b.jsx)(I.f,{member:C,types:["supabase_project"],focus:D??null}),Q.length>0&&(0,b.jsxs)("div",{className:"grid grid-cols-1 gap-4 min-[1001px]:grid-cols-3",children:[Q.map(a=>(0,b.jsxs)(f.N,{title:(0,b.jsxs)(b.Fragment,{children:["Account ",(0,b.jsx)(e.Masked,{kind:"account",real:a.account})]}),children:[(0,b.jsxs)("span",{className:"text-[26px] font-semibold tracking-tight",children:[a.used,(0,b.jsxs)("small",{className:"ml-1 text-[13px] font-normal text-ink-soft",children:["of ",a.total," free slots"]})]}),(0,b.jsx)(f.e,{pct:Math.min(a.used,a.total)/a.total*100,tone:0===a.left?"warn":void 0}),(0,b.jsxs)("p",{className:"mt-2 text-[12.5px] text-ink-soft",children:["Paused projects don't use a slot. Counted from the projects this token can see",a.planUnknown?"; plan unknown, counted as free":"","."]})]},a.account)),W&&(0,b.jsx)(s.f,{pool:W,owner:S}),(0,b.jsxs)(f.N,{title:"Storage",children:[(0,b.jsxs)("span",{className:"text-[26px] font-semibold tracking-tight",children:[R.text,(0,b.jsxs)("small",{className:"ml-1 text-[13px] font-normal text-ink-soft",children:["across ",R.count," project",1===R.count?"":"s"]})]}),(0,b.jsx)("p",{className:"mt-2 text-[12.5px] text-ink-soft",children:"Free limit is 500 MB per project."})]})]}),(0,b.jsx)(f.N,{flush:!0,children:0===P.length?(0,b.jsx)(f.k,{icon:c.f,title:"No Supabase projects watched yet",action:"owner"===C.role?(0,b.jsx)(d.default,{href:"/connections",className:(0,f.R)({size:"sm"}),children:"Open connections"}):void 0,children:"owner"===C.role?"Connect a Supabase account, then press Sync and tick the projects to watch.":"An owner picks the projects to watch in Connections."}):(0,b.jsx)(g.ListFilter,{placeholder:"Filter by name",states:[["ok","Active"],["paused","Paused"]],groups:[...new Set(P.map(a=>a.account))].sort(),head:["Project","Account",(0,b.jsxs)("span",{children:["Status",(0,b.jsx)(j.Src,{kind:"api"})]},"s"),(0,b.jsxs)("span",{children:["Database size",(0,b.jsx)(j.Src,{kind:"api",children:"API · daily"})]},"z"),(0,b.jsxs)("span",{children:["Last API traffic",(0,b.jsx)(j.Src,{kind:"api"})]},"t"),(0,b.jsxs)("span",{children:["Auto-pause risk",(0,b.jsx)(j.Src,{kind:"calc"})]},"r"),"Used by",(0,b.jsxs)("span",{children:["Keep active",(0,b.jsx)(j.Src,{kind:"calc",children:"Owner"})]},"k"),""],rows:P.map(a=>{var c,d;let e,g,h;return{key:a.id,state:a.status.state,group:a.account,text:(0,z.h)([a.alias,(0,z.G)(a.account),a.status.label,a.risk.text,...a.usedBy.map(a=>a.name)],[a.name,a.account]),row:(0,b.jsxs)("tr",{className:(0,w.f)(l.C,a.stale&&"opacity-60"),children:[(0,b.jsxs)("td",{className:l.z,children:[(0,b.jsx)(i.F,{kind:"db",name:a.name,dbId:a.id}),(0,b.jsx)("div",{className:K,children:a.sub})]}),(0,b.jsx)("td",{className:l.z,children:(0,b.jsx)(i.c,{name:a.account})}),(0,b.jsxs)("td",{className:l.z,children:[(0,b.jsx)(k.F,{state:a.status.state,children:a.status.label}),a.since&&(0,b.jsxs)("div",{className:K,children:["since ",a.since]})]}),(0,b.jsx)("td",{className:l.z,children:a.size?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("span",{className:"font-mono",children:a.size.text})," ",(0,b.jsx)("span",{className:"text-ink-faint",children:"/ 500 MB"}),(0,b.jsx)(f.e,{pct:a.size.pct,tone:a.size.pct>=80?"warn":void 0}),(0,b.jsxs)("div",{className:K,children:["as of ",a.size.asOf]})]}):(0,b.jsx)("span",{className:(0,w.f)(K,"whitespace-normal"),children:a.sizeNote})}),(0,b.jsx)("td",{className:(0,w.f)(l.z,"text-ink-soft"),title:a.trafficNote??void 0,children:a.traffic}),(0,b.jsxs)("td",{className:(0,w.f)(l.z,l.M),children:[(0,b.jsx)(k.F,{state:a.risk.state,children:a.risk.text}),a.risk.note&&(0,b.jsx)("div",{className:K,children:a.risk.note})]}),(0,b.jsx)("td",{className:l.z,children:a.usedBy.length?a.usedBy.map(a=>(0,b.jsx)("div",{children:(0,b.jsx)(i.F,{kind:"app",name:a.name,href:`/apps/${a.id}`})},a.id)):(0,b.jsx)("span",{className:"text-ink-faint",children:"Not linked"})}),(0,b.jsx)("td",{className:(0,w.f)(l.z,l.M),children:(0,b.jsx)(J.KeepActiveBoxes,{id:a.id,alias:a.alias,owner:S,...(c=a.id,e=T.get(c),{keep:e?.keep??!1,autoRestore:e?.autoRestore??!1,sent:e?.keep&&e.lastKeepAliveAt?(0,v.$)(e.lastKeepAliveAt,E):null})})}),(0,b.jsxs)("td",{className:l.z,children:[S&&!a.paused&&(0,b.jsx)("div",{className:"mb-1",children:(0,b.jsx)(x.SqlAccessButtons,{id:a.id,alias:a.alias,provider:"supabase",connected:V.has(a.id)})}),G&&(a.paused?(0,b.jsx)(J.RestoreButton,{id:a.id,projectRef:a.ref,alias:a.alias,account:a.account,slotsLeft:(g=a.account,Q.find(a=>a.account===g)?.left??1),choices:(d=a.account,h=new Set(Q.find(a=>a.account===d)?.activeIds??[]),P.filter(a=>h.has(a.id)&&!a.paused).map(a=>({id:a.id,ref:a.ref,alias:a.alias,traffic:a.traffic,usedBy:a.usedBy.map(a=>a.name)})))}):(0,b.jsx)(J.ActiveRowMenu,{id:a.id,projectRef:a.ref,alias:a.alias,label:(0,A.J)(a.alias),metrics:S?{hasKey:U.has(a.id)}:void 0,dashboard:(0,q.f)()}))]})]})}})})}),(0,b.jsx)(F,{blocks:X,owner:S})]})}a.s(["default",0,L,"maxDuration",0,60],491641)},841701,a=>{var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ActiveRowMenu() from the server but ActiveRowMenu is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/supabase/row-actions.tsx","ActiveRowMenu"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call KeepActiveBoxes() from the server but KeepActiveBoxes is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/supabase/row-actions.tsx","KeepActiveBoxes"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call RestoreButton() from the server but RestoreButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/supabase/row-actions.tsx","RestoreButton");a.s(["ActiveRowMenu",0,c,"KeepActiveBoxes",0,d,"RestoreButton",0,e])},221802,a=>{var b=a.i(841701);a.n(b)}],587058,function(a){a.n(a.i(491641))}];
|
|
1
|
+
module.exports=[[758173,a=>{var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call MetricsKeyButtons() from the server but MetricsKeyButtons is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/supabase/metrics-key-dialog.tsx","MetricsKeyButtons");(0,b.registerClientReference)(function(){throw Error("Attempted to call MetricsKeyDialog() from the server but MetricsKeyDialog is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/supabase/metrics-key-dialog.tsx","MetricsKeyDialog"),a.s(["MetricsKeyButtons",0,c])},140698,a=>{var b=a.i(758173);a.n(b)},491641,a=>{var b=a.i(907997),c=a.i(175038),d=a.i(395936),e=a.i(701702),f=a.i(803681),g=a.i(959581),h=a.i(685865),i=a.i(154756),j=a.i(954296),k=a.i(686251),l=a.i(791444),m=a.i(109307),n=a.i(532620),o=a.i(560954),p=a.i(612990),q=a.i(863858),r=a.i(371289),s=a.i(658932),t=a.i(367623),u=a.i(367247),v=a.i(245710),w=a.i(139138),x=a.i(887923),y=a.i(715208),z=a.i(556987),A=a.i(505237),B=a.i(179806),C=a.i(252302),D=a.i(293167),E=a.i(140698);let F="text-[12px] text-ink-faint";function G({blocks:a,owner:c}){return a.length?(0,b.jsxs)(f.N,{title:"Compute",meta:(0,b.jsx)(j.Src,{kind:"api",children:"Metrics API · each collector run"}),children:[(0,b.jsx)("p",{className:"mb-3 text-[12.5px] text-ink-soft",children:"From Supabase's Metrics API (beta) with a per-project Secret API key the owner adds. Bars are now; lines and stacks are hourly averages over 24 h. Egress and monthly active users aren't readable per project through the Management API: see Usage in the Supabase dashboard."}),(0,b.jsx)("div",{className:"flex flex-col divide-y divide-line",children:a.map(a=>(0,b.jsx)(H,{b:a,owner:c},a.id))})]}):null}function H({b:a,owner:c}){let d=a.panel,e="none"!==d.kind;return(0,b.jsxs)("div",{className:"py-3 first:pt-0 last:pb-0",children:[(0,b.jsxs)("div",{className:"mb-2 flex flex-wrap items-center gap-x-3 gap-y-1",children:[(0,b.jsx)(i.F,{kind:"db",name:a.name,dbId:a.id}),"ok"===d.kind&&(0,b.jsxs)("span",{className:(0,w.f)(F,d.stale&&"text-warn"),children:["as of ",d.asOf,d.stale?" · not updating":""]}),c&&(0,b.jsx)("span",{className:"ml-auto",children:(0,b.jsx)(E.MetricsKeyButtons,{id:a.id,projectRef:a.ref,alias:a.alias,hasKey:e})})]}),"none"===d.kind&&(0,b.jsxs)("p",{className:"text-[13px] text-ink-soft",children:[a.paused?"Paused: no compute to read. ":"","No metrics key yet",c?". Add one to see CPU, RAM, disk and connections.":". An owner can add one."]}),"waiting"===d.kind&&(0,b.jsx)("p",{className:"text-[13px] text-ink-soft",children:d.note}),"ok"===d.kind&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"grid grid-cols-2 gap-x-6 gap-y-3 min-[1001px]:grid-cols-4",children:d.gauges.map(a=>(0,b.jsxs)("div",{className:"min-w-0",children:[(0,b.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,b.jsx)("span",{className:"text-[12.5px] text-ink-soft",children:a.label}),(0,b.jsx)("span",{className:"ml-auto font-mono text-[15px] font-semibold",children:a.value})]}),(0,b.jsx)(f.e,{pct:a.pct??0,tone:a.tone}),(0,b.jsx)("div",{className:"mt-1.5",children:(0,b.jsx)(C.t,{values:a.series,width:160,height:28,fluid:!0,label:`${a.label}, hourly average over the last 24 hours`})}),(0,b.jsx)("div",{className:F,children:a.peak??"24 h"})]},a.label))}),(d.memory||d.commit)&&(0,b.jsxs)("div",{className:"mt-4 grid grid-cols-1 gap-x-6 gap-y-4 min-[1001px]:grid-cols-[minmax(0,2fr)_minmax(0,1fr)]",children:[d.memory&&(0,b.jsxs)("div",{className:"min-w-0",children:[(0,b.jsxs)("div",{className:"mb-1.5 flex flex-wrap items-baseline gap-x-3 gap-y-0.5",children:[(0,b.jsx)("span",{className:"text-[12.5px] text-ink-soft",children:"Memory"}),(0,b.jsxs)("span",{className:"ml-auto font-mono text-[12.5px]",children:[d.memory.now.used," used · ",d.memory.now.cache," cache + buffers",d.memory.now.swap?` \xb7 ${d.memory.now.swap} swap`:""," · of ",d.memory.now.total]})]}),(0,b.jsx)(C.T,{bars:d.memory.bars,parts:d.memory.parts,height:56,max:d.memory.max,label:`Memory, hourly average over the last 24 hours, of ${d.memory.now.total} RAM`})]}),d.commit&&(0,b.jsxs)("div",{className:"min-w-0",children:[(0,b.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,b.jsx)("span",{className:"text-[12.5px] text-ink-soft",children:"Memory commitment"}),d.commit.tone&&(0,b.jsx)(D.e,{severity:"err"===d.commit.tone?"critical":"warning"}),(0,b.jsx)("span",{className:"ml-auto font-mono text-[13px] font-semibold",children:d.commit.value})]}),(0,b.jsx)(f.e,{pct:Math.min(100,d.commit.pct),tone:d.commit.tone}),(0,b.jsx)("div",{className:"mt-1.5",children:(0,b.jsx)(C.t,{values:d.commit.series,width:160,height:28,fluid:!0,label:"Memory commitment, hourly average over the last 24 hours"})}),(0,b.jsxs)("div",{className:F,children:[d.commit.peak??"24 h"," · memory promised to processes, of the limit before the kernel refuses more"]})]})]}),d.error&&(0,b.jsxs)("p",{className:"mt-2 text-[12.5px] text-warn",children:["Last scrape failed: ",d.error]})]})]})}var I=a.i(228796),J=a.i(722061),K=a.i(221802);let L="text-[12px] text-ink-faint";async function M({searchParams:a}){let C=await (0,m.I)(),{create:D}=await a,E=new Date,F=(0,A.z)(C.role),[H,N,O]=await Promise.all([(0,n.R)("supabase_project"),(0,n.V)(),(0,n.e)()]),P=(0,y.Y)(H,E,O),Q=(0,y.d)(N),R=(0,y.i)(P),S="owner"===C.role,[T,U,V,W]=await Promise.all([(0,o.A)(P.map(a=>a.id)),(0,u.d)(P.map(a=>a.id),E),S?(0,t.Q)(P.map(a=>a.id)):new Set,(0,r.r)()?(0,p.H)():Promise.resolve(null)]),X=P.filter(a=>S||U.has(a.id)).map(a=>({id:a.id,name:a.name,alias:a.alias,ref:a.ref,paused:a.paused,panel:(0,B.j)(U.get(a.id),E)}));return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(h.AutoRefresh,{at:E.getTime()}),(0,b.jsx)(f.L,{crumbs:[{label:"Database"},{label:"Supabase"}],title:"Supabase",sub:"Read from Supabase's Management API, so watching never wakes your databases.",more:"Database size is read once a day, and only while a project is already active. Keep active (owners, per project) warns from day 5 without API traffic and sends one keep-alive query a day. Auto-restore brings a paused project back only when its account has a free slot.",actions:"owner"===C.role?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(d.default,{href:"/connections",className:(0,f.R)(),children:"Manage accounts"}),(0,b.jsx)(I.CreateButton,{type:"supabase_project",target:"",targetName:"Supabase",label:"New project"})]}):void 0}),(0,b.jsx)(J.f,{member:C,types:["supabase_project"],focus:D??null}),Q.length>0&&(0,b.jsxs)("div",{className:"grid grid-cols-1 gap-4 min-[1001px]:grid-cols-3",children:[Q.map(a=>(0,b.jsxs)(f.N,{title:(0,b.jsxs)(b.Fragment,{children:["Account ",(0,b.jsx)(e.Masked,{kind:"account",real:a.account})]}),children:[(0,b.jsxs)("span",{className:"text-[26px] font-semibold tracking-tight",children:[a.used,(0,b.jsxs)("small",{className:"ml-1 text-[13px] font-normal text-ink-soft",children:["of ",a.total," free slots"]})]}),(0,b.jsx)(f.e,{pct:Math.min(a.used,a.total)/a.total*100,tone:0===a.left?"warn":void 0}),(0,b.jsxs)("p",{className:"mt-2 text-[12.5px] text-ink-soft",children:["Paused projects don't use a slot. Counted from the projects this token can see",a.planUnknown?"; plan unknown, counted as free":"","."]})]},a.account)),W&&(0,b.jsx)(s.f,{pool:W,owner:S}),(0,b.jsxs)(f.N,{title:"Storage",children:[(0,b.jsxs)("span",{className:"text-[26px] font-semibold tracking-tight",children:[R.text,(0,b.jsxs)("small",{className:"ml-1 text-[13px] font-normal text-ink-soft",children:["across ",R.count," project",1===R.count?"":"s"]})]}),(0,b.jsx)("p",{className:"mt-2 text-[12.5px] text-ink-soft",children:"Free limit is 500 MB per project."})]})]}),(0,b.jsx)(f.N,{flush:!0,children:0===P.length?(0,b.jsx)(f.k,{icon:c.f,title:"No Supabase projects watched yet",action:"owner"===C.role?(0,b.jsx)(d.default,{href:"/connections",className:(0,f.R)({size:"sm"}),children:"Open connections"}):void 0,children:"owner"===C.role?"Connect a Supabase account, then press Sync and tick the projects to watch.":"An owner picks the projects to watch in Connections."}):(0,b.jsx)(g.ListFilter,{placeholder:"Filter by name",states:[["ok","Active"],["paused","Paused"]],groups:[...new Set(P.map(a=>a.account))].sort(),head:["Project","Account",(0,b.jsxs)("span",{children:["Status",(0,b.jsx)(j.Src,{kind:"api"})]},"s"),(0,b.jsxs)("span",{children:["Database size",(0,b.jsx)(j.Src,{kind:"api",children:"API · daily"})]},"z"),(0,b.jsxs)("span",{children:["Last API traffic",(0,b.jsx)(j.Src,{kind:"api"})]},"t"),(0,b.jsxs)("span",{children:["Auto-pause risk",(0,b.jsx)(j.Src,{kind:"calc"})]},"r"),"Used by",(0,b.jsxs)("span",{children:["Keep active",(0,b.jsx)(j.Src,{kind:"calc",children:"Owner"})]},"k"),""],rows:P.map(a=>{var c,d;let e,g,h;return{key:a.id,state:a.status.state,group:a.account,text:(0,z.h)([a.alias,(0,z.G)(a.account),a.status.label,a.risk.text,...a.usedBy.map(a=>a.name)],[a.name,a.account]),row:(0,b.jsxs)("tr",{className:(0,w.f)(l.C,a.stale&&"opacity-60"),children:[(0,b.jsxs)("td",{className:l.z,children:[(0,b.jsx)(i.F,{kind:"db",name:a.name,dbId:a.id}),(0,b.jsx)("div",{className:L,children:a.sub})]}),(0,b.jsx)("td",{className:l.z,children:(0,b.jsx)(i.c,{name:a.account})}),(0,b.jsxs)("td",{className:l.z,children:[(0,b.jsx)(k.F,{state:a.status.state,children:a.status.label}),a.since&&(0,b.jsxs)("div",{className:L,children:["since ",a.since]})]}),(0,b.jsx)("td",{className:l.z,children:a.size?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("span",{className:"font-mono",children:a.size.text})," ",(0,b.jsx)("span",{className:"text-ink-faint",children:"/ 500 MB"}),(0,b.jsx)(f.e,{pct:a.size.pct,tone:a.size.pct>=80?"warn":void 0}),(0,b.jsxs)("div",{className:L,children:["as of ",a.size.asOf]})]}):(0,b.jsx)("span",{className:(0,w.f)(L,"whitespace-normal"),children:a.sizeNote})}),(0,b.jsx)("td",{className:(0,w.f)(l.z,"text-ink-soft"),title:a.trafficNote??void 0,children:a.traffic}),(0,b.jsxs)("td",{className:(0,w.f)(l.z,l.M),children:[(0,b.jsx)(k.F,{state:a.risk.state,children:a.risk.text}),a.risk.note&&(0,b.jsx)("div",{className:L,children:a.risk.note})]}),(0,b.jsx)("td",{className:l.z,children:a.usedBy.length?a.usedBy.map(a=>(0,b.jsx)("div",{children:(0,b.jsx)(i.F,{kind:"app",name:a.name,href:`/apps/${a.id}`})},a.id)):(0,b.jsx)("span",{className:"text-ink-faint",children:"Not linked"})}),(0,b.jsx)("td",{className:(0,w.f)(l.z,l.M),children:(0,b.jsx)(K.KeepActiveBoxes,{id:a.id,alias:a.alias,owner:S,...(c=a.id,e=T.get(c),{keep:e?.keep??!1,autoRestore:e?.autoRestore??!1,sent:e?.keep&&e.lastKeepAliveAt?(0,v.$)(e.lastKeepAliveAt,E):null})})}),(0,b.jsxs)("td",{className:l.z,children:[S&&!a.paused&&(0,b.jsx)("div",{className:"mb-1",children:(0,b.jsx)(x.SqlAccessButtons,{id:a.id,alias:a.alias,provider:"supabase",connected:V.has(a.id)})}),F&&(a.paused?(0,b.jsx)(K.RestoreButton,{id:a.id,projectRef:a.ref,alias:a.alias,account:a.account,slotsLeft:(g=a.account,Q.find(a=>a.account===g)?.left??1),choices:(d=a.account,h=new Set(Q.find(a=>a.account===d)?.activeIds??[]),P.filter(a=>h.has(a.id)&&!a.paused).map(a=>({id:a.id,ref:a.ref,alias:a.alias,traffic:a.traffic,usedBy:a.usedBy.map(a=>a.name)})))}):(0,b.jsx)(K.ActiveRowMenu,{id:a.id,projectRef:a.ref,alias:a.alias,label:(0,A.J)(a.alias),metrics:S?{hasKey:U.has(a.id)}:void 0,dashboard:(0,q.f)()}))]})]})}})})}),(0,b.jsx)(G,{blocks:X,owner:S})]})}a.s(["default",0,M,"maxDuration",0,60],491641)},841701,a=>{var b=a.i(211857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ActiveRowMenu() from the server but ActiveRowMenu is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/supabase/row-actions.tsx","ActiveRowMenu"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call KeepActiveBoxes() from the server but KeepActiveBoxes is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/supabase/row-actions.tsx","KeepActiveBoxes"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call RestoreButton() from the server but RestoreButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/supabase/row-actions.tsx","RestoreButton");a.s(["ActiveRowMenu",0,c,"KeepActiveBoxes",0,d,"RestoreButton",0,e])},221802,a=>{var b=a.i(841701);a.n(b)}],587058,function(a){a.n(a.i(491641))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_app_%28console%29_supabase_1ofufib3-zzt-._.js.map
|
package/server/.next/server/chunks/ssr/src_app_(console)_supabase_pool-actions_ts_0nzd4vwy_9zzx._.js
CHANGED
|
@@ -5,6 +5,6 @@ module.exports=[953685,612990,a=>{"use strict";var b=a.i(137936),c=a.i(118558),d
|
|
|
5
5
|
select state, extract(epoch from now() - state_change)::int as idle_s, extract(epoch from now() - backend_start)::int as age_s,
|
|
6
6
|
left(query, 400) as query
|
|
7
7
|
from pg_stat_activity where usename = current_user and pid <> pg_backend_pid()
|
|
8
|
-
order by state_change asc limit 20`),b=(0,i.f)(a).map(a=>({busy:"idle"!==a.state,idleS:Number(a.idle_s),table:l(a.query),ageS:Number(a.age_s)}));return{used:b.length+1,active:b.filter(a=>a.busy).length+1,conns:b}}catch{return null}}a.s(["Y",0,10,"X",0,15,"R",0,k,"H",0,m,"g",0,a=>({pct:Math.min(100,Math.round(a.used/15*100)),warn:a.used>=10})],612990);var n=a.i(371289),o=a.i(312573),p=a.i(323878),q=a.i(713095);let r={requireActionMember:e.g};async function s(){return(0,d.F)("owner",async a=>{if(!(0,n.r)())return{ok:!1,error:"Not available in this mode."};let b=await (0,p.C)(o.t.monitorWrite,a.id);if(!b.allowed)return{ok:!1,error:`Too many changes. Try again in ${(0,o.H)(b.retryAfter)}.`};let d=await k(1,5);return await (0,f.f)({kind:"ok",message:`Closed ${d.trimmed} idle database connection${1===d.trimmed?"":"s"} (pool ${d.total}/15)`,resourceId:null,actorUserId:a.userId}).catch(()=>console.warn("audit event failed")),(0,c.refresh)(),{ok:!0,message:`Closed ${d.trimmed} idle connection${1===d.trimmed?"":"s"}.`}},r)}async function t(){await s()}(0,q.ensureServerEntryExports)([s,t]),(0,b.registerServerReference)(s,"
|
|
8
|
+
order by state_change asc limit 20`),b=(0,i.f)(a).map(a=>({busy:"idle"!==a.state,idleS:Number(a.idle_s),table:l(a.query),ageS:Number(a.age_s)}));return{used:b.length+1,active:b.filter(a=>a.busy).length+1,conns:b}}catch{return null}}a.s(["Y",0,10,"X",0,15,"R",0,k,"H",0,m,"g",0,a=>({pct:Math.min(100,Math.round(a.used/15*100)),warn:a.used>=10})],612990);var n=a.i(371289),o=a.i(312573),p=a.i(323878),q=a.i(713095);let r={requireActionMember:e.g};async function s(){return(0,d.F)("owner",async a=>{if(!(0,n.r)())return{ok:!1,error:"Not available in this mode."};let b=await (0,p.C)(o.t.monitorWrite,a.id);if(!b.allowed)return{ok:!1,error:`Too many changes. Try again in ${(0,o.H)(b.retryAfter)}.`};let d=await k(1,5);return await (0,f.f)({kind:"ok",message:`Closed ${d.trimmed} idle database connection${1===d.trimmed?"":"s"} (pool ${d.total}/15)`,resourceId:null,actorUserId:a.userId}).catch(()=>console.warn("audit event failed")),(0,c.refresh)(),{ok:!0,message:`Closed ${d.trimmed} idle connection${1===d.trimmed?"":"s"}.`}},r)}async function t(){await s()}(0,q.ensureServerEntryExports)([s,t]),(0,b.registerServerReference)(s,"00fc280a4ca8d5954eda59a7301fdb37c8f2bc0287",null),(0,b.registerServerReference)(t,"00b5cb81ad80d7ff41497d8369216088c980f0df70",null),a.s(["w",0,s,"n",0,t],953685)}];
|
|
9
9
|
|
|
10
10
|
//# sourceMappingURL=src_app_%28console%29_supabase_pool-actions_ts_0nzd4vwy_9zzx._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[[180626,a=>{let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call MaintenanceDialog() from the server but MaintenanceDialog is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/uptime/maintenance-dialog.tsx","MaintenanceDialog");a.s(["MaintenanceDialog",0,b])},739243,a=>{var b=a.i(180626);a.n(b)},725849,a=>{let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call MaintenanceMenu() from the server but MaintenanceMenu is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/uptime/maintenance-menu.tsx","MaintenanceMenu");a.s(["MaintenanceMenu",0,b])},
|
|
1
|
+
module.exports=[[180626,a=>{let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call MaintenanceDialog() from the server but MaintenanceDialog is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/uptime/maintenance-dialog.tsx","MaintenanceDialog");a.s(["MaintenanceDialog",0,b])},739243,a=>{var b=a.i(180626);a.n(b)},725849,a=>{let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call MaintenanceMenu() from the server but MaintenanceMenu is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/uptime/maintenance-menu.tsx","MaintenanceMenu");a.s(["MaintenanceMenu",0,b])},778666,a=>{var b=a.i(725849);a.n(b)},287563,a=>{let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call MonitorDialog() from the server but MonitorDialog is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/uptime/monitor-dialog.tsx","MonitorDialog");a.s(["MonitorDialog",0,b])},215312,a=>{var b=a.i(287563);a.n(b)},244293,a=>{let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call MonitorMenu() from the server but MonitorMenu is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(console)/uptime/monitor-menu.tsx","MonitorMenu");a.s(["MonitorMenu",0,b])},538793,a=>{var b=a.i(244293);a.n(b)},713064,a=>{var b=a.i(907997),c=a.i(252302),d=a.i(649247),e=a.i(803681),f=a.i(959581),g=a.i(685865),h=a.i(154756),i=a.i(954296),j=a.i(686251),k=a.i(605826),l=a.i(421911),m=a.i(791444),n=a.i(109307),o=a.i(462820),p=a.i(714530),q=a.i(895176),r=a.i(149396),s=a.i(767163),t=a.i(519051),u=a.i(371289),v=a.i(245710),w=a.i(139138),x=a.i(469762),y=a.i(505237),z=a.i(968715),A=a.i(739243),B=a.i(778666),C=a.i(215312),D=a.i(570845),E=a.i(538793),F=a.i(701702);let G="font-mono text-[12.5px]",H=["Monitor","Status",(0,b.jsxs)("span",{children:["Last 90 days",(0,b.jsx)(i.Src,{kind:"calc"})]},"bars"),"Uptime","Response","Interval",""],I=[["Up","ok"],["Degraded","warn"],["Down","err"],["Maintenance","maint"],["Paused","paused"]],J=["Applies to","When","Note","Status",""];async function K(){let a=await (0,n.I)(),i=new Date,K=(0,y.z)(a.role),[L,M,N,O]=await Promise.all([(0,q.d)(i),K?(0,q.b)():Promise.resolve([]),(0,p.A)(),(0,r.u)()]),P=L.map(a=>({m:a,s:(0,y.M)(a,(0,t.x)(N,{monitorId:a.id,appId:a.appId},i),i)})),Q=(0,z.j)(P.map(({m:a,s:b})=>({state:b.state,appGone:a.appGone}))),R=P.map(({m:a,s:d})=>{let f,g="heartbeat"===a.kind,k=g?null:a.bodyContains??(a.jsonPath?`JSON ${a.jsonPath} equals "${a.jsonEquals??""}"`:null),l=g?`${a.appName} \xb7 ${a.path}`:`${a.appName}${a.path}`;return{key:a.id,state:d.state,text:[l,g?"Heartbeat":k?"Keyword":"",O.has(a.id)?"Public":"",d.label,(0,x.C)(a.uptime30)].join(" "),row:(0,b.jsxs)("tr",{className:m.C,children:[(0,b.jsx)("td",{className:m.z,children:(0,b.jsxs)("span",{className:"inline-flex items-center gap-[7px]",children:[(0,b.jsx)(h.g,{kind:"mon"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(F.Masked,{kind:"app",real:a.appName}),(0,b.jsx)("span",{className:"text-ink-faint",children:g?` \xb7 ${a.path}`:a.path})]}),g&&(0,b.jsx)(e.E,{children:"Heartbeat"}),k&&(0,b.jsx)("span",{title:k,children:(0,b.jsx)(e.E,{children:"Keyword"})}),O.has(a.id)&&(0,b.jsx)("span",{title:"Shown on the public status page",children:(0,b.jsx)(e.E,{children:"Public"})})]})}),(0,b.jsx)("td",{className:m.z,children:a.move&&!a.appGone&&"warn"===d.state?(0,b.jsx)(D.DomainMoved,{monitorId:a.id,from:a.move.from,to:a.move.to,canAct:K}):(0,b.jsx)(j.F,{state:d.state,children:d.label})}),(0,b.jsx)("td",{className:m.z,children:(0,b.jsx)(c.n,{bars:(0,z.h)(a.days,i)})}),(0,b.jsx)("td",{className:(0,w.f)(m.z,G),children:(0,x.C)(a.uptime30)}),(0,b.jsx)("td",{className:(0,w.f)(m.z,G),children:g||"err"===a.state||null===a.lastLatencyMs?"—":`${a.lastLatencyMs} ms`}),(0,b.jsx)("td",{className:(0,w.f)(m.z,"text-ink-soft"),children:"heartbeat"===(f=a).kind?`${(0,s.v)(f.periodS??3600)} + ${(0,s.v)(f.graceS??600)}`:`${Math.max(1,Math.round(f.intervalS/60))} min`}),(0,b.jsx)("td",{className:m.z,children:K&&(0,b.jsx)(E.MonitorMenu,{monitor:{id:a.id,appName:a.appName,path:a.path,url:a.url,expectedStatus:a.expectedStatus,timeoutMs:a.timeoutMs,bodyContains:a.bodyContains,jsonPath:a.jsonPath,jsonEquals:a.jsonEquals,ownerPaused:a.ownerPaused,kind:a.kind,name:a.name,periodS:a.periodS,graceS:a.graceS}})})]})}}),S={apps:M.map(a=>({id:a.id,name:a.name})),monitors:L.filter(a=>!a.appGone).map(a=>({id:a.id,label:"heartbeat"===a.kind?`${a.appName} \xb7 ${a.path}`:`${a.appName}${a.path}`}))},T=N.map(a=>{let c=(0,t.y)(a,i);return{key:a.id,state:c.status.state,text:[a.target,c.when,a.note??""].join(" "),row:(0,b.jsxs)("tr",{className:m.C,children:[(0,b.jsx)("td",{className:m.z,children:(0,b.jsx)(F.MaskedText,{text:a.target})}),(0,b.jsx)("td",{className:m.z,children:c.when}),(0,b.jsx)("td",{className:(0,w.f)(m.z,m.M,"text-ink-soft"),children:a.note?(0,b.jsx)(F.MaskedText,{text:a.note}):"—"}),(0,b.jsx)("td",{className:m.z,children:(0,b.jsx)(j.F,{state:c.status.state,children:c.status.text})}),(0,b.jsx)("td",{className:m.z,children:K&&(0,b.jsx)(B.MaintenanceMenu,{win:a,options:S})})]})}});return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(g.AutoRefresh,{at:i.getTime()}),(0,b.jsx)(e.L,{crumbs:[{label:"Hosting"},{label:"Uptime"}],title:"Uptime",sub:(0,u.r)()?o.V.sub.cloud:o.V.sub.selfhost,actions:K?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(l.RefreshButton,{}),(0,b.jsx)(A.MaintenanceDialog,{mode:"add",options:S}),(0,b.jsx)(C.MonitorDialog,{mode:"add",apps:M})]}):void 0}),(0,b.jsx)("div",{className:"grid grid-cols-1 gap-4 min-[721px]:grid-cols-2 min-[1281px]:grid-cols-5",children:I.map(([a,c])=>(0,b.jsx)(e.N,{title:a,children:(0,b.jsx)("span",{className:"text-[26px] font-semibold tracking-[-0.02em]",children:Q[c]})},a))}),(0,b.jsx)(e.N,{flush:!0,children:0===L.length?(0,b.jsx)(d.x,{canAct:K}):(0,b.jsx)(f.ListFilter,{placeholder:"Filter by name",states:y.g,head:H,rows:R})}),(0,b.jsxs)(e.N,{title:"Maintenance windows",flush:!0,children:[(0,b.jsxs)("p",{className:"mx-[18px] mb-2.5 text-[12.5px] text-ink-soft",children:["Checks keep running inside a window, but they are left out of uptime % and open no alerts. ",(0,v.n)()]}),T.length?(0,b.jsx)(k.PlainTable,{head:J,rows:T}):(0,b.jsxs)("p",{className:"mx-[18px] mb-4 text-[13px] text-ink-faint",children:["No maintenance windows.",K?" Add one before planned work, so it doesn't count as downtime.":""]})]})]})}a.s(["default",0,K,"maxDuration",0,30])}],603768,function(a){a.n(a.i(713064))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_app_%28console%29_uptime_148phfjye0539._.js.map
|