warn.bend relies on unsafe/foreign
raw source on the hub · import cswap-bend-cli@0.1.0.0/warn.bend as Warn
7 imports
import Base import ./pollrow.bend as Pollrow import ./usage/gate.bend as UGate import ./store/seq.bend as SSeq import ./json.bend as Json import ./view.bend as View import ./collect.bend as Collect
Types
type Seen source · line 16 · raw
Data
Seen@key:String -> @slot:String -> Seen
type LS source · line 63 · raw
Data
LS@seen:List<&2, Seen> -> @msgs:List<&2, String> -> LS
type DS source · line 113 · raw
Data
DS@fps:List<&2, Seen> -> @ids:List<&2, Seen> -> @msgs:List<&2, String> -> DS
Definitions
def dash source · line 13 · raw
String
def seen.pick source · line 19 · raw
@hit:Bool -> @s:String -> @rest:Maybe<&2, String> -> Maybe<&2, String>
def seen_find source · line 26 · raw
@+key:String -> @xs:List<&2, Seen> -> Maybe<&2, String>
def append_str source · line 33 · raw
@xs:List<&2, String> -> @+x:String -> List<&2, String>
def win_key2 source · line 36 · raw
@p:Maybe<&2, 0x0717344745a30ebad1f19045228e8f18/json.Json> -> @r:Maybe<&2, 0x0717344745a30ebad1f19045228e8f18/json.Json> -> Maybe<&2, String>
def win_key source · line 43 · raw
@+w:0x0717344745a30ebad1f19045228e8f18/json.Json -> Maybe<&2, String>
def key3 source · line 46 · raw
@a:Maybe<&2, String> -> @b:Maybe<&2, String> -> Maybe<&2, String>
def key2 source · line 53 · raw
@a:Maybe<&2, 0x0717344745a30ebad1f19045228e8f18/json.Json> -> @b:Maybe<&2, 0x0717344745a30ebad1f19045228e8f18/json.Json> -> Maybe<&2, String>
def usage_key source · line 60 · raw
@+u:0x0717344745a30ebad1f19045228e8f18/json.Json -> Maybe<&2, String>
def ls_seen source · line 66 · raw
@ls:LS -> List<&2, Seen>
def lock.seen source · line 71 · raw
@other:Maybe<&2, String> -> @+k:String -> @+slot:String -> @ls:LS -> LS
def lock.step source · line 78 · raw
@m:Maybe<&2, String> -> @+slot:String -> @+ls:LS -> LS
def lock.live source · line 85 · raw
@sentinel:Maybe<&2, String> -> @+row:0x0717344745a30ebad1f19045228e8f18/pollrow.Row -> @+slot:String -> @models:List<&2, String> -> @+now:U32 -> @ls:LS -> LS
def lock.acct source · line 92 · raw
@+a:0x0717344745a30ebad1f19045228e8f18/view.Acct -> @models:List<&2, String> -> @+now:U32 -> @ls:LS -> LS
def lock.go source · line 97 · raw
@as:List<&2, 0x0717344745a30ebad1f19045228e8f18/view.Acct> -> @+models:List<&2, String> -> @+now:U32 -> @ls:LS -> LS
def msgs_of source · line 104 · raw
@ls:LS -> List<&2, String>
def lockstep source · line 110 · raw
@as:List<&2, 0x0717344745a30ebad1f19045228e8f18/view.Acct> -> @models:List<&2, String> -> @+now:U32 -> List<&2, String>
Slots whose 5h and 7d usage and resets match to the digit.
def uuid_of source · line 116 · raw
@+seq:0x0717344745a30ebad1f19045228e8f18/json.Json -> @+slot:String -> String
def ds_fps source · line 119 · raw
@ds:DS -> List<&2, Seen>
def dup.fp3 source · line 124 · raw
@other:Maybe<&2, String> -> @+fp:String -> @+slot:String -> @+email:String -> @ds:DS -> DS
def dup.fp2 source · line 131 · raw
@has:Bool -> @+fp:String -> @+slot:String -> @+email:String -> @+ds:DS -> DS
def dup.fp source · line 138 · raw
@+creds:String -> @+slot:String -> @+email:String -> @ds:DS -> DS
def ds_ids source · line 141 · raw
@ds:DS -> List<&2, Seen>
def dup.id3 source · line 146 · raw
@other:Maybe<&2, String> -> @+key:String -> @+slot:String -> @+email:String -> @ds:DS -> DS
def dup.id2 source · line 153 · raw
@has:Bool -> @+key:String -> @+slot:String -> @+email:String -> @+ds:DS -> DS
def dup.id source · line 160 · raw
@+uuid:String -> @+org:String -> @+slot:String -> @+email:String -> @ds:DS -> DS
def dup.info source · line 163 · raw
@+i:0x0717344745a30ebad1f19045228e8f18/collect.Info -> @+seq:0x0717344745a30ebad1f19045228e8f18/json.Json -> @ds:DS -> DS
def dup.go source · line 168 · raw
@xs:List<&2, 0x0717344745a30ebad1f19045228e8f18/collect.Info> -> @+seq:0x0717344745a30ebad1f19045228e8f18/json.Json -> @ds:DS -> DS
def ds_msgs source · line 175 · raw
@ds:DS -> List<&2, String>
def duplicates source · line 181 · raw
@infos:List<&2, 0x0717344745a30ebad1f19045228e8f18/collect.Info> -> @+seq:0x0717344745a30ebad1f19045228e8f18/json.Json -> List<&2, String>
Slots that provably authenticate as the same account.