Encrypted, ephemeral, private memos on atproto
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 4e4d4e463e6e2bfddd2041bb70b1825dfc7b2c9a 23 lines 537 B view raw
1import type { BaseClientOptions, ClientRequirements } from "@cistern/shared"; 2import type { ResourceUri, Tid } from "@atcute/lexicons"; 3 4export interface InputLocalKeyPair { 5 privateKey: string; 6 publicKey: ResourceUri; 7} 8 9export interface LocalKeyPair { 10 privateKey: Uint8Array; 11 publicKey: ResourceUri; 12} 13 14export interface ConsumerOptions extends BaseClientOptions { 15 keypair?: InputLocalKeyPair; 16} 17 18export type ConsumerParams = ClientRequirements<ConsumerOptions>; 19 20export interface DecryptedMemo { 21 tid: Tid; 22 text: string; 23}