---
title: "Route Flow: ssddc /src/middleware/kvroutes.ts "
---
flowchart TD
subgraph GET ["GET"]
hono_get_userKey["GET userKey"]
style hono_get_userKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_get_keyEntry_name["GET keyEntry.name"]
style hono_get_keyEntry_name fill:#5E377B,color:#fff,stroke:#B4976A
hono_get_emailKey["GET emailKey"]
style hono_get_emailKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_get_partnerKey["GET partnerKey"]
style hono_get_partnerKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_get_emailKey["GET emailKey"]
style hono_get_emailKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_get_partnerKey["GET partnerKey"]
style hono_get_partnerKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_get_emailKey["GET emailKey"]
style hono_get_emailKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_get_partnerKey["GET partnerKey"]
style hono_get_partnerKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_get_emailKey["GET emailKey"]
style hono_get_emailKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_get_partnerKey["GET partnerKey"]
style hono_get_partnerKey fill:#5E377B,color:#fff,stroke:#B4976A
end
subgraph PUT ["PUT"]
hono_put_emailKey["PUT emailKey"]
style hono_put_emailKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_put_partnerKey["PUT partnerKey"]
style hono_put_partnerKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_put_userKey["PUT userKey"]
style hono_put_userKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_put_emailKey["PUT emailKey"]
style hono_put_emailKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_put_partnerKey["PUT partnerKey"]
style hono_put_partnerKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_put_userKey["PUT userKey"]
style hono_put_userKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_put_emailKey["PUT emailKey"]
style hono_put_emailKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_put_partnerKey["PUT partnerKey"]
style hono_put_partnerKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_put_userKey["PUT userKey"]
style hono_put_userKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_put_userKey["PUT userKey"]
style hono_put_userKey fill:#5E377B,color:#fff,stroke:#B4976A
end
subgraph DELETE ["DELETE"]
hono_delete_emailKey["DELETE emailKey"]
style hono_delete_emailKey fill:#5E377B,color:#fff,stroke:#B4976A
hono_delete_partnerKey["DELETE partnerKey"]
style hono_delete_partnerKey fill:#5E377B,color:#fff,stroke:#B4976A
end
getUserRecord{{"getUserRecord"}}
style getUserRecord fill:#161b22,color:#fff,stroke:#c2a35d
kvResetRoute{{"kvResetRoute"}}
style kvResetRoute fill:#161b22,color:#fff,stroke:#c2a35d
getRecords{{"getRecords"}}
style getRecords fill:#161b22,color:#fff,stroke:#c2a35d
getEmailRecord{{"getEmailRecord"}}
style getEmailRecord fill:#161b22,color:#fff,stroke:#c2a35d
getPartnerRecord{{"getPartnerRecord"}}
style getPartnerRecord fill:#161b22,color:#fff,stroke:#c2a35d
getNestedValue{{"getNestedValue"}}
style getNestedValue fill:#161b22,color:#fff,stroke:#c2a35d
kvHandler{{"kvHandler"}}
style kvHandler fill:#161b22,color:#fff,stroke:#c2a35d
getNestedValue --> getUserRecord
kvHandler --> getRecords
kvHandler --> getUserRecord
kvHandler --> getEmailRecord
kvHandler --> getPartnerRecord
kvHandler --> getNestedValue
linkStyle default stroke:#c2a35d,stroke-width:2px,color:#fff
classDef default color:#fff
---
title: "AST Structure: ssddc /src/middleware/kvroutes.ts "
---
%%{init: { 'flowchart': { 'nodeSpacing': 20, 'rankSpacing': 30 }, 'themeVariables': { 'fontSize': '11px' } } }%%
graph LR
n0["SF"]
n2["hono"]
style n2 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1
n3["ID: Context"]
n0 --> n3
n3 --> n2
style n3 stroke-dasharray:5,stroke:#B4976A
n5["hono"]
style n5 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1
n6["ID: MiddlewareHandler"]
n0 --> n6
n6 --> n5
style n6 stroke-dasharray:5,stroke:#B4976A
n8["../kvcache"]
style n8 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1
style n8 cursor:pointer,stroke-width:2px,stroke:#B4976A
n9["ID: createKVProxy"]
n0 --> n9
n9 --> n8
style n9 stroke-dasharray:5,stroke:#B4976A
subgraph sub57 ["Safe Boundary"]
end
n156["CE: c.json(400)"]
n0 --> n156
n191["CE: c.json(400)"]
n0 --> n191
subgraph sub222 ["Safe Boundary"]
n236["CE: c.json(success)"]
n0 --> n236
n254["CE: c.json(500)"]
n0 --> n254
end
subgraph sub288 ["Safe Boundary"]
end
subgraph sub425 ["Safe Boundary"]
end
subgraph sub481 ["Safe Boundary"]
end
subgraph sub1424 ["Safe Boundary"]
end
subgraph sub1704 ["Safe Boundary"]
end
subgraph sub2301 ["Safe Boundary"]
end
subgraph sub2687 ["Safe Boundary"]
end
n3237["CE: next"]
n0 --> n3237
style n0 fill:#5E377B,color:#fff,stroke:#B4976A
linkStyle default stroke:#c2a35d,stroke-width:1px,opacity:0.6
click n8 "../kvcache.html" "View Documentation"
CE CallExpressionID ImportDeclarationSF SourceFileTS TryStatement