-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathraycast-env.d.ts
40 lines (33 loc) · 1.62 KB
/
raycast-env.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/// <reference types="@raycast/api">
/* 🚧 🚧 🚧
* This file is auto-generated from the extension's manifest.
* Do not modify manually. Instead, update the `package.json` file.
* 🚧 🚧 🚧 */
/* eslint-disable @typescript-eslint/ban-types */
type ExtensionPreferences = {
/** Client ID - Twitch Client ID - https://dev.twitch.tv/docs/api/get-started#register-an-application */
"clientId": string,
/** Authorization Token - Twitch Bearer token (must be matching with Client ID) - https://dev.twitch.tv/docs/api/get-started#get-an-oauth-token */
"authToken": string,
/** Hide Followed Offline Channels - Toggle the visibility of offline channels that you follow */
"areFollowedOfflineChannelsHidden": boolean,
/** Accent Color - A color to be used for icons and some other UI elements. */
"accentColor": "Blue" | "Brown" | "Green" | "Magenta" | "Orange" | "Purple" | "Red" | "Yellow"
}
/** Preferences accessible in all the extension's commands */
declare type Preferences = ExtensionPreferences
declare namespace Preferences {
/** Preferences accessible in the `followedChannels` command */
export type FollowedChannels = ExtensionPreferences & {
/** Hide Offline Channels - This option hides the list of offline channels */
"areFollowedOfflineChannelsHidden": boolean
}
/** Preferences accessible in the `searchChannels` command */
export type SearchChannels = ExtensionPreferences & {}
}
declare namespace Arguments {
/** Arguments passed to the `followedChannels` command */
export type FollowedChannels = {}
/** Arguments passed to the `searchChannels` command */
export type SearchChannels = {}
}