okami.mom/albedo
git clone https://git.nkp.pet/okami.mom/albedo
61c43ca
main
1package tui 2 3import ( 4"albedo/cli/internal/config" 5"albedo/cli/internal/daemon" 6) 7 8type LoginDoneMsg struct { 9Gen int 10Name string 11Settings config.Settings 12} 13 14type LoginCancelMsg struct {} 15 16type loginModelsLoadedMsg struct { 17Err error 18Note string 19Models []string 20Gen int 21} 22 23// signInsLoadedMsg carries the daemon's sign-ins and accounts, after the first 24// read and after every change. Profiles comes from the same settings snapshot. 25type signInsLoadedMsg struct { 26Mutation bool 27Err error 28Profiles * config.Profiles 29Listed daemon.SignIns 30Gen int 31} 32 33type signInStartedMsg struct { 34ETag string 35Err error 36ID string 37URL string 38Gen int 39} 40 41type signInStatusMsg struct { 42ETag ,Instructions string 43Accounts []daemon.Account 44URL string 45Err error 46ID string 47State string 48Message string 49Gen int 50} 51 52type signInPollMsg struct { 53ID string 54Gen int 55} 56 57type providerSavedMsg struct { 58Gen int 59Err error 60Name string 61Settings config.Settings 62}