refactor: move AppState type and update functions to AppState/Types.hs

`AppState.hs` is imported by many modules. Some of those modules contain
important functions that need to be imported back to `AppState.hs`, causing
circular dependency problem.

Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
This commit is contained in:
Taimoor Zaeem
2026-07-25 14:39:48 +05:00
parent e820cc7370
commit a108d66968
3 changed files with 106 additions and 81 deletions
+1
View File
@@ -46,6 +46,7 @@ library
exposed-modules: PostgREST.Admin
PostgREST.App
PostgREST.AppState
PostgREST.AppState.Types
PostgREST.Auth
PostgREST.Auth.Jwt
PostgREST.Auth.JwtCache