@voltro/data-transfer 0.85.0 → 0.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5987 -0
- package/THIRD-PARTY-NOTICES.md +860 -249
- package/dist/assetAdmission.js +92 -0
- package/dist/assets.js +68 -0
- package/dist/blobStorage.js +64 -0
- package/dist/bundleArchive.js +310 -0
- package/dist/bundleCrypto.js +106 -0
- package/dist/bundlePaths.js +4 -0
- package/dist/casAssetPhase.js +87 -0
- package/dist/compress.js +6 -0
- package/dist/consistency.js +14 -0
- package/dist/crossDialect.js +58 -0
- package/dist/driftClassification.js +58 -0
- package/dist/environmentLocal.js +386 -0
- package/dist/errors.js +89 -0
- package/dist/exporter.js +271 -0
- package/dist/filesystemAdmission.js +33 -0
- package/dist/importer.js +576 -0
- package/dist/index.d.ts +202 -46
- package/dist/index.js +30 -2673
- package/dist/ledger.js +21 -0
- package/dist/liveGuard.js +11 -0
- package/dist/manifest.js +56 -0
- package/dist/masking.js +246 -0
- package/dist/maskingPreview.js +48 -0
- package/dist/nativeDump.js +418 -0
- package/dist/ndjson.js +13 -0
- package/dist/physicalRequest.js +10 -0
- package/dist/profile.js +4 -0
- package/dist/progress.js +17 -0
- package/dist/readme.js +43 -0
- package/dist/replacePreflight.js +23 -0
- package/dist/rollbackCapture.js +36 -0
- package/dist/rowFailureReason.js +36 -0
- package/dist/schemaDrift.js +40 -0
- package/dist/scope.js +40 -0
- package/dist/sealedKeys.js +40 -0
- package/dist/stagedSwap.js +164 -0
- package/dist/storageAssetMetadata.js +47 -0
- package/dist/subset.js +90 -0
- package/dist/topo.js +24 -0
- package/dist/typedCodec.js +36 -0
- package/package.json +3 -3
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
//#region src/environmentLocal.ts
|
|
2
|
+
var e = /* @__PURE__ */ new Map([
|
|
3
|
+
["_voltro_billing_customer_accounts", "financial provider/account/mode intent recorded by THIS deployment — a foreign namespace must not qualify local usage or grant adoption of prior financial rows"],
|
|
4
|
+
["_voltro_billing_customer_custody", "current and retired customer ownership positively admitted HERE — foreign rows cannot establish this deployment's original customer evidence or replace its current slot"],
|
|
5
|
+
["_voltro_billing_account_invoices", "account-qualified invoice observations retained HERE — a foreign native record is not a locally admitted provider/customer observation or revision"],
|
|
6
|
+
["_voltro_billing_invoice_history_walks", "account/customer/custody-qualified history cursor admitted HERE — a foreign walk cannot establish this deployment's retained inventory or traversal progress"],
|
|
7
|
+
["_voltro_billing_invoice_history_pages", "native history-page admission for THIS deployment's exact custody/walk and revision — foreign page receipts cannot qualify local provider history"],
|
|
8
|
+
["_voltro_billing_invoice_history_references", "invoice references admitted against THIS deployment's custody and complete native page — foreign references cannot become locally owned processing work"],
|
|
9
|
+
["_voltro_billing_invoice_history_work", "execution claims and observed/retry results bound to THIS deployment's custody, journal and invoice observation IDs — a foreign result cannot suppress local reconciliation"],
|
|
10
|
+
["_voltro_billing_invoice_history_scan_accounts", "customer-inventory continuation for THIS deployment and exact provider account — a foreign cursor cannot suppress local invoice-history traversal"],
|
|
11
|
+
["_voltro_billing_invoice_history_dispatch", "customer/walk/lane traversal positions validated against THIS deployment's native custody and receipts — foreign positions cannot skip local processing work"],
|
|
12
|
+
["_voltro_cms_output_heads", "activation and safety epochs of THIS deployment — foreign rows invent an active output pointer or disconnect the local durable deny inventory from its exact generation"],
|
|
13
|
+
["_voltro_cms_output_activations", "signed output activations issued HERE — foreign markers would select another deployment's output roots, region keys and app authority"],
|
|
14
|
+
["_voltro_cms_output_denies", "durable output withdrawals accepted HERE — preserve the destination deny rows together with their local safety-generation head during logical imports; native backups retain both"],
|
|
15
|
+
["_voltro_cms_route_history_heads", "complete observed output-history fences of THIS deployment — foreign heads assert local activation/source continuity that never occurred here"],
|
|
16
|
+
["_voltro_cms_route_history", "output URLs observed by THIS deployment's original activations — foreign history invents local delivery and redirect obligations"],
|
|
17
|
+
["_voltro_cms_output_deployments", "the current app and policy binding admitted HERE — a foreign binding could authorize or refuse a local output against another deployment's revision"],
|
|
18
|
+
["_voltro_cms_output_deployment_builds", "original app contracts admitted by THIS deployment — foreign records would invent local build/admission lineage"],
|
|
19
|
+
["_voltro_cms_output_targets", "original CMS output targets, local signed path jobs and regional output IDs — a foreign record would select another deployment's original jobs and outputs"],
|
|
20
|
+
["_voltro_cms_build_applications", "prepared application archives admitted by THIS backend for its original deployments — a foreign catalog row would invent local code custody or select an archive this backend never admitted"],
|
|
21
|
+
["_voltro_cms_build_snapshots", "private snapshots captured HERE against the original local publication, app and storage custody — foreign manifests must not become locally admitted build inputs"],
|
|
22
|
+
["_voltro_cms_snapshot_resources", "the complete private resource closure of local build snapshots — importing another backend's rows would detach original manifests from this backend's publication and retained bytes"],
|
|
23
|
+
["_voltro_cms_publication_states", "sealed publication captures with this backend's checkpoint, generation, release and expiry — a logical row copy does not perform a local capture"],
|
|
24
|
+
["_voltro_cms_publication_state_entries", "the immutable private entry closure of local publication captures — preserve it together with the destination snapshot roots rather than mixing two capture histories"],
|
|
25
|
+
["_voltro_cms_render_read_grants", "read capabilities issued by THIS backend's keys and credential parents — foreign grants cannot authorize local execution or extend local revocation and expiry state"],
|
|
26
|
+
["_voltro_cms_snapshot_media_captures", "live snapshot-media capture attempts and retained local custody — foreign nonce, cleanup and completion records would resume work never admitted here"],
|
|
27
|
+
["_voltro_cms_static_path_sets", "original local signed path jobs bound to the exact consumer, snapshot and execution — foreign jobs cannot establish this backend's native enumeration evidence"],
|
|
28
|
+
["_voltro_cms_static_path_pages", "input, stage and signed output pages belonging to local path jobs — keep the original complete job/page closure with its local signatures and progress"],
|
|
29
|
+
["_voltro_cms_public_route_registry_heads", "the current locally admitted app-route namespace revision — a foreign head would select an application definition this backend never bound"],
|
|
30
|
+
["_voltro_cms_public_route_registry_bindings", "native route-definition admissions with local publication origins and integrity chains — transferring business content must not replace operator code/schema admission"],
|
|
31
|
+
["_voltro_cms_public_route_history_heads", "local public route-history capture fences — foreign heads invent continuity between destination publication observations that never occurred"],
|
|
32
|
+
["_voltro_cms_public_route_history", "public routes observed from this backend's original namespace and publication history — foreign observations cannot prove local ownership or redirect obligations"],
|
|
33
|
+
["_voltro_cms_route_disposition_heads", "the current revision and count of locally approved redirect/disposition policy — a foreign head could activate policy without a destination approval"],
|
|
34
|
+
["_voltro_cms_route_dispositions", "current native redirect/disposition approvals with credential authority and approval time — preserve destination authority instead of importing another backend's decisions"],
|
|
35
|
+
["_voltro_cms_route_disposition_revisions", "immutable local redirect/disposition approval revisions and predecessor chains — a copied foreign revision must not establish a local approval or rollback history"],
|
|
36
|
+
["_voltro_cms_site_state_heads", "site/domain mutation lock roots owned by THIS backend — logical content transfer must preserve the destination coordination identities"],
|
|
37
|
+
["cms_site_domains", "domain ownership challenges, verified status and primary-host decisions accepted HERE — a foreign record cannot establish ownership of a domain for this deployment"],
|
|
38
|
+
["_voltro_storage_reference_catalogue", "the identity of THIS deployment's storage reference catalogue — a foreign marker would claim that independent metadata stores are one catalogue"],
|
|
39
|
+
["_voltro_hot_kv", "live hot counters, values and leases of THIS deployment — a foreign row would admit, throttle or fence local work; rebuild hot state from durable domain data"],
|
|
40
|
+
["_voltro_hot_z", "live sorted hot projections of THIS deployment — foreign members and scores would drive decisions against another source; rebuild from durable domain rows"],
|
|
41
|
+
["_voltro_privacy_requests", "erase requests, withdrawal windows and completed-plugin cursors accepted HERE — a foreign request could erase or suppress work this deployment never accepted"],
|
|
42
|
+
["_voltro_inspect_create_receipts", "inspect creation commands accepted by THIS deployment — a foreign receipt would replay or suppress a creation the target never accepted"],
|
|
43
|
+
["_voltro_isr_cache", "pages rendered by THIS deployment’s web processes — a foreign row would serve another environment’s HTML here"],
|
|
44
|
+
["_voltro_web_replicas", "heartbeats of the web processes running HERE — a foreign row advertises replicas that do not exist in the target"],
|
|
45
|
+
["_voltro_aggregate_meta", "materialized refresh generations computed HERE — a foreign row would claim that the target refreshed its own source data"],
|
|
46
|
+
["_voltro_aggregate_rows", "materialized rows tied to this deployment’s refresh generation — the target recomputes them from its own data"],
|
|
47
|
+
["_voltro_timeline", "captured source mutations from this deployment — foreign rows invent local timeline history"],
|
|
48
|
+
["_voltro_timeline_meta", "capture epoch and source cursor of this database — foreign metadata claims continuity with another database"],
|
|
49
|
+
["_voltro_timeline_leases", "active capture readers of this database — foreign leases claim readers that do not exist here"],
|
|
50
|
+
["_voltro_timeline_slots", "bounded capture slots belonging to this source epoch — foreign slots invent local mutation history"],
|
|
51
|
+
["_voltro_plugin_migrations", "plugin migration steps applied to this database — a foreign ledger would skip steps that the target has not run"],
|
|
52
|
+
["_voltro_migration_plans", "the schema fingerprint THIS deployment applied — a foreign row makes the next boot refuse"],
|
|
53
|
+
["_voltro_migrations", "which file-based migrations ran HERE — a foreign row marks unrun migrations as done"],
|
|
54
|
+
["_voltro_plugin_migrations", "which plugin migration steps ran HERE — a foreign row marks a plugin's unrun steps as done"],
|
|
55
|
+
["_voltro_schema_owner", "which app owns THIS database — a foreign row hands the target's schema to the source app, so the target's own app refuses to boot on it"],
|
|
56
|
+
["_voltro_deploys", "the deploy THIS database is in the middle of, with the baseline to undo it from — a foreign row makes the next apply undo a deploy the target never started"],
|
|
57
|
+
["_voltro_devices", "devices paired with THIS deployment — token hashes; a foreign row makes a device paired elsewhere authenticate here"],
|
|
58
|
+
["_voltro_seeds", "which seeds ran HERE — a foreign row suppresses seeding the target still needs"],
|
|
59
|
+
["_voltro_cdc_offsets", "binlog/WAL positions of the SOURCE server — meaningless and unsafe against another one"],
|
|
60
|
+
["_voltro_notification_push_subscriptions", "browser push endpoints bound to THIS deployment's VAPID key — the browser's applicationServerKey is derived from `VOLTRO_VAPID_PRIVATE_KEY`, so a push service refuses a delivery signed by another one. A foreign row makes the target attempt a delivery that must fail, and the auto-prune then deletes a subscription that was valid where it came from"],
|
|
61
|
+
["_voltro_schedule_claims", "live leases held by THIS deployment's replicas — a foreign row hands out a lease nobody holds"],
|
|
62
|
+
["_voltro_change_claims", "the record that ONE of THIS deployment's replicas already handled a given change — a foreign row asserts that an effect fired here when it fired somewhere else, so the subscriber or reaction it gates stands down for a notification nobody sent"],
|
|
63
|
+
["_voltro_api_role_workload_buckets", "measured loop history of THIS deployment and process incarnations — foreign rows invent local workload evidence"],
|
|
64
|
+
["_voltro_replica_observations", "what THIS deployment's replicas last published about themselves — a foreign row invents a replica that does not exist here, and a fleet answer would then report it as present or, once it ages, as a replica that has stopped answering"],
|
|
65
|
+
["_voltro_data_transfers", "which bundles moved through HERE, in or out — a foreign row claims a transfer this deployment never ran"],
|
|
66
|
+
["_voltro_replace_in_progress", "the marker a destructive import HERE left behind — a foreign row refuses a boot over a healthy database"],
|
|
67
|
+
["_voltro_wakeups", "pending wakeups addressed to THIS deployment's runners"],
|
|
68
|
+
["_voltro_workflow_watermarks", "how far a consumer has read THIS deployment's event journal — a foreign position skips events"],
|
|
69
|
+
["_voltro_workflow_journal_routing", "the routing generation and shard layout of THIS deployment's workflow journal — a foreign row makes the target refuse its own runtimes or route work to the wrong executors"],
|
|
70
|
+
["_voltro_workflow_pending", "starts waiting to be drained HERE — a foreign row makes the target RUN a workflow somebody queued elsewhere"],
|
|
71
|
+
["_voltro_workflow_admissions", "the in-flight accounting a concurrency gate decides on — a foreign row makes the target refuse or admit wrongly"],
|
|
72
|
+
["_voltro_workflow_pauses", "which workflows an operator paused HERE — a foreign row silently pauses them in the target"],
|
|
73
|
+
["_voltro_workflow_event_deliveries", "which (event, trigger) pairs were already delivered HERE — a foreign row SUPPRESSES a delivery the target owes"],
|
|
74
|
+
["_voltro_chat_retention", "how far THIS deployment's chat retention sweep has progressed — a foreign cursor makes the target skip channels it still owes a sweep"],
|
|
75
|
+
["_voltro_traces", "spans recorded HERE — a foreign span claims a request this deployment never served"],
|
|
76
|
+
["_voltro_undo_log", "the before-images of mutations made HERE — a foreign row offers to undo a write into rows the target does not have"],
|
|
77
|
+
["_voltro_outbox", "messages waiting to be SENT by this deployment — a foreign row makes the target deliver something queued elsewhere"],
|
|
78
|
+
["_voltro_outbox_attempts", "the delivery attempts this deployment made — they belong to its outbox rows and to no other"],
|
|
79
|
+
["_voltro_ai_inferences", "offloaded inference work queued for THIS deployment's runners — a foreign row makes the target run somebody else's"],
|
|
80
|
+
["_voltro_ai_budget", "the live spend RESERVATION counter a budget refuses against — a foreign row makes the target refuse calls it should allow"],
|
|
81
|
+
["_voltro_ai_usage", "what this deployment spent on model calls — a foreign row overstates a bill nobody here ran up"],
|
|
82
|
+
["_voltro_budget_holds", "in-flight holds against a running deployment's budget — the same accounting `_voltro_workflow_admissions` keeps"],
|
|
83
|
+
["_voltro_ai_budget_reservations", "reservations held against THIS deployment's live spend counter — a foreign row makes the target refuse calls it should allow, exactly as `_voltro_ai_budget` does"],
|
|
84
|
+
["_voltro_storage_grants", "short-lived upload/download grants issued HERE — a foreign grant authorises nothing in the target"],
|
|
85
|
+
["_voltro_storage_usage", "how much storage this deployment accounts for — a foreign row makes a quota decision on somebody else's bytes"],
|
|
86
|
+
["_voltro_storage_operations", "the puts and deletes in flight against THIS provider, by physical key — a foreign row makes the target finish or undo an operation on a key it does not have"],
|
|
87
|
+
["_voltro_storage_object_heads", "which physical generation of each content-addressed object is live HERE — a foreign row points the target at a key it does not own"],
|
|
88
|
+
["_voltro_storage_object_claims", "which callers HERE still hold a shared object — a foreign row keeps the target retaining a key for a claimant it never had, or releases one it does"],
|
|
89
|
+
["_voltro_storage_put_intents", "the ref a reservation HERE will become — a foreign row makes the target confirm a write it never received"],
|
|
90
|
+
["_voltro_storage_operation_locks", "the per-tenant serialisation rows the operation transactions lock — a foreign row is a lock nobody here holds"],
|
|
91
|
+
["_voltro_storage_retained_captures", "a capture HERE pinning physical generations in THIS provider — a foreign row makes the target retain, seal or release keys it does not own"],
|
|
92
|
+
["_voltro_storage_retained_capture_items", "the work items of a retained capture, by physical pin — they belong with `_voltro_storage_retained_captures`, which stays local"],
|
|
93
|
+
["_voltro_idempotency", "the request keys this deployment has already answered — a foreign key SUPPRESSES a request the target never served"],
|
|
94
|
+
["_voltro_webhook_deliveries", "the delivery attempts this deployment made to a subscriber — a foreign row claims a call the target never placed"],
|
|
95
|
+
["_voltro_schedule_runs", "every schedule firing that happened HERE, replica ids included — a foreign row is history the target did not live"],
|
|
96
|
+
["_voltro_schedule_backfill_requests", "backfills queued for THIS deployment's runners — a foreign row makes the target re-run a range somebody asked another deployment for"],
|
|
97
|
+
["_voltro_tenant_namespaces", "which physical namespace each tenant lives in HERE — a foreign row points a tenant at a namespace the target does not have"],
|
|
98
|
+
["_voltro_workflow_execution_placements", "which physical store holds each execution HERE — a foreign row sends the target looking in a database it does not own"],
|
|
99
|
+
["_voltro_workflow_pool_permits", "concurrency permits held against a running deployment's budget — the same accounting `_voltro_workflow_admissions` keeps"],
|
|
100
|
+
["_voltro_workflow_admission_locks", "the locks an admission decision is being made under RIGHT NOW — a foreign row blocks or releases a decision the target is not making"],
|
|
101
|
+
["_voltro_workflow_submissions", "starts submitted HERE and not yet admitted — a foreign row makes the target admit a start somebody handed to another deployment"],
|
|
102
|
+
["_voltro_workflow_start_receipts", "the caller-facing identity of a start placed HERE, resolved through this deployment's placements — a foreign receipt names a run the target never accepted"],
|
|
103
|
+
["_voltro_workflow_control_requests", "cancel/resume traffic issued against executions HERE — a foreign row claims an operation nobody asked the target to perform"],
|
|
104
|
+
["_voltro_workflow_queued_cancellations", "cancellations waiting on a run that is queued HERE — a foreign row cancels something the target has not queued"],
|
|
105
|
+
["_voltro_workflow_restart_withdrawals", "withdrawal fences for restart requests issued HERE — a foreign row would block a target restart that its operator never withdrew"],
|
|
106
|
+
["_voltro_workflow_restart_requests", "restarts pending against this deployment's generations — a foreign row restarts a generation the target never entered"],
|
|
107
|
+
["_voltro_workflow_retry_requests", "retry intents an operator raised against runs HERE, keyed by their own request id — a foreign row binds the target to an intent nobody raised against it, and lets a later observation read somebody else's execution"],
|
|
108
|
+
["_voltro_workflow_parent_closures", "which parents are still waiting on children in flight HERE — a foreign row holds a parent open against a child the target is not running"],
|
|
109
|
+
["_voltro_workflow_failure_reports", "failures being handed off to a runner HERE — a foreign row makes the target take delivery of somebody else's failure"],
|
|
110
|
+
["_voltro_cdc_log", "the change rows this deployment captured from its own database — a foreign row replays a change that never happened here"],
|
|
111
|
+
["_voltro_notification_deliveries", "the notification attempts this deployment made — a foreign row claims a send the target never performed"],
|
|
112
|
+
["_voltro_notification_held", "notifications waiting to be SENT from here — a foreign row makes the target deliver something queued elsewhere"],
|
|
113
|
+
["_voltro_webhook_event_stats", "per-deployment delivery counters a backoff decision reads — foreign counts steer the target's retries"],
|
|
114
|
+
["_voltro_webhook_rate_windows", "the live rate-limit windows this deployment is inside — a foreign window throttles or releases wrongly"],
|
|
115
|
+
["_voltro_field_keys", "which field-encryption key id is which in THIS environment, with each key's canary — a foreign row makes the boot demand keys this environment never held; the first boot records the local keys and checks them against the data"],
|
|
116
|
+
["_voltro_field_key_holders", "the leases THIS deployment's processes hold on their keys — a foreign row is a process that does not exist here, and a rotation would wait for it"],
|
|
117
|
+
["_voltro_field_key_reports", "the last count and re-key of THIS environment's sealed values — a foreign row reports another database's progress as this one's"],
|
|
118
|
+
["_voltro_secret_windows", "what THIS deployment's processes signed under each secret and which values they hold — a foreign row holds a replaced secret's window open, or closes it, for signatures this environment never made"],
|
|
119
|
+
["cluster_runners", "the workflow runners of THIS deployment and their addresses — a foreign row routes shards to a runner that does not exist here"],
|
|
120
|
+
["cluster_locks", "the shard leases THIS deployment's runners hold — a foreign row holds a shard for nobody, and its work stalls"],
|
|
121
|
+
["cluster_messages", "workflow messages in flight HERE — a foreign row makes the target run work that was started, and may be running, elsewhere"],
|
|
122
|
+
["cluster_replies", "replies to those messages — a foreign row answers a request the target never sent"],
|
|
123
|
+
["cluster_migrations", "which engine migrations ran HERE — a foreign row marks the target's engine tables migrated when they are not"],
|
|
124
|
+
["_voltro_billing_checkout_operations", "checkout operations in flight against THIS deployment's payment provider account — a foreign row would complete or refuse a checkout the target never started"],
|
|
125
|
+
["_voltro_billing_close_operations", "account fences and subscription requests made against THIS deployment's provider account — a foreign tombstone closes or blocks an account the target holds"],
|
|
126
|
+
["_voltro_billing_customers", "the link from a tenant to a customer at THIS deployment's payment provider (live or test mode) — a foreign link would charge or report usage to another account's customer"],
|
|
127
|
+
["_voltro_billing_dunning_notices", "the dunning notices THIS deployment already claimed and sent — a foreign row suppresses a notice the target never sent"],
|
|
128
|
+
["_voltro_billing_flush_claims", "which usage flush windows THIS deployment already reported — a foreign claim skips a report the target owes its provider"],
|
|
129
|
+
["_voltro_billing_subscriptions", "the subscription state THIS deployment's provider account holds per tenant — a foreign row grants or withdraws entitlements the target's provider never sold"],
|
|
130
|
+
["_voltro_billing_usage", "metered counters THIS deployment reports to its provider — foreign counts would bill usage that never happened here"],
|
|
131
|
+
["_voltro_billing_usage_events", "the usage events THIS deployment recorded for reporting — foreign events would be billed by the target"],
|
|
132
|
+
["_voltro_cdcout_claims", "which changes THIS deployment already claimed for outgoing delivery — a foreign claim skips a delivery the target owes"],
|
|
133
|
+
["_voltro_cdcout_leases", "the delivery leases held by THIS deployment's processes — a foreign lease blocks the target's own deliverer"],
|
|
134
|
+
["_voltro_cdcout_outbox", "changes queued for delivery FROM this deployment — a foreign row would be delivered again by the target"],
|
|
135
|
+
["_voltro_feature_flag_usage", "which flags THIS deployment evaluated, per day — foreign observations report usage that did not happen here"],
|
|
136
|
+
["_voltro_liveops_maintenance", "maintenance windows of THIS deployment — a foreign window puts the target into, or out of, maintenance"],
|
|
137
|
+
["_voltro_liveops_maintenance_requests", "the receipts of maintenance requests made against THIS deployment — they belong with its maintenance windows"],
|
|
138
|
+
["_voltro_liveops_maintenance_tenants", "which tenants a maintenance window of THIS deployment covers — they belong with its maintenance windows"],
|
|
139
|
+
["_voltro_mail_idempotency", "which messages THIS deployment already handed to its mail provider — a foreign receipt suppresses a send the target owes"],
|
|
140
|
+
["_voltro_mail_suppression", "the recipients THIS deployment's mail provider reported as bounced or complaining — a foreign row skips deliveries the target was never told to skip"],
|
|
141
|
+
["_voltro_migration_ops", "which migration operations ran HERE, for resuming one — a foreign row marks the target's schema steps done when they are not"],
|
|
142
|
+
["_voltro_mm_assignments", "matches made by THIS deployment's live queue — a foreign assignment seats players in a match the target never formed"],
|
|
143
|
+
["_voltro_mm_parties", "ephemeral matchmaking groups of THIS deployment, gone with their last member — a foreign party admits players into a group the target never formed"],
|
|
144
|
+
["_voltro_mm_party_invites", "invites into those ephemeral parties — they belong with the parties"],
|
|
145
|
+
["_voltro_mm_party_members", "members of those ephemeral parties — they belong with the parties"],
|
|
146
|
+
["_voltro_mm_queue_admission", "the live matchmaking queue's admission budget — a foreign row blocks or admits queue entries the target is not deciding"],
|
|
147
|
+
["_voltro_mm_tickets", "tickets waiting in THIS deployment's live queue — a foreign ticket would be matched by the target"],
|
|
148
|
+
["_voltro_ratelimit", "request counts against THIS deployment's limits — foreign counts refuse callers the target never saw"],
|
|
149
|
+
["_voltro_room_hosts", "the Room host processes registered with THIS deployment — a foreign host is an address the target would route players to"],
|
|
150
|
+
["_voltro_room_outbox", "commands queued for THIS deployment's Room hosts — a foreign command would be executed by the target's hosts"],
|
|
151
|
+
["_voltro_room_seats", "live seat reservations and sessions on THIS deployment's hosts — a foreign seat admits a session the target never issued"],
|
|
152
|
+
["_voltro_saml_logout", "SAML logout requests THIS deployment issued — a foreign row ends sessions the target never asked to end"],
|
|
153
|
+
["_voltro_saml_replay", "SAML assertions THIS deployment already accepted, kept to refuse a replay — a foreign row refuses assertions the target never saw"],
|
|
154
|
+
["_voltro_search_drift", "how far THIS deployment's search index lags its rows — foreign drift reports an index state the target does not have"],
|
|
155
|
+
["_voltro_search_stats", "search statistics measured on THIS deployment's index — foreign rows describe another index"],
|
|
156
|
+
["_voltro_stream_events", "chunks of model streams THIS deployment is serving, kept to resume a reconnect — a foreign row resumes a stream the target never started"],
|
|
157
|
+
["_voltro_stream_state", "the state of those in-flight model streams — it belongs with them"]
|
|
158
|
+
]), t = /* @__PURE__ */ new Map([
|
|
159
|
+
["_voltro_billing_invoice_observations", "retained unqualified invoice history belonging to the app — these rows remain historical data and never establish current account-qualified observation or ownership"],
|
|
160
|
+
["_voltro_room_lockstep_ticks", "confirmed match input matrices are durable room data — they travel with the parent room journal roster, tick count and chained digest; omitting them makes restored match history incomplete"],
|
|
161
|
+
["_voltro_comment_thread_events", "the status history of the app's comment threads — belongs with those threads"],
|
|
162
|
+
["_voltro_agent_threads", "conversations the app's users had — app data"],
|
|
163
|
+
["_voltro_agent_messages", "the messages in those conversations — app data"],
|
|
164
|
+
["_voltro_prompts", "prompt definitions the app authored — app data"],
|
|
165
|
+
["_voltro_api_keys", "keys the app issued (hashed) — app data, and a restore without them locks callers out"],
|
|
166
|
+
["_voltro_tenant_selections", "the tenant each user chose to act in — app data, verified against memberships on every request"],
|
|
167
|
+
["_voltro_kv", "the app's own key/value rows — app data by construction"],
|
|
168
|
+
["_voltro_approvals", "human decisions on workflow runs — they belong with the runs"],
|
|
169
|
+
["_voltro_connections", "third-party connections the app's users authorised. Portable as ROWS; note the secrets are encrypted with the project's key, so a target without that key holds ciphertext it cannot read"],
|
|
170
|
+
["_voltro_connection_grants", "who may use which connection — belongs with the connections"],
|
|
171
|
+
["_voltro_storage_blobs", "the stored objects' metadata — the assets travel with the bundle"],
|
|
172
|
+
["_voltro_storage_refs", "which rows reference which blob — belongs with the blobs"],
|
|
173
|
+
["_voltro_webhook_targets", "the endpoints subscribers registered through the app — app data"],
|
|
174
|
+
["_voltro_workflow_runs", "what the app's workflows did — history the app owns"],
|
|
175
|
+
["_voltro_workflow_run_steps", "the steps of those runs — belongs with the runs"],
|
|
176
|
+
["_voltro_workflow_run_events", "the events those runs emitted — belongs with the runs"],
|
|
177
|
+
["_voltro_workflow_events", "the app's event journal — app data (the target keeps its OWN watermarks, which are local)"],
|
|
178
|
+
["_voltro_workflow_start_contexts", "the context a start was made with — belongs with the runs"],
|
|
179
|
+
["_voltro_events", "the app's domain events — app data"],
|
|
180
|
+
["_voltro_ai_flows", "the flow definitions the app authored — app data"],
|
|
181
|
+
["_voltro_ai_flow_runs", "what those flows did — history the app owns, like a workflow run"],
|
|
182
|
+
["_voltro_notification_inbox", "what the app's users received — app data, and a restore without it loses their inbox"],
|
|
183
|
+
["_voltro_notification_preferences", "the per-user delivery settings the app's users chose — app data"],
|
|
184
|
+
["_voltro_notification_quiet_hours", "the per-user quiet hours the app's users chose — app data"],
|
|
185
|
+
["_voltro_notification_topic_subscriptions", "which topics the app's users subscribed to — app data"],
|
|
186
|
+
["_voltro_rebac_tuples", "the relationship tuples the app's authorisation decisions are made from — app data"],
|
|
187
|
+
["_voltro_scim_users", "identities an external directory provisioned into the app — app data"],
|
|
188
|
+
["_voltro_scim_groups", "groups an external directory provisioned into the app — app data"],
|
|
189
|
+
["_voltro_row_history", "the app's own row-version history — the point of keeping versions is that they survive a move"],
|
|
190
|
+
["_voltro_crdt_versions", "the version history of the app's collaborative documents (named snapshots, archived lineages) — it restores the document rows that travel with it"],
|
|
191
|
+
["_voltro_audit_log", "the app's audit trail — compliance data the app owns, not deployment bookkeeping"],
|
|
192
|
+
["_voltro_feature_flags", "the flags the app defined — app configuration"],
|
|
193
|
+
["_voltro_feature_flag_audit", "who changed which flag — belongs with the flags"],
|
|
194
|
+
["_voltro_comments", "the comments the app's users wrote — app data"],
|
|
195
|
+
["_voltro_comment_threads", "the threads those comments hang on — app data"],
|
|
196
|
+
["_voltro_comment_thread_events", "thread status changes, actors and reasons — app history that belongs with the threads"],
|
|
197
|
+
["_voltro_comment_reactions", "the reactions the app's users left — app data"],
|
|
198
|
+
["_voltro_comment_reads", "which comments each user has read — app data, and losing it re-marks everything unread"],
|
|
199
|
+
["_voltro_chat_admissions", "durable chat identity admissions and erasure tombstones — app data, and a restore without them re-admits erased subjects"],
|
|
200
|
+
["_voltro_chat_evidence", "moderation evidence the app retained for its players' messages — app data"],
|
|
201
|
+
["_voltro_eco_code_claims", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
202
|
+
["_voltro_eco_code_subjects", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
203
|
+
["_voltro_eco_code_tenants", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
204
|
+
["_voltro_eco_codes", "economy definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
205
|
+
["_voltro_eco_container_openings", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
206
|
+
["_voltro_eco_container_subjects", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
207
|
+
["_voltro_eco_container_tenants", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
208
|
+
["_voltro_eco_containers", "economy definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
209
|
+
["_voltro_eco_currencies", "economy definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
210
|
+
["_voltro_eco_iap_account_tokens", "the store account tokens bound to the app's players — app data, and a restore without them breaks purchase attribution"],
|
|
211
|
+
["_voltro_eco_iap_accounts", "the store account tokens bound to the app's players — app data, and a restore without them breaks purchase attribution"],
|
|
212
|
+
["_voltro_eco_iap_namespaces", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
213
|
+
["_voltro_eco_iap_notice_namespaces", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
214
|
+
["_voltro_eco_iap_notice_subjects", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
215
|
+
["_voltro_eco_iap_notices", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
216
|
+
["_voltro_eco_iap_orders", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
217
|
+
["_voltro_eco_iap_receipts", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
218
|
+
["_voltro_eco_iap_refund_adjustments", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
219
|
+
["_voltro_eco_iap_refund_namespaces", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
220
|
+
["_voltro_eco_iap_refund_orders", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
221
|
+
["_voltro_eco_iap_refund_subjects", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
222
|
+
["_voltro_eco_iap_subjects", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
223
|
+
["_voltro_eco_ledger", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
224
|
+
["_voltro_eco_loyalty_definitions", "economy definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
225
|
+
["_voltro_eco_loyalty_entries", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
226
|
+
["_voltro_eco_loyalty_seasons", "economy definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
227
|
+
["_voltro_eco_loyalty_subjects", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
228
|
+
["_voltro_eco_loyalty_tenants", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
229
|
+
["_voltro_eco_offers", "economy definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
230
|
+
["_voltro_eco_orders", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
231
|
+
["_voltro_eco_piggy_definitions", "economy definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
232
|
+
["_voltro_eco_piggy_events", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
233
|
+
["_voltro_eco_piggy_subjects", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
234
|
+
["_voltro_eco_piggy_tenants", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
235
|
+
["_voltro_eco_shop_counters", "the players' current economy state — app data"],
|
|
236
|
+
["_voltro_eco_shop_subjects", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
237
|
+
["_voltro_eco_shop_tenants", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
238
|
+
["_voltro_eco_subjects", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
239
|
+
["_voltro_eco_subscription_events", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
240
|
+
["_voltro_eco_subscription_subjects", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
241
|
+
["_voltro_eco_subscription_tenants", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
242
|
+
["_voltro_eco_subscriptions", "economy definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
243
|
+
["_voltro_eco_trade_operations", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
244
|
+
["_voltro_eco_trade_subjects", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
245
|
+
["_voltro_eco_trade_tenants", "fence and count rows for the economy rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
246
|
+
["_voltro_eco_trades", "the players' current economy state — app data"],
|
|
247
|
+
["_voltro_eco_tx", "the players' economy history and receipts — app data, and the idempotent retries it answers"],
|
|
248
|
+
["_voltro_eco_wallets", "the players' current economy state — app data"],
|
|
249
|
+
["_voltro_inv_catalog", "inventory definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
250
|
+
["_voltro_inv_catalog_heads", "the current inventory catalog revision per channel and locale — app configuration that its stored history refers to"],
|
|
251
|
+
["_voltro_inv_catalog_locks", "fence and count rows for the inventory rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
252
|
+
["_voltro_inv_catalog_revisions", "inventory definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
253
|
+
["_voltro_inv_catalog_versions", "inventory definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
254
|
+
["_voltro_inv_items", "the players' current inventory state — app data"],
|
|
255
|
+
["_voltro_inv_ledger", "the players' inventory history and receipts — app data, and the idempotent retries it answers"],
|
|
256
|
+
["_voltro_inv_loadouts", "the players' current inventory state — app data"],
|
|
257
|
+
["_voltro_inv_operations", "the players' inventory history and receipts — app data, and the idempotent retries it answers"],
|
|
258
|
+
["_voltro_inv_recipes", "inventory definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
259
|
+
["_voltro_inv_subjects", "fence and count rows for the inventory rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
260
|
+
["_voltro_lb_bucket_assignments", "the players' current leaderboard state — app data"],
|
|
261
|
+
["_voltro_lb_league_members", "players' current league divisions are durable app data and must travel with leaderboard history"],
|
|
262
|
+
["_voltro_lb_league_rolls", "league-close movement receipts belong to the app history; preserve retry identity so restored divisions are not promoted or demoted twice"],
|
|
263
|
+
["_voltro_lb_rating_matches", "the players' leaderboard history and receipts — app data, and the idempotent retries it answers"],
|
|
264
|
+
["_voltro_lb_rating_pools", "leaderboard definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
265
|
+
["_voltro_lb_rating_results", "the players' leaderboard history and receipts — app data, and the idempotent retries it answers"],
|
|
266
|
+
["_voltro_lb_ratings", "the players' current leaderboard state — app data"],
|
|
267
|
+
["_voltro_prog_achievement_definitions", "progression definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
268
|
+
["_voltro_prog_achievement_operations", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
269
|
+
["_voltro_prog_achievement_rewards", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
270
|
+
["_voltro_prog_achievement_subjects", "fence and count rows for the progression rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
271
|
+
["_voltro_prog_achievement_unlock_ledger", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
272
|
+
["_voltro_prog_achievements", "the players' current progression state — app data"],
|
|
273
|
+
["_voltro_prog_daily", "the players' current progression state — app data"],
|
|
274
|
+
["_voltro_prog_daily_claims", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
275
|
+
["_voltro_prog_daily_definitions", "progression definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
276
|
+
["_voltro_prog_daily_operations", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
277
|
+
["_voltro_prog_daily_rewards", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
278
|
+
["_voltro_prog_daily_subjects", "fence and count rows for the progression rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
279
|
+
["_voltro_prog_definitions", "progression definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
280
|
+
["_voltro_prog_operations", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
281
|
+
["_voltro_prog_origins", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
282
|
+
["_voltro_prog_pass", "the players' current progression state — app data"],
|
|
283
|
+
["_voltro_prog_pass_definitions", "progression definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
284
|
+
["_voltro_prog_pass_ledger", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
285
|
+
["_voltro_prog_pass_operations", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
286
|
+
["_voltro_prog_pass_rewards", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
287
|
+
["_voltro_prog_pass_subjects", "fence and count rows for the progression rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
288
|
+
["_voltro_prog_quest_definitions", "progression definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
289
|
+
["_voltro_prog_quest_operations", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
290
|
+
["_voltro_prog_quest_origins", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
291
|
+
["_voltro_prog_quest_rewards", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
292
|
+
["_voltro_prog_quest_subjects", "fence and count rows for the progression rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
293
|
+
["_voltro_prog_quest_windows", "the players' current progression state — app data"],
|
|
294
|
+
["_voltro_prog_quests", "the players' current progression state — app data"],
|
|
295
|
+
["_voltro_prog_rank", "the players' current progression state — app data"],
|
|
296
|
+
["_voltro_prog_rank_closure_units", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
297
|
+
["_voltro_prog_rank_definitions", "progression definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
298
|
+
["_voltro_prog_rank_ledger", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
299
|
+
["_voltro_prog_rank_operations", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
300
|
+
["_voltro_prog_rank_rewards", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
301
|
+
["_voltro_prog_rank_subjects", "fence and count rows for the progression rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
302
|
+
["_voltro_prog_resource_definitions", "progression definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
303
|
+
["_voltro_prog_resource_movements", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
304
|
+
["_voltro_prog_resource_operations", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
305
|
+
["_voltro_prog_resource_origins", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
306
|
+
["_voltro_prog_resource_subjects", "fence and count rows for the progression rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
307
|
+
["_voltro_prog_resources", "the players' current progression state — app data"],
|
|
308
|
+
["_voltro_prog_rewards", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
309
|
+
["_voltro_prog_stat_ledger", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
310
|
+
["_voltro_prog_stats", "the players' current progression state — app data"],
|
|
311
|
+
["_voltro_prog_subjects", "fence and count rows for the progression rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
312
|
+
["_voltro_prog_tracks", "the players' current progression state — app data"],
|
|
313
|
+
["_voltro_prog_tutorial", "the players' current progression state — app data"],
|
|
314
|
+
["_voltro_prog_tutorial_definitions", "progression definitions the app authored or imported — app configuration that its stored history refers to"],
|
|
315
|
+
["_voltro_prog_tutorial_ledger", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
316
|
+
["_voltro_prog_tutorial_operations", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
317
|
+
["_voltro_prog_tutorial_rewards", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
318
|
+
["_voltro_prog_tutorial_subjects", "fence and count rows for the progression rows they guard — they travel with those rows, or the recorded counts no longer match"],
|
|
319
|
+
["_voltro_prog_xp_ledger", "the players' progression history and receipts — app data, and the idempotent retries it answers"],
|
|
320
|
+
["_voltro_comment_thread_events", "the status changes the app's users made on a thread — app data"],
|
|
321
|
+
["_voltro_billing_invoices", "retained invoice-event history belonging to the app, like the invoice observations — historical data that never establishes a current provider account or customer"],
|
|
322
|
+
["_voltro_brackets", "tournament brackets the app's players compete in — app data"],
|
|
323
|
+
["_voltro_chat_channels", "the app's chat channels — app data"],
|
|
324
|
+
["_voltro_chat_media", "media the app's users shared in chat — app data, the bytes travel with the assets"],
|
|
325
|
+
["_voltro_chat_messages", "messages the app's users wrote — app data"],
|
|
326
|
+
["_voltro_cms_asset_rendition_history", "the history of rendition selections for the app's CMS assets — belongs with the assets"],
|
|
327
|
+
["_voltro_cms_asset_rendition_selections", "which rendition of a CMS asset version is selected — belongs with the assets"],
|
|
328
|
+
["_voltro_cms_asset_renditions", "the rendition catalog of the app's CMS asset versions — belongs with the assets"],
|
|
329
|
+
["_voltro_cms_change_heads", "the sequence head of the CMS change journal that travels with it — without it the target would issue sequence numbers the journal already holds"],
|
|
330
|
+
["_voltro_consent", "the consent decisions the app's users made — compliance data the app owns, and a restore without it loses their decisions"],
|
|
331
|
+
["_voltro_geo_chunk_deltas", "the durable changes to the app's world geometry — app data"],
|
|
332
|
+
["_voltro_geo_journal", "the journal and receipts of those geometry changes — app data, and the idempotent retries it answers"],
|
|
333
|
+
["_voltro_geo_journal_archives", "the custody index of archived geometry journal bytes — belongs with the journal, the bytes travel with the assets"],
|
|
334
|
+
["_voltro_geo_migrations", "the migrations the app's geometry went through, with source and target links — belongs with the geometry"],
|
|
335
|
+
["_voltro_geo_versions", "the immutable manifests of the app's geometry versions — app data"],
|
|
336
|
+
["_voltro_guild_members", "who belongs to the app's guilds — app data"],
|
|
337
|
+
["_voltro_inbox_messages", "what the app's players received in their inbox — app data"],
|
|
338
|
+
["_voltro_inbox_requests", "the receipts of inbox requests — app data, and the idempotent retries it answers"],
|
|
339
|
+
["_voltro_inbox_subjects", "the per-player inbox state — app data"],
|
|
340
|
+
["_voltro_lb_boards", "the app's leaderboards — app data"],
|
|
341
|
+
["_voltro_lb_periods", "the periods of those leaderboards — app data"],
|
|
342
|
+
["_voltro_lb_records", "the scores the app's players posted — app data"],
|
|
343
|
+
["_voltro_lb_subject_admission", "the per-player admission and erasure state of the leaderboards — app data, and a restore without it re-admits erased players"],
|
|
344
|
+
["_voltro_lb_tournament_entries", "who entered the app's tournaments — app data"],
|
|
345
|
+
["_voltro_lb_tournaments", "the app's tournaments — app data"],
|
|
346
|
+
["_voltro_liveops_event_requests", "the receipts of live-event requests — app data, and the idempotent retries it answers"],
|
|
347
|
+
["_voltro_liveops_event_tenants", "which tenants a live event covers — belongs with the events"],
|
|
348
|
+
["_voltro_liveops_events", "the live events the app scheduled — app content, like its feature flags"],
|
|
349
|
+
["_voltro_oauth_identities", "which social login belongs to which of the app's users — app data, and a restore without it locks those users out"],
|
|
350
|
+
["_voltro_player_name_history", "the players' previous names — app data"],
|
|
351
|
+
["_voltro_players", "the app's player profiles — app data, and a restore without them loses every player"],
|
|
352
|
+
["_voltro_rbac_roles", "the roles the app defined — app data its authorisation decisions are made from"],
|
|
353
|
+
["_voltro_rbac_user_roles", "which user holds which role — app data, like the relationship tuples"],
|
|
354
|
+
["_voltro_release_apps", "the client apps the app ships releases for — app configuration"],
|
|
355
|
+
["_voltro_release_artifacts", "the artifacts of those releases — belongs with the releases, the bytes travel with the assets"],
|
|
356
|
+
["_voltro_release_channels", "the release channels the app defined — app configuration, like its feature flags"],
|
|
357
|
+
["_voltro_release_events", "the history of those releases — belongs with the releases"],
|
|
358
|
+
["_voltro_releases", "the releases the app published — app data"],
|
|
359
|
+
["_voltro_replays", "recorded match replays — app data"],
|
|
360
|
+
["_voltro_room_creations", "the receipts of Room creation requests — app data, and the idempotent retries it answers"],
|
|
361
|
+
["_voltro_room_snapshot_segments", "the segments of durable Room snapshots — belongs with the snapshots"],
|
|
362
|
+
["_voltro_room_snapshots", "durable Room snapshots — the state a Room resumes from, app data"],
|
|
363
|
+
["_voltro_room_subject_privacy", "per-player Room resume and erasure receipts — app data, and a restore without them re-admits erased players"],
|
|
364
|
+
["_voltro_rooms", "the app's Rooms with their lockstep journal header — the ticks travel with it (their host binding is re-established by the target's own hosts)"],
|
|
365
|
+
["_voltro_saves", "the players' saved games — app data"],
|
|
366
|
+
["_voltro_saves_history", "previous versions of those saves — app data"],
|
|
367
|
+
["_voltro_saves_requests", "the receipts of save requests — app data, and the idempotent retries it answers"],
|
|
368
|
+
["_voltro_saves_subjects", "the per-player save state — app data"],
|
|
369
|
+
["_voltro_social_recent", "who the app's players recently played with — app data"],
|
|
370
|
+
["_voltro_social_relations", "the players' friends and blocks — app data"],
|
|
371
|
+
["_voltro_social_settings", "the players' social settings — app data"],
|
|
372
|
+
["_voltro_tournament_admissions", "the admissions into the app's tournament brackets — app data, and the idempotent retries it answers"],
|
|
373
|
+
["_voltro_world_cells", "the app's persistent world cells — app data"],
|
|
374
|
+
["_voltro_world_entities", "the entities living in those worlds — app data"],
|
|
375
|
+
["_voltro_world_instance_history", "the history of the app's world instances — app data"],
|
|
376
|
+
["_voltro_world_instance_scopes", "the scopes of those world instances — belongs with them"],
|
|
377
|
+
["_voltro_world_instances", "the app's world instances — app data"],
|
|
378
|
+
["_voltro_world_journal", "the journal and receipts of world entity changes — app data, and the idempotent retries it answers"],
|
|
379
|
+
["_voltro_world_transitions", "durable phases and receipts of entities moving between worlds — app data"]
|
|
380
|
+
]), n = (t) => e.has(t), r = (t) => e.get(t), i = (e, t) => {
|
|
381
|
+
if (e.length === 0) return;
|
|
382
|
+
let n = e.map((e) => ` ${e} — ${r(e) ?? "describes this deployment"}`);
|
|
383
|
+
return `${t} ${e.length} table(s) that describe a deployment rather than its data:\n${n.join("\n")}\n A row from another environment is not stale there, it is a false statement about this one.`;
|
|
384
|
+
};
|
|
385
|
+
//#endregion
|
|
386
|
+
export { e as ENVIRONMENT_LOCAL_TABLES, t as ENVIRONMENT_PORTABLE_TABLES, i as environmentLocalNotice, r as environmentLocalReason, n as isEnvironmentLocal };
|
package/dist/errors.js
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Data as e, Schema as t } from "effect";
|
|
2
|
+
//#region src/errors.ts
|
|
3
|
+
var n = class extends t.TaggedError()("BundleError", {
|
|
4
|
+
reason: t.String,
|
|
5
|
+
path: t.optional(t.String)
|
|
6
|
+
}) {
|
|
7
|
+
get message() {
|
|
8
|
+
return this.path === void 0 ? this.reason : `${this.reason} (${this.path})`;
|
|
9
|
+
}
|
|
10
|
+
}, r = class extends t.TaggedError()("CodecError", {
|
|
11
|
+
table: t.String,
|
|
12
|
+
reason: t.String
|
|
13
|
+
}) {}, i = class extends t.TaggedError()("IntegrityError", {
|
|
14
|
+
what: t.String,
|
|
15
|
+
expected: t.String,
|
|
16
|
+
actual: t.String
|
|
17
|
+
}) {
|
|
18
|
+
get message() {
|
|
19
|
+
return `${this.what}: expected ${this.expected}, got ${this.actual}`;
|
|
20
|
+
}
|
|
21
|
+
}, a = class extends e.TaggedError("CompressionError") {}, o = class extends t.TaggedError()("ScopeError", { reason: t.String }) {
|
|
22
|
+
get message() {
|
|
23
|
+
return this.reason;
|
|
24
|
+
}
|
|
25
|
+
}, s = class extends t.TaggedError()("RowsRefusedError", {
|
|
26
|
+
rows: t.Array(t.Struct({
|
|
27
|
+
table: t.String,
|
|
28
|
+
id: t.String,
|
|
29
|
+
reason: t.String,
|
|
30
|
+
derived: t.Boolean
|
|
31
|
+
})),
|
|
32
|
+
primaryCount: t.Number,
|
|
33
|
+
totalCount: t.Number,
|
|
34
|
+
byTable: t.Array(t.Struct({
|
|
35
|
+
table: t.String,
|
|
36
|
+
refused: t.Number,
|
|
37
|
+
primary: t.Number
|
|
38
|
+
}))
|
|
39
|
+
}) {
|
|
40
|
+
get message() {
|
|
41
|
+
return `RowsRefusedError: ${JSON.stringify({
|
|
42
|
+
rows: this.rows,
|
|
43
|
+
primaryCount: this.primaryCount,
|
|
44
|
+
totalCount: this.totalCount,
|
|
45
|
+
byTable: this.byTable
|
|
46
|
+
})}`;
|
|
47
|
+
}
|
|
48
|
+
}, c = class extends t.TaggedError()("SchemaDriftError", {
|
|
49
|
+
bundleFingerprint: t.String,
|
|
50
|
+
targetFingerprint: t.String,
|
|
51
|
+
diff: t.Array(t.String)
|
|
52
|
+
}) {
|
|
53
|
+
get message() {
|
|
54
|
+
return `bundle schema ${this.bundleFingerprint} does not match target ${this.targetFingerprint}: ${this.diff.join("; ")}`;
|
|
55
|
+
}
|
|
56
|
+
}, l = class extends t.TaggedError()("FieldKeysMissingError", {
|
|
57
|
+
missing: t.Array(t.String),
|
|
58
|
+
held: t.Array(t.String)
|
|
59
|
+
}) {
|
|
60
|
+
get message() {
|
|
61
|
+
return `the bundle's values are sealed under field-encryption key(s) ${this.missing.map((e) => `"${e}"`).join(", ")}, which this environment does not hold (it holds ${this.held.join(", ") || "none"}) — supply them, or, restoring into another environment, import with --null-sealed (a value no key here opens is written as NULL)`;
|
|
62
|
+
}
|
|
63
|
+
}, u = class extends e.TaggedError("NativeToolError") {
|
|
64
|
+
get message() {
|
|
65
|
+
let e = this.stderr?.trim(), t = this.hint?.trim();
|
|
66
|
+
return `${this.tool}: ${this.reason}${e ? `\n${e}` : ""}${t ? `\n\nhint: ${t}` : ""}`;
|
|
67
|
+
}
|
|
68
|
+
}, d = class extends t.TaggedError()("MaskingError", {
|
|
69
|
+
unclassified: t.Array(t.String),
|
|
70
|
+
invalidActions: t.optional(t.Array(t.String))
|
|
71
|
+
}) {
|
|
72
|
+
get message() {
|
|
73
|
+
let e = [];
|
|
74
|
+
return this.unclassified.length > 0 && e.push(`unclassified columns: ${this.unclassified.join(", ")}`), this.invalidActions !== void 0 && this.invalidActions.length > 0 && e.push(`invalidActions: ${this.invalidActions.join(", ")}`), `masking refused — ${e.join("; ") || "no column may be exported"}`;
|
|
75
|
+
}
|
|
76
|
+
}, f = class extends t.TaggedError()("ImportModeError", {
|
|
77
|
+
mode: t.String,
|
|
78
|
+
reason: t.String
|
|
79
|
+
}) {
|
|
80
|
+
get message() {
|
|
81
|
+
return `import mode '${this.mode}' refused: ${this.reason}`;
|
|
82
|
+
}
|
|
83
|
+
}, p = class extends t.TaggedError()("CrossDialectError", {
|
|
84
|
+
sourceDialect: t.String,
|
|
85
|
+
targetDialect: t.String,
|
|
86
|
+
blocking: t.Array(t.String)
|
|
87
|
+
}) {};
|
|
88
|
+
//#endregion
|
|
89
|
+
export { n as BundleError, r as CodecError, a as CompressionError, p as CrossDialectError, l as FieldKeysMissingError, f as ImportModeError, i as IntegrityError, d as MaskingError, u as NativeToolError, s as RowsRefusedError, c as SchemaDriftError, o as ScopeError };
|