Sidecar Logo

templates/reply.ts

Configuration

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

Route Flow Map

--- title: "Route Flow: ssutil/src/templates/reply.ts" --- flowchart TD title["Route Flow: ssutil/src/templates/reply.ts"] style title fill:none,stroke:none,color:#B4976A,font-size:18px postMessage{{"postMessage"}} style postMessage 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/templates/reply.ts" --- graph TD n0["SF"] n1["ID"] n0 --> n1 n3["Bindings"] n1 --> n3 n3 --> n2 style n3 stroke-dasharray:5,stroke:#B4976A n2["./bindings"] style n2 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 n4["VS"] n0 --> n4 n6["VD: postMessage"] n4 --> n6 n8["AF"] n6 --> n8 n23["VS"] n8 --> n23 n25["VD: channel"] n23 --> n25 n34["CE: fetch('https://slack.com/api/chat.postMessage', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${env.SLACK_BOT_TOKEN}` }, body: JSON.stringify({ channel, // Channel ID text: 'Hello from your Slack app!' }) }) .then(response => response.json()) .then"] n8 --> n34 n36["CE: fetch('https://slack.com/api/chat.postMessage', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${env.SLACK_BOT_TOKEN}` }, body: JSON.stringify({ channel, // Channel ID text: 'Hello from your Slack app!' }) }) .then"] n34 --> n36 n38["CE: fetch"] n36 --> n38 n40["AF"] n36 --> n40 n42["AF"] n34 --> n42 n46["CE: console.log"] n42 --> n46 n47["ED"] n0 --> n47 style n0 fill:#5E377B,color:#fff,stroke:#B4976A linkStyle default stroke:#c2a35d,stroke-width:1px,opacity:0.6
AF ArrowFunctionCE CallExpressionED ExportDeclarationID ImportDeclarationSF SourceFileVD VariableDeclarationVS VariableStatement