Captain is currently in ALPHA. We are happy to get your feedback
Core API
Interfaces
Helpers Types.inventorysettings

Interface: InventorySettings

helpers/types.InventorySettings

Defines the structure for inventory settings, specifically categorizing files by type.

This interface is used to manage and access files that the application interacts with, organizing them into distinct categories based on their type. Each category consists of an array of objects, where each object represents a file in that category and contains information about the file's path and a URL for accessing it.

Table of contents

Properties

Properties

files

files: Object

An object containing arrays of file information, categorized by file type.

Type declaration

NameType
audio{ filePath: string ; id: string }[]
image{ filePath: string ; id: string }[]
markdown{ filePath: string ; id: string }[]
other{ filePath: string ; id: string }[]

Defined in

src/electron/helpers/types.ts:308 (opens in a new tab)