Module: helpers/utils/core
Table of contents
Type Aliases
Variables
Functions
Type Aliases
AppId
Ƭ AppId: typeof coreApps
[number
]
Defined in
src/electron/helpers/utils/core.ts:10 (opens in a new tab)
CoreView
Ƭ CoreView: typeof coreViews
[number
]
Defined in
src/electron/helpers/utils/core.ts:18 (opens in a new tab)
Variables
coreApps
• Const
coreApps: readonly ["live-painting"
, "story"
, "explorer"
, "text-to-image"
, "preview"
, "assistant"
]
Defined in
src/electron/helpers/utils/core.ts:1 (opens in a new tab)
coreViews
• Const
coreViews: readonly ["dashboard"
, "settings"
, "downloads"
, "marketplace"
]
Defined in
src/electron/helpers/utils/core.ts:16 (opens in a new tab)
Functions
isCoreApp
▸ isCoreApp(id
): id is "live-painting" | "assistant" | "story" | "text-to-image" | "preview" | "explorer"
Parameters
Name | Type |
---|---|
id | string |
Returns
id is "live-painting" | "assistant" | "story" | "text-to-image" | "preview" | "explorer"
Defined in
src/electron/helpers/utils/core.ts:12 (opens in a new tab)
isCoreView
▸ isCoreView(id
): id is "downloads" | "dashboard" | "settings" | "marketplace"
Parameters
Name | Type |
---|---|
id | string |
Returns
id is "downloads" | "dashboard" | "settings" | "marketplace"