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

Property Type Description
filePath string Path of file to be uploaded.
length number Number of bytes to read from offset.
modificationTime number Last modification time in number of seconds since the UNIX epoch.
offset number Offset in bytes to start reading from.
type 'file' The upload data type discriminant.

Links to this page: