Type alias JSONOutputOptions
JSONOutputOptions: {
output?: "singleFile";
filename?: string;
} | {
output: "segmented";
filenamePrefix?: string;
segmentCallback?: ((url) => void);
}
Type declaration
Optional output?: "singleFile"
Optional filename?: string
Type declaration
output: "segmented"
Optional filenamePrefix?: string
Optional segmentCallback?: ((url) => void)
Output configuration for JSON sidecar files such as the mouse/keyboard input-event log.
singleFile: Write all events to a single JSON file (optionally named viafilename).segmented: Write events to multiple segmented JSON files;segmentCallbackis invoked with the path of each segment as it is written to disk.