social.colibri.beta.polyfill.defs

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · defs
Kinddefs
Authoritypolyfill.beta.colibri.social
Commit rev3n2benzyzwd22
Indexed

#hostMode

string

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.

  • knownValues: polyfill | migrating | native

#migrationProgress

object

How far a migration has come.

Properties

spacesDone

requiredinteger

How many of those repos have verified on the PDS.

  • minimum: 0

spacesTotal

requiredinteger

How many spaces hold a repo that has to move.

  • minimum: 0

#migrationRecord

object

A record to replay on the user's PDS during a migration.

Properties

cid

requiredstring · cid

The CID of the record or blob.

collection

requiredstring · nsid

The record's collection.

rkey

requiredstring · record-key

The record key.

value

requiredunknown

The record itself.

#recordView

object

A record in a repo the AppView hosts.

Properties

cid

requiredstring · cid

The CID of the record or blob.

uri

requiredstring · at-uri

The record's URI, the same one it keeps after a migration.

value

requiredunknown

The record itself.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • 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.

  • 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.

  • 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.

  • 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.