Sidecar Logo

utils/domain-to-id-handler.ts

Configuration

/**
 * Sidecar Config for utils/domain-to-id-handler.ts
 */
module.exports = {
  title: "domain-to-id-handler.ts",
  description: "Auto-generated draft",
};

Route Flow Map

--- title: "Route Flow: ssutil/src/utils/domain-to-id-handler.ts" --- flowchart TD title["Route Flow: ssutil/src/utils/domain-to-id-handler.ts"] style title fill:none,stroke:none,color:#B4976A,font-size:18px domainToIdHandler{{"domainToIdHandler"}} style domainToIdHandler fill:#161b22,color:#fff,stroke:#c2a35d linkStyle default stroke:#c2a35d,stroke-width:2px,color:#fff classDef default color:#fff

AST Code Structure

--- title: "AST Structure: ssutil/src/utils/domain-to-id-handler.ts" --- graph TD n0["SF"] n1["ID"] n0 --> n1 n3["Context"] n1 --> n3 n3 --> n2 style n3 stroke-dasharray:5,stroke:#B4976A n2["hono"] style n2 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 n4["ID"] n0 --> n4 n6["generateUniqueDomainId"] n4 --> n6 n6 --> n5 style n6 stroke-dasharray:5,stroke:#B4976A n5["../middleware/domain-to-id"] style n5 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 n7["FD: domainToIdHandler"] n0 --> n7 n16["VS"] n7 --> n16 n18["VD: domain"] n16 --> n18 n20["CE: c.req.query"] n18 --> n20 n27["IS"] n7 --> n27 n31["RS"] n27 --> n31 n32["CE: c.json"] n31 --> n32 n41["VS"] n7 --> n41 n43["VD: kvNamespace"] n41 --> n43 n56["VS"] n7 --> n56 n58["VD: result"] n56 --> n58 n61["CE: generateUniqueDomainId"] n58 --> n61 n65["IS"] n7 --> n65 n69["RS"] n65 --> n69 n70["CE: c.json"] n69 --> n70 n79["RS"] n7 --> n79 n80["CE: c.json"] n79 --> n80 style n0 fill:#5E377B,color:#fff,stroke:#B4976A linkStyle default stroke:#c2a35d,stroke-width:1px,opacity:0.6
CE CallExpressionFD FunctionDeclarationIS IfStatementID ImportDeclarationRS ReturnStatementSF SourceFileVD VariableDeclarationVS VariableStatement