TwinView
Standalone digital-twin application for property capture, twin publishing, inspection workflows, and client share surfaces.
Documentation Map
What It Is
Standalone digital-twin application for property capture, twin publishing, inspection workflows, and client share surfaces.
Architecture
Owners: platform-experience
Source repos: PlatformApplications/TwinView
Dependencies: topolo-auth, topolo-platform
Repo shape
- PlatformApplications/TwinView/apps/
- PlatformApplications/TwinView/package-lock.json
- PlatformApplications/TwinView/package.json
- PlatformApplications/TwinView/packages/
- PlatformApplications/TwinView/topolo.cloudcontrol.json
Runtime Surfaces
Hosts:
https://twinview.app https://api.twinview.app Config: PlatformApplications/TwinView/apps/api/wrangler.toml
Main: src/index.ts
Routes: workers.dev or asset-only surface
Config: PlatformApplications/TwinView/apps/web/wrangler.toml
Main: not declared
Routes: workers.dev or asset-only surface
API Reference
Coverage: curated
Source: PlatformApplications/TwinView/apps/api/src/index.ts
Source exists in repo: yes
TwinView exposes a worker-backed application API for properties, property-detail aggregates, units, capture jobs, twins, annotations, inspection tasks, uploads, public share views, and Matterport connection metadata.
App API page: /reference/apps/twinview
This system currently relies on a curated or README-derived contract surface instead of a source-controlled OpenAPI spec.
Auth and Permissions
Depends on Topolo Auth: yes
Service IDs:
srv_twinview API key scopes
View TwinView dashboards and portfolio summaries
Resource pattern: none
View properties and site records
Resource pattern: property:*
Create and update properties and site records
Resource pattern: property:*
View units and subspaces
Resource pattern: property:*
Create and update units and subspaces
Resource pattern: property:*
View capture jobs and field status
Resource pattern: none
Create and manage capture jobs and schedules
Resource pattern: none
View published and draft twins
Resource pattern: property:*
Create and update twin records
Resource pattern: property:*
Publish or archive twin share views
Resource pattern: property:*
View annotations and pinned notes
Resource pattern: property:*
Create and manage annotations and pinned notes
Resource pattern: property:*
View inspection tasks and issue status
Resource pattern: property:*
Create and manage inspection tasks and issue status
Resource pattern: property:*
View public and client share configuration
Resource pattern: property:*
Manage public and client share configuration
Resource pattern: property:*
View Matterport and external integration metadata
Resource pattern: none
Manage Matterport and external integration metadata
Resource pattern: none
View TwinView reporting and portfolio summaries
Resource pattern: none
View TwinView workspace settings
Resource pattern: none
Service permissions
dashboard:read, properties:read, properties:write, units:read, units:write, capture_jobs:read, capture_jobs:write, twins:read, twins:write, twins:publish, annotations:read, annotations:write, inspections:read, inspections:write, share_views:read, share_views:write, integrations:read, integrations:write, reports:read, settings:read
Data Ownership
Binding: DB
Target: 05bd77a2-5028-4d97-b8dd-e9ef22715a2c
Environment: default
Source: PlatformApplications/TwinView/apps/api/wrangler.toml
Binding: ASSETS
Target: twinview-assets
Environment: default
Source: PlatformApplications/TwinView/apps/api/wrangler.toml
Queues / Cron / Workflows
Queue bindings:
-
JOBS-> twinview-jobs
Cron triggers
No cron triggers were detected.
Workflow signals
- JOBS -> twinview-jobs
Environment Variables and Bindings
Environment variables:
ALLOWED_ORIGINS APP_ORIGIN ASSET_PUBLIC_BASE_URL AUTH_BASE_URL All wrangler bindings
-
DB(d1) -> 05bd77a2-5028-4d97-b8dd-e9ef22715a2c -
ASSETS(r2) -> twinview-assets -
JOBS(queue) -> twinview-jobs
Deployments
Deployment environments: default only or not declared
Routes: workers.dev or Pages-only delivery
Observability enabled: no explicit setting found
Wrangler surfaces
- PlatformApplications/TwinView/apps/api/wrangler.toml -> twinview-api
- PlatformApplications/TwinView/apps/web/wrangler.toml -> twinview-web
Build and deploy commands
-
build— PlatformApplications/TwinView/apps/api/package.json :: tsc -p tsconfig.json -
deploy— PlatformApplications/TwinView/apps/api/package.json :: wrangler deploy -
deploy:dry-run— PlatformApplications/TwinView/apps/api/package.json :: wrangler deploy --dry-run --outdir .wrangler/build -
build— PlatformApplications/TwinView/apps/web/package.json :: tsc -p tsconfig.json && vite build -
preview— PlatformApplications/TwinView/apps/web/package.json :: vite preview -
build— PlatformApplications/TwinView/package.json :: npm run build -w @twinview/shared && npm run build -w @twinview/api && npm run build -w @twinview/web -
build— PlatformApplications/TwinView/packages/shared/package.json :: tsc -p tsconfig.json -
build— PlatformApplications/TwinView/packages/topolo-auth-client/package.json :: tsup src/index.ts --format esm,cjs --dts
Failure Modes
- Neither OpenAPI nor README-derived interface detail was found.
Debugging Runbooks
Start with these entrypoints:
- PlatformApplications/TwinView/apps/api/wrangler.toml
- PlatformApplications/TwinView/apps/web/wrangler.toml
- PlatformApplications/TwinView/apps/api/src/index.ts
- PlatformApplications/TwinView/apps/api/package.json
- PlatformApplications/TwinView/apps/web/package.json
- PlatformApplications/TwinView/package.json
- PlatformApplications/TwinView/packages/shared/package.json
- PlatformApplications/TwinView/packages/topolo-auth-client/package.json
Change Log / Verification
Lifecycle: active
Last verified: 2026-04-10
Any code change to this system is expected to update the canonical docs in PlatformApplications/TopoloDocs and refresh the verification date.