@salesforce/apex-node
Version:
Salesforce JS library for Apex
16 lines (15 loc) • 399 B
TypeScript
import { Readable } from 'node:stream';
export interface Row {
[column: string]: string;
}
export interface Column {
key: string;
label: string;
}
export declare class TableWriteableStream {
private readonly stream;
constructor(stream: Readable);
createTable(rows: Row[], cols: Column[], title?: string): void;
private calculateMaxColumnWidths;
private fillColumn;
}