At this level
social.colibri.beta.polyfill ยท 10- social.colibri.beta.polyfill.applyWrites procedure Writes records to the requesting user's repo in a space the AppView hosts for them. The write is authorized the way the space's authority would authorize it, stored, and indexed like a synced write. Records keep the URIs they will have on the user's PDS after a migration.
- social.colibri.beta.polyfill.beginMigration procedure Starts moving the requesting user's hosted repos to their PDS. Each repo enters the migrating state, in which the AppView still accepts its writes. Calling it again resumes an interrupted migration.
- social.colibri.beta.polyfill.completeMigration procedure Asks the AppView to verify one repo the client copied to its PDS. The AppView syncs the repo from the PDS and compares it with its own copy. On a match the PDS becomes the source of truth. On a mismatch the repo stays hosted by the AppView, and the client may try again.
- social.colibri.beta.polyfill.defs defs Where a member's repos live. polyfill: the AppView hosts them because the member's PDS cannot. migrating: the client is copying them to the PDS, and the AppView stays authoritative until each copy verifies. native: the PDS hosts them and the AppView syncs from it.
- social.colibri.beta.polyfill.getBlob query Returns the bytes of a blob the requesting user stored with the AppView, so a migration can upload it to their PDS.
- social.colibri.beta.polyfill.getRecord query Reads one record from the requesting user's repo in a space the AppView hosts for them.
- social.colibri.beta.polyfill.getStatus query Reports where the requesting user's space repos live and whether their PDS can host spaces now. The client routes space reads and writes by the mode, and starts a migration when the mode is polyfill and the PDS supports spaces.
- social.colibri.beta.polyfill.listForMigration query Pages through every record in the requesting user's hosted repo in one space, in record key order per collection, so the client can replay them on its PDS.
- social.colibri.beta.polyfill.listRecords query Lists records of one collection in the requesting user's repo in a space the AppView hosts for them, ordered by record key.
- social.colibri.beta.polyfill.uploadBlob procedure Stores a blob for the requesting user while the AppView hosts their space repos. A blob nothing references within a day is deleted.