Skip to main content
Module

x/windmill/windmill-api/index.ts>HelpersService.loadFilePreview

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
method HelpersService.loadFilePreview
import { HelpersService } from "https://deno.land/x/windmill@v1.298.0/windmill-api/index.ts";

Load a preview of the file

Parameters

unnamed 0: { workspace: string; fileKey: string; fileSizeInBytes?: number; fileMimeType?: string; csvSeparator?: string; csvHasHeader?: boolean; readBytesFrom?: number; readBytesLength?: number; }

Returns

WindmillFilePreview FilePreview