Skip to content

ElectronUploadFile

Unofficial

A file to be uploaded as part of a request body.

Import:

import type { ElectronUploadFile } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronUploadFile

Properties

PropertyTypeDescription
filePathstringPath of file to be uploaded.
lengthnumberNumber of bytes to read from offset.
modificationTimenumberLast modification time in number of seconds since the UNIX epoch.
offsetnumberOffset in bytes to start reading from.
type'file'The upload data type discriminant.

Links to this page: