backend
Interfaces
Settings
Defined in: types/backend.ts:21
Properties
Property | Type | Defined in |
---|---|---|
appearance | Appearance | types/backend.ts:22 |
toggleShortcut? | string | types/backend.ts:23 |
widgetSettingsMap | Record <string , WidgetSettings > | types/backend.ts:24 |
WidgetConfig
Defined in: types/backend.ts:11
Properties
Property | Type | Defined in |
---|---|---|
dependencies | Record <string , string > | types/backend.ts:15 |
directory | string | types/backend.ts:16 |
entry | string | types/backend.ts:13 |
ignore | boolean | types/backend.ts:14 |
name | string | types/backend.ts:12 |
WidgetSettings
Defined in: types/backend.ts:27
Properties
Property | Type | Defined in |
---|---|---|
opacity | number | types/backend.ts:30 |
x | number | types/backend.ts:28 |
y | number | types/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