Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/services/HelpersService.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.421.2/windmill-api/services/HelpersService.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; storage?: string; }

Returns

WindmillFilePreview FilePreview