AtprotoConfig

tcmts.atproto.AtprotoConfig · #nvqr4g6m · interface

How the library finds the network, if not as everyone does (configure): plc, a PLC directory that also resolves handles (a private network's, or a test's); appview, where browsers resolve handles and read profiles; allowLocalNetwork, plain http and addresses on this machine or its network allowed for the servers records and documents name (never for a server on the internet); serviceUrls, the addresses an app's server is reached at, which browsers sign in to it as (serviceAudiences); jetstream and relay, where records are read as they're written (readJetstream) and who has records of a collection is asked (catchUpFromRelay).

export interface AtprotoConfig {
  plc?: string;
  appview?: string;
  allowLocalNetwork?: boolean;
  serviceUrls?: string[];
  jetstream?: string;
  relay?: string;
}

used by