UNPKG

cptm-sp-status

Version:

A real-time API for CPTM status

20 lines (19 loc) 461 B
export declare type Line = { DataGeracao: string; Descricao: string; LinhaId: string; Nome: string; Tipo: string; Status: string; }; export declare type Lines = Line[]; export declare type ParsedLines = { updatedAt: string; description: string; id: string; status: string; type: string; name: string; }[]; export declare const allowedLines: string[]; export declare const parser: (payload: Lines) => ParsedLines;