Share

tcmts.share.Share · #gx72qa4h · type

A page being made: the codebase served, who's asking, and where from.

import type { Codebase } from "#codebase/tcmts/cli/codebase";
import type { Caller, ServerUser } from "#codebase/tcmts/cli/sync";
import type { ShareCache } from "#codebase/tcmts/share";

export interface Share {
  cb: Codebase;
  caller: Caller;
  users: ServerUser[];
  isPublic: boolean;
  cache: ShareCache;
  url: URL;
  /** the server's address, as the browser reached it (for `tcm remote add`) */
  origin: string;
}

uses

used by