docs: add config/cli/developer to arch

This commit is contained in:
steve-chavez
2024-04-08 15:51:30 -05:00
committed by Steve Chavez
parent b91908b749
commit 2772b78013
3 changed files with 20 additions and 12 deletions
+1 -2
View File
@@ -32,8 +32,7 @@ A request might be rejected at this level if it's invalid. For example when prov
### Plan ### Plan
Using the Schema Cache, this module enables more complex functionality (like resource embedding) by enriching the ApiRequest. It generates intermediate Plan types Using the Schema Cache, this module fills in SQL details that the user might have not specified (like an `ON CONFLICT (pk)` clause ).
that then will be used for the next step.
A request might be rejected at this level if it's invalid. For example when doing resource embedding on a nonexistent resource. A request might be rejected at this level if it's invalid. For example when doing resource embedding on a nonexistent resource.
+19 -10
View File
@@ -1,7 +1,4 @@
@startuml @startuml
:user:
package "PostgREST" { package "PostgREST" {
() HTTP as HTTPAPI () HTTP as HTTPAPI
HTTPAPI - [Auth] HTTPAPI - [Auth]
@@ -11,11 +8,19 @@ package "PostgREST" {
[Query] - () "Connection Pool" : "\t" [Query] - () "Connection Pool" : "\t"
[Plan] -u-> [Schema Cache]:uses [Plan] -u-> [Schema Cache]:uses
[Query] -u-> [Schema Cache]:uses [Query] -u-> [Schema Cache]:uses
[Schema Cache] <- () Listener : reloads "\t" [Schema Cache] <- () Listener : reloads
() HTTP as HTTPADMIN
[Admin] - () HTTPADMIN
/'HTTPADMIN <-r[hidden]- [Schema Cache] : "\t\t\t"'/ () HTTP as HTTPADMIN
[Admin] -r- () HTTPADMIN
[Config] -l- () CLI
HTTPADMIN -[hidden]r- CLI
/'
'the listener reloads the config. Too much detail, the arrows are crosssed.
'[Schema Cache] <-l[hidden]- [Config]
'[Schema Cache] <-l[hidden]- [Admin]
'[Config] <-l~ () Listener : reloads
'/
} }
@@ -30,9 +35,14 @@ database "PostgreSQL" {
API -d- texts API -d- texts
} }
HTTPAPI <.l- user : "\t"
operator .d-> HTTPADMIN
HTTPAPI <.l- :user: : "\t"
:operator: .-> HTTPADMIN
:operator: .-> CLI
PostgreSQL <.developer : "\t"
Listener -r.> "PostgreSQL" Listener -r.> "PostgreSQL"
"Connection Pool" -r.> "PostgreSQL" : "\t\t" "Connection Pool" -r.> "PostgreSQL" : "\t\t"
@@ -52,5 +62,4 @@ end note
note top of Listener note top of Listener
LISTEN session LISTEN session
end note end note
@enduml @enduml
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 55 KiB