place.hud.setup

A step of an operator's app file's account setup (setup in <HUD_APPS>/<domain>.json): records HUD writes to the signed-in account's own repository as a session signed in through one of the operator's own clients first uses the app (calls one of its screens), in the background, the call never waiting on it or failing by it. HUD reads the account's records its joins name from its PDS, holds when and unless to what they read, and writes the step's writes as a Compose's are written (apply_writes). An object in a file, not a method, so it needs no auth. hud_core::operator holds it to this lexicon, then to its own rules: no key but these, its id once in the app, its paths reading its joins or me, its writes a writes template of collections whose lexicons are records, within the app's permission sets where it names any.

Repository @lexicons.hud.place did:plc:3tzbz4pml36u4mkresb6pdhv not from the namespace authority
Details · object
Kindobject
Authorityhud.place
Commit rev3n3jbjekv6kju
Indexed

Object

object

Properties

id

requiredstring

The step's name in its app, lowercase letters, digits and -: what HUD remembers a once step by, with its version. A new id runs again for everyone.

  • minLength: 1
  • maxLength: 64

joins

array

The account's records the step reads, each at joins.<as> as a view's join leaves a record: { uri, cid, did, value }, or null where there is none.

  • maxLength: 8
itemsref
Reference

run

requiredstring

When it runs: sign-in, in every session that uses the app, its joins read and its when and unless held each time; once, in a session that uses the app until it has run once for the account at this version, remembered by HUD.

  • maxLength: 32
  • knownValues: sign-in | once

unless

string

A dotted path, as when's: the step runs only where it holds nothing.

  • minLength: 1
  • maxLength: 300

version

integer

The step's version: a once step whose version is raised runs again for everyone, once, as a migration does.

  • minimum: 1
  • default: 1

when

string

A dotted path, its first key joins or me: the step runs only where it holds something (anything but null, false, 0, "", [] or {}), as a view's when.

  • minLength: 1
  • maxLength: 300

writes

requiredarray

What it writes, a writes template as a Compose's (hud_core::compose), its {"$value": path} reading joins and me: an update swapped on the CID it was read at, or a create at its own key that fails where the record is there already. None made, where no write's when and unless hold, is nothing to do.

  • minLength: 1
  • maxLength: 8
itemsunknown

#join

object

A record of the account's own the step reads: the one at record, or the first of first there is.

Properties

as

requiredstring

Where its record is, joins.<as>.

  • minLength: 1
  • maxLength: 32

first

array

Records tried in order, the first there is read: sources of one thing, the most wanted first.

  • minLength: 2
  • maxLength: 4
itemsref
Reference

The record read.

Reference

#record

object

A record of the account's own repository, by its collection and record key.

Properties

collection

requiredstring · nsid

Its collection.

rkey

requiredstring · record-key

Its record key, as self.