Captain is currently in ALPHA. We are happy to get your feedback
Core API
Enums
Enums.id

Enumeration: ID

enums.ID

Enum ID serves as a centralized registry for key identifiers used throughout various Electron handlers and listeners. This approach promotes consistency in naming conventions and eases the management of diverse data segments within the application. Each enum member represents a specific data domain or functionality, supporting a modular and well-organized approach to data handling.

Utilizing this enum simplifies referencing these identifiers in the code, reduces the likelihood of errors due to typos, and makes updates more manageable. Additionally, it facilitates the potential transition to using UUIDs for enhanced security in internal (non-exposed) IPC communications, thereby increasing the robustness of message handling.

Table of contents

Enumeration Members

Enumeration Members

APP

APP = "APP"

Defined in

src/shared/enums.ts:29 (opens in a new tab)


CAPTAIN

CAPTAIN = "CAPTAIN"

Defined in

src/shared/enums.ts:30 (opens in a new tab)


CAPTAIN_ACTION

CAPTAIN_ACTION = "CAPTAIN_ACTION"

Defined in

src/shared/enums.ts:31 (opens in a new tab)


COMFYUI

COMFYUI = "COMFYUI"

Defined in

src/shared/enums.ts:32 (opens in a new tab)


COMFYUI_PORT

COMFYUI_PORT = "COMFYUI_PORT"

Defined in

src/shared/enums.ts:33 (opens in a new tab)


DIRECTORY

DIRECTORY = "DIRECTORY"

Defined in

src/shared/enums.ts:34 (opens in a new tab)


DOWNLOADS

DOWNLOADS = "DOWNLOADS"

Defined in

src/shared/enums.ts:35 (opens in a new tab)


FILE

FILE = "FILE"

Defined in

src/shared/enums.ts:36 (opens in a new tab)


IMAGE

IMAGE = "IMAGE"

Defined in

src/shared/enums.ts:37 (opens in a new tab)


INSTALL

INSTALL = "INSTALL"

Defined in

src/shared/enums.ts:38 (opens in a new tab)


INVENTORY

INVENTORY = "INVENTORY"

Defined in

src/shared/enums.ts:39 (opens in a new tab)


KEYS

KEYS = "KEYS"

Defined in

src/shared/enums.ts:40 (opens in a new tab)


MARKETPLACE

MARKETPLACE = "MARKETPLACE"

Defined in

src/shared/enums.ts:41 (opens in a new tab)


PROMPT

PROMPT = "PROMPT"

Defined in

src/shared/enums.ts:42 (opens in a new tab)


STORE

STORE = "STORE"

Defined in

src/shared/enums.ts:43 (opens in a new tab)


STORY

STORY = "STORY"

Defined in

src/shared/enums.ts:49 (opens in a new tab)


THIRD_PARTY_APPS

THIRD_PARTY_APPS = "THIRD_PARTY_APPS"

Defined in

src/shared/enums.ts:44 (opens in a new tab)


UPDATE

UPDATE = "UPDATE"

Defined in

src/shared/enums.ts:45 (opens in a new tab)


USER

USER = "USER"

Defined in

src/shared/enums.ts:46 (opens in a new tab)


VECTOR_STORE

VECTOR_STORE = "VECTOR_STORE"

Defined in

src/shared/enums.ts:47 (opens in a new tab)


WINDOW

WINDOW = "WINDOW"

Defined in

src/shared/enums.ts:48 (opens in a new tab)