(path: string)
| 10 | import type { RouteInfo, SchemaModel, SchemaField, ExportItem } from "../types.js"; |
| 11 | |
| 12 | function extractPathParams(path: string): string[] { |
| 13 | const params: string[] = []; |
| 14 | const regex = /\{(\w+)\??}/g; |
| 15 | let m: RegExpExecArray | null; |
| 16 | while ((m = regex.exec(path)) !== null) params.push(m[1]); |
| 17 | return params; |
| 18 | } |
| 19 | |
| 20 | // ─── Laravel routes ──────────────────────────────────────────────────────── |
| 21 |
no outgoing calls
no test coverage detected