Sidecar Logo

middleware/platformextractors/dealerfire.ts

Configuration

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

Route Flow Map

--- title: "Route Flow: ssutil/src/middleware/platformextractors/dealerfire.ts" --- flowchart TD title["Route Flow: ssutil/src/middleware/platformextractors/dealerfire.ts"] style title fill:none,stroke:none,color:#B4976A,font-size:18px extractDealerFire{{"extractDealerFire"}} style extractDealerFire 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/dealerfire.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: DEALERFIRE_PATTERNS"] n8 --> n11 n20["FD: extractDealerFire"] n0 --> n20 n31["VS"] n20 --> n31 n33["VD: extracted"] n31 --> n33 n40["VS"] n20 --> n40 n42["VD: primaryDealerIdMatch"] n40 --> n42 n44["CE: html.match"] n42 --> n44 n51["IS"] n20 --> n51 n55["BE"] n51 --> n55 n63["VS"] n20 --> n63 n65["VD: dealerObjectMatch"] n63 --> n65 n67["CE: html.match"] n65 --> n67 n74["IS"] n20 --> n74 n77["TS"] n74 --> n77 n79["VS"] n77 --> n79 n81["VD: dealerData"] n79 --> n81 n83["CE: JSON.parse"] n81 --> n83 n84["IS"] n77 --> n84 n90["BE"] n84 --> n90 n95["CE: cleanDealerName"] n90 --> n95 n96["IS"] n77 --> n96 n102["BE"] n96 --> n102 n110["IS"] n77 --> n110 n111["BE"] n110 --> n111 n121["BE"] n110 --> n121 n130["CE: cleanAddressField"] n121 --> n130 n133["CE: cleanAddressField"] n121 --> n133 n136["CE: cleanAddressField"] n121 --> n136 n139["CE: cleanAddressField"] n121 --> n139 n142["CE: cleanAddressField"] n121 --> n142 n144["VD: e"] n77 --> n144 n147["RS"] n20 --> n147 style n0 fill:#5E377B,color:#fff,stroke:#B4976A linkStyle default stroke:#c2a35d,stroke-width:1px,opacity:0.6
BE BinaryExpressionCE CallExpressionFD FunctionDeclarationIS IfStatementID ImportDeclarationRS ReturnStatementSF SourceFileTS TryStatementVD VariableDeclarationVS VariableStatement