Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.349.1/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; storage?: string; }

Returns

WindmillFilePreview FilePreview