Marmot-TS
    Preparing search index...

    Type Alias StoredInviteEntry

    StoredInviteEntry:
        | { ids: string[]; type: "seen" }
        | {
            attempted?: boolean;
            giftwrap: ReceivedGiftWrap;
            invalid?: boolean;
            rumor?: UnreadInvite;
            type: "received";
        }
        | { rumor: UnreadInvite; type: "unread" }

    Discriminated union for entries stored in the invite store.

    Type Declaration

    • { ids: string[]; type: "seen" }
    • {
          attempted?: boolean;
          giftwrap: ReceivedGiftWrap;
          invalid?: boolean;
          rumor?: UnreadInvite;
          type: "received";
      }
      • Optionalattempted?: boolean

        Written before prompting; automatic listening never retries an attempt.

      • giftwrap: ReceivedGiftWrap
      • Optionalinvalid?: boolean

        Permanently invalid plaintext; only source cleanup remains.

      • Optionalrumor?: UnreadInvite

        Validated transition journal; survives a failed unread write or cleanup.

      • type: "received"
    • { rumor: UnreadInvite; type: "unread" }