about summary refs log tree commit diff
path: root/src/state/queries/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* [Session] Refactor to prepare for V2 (#3781)dan2024-05-011-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move types to another file Co-authored-by: dan <dan.abramov@gmail.com> * Move utilities out Co-authored-by: dan <dan.abramov@gmail.com> * Move PUBLIC_BSKY_AGENT Co-authored-by: dan <dan.abramov@gmail.com> * Move createPersistSessionHandler inline Co-authored-by: dan <dan.abramov@gmail.com> * Call configureModeration when clearing account too This ensures that the app labelers get reset in a test environment. Co-authored-by: dan <dan.abramov@gmail.com> * Make guest configureModeration sync, non-guest async * Extract isSessionExpired Co-authored-by: dan <dan.abramov@gmail.com> * Flip isSessionExpired condition Co-authored-by: dan <dan.abramov@gmail.com> * Extract agentToSessionAccount Co-authored-by: dan <dan.abramov@gmail.com> * Extract createAgent* Co-authored-by: dan <dan.abramov@gmail.com> * Simplify isSessionExpired --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [Session] Base (#3541)Eric Bailey2024-04-251-1/+3
| | | | | * Add readLastActiveAccount to use accounts[] as source of truth * Add public service constant, use
* Refetch some data on an interval (#2114)Eric Bailey2023-12-061-0/+4
| | | | | * Match refetch intervals to stale time * Lower refetch interval for own-profile
* Update pwi endpoint (#2116)Paul Frazee2023-12-061-1/+1
|
* Caching heuristics (#1938)Eric Bailey2023-11-161-0/+11
| | | | | * Tempfix profile load * First pass at staleTime
* Follow conventions for query, use isDirty flag in session store to avoid ↵Eric Bailey2023-11-101-0/+5
unneccessary writes