Sidecar Logo

middleware/platformextractors/dealerinspire.ts

Configuration

/**
 * Sidecar Config for middleware/platformextractors/dealerinspire.ts
 */
module.exports = {
  title: "dealerinspire.ts",
  description: "Auto-generated draft",
};

Route Flow Map

--- title: "Route Flow: ssutil/src/middleware/platformextractors/dealerinspire.ts" --- flowchart TD title["Route Flow: ssutil/src/middleware/platformextractors/dealerinspire.ts"] style title fill:none,stroke:none,color:#B4976A,font-size:18px extractDealerInspire{{"extractDealerInspire"}} style extractDealerInspire 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/middleware/platformextractors/dealerinspire.ts" --- graph TD n0["SF"] n1["ID"] n0 --> n1 n3["ScrapeResult"] n1 --> n3 n3 --> n2 style n3 stroke-dasharray:5,stroke:#B4976A n2["../platformscrape"] style n2 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 n4["ID"] n0 --> n4 n6["cleanDealerName"] n4 --> n6 n6 --> n5 style n6 stroke-dasharray:5,stroke:#B4976A n7["cleanAddressField"] n4 --> n7 n7 --> n5 style n7 stroke-dasharray:5,stroke:#B4976A n5["./utils"] style n5 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 n8["VS"] n0 --> n8 n11["VD: DEALERINSPIRE_PATTERNS"] n8 --> n11 n17["FD: extractDealerInspire"] n0 --> n17 n28["VS"] n17 --> n28 n30["VD: extracted"] n28 --> n30 n37["VS"] n17 --> n37 n39["VD: jsonLdPattern"] n37 --> n39 n41["NE"] n39 --> n41 n48["BE"] n41 --> n48 n56["VS"] n17 --> n56 n58["VD: jsonLdMatch"] n56 --> n58 n61["BE"] n17 --> n61 n63["BE"] n61 --> n63 n66["CE: jsonLdPattern.exec"] n63 --> n66 n74["TS"] n17 --> n74 n76["VS"] n74 --> n76 n78["VD: jsonData"] n76 --> n78 n80["CE: JSON.parse"] n78 --> n80 n87["IS"] n74 --> n87 n88["BE"] n87 --> n88 n95["IS"] n87 --> n95 n96["BE"] n95 --> n96 n107["BE"] n95 --> n107 n112["CE: cleanDealerName"] n107 --> n112 n113["IS"] n87 --> n113 n114["BE"] n113 --> n114 n125["BE"] n113 --> n125 n133["IS"] n113 --> n133 n134["BE"] n133 --> n134 n137["BE"] n133 --> n137 n138["IS"] n87 --> n138 n139["BE"] n138 --> n139 n150["BE"] n138 --> n150 n158["IS"] n87 --> n158 n159["BE"] n158 --> n159 n170["BE"] n158 --> n170 n178["IS"] n158 --> n178 n179["BE"] n178 --> n179 n182["BE"] n178 --> n182 n183["IS"] n87 --> n183 n184["BE"] n183 --> n184 n194["VS"] n183 --> n194 n196["VD: addr"] n194 --> n196 n198["BE"] n183 --> n198 n207["CE: cleanAddressField"] n198 --> n207 n210["CE: cleanAddressField"] n198 --> n210 n213["CE: cleanAddressField"] n198 --> n213 n216["CE: cleanAddressField"] n198 --> n216 n219["CE: cleanAddressField"] n198 --> n219 n221["VD: e"] n74 --> n221 n225["RS"] n17 --> n225 style n0 fill:#5E377B,color:#fff,stroke:#B4976A linkStyle default stroke:#c2a35d,stroke-width:1px,opacity:0.6
BE BinaryExpressionCE CallExpressionFD FunctionDeclarationIS IfStatementID ImportDeclarationNE NewExpressionRS ReturnStatementSF SourceFileTS TryStatementVD VariableDeclarationVS VariableStatement