Sidecar Logo

index.ts

Created: 2025-11-14T14:50:28.000Z Modified: 2025-12-03T00:45:24.555Z

Configuration

/**
 * Sidecar Config for index.ts
 */
module.exports = {
  title: "index.ts",
  description: "Auto-generated draft",
  created: "2025-11-14T14:50:28.000Z",
  modified: "2025-12-03T00:45:24.555Z",
};

Route Flow Map

--- title: "Route Flow: ssddc /src/index.ts " --- flowchart TD subgraph USE ["USE"] hono_use__["USE *"] style hono_use__ fill:#5E377B,color:#fff,stroke:#B4976A end subgraph GET ["GET"] hono_get__hello["GET /hello"] style hono_get__hello fill:#5E377B,color:#fff,stroke:#B4976A hono_get__user____id__["GET `user-${_id}`"] style hono_get__user____id__ fill:#5E377B,color:#fff,stroke:#B4976A hono_get__prospect____id__["GET `prospect-${_id}`"] style hono_get__prospect____id__ fill:#5E377B,color:#fff,stroke:#B4976A hono_get_kvrec["GET kvrec"] style hono_get_kvrec fill:#5E377B,color:#fff,stroke:#B4976A end subgraph POST ["POST"] hono_post__v1_profile["POST /v1/profile"] style hono_post__v1_profile fill:#5E377B,color:#fff,stroke:#B4976A hono_post__ddc_v1_init["POST /ddc/v1/init"] style hono_post__ddc_v1_init fill:#5E377B,color:#fff,stroke:#B4976A hono_post__api_v1_kvreset__rectype__id["POST /api/v1/kvreset/:rectype/:id"] style hono_post__api_v1_kvreset__rectype__id fill:#5E377B,color:#fff,stroke:#B4976A end subgraph PUT ["PUT"] hono_put__prospect____id__["PUT `prospect-${_id}`"] style hono_put__prospect____id__ fill:#5E377B,color:#fff,stroke:#B4976A end subgraph ALL ["ALL"] hono_all__api_v1_kv__rectype__id___key_["ALL /api/v1/kv/:rectype/:id?/:key?"] style hono_all__api_v1_kv__rectype__id___key_ fill:#5E377B,color:#fff,stroke:#B4976A end DDC_ID{{"DDC_ID"}} style DDC_ID fill:#161b22,color:#fff,stroke:#c2a35d constructProspect{{"constructProspect"}} style constructProspect fill:#161b22,color:#fff,stroke:#c2a35d constructProspect --> DDC_ID linkStyle default stroke:#c2a35d,stroke-width:2px,color:#fff classDef default color:#fff

AST Code Structure

--- title: "AST Structure: ssddc /src/index.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: Hono"] n0 --> n3 n3 --> n2 style n3 stroke-dasharray:5,stroke:#B4976A n5["hono/cloudflare-workers"] style n5 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 n6["ID: serveStatic"] n0 --> n6 n6 --> n5 style n6 stroke-dasharray:5,stroke:#B4976A n8["hono/cors"] style n8 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 n9["ID: cors"] n0 --> n9 n9 --> n8 style n9 stroke-dasharray:5,stroke:#B4976A n11["./middleware/kvroutes"] style n11 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 style n11 cursor:pointer,stroke-width:2px,stroke:#B4976A n12["ID: kvHandler"] n0 --> n12 n12 --> n11 style n12 stroke-dasharray:5,stroke:#B4976A n13["ID: kvResetRoute"] n0 --> n13 n13 --> n11 style n13 stroke-dasharray:5,stroke:#B4976A n15["mustache"] style n15 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 n16["ID: Mustache"] n0 --> n16 n16 --> n15 style n16 stroke-dasharray:5,stroke:#B4976A n18["./kvcache.js"] style n18 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 style n18 cursor:pointer,stroke-width:2px,stroke:#B4976A n19["ID: createKVProxy"] n0 --> n19 n19 --> n18 style n19 stroke-dasharray:5,stroke:#B4976A n21["./config/userkeys.js"] style n21 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 style n21 cursor:pointer,stroke-width:2px,stroke:#B4976A n22["ID: userkeys"] n0 --> n22 n22 --> n21 style n22 stroke-dasharray:5,stroke:#B4976A n32["CE: app.use('*')"] n0 --> n32 n234["CE: app.get('/hello')"] n0 --> n234 n244["CE: c.text"] n234 --> n244 n249["CE: app.post('/v1/profile')"] n0 --> n249 subgraph sub261 ["Safe Boundary"] n284["CE: c.json(200)"] n249 --> n284 end n293["CE: app.post('/ddc/v1/init')"] n0 --> n293 subgraph sub305 ["Safe Boundary"] n365["CE: c.json(200)"] n293 --> n365 n496["CE: c.json(200)"] n293 --> n496 n557["CE: c.json(200)"] n293 --> n557 end n568["CE: app.post('/api/v1/kvreset/:rectype/:id')"] n0 --> n568 n574["CE: app.all('/api/v1/kv/:rectype/:id?/:key)"] n0 --> n574 n607["CE: c.json(statusCode)"] n574 --> n607 n636["CE: c.text"] n574 --> n636 n642["CE: c.json(success)"] n574 --> n642 style n0 fill:#5E377B,color:#fff,stroke:#B4976A linkStyle default stroke:#c2a35d,stroke-width:1px,opacity:0.6 click n11 "middleware/kvroutes.html" "View Documentation" click n18 "kvcache.html" "View Documentation" click n21 "config/userkeys.html" "View Documentation"
CE CallExpressionID ImportDeclarationSF SourceFileTS TryStatement