@yaks/platform 0.0.0-stage → 0.2.36
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/LICENSE +202 -0
- package/README.md +261 -2
- package/_client-blobs.js +7 -0
- package/_client-error.js +70 -0
- package/_client-modal.js +3 -0
- package/_client-replica.js +5 -0
- package/_client-review.js +1 -0
- package/_client-schema.js +1 -0
- package/_client-vault.js +31 -0
- package/_edit-query.js +1 -0
- package/_uploads.js +4 -0
- package/account-browser.js +67 -0
- package/account-browser.js.map +1 -0
- package/account-browser.ts +87 -0
- package/account-rows.js +130 -0
- package/account-rows.js.map +1 -0
- package/account-rows.ts +237 -0
- package/admin-visits-view.js +65 -0
- package/admin-visits-view.js.map +1 -0
- package/admin-visits-view.ts +120 -0
- package/admin-visits.js +143 -0
- package/admin-visits.js.map +1 -0
- package/admin-visits.ts +211 -0
- package/admit-graph.js +8 -0
- package/admit-graph.js.map +1 -0
- package/admit-graph.ts +10 -0
- package/agent-guide.js +368 -0
- package/agent-guide.js.map +1 -0
- package/agent-guide.ts +450 -0
- package/agents-browser.js +143 -0
- package/agents-browser.js.map +1 -0
- package/agents-browser.ts +141 -0
- package/agents-view.js +129 -0
- package/agents-view.js.map +1 -0
- package/agents-view.ts +236 -0
- package/agents.js +148 -0
- package/agents.js.map +1 -0
- package/agents.ts +150 -0
- package/app-actions.js +56 -0
- package/app-actions.js.map +1 -0
- package/app-actions.ts +61 -0
- package/app-authority.js +280 -0
- package/app-authority.js.map +1 -0
- package/app-authority.ts +356 -0
- package/app-canvas-browser.js +308 -0
- package/app-canvas-browser.js.map +1 -0
- package/app-canvas-browser.ts +377 -0
- package/app-canvas-view.js +244 -0
- package/app-canvas-view.js.map +1 -0
- package/app-canvas-view.ts +399 -0
- package/app-canvas.js +87 -0
- package/app-canvas.js.map +1 -0
- package/app-canvas.ts +170 -0
- package/app-client.js +521 -0
- package/app-client.js.map +1 -0
- package/app-client.ts +562 -0
- package/app-command.js +108 -0
- package/app-command.js.map +1 -0
- package/app-command.ts +155 -0
- package/app-commands.js +334 -0
- package/app-commands.js.map +1 -0
- package/app-commands.ts +379 -0
- package/app-decision.js +69 -0
- package/app-decision.js.map +1 -0
- package/app-decision.ts +61 -0
- package/app-effects.js +43 -0
- package/app-effects.js.map +1 -0
- package/app-effects.ts +53 -0
- package/app-file.js +252 -0
- package/app-file.js.map +1 -0
- package/app-file.ts +362 -0
- package/app-friends.js +60 -0
- package/app-friends.js.map +1 -0
- package/app-friends.ts +81 -0
- package/app-graph.js +9 -0
- package/app-graph.js.map +1 -0
- package/app-graph.ts +9 -0
- package/app-icon.js +59 -0
- package/app-icon.js.map +1 -0
- package/app-icon.ts +121 -0
- package/app-made.js +164 -0
- package/app-made.js.map +1 -0
- package/app-made.ts +306 -0
- package/app-outbound.js +72 -0
- package/app-outbound.js.map +1 -0
- package/app-outbound.ts +109 -0
- package/app-outbox.js +42 -0
- package/app-outbox.js.map +1 -0
- package/app-outbox.ts +46 -0
- package/app-patch.js +75 -0
- package/app-patch.js.map +1 -0
- package/app-patch.ts +106 -0
- package/app-read.js +101 -0
- package/app-read.js.map +1 -0
- package/app-read.ts +126 -0
- package/app-role-tools.js +232 -0
- package/app-role-tools.js.map +1 -0
- package/app-role-tools.ts +258 -0
- package/app-roles.js +91 -0
- package/app-roles.js.map +1 -0
- package/app-roles.ts +76 -0
- package/app-session-access.js +109 -0
- package/app-session-access.js.map +1 -0
- package/app-session-access.ts +145 -0
- package/app-starter.js +109 -0
- package/app-starter.js.map +1 -0
- package/app-starter.ts +123 -0
- package/app-storage.js +38 -0
- package/app-storage.js.map +1 -0
- package/app-storage.ts +54 -0
- package/app-style-guide.js +138 -0
- package/app-style-guide.js.map +1 -0
- package/app-style-guide.ts +195 -0
- package/app-subs.js +89 -0
- package/app-subs.js.map +1 -0
- package/app-subs.ts +110 -0
- package/app-tests.js +54 -0
- package/app-tests.js.map +1 -0
- package/app-tests.ts +56 -0
- package/app-tile.js +209 -0
- package/app-tile.js.map +1 -0
- package/app-tile.ts +227 -0
- package/app-transfer.js +188 -0
- package/app-transfer.js.map +1 -0
- package/app-transfer.ts +281 -0
- package/app-vocab.js +52 -0
- package/app-vocab.js.map +1 -0
- package/app-vocab.ts +43 -0
- package/app-words.js +55 -0
- package/app-words.js.map +1 -0
- package/app-words.ts +73 -0
- package/app-worker.js +28 -0
- package/app-worker.js.map +1 -0
- package/app-worker.ts +38 -0
- package/app-writes.js +132 -0
- package/app-writes.js.map +1 -0
- package/app-writes.ts +128 -0
- package/asset-bytes.js +57 -0
- package/asset-bytes.js.map +1 -0
- package/asset-bytes.ts +90 -0
- package/asset-response.js +28 -0
- package/asset-response.js.map +1 -0
- package/asset-response.ts +46 -0
- package/asset-url.js +556 -0
- package/asset-url.js.map +1 -0
- package/asset-url.ts +774 -0
- package/attribution-vocab.js +14 -0
- package/attribution-vocab.js.map +1 -0
- package/attribution-vocab.ts +11 -0
- package/authorship-graph.js +8 -0
- package/authorship-graph.js.map +1 -0
- package/authorship-graph.ts +10 -0
- package/badge.js +98 -0
- package/blob-images.js +206 -0
- package/blob-images.js.map +1 -0
- package/blob-images.ts +323 -0
- package/blob-posters.js +125 -0
- package/blob-posters.js.map +1 -0
- package/blob-posters.ts +207 -0
- package/blob-routes.js +14 -0
- package/blob-routes.js.map +1 -0
- package/blob-routes.ts +25 -0
- package/bots.js +77 -0
- package/bots.js.map +1 -0
- package/bots.ts +93 -0
- package/browser-mockup.js +81 -0
- package/browser-mockup.js.map +1 -0
- package/browser-mockup.ts +105 -0
- package/browser-record.js +55 -0
- package/browser-record.js.map +1 -0
- package/browser-record.ts +66 -0
- package/browser-scroll.js +90 -0
- package/browser-scroll.js.map +1 -0
- package/browser-scroll.ts +108 -0
- package/browser-stream.js +79 -0
- package/browser-stream.js.map +1 -0
- package/browser-stream.ts +84 -0
- package/browser-trace.js +252 -0
- package/browser-trace.js.map +1 -0
- package/browser-trace.ts +330 -0
- package/browser-viewer.js +236 -0
- package/browser-viewer.js.map +1 -0
- package/browser-viewer.ts +233 -0
- package/browser-visit.js +1522 -0
- package/browser-visit.js.map +1 -0
- package/browser-visit.ts +2179 -0
- package/browser-wire.js +242 -0
- package/browser-wire.js.map +1 -0
- package/browser-wire.ts +262 -0
- package/budget.js +17 -0
- package/budget.js.map +1 -0
- package/budget.ts +42 -0
- package/cli.js +52 -0
- package/cli.js.map +1 -0
- package/cli.ts +55 -0
- package/client-modules.js +24 -0
- package/client-modules.js.map +1 -0
- package/client-modules.ts +24 -0
- package/client-routes.js +83 -0
- package/client-routes.js.map +1 -0
- package/client-routes.ts +104 -0
- package/client-words.js +62 -0
- package/client-words.js.map +1 -0
- package/client-words.ts +77 -0
- package/client.js +709 -0
- package/comp.js +2 -0
- package/comp.js.map +1 -0
- package/comp.ts +15 -0
- package/config.js +497 -0
- package/config.js.map +1 -0
- package/config.ts +287 -0
- package/connect-parts.js +107 -0
- package/connect-parts.js.map +1 -0
- package/connect-parts.ts +165 -0
- package/connected-activity-browser.js +301 -0
- package/connected-activity-browser.js.map +1 -0
- package/connected-activity-browser.ts +341 -0
- package/connected-activity-view.js +55 -0
- package/connected-activity-view.js.map +1 -0
- package/connected-activity-view.ts +81 -0
- package/connected-activity-wire.js +165 -0
- package/connected-activity-wire.js.map +1 -0
- package/connected-activity-wire.ts +171 -0
- package/connected-activity.css +156 -0
- package/connected-activity.js +185 -0
- package/connected-activity.js.map +1 -0
- package/connected-activity.ts +278 -0
- package/connection-icon-browser.js +50 -0
- package/connection-icon-browser.js.map +1 -0
- package/connection-icon-browser.ts +52 -0
- package/connections-browser.js +393 -0
- package/connections-browser.js.map +1 -0
- package/connections-browser.ts +465 -0
- package/connections-page.js +178 -0
- package/connections-page.js.map +1 -0
- package/connections-page.ts +461 -0
- package/connections-view.js +1215 -0
- package/connections-view.js.map +1 -0
- package/connections-view.ts +2239 -0
- package/connector-upload.js +94 -0
- package/connector-upload.js.map +1 -0
- package/connector-upload.ts +146 -0
- package/consent.js +2 -0
- package/consent.js.map +1 -0
- package/consent.ts +3 -0
- package/cookie.js +53 -0
- package/cookie.js.map +1 -0
- package/cookie.ts +75 -0
- package/copy.js +104 -0
- package/corner.js +226 -0
- package/credential-draft-move.js +154 -0
- package/credential-draft-move.js.map +1 -0
- package/credential-draft-move.ts +197 -0
- package/credential-draft-place.js +2 -0
- package/credential-draft-place.js.map +1 -0
- package/credential-draft-place.ts +4 -0
- package/credential-drafts.js +66 -0
- package/credential-drafts.js.map +1 -0
- package/credential-drafts.ts +93 -0
- package/dashboard-browser.js +149 -0
- package/dashboard-browser.js.map +1 -0
- package/dashboard-browser.ts +184 -0
- package/dashboard-view.js +293 -0
- package/dashboard-view.js.map +1 -0
- package/dashboard-view.ts +423 -0
- package/dashboard.js +268 -0
- package/dashboard.js.map +1 -0
- package/dashboard.ts +436 -0
- package/deno.json +1 -0
- package/describe-graph.js +8 -0
- package/describe-graph.js.map +1 -0
- package/describe-graph.ts +7 -0
- package/directory-derived.js +142 -0
- package/directory-derived.js.map +1 -0
- package/directory-derived.ts +198 -0
- package/directory-index-move.js +77 -0
- package/directory-index-move.js.map +1 -0
- package/directory-index-move.ts +59 -0
- package/directory-index.js +382 -0
- package/directory-index.js.map +1 -0
- package/directory-index.ts +550 -0
- package/directory-pages.js +41 -0
- package/directory-pages.js.map +1 -0
- package/directory-pages.ts +71 -0
- package/directory-route.js +129 -0
- package/directory-route.js.map +1 -0
- package/directory-route.ts +189 -0
- package/directory-vocab.js +58 -0
- package/directory-vocab.js.map +1 -0
- package/directory-vocab.ts +46 -0
- package/document-graph.js +86 -0
- package/document-graph.js.map +1 -0
- package/document-graph.ts +93 -0
- package/document-ocr.js +146 -0
- package/document-ocr.js.map +1 -0
- package/document-ocr.ts +204 -0
- package/documents.js +50 -0
- package/documents.js.map +1 -0
- package/documents.ts +64 -0
- package/domain-pages.js +221 -0
- package/domain-pages.js.map +1 -0
- package/domain-pages.ts +586 -0
- package/domain-settings.js +88 -0
- package/domain-settings.js.map +1 -0
- package/domain-settings.ts +132 -0
- package/domain-transfer.js +138 -0
- package/domain-transfer.js.map +1 -0
- package/domain-transfer.ts +190 -0
- package/donation-loans.js +176 -0
- package/donation-loans.js.map +1 -0
- package/donation-loans.ts +271 -0
- package/draft-choice.js +136 -0
- package/draft-choice.js.map +1 -0
- package/draft-choice.ts +310 -0
- package/drawing.js +27 -0
- package/drawing.js.map +1 -0
- package/drawing.ts +40 -0
- package/early-report.js +18 -0
- package/early-report.js.map +1 -0
- package/early-report.ts +31 -0
- package/edit-client-path.js +2 -0
- package/edit-client-path.js.map +1 -0
- package/edit-client-path.ts +1 -0
- package/edit-mode.js +920 -0
- package/edit-mode.js.map +1 -0
- package/edit-mode.ts +1003 -0
- package/edit-sync.js +61 -0
- package/edit-sync.js.map +1 -0
- package/edit-sync.ts +83 -0
- package/edit.js +265 -0
- package/embed-graph.js +11 -0
- package/embed-graph.js.map +1 -0
- package/embed-graph.ts +8 -0
- package/embedded-payment.js +211 -0
- package/embedded-payment.js.map +1 -0
- package/embedded-payment.ts +290 -0
- package/entry-actions-browser.js +43 -0
- package/entry-actions-browser.js.map +1 -0
- package/entry-actions-browser.ts +64 -0
- package/entry-actions.js +56 -0
- package/entry-actions.js.map +1 -0
- package/entry-actions.ts +59 -0
- package/escape.js +14 -0
- package/escape.js.map +1 -0
- package/escape.ts +24 -0
- package/face-input.js +6 -0
- package/face-input.js.map +1 -0
- package/face-input.ts +14 -0
- package/facebook.js +370 -0
- package/facebook.js.map +1 -0
- package/facebook.ts +474 -0
- package/facets.js +142 -0
- package/facets.js.map +1 -0
- package/facets.ts +89 -0
- package/fee.js +45 -0
- package/fee.js.map +1 -0
- package/fee.ts +51 -0
- package/fence.js +164 -0
- package/fence.js.map +1 -0
- package/fence.ts +223 -0
- package/file-metadata.js +135 -0
- package/file-metadata.js.map +1 -0
- package/file-metadata.ts +177 -0
- package/file-operation.js +51 -0
- package/file-operation.js.map +1 -0
- package/file-operation.ts +32 -0
- package/file-redirects.js +72 -0
- package/file-redirects.js.map +1 -0
- package/file-redirects.ts +74 -0
- package/file-root.js +8 -0
- package/file-root.js.map +1 -0
- package/file-root.ts +24 -0
- package/files-routes.js +203 -0
- package/files-routes.js.map +1 -0
- package/files-routes.ts +282 -0
- package/files.js +369 -0
- package/files.js.map +1 -0
- package/files.ts +522 -0
- package/fingerprint.js +217 -0
- package/fingerprint.js.map +1 -0
- package/fingerprint.ts +314 -0
- package/firsts.js +335 -0
- package/firsts.js.map +1 -0
- package/firsts.ts +368 -0
- package/friends-at.js +78 -0
- package/friends-at.js.map +1 -0
- package/friends-at.ts +115 -0
- package/friends-browser.js +66 -0
- package/friends-browser.js.map +1 -0
- package/friends-browser.ts +77 -0
- package/friends-dock-browser.js +375 -0
- package/friends-dock-browser.js.map +1 -0
- package/friends-dock-browser.ts +408 -0
- package/friends-dock-view.js +363 -0
- package/friends-dock-view.js.map +1 -0
- package/friends-dock-view.ts +592 -0
- package/friends-view.js +33 -0
- package/friends-view.js.map +1 -0
- package/friends-view.ts +69 -0
- package/friends.js +153 -0
- package/friends.js.map +1 -0
- package/friends.ts +200 -0
- package/fundraising-orders.js +197 -0
- package/fundraising-orders.js.map +1 -0
- package/fundraising-orders.ts +283 -0
- package/fundraising.js +165 -0
- package/fundraising.js.map +1 -0
- package/fundraising.ts +215 -0
- package/funnel.js +141 -0
- package/funnel.js.map +1 -0
- package/funnel.ts +284 -0
- package/gift-savings.js +19 -0
- package/gift-savings.js.map +1 -0
- package/gift-savings.ts +29 -0
- package/git-history.js +331 -0
- package/git-history.js.map +1 -0
- package/git-history.ts +481 -0
- package/giving-browser.js +35 -0
- package/giving-browser.js.map +1 -0
- package/giving-browser.ts +40 -0
- package/giving-pages.js +284 -0
- package/giving-pages.js.map +1 -0
- package/giving-pages.ts +418 -0
- package/giving-view.js +244 -0
- package/giving-view.js.map +1 -0
- package/giving-view.ts +509 -0
- package/giving.js +198 -0
- package/giving.js.map +1 -0
- package/giving.ts +280 -0
- package/gmail-mailbox.js +52 -0
- package/gmail-mailbox.js.map +1 -0
- package/gmail-mailbox.ts +74 -0
- package/graves.js +136 -0
- package/graves.js.map +1 -0
- package/graves.ts +180 -0
- package/hashed.js +499 -0
- package/hashed.js.map +1 -0
- package/hashed.ts +676 -0
- package/home/assets.js +15 -0
- package/home/assets.js.map +1 -0
- package/home/assets.ts +16 -0
- package/home/brands/stripe.svg +12 -0
- package/home/brands/zoom.svg +34 -0
- package/home/demos.js +413 -0
- package/home/demos.js.map +1 -0
- package/home/demos.ts +431 -0
- package/home/games.js +112 -0
- package/home/games.js.map +1 -0
- package/home/games.ts +137 -0
- package/home/icons.js +41 -0
- package/home/icons.js.map +1 -0
- package/home/icons.ts +42 -0
- package/home/mascot/calculating.webp +0 -0
- package/home/mascot/flag.webp +0 -0
- package/home/mascot/letter.webp +0 -0
- package/home/mascot/plane.webp +0 -0
- package/home/mascot/plug.webp +0 -0
- package/home/mascot/thinking.webp +0 -0
- package/home/mascot/typing.webp +0 -0
- package/home/mascot/wave.webp +0 -0
- package/home/mod.tsx +517 -0
- package/home/parts.js +149 -0
- package/home/parts.js.map +1 -0
- package/home/parts.ts +45 -0
- package/home/phone.tsx +152 -0
- package/home/scenes.tsx +212 -0
- package/home/sky.js +930 -0
- package/home/sky.tsx +479 -0
- package/home/story.js +392 -0
- package/home/style.css +1304 -0
- package/home/words.js +2 -0
- package/home/words.js.map +1 -0
- package/home/words.ts +8 -0
- package/home/yak.js +146 -0
- package/home/yak_test.tsx +111 -0
- package/home-router.js +30 -0
- package/home-router.js.map +1 -0
- package/home-router.ts +41 -0
- package/host.js +58 -0
- package/host.js.map +1 -0
- package/host.ts +97 -0
- package/hosted-page.js +126 -0
- package/hosted-page.js.map +1 -0
- package/hosted-page.ts +295 -0
- package/install-browser.js +89 -0
- package/install-browser.js.map +1 -0
- package/install-browser.ts +99 -0
- package/install-icons.js +271 -0
- package/install-icons.js.map +1 -0
- package/install-icons.ts +366 -0
- package/installs.js +197 -0
- package/installs.js.map +1 -0
- package/installs.ts +270 -0
- package/instrument.js +50 -0
- package/instrument.js.map +1 -0
- package/instrument.ts +55 -0
- package/integration-icons.js +138 -0
- package/integration-icons.js.map +1 -0
- package/integration-icons.ts +198 -0
- package/interaction-browser.js +95 -0
- package/interaction-browser.js.map +1 -0
- package/interaction-browser.ts +107 -0
- package/interaction-report.js +399 -0
- package/interaction-report.js.map +1 -0
- package/interaction-report.ts +450 -0
- package/interaction.js +273 -0
- package/interaction.js.map +1 -0
- package/interaction.ts +290 -0
- package/invite-browser.js +98 -0
- package/invite-browser.js.map +1 -0
- package/invite-browser.ts +123 -0
- package/invite-view.js +100 -0
- package/invite-view.js.map +1 -0
- package/invite-view.ts +137 -0
- package/kept.js +520 -0
- package/kept.js.map +1 -0
- package/kept.ts +821 -0
- package/kills-graph.js +18 -0
- package/kills-graph.js.map +1 -0
- package/kills-graph.ts +16 -0
- package/ladder.js +418 -0
- package/ladder.js.map +1 -0
- package/ladder.ts +510 -0
- package/lenses-graph.js +24 -0
- package/lenses-graph.js.map +1 -0
- package/lenses-graph.ts +27 -0
- package/lenses.js +197 -0
- package/lenses.js.map +1 -0
- package/lenses.ts +204 -0
- package/lent.js +32 -0
- package/lent.js.map +1 -0
- package/lent.ts +95 -0
- package/letters.js +134 -0
- package/letters.js.map +1 -0
- package/letters.ts +251 -0
- package/lexicon-graph.js +11 -0
- package/lexicon-graph.js.map +1 -0
- package/lexicon-graph.ts +7 -0
- package/link-preview.js +111 -0
- package/link-preview.js.map +1 -0
- package/link-preview.ts +136 -0
- package/listing.js +262 -0
- package/listing.js.map +1 -0
- package/listing.ts +330 -0
- package/local-time.js +32 -0
- package/local-time.js.map +1 -0
- package/local-time.ts +41 -0
- package/located.js +380 -0
- package/located.js.map +1 -0
- package/located.ts +471 -0
- package/log-graph.js +7 -0
- package/log-graph.js.map +1 -0
- package/log-graph.ts +9 -0
- package/lower-graph.js +7 -0
- package/lower-graph.js.map +1 -0
- package/lower-graph.ts +9 -0
- package/mail-request.js +32 -0
- package/mail-request.js.map +1 -0
- package/mail-request.ts +29 -0
- package/mail-senders.js +40 -0
- package/mail-senders.js.map +1 -0
- package/mail-senders.ts +47 -0
- package/managed-browser-pilot.js +151 -0
- package/managed-browser-pilot.js.map +1 -0
- package/managed-browser-pilot.ts +230 -0
- package/managed-browser-sites.js +43 -0
- package/managed-browser-sites.js.map +1 -0
- package/managed-browser-sites.ts +41 -0
- package/managed-browser-wire.js +142 -0
- package/managed-browser-wire.js.map +1 -0
- package/managed-browser-wire.ts +140 -0
- package/managed-browser.js +529 -0
- package/managed-browser.js.map +1 -0
- package/managed-browser.ts +740 -0
- package/manifest.js +425 -0
- package/manifest.js.map +1 -0
- package/manifest.ts +468 -0
- package/metadata-effect.js +61 -0
- package/metadata-effect.js.map +1 -0
- package/metadata-effect.ts +59 -0
- package/meter-graph.js +205 -0
- package/meter-graph.js.map +1 -0
- package/meter-graph.ts +238 -0
- package/meter-vocab.js +8 -0
- package/meter-vocab.js.map +1 -0
- package/meter-vocab.ts +4 -0
- package/meter.js +402 -0
- package/meter.js.map +1 -0
- package/meter.ts +697 -0
- package/mod.js +14 -0
- package/mod.js.map +1 -0
- package/mod.ts +16 -0
- package/models-vocab.js +25 -0
- package/models-vocab.js.map +1 -0
- package/models-vocab.ts +15 -0
- package/monogram.js +32 -0
- package/monogram.js.map +1 -0
- package/monogram.ts +46 -0
- package/mover.js +6 -0
- package/mover.js.map +1 -0
- package/mover.ts +45 -0
- package/named.js +136 -0
- package/named.js.map +1 -0
- package/named.ts +169 -0
- package/names.js +196 -0
- package/names.js.map +1 -0
- package/names.ts +252 -0
- package/notices-vocab.js +20 -0
- package/notices-vocab.js.map +1 -0
- package/notices-vocab.ts +28 -0
- package/numbers.js +85 -0
- package/numbers.js.map +1 -0
- package/numbers.ts +97 -0
- package/object-hosts.js +137 -0
- package/object-hosts.js.map +1 -0
- package/object-hosts.ts +153 -0
- package/open-script.js +235 -0
- package/open-script.js.map +1 -0
- package/open-script.ts +253 -0
- package/opening.js +31 -0
- package/opening.js.map +1 -0
- package/opening.ts +28 -0
- package/operator-activity-view.js +82 -0
- package/operator-activity-view.js.map +1 -0
- package/operator-activity-view.ts +85 -0
- package/operator-activity.js +220 -0
- package/operator-activity.js.map +1 -0
- package/operator-activity.ts +293 -0
- package/operator-brief.js +36 -0
- package/operator-brief.js.map +1 -0
- package/operator-brief.ts +76 -0
- package/operator-copy-browser.js +67 -0
- package/operator-copy-browser.js.map +1 -0
- package/operator-copy-browser.ts +71 -0
- package/operator-corner.js +266 -0
- package/operator-corner.js.map +1 -0
- package/operator-corner.ts +300 -0
- package/operator-decisions.js +19 -0
- package/operator-decisions.js.map +1 -0
- package/operator-decisions.ts +18 -0
- package/operator-docs.js +152 -0
- package/operator-docs.js.map +1 -0
- package/operator-docs.ts +196 -0
- package/operator-door.js +10 -0
- package/operator-door.js.map +1 -0
- package/operator-door.ts +14 -0
- package/operator-drafts-browser.js +28 -0
- package/operator-drafts-browser.js.map +1 -0
- package/operator-drafts-browser.ts +32 -0
- package/operator-drafts.js +60 -0
- package/operator-drafts.js.map +1 -0
- package/operator-drafts.ts +80 -0
- package/operator-early-draft.js +110 -0
- package/operator-early-draft.js.map +1 -0
- package/operator-early-draft.ts +125 -0
- package/operator-go-browser.js +130 -0
- package/operator-go-browser.js.map +1 -0
- package/operator-go-browser.ts +182 -0
- package/operator-go-step.js +86 -0
- package/operator-go-step.js.map +1 -0
- package/operator-go-step.ts +92 -0
- package/operator-go-tool.js +49 -0
- package/operator-go-tool.js.map +1 -0
- package/operator-go-tool.ts +31 -0
- package/operator-go.js +68 -0
- package/operator-go.js.map +1 -0
- package/operator-go.ts +100 -0
- package/operator-graph.js +46 -0
- package/operator-graph.js.map +1 -0
- package/operator-graph.ts +60 -0
- package/operator-handoff.js +91 -0
- package/operator-handoff.js.map +1 -0
- package/operator-handoff.ts +104 -0
- package/operator-machine.js +136 -0
- package/operator-machine.js.map +1 -0
- package/operator-machine.ts +168 -0
- package/operator-matches-browser.js +155 -0
- package/operator-matches-browser.js.map +1 -0
- package/operator-matches-browser.ts +178 -0
- package/operator-matches-view.js +147 -0
- package/operator-matches-view.js.map +1 -0
- package/operator-matches-view.ts +224 -0
- package/operator-matches.js +65 -0
- package/operator-matches.js.map +1 -0
- package/operator-matches.ts +120 -0
- package/operator-memory.js +119 -0
- package/operator-memory.js.map +1 -0
- package/operator-memory.ts +122 -0
- package/operator-mic.ts +40 -0
- package/operator-model.js +144 -0
- package/operator-model.js.map +1 -0
- package/operator-model.ts +154 -0
- package/operator-notes.js +32 -0
- package/operator-notes.js.map +1 -0
- package/operator-notes.ts +40 -0
- package/operator-opening-browser.js +184 -0
- package/operator-opening-browser.js.map +1 -0
- package/operator-opening-browser.ts +195 -0
- package/operator-owner.js +391 -0
- package/operator-owner.js.map +1 -0
- package/operator-owner.ts +392 -0
- package/operator-page-context.js +121 -0
- package/operator-page-context.js.map +1 -0
- package/operator-page-context.ts +143 -0
- package/operator-page-image.js +38 -0
- package/operator-page-image.js.map +1 -0
- package/operator-page-image.ts +42 -0
- package/operator-panel-browser.js +601 -0
- package/operator-panel-browser.js.map +1 -0
- package/operator-panel-browser.ts +669 -0
- package/operator-panel-view.js +69 -0
- package/operator-panel-view.js.map +1 -0
- package/operator-panel-view.ts +100 -0
- package/operator-panel.js +131 -0
- package/operator-panel.js.map +1 -0
- package/operator-panel.ts +155 -0
- package/operator-push.tsx +112 -0
- package/operator-record.js +55 -0
- package/operator-record.js.map +1 -0
- package/operator-record.ts +92 -0
- package/operator-replies.js +240 -0
- package/operator-replies.js.map +1 -0
- package/operator-replies.ts +281 -0
- package/operator-reply-view.js +117 -0
- package/operator-reply-view.js.map +1 -0
- package/operator-reply-view.ts +185 -0
- package/operator-safety.js +30 -0
- package/operator-safety.js.map +1 -0
- package/operator-safety.ts +53 -0
- package/operator-settings-browser.js +257 -0
- package/operator-settings-browser.js.map +1 -0
- package/operator-settings-browser.ts +290 -0
- package/operator-settings-view.js +291 -0
- package/operator-settings-view.js.map +1 -0
- package/operator-settings-view.ts +588 -0
- package/operator-settings.js +79 -0
- package/operator-settings.js.map +1 -0
- package/operator-settings.ts +137 -0
- package/operator-source.js +43 -0
- package/operator-source.js.map +1 -0
- package/operator-source.ts +69 -0
- package/operator-talk-browser.js +94 -0
- package/operator-talk-browser.js.map +1 -0
- package/operator-talk-browser.ts +120 -0
- package/operator-talk.js +83 -0
- package/operator-talk.js.map +1 -0
- package/operator-talk.ts +127 -0
- package/operator-task-text.js +45 -0
- package/operator-task-text.js.map +1 -0
- package/operator-task-text.ts +49 -0
- package/operator-timing-browser.js +51 -0
- package/operator-timing-browser.js.map +1 -0
- package/operator-timing-browser.ts +68 -0
- package/operator-timing-view.js +48 -0
- package/operator-timing-view.js.map +1 -0
- package/operator-timing-view.ts +90 -0
- package/operator-timing.js +132 -0
- package/operator-timing.js.map +1 -0
- package/operator-timing.ts +170 -0
- package/operator-vocab.js +8 -0
- package/operator-vocab.js.map +1 -0
- package/operator-vocab.ts +7 -0
- package/operator-voice-audio.ts +84 -0
- package/operator-voice-browser.ts +237 -0
- package/operator-voice-feedback.js +108 -0
- package/operator-voice-feedback.js.map +1 -0
- package/operator-voice-feedback.ts +133 -0
- package/operator-voice-view.js +33 -0
- package/operator-voice-view.js.map +1 -0
- package/operator-voice-view.ts +43 -0
- package/operator-voice.css +38 -0
- package/operator-voice.js +35 -0
- package/operator-voice.js.map +1 -0
- package/operator-voice.ts +33 -0
- package/operator-wait.js +70 -0
- package/operator-wait.js.map +1 -0
- package/operator-wait.ts +79 -0
- package/operator-watches.js +126 -0
- package/operator-watches.js.map +1 -0
- package/operator-watches.ts +141 -0
- package/operator-words.js +94 -0
- package/operator-words.js.map +1 -0
- package/operator-words.ts +114 -0
- package/outreach-trial.js +103 -0
- package/outreach-trial.js.map +1 -0
- package/outreach-trial.ts +122 -0
- package/outreach-vocab.js +10 -0
- package/outreach-vocab.js.map +1 -0
- package/outreach-vocab.ts +7 -0
- package/outreach.js +162 -0
- package/outreach.js.map +1 -0
- package/outreach.ts +239 -0
- package/package.json +1131 -4
- package/packs.js +103 -0
- package/packs.js.map +1 -0
- package/packs.ts +119 -0
- package/page-copy.js +267 -0
- package/page-copy.js.map +1 -0
- package/page-copy.ts +362 -0
- package/page-graph.js +114 -0
- package/page-graph.js.map +1 -0
- package/page-graph.ts +151 -0
- package/page-links.js +78 -0
- package/page-links.js.map +1 -0
- package/page-links.ts +124 -0
- package/page-parts.js +236 -0
- package/page-parts.js.map +1 -0
- package/page-parts.ts +388 -0
- package/page-query.js +95 -0
- package/page-query.js.map +1 -0
- package/page-query.ts +120 -0
- package/page-script.js +183 -0
- package/page-script.js.map +1 -0
- package/page-script.ts +192 -0
- package/page-wire.js +93 -0
- package/page-wire.js.map +1 -0
- package/page-wire.ts +100 -0
- package/pages-vocab.js +9 -0
- package/pages-vocab.js.map +1 -0
- package/pages-vocab.ts +5 -0
- package/partials.js +21 -0
- package/partials.js.map +1 -0
- package/partials.ts +37 -0
- package/payment-browser.js +250 -0
- package/payment-browser.js.map +1 -0
- package/payment-browser.ts +298 -0
- package/payment-rows.js +117 -0
- package/payment-rows.js.map +1 -0
- package/payment-rows.ts +219 -0
- package/payment-view.js +397 -0
- package/payment-view.js.map +1 -0
- package/payment-view.ts +852 -0
- package/people-browser.js +186 -0
- package/people-browser.js.map +1 -0
- package/people-browser.ts +210 -0
- package/people-rows.js +192 -0
- package/people-rows.js.map +1 -0
- package/people-rows.ts +289 -0
- package/people-view.js +463 -0
- package/people-view.js.map +1 -0
- package/people-view.ts +804 -0
- package/person-lines.js +196 -0
- package/person-lines.js.map +1 -0
- package/person-lines.ts +256 -0
- package/place.js +30 -0
- package/place.js.map +1 -0
- package/place.ts +31 -0
- package/plan-details.js +39 -0
- package/plan-details.js.map +1 -0
- package/plan-details.ts +57 -0
- package/plan-trial-graph.js +63 -0
- package/plan-trial-graph.js.map +1 -0
- package/plan-trial-graph.ts +57 -0
- package/plans.js +223 -0
- package/plans.js.map +1 -0
- package/plans.ts +313 -0
- package/platform-credentials.js +136 -0
- package/platform-credentials.js.map +1 -0
- package/platform-credentials.ts +189 -0
- package/poster-backfill.js +72 -0
- package/poster-backfill.js.map +1 -0
- package/poster-backfill.ts +96 -0
- package/presence.js +57 -0
- package/presence.js.map +1 -0
- package/presence.ts +77 -0
- package/preview-audit.js +65 -0
- package/preview-audit.js.map +1 -0
- package/preview-audit.ts +126 -0
- package/preview-fit.js +62 -0
- package/preview-fit.js.map +1 -0
- package/preview-fit.ts +72 -0
- package/preview-html.js +96 -0
- package/preview-html.js.map +1 -0
- package/preview-html.ts +139 -0
- package/preview.js +317 -0
- package/preview.js.map +1 -0
- package/preview.ts +498 -0
- package/price.js +53 -0
- package/price.js.map +1 -0
- package/price.ts +85 -0
- package/profile-browser.js +117 -0
- package/profile-browser.js.map +1 -0
- package/profile-browser.ts +141 -0
- package/profile-view.js +96 -0
- package/profile-view.js.map +1 -0
- package/profile-view.ts +197 -0
- package/provider-credits.js +159 -0
- package/provider-credits.js.map +1 -0
- package/provider-credits.ts +174 -0
- package/public-site-choice.js +18 -0
- package/public-site-choice.js.map +1 -0
- package/public-site-choice.ts +21 -0
- package/public-site.js +151 -0
- package/public-site.js.map +1 -0
- package/public-site.ts +268 -0
- package/publishing-graph.js +136 -0
- package/publishing-graph.js.map +1 -0
- package/publishing-graph.ts +122 -0
- package/qr.js +32 -0
- package/qr.js.map +1 -0
- package/qr.ts +32 -0
- package/query-page.js +159 -0
- package/query-page.js.map +1 -0
- package/query-page.ts +249 -0
- package/query-refusal.js +174 -0
- package/query-refusal.js.map +1 -0
- package/query-refusal.ts +319 -0
- package/refusal-loop.js +71 -0
- package/refusal-loop.js.map +1 -0
- package/refusal-loop.ts +98 -0
- package/refusals-vocab.js +9 -0
- package/refusals-vocab.js.map +1 -0
- package/refusals-vocab.ts +5 -0
- package/refused-writes.js +119 -0
- package/refused-writes.js.map +1 -0
- package/refused-writes.ts +152 -0
- package/refused.js +67 -0
- package/refused.js.map +1 -0
- package/refused.ts +76 -0
- package/regional-route-storage.js +127 -0
- package/regional-route-storage.js.map +1 -0
- package/regional-route-storage.ts +94 -0
- package/regional-route.js +105 -0
- package/regional-route.js.map +1 -0
- package/regional-route.ts +158 -0
- package/regional-serving-copy.js +153 -0
- package/regional-serving-copy.js.map +1 -0
- package/regional-serving-copy.ts +200 -0
- package/release-asset.js +71 -0
- package/release-asset.js.map +1 -0
- package/release-asset.ts +121 -0
- package/release-browser.js +383 -0
- package/release-code.js +5 -0
- package/release-entry.js +3 -0
- package/release-file.js +169 -0
- package/release-file.js.map +1 -0
- package/release-file.ts +241 -0
- package/release-index.js +140 -0
- package/release-index.js.map +1 -0
- package/release-index.ts +161 -0
- package/release-page.js +227 -0
- package/release-reads.js +27 -0
- package/release-reads.js.map +1 -0
- package/release-reads.ts +56 -0
- package/release-sheets.js +76 -0
- package/release-state.js +181 -0
- package/release-update.js +22 -0
- package/release-update.js.map +1 -0
- package/release-update.ts +29 -0
- package/release.js +50 -0
- package/release.js.map +1 -0
- package/release.ts +72 -0
- package/released.js +263 -0
- package/released.js.map +1 -0
- package/released.ts +310 -0
- package/remake-graph.js +17 -0
- package/remake-graph.js.map +1 -0
- package/remake-graph.ts +15 -0
- package/rouse-graph.js +11 -0
- package/rouse-graph.js.map +1 -0
- package/rouse-graph.ts +8 -0
- package/route-memory.js +101 -0
- package/route-memory.js.map +1 -0
- package/route-memory.ts +132 -0
- package/routes.js +1143 -0
- package/routes.js.map +1 -0
- package/routes.ts +1502 -0
- package/sale-recovery.js +175 -0
- package/sale-recovery.js.map +1 -0
- package/sale-recovery.ts +156 -0
- package/sales.js +113 -0
- package/sales.js.map +1 -0
- package/sales.ts +150 -0
- package/schema.js +28 -0
- package/schema.js.map +1 -0
- package/schema.ts +13 -0
- package/serving-copy.js +161 -0
- package/serving-copy.js.map +1 -0
- package/serving-copy.ts +201 -0
- package/settings-drafts-browser.js +81 -0
- package/settings-drafts-browser.js.map +1 -0
- package/settings-drafts-browser.ts +95 -0
- package/settings-drafts.js +119 -0
- package/settings-drafts.js.map +1 -0
- package/settings-drafts.ts +136 -0
- package/shared-browser.js +61 -0
- package/shared-browser.js.map +1 -0
- package/shared-browser.ts +77 -0
- package/shared-view.js +29 -0
- package/shared-view.js.map +1 -0
- package/shared-view.ts +47 -0
- package/side-browser.js +164 -0
- package/side-browser.js.map +1 -0
- package/side-browser.ts +201 -0
- package/side-parts.js +258 -0
- package/side-parts.js.map +1 -0
- package/side-parts.ts +447 -0
- package/side-rows.js +64 -0
- package/side-rows.js.map +1 -0
- package/side-rows.ts +104 -0
- package/signed-in.js +37 -0
- package/signed-in.js.map +1 -0
- package/signed-in.ts +45 -0
- package/site-assets.js +8 -0
- package/site-assets.js.map +1 -0
- package/site-assets.ts +25 -0
- package/site-header.js +65 -0
- package/site-header.js.map +1 -0
- package/site-header.ts +71 -0
- package/site-nav.js +75 -0
- package/site-nav.js.map +1 -0
- package/site-nav.ts +82 -0
- package/site-validation.js +37 -0
- package/site-validation.js.map +1 -0
- package/site-validation.ts +47 -0
- package/space-apps-browser.js +107 -0
- package/space-apps-browser.js.map +1 -0
- package/space-apps-browser.ts +128 -0
- package/space-apps-view.js +222 -0
- package/space-apps-view.js.map +1 -0
- package/space-apps-view.ts +396 -0
- package/space-apps.js +88 -0
- package/space-apps.js.map +1 -0
- package/space-apps.ts +143 -0
- package/space-logo.js +82 -0
- package/space-logo.js.map +1 -0
- package/space-logo.ts +112 -0
- package/space-pages-browser.js +474 -0
- package/space-pages-browser.js.map +1 -0
- package/space-pages-browser.ts +463 -0
- package/space-pages-view.js +212 -0
- package/space-pages-view.js.map +1 -0
- package/space-pages-view.ts +460 -0
- package/space-pages.js +193 -0
- package/space-pages.js.map +1 -0
- package/space-pages.ts +282 -0
- package/space-switch.js +36 -0
- package/space-switch.js.map +1 -0
- package/space-switch.ts +64 -0
- package/splash.js +510 -0
- package/splash.js.map +1 -0
- package/splash.ts +525 -0
- package/standing.js +409 -0
- package/standing.js.map +1 -0
- package/standing.ts +746 -0
- package/still.js +63 -0
- package/still.js.map +1 -0
- package/still.ts +95 -0
- package/store-listing.js +107 -0
- package/store-listing.js.map +1 -0
- package/store-listing.ts +133 -0
- package/store-wake.js +65 -0
- package/store-wake.js.map +1 -0
- package/store-wake.ts +101 -0
- package/stream-posters.js +177 -0
- package/stream-posters.js.map +1 -0
- package/stream-posters.ts +297 -0
- package/support-contract-service.js +219 -0
- package/support-contract-service.js.map +1 -0
- package/support-contract-service.ts +307 -0
- package/support-contract-view.js +155 -0
- package/support-contract-view.js.map +1 -0
- package/support-contract-view.ts +265 -0
- package/support-contract.js +114 -0
- package/support-contract.js.map +1 -0
- package/support-contract.ts +157 -0
- package/sweep-vocab.js +10 -0
- package/sweep-vocab.js.map +1 -0
- package/sweep-vocab.ts +9 -0
- package/talk-views-browser.js +208 -0
- package/talk-views-browser.js.map +1 -0
- package/talk-views-browser.ts +232 -0
- package/talk-views.js +36 -0
- package/talk-views.js.map +1 -0
- package/talk-views.ts +64 -0
- package/task-rows.js +86 -0
- package/task-rows.js.map +1 -0
- package/task-rows.ts +96 -0
- package/tasks-view.js +111 -0
- package/tasks-view.js.map +1 -0
- package/tasks-view.ts +176 -0
- package/toast.ts +17 -0
- package/trash-graph.js +41 -0
- package/trash-graph.js.map +1 -0
- package/trash-graph.ts +27 -0
- package/trash-vocab.js +8 -0
- package/trash-vocab.js.map +1 -0
- package/trash-vocab.ts +4 -0
- package/trial.js +325 -0
- package/trial.js.map +1 -0
- package/trial.ts +451 -0
- package/update-rows.js +77 -0
- package/update-rows.js.map +1 -0
- package/update-rows.ts +171 -0
- package/update-waiting.js +131 -0
- package/update-waiting.js.map +1 -0
- package/update-waiting.ts +133 -0
- package/updates-browser.js +28 -0
- package/updates-browser.js.map +1 -0
- package/updates-browser.ts +33 -0
- package/updates-day-browser.js +77 -0
- package/updates-day-browser.js.map +1 -0
- package/updates-day-browser.ts +84 -0
- package/updates-day.js +60 -0
- package/updates-day.js.map +1 -0
- package/updates-day.ts +94 -0
- package/updates-list-browser.js +175 -0
- package/updates-list-browser.js.map +1 -0
- package/updates-list-browser.ts +198 -0
- package/updates-view.js +546 -0
- package/updates-view.js.map +1 -0
- package/updates-view.ts +814 -0
- package/upload-client-path.js +5 -0
- package/upload-client-path.js.map +1 -0
- package/upload-client-path.ts +4 -0
- package/uploads.js +290 -0
- package/uploads.js.map +1 -0
- package/uploads.ts +334 -0
- package/upstream.js +40 -0
- package/upstream.js.map +1 -0
- package/upstream.ts +57 -0
- package/version-view.js +57 -0
- package/version-view.js.map +1 -0
- package/version-view.ts +99 -0
- package/versions.js +231 -0
- package/versions.js.map +1 -0
- package/versions.ts +367 -0
- package/visit-counts.js +123 -0
- package/visit-counts.js.map +1 -0
- package/visit-counts.ts +162 -0
- package/visitor-location.js +33 -0
- package/visitor-location.js.map +1 -0
- package/visitor-location.ts +38 -0
- package/visitor.js +152 -0
- package/visitor.js.map +1 -0
- package/visitor.ts +228 -0
- package/visits-browser.js +71 -0
- package/visits-browser.js.map +1 -0
- package/visits-browser.ts +87 -0
- package/visits-view.js +88 -0
- package/visits-view.js.map +1 -0
- package/visits-view.ts +184 -0
- package/visits.js +428 -0
- package/visits.js.map +1 -0
- package/visits.ts +561 -0
- package/vocab/account.vocab.json +349 -0
- package/vocab/agents.vocab.json +64 -0
- package/vocab/app-canvas.vocab.json +137 -0
- package/vocab/app-friends.vocab.json +71 -0
- package/vocab/app-permissions.vocab.json +46 -0
- package/vocab/apps.vocab.json +553 -0
- package/vocab/attribution.vocab.json +32 -0
- package/vocab/builder-install.vocab.json +10 -0
- package/vocab/connections.vocab.json +128 -0
- package/vocab/dashboard.vocab.json +148 -0
- package/vocab/directory.vocab.json +2445 -0
- package/vocab/exception.vocab.json +18 -0
- package/vocab/fundraising.vocab.json +284 -0
- package/vocab/gmail-mailbox.vocab.json +73 -0
- package/vocab/kernel.vocab.json +420 -0
- package/vocab/mcp-retirement.vocab.json +66 -0
- package/vocab/meter.vocab.json +230 -0
- package/vocab/models-install.vocab.json +10 -0
- package/vocab/notices.vocab.json +88 -0
- package/vocab/operator-drafts.vocab.json +19 -0
- package/vocab/operator-matches.vocab.json +85 -0
- package/vocab/operator-settings.vocab.json +127 -0
- package/vocab/operator-talk.vocab.json +92 -0
- package/vocab/operator.vocab.json +1314 -0
- package/vocab/outreach.vocab.json +141 -0
- package/vocab/pages.vocab.json +38 -0
- package/vocab/payment.vocab.json +271 -0
- package/vocab/people.vocab.json +337 -0
- package/vocab/presence.vocab.json +19 -0
- package/vocab/preview.vocab.json +66 -0
- package/vocab/referenced.vocab.json +17 -0
- package/vocab/referral.vocab.json +272 -0
- package/vocab/refusals.vocab.json +16 -0
- package/vocab/registration.vocab.json +17 -0
- package/vocab/serving.vocab.json +103 -0
- package/vocab/side.vocab.json +97 -0
- package/vocab/space-apps.vocab.json +137 -0
- package/vocab/space-pages.vocab.json +416 -0
- package/vocab/sweep-install.vocab.json +10 -0
- package/vocab/sweep.vocab.json +125 -0
- package/vocab/trash.vocab.json +19 -0
- package/vocab/update.vocab.json +53 -0
- package/vocab/upload.vocab.json +69 -0
- package/vocab/use.vocab.json +93 -0
- package/vocab/visits.vocab.json +143 -0
- package/vocab/waiting.vocab.json +29 -0
- package/vocab.js +16 -0
- package/vocab.js.map +1 -0
- package/vocab.json +1703 -0
- package/vocab.ts +17 -0
- package/weigh-graph.js +12 -0
- package/weigh-graph.js.map +1 -0
- package/weigh-graph.ts +9 -0
- package/wire-news.js +30 -0
- package/wire-news.js.map +1 -0
- package/wire-news.ts +30 -0
- package/work-standing.js +64 -0
- package/work-standing.js.map +1 -0
- package/work-standing.ts +44 -0
- package/woven.js +435 -0
- package/woven.js.map +1 -0
- package/woven.ts +649 -0
- package/wrap-graph.js +17 -0
- package/wrap-graph.js.map +1 -0
- package/wrap-graph.ts +15 -0
- package/write-owner.js +11 -0
- package/write-owner.js.map +1 -0
- package/write-owner.ts +24 -0
package/_client-error.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* @ts-types="npm:@types/react@19.3.0" */ import { createElement as h } from 'npm:react@19.3.0'
|
|
2
|
+
import { fragment } from 'jsr:@yaks/html@0.2.36/dom'
|
|
3
|
+
import { ErrorNotice, place, showError } from 'jsr:@yaks/ui@0.2.36/parts'
|
|
4
|
+
import icon from './@yaks/ui/Icon.css' with { type: 'text' }
|
|
5
|
+
import overlay from './@yaks/ui/Overlay.css' with { type: 'text' }
|
|
6
|
+
import notice from './@yaks/ui/ErrorNotice.css' with { type: 'text' }
|
|
7
|
+
|
|
8
|
+
export { toast } from './toast.ts'
|
|
9
|
+
|
|
10
|
+
let sheets = new WeakSet()
|
|
11
|
+
let banners = new WeakMap()
|
|
12
|
+
let actions = new WeakMap()
|
|
13
|
+
|
|
14
|
+
let draw = (at, props, words) => {
|
|
15
|
+
let doc = at.ownerDocument
|
|
16
|
+
if (!sheets.has(doc)) {
|
|
17
|
+
let style = doc.createElement('style')
|
|
18
|
+
style.textContent = [icon, overlay, notice].join('\n')
|
|
19
|
+
doc.head.append(style)
|
|
20
|
+
sheets.add(doc)
|
|
21
|
+
}
|
|
22
|
+
return fragment(doc, h(ErrorNotice, props, words)).firstElementChild
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** Show one shared banner in place of a view's loading status or clear it. */
|
|
26
|
+
export let pageError = (status, message) => {
|
|
27
|
+
banners.get(status)?.remove()
|
|
28
|
+
banners.delete(status)
|
|
29
|
+
status.textContent = ''
|
|
30
|
+
if (!message) return
|
|
31
|
+
let banner = draw(status, null, message)
|
|
32
|
+
status.after(banner)
|
|
33
|
+
banners.set(status, banner)
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** Clear an action's error before attempting it again. */
|
|
37
|
+
export let clearError = (action) => actions.get(action)?.()
|
|
38
|
+
|
|
39
|
+
/** Float the shared error notice beside a control on a static page. */
|
|
40
|
+
export let actionError = (action, message) => {
|
|
41
|
+
clearError(action)
|
|
42
|
+
if (!action.isConnected) return
|
|
43
|
+
let doc = action.ownerDocument
|
|
44
|
+
let view = doc.defaultView
|
|
45
|
+
let dialog = action.closest('dialog[open]')
|
|
46
|
+
let host = doc.createElement('div')
|
|
47
|
+
host.className = 'Overlay'
|
|
48
|
+
host.append(draw(action, { mod: 'float' }))
|
|
49
|
+
let close = () => {
|
|
50
|
+
host.remove()
|
|
51
|
+
actions.delete(action)
|
|
52
|
+
view.removeEventListener('hashchange', close)
|
|
53
|
+
view.removeEventListener('resize', move)
|
|
54
|
+
doc.removeEventListener('scroll', move, true)
|
|
55
|
+
dialog?.removeEventListener('close', close)
|
|
56
|
+
}
|
|
57
|
+
let move = () => {
|
|
58
|
+
if (!action.isConnected) return close()
|
|
59
|
+
place(host, action.getBoundingClientRect(), 'above')
|
|
60
|
+
}
|
|
61
|
+
actions.set(action, close)
|
|
62
|
+
;(dialog ?? doc.body).append(host)
|
|
63
|
+
showError(host, message)
|
|
64
|
+
host.querySelector('[data-error-dismiss]').onclick = close
|
|
65
|
+
move()
|
|
66
|
+
view.addEventListener('hashchange', close)
|
|
67
|
+
view.addEventListener('resize', move)
|
|
68
|
+
doc.addEventListener('scroll', move, true)
|
|
69
|
+
dialog?.addEventListener('close', close)
|
|
70
|
+
}
|
package/_client-modal.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { review } from './refused-writes.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { admitSchema } from '@yaks/graph/schema'
|
package/_client-vault.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { idb, stash } from '@yaks/client'
|
|
2
|
+
|
|
3
|
+
/** The browser's own durable components use the same person boundary.
|
|
4
|
+
* @param {string} scope
|
|
5
|
+
* @param {() => Promise<string | null>} identity
|
|
6
|
+
* @returns {import('@yaks/client').Vault}
|
|
7
|
+
*/
|
|
8
|
+
export let appVault = (
|
|
9
|
+
scope,
|
|
10
|
+
identity,
|
|
11
|
+
) => {
|
|
12
|
+
let open = identity().then((person) => ({
|
|
13
|
+
disk: idb({ name: `yaks-local:${scope}:${person ?? 'anonymous'}` }),
|
|
14
|
+
}))
|
|
15
|
+
let vault = open.then(async ({ disk }) => {
|
|
16
|
+
try {
|
|
17
|
+
return { disk, rows: await disk.load() }
|
|
18
|
+
} catch (error) {
|
|
19
|
+
if (!(error instanceof DOMException) || error.name !== 'SecurityError') {
|
|
20
|
+
throw error
|
|
21
|
+
}
|
|
22
|
+
return { disk: stash(), rows: [] }
|
|
23
|
+
}
|
|
24
|
+
})
|
|
25
|
+
return {
|
|
26
|
+
load: async () => (await vault).rows,
|
|
27
|
+
save: async (rows) => (await vault).disk.save(rows),
|
|
28
|
+
drop: async (eids) => (await vault).disk.drop(eids),
|
|
29
|
+
clear: async () => (await vault).disk.clear(),
|
|
30
|
+
}
|
|
31
|
+
}
|
package/_edit-query.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { editPlanner, editQuery } from './_client-replica.js'
|
package/_uploads.js
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The person's account saved through the tab's page graph: the Save bar of a
|
|
3
|
+
* page drawn from their `account` row (./account-rows.ts), Profile's or
|
|
4
|
+
* Friends', writes that row with what its form holds, and the page shows it
|
|
5
|
+
* at once. What the door refuses, or a save that could not reach it, the bar
|
|
6
|
+
* says, keeping what was typed.
|
|
7
|
+
*
|
|
8
|
+
* @module
|
|
9
|
+
*/ import { WriteRefused, WriteUnknown } from "@yaks/client";
|
|
10
|
+
import { CallError } from "@yaks/tools/errors";
|
|
11
|
+
import { showError } from "@yaks/ui/ErrorNotice";
|
|
12
|
+
import { accountEid, accountOf } from "./account-rows.js";
|
|
13
|
+
import { SAVE_THROUGH } from "./page-parts.js";
|
|
14
|
+
/** What a page says of a write the door refused, or `unreached` of one that
|
|
15
|
+
* could not reach it; anything else is a failure, thrown on. */ export let refusal = (error, unreached)=>{
|
|
16
|
+
if (error instanceof WriteRefused) return error.message;
|
|
17
|
+
if (error instanceof WriteUnknown) return unreached;
|
|
18
|
+
throw error;
|
|
19
|
+
};
|
|
20
|
+
/** What a settings form holding `body` makes of `account`. */ export let accountFrom = (account, body)=>({
|
|
21
|
+
...account,
|
|
22
|
+
...body.has('name') ? {
|
|
23
|
+
name: String(body.get('name'))
|
|
24
|
+
} : {},
|
|
25
|
+
...body.has('presence') ? {
|
|
26
|
+
hidden: body.get('presence') == 'hidden'
|
|
27
|
+
} : {},
|
|
28
|
+
...body.has('first') ? {
|
|
29
|
+
first: String(body.get('first'))
|
|
30
|
+
} : {}
|
|
31
|
+
});
|
|
32
|
+
/** Save each settings form in `root` through `graph` as `person`'s account,
|
|
33
|
+
* whose row `rows` reads. Called again after each redraw, since a redraw may
|
|
34
|
+
* bring a form. */ export let savesAccount = (root, graph, person, rows)=>{
|
|
35
|
+
for (let form of root.querySelectorAll('form[data-save]')){
|
|
36
|
+
form[SAVE_THROUGH] = async (body)=>{
|
|
37
|
+
let account = accountOf(rows());
|
|
38
|
+
if (!account) {
|
|
39
|
+
throw new CallError('arguments', 'Your account is still loading.');
|
|
40
|
+
}
|
|
41
|
+
try {
|
|
42
|
+
await graph.mutate([
|
|
43
|
+
{
|
|
44
|
+
entity: {
|
|
45
|
+
eid: accountEid(person)
|
|
46
|
+
},
|
|
47
|
+
account: accountFrom(account, body)
|
|
48
|
+
}
|
|
49
|
+
]);
|
|
50
|
+
} catch (error) {
|
|
51
|
+
throw new CallError('arguments', refusal(error, 'Account settings could not be saved. The form still has your changes. Try again.'));
|
|
52
|
+
}
|
|
53
|
+
return undefined;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
/** An action's expected refusal or a plain fallback for a failed request. */ export let actionFailure = (error, fallback)=>{
|
|
58
|
+
if (error instanceof WriteRefused) return error.message;
|
|
59
|
+
if (!(error instanceof WriteUnknown)) globalThis.reportError?.(error);
|
|
60
|
+
return fallback;
|
|
61
|
+
};
|
|
62
|
+
/** Say what came of a write in its own action's feedback. */ export let tell = (scope, words, refused = false)=>{
|
|
63
|
+
let status = scope?.querySelector('[data-said]');
|
|
64
|
+
if (status) status.textContent = refused ? '' : words;
|
|
65
|
+
showError(scope, refused ? words : '');
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=account-browser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-browser.js","sources":["./account-browser.ts"],"names":[],"mappings":"AAAA;;;;;;;;CAQC,GACD,SAAsB,YAAY,EAAE,YAAY,4BAAiC;AACjF,SAAS,SAAS,kCAAuC;AACzD,SAAS,SAAS,oCAAyC;AAC3D,SAEE,UAAU,EACV,SAAS,4BAEe;AAC1B,SAAS,YAAY,0BAA0C;AAE/D;8DAC8D,GAC9D,OAAO,IAAI,UAAU,CAAC,OAAgB;EACpC,IAAI,iBAAiB,cAAc,OAAO,MAAM,OAAO;EACvD,IAAI,iBAAiB,cAAc,OAAO;EAC1C,MAAM;AACR,EAAC;AAED,4DAA4D,GAC5D,OAAO,IAAI,cAAc,CAAC,SAAkB,OAAiC,CAAC;IAC5E,GAAG,OAAO;IACV,GAAG,KAAK,GAAG,CAAC,UAAU;MAAE,MAAM,OAAO,KAAK,GAAG,CAAC;IAAS,IAAI,CAAC,CAAC;IAC7D,GAAG,KAAK,GAAG,CAAC,cAAc;MAAE,QAAQ,KAAK,GAAG,CAAC,eAAe;IAAS,IAAI,CAAC,CAAC;IAC3E,GAAG,KAAK,GAAG,CAAC,WAAW;MAAE,OAAO,OAAO,KAAK,GAAG,CAAC;IAAU,IAAI,CAAC,CAAC;EAClE,CAAC,EAAC;AAEF;;iBAEiB,GACjB,OAAO,IAAI,eAAe,CACxB,MACA,OACA,QACA;EAEA,KAAK,IAAI,QAAQ,KAAK,gBAAgB,CAAa,mBAAoB;IACrE,IAAI,CAAC,aAAa,GAAG,OAAO;MAC1B,IAAI,UAAU,UAAU;MACxB,IAAI,CAAC,SAAS;QACZ,MAAM,IAAI,UAAU,aAAa;MACnC;MACA,IAAI;QACF,MAAM,MAAM,MAAM,CAAC;UAAC;YAClB,QAAQ;cAAE,KAAK,WAAW;YAAQ;YAClC,SAAS,YAAY,SAAS;UAChC;SAAE;MACJ,EAAE,OAAO,OAAO;QACd,MAAM,IAAI,UACR,aACA,QACE,OACA;MAGN;MACA,OAAO;IACT;EACF;AACF,EAAC;AAED,2EAA2E,GAC3E,OAAO,IAAI,gBAAgB,CAAC,OAAgB;EAC1C,IAAI,iBAAiB,cAAc,OAAO,MAAM,OAAO;EACvD,IAAI,CAAC,CAAC,iBAAiB,YAAY,GAAG,WAAW,WAAW,GAAG;EAC/D,OAAO;AACT,EAAC;AAED,2DAA2D,GAC3D,OAAO,IAAI,OAAO,CAChB,OACA,OACA,UAAU,KAAK;EAEf,IAAI,SAAS,OAAO,cAA2B;EAC/C,IAAI,QAAQ,OAAO,WAAW,GAAG,UAAU,KAAK;EAChD,UAAU,OAAO,UAAU,QAAQ;AACrC,EAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The person's account saved through the tab's page graph: the Save bar of a
|
|
3
|
+
* page drawn from their `account` row (./account-rows.ts), Profile's or
|
|
4
|
+
* Friends', writes that row with what its form holds, and the page shows it
|
|
5
|
+
* at once. What the door refuses, or a save that could not reach it, the bar
|
|
6
|
+
* says, keeping what was typed.
|
|
7
|
+
*
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
import { type Client, WriteRefused, WriteUnknown } from '@yaks/client'
|
|
11
|
+
import { CallError } from '@yaks/tools/errors'
|
|
12
|
+
import { showError } from '@yaks/ui/ErrorNotice'
|
|
13
|
+
import {
|
|
14
|
+
type Account,
|
|
15
|
+
accountEid,
|
|
16
|
+
accountOf,
|
|
17
|
+
type AccountWrite,
|
|
18
|
+
} from './account-rows.js'
|
|
19
|
+
import { SAVE_THROUGH, type SavingForm } from './page-parts.js'
|
|
20
|
+
|
|
21
|
+
/** What a page says of a write the door refused, or `unreached` of one that
|
|
22
|
+
* could not reach it; anything else is a failure, thrown on. */
|
|
23
|
+
export let refusal = (error: unknown, unreached: string): string => {
|
|
24
|
+
if (error instanceof WriteRefused) return error.message
|
|
25
|
+
if (error instanceof WriteUnknown) return unreached
|
|
26
|
+
throw error
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** What a settings form holding `body` makes of `account`. */
|
|
30
|
+
export let accountFrom = (account: Account, body: FormData): AccountWrite => ({
|
|
31
|
+
...account,
|
|
32
|
+
...body.has('name') ? { name: String(body.get('name')) } : {},
|
|
33
|
+
...body.has('presence') ? { hidden: body.get('presence') == 'hidden' } : {},
|
|
34
|
+
...body.has('first') ? { first: String(body.get('first')) } : {},
|
|
35
|
+
})
|
|
36
|
+
|
|
37
|
+
/** Save each settings form in `root` through `graph` as `person`'s account,
|
|
38
|
+
* whose row `rows` reads. Called again after each redraw, since a redraw may
|
|
39
|
+
* bring a form. */
|
|
40
|
+
export let savesAccount = (
|
|
41
|
+
root: HTMLElement,
|
|
42
|
+
graph: Pick<Client, 'mutate'>,
|
|
43
|
+
person: string,
|
|
44
|
+
rows: () => Parameters<typeof accountOf>[0],
|
|
45
|
+
): void => {
|
|
46
|
+
for (let form of root.querySelectorAll<SavingForm>('form[data-save]')) {
|
|
47
|
+
form[SAVE_THROUGH] = async (body) => {
|
|
48
|
+
let account = accountOf(rows())
|
|
49
|
+
if (!account) {
|
|
50
|
+
throw new CallError('arguments', 'Your account is still loading.')
|
|
51
|
+
}
|
|
52
|
+
try {
|
|
53
|
+
await graph.mutate([{
|
|
54
|
+
entity: { eid: accountEid(person) },
|
|
55
|
+
account: accountFrom(account, body),
|
|
56
|
+
}])
|
|
57
|
+
} catch (error) {
|
|
58
|
+
throw new CallError(
|
|
59
|
+
'arguments',
|
|
60
|
+
refusal(
|
|
61
|
+
error,
|
|
62
|
+
'Account settings could not be saved. The form still has your changes. Try again.',
|
|
63
|
+
),
|
|
64
|
+
)
|
|
65
|
+
}
|
|
66
|
+
return undefined
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** An action's expected refusal or a plain fallback for a failed request. */
|
|
72
|
+
export let actionFailure = (error: unknown, fallback: string): string => {
|
|
73
|
+
if (error instanceof WriteRefused) return error.message
|
|
74
|
+
if (!(error instanceof WriteUnknown)) globalThis.reportError?.(error)
|
|
75
|
+
return fallback
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/** Say what came of a write in its own action's feedback. */
|
|
79
|
+
export let tell = (
|
|
80
|
+
scope: HTMLElement | null,
|
|
81
|
+
words: string,
|
|
82
|
+
refused = false,
|
|
83
|
+
): void => {
|
|
84
|
+
let status = scope?.querySelector<HTMLElement>('[data-said]')
|
|
85
|
+
if (status) status.textContent = refused ? '' : words
|
|
86
|
+
showError(scope, refused ? words : '')
|
|
87
|
+
}
|
package/account-rows.js
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The rows the signed-in person's own pages draw from (D-475 step 3): their
|
|
3
|
+
* account, `account{name, email, hidden}`, each browser signed in as them,
|
|
4
|
+
* `signedIn{agent, place, at}`, each confirmed friend, `befriended{…}`,
|
|
5
|
+
* online first, each app of someone else's they may open, `sharedApp{rank,
|
|
6
|
+
* eid, slug, title, space}`, and their invite to yaks.app, `invitePage{said,
|
|
7
|
+
* text, mail, address, joined, built}`, and each chat platform whose bot
|
|
8
|
+
* yaks.app keeps, with the accounts they linked there, `chatLink{rank,
|
|
9
|
+
* platform, integration, accounts}`, and each message between them and a
|
|
10
|
+
* confirmed friend, `friendMessage{from, to, words, at, read, operator}`, the
|
|
11
|
+
* newest {@link HELD_MESSAGES}. The directory answers each as a read
|
|
12
|
+
* of the person (graph.ts `/person/ws`), and the tab's page graph watches them through
|
|
13
|
+
* its door (reach-door.ts), as it does the side's (./side-rows.ts).
|
|
14
|
+
*
|
|
15
|
+
* The person changes them through the page graph: an `account` row written
|
|
16
|
+
* with a new name, `hidden` or `first` (the slug of a space they own, which
|
|
17
|
+
* `/manage` opens) is that change; a `signOut{session}` row signs out one
|
|
18
|
+
* browser, or with `session: 'all'` every one; a `friendMessage{to, words}`
|
|
19
|
+
* row is a message sent, its eid the message's own, so the row it shows as
|
|
20
|
+
* at once is the one the directory answers; the same row written `read` is
|
|
21
|
+
* the message read; a `friendAsk{email}` row is a friend asked; and a
|
|
22
|
+
* `friendRemove{person}` row is a friend removed, or a request withdrawn. The door
|
|
23
|
+
* does each as the person (account-writes.ts) and answers what it made.
|
|
24
|
+
*
|
|
25
|
+
* @module
|
|
26
|
+
*/ import { derivedEid } from "@yaks/graph/identity";
|
|
27
|
+
import accountJson from './vocab/account.vocab.json' with {
|
|
28
|
+
type: 'json'
|
|
29
|
+
};
|
|
30
|
+
/** The person's account. */ export let ACCOUNT = '.account';
|
|
31
|
+
/** The person's confirmed friends, in the order their page lists them. */ export let FRIENDS = '.befriended';
|
|
32
|
+
/** The browsers signed in as the person. */ export let SIGNED_IN = '.signedIn';
|
|
33
|
+
/** The apps of other people's spaces the person may open. */ export let SHARED_APPS = '.sharedApp';
|
|
34
|
+
/** The person's own invite to yaks.app. */ export let INVITE_PAGE = '.invitePage';
|
|
35
|
+
/** The chat platforms the person links their own account on. */ export let CHAT_LINKS = '.chatLink';
|
|
36
|
+
/** The person's messages with their confirmed friends, newest first. */ export let FRIEND_MESSAGES = '.friendMessage';
|
|
37
|
+
/** How many of the newest messages with friends a tab holds. */ export let HELD_MESSAGES = 200;
|
|
38
|
+
export let accountWords = accountJson;
|
|
39
|
+
/** The eid of `person`'s account row. */ export let accountEid = (person)=>derivedEid(`account|${person}`);
|
|
40
|
+
/** `person`'s account as a row. */ export let accountRow = (person, account)=>({
|
|
41
|
+
entity: {
|
|
42
|
+
eid: accountEid(person)
|
|
43
|
+
},
|
|
44
|
+
account
|
|
45
|
+
});
|
|
46
|
+
/** `person`'s friends, and those they asked, as rows, `friends` in their
|
|
47
|
+
* page's order. */ export let friendRows = (person, friends)=>friends.map((f, rank)=>({
|
|
48
|
+
entity: {
|
|
49
|
+
eid: derivedEid(`befriended|${person}|${f.person}`)
|
|
50
|
+
},
|
|
51
|
+
befriended: f.seen ? {
|
|
52
|
+
...f,
|
|
53
|
+
rank
|
|
54
|
+
} : {
|
|
55
|
+
rank,
|
|
56
|
+
...without(f)
|
|
57
|
+
}
|
|
58
|
+
}));
|
|
59
|
+
let without = ({ seen: _, ...f })=>f;
|
|
60
|
+
/** The account `rows` hold, if any. */ export let accountOf = (rows)=>rows.find((r)=>r.account)?.account;
|
|
61
|
+
/** The browsers `sessions` as rows, each the session's own eid. */ export let signedInRows = (sessions)=>sessions.map(({ eid, agent, place, at })=>({
|
|
62
|
+
entity: {
|
|
63
|
+
eid
|
|
64
|
+
},
|
|
65
|
+
signedIn: {
|
|
66
|
+
agent,
|
|
67
|
+
...place ? {
|
|
68
|
+
place
|
|
69
|
+
} : {},
|
|
70
|
+
...at ? {
|
|
71
|
+
at
|
|
72
|
+
} : {}
|
|
73
|
+
}
|
|
74
|
+
}));
|
|
75
|
+
/** The browsers `rows` hold, each with its session's eid. */ export let signedInOf = (rows)=>rows.flatMap((r)=>r.signedIn ? [
|
|
76
|
+
{
|
|
77
|
+
eid: r.entity.eid,
|
|
78
|
+
...r.signedIn
|
|
79
|
+
}
|
|
80
|
+
] : []);
|
|
81
|
+
/** The friends `rows` hold, and those asked (`asking`), in their page's
|
|
82
|
+
* order. */ export let friendsOf = (rows)=>rows.flatMap((r)=>r.befriended ? [
|
|
83
|
+
r.befriended
|
|
84
|
+
] : []).sort((a, b)=>a.rank - b.rank).map(({ rank: _, ...f })=>f);
|
|
85
|
+
/** Messages with friends as rows, each under its own eid. */ export let messageRows = (messages)=>messages.map(({ eid, ...m })=>({
|
|
86
|
+
entity: {
|
|
87
|
+
eid
|
|
88
|
+
},
|
|
89
|
+
friendMessage: m
|
|
90
|
+
}));
|
|
91
|
+
/** The messages `rows` hold, oldest first, each with its eid. */ export let messagesOf = (rows)=>rows.flatMap((r)=>r.friendMessage ? [
|
|
92
|
+
{
|
|
93
|
+
eid: r.entity.eid,
|
|
94
|
+
...r.friendMessage
|
|
95
|
+
}
|
|
96
|
+
] : []).sort((a, b)=>a.at.localeCompare(b.at) || a.eid.localeCompare(b.eid));
|
|
97
|
+
/** The apps `shared` with `person` as rows, in their page's order. */ export let sharedRows = (person, shared)=>shared.map((a, rank)=>({
|
|
98
|
+
entity: {
|
|
99
|
+
eid: derivedEid(`sharedApp|${person}|${a.eid}`)
|
|
100
|
+
},
|
|
101
|
+
sharedApp: {
|
|
102
|
+
rank,
|
|
103
|
+
...a
|
|
104
|
+
}
|
|
105
|
+
}));
|
|
106
|
+
/** The apps `rows` hold, in their page's order. */ export let sharedOf = (rows)=>rows.flatMap((r)=>r.sharedApp ? [
|
|
107
|
+
r.sharedApp
|
|
108
|
+
] : []).sort((a, b)=>a.rank - b.rank).map(({ rank: _, ...a })=>a);
|
|
109
|
+
/** `person`'s invite as a row. */ export let inviteRow = (person, invite)=>({
|
|
110
|
+
entity: {
|
|
111
|
+
eid: derivedEid(`invitePage|${person}`)
|
|
112
|
+
},
|
|
113
|
+
invitePage: invite
|
|
114
|
+
});
|
|
115
|
+
/** The invite `rows` hold, if any. */ export let inviteOf = (rows)=>rows.find((r)=>r.invitePage)?.invitePage;
|
|
116
|
+
/** The chat platforms `person` links their own account on as rows, `links`
|
|
117
|
+
* in their page's order. */ export let chatLinkRows = (person, links)=>links.map((l, rank)=>({
|
|
118
|
+
entity: {
|
|
119
|
+
eid: derivedEid(`chatLink|${person}|${l.integration}`)
|
|
120
|
+
},
|
|
121
|
+
chatLink: {
|
|
122
|
+
rank,
|
|
123
|
+
...l
|
|
124
|
+
}
|
|
125
|
+
}));
|
|
126
|
+
/** The chat platforms `rows` hold, in their page's order. */ export let chatLinksOf = (rows)=>rows.flatMap((r)=>r.chatLink ? [
|
|
127
|
+
r.chatLink
|
|
128
|
+
] : []).sort((a, b)=>a.rank - b.rank).map(({ rank: _, ...l })=>l);
|
|
129
|
+
/** Whether the directory answers `line` as a read of the person. */ export let accountLine = (line)=>line == ACCOUNT || line == FRIENDS || line == SIGNED_IN || line == SHARED_APPS || line == INVITE_PAGE || line == CHAT_LINKS || line == FRIEND_MESSAGES;
|
|
130
|
+
//# sourceMappingURL=account-rows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-rows.js","sources":["./account-rows.ts"],"names":[],"mappings":"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"}
|
package/account-rows.ts
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The rows the signed-in person's own pages draw from (D-475 step 3): their
|
|
3
|
+
* account, `account{name, email, hidden}`, each browser signed in as them,
|
|
4
|
+
* `signedIn{agent, place, at}`, each confirmed friend, `befriended{…}`,
|
|
5
|
+
* online first, each app of someone else's they may open, `sharedApp{rank,
|
|
6
|
+
* eid, slug, title, space}`, and their invite to yaks.app, `invitePage{said,
|
|
7
|
+
* text, mail, address, joined, built}`, and each chat platform whose bot
|
|
8
|
+
* yaks.app keeps, with the accounts they linked there, `chatLink{rank,
|
|
9
|
+
* platform, integration, accounts}`, and each message between them and a
|
|
10
|
+
* confirmed friend, `friendMessage{from, to, words, at, read, operator}`, the
|
|
11
|
+
* newest {@link HELD_MESSAGES}. The directory answers each as a read
|
|
12
|
+
* of the person (graph.ts `/person/ws`), and the tab's page graph watches them through
|
|
13
|
+
* its door (reach-door.ts), as it does the side's (./side-rows.ts).
|
|
14
|
+
*
|
|
15
|
+
* The person changes them through the page graph: an `account` row written
|
|
16
|
+
* with a new name, `hidden` or `first` (the slug of a space they own, which
|
|
17
|
+
* `/manage` opens) is that change; a `signOut{session}` row signs out one
|
|
18
|
+
* browser, or with `session: 'all'` every one; a `friendMessage{to, words}`
|
|
19
|
+
* row is a message sent, its eid the message's own, so the row it shows as
|
|
20
|
+
* at once is the one the directory answers; the same row written `read` is
|
|
21
|
+
* the message read; a `friendAsk{email}` row is a friend asked; and a
|
|
22
|
+
* `friendRemove{person}` row is a friend removed, or a request withdrawn. The door
|
|
23
|
+
* does each as the person (account-writes.ts) and answers what it made.
|
|
24
|
+
*
|
|
25
|
+
* @module
|
|
26
|
+
*/
|
|
27
|
+
import type { Bundle } from 'jsr:@yaks/graph@0.2.36'
|
|
28
|
+
import { derivedEid } from '@yaks/graph/identity'
|
|
29
|
+
import type { Activity } from 'jsr:@yaks/notify@0.2.36/whereabouts'
|
|
30
|
+
import type { VocabDoc } from 'jsr:@yaks/vocab@0.2.36'
|
|
31
|
+
import accountJson from './vocab/account.vocab.json' with { type: 'json' }
|
|
32
|
+
|
|
33
|
+
/** The person's account. */
|
|
34
|
+
export let ACCOUNT = '.account'
|
|
35
|
+
|
|
36
|
+
/** The person's confirmed friends, in the order their page lists them. */
|
|
37
|
+
export let FRIENDS = '.befriended'
|
|
38
|
+
|
|
39
|
+
/** The browsers signed in as the person. */
|
|
40
|
+
export let SIGNED_IN = '.signedIn'
|
|
41
|
+
|
|
42
|
+
/** The apps of other people's spaces the person may open. */
|
|
43
|
+
export let SHARED_APPS = '.sharedApp'
|
|
44
|
+
|
|
45
|
+
/** The person's own invite to yaks.app. */
|
|
46
|
+
export let INVITE_PAGE = '.invitePage'
|
|
47
|
+
|
|
48
|
+
/** The chat platforms the person links their own account on. */
|
|
49
|
+
export let CHAT_LINKS = '.chatLink'
|
|
50
|
+
|
|
51
|
+
/** The person's messages with their confirmed friends, newest first. */
|
|
52
|
+
export let FRIEND_MESSAGES = '.friendMessage'
|
|
53
|
+
|
|
54
|
+
/** How many of the newest messages with friends a tab holds. */
|
|
55
|
+
export let HELD_MESSAGES = 200
|
|
56
|
+
|
|
57
|
+
/** The person's account as their pages say it. */
|
|
58
|
+
export type Account = { name: string; email: string; hidden: boolean }
|
|
59
|
+
|
|
60
|
+
/** What `account` takes beside the account itself: the space `/manage`
|
|
61
|
+
* opens first. */
|
|
62
|
+
export type AccountWrite = Partial<Account> & { first?: string }
|
|
63
|
+
|
|
64
|
+
/** A browser signed in as the person: its user-agent, where its network
|
|
65
|
+
* placed it and when it signed in, where each is known. */
|
|
66
|
+
export type SignedIn = { agent: string; place?: string; at?: string }
|
|
67
|
+
|
|
68
|
+
/** An app someone let the reader into, in the space it lives in. */
|
|
69
|
+
export type Shared = { eid: string; slug: string; title: string; space: string }
|
|
70
|
+
|
|
71
|
+
/** What a person's invite page draws: the words carrying their code, the
|
|
72
|
+
* link a friend opens on the web, the links that open the words as a text
|
|
73
|
+
* (where there is a number to text) and as a letter to `address`, and how
|
|
74
|
+
* many people signed up through it and how many of them built an app. */
|
|
75
|
+
export type Invitation = {
|
|
76
|
+
said: string
|
|
77
|
+
link: string
|
|
78
|
+
text: string | null
|
|
79
|
+
mail: string
|
|
80
|
+
address: string
|
|
81
|
+
joined: number
|
|
82
|
+
built: number
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/** A chat platform the person links their own account on: the integration
|
|
86
|
+
* that links one, and the names of the accounts they linked. */
|
|
87
|
+
export type ChatLink = {
|
|
88
|
+
platform: string
|
|
89
|
+
integration: string
|
|
90
|
+
accounts: string[]
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/** Where a friend is on yaks.app, as the reader may see it. */
|
|
94
|
+
export type Seen = {
|
|
95
|
+
state: 'building' | 'online' | 'away'
|
|
96
|
+
activity?: Activity
|
|
97
|
+
last?: string
|
|
98
|
+
spaces: { slug: string; title: string }[]
|
|
99
|
+
apps: { slug: string; title: string; space: string }[]
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** A friend as the Friends page lists them, or someone the person asked
|
|
103
|
+
* to be one, waiting on their yes (`asking`). */
|
|
104
|
+
export type Befriended = {
|
|
105
|
+
person: string
|
|
106
|
+
name: string
|
|
107
|
+
seen?: Seen
|
|
108
|
+
shared: Shared[]
|
|
109
|
+
/** The person asked them to be friends, and they have not said yes. */
|
|
110
|
+
asking?: true
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/** One message between the person and a friend: who it is from and to,
|
|
114
|
+
* its words, when it was sent, whether its reader read it, and whether the
|
|
115
|
+
* sender's Operator wrote it for them. */
|
|
116
|
+
export type FriendMessage = {
|
|
117
|
+
from: string
|
|
118
|
+
to: string
|
|
119
|
+
words: string
|
|
120
|
+
at: string
|
|
121
|
+
read: boolean
|
|
122
|
+
operator: boolean
|
|
123
|
+
invite?: string
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export let accountWords: VocabDoc = accountJson as VocabDoc
|
|
127
|
+
|
|
128
|
+
/** The eid of `person`'s account row. */
|
|
129
|
+
export let accountEid = (person: string): string =>
|
|
130
|
+
derivedEid(`account|${person}`)
|
|
131
|
+
|
|
132
|
+
/** `person`'s account as a row. */
|
|
133
|
+
export let accountRow = (person: string, account: Account): Bundle => ({
|
|
134
|
+
entity: { eid: accountEid(person) },
|
|
135
|
+
account,
|
|
136
|
+
})
|
|
137
|
+
|
|
138
|
+
/** `person`'s friends, and those they asked, as rows, `friends` in their
|
|
139
|
+
* page's order. */
|
|
140
|
+
export let friendRows = (person: string, friends: Befriended[]): Bundle[] =>
|
|
141
|
+
friends.map((f, rank) => ({
|
|
142
|
+
entity: { eid: derivedEid(`befriended|${person}|${f.person}`) },
|
|
143
|
+
befriended: f.seen ? { ...f, rank } : { rank, ...without(f) },
|
|
144
|
+
}))
|
|
145
|
+
|
|
146
|
+
let without = ({ seen: _, ...f }: Befriended) => f
|
|
147
|
+
|
|
148
|
+
/** The account `rows` hold, if any. */
|
|
149
|
+
export let accountOf = (rows: Bundle[]): Account | undefined =>
|
|
150
|
+
rows.find((r) => r.account)?.account as Account | undefined
|
|
151
|
+
|
|
152
|
+
/** The browsers `sessions` as rows, each the session's own eid. */
|
|
153
|
+
export let signedInRows = (
|
|
154
|
+
sessions: (SignedIn & { eid: string })[],
|
|
155
|
+
): Bundle[] =>
|
|
156
|
+
sessions.map(({ eid, agent, place, at }) => ({
|
|
157
|
+
entity: { eid },
|
|
158
|
+
signedIn: { agent, ...place ? { place } : {}, ...at ? { at } : {} },
|
|
159
|
+
}))
|
|
160
|
+
|
|
161
|
+
/** The browsers `rows` hold, each with its session's eid. */
|
|
162
|
+
export let signedInOf = (rows: Bundle[]): (SignedIn & { eid: string })[] =>
|
|
163
|
+
rows.flatMap((r) =>
|
|
164
|
+
r.signedIn ? [{ eid: r.entity.eid, ...r.signedIn as SignedIn }] : []
|
|
165
|
+
)
|
|
166
|
+
|
|
167
|
+
/** The friends `rows` hold, and those asked (`asking`), in their page's
|
|
168
|
+
* order. */
|
|
169
|
+
export let friendsOf = (rows: Bundle[]): Befriended[] =>
|
|
170
|
+
rows.flatMap((r) =>
|
|
171
|
+
r.befriended ? [r.befriended as Befriended & { rank: number }] : []
|
|
172
|
+
)
|
|
173
|
+
.sort((a, b) => a.rank - b.rank)
|
|
174
|
+
.map(({ rank: _, ...f }) => f)
|
|
175
|
+
|
|
176
|
+
/** Messages with friends as rows, each under its own eid. */
|
|
177
|
+
export let messageRows = (
|
|
178
|
+
messages: (FriendMessage & { eid: string })[],
|
|
179
|
+
): Bundle[] =>
|
|
180
|
+
messages.map(({ eid, ...m }) => ({ entity: { eid }, friendMessage: m }))
|
|
181
|
+
|
|
182
|
+
/** The messages `rows` hold, oldest first, each with its eid. */
|
|
183
|
+
export let messagesOf = (
|
|
184
|
+
rows: Bundle[],
|
|
185
|
+
): (FriendMessage & { eid: string })[] =>
|
|
186
|
+
rows.flatMap((r) =>
|
|
187
|
+
r.friendMessage
|
|
188
|
+
? [{ eid: r.entity.eid, ...r.friendMessage as FriendMessage }]
|
|
189
|
+
: []
|
|
190
|
+
).sort((a, b) => a.at.localeCompare(b.at) || a.eid.localeCompare(b.eid))
|
|
191
|
+
|
|
192
|
+
/** The apps `shared` with `person` as rows, in their page's order. */
|
|
193
|
+
export let sharedRows = (person: string, shared: Shared[]): Bundle[] =>
|
|
194
|
+
shared.map((a, rank) => ({
|
|
195
|
+
entity: { eid: derivedEid(`sharedApp|${person}|${a.eid}`) },
|
|
196
|
+
sharedApp: { rank, ...a },
|
|
197
|
+
}))
|
|
198
|
+
|
|
199
|
+
/** The apps `rows` hold, in their page's order. */
|
|
200
|
+
export let sharedOf = (rows: Bundle[]): Shared[] =>
|
|
201
|
+
rows.flatMap((r) =>
|
|
202
|
+
r.sharedApp ? [r.sharedApp as Shared & { rank: number }] : []
|
|
203
|
+
)
|
|
204
|
+
.sort((a, b) => a.rank - b.rank)
|
|
205
|
+
.map(({ rank: _, ...a }) => a)
|
|
206
|
+
|
|
207
|
+
/** `person`'s invite as a row. */
|
|
208
|
+
export let inviteRow = (person: string, invite: Invitation): Bundle => ({
|
|
209
|
+
entity: { eid: derivedEid(`invitePage|${person}`) },
|
|
210
|
+
invitePage: invite,
|
|
211
|
+
})
|
|
212
|
+
|
|
213
|
+
/** The invite `rows` hold, if any. */
|
|
214
|
+
export let inviteOf = (rows: Bundle[]): Invitation | undefined =>
|
|
215
|
+
rows.find((r) => r.invitePage)?.invitePage as Invitation | undefined
|
|
216
|
+
|
|
217
|
+
/** The chat platforms `person` links their own account on as rows, `links`
|
|
218
|
+
* in their page's order. */
|
|
219
|
+
export let chatLinkRows = (person: string, links: ChatLink[]): Bundle[] =>
|
|
220
|
+
links.map((l, rank) => ({
|
|
221
|
+
entity: { eid: derivedEid(`chatLink|${person}|${l.integration}`) },
|
|
222
|
+
chatLink: { rank, ...l },
|
|
223
|
+
}))
|
|
224
|
+
|
|
225
|
+
/** The chat platforms `rows` hold, in their page's order. */
|
|
226
|
+
export let chatLinksOf = (rows: Bundle[]): ChatLink[] =>
|
|
227
|
+
rows.flatMap((r) =>
|
|
228
|
+
r.chatLink ? [r.chatLink as ChatLink & { rank: number }] : []
|
|
229
|
+
)
|
|
230
|
+
.sort((a, b) => a.rank - b.rank)
|
|
231
|
+
.map(({ rank: _, ...l }) => l)
|
|
232
|
+
|
|
233
|
+
/** Whether the directory answers `line` as a read of the person. */
|
|
234
|
+
export let accountLine = (line: string): boolean =>
|
|
235
|
+
line == ACCOUNT || line == FRIENDS || line == SIGNED_IN ||
|
|
236
|
+
line == SHARED_APPS || line == INVITE_PAGE || line == CHAT_LINKS ||
|
|
237
|
+
line == FRIEND_MESSAGES
|