Rebasely Beta: data may be purged

exampleslive-notes Public

Save a snapshot of each note to R2 every 100 versions #2

Changed files

21 files changed470 additions41 deletionssince main at d21dfdd

System

1 component added, 2 changed, 2 connections added, 1 view changed, 2 dataflows changed

  • Added
  • Changed
  • Removed
What this pull request changes in the system: 5 components, 5 connections api to note-room (rpc)api to snapshots (r2): addednote-room to ops (import)note-room to snapshots (r2): addedclient to ops (import)rpcr2importr2importapi (changed)apiWorker · changednote-room (changed)note-roomDurable Object · changedsnapshots (added)snapshotsR2 bucket · addedopsopsLibraryclientclientLibrary

The system at the head of this pull request, with what it adds, changes and removes from the merge base d21dfdd. Select a component for what changed in it.

ops

Insert and delete operations, their transform, and the messages on the socket. The same code runs in the room and in the browser.

Not changed by this pull request.

Takes part in An edit reaching other editors.

Changes

  • Changed: ~ api: description
  • Changed: ~ note-room: description; owns +src/snapshots.ts
  • Added: + component snapshots (r2-bucket)
  • Added: + edge api → snapshots (r2)
  • Added: + edge note-room → snapshots (r2)
  • Changed: ~ view editing: description; components +snapshots
  • Changed: ~ flow edit-broadcast: 1 step added, description changed
  • Added: + flow reading-history

Knowledge base

Back to the conversation