Rename accounts/guest accounts to sessions

The new file loaded by default is now ./sessions.jsonl
JSONL is also required, .json support dropped.
This commit is contained in:
Zed
2025-02-05 04:09:36 +01:00
parent afad55749b
commit 6fcd849eff
10 changed files with 114 additions and 120 deletions

View File

@@ -6,7 +6,7 @@ genPrefsType()
type
RateLimitError* = object of CatchableError
NoAccountsError* = object of CatchableError
NoSessionsError* = object of CatchableError
InternalError* = object of CatchableError
BadClientError* = object of CatchableError
@@ -31,7 +31,7 @@ type
remaining*: int
reset*: int
GuestAccount* = ref object
Session* = ref object
id*: int64
oauthToken*: string
oauthSecret*: string