Files
2026-07-13 12:33:44 +08:00

1.3 KiB

@redeye/parser-core / FileUpload

Interface: FileUpload

Table of contents

Properties

Properties

description

description: string

Describes what should be uploaded for the selected parser

Example

description =
	'Upload a directory of files that are organized by server name and date in the format: <FOLDER_TO_UPLOAD>/<SERVER_NAME>/<YYYYMMDD>/';

Defined in

file-upload.ts:9


example

Optional example: string

A string that will be displayed in the upload form as an example of the type of file or shape of directory to upload

Default

undefined;

Example

`Campaign_Folder
- Server_Folder_1
  - 200101
  - 200102
  - 200103`;

Defined in

file-upload.ts:20


type

type: "File" | "Directory"

The type of upload, a selection of files or a directory

Defined in

file-upload.ts:3