Sidecar Logo

middleware/guard.ts

Created: 2025-12-18T16:25:05.781Z Modified: 2025-12-19T18:25:16.528Z

Configuration

/**
 * Sidecar Config for middleware/guard.ts
 */
module.exports = {
  title: "guard.ts",
  description: "Auto-generated draft",
  created: "2025-12-18T16:25:05.781Z",
  modified: "2025-12-19T18:25:16.528Z",
};

Route Flow Map

--- title: "Route Flow: ssutil /src/middleware/guard.ts " --- flowchart TD protectAdminRoutes{{"protectAdminRoutes"}} style protectAdminRoutes 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/guard.ts " --- %%{init: { 'flowchart': { 'nodeSpacing': 20, 'rankSpacing': 30 }, 'themeVariables': { 'fontSize': '11px' } } }%% graph LR n0["SF"] n2["hono/factory"] style n2 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1 n3["ID: createMiddleware"] n0 --> n3 n3 --> n2 style n3 stroke-dasharray:5,stroke:#B4976A n89["CE: c.notFound"] n0 --> n89 n94["CE: next"] n0 --> n94 style n0 fill:#5E377B,color:#fff,stroke:#B4976A linkStyle default stroke:#c2a35d,stroke-width:1px,opacity:0.6
CE CallExpressionID ImportDeclarationSF SourceFile