vite-hub 0.5.0 → 0.5.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/dist/_internal/runtime/browser-errors.d.ts +0 -2
- package/dist/_internal/runtime/browser-errors.js +3 -4
- package/dist/_internal/runtime/redirects.d.ts +1 -2
- package/dist/_internal/runtime/redirects.js +2 -3
- package/dist/_internal/runtime/request-policy.d.ts +1 -2
- package/dist/_internal/runtime/request-policy.js +2 -3
- package/dist/_internal/runtime/security.d.ts +1 -2
- package/dist/_internal/runtime/security.js +1 -2
- package/dist/{access-BC9HtX_M.js → access-BBHk9b5P.js} +12 -15
- package/dist/{access-policy-CVZg9LPR.js → access-policy-BM48XstY.js} +5 -6
- package/dist/{access-policy-DhsEACna.d.ts → access-policy-CUbJLvlR.d.ts} +4 -8
- package/dist/{account-Cjj-tYzo.d.ts → account-CoAO1F8G.d.ts} +5 -7
- package/dist/{agent-invocations.post-C3Onl2yH.js → agent-invocations.post-BAC1aHnG.js} +14 -17
- package/dist/agents-BClUWOj7.js +1 -0
- package/dist/{agents-B76RICcy.js → agents-Cz_uhhov.js} +4 -5
- package/dist/{agents-C94A4N9u.d.ts → agents-Gyw4VKPt.d.ts} +0 -2
- package/dist/auth/server.js +1 -2
- package/dist/{auth-GFIN6xSJ.d.ts → auth-CeKxL2xp.d.ts} +4 -8
- package/dist/{auth-operations-GcQk0O0X.js → auth-operations-arLIY2_2.js} +1 -2
- package/dist/{auth-types-D3ugQ8xM.d.ts → auth-types-B4mq4YhK.d.ts} +0 -4
- package/dist/bin.js +8 -11
- package/dist/blob/nuxt-image.js +1 -2
- package/dist/{blob-iVewd7KQ.d.ts → blob-_TtxDb-t.d.ts} +1 -3
- package/dist/{blob-BcgsZtqM.js → blob-eH6j0AQj.js} +5 -6
- package/dist/{browser-error-limits-CToqAD-O.js → browser-error-limits-B0yS95zt.js} +2 -4
- package/dist/cache/operations.d.ts +2 -4
- package/dist/cache/operations.js +3 -4
- package/dist/cache.d.ts +1 -3
- package/dist/cache.js +2 -3
- package/dist/{cli-config-FPHk1nbC.js → cli-config-BX8H4ZCo.js} +2 -3
- package/dist/cli-config-DgpmE_7z.js +1 -0
- package/dist/{cloudflare-env-lookup-DKXdr4P_.js → cloudflare-env-lookup-DcN7pGlv.js} +1 -2
- package/dist/cms.js +1 -2
- package/dist/console/auth-types.d.ts +1 -1
- package/dist/console/auth.d.ts +1 -3
- package/dist/console/auth.js +2 -3
- package/dist/console/runtime/auth-operations.d.ts +1 -3
- package/dist/console/runtime/auth-operations.js +1 -2
- package/dist/console/runtime/client/account-views.d.ts +1 -3
- package/dist/console/runtime/client/account-views.js +1 -2
- package/dist/console/runtime/client/account.d.ts +1 -1
- package/dist/console/runtime/client/account.js +29 -45
- package/dist/console/runtime/client/appearance.d.ts +1 -2
- package/dist/console/runtime/client/appearance.js +1 -2
- package/dist/console/runtime/client/blob-media.d.ts +2 -4
- package/dist/console/runtime/client/blob-media.js +5 -6
- package/dist/console/runtime/client/comment-thread.d.ts +1 -3
- package/dist/console/runtime/client/comment-thread.js +3 -4
- package/dist/console/runtime/client/content-heads.d.ts +1 -2
- package/dist/console/runtime/client/content-heads.js +2 -3
- package/dist/console/runtime/client/documents.d.ts +2 -2
- package/dist/console/runtime/client/documents.js +1 -2
- package/dist/console/runtime/client/editor.d.ts +3 -5
- package/dist/console/runtime/client/editor.js +1 -2
- package/dist/console/runtime/client/env-groups.d.ts +1 -3
- package/dist/console/runtime/client/env-groups.js +1 -2
- package/dist/console/runtime/client/env-status.d.ts +1 -3
- package/dist/console/runtime/client/env-status.js +1 -2
- package/dist/console/runtime/client/format.d.ts +1 -3
- package/dist/console/runtime/client/format.js +1 -2
- package/dist/console/runtime/client/invocation-deletion.d.ts +1 -2
- package/dist/console/runtime/client/invocation-deletion.js +1 -2
- package/dist/console/runtime/client/invocation.d.ts +1 -2
- package/dist/console/runtime/client/invocation.js +4 -5
- package/dist/console/runtime/client/live.d.ts +2 -4
- package/dist/console/runtime/client/live.js +1 -2
- package/dist/console/runtime/client/mcp-client.d.ts +6 -4
- package/dist/console/runtime/client/mcp-client.js +12 -5
- package/dist/console/runtime/client/media-library.d.ts +1 -1
- package/dist/console/runtime/client/media-library.js +1 -2
- package/dist/console/runtime/client/media-uploads.d.ts +2 -4
- package/dist/console/runtime/client/media-uploads.js +2 -3
- package/dist/console/runtime/client/media.d.ts +1 -1
- package/dist/console/runtime/client/media.js +1 -2
- package/dist/console/runtime/client/operation-view.d.ts +2 -4
- package/dist/console/runtime/client/operation-view.js +4 -5
- package/dist/console/runtime/client/presence.d.ts +2 -4
- package/dist/console/runtime/client/presence.js +1 -2
- package/dist/console/runtime/client/preview.d.ts +1 -3
- package/dist/console/runtime/client/preview.js +1 -2
- package/dist/console/runtime/client/problem.d.ts +2 -4
- package/dist/console/runtime/client/problem.js +3 -4
- package/dist/console/runtime/client/project-link.d.ts +1 -1
- package/dist/console/runtime/client/project-link.js +1 -2
- package/dist/console/runtime/client/project-session.d.ts +19 -10
- package/dist/console/runtime/client/project-session.js +1 -723
- package/dist/console/runtime/client/project.d.ts +1 -3
- package/dist/console/runtime/client/project.js +1 -2
- package/dist/console/runtime/client/projects.d.ts +1 -1
- package/dist/console/runtime/client/projects.js +1 -2
- package/dist/console/runtime/client/publish.d.ts +2 -4
- package/dist/console/runtime/client/publish.js +1 -2
- package/dist/console/runtime/client/rate-limit.d.ts +1 -3
- package/dist/console/runtime/client/rate-limit.js +3 -4
- package/dist/console/runtime/client/read-only.d.ts +2 -4
- package/dist/console/runtime/client/read-only.js +2 -3
- package/dist/console/runtime/client/request.d.ts +1 -1
- package/dist/console/runtime/client/request.js +1 -2
- package/dist/console/runtime/client/route-query.d.ts +4 -5
- package/dist/console/runtime/client/route-query.js +1 -2
- package/dist/console/runtime/client/schedule-run.d.ts +1 -3
- package/dist/console/runtime/client/schedule-run.js +3 -4
- package/dist/console/runtime/client/schema-form.d.ts +1 -1
- package/dist/console/runtime/client/schema-form.js +1 -2
- package/dist/console/runtime/client/sections.d.ts +1 -1
- package/dist/console/runtime/client/sections.js +1 -2
- package/dist/console/runtime/client/site-access.d.ts +40 -12
- package/dist/console/runtime/client/site-access.js +152 -32
- package/dist/console/runtime/client/stored.d.ts +1 -3
- package/dist/console/runtime/client/stored.js +1 -2
- package/dist/console/runtime/client/ticket.d.ts +1 -1
- package/dist/console/runtime/client/ticket.js +1 -2
- package/dist/console/runtime/client/toast.d.ts +1 -3
- package/dist/console/runtime/client/toast.js +1 -2
- package/dist/console/runtime/client/workflow.d.ts +1 -3
- package/dist/console/runtime/client/workflow.js +3 -4
- package/dist/console/runtime/components/console-account-home.vue +9 -7
- package/dist/console/runtime/components/console-account-link.vue +8 -5
- package/dist/console/runtime/components/console-account-setup.vue +10 -7
- package/dist/console/runtime/components/console-account-shell.vue +7 -2
- package/dist/console/runtime/components/console-account-unlink.vue +2 -3
- package/dist/console/runtime/components/console-app-settings.vue +8 -2
- package/dist/console/runtime/components/console-hosted-comments-embed.vue +106 -0
- package/dist/console/runtime/components/console-mcp-callback.vue +6 -1
- package/dist/console/runtime/components/console-mcp-items.vue +3 -16
- package/dist/console/runtime/components/console-site.vue +10 -8
- package/dist/console/runtime/console-route.d.ts +1 -3
- package/dist/console/runtime/console-route.js +1 -2
- package/dist/console/runtime/definitions.d.ts +1 -1
- package/dist/console/runtime/definitions.js +1 -2
- package/dist/console/runtime/diagnostics.ts +7 -0
- package/dist/console/runtime/mcp-client.d.ts +1 -1
- package/dist/console/runtime/mcp-client.js +1 -2
- package/dist/console/runtime/page/loader.js +22 -21
- package/dist/console/runtime/page-tool/account.js +26 -0
- package/dist/console/runtime/page-tool/page-tool.js +2 -2
- package/dist/console/runtime/rpc.d.ts +1 -1
- package/dist/console/runtime/rpc.js +1 -2
- package/dist/console/runtime/sections.d.ts +1 -1
- package/dist/console/runtime/sections.js +1 -2
- package/dist/console/runtime/server/access-policy.d.ts +1 -1
- package/dist/console/runtime/server/access-policy.js +1 -2
- package/dist/console/runtime/server/agents.get.d.ts +2 -3
- package/dist/console/runtime/server/agents.get.js +3 -4
- package/dist/console/runtime/server/auth.d.ts +1 -1
- package/dist/console/runtime/server/auth.js +4 -5
- package/dist/console/runtime/server/blob.d.ts +1 -1
- package/dist/console/runtime/server/blob.js +1 -2
- package/dist/console/runtime/server/channel-replay.d.ts +3 -5
- package/dist/console/runtime/server/channel-replay.js +5 -6
- package/dist/console/runtime/server/database.d.ts +1 -1
- package/dist/console/runtime/server/database.get.d.ts +2 -3
- package/dist/console/runtime/server/database.get.js +4 -5
- package/dist/console/runtime/server/database.js +1 -2
- package/dist/console/runtime/server/definitions.d.ts +1 -1
- package/dist/console/runtime/server/definitions.get.d.ts +4 -6
- package/dist/console/runtime/server/definitions.get.js +5 -6
- package/dist/console/runtime/server/definitions.js +1 -2
- package/dist/console/runtime/server/development.d.ts +1 -1
- package/dist/console/runtime/server/development.js +1 -2
- package/dist/console/runtime/server/documents.d.ts +1 -1
- package/dist/console/runtime/server/documents.js +2 -2
- package/dist/console/runtime/server/env.d.ts +1 -3
- package/dist/console/runtime/server/env.get.d.ts +2 -4
- package/dist/console/runtime/server/env.get.js +7 -8
- package/dist/console/runtime/server/env.js +1 -2
- package/dist/console/runtime/server/invocation-capabilities.get.d.ts +1 -3
- package/dist/console/runtime/server/invocation-capabilities.get.js +4 -5
- package/dist/console/runtime/server/invocation-workspace.get.d.ts +3 -5
- package/dist/console/runtime/server/invocation-workspace.get.js +6 -7
- package/dist/console/runtime/server/invocation.get.d.ts +3 -5
- package/dist/console/runtime/server/invocation.get.js +8 -9
- package/dist/console/runtime/server/invocations.get.d.ts +1 -2
- package/dist/console/runtime/server/invocations.get.js +5 -6
- package/dist/console/runtime/server/logs.get.d.ts +3 -5
- package/dist/console/runtime/server/logs.get.js +7 -8
- package/dist/console/runtime/server/mcp-client-operations.d.ts +2 -4
- package/dist/console/runtime/server/mcp-client-operations.js +5 -7
- package/dist/console/runtime/server/operation-contributions.d.ts +1 -1
- package/dist/console/runtime/server/operation-contributions.js +1 -2
- package/dist/console/runtime/server/page-auth.d.ts +2 -4
- package/dist/console/runtime/server/page-auth.js +1 -2
- package/dist/console/runtime/server/page-tool.d.ts +1 -1
- package/dist/console/runtime/server/page-tool.js +5 -5
- package/dist/console/runtime/server/page-tools-route.d.ts +1 -1
- package/dist/console/runtime/server/page-tools-route.js +2 -3
- package/dist/console/runtime/server/rpc.d.ts +3 -5
- package/dist/console/runtime/server/rpc.js +12 -13
- package/dist/console/runtime/server/runtime.d.ts +1 -1
- package/dist/console/runtime/server/runtime.js +1 -2
- package/dist/console/runtime/server/search.get.d.ts +1 -3
- package/dist/console/runtime/server/search.get.js +3 -5
- package/dist/console/runtime/server/sections.d.ts +5 -5
- package/dist/console/runtime/server/sections.get.d.ts +1 -1
- package/dist/console/runtime/server/sections.get.js +8 -9
- package/dist/console/runtime/server/sections.js +6 -6
- package/dist/console/runtime/server/setup.d.ts +4 -4
- package/dist/console/runtime/server/setup.js +4 -4
- package/dist/console/runtime/server/site-entry.d.ts +1 -3
- package/dist/console/runtime/server/site-entry.js +9 -10
- package/dist/console/runtime/server/site-session.d.ts +3 -4
- package/dist/console/runtime/server/site-session.js +1 -2
- package/dist/console/runtime/server/status.get.d.ts +2 -4
- package/dist/console/runtime/server/status.get.js +6 -7
- package/dist/console/runtime/server/tickets.d.ts +1 -1
- package/dist/console/runtime/server/tickets.js +1 -2
- package/dist/console/runtime/server/usage.get.d.ts +2 -4
- package/dist/console/runtime/server/usage.get.js +8 -9
- package/dist/console/runtime/server/workspace-files.get.d.ts +3 -5
- package/dist/console/runtime/server/workspace-files.get.js +4 -5
- package/dist/console/runtime/site-access.d.ts +1 -1
- package/dist/console/runtime/site-access.js +1 -2
- package/dist/console/runtime/skills.d.ts +1 -3
- package/dist/console/runtime/skills.js +1 -2
- package/dist/console/server.d.ts +7 -11
- package/dist/console/server.js +8 -8
- package/dist/console/ui.d.ts +0 -10
- package/dist/console/ui.js +14 -27
- package/dist/console-lazy-views-VEjcbL4Q.js +1 -0
- package/dist/{console-route-CM2G5hiC.js → console-route-DbdnLkkF.js} +2 -3
- package/dist/console.d.ts +1 -3
- package/dist/console.js +1 -2
- package/dist/{database-DC67Ipm-.d.ts → database-CPjZ3L0g.d.ts} +1 -3
- package/dist/{database-UMJgnU2z.js → database-CrgBUdIx.js} +3 -4
- package/dist/{definition-catalog-BUcclwSH.js → definition-catalog-1xPPtzOx.js} +3 -4
- package/dist/definition-catalog-M5ua7JRS.js +1 -0
- package/dist/{definitions-BW6SvmMM.js → definitions-BFYqXchw.js} +1 -2
- package/dist/{definitions-DB4LbZ7T.d.ts → definitions-ChvMnA1L.d.ts} +0 -2
- package/dist/{definitions-Dbgxfz3I.d.ts → definitions-DRkgHKmk.d.ts} +1 -3
- package/dist/{definitions-DTytrw42.js → definitions-M7i2p8SR.js} +5 -6
- package/dist/{deployment-BUshgN5Q.js → deployment-CURATxjG.js} +2 -3
- package/dist/deployment-l7RuKdEp.js +1 -0
- package/dist/{dev-peer-CHjyHYG6.js → dev-peer-DBq-isgi.js} +3 -5
- package/dist/{development-zLxOp-AO.js → development-DD567hhJ.js} +2 -3
- package/dist/{development-RnopiRwK.d.ts → development-I40mfD7B.d.ts} +1 -3
- package/dist/{diagnostics-DtR0TAmq.js → diagnostics-B2cqlCSz.js} +2 -2
- package/dist/{diagnostics-CjGiniKb.d.ts → diagnostics-BXxPggRw.d.ts} +1 -3
- package/dist/docs/nuxt.js +1 -2
- package/dist/doctor.d.ts +0 -6
- package/dist/doctor.js +11492 -12152
- package/dist/{documents-BewAPY61.js → documents-BOYwZ5g4.js} +7 -8
- package/dist/{documents-B4R4JSfH.js → documents-Ck_iub9w.js} +4 -5
- package/dist/{documents-BASIRZ91.d.ts → documents-DxK0tdjA.d.ts} +3 -5
- package/dist/{documents-BDR0AkYR.d.ts → documents-LtkKCxtu.d.ts} +4 -8
- package/dist/durability/operations.d.ts +2 -4
- package/dist/durability/operations.js +3 -4
- package/dist/{entries-DbyNPLC9.js → entries-UFs9n1MB.js} +2 -3
- package/dist/{env-Dg1I_DWr.js → env-D-wtSupz.js} +2 -3
- package/dist/{error-diagnostics-B1yAIaSn.js → error-diagnostics-CBtvqI30.js} +2 -7
- package/dist/{error-diagnostics-C0KyI408.js → error-diagnostics-kKXseq8d.js} +5 -2
- package/dist/error-diagnostics.ts +1 -7
- package/dist/{features-CC5OcZqJ.js → features-BXRKlmtN.js} +5 -6
- package/dist/features-CD5i5I8V.js +1 -0
- package/dist/{format-BOYlanIZ.js → format-Df-bS4Ly.js} +1 -2
- package/dist/{github-login-Bi3bfjRX.js → github-login-W-vaahWP.js} +1 -2
- package/dist/{host-CkL0jjBq.js → host-DeNPYIeV.js} +1 -2
- package/dist/{http-error-Bs6e8_-8.js → http-error-BorAxJYM.js} +1 -2
- package/dist/index.d.ts +1 -7
- package/dist/index.js +5 -7
- package/dist/{inspect-DbZuP_7b.js → inspect-CWwAuL-B.js} +2 -3
- package/dist/internal/agent-invocations-libsql.js +1 -2
- package/dist/internal/disabled-redis-driver.d.ts +1 -3
- package/dist/internal/disabled-redis-driver.js +2 -3
- package/dist/internal/disabled-upstash-driver.d.ts +1 -3
- package/dist/internal/disabled-upstash-driver.js +2 -3
- package/dist/internal/test-loader.d.ts +1 -3
- package/dist/internal/test-loader.js +2 -3
- package/dist/internal/test-server.js +2 -3
- package/dist/{internal-BreyUsQ6.js → internal-0C_CC601.js} +1 -2
- package/dist/{internal-Cc9N0shU.d.ts → internal-CKocv79I.d.ts} +3 -7
- package/dist/{invariant-DolT9EEx.js → invariant-Dj2R1eMr.js} +1 -2
- package/dist/{invocation-page-undo-DqYcPlkQ.js → invocation-page-undo-BEi-rO0Q.js} +4 -5
- package/dist/{invocations-6jxqLkGY.js → invocations-8NThe8Bx.js} +5 -6
- package/dist/{limits-BUlwWYQE.js → limits-BLo31qDR.js} +1 -2
- package/dist/logs/client.d.ts +1 -3
- package/dist/logs/client.js +1 -2
- package/dist/logs/host.d.ts +2 -4
- package/dist/logs/host.js +1 -2
- package/dist/logs/memory.d.ts +1 -1
- package/dist/logs/memory.js +1 -2
- package/dist/logs/source.d.ts +1 -1
- package/dist/logs/source.js +1 -2
- package/dist/logs.d.ts +2 -2
- package/dist/logs.js +2 -2
- package/dist/{mcp-client-CTbTbn7d.js → mcp-client-Bkh-khvr.js} +1 -2
- package/dist/{mcp-client-C91h8Taa.js → mcp-client-DiObFpDS.js} +35 -22
- package/dist/{mcp-client-C_sEmyQw.d.ts → mcp-client-Q2XbUXuP.d.ts} +1 -4
- package/dist/{media-uKX4Wy-c.d.ts → media-C79RB1oH.d.ts} +0 -2
- package/dist/{media-D3OfyKni.js → media-CAKz9yrp.js} +8 -9
- package/dist/{media-library-o8RRsnn_.js → media-library-BDX89xXA.js} +5 -6
- package/dist/{media-library-D9ThbXqs.d.ts → media-library-DxGu6w9z.d.ts} +0 -2
- package/dist/{memory-C54SDH_l.js → memory-D3EJS_Bp.js} +3 -4
- package/dist/{memory-2bbl4hcV.d.ts → memory-GK5ZGWrp.d.ts} +1 -3
- package/dist/{nuxt-server-auto-imports-cfTZYvgy.js → nuxt-server-auto-imports-4aT5BD4u.js} +1 -2
- package/dist/{nuxt-server-imports-75bWMeXc.js → nuxt-server-imports-BdJqiVhT.js} +1 -2
- package/dist/nuxt.d.ts +1 -3
- package/dist/nuxt.js +184 -130
- package/dist/{object-D8pRdprI.js → object-DRSmpe04.js} +1 -2
- package/dist/{operation-contributions-CrdmqtJW.d.ts → operation-contributions-BCcQVlGb.d.ts} +1 -3
- package/dist/{operation-contributions-C3lwePQu.js → operation-contributions-D10pjkJF.js} +4 -5
- package/dist/{operation-definition-DxjKcCGm.js → operation-definition-DTpNvLd8.js} +5 -8
- package/dist/{operation-registry-BogGwk_I.js → operation-registry-DfQbL7vE.js} +1 -2
- package/dist/{operation-rpc-DI9txNxK.js → operation-rpc-BMdfapja.js} +3 -4
- package/dist/{operations-CFYGXqLm.js → operations-CD_mu_Ww.js} +4 -5
- package/dist/operations-D7ENc68Y.js +1 -0
- package/dist/{operations-TTjL_7Zc.d.ts → operations-DgFhA1WE.d.ts} +0 -4
- package/dist/{operations-ChEXk2ij.js → operations-vRLiH7dh.js} +15 -16
- package/dist/{optional-owners-O6sj4uoj.js → optional-owners-DAfShdgV.js} +4 -5
- package/dist/{out-fRNaVslw.js → out-Cw5Tvr92.js} +2933 -2301
- package/dist/{owned-paths-BnjT0FhU.js → owned-paths-MjjDftBn.js} +1 -2
- package/dist/page/pill.iife.js +2 -2
- package/dist/{page-tool-PmxH65gt.d.ts → page-tool-BUnUbuSy.d.ts} +4 -6
- package/dist/{page-tools-ClgqElu-.js → page-tools-BQzwuAHD.js} +5 -7
- package/dist/{page-tools-DcCCtDKi.d.ts → page-tools-UwsfvH-B.d.ts} +0 -2
- package/dist/{page-tools-shared-aNC9YtoI.js → page-tools-shared-hJcG_xk8.js} +2 -2
- package/dist/{pathe.M-eThtNZ-J4gfe1m9.js → pathe.M-eThtNZ-D4EC7Wue.js} +1 -2
- package/dist/{plugins-DoXnU6-s.d.ts → plugins-BpiTVULl.d.ts} +3 -101
- package/dist/{plugins-BTZQaFtZ.js → plugins-H6-MQrsn.js} +1544 -1087
- package/dist/presets/workspace.js +1 -2
- package/dist/{project-DXZRZEPX.js → project-BxyyclTE.js} +8 -9
- package/dist/{project-Dgyq1F1V.d.ts → project-DKBIHOf4.d.ts} +3 -7
- package/dist/{project-DlWTGB7h.js → project-DRC67Uiu.js} +1 -2
- package/dist/{project-link-DT99MoyU.js → project-link-CeS0T8Pr.js} +7 -8
- package/dist/{project-link-bNS-KROO.d.ts → project-link-isfdRO3Q.d.ts} +2 -4
- package/dist/{project-root-v6ba4tn7.js → project-root-mAVQGZTX.js} +1 -2
- package/dist/project-session--GN7MduT.js +764 -0
- package/dist/{projects-CAcXztf4.js → projects-BRp0iseV.js} +1 -2
- package/dist/{projects-Ddvl9EJp.d.ts → projects-mgPxrKZr.d.ts} +0 -2
- package/dist/{registry-zw6aE2N9.js → registry-B8JE5NY-.js} +1 -2
- package/dist/{registry-CDKLACCZ.js → registry-CnPC-gNu.js} +1 -2
- package/dist/{request-D7h3SQ92.d.ts → request-BC_krbEr.d.ts} +2 -4
- package/dist/{request-SBLxvpyr.d.ts → request-CJCPyu2B.d.ts} +2 -3
- package/dist/{request-CMA2UKKq.js → request-CQ8TkHLh.js} +4 -5
- package/dist/{request-Cs0FqxEL.js → request-Cl68STwT.js} +7 -8
- package/dist/{request-origin-COUkgHd6.js → request-origin-pzWr9UUu.js} +1 -2
- package/dist/{rolldown-runtime-CMFfr-1z.js → rolldown-runtime-DegdyBIC.js} +2 -3
- package/dist/{route-query-CRVWXIrc.js → route-query-BWVl6ZO6.js} +4 -5
- package/dist/{rpc-DIUA61pv.js → rpc-D3tsx5lZ.js} +1 -2
- package/dist/{rpc-7nlHSv3y.d.ts → rpc-oijgKQtD.d.ts} +0 -2
- package/dist/{runtime-YLWfdrtO.js → runtime-CAbuQGMP.js} +3 -4
- package/dist/{runtime-B-46Bawt.js → runtime-CRJsqVTa.js} +2 -3
- package/dist/{runtime-B_btezs1.d.ts → runtime-Cf8R1Ztr.d.ts} +0 -2
- package/dist/{runtime-DxfJOfCd.js → runtime-CyPZMiyK.js} +2 -3
- package/dist/{runtime-CX_l_78I.js → runtime-F0CTqBFx.js} +5 -6
- package/dist/{runtime-feature-guard-CuyPVGj9.js → runtime-feature-guard-DpUn4Oxc.js} +6 -7
- package/dist/scan-module-B1A24jqP.js +1 -0
- package/dist/{scan-module-Df58L_6T.js → scan-module-BfZvDBxb.js} +2 -4
- package/dist/{schema-form-C-fy3xaU.d.ts → schema-form-Bl79Bdm-.d.ts} +0 -2
- package/dist/{secret-DELGKpCJ.js → secret-D2KL_o2h.js} +2 -3
- package/dist/{sections-Do7X4Nwt.d.ts → sections-0qrBvGbf.d.ts} +0 -4
- package/dist/{sections-C83x0slv.js → sections-BNTdIEJw.js} +2 -3
- package/dist/{sections-BogiCmtz.d.ts → sections-BTfWK14a.d.ts} +4 -6
- package/dist/{sections-DumoLKQN.js → sections-BiCOk9qP.js} +1 -2
- package/dist/sections-DAtgYMVz.d.ts +8 -0
- package/dist/{sections-BKUReack.js → sections-HLxb9MrG.js} +14 -7
- package/dist/{sections.get-H46e2urg.d.ts → sections.get-CGmtYmfu.d.ts} +2 -4
- package/dist/seo/runtime.d.ts +2 -5
- package/dist/seo/runtime.js +3 -5
- package/dist/{seo-CtLywyRx.d.ts → seo-CgW5uI9L.d.ts} +0 -2
- package/dist/seo.d.ts +1 -1
- package/dist/seo.js +1 -2
- package/dist/{server-W0c79AYZ.js → server-DsOEa4_A.js} +3 -4
- package/dist/{setup-BC0P3eZy.d.ts → setup-Ca7jtBLS.d.ts} +4 -6
- package/dist/{setup-DNGzawFn.js → setup-DQz_i-ee.js} +3 -4
- package/dist/{site-access-L1qbvKt6.js → site-access-1JIQjY11.js} +8 -9
- package/dist/{site-access-DxfdOel1.d.ts → site-access-CUXIbbbR.d.ts} +0 -2
- package/dist/{site-access-BycrwM2v.js → site-access-CmaZ-oaL.js} +1 -2
- package/dist/site-access-Cvmjb6aw.js +1 -0
- package/dist/{site-session-CRwgKtTF.js → site-session-D36fr7Wf.js} +8 -11
- package/dist/skills/operations.d.ts +1 -5
- package/dist/skills/operations.js +4 -5
- package/dist/{skills-DdpSMiCI.js → skills-C1MaGEbO.js} +1 -2
- package/dist/skills.d.ts +1 -2
- package/dist/{skills.get-CRd06TTb.js → skills.get-DAooGWy5.js} +3 -4
- package/dist/skills.js +1 -2
- package/dist/{source-Cw3iYvJF.js → source-DYFndd0W.js} +2 -3
- package/dist/{source-S-LChQvw.d.ts → source-DemBtwla.d.ts} +0 -2
- package/dist/{stored-Dhv2qsQv.js → stored-J3TetMKf.js} +1 -2
- package/dist/task/operations.d.ts +1 -5
- package/dist/task/operations.js +3 -4
- package/dist/test/register.js +2 -3
- package/dist/test.d.ts +0 -4
- package/dist/test.js +1 -2
- package/dist/{ticket-Pr_8ZtXW.d.ts → ticket-BFWwevWN.d.ts} +0 -2
- package/dist/{ticket-DtBAstEU.js → ticket-BwsnryuU.js} +2 -3
- package/dist/{tickets-DahBmKDT.js → tickets-Cj9_y3gw.js} +10 -11
- package/dist/ui/vite.js +1 -2
- package/dist/{usage-CoQXs5nW.d.ts → usage-BduF04ks.d.ts} +0 -2
- package/dist/{usage-jKtAgJZ0.js → usage-ZV3TBMzE.js} +3 -4
- package/dist/{usage-index-VJAZ7a0p.js → usage-index-CR_xTrXO.js} +3 -4
- package/dist/{version-dkga9imp.js → version-CAhBr673.js} +13 -16
- package/dist/{vite-stage-D7fe614I.js → vite-stage-Dmo4RgnK.js} +3 -5
- package/dist/{vue-router-C68IU1jM.d.ts → vue-router-plZJLlpm.d.ts} +120 -182
- package/dist/{workspace-history-B95Q-kGI.js → workspace-history-B52xib2J.js} +3 -4
- package/dist/{workspace-history-CeVwBB6Q.d.ts → workspace-history-WuxgLsi4.d.ts} +0 -2
- package/package.json +144 -144
- package/dist/agents-BhFggA26.js +0 -2
- package/dist/cli-config-g_mbWdjT.js +0 -2
- package/dist/console-lazy-views-DXnIkdyd.js +0 -2
- package/dist/definition-catalog-og_1razf.js +0 -2
- package/dist/deployment-C2B0hBBj.js +0 -2
- package/dist/features-ujWsvlEH.js +0 -2
- package/dist/operations-5Lwd1xEI.js +0 -2
- package/dist/scan-module-D_3X08mj.js +0 -2
- package/dist/sections-CFiMNsqu.d.ts +0 -10
- package/dist/site-access-CAiWyKOD.js +0 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/console/runtime/client/project.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* The app that the Console reads and changes. Every Console request goes to this project, so one Console build can
|
|
4
3
|
* reach an app on another origin.
|
|
@@ -44,5 +43,4 @@ export declare function projectFetch(path: string, init?: Omit<RequestInit, "cre
|
|
|
44
43
|
* Whether the project is on another origin than the Console page, such as in an `account` Console. Cookies, frames, and
|
|
45
44
|
* WebSockets of the app do not work then, so features that need them show a note instead.
|
|
46
45
|
*/
|
|
47
|
-
export declare function isRemoteProject(): boolean;
|
|
48
|
-
//#endregion
|
|
46
|
+
export declare function isRemoteProject(): boolean;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { consoleProject, isRemoteProject, projectAppUrl, projectFetch, projectRequest, projectUrl, resolveProjectUrl, setConsoleProject };
|
|
1
|
+
export { t as consoleProject, n as isRemoteProject, r as projectAppUrl, i as projectFetch, a as projectRequest, o as projectUrl, s as resolveProjectUrl, c as setConsoleProject } from "../../../project-DRC67Uiu.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as consoleProjectHost, c as consoleProjectsStorageKey, d as normalizeProjectUrl, i as ConsoleProjectTarget, l as createConsoleProjectStore, n as ConsoleProjectStorage, o as consoleProjectName, r as ConsoleProjectStore, s as consoleProjectTarget, t as ConsoleLinkedProject, u as memoryProjectStorage } from "../../../projects-
|
|
1
|
+
import { a as consoleProjectHost, c as consoleProjectsStorageKey, d as normalizeProjectUrl, i as ConsoleProjectTarget, l as createConsoleProjectStore, n as ConsoleProjectStorage, o as consoleProjectName, r as ConsoleProjectStore, s as consoleProjectTarget, t as ConsoleLinkedProject, u as memoryProjectStorage } from "../../../projects-mgPxrKZr.js";
|
|
2
2
|
export { ConsoleLinkedProject, ConsoleProjectStorage, ConsoleProjectStore, ConsoleProjectTarget, consoleProjectHost, consoleProjectName, consoleProjectTarget, consoleProjectsStorageKey, createConsoleProjectStore, memoryProjectStorage, normalizeProjectUrl };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { consoleProjectHost, consoleProjectName, consoleProjectTarget, consoleProjectsStorageKey, createConsoleProjectStore, memoryProjectStorage, normalizeProjectUrl };
|
|
1
|
+
export { t as consoleProjectHost, n as consoleProjectName, r as consoleProjectTarget, i as consoleProjectsStorageKey, a as createConsoleProjectStore, o as memoryProjectStorage, s as normalizeProjectUrl } from "../../../projects-BRp0iseV.js";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { k as ConsoleDocumentsClient, m as ConsoleDocumentPublishExpectation } from "../../../documents-
|
|
2
|
-
//#region src/console/runtime/client/publish.d.ts
|
|
1
|
+
import { k as ConsoleDocumentsClient, m as ConsoleDocumentPublishExpectation } from "../../../documents-DxK0tdjA.js";
|
|
3
2
|
/**
|
|
4
3
|
* Publishes reviewed changes of several collections, one publish per collection, and returns how many documents
|
|
5
4
|
* changed. Each publish sends exactly the draft digests that the caller showed, so a draft saved since then fails with
|
|
@@ -8,5 +7,4 @@ import { k as ConsoleDocumentsClient, m as ConsoleDocumentPublishExpectation } f
|
|
|
8
7
|
export declare function publishConsoleDocumentChanges(client: Pick<ConsoleDocumentsClient, "publish">, changes: ReadonlyArray<{
|
|
9
8
|
change: ConsoleDocumentPublishExpectation;
|
|
10
9
|
collection: string;
|
|
11
|
-
}>): Promise<number>;
|
|
12
|
-
//#endregion
|
|
10
|
+
}>): Promise<number>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/console/runtime/client/publish.ts
|
|
2
2
|
/**
|
|
3
3
|
* Publishes reviewed changes of several collections, one publish per collection, and returns how many documents
|
|
4
4
|
* changed. Each publish sends exactly the draft digests that the caller showed, so a draft saved since then fails with
|
|
@@ -14,5 +14,4 @@ async function publishConsoleDocumentChanges(client, changes) {
|
|
|
14
14
|
for (const [collection, expect] of byCollection) count += (await client.publish(collection, expect)).documents.length;
|
|
15
15
|
return count;
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
17
|
export { publishConsoleDocumentChanges };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/console/runtime/client/rate-limit.d.ts
|
|
2
1
|
/** The counter of one policy of a Rate Limit, as the Console shows it. */
|
|
3
2
|
export interface ConsoleRateLimitCounter {
|
|
4
3
|
limit: number;
|
|
@@ -32,5 +31,4 @@ export declare function parseConsoleRateLimitReset(value: unknown): ConsoleRateL
|
|
|
32
31
|
/** Reads the counter of one key without consuming a token. */
|
|
33
32
|
export declare function peekConsoleRateLimit(base: string, name: string, key: string, signal?: AbortSignal): Promise<ConsoleRateLimitPeek>;
|
|
34
33
|
/** Deletes the counter of one key, where the provider supports it. */
|
|
35
|
-
export declare function resetConsoleRateLimit(base: string, name: string, key: string): Promise<ConsoleRateLimitReset>;
|
|
36
|
-
//#endregion
|
|
34
|
+
export declare function resetConsoleRateLimit(base: string, name: string, key: string): Promise<ConsoleRateLimitReset>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { u as requestConsole } from "../../../request-Cl68STwT.js";
|
|
2
|
+
import { t as viteHubErrorDiagnostics } from "../../../error-diagnostics-CBtvqI30.js";
|
|
3
|
+
// src/console/runtime/client/rate-limit.ts
|
|
4
4
|
function record(value) {
|
|
5
5
|
return value instanceof Object && !Array.isArray(value) ? Object.fromEntries(Object.entries(value)) : void 0;
|
|
6
6
|
}
|
|
@@ -92,5 +92,4 @@ async function resetConsoleRateLimit(base, name, key) {
|
|
|
92
92
|
method: "POST"
|
|
93
93
|
}));
|
|
94
94
|
}
|
|
95
|
-
//#endregion
|
|
96
95
|
export { parseConsoleRateLimitPeek, parseConsoleRateLimitReset, peekConsoleRateLimit, resetConsoleRateLimit };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { a as ConsoleSectionId } from "../../../sections-
|
|
2
|
-
//#region src/console/runtime/client/read-only.d.ts
|
|
1
|
+
import { a as ConsoleSectionId } from "../../../sections-0qrBvGbf.js";
|
|
3
2
|
/**
|
|
4
3
|
* Whether the access may only read the section (`"<section>:read"` in `console.authorize`). The write actions of the
|
|
5
4
|
* page are hidden then. The server refuses them either way. Unknown navigation counts as writable, so a failed load
|
|
6
5
|
* does not lock the page.
|
|
7
6
|
*/
|
|
8
|
-
export declare function isConsoleSectionReadOnly(sectionsBase: string, section: ConsoleSectionId): Promise<boolean>;
|
|
9
|
-
//#endregion
|
|
7
|
+
export declare function isConsoleSectionReadOnly(sectionsBase: string, section: ConsoleSectionId): Promise<boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as loadConsoleNavigation } from "../../../sections-
|
|
2
|
-
|
|
1
|
+
import { o as loadConsoleNavigation } from "../../../sections-HLxb9MrG.js";
|
|
2
|
+
// src/console/runtime/client/read-only.ts
|
|
3
3
|
/**
|
|
4
4
|
* Whether the access may only read the section (`"<section>:read"` in `console.authorize`). The write actions of the
|
|
5
5
|
* page are hidden then. The server refuses them either way. Unknown navigation counts as writable, so a failed load
|
|
@@ -8,5 +8,4 @@ import { o as loadConsoleNavigation } from "../../../sections-BKUReack.js";
|
|
|
8
8
|
async function isConsoleSectionReadOnly(sectionsBase, section) {
|
|
9
9
|
return (await loadConsoleNavigation(sectionsBase))?.readOnly.includes(section) ?? false;
|
|
10
10
|
}
|
|
11
|
-
//#endregion
|
|
12
11
|
export { isConsoleSectionReadOnly };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as consoleNetworkError, c as isConsoleSignInRequired, d as requestConsole, f as requestConsoleOperation, i as consoleErrorFields, l as isRetryableConsoleRequestError, n as ConsoleRequestError, o as consoleOperationCall, r as appendUniqueConsoleKeys, s as consoleResponseError, t as ConsoleErrorFields, u as loadConsoleKVPages } from "../../../request-
|
|
1
|
+
import { a as consoleNetworkError, c as isConsoleSignInRequired, d as requestConsole, f as requestConsoleOperation, i as consoleErrorFields, l as isRetryableConsoleRequestError, n as ConsoleRequestError, o as consoleOperationCall, r as appendUniqueConsoleKeys, s as consoleResponseError, t as ConsoleErrorFields, u as loadConsoleKVPages } from "../../../request-CJCPyu2B.js";
|
|
2
2
|
export { ConsoleErrorFields, ConsoleRequestError, appendUniqueConsoleKeys, consoleErrorFields, consoleNetworkError, consoleOperationCall, consoleResponseError, isConsoleSignInRequired, isRetryableConsoleRequestError, loadConsoleKVPages, requestConsole, requestConsoleOperation };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ConsoleRequestError, appendUniqueConsoleKeys, consoleErrorFields, consoleNetworkError, consoleOperationCall, consoleResponseError, isConsoleSignInRequired, isRetryableConsoleRequestError, loadConsoleKVPages, requestConsole, requestConsoleOperation };
|
|
1
|
+
export { t as ConsoleRequestError, n as appendUniqueConsoleKeys, r as consoleErrorFields, i as consoleNetworkError, a as consoleOperationCall, o as consoleResponseError, s as isConsoleSignInRequired, c as isRetryableConsoleRequestError, l as loadConsoleKVPages, u as requestConsole, d as requestConsoleOperation } from "../../../request-Cl68STwT.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { i as RouteLocationNormalizedLoaded, n as LocationQueryRaw$1, t as LocationQuery
|
|
1
|
+
import { i as RouteLocationNormalizedLoaded, n as LocationQueryRaw$1, t as LocationQuery } from "../../../vue-router-plZJLlpm.js";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
|
-
//#region src/console/runtime/client/route-query.d.ts
|
|
4
3
|
/** One query parameter of a page. */
|
|
5
4
|
export interface ConsoleQueryParam<T> {
|
|
6
5
|
/** The value without the parameter. A value equal to it leaves the URL. */
|
|
@@ -42,9 +41,9 @@ export declare function queryFlag(options?: {
|
|
|
42
41
|
history?: "push" | "replace";
|
|
43
42
|
}): ConsoleQueryParam<boolean>;
|
|
44
43
|
/** Reads the page state from a route query. Missing and invalid values read as their defaults. */
|
|
45
|
-
export declare function readConsoleQuery<P extends ConsoleQueryParams>(params: P, query: LocationQuery
|
|
44
|
+
export declare function readConsoleQuery<P extends ConsoleQueryParams>(params: P, query: LocationQuery | Readonly<Record<string, unknown>>): ConsoleQueryValues<P>;
|
|
46
45
|
/** Writes the page state into a route query. Defaults leave the URL, and parameters that the page does not own stay. */
|
|
47
|
-
export declare function writeConsoleQuery<P extends ConsoleQueryParams>(params: P, values: Partial<ConsoleQueryValues<P>>, query: LocationQuery
|
|
46
|
+
export declare function writeConsoleQuery<P extends ConsoleQueryParams>(params: P, values: Partial<ConsoleQueryValues<P>>, query: LocationQuery | LocationQueryRaw$1): LocationQueryRaw$1;
|
|
48
47
|
/**
|
|
49
48
|
* Binds page state to the URL. Each key of `params` is a query parameter name and becomes a ref.
|
|
50
49
|
* Changing a ref writes the URL at once: `push` parameters add a history entry, the others replace it, so Back and
|
|
@@ -57,4 +56,4 @@ export declare function useConsoleQuery<P extends ConsoleQueryParams>(params: P,
|
|
|
57
56
|
active?: (route: RouteLocationNormalizedLoaded) => boolean;
|
|
58
57
|
onRestore?: (names: Array<keyof P & string>) => void;
|
|
59
58
|
}): { [K in keyof P]: Ref<ConsoleQueryValues<P>[K]>; };
|
|
60
|
-
|
|
59
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { consoleQueryText, queryChoice, queryFlag, queryInteger, querySelection, queryText, readConsoleQuery, useConsoleQuery, writeConsoleQuery };
|
|
1
|
+
export { t as consoleQueryText, n as queryChoice, r as queryFlag, i as queryInteger, a as querySelection, o as queryText, s as readConsoleQuery, c as useConsoleQuery, l as writeConsoleQuery } from "../../../route-query-BWVl6ZO6.js";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/console/runtime/client/schedule-run.d.ts
|
|
2
1
|
/** One manual Schedule run as the Schedules page shows it. `unavailable` means the run did not start. */
|
|
3
2
|
export interface ConsoleScheduleRunView {
|
|
4
3
|
durationMs?: number;
|
|
@@ -9,5 +8,4 @@ export interface ConsoleScheduleRunView {
|
|
|
9
8
|
export declare function parseConsoleScheduleRun(value: unknown): ConsoleScheduleRunView;
|
|
10
9
|
export declare function consoleScheduleRunDescription(run: ConsoleScheduleRunView): string;
|
|
11
10
|
/** Runs a manual Schedule Definition through the Console. Request failures become an `unavailable` result. */
|
|
12
|
-
export declare function runConsoleScheduleDefinition(base: string, name: string): Promise<ConsoleScheduleRunView>;
|
|
13
|
-
//#endregion
|
|
11
|
+
export declare function runConsoleScheduleDefinition(base: string, name: string): Promise<ConsoleScheduleRunView>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { u as requestConsole } from "../../../request-Cl68STwT.js";
|
|
2
|
+
import { t as viteHubErrorDiagnostics } from "../../../error-diagnostics-CBtvqI30.js";
|
|
3
|
+
// src/console/runtime/client/schedule-run.ts
|
|
4
4
|
function record(value) {
|
|
5
5
|
return value instanceof Object && !Array.isArray(value) ? Object.fromEntries(Object.entries(value)) : void 0;
|
|
6
6
|
}
|
|
@@ -43,5 +43,4 @@ async function runConsoleScheduleDefinition(base, name) {
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
//#endregion
|
|
47
46
|
export { consoleScheduleRunDescription, parseConsoleScheduleRun, runConsoleScheduleDefinition };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as consoleFieldIssueMessage, c as consoleItemTitle, d as consoleValueParts, f as consoleValueSummary, h as humanizeConsoleFieldIssues, i as compactConsoleFieldValues, l as consoleSchemaDefaults, m as groupConsoleFieldIssues, n as ConsoleSchemaField, o as consoleFieldLabel, p as describeConsoleSchemaFields, r as ConsoleSchemaFieldKind, s as consoleFieldValueIssue, t as ConsoleFieldIssue, u as consoleSchemaItemValue } from "../../../schema-form-
|
|
1
|
+
import { a as consoleFieldIssueMessage, c as consoleItemTitle, d as consoleValueParts, f as consoleValueSummary, h as humanizeConsoleFieldIssues, i as compactConsoleFieldValues, l as consoleSchemaDefaults, m as groupConsoleFieldIssues, n as ConsoleSchemaField, o as consoleFieldLabel, p as describeConsoleSchemaFields, r as ConsoleSchemaFieldKind, s as consoleFieldValueIssue, t as ConsoleFieldIssue, u as consoleSchemaItemValue } from "../../../schema-form-Bl79Bdm-.js";
|
|
2
2
|
export { ConsoleFieldIssue, ConsoleSchemaField, ConsoleSchemaFieldKind, compactConsoleFieldValues, consoleFieldIssueMessage, consoleFieldLabel, consoleFieldValueIssue, consoleItemTitle, consoleSchemaDefaults, consoleSchemaItemValue, consoleValueParts, consoleValueSummary, describeConsoleSchemaFields, groupConsoleFieldIssues, humanizeConsoleFieldIssues };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/console/runtime/client/schema-form.ts
|
|
2
2
|
/** Groups field issues by the dotted path of the form field they belong to, such as `author.name` or `tags`. */
|
|
3
3
|
function groupConsoleFieldIssues(issues) {
|
|
4
4
|
const grouped = {};
|
|
@@ -292,5 +292,4 @@ function consoleFieldValueIssue(field, value) {
|
|
|
292
292
|
if (field.maximum !== void 0 && value > field.maximum) return `${field.label} must be at most ${field.maximum}.`;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
//#endregion
|
|
296
295
|
export { compactConsoleFieldValues, consoleFieldIssueMessage, consoleFieldLabel, consoleFieldValueIssue, consoleItemTitle, consoleSchemaDefaults, consoleSchemaItemValue, consoleValueParts, consoleValueSummary, describeConsoleSchemaFields, groupConsoleFieldIssues, humanizeConsoleFieldIssues };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as createConsoleSectionLoader, c as parseConsoleNavigation, d as resolveConsoleSectionDetails, f as seedConsoleNavigation, i as consoleSectionsPath, l as reloadConsoleNavigation, n as consoleNavigationError, o as isConsoleSectionRevoked, p as subscribeConsoleNavigation, r as consolePendingSectionRoute, s as loadConsoleNavigation, t as ConsoleNavigation, u as resolveConsoleSectionDeepLink } from "../../../sections-
|
|
1
|
+
import { a as createConsoleSectionLoader, c as parseConsoleNavigation, d as resolveConsoleSectionDetails, f as seedConsoleNavigation, i as consoleSectionsPath, l as reloadConsoleNavigation, n as consoleNavigationError, o as isConsoleSectionRevoked, p as subscribeConsoleNavigation, r as consolePendingSectionRoute, s as loadConsoleNavigation, t as ConsoleNavigation, u as resolveConsoleSectionDeepLink } from "../../../sections-BTfWK14a.js";
|
|
2
2
|
export { ConsoleNavigation, consoleNavigationError, consolePendingSectionRoute, consoleSectionsPath, createConsoleSectionLoader, isConsoleSectionRevoked, loadConsoleNavigation, parseConsoleNavigation, reloadConsoleNavigation, resolveConsoleSectionDeepLink, resolveConsoleSectionDetails, seedConsoleNavigation, subscribeConsoleNavigation };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { consoleNavigationError, consolePendingSectionRoute, consoleSectionsPath, createConsoleSectionLoader, isConsoleSectionRevoked, loadConsoleNavigation, parseConsoleNavigation, reloadConsoleNavigation, resolveConsoleSectionDeepLink, resolveConsoleSectionDetails, seedConsoleNavigation, subscribeConsoleNavigation };
|
|
1
|
+
export { t as consoleNavigationError, n as consolePendingSectionRoute, r as consoleSectionsPath, i as createConsoleSectionLoader, a as isConsoleSectionRevoked, o as loadConsoleNavigation, s as parseConsoleNavigation, c as reloadConsoleNavigation, l as resolveConsoleSectionDeepLink, u as resolveConsoleSectionDetails, d as seedConsoleNavigation, f as subscribeConsoleNavigation } from "../../../sections-HLxb9MrG.js";
|
|
@@ -1,20 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { n as ConsoleRequestError } from "../../../request-CJCPyu2B.js";
|
|
2
|
+
import { n as SiteInvite, r as SiteSession, t as SiteGrant } from "../../../site-access-CUXIbbbR.js";
|
|
3
|
+
import { t as ConsoleTicketLink } from "../../../ticket-BFWwevWN.js";
|
|
4
|
+
/**
|
|
5
|
+
* Whether the Console keeps the Site access of the open project: the account Console, with an app that answers
|
|
6
|
+
* `site.access`. Else the app keeps it, and the Console calls its `site.*` operations.
|
|
7
|
+
*/
|
|
8
|
+
export declare function usesConsoleSiteAccess(): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Whether a Site access request was refused with a reason to show: any refusal of the Console, such as a missing role or
|
|
11
|
+
* a bad invite, or the Auth setup guidance of an app that keeps Site access itself.
|
|
12
|
+
*/
|
|
13
|
+
export declare function isSiteAccessProblem(error: unknown): error is ConsoleRequestError;
|
|
14
|
+
/**
|
|
15
|
+
* Everything the Site access section shows, read in one go: from the Console, or from the app when the app keeps Site
|
|
16
|
+
* access. `sessionsError` is the Auth setup guidance of an app that cannot list its site browsers.
|
|
17
|
+
*/
|
|
7
18
|
export declare function readSiteAccess(signal?: AbortSignal): Promise<{
|
|
8
19
|
sessions: SiteSession[];
|
|
9
20
|
invites: SiteInvite[];
|
|
10
21
|
grants: SiteGrant[];
|
|
11
22
|
sessionsError?: ConsoleRequestError;
|
|
12
23
|
}>;
|
|
13
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Opens the app in a new tab, signed in as you. With Site access in the Console, the tab opens
|
|
26
|
+
* `<app>/_vitehub/site?project=<id>`, which goes through the Console, with the pass and the policy of this project, and
|
|
27
|
+
* back to the page. Else the app signs the tab in with a link of its own.
|
|
28
|
+
*/
|
|
14
29
|
export declare function openSite(path?: string): Promise<void>;
|
|
15
|
-
/** A one-time link for a phone: it lasts 10 minutes, so there is time to scan it. */
|
|
30
|
+
/** A one-time link for a phone, such as `/go/<code>` of the Console: it lasts 10 minutes, so there is time to scan it. */
|
|
16
31
|
export declare function phoneLink(): Promise<ConsoleTicketLink>;
|
|
17
|
-
/** Invites a guest. The answer has the link, which the Console shows once: the app keeps only its hash. */
|
|
32
|
+
/** Invites a guest. The answer has the link, which the Console shows once: the Console or the app keeps only its hash. */
|
|
18
33
|
export declare function inviteGuest(input: {
|
|
19
34
|
name: string;
|
|
20
35
|
grants: string[];
|
|
@@ -22,14 +37,27 @@ export declare function inviteGuest(input: {
|
|
|
22
37
|
}): Promise<ConsoleTicketLink & {
|
|
23
38
|
invite: SiteInvite;
|
|
24
39
|
}>;
|
|
40
|
+
/** Revokes the pass of a browser, or its app session when the app keeps Site access. */
|
|
25
41
|
export declare function revokeSession(id: string): Promise<void>;
|
|
26
42
|
export declare function revokeInvite(id: string): Promise<void>;
|
|
43
|
+
export declare function readHostedCommentsAccess(commentsProject: string): Promise<{
|
|
44
|
+
sessions: SiteSession[];
|
|
45
|
+
invites: SiteInvite[];
|
|
46
|
+
grants: SiteGrant[];
|
|
47
|
+
}>;
|
|
48
|
+
export declare function inviteHostedCommentsGuest(commentsProject: string, input: {
|
|
49
|
+
name: string;
|
|
50
|
+
grants: string[];
|
|
51
|
+
expiresInDays: number;
|
|
52
|
+
}): Promise<ConsoleTicketLink & {
|
|
53
|
+
invite: SiteInvite;
|
|
54
|
+
}>;
|
|
55
|
+
export declare function revokeHostedCommentsAccess(commentsProject: string, type: "invites" | "sessions", id: string): Promise<void>;
|
|
27
56
|
/** The QR code of a link as SVG markup. It draws with `currentColor`, so it follows the theme. */
|
|
28
57
|
export declare function qrCode(url: string): string;
|
|
29
58
|
/**
|
|
30
|
-
* What a browser may do, in words:
|
|
31
|
-
*
|
|
59
|
+
* What a browser may do, in words: the labels of its grants, such as `Read comments, Write comments`, or for a member of
|
|
60
|
+
* an app that keeps Site access itself, `Console and every page tool`. Grants the catalogue does not know keep their id.
|
|
32
61
|
*/
|
|
33
62
|
export declare function grantSummary(kind: "member" | "guest", grants: readonly string[], catalogue: readonly SiteGrant[]): string;
|
|
34
|
-
//#endregion
|
|
35
63
|
export type { SiteGrant, SiteInvite, SiteSession };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { n as isRecord } from "../../../object-DRSmpe04.js";
|
|
2
|
+
import { t as siteAccessOperations } from "../../../site-access-CmaZ-oaL.js";
|
|
3
|
+
import { M as useConsoleProjects } from "../../../project-session--GN7MduT.js";
|
|
4
|
+
import { d as requestConsoleOperation, o as consoleResponseError, t as ConsoleRequestError } from "../../../request-Cl68STwT.js";
|
|
5
|
+
import { t as openConsoleTicket } from "../../../ticket-BwsnryuU.js";
|
|
6
|
+
// ../../node_modules/.pnpm/uqr@0.1.3/node_modules/uqr/dist/index.mjs
|
|
5
7
|
var QrCodeDataType = /* @__PURE__ */ ((QrCodeDataType2) => {
|
|
6
8
|
QrCodeDataType2[QrCodeDataType2["Border"] = -1] = "Border";
|
|
7
9
|
QrCodeDataType2[QrCodeDataType2["Data"] = 0] = "Data";
|
|
@@ -877,48 +879,167 @@ function renderSVG(data, options = {}) {
|
|
|
877
879
|
svg += "</svg>";
|
|
878
880
|
return svg;
|
|
879
881
|
}
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
882
|
+
new TextEncoder();
|
|
883
|
+
new TextDecoder();
|
|
884
|
+
// src/console/runtime/client/site-access.ts
|
|
885
|
+
/**
|
|
886
|
+
* Whether the Console keeps the Site access of the open project: the account Console, with an app that answers
|
|
887
|
+
* `site.access`. Else the app keeps it, and the Console calls its `site.*` operations.
|
|
888
|
+
*/
|
|
889
|
+
function usesConsoleSiteAccess() {
|
|
890
|
+
const projects = useConsoleProjects();
|
|
891
|
+
return projects.mode === "account" && Boolean(projects.current.value) && Boolean(projects.info.value?.operations.includes("site.access"));
|
|
884
892
|
}
|
|
885
|
-
/**
|
|
886
|
-
|
|
887
|
-
|
|
893
|
+
/**
|
|
894
|
+
* Whether a Site access request was refused with a reason to show: any refusal of the Console, such as a missing role or
|
|
895
|
+
* a bad invite, or the Auth setup guidance of an app that keeps Site access itself.
|
|
896
|
+
*/
|
|
897
|
+
function isSiteAccessProblem(error) {
|
|
898
|
+
return error instanceof ConsoleRequestError && (usesConsoleSiteAccess() || error.code === "AUTH_CONSOLE_UNAVAILABLE");
|
|
899
|
+
}
|
|
900
|
+
async function appOperation(operation, input, signal) {
|
|
901
|
+
const body = await requestConsoleOperation(operation, input, signal ? { signal } : {});
|
|
902
|
+
if (!isRecord(body)) throw new ConsoleRequestError(502, `The app answered ${operation} with no JSON object.`);
|
|
903
|
+
return body;
|
|
904
|
+
}
|
|
905
|
+
function currentProject() {
|
|
906
|
+
const project = useConsoleProjects().current.value;
|
|
907
|
+
if (!project) throw new ConsoleRequestError(409, "Open a project to manage its Site access.");
|
|
908
|
+
return project;
|
|
909
|
+
}
|
|
910
|
+
async function siteApi(method, path, input = {}) {
|
|
911
|
+
const project = input.commentsProject ?? currentProject().id;
|
|
912
|
+
const surface = input.commentsProject === void 0 ? "site" : "comments-access";
|
|
913
|
+
const response = await fetch(`/api/projects/${encodeURIComponent(project)}/${surface}${path}`, {
|
|
914
|
+
credentials: "same-origin",
|
|
915
|
+
headers: {
|
|
916
|
+
accept: "application/json",
|
|
917
|
+
...input.body === void 0 ? {} : { "content-type": "application/json" }
|
|
918
|
+
},
|
|
919
|
+
method,
|
|
920
|
+
...input.body === void 0 ? {} : { body: JSON.stringify(input.body) },
|
|
921
|
+
...input.signal ? { signal: input.signal } : {}
|
|
922
|
+
});
|
|
923
|
+
if (!response.ok) throw await consoleResponseError(response);
|
|
924
|
+
const body = await response.json().catch(() => void 0);
|
|
925
|
+
if (!isRecord(body)) throw new ConsoleRequestError(502, "The Console answered Site access with no JSON object.");
|
|
926
|
+
return body;
|
|
927
|
+
}
|
|
928
|
+
function linkOf(body) {
|
|
929
|
+
const { url, expiresAt } = body;
|
|
930
|
+
if (typeof url !== "string" || typeof expiresAt !== "string") throw new ConsoleRequestError(502, "The Console answered without a link.");
|
|
931
|
+
return {
|
|
932
|
+
url,
|
|
933
|
+
expiresAt
|
|
934
|
+
};
|
|
935
|
+
}
|
|
936
|
+
function listOf(body, name, isItem) {
|
|
937
|
+
const value = body[name];
|
|
938
|
+
if (!Array.isArray(value) || !value.every(isItem)) throw new ConsoleRequestError(502, `The Console answered Site access without a list of ${name}.`);
|
|
939
|
+
return value;
|
|
940
|
+
}
|
|
941
|
+
function hasId(value) {
|
|
942
|
+
return isRecord(value) && typeof value.id === "string";
|
|
943
|
+
}
|
|
944
|
+
function isSession(value) {
|
|
945
|
+
return hasId(value) && (value.kind === "member" || value.kind === "guest") && isRecord(value.person) && Array.isArray(value.grants);
|
|
946
|
+
}
|
|
947
|
+
function isInvite(value) {
|
|
948
|
+
return hasId(value) && typeof value.name === "string" && Array.isArray(value.grants) && typeof value.expiresAt === "string";
|
|
949
|
+
}
|
|
950
|
+
function isGrant(value) {
|
|
951
|
+
return hasId(value) && typeof value.label === "string";
|
|
952
|
+
}
|
|
953
|
+
async function readAppSiteAccess(signal) {
|
|
888
954
|
const [sessions, invites, grants] = await Promise.all([
|
|
889
|
-
|
|
890
|
-
if (
|
|
955
|
+
appOperation(siteAccessOperations.sessions, {}, signal).catch((error) => {
|
|
956
|
+
if (error instanceof ConsoleRequestError && error.code === "AUTH_CONSOLE_UNAVAILABLE") return error;
|
|
891
957
|
throw error;
|
|
892
958
|
}),
|
|
893
|
-
|
|
894
|
-
|
|
959
|
+
appOperation(siteAccessOperations.invites, {}, signal),
|
|
960
|
+
appOperation(siteAccessOperations.grants, {}, signal)
|
|
895
961
|
]);
|
|
896
962
|
return {
|
|
897
|
-
...
|
|
963
|
+
...sessions instanceof ConsoleRequestError ? {
|
|
898
964
|
sessions: [],
|
|
899
965
|
sessionsError: sessions
|
|
900
|
-
} : { sessions: sessions
|
|
901
|
-
invites: invites
|
|
902
|
-
grants: grants
|
|
966
|
+
} : { sessions: listOf(sessions, "sessions", isSession) },
|
|
967
|
+
invites: listOf(invites, "invites", isInvite),
|
|
968
|
+
grants: listOf(grants, "grants", isGrant)
|
|
903
969
|
};
|
|
904
970
|
}
|
|
905
|
-
/**
|
|
971
|
+
/**
|
|
972
|
+
* Everything the Site access section shows, read in one go: from the Console, or from the app when the app keeps Site
|
|
973
|
+
* access. `sessionsError` is the Auth setup guidance of an app that cannot list its site browsers.
|
|
974
|
+
*/
|
|
975
|
+
async function readSiteAccess(signal) {
|
|
976
|
+
if (!usesConsoleSiteAccess()) return await readAppSiteAccess(signal);
|
|
977
|
+
const body = await siteApi("GET", "", signal ? { signal } : {});
|
|
978
|
+
return {
|
|
979
|
+
sessions: listOf(body, "sessions", isSession),
|
|
980
|
+
invites: listOf(body, "invites", isInvite),
|
|
981
|
+
grants: listOf(body, "grants", isGrant)
|
|
982
|
+
};
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* Opens the app in a new tab, signed in as you. With Site access in the Console, the tab opens
|
|
986
|
+
* `<app>/_vitehub/site?project=<id>`, which goes through the Console, with the pass and the policy of this project, and
|
|
987
|
+
* back to the page. Else the app signs the tab in with a link of its own.
|
|
988
|
+
*/
|
|
906
989
|
async function openSite(path) {
|
|
907
|
-
|
|
990
|
+
if (!usesConsoleSiteAccess()) {
|
|
991
|
+
await openConsoleTicket(() => appOperation(siteAccessOperations.link, path ? { path } : {}));
|
|
992
|
+
return;
|
|
993
|
+
}
|
|
994
|
+
const { id, url } = currentProject();
|
|
995
|
+
await openConsoleTicket(async () => ({ url: `${url.replace(/\/+$/, "")}/_vitehub/site?${new URLSearchParams({
|
|
996
|
+
return: path ?? "/",
|
|
997
|
+
project: id
|
|
998
|
+
})}` }));
|
|
908
999
|
}
|
|
909
|
-
/** A one-time link for a phone: it lasts 10 minutes, so there is time to scan it. */
|
|
1000
|
+
/** A one-time link for a phone, such as `/go/<code>` of the Console: it lasts 10 minutes, so there is time to scan it. */
|
|
910
1001
|
async function phoneLink() {
|
|
911
|
-
return await
|
|
1002
|
+
return linkOf(usesConsoleSiteAccess() ? await siteApi("POST", "/codes", { body: {} }) : await appOperation(siteAccessOperations.link, { qr: true }));
|
|
912
1003
|
}
|
|
913
|
-
/** Invites a guest. The answer has the link, which the Console shows once: the app keeps only its hash. */
|
|
1004
|
+
/** Invites a guest. The answer has the link, which the Console shows once: the Console or the app keeps only its hash. */
|
|
914
1005
|
async function inviteGuest(input) {
|
|
915
|
-
|
|
1006
|
+
const body = usesConsoleSiteAccess() ? await siteApi("POST", "/invites", { body: input }) : await appOperation(siteAccessOperations.invite, input);
|
|
1007
|
+
if (!isInvite(body.invite)) throw new ConsoleRequestError(502, "The answer has no invite.");
|
|
1008
|
+
return {
|
|
1009
|
+
...linkOf(body),
|
|
1010
|
+
invite: body.invite
|
|
1011
|
+
};
|
|
916
1012
|
}
|
|
1013
|
+
/** Revokes the pass of a browser, or its app session when the app keeps Site access. */
|
|
917
1014
|
async function revokeSession(id) {
|
|
918
|
-
await
|
|
1015
|
+
if (usesConsoleSiteAccess()) await siteApi("DELETE", `/sessions/${encodeURIComponent(id)}`);
|
|
1016
|
+
else await appOperation(siteAccessOperations.revokeSession, { id });
|
|
919
1017
|
}
|
|
920
1018
|
async function revokeInvite(id) {
|
|
921
|
-
await
|
|
1019
|
+
if (usesConsoleSiteAccess()) await siteApi("DELETE", `/invites/${encodeURIComponent(id)}`);
|
|
1020
|
+
else await appOperation(siteAccessOperations.revokeInvite, { id });
|
|
1021
|
+
}
|
|
1022
|
+
async function readHostedCommentsAccess(commentsProject) {
|
|
1023
|
+
const body = await siteApi("GET", "", { commentsProject });
|
|
1024
|
+
return {
|
|
1025
|
+
sessions: listOf(body, "sessions", isSession),
|
|
1026
|
+
invites: listOf(body, "invites", isInvite),
|
|
1027
|
+
grants: listOf(body, "grants", isGrant)
|
|
1028
|
+
};
|
|
1029
|
+
}
|
|
1030
|
+
async function inviteHostedCommentsGuest(commentsProject, input) {
|
|
1031
|
+
const body = await siteApi("POST", "/invites", {
|
|
1032
|
+
body: input,
|
|
1033
|
+
commentsProject
|
|
1034
|
+
});
|
|
1035
|
+
if (!isInvite(body.invite)) throw new ConsoleRequestError(502, "The answer has no invite.");
|
|
1036
|
+
return {
|
|
1037
|
+
...linkOf(body),
|
|
1038
|
+
invite: body.invite
|
|
1039
|
+
};
|
|
1040
|
+
}
|
|
1041
|
+
async function revokeHostedCommentsAccess(commentsProject, type, id) {
|
|
1042
|
+
await siteApi("DELETE", `/${type}/${encodeURIComponent(id)}`, { commentsProject });
|
|
922
1043
|
}
|
|
923
1044
|
/** The QR code of a link as SVG markup. It draws with `currentColor`, so it follows the theme. */
|
|
924
1045
|
function qrCode(url) {
|
|
@@ -929,13 +1050,12 @@ function qrCode(url) {
|
|
|
929
1050
|
});
|
|
930
1051
|
}
|
|
931
1052
|
/**
|
|
932
|
-
* What a browser may do, in words:
|
|
933
|
-
*
|
|
1053
|
+
* What a browser may do, in words: the labels of its grants, such as `Read comments, Write comments`, or for a member of
|
|
1054
|
+
* an app that keeps Site access itself, `Console and every page tool`. Grants the catalogue does not know keep their id.
|
|
934
1055
|
*/
|
|
935
1056
|
function grantSummary(kind, grants, catalogue) {
|
|
936
|
-
if (kind === "member") return "Console and every page tool";
|
|
1057
|
+
if (kind === "member" && !usesConsoleSiteAccess()) return "Console and every page tool";
|
|
937
1058
|
const labels = grants.map((id) => catalogue.find((grant) => grant.id === id)?.label ?? id);
|
|
938
1059
|
return labels.length ? labels.join(", ") : "Nothing";
|
|
939
1060
|
}
|
|
940
|
-
|
|
941
|
-
export { grantSummary, inviteGuest, isSiteAuthUnavailable, openSite, phoneLink, qrCode, readSiteAccess, revokeInvite, revokeSession };
|
|
1061
|
+
export { grantSummary, inviteGuest, inviteHostedCommentsGuest, isSiteAccessProblem, openSite, phoneLink, qrCode, readHostedCommentsAccess, readSiteAccess, revokeHostedCommentsAccess, revokeInvite, revokeSession, usesConsoleSiteAccess };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StoredDataContext, UseStoredDataOptions, UseStoredDataReturn } from "@vite-hub/device/vue";
|
|
2
|
-
//#region src/console/runtime/client/stored.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* The version of the answers that the Console keeps on the device. Change it when the shape of a stored answer changes,
|
|
5
4
|
* so the next visit does not show an answer of the old shape.
|
|
@@ -29,5 +28,4 @@ export interface ConsoleStoredRead<T> {
|
|
|
29
28
|
* Read `key` with `useStoredData()` outside a component, for as long as the boot needs it. Call `openDevice()` before,
|
|
30
29
|
* or `stored` is always `undefined`.
|
|
31
30
|
*/
|
|
32
|
-
export declare function readStored<T>(key: string, loader: (context: StoredDataContext) => Promise<T>, options?: UseStoredDataOptions<T, undefined>): ConsoleStoredRead<T>;
|
|
33
|
-
//#endregion
|
|
31
|
+
export declare function readStored<T>(key: string, loader: (context: StoredDataContext) => Promise<T>, options?: UseStoredDataOptions<T, undefined>): ConsoleStoredRead<T>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { consoleAccountKey, consoleAppCheckKey, consoleDeviceVersion, consoleProjectKey, readStored };
|
|
1
|
+
export { t as consoleAccountKey, n as consoleAppCheckKey, r as consoleDeviceVersion, i as consoleProjectKey, a as readStored } from "../../../stored-J3TetMKf.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as openConsoleTicket, t as ConsoleTicketLink } from "../../../ticket-
|
|
1
|
+
import { n as openConsoleTicket, t as ConsoleTicketLink } from "../../../ticket-BFWwevWN.js";
|
|
2
2
|
export { ConsoleTicketLink, openConsoleTicket };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { openConsoleTicket };
|
|
1
|
+
export { t as openConsoleTicket } from "../../../ticket-BwsnryuU.js";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ShallowRef } from "vue";
|
|
2
|
-
//#region src/console/runtime/client/toast.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Console toasts. They live in their own list, not in Nuxt UI `useToast()`: that list is shared with the host app, so a
|
|
5
4
|
* Console mounted in a Nuxt app would show its toasts in the host toaster, or nowhere when the host turns toasts off.
|
|
@@ -35,5 +34,4 @@ export interface ConsoleToasts {
|
|
|
35
34
|
toasts: Readonly<ShallowRef<readonly ConsoleToast[]>>;
|
|
36
35
|
}
|
|
37
36
|
/** Shows Console toasts: one sentence, `{Noun} {past participle}` for success, `Couldn't … Try again.` for errors. */
|
|
38
|
-
export declare function useConsoleToast(): ConsoleToasts;
|
|
39
|
-
//#endregion
|
|
37
|
+
export declare function useConsoleToast(): ConsoleToasts;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowRef } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/console/runtime/client/toast.ts
|
|
3
3
|
/** Default toast duration, and the longer one for a toast with an Undo action (Geist: 5–10 seconds). */
|
|
4
4
|
const consoleToastDuration = 4e3;
|
|
5
5
|
const consoleUndoToastDuration = 8e3;
|
|
@@ -31,5 +31,4 @@ function useConsoleToast() {
|
|
|
31
31
|
toasts
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
//#endregion
|
|
35
34
|
export { consoleToastDuration, consoleUndoToastDuration, useConsoleToast };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/console/runtime/client/workflow.d.ts
|
|
2
1
|
/** One Workflow run as the Workflows page shows it. */
|
|
3
2
|
export interface ConsoleWorkflowRunView {
|
|
4
3
|
error?: string;
|
|
@@ -16,5 +15,4 @@ export declare function isConsoleWorkflowRunActive(status: string): boolean;
|
|
|
16
15
|
export declare function startConsoleWorkflow(base: string, workflow: string, payload: unknown): Promise<ConsoleWorkflowRunView>;
|
|
17
16
|
export declare function readConsoleWorkflow(base: string, run: Pick<ConsoleWorkflowRunView, "id" | "workflow">): Promise<ConsoleWorkflowRunView>;
|
|
18
17
|
export declare function cancelConsoleWorkflow(base: string, run: Pick<ConsoleWorkflowRunView, "id" | "workflow">): Promise<ConsoleWorkflowRunView>;
|
|
19
|
-
export declare function resumeConsoleWorkflow(base: string, token: string, payload: unknown): Promise<void>;
|
|
20
|
-
//#endregion
|
|
18
|
+
export declare function resumeConsoleWorkflow(base: string, token: string, payload: unknown): Promise<void>;
|