Skip to main content

backend

Interfaces

Settings

Defined in: types/backend.ts:21

Properties

PropertyTypeDefined in
appearanceAppearancetypes/backend.ts:22
toggleShortcut?stringtypes/backend.ts:23
widgetSettingsMapRecord<string, WidgetSettings>types/backend.ts:24

WidgetConfig

Defined in: types/backend.ts:11

Properties

PropertyTypeDefined in
dependenciesRecord<string, string>types/backend.ts:15
directorystringtypes/backend.ts:16
entrystringtypes/backend.ts:13
ignorebooleantypes/backend.ts:14
namestringtypes/backend.ts:12

WidgetSettings

Defined in: types/backend.ts:27

Properties

PropertyTypeDefined in
opacitynumbertypes/backend.ts:30
xnumbertypes/backend.ts:28
ynumbertypes/backend.ts:29

Type Aliases

Appearance

Appearance: "light" | "dark"

Defined in: types/backend.ts:19


Result<T, E>

Result<T, E>: { Ok: T; } | { Err: E; }

Defined in: types/backend.ts:5

This file contains the types and interfaces that have backend counterparts.

Type Parameters

Type Parameter
T
E

ShowToastPayload

ShowToastPayload: { success: string; } | { error: string; }

Defined in: types/backend.ts:7


WidgetCollection

WidgetCollection: Record<string, Result<WidgetConfig, string>>

Defined in: types/backend.ts:9