-
Notifications
You must be signed in to change notification settings - Fork 0
/
raycast-env.d.ts
39 lines (32 loc) · 1.26 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
/// <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 = {
/** API Key - Generate an API Key in Omnivore to allow access from Raycast */
"apiKey": string
}
/** Preferences accessible in all the extension's commands */
declare type Preferences = ExtensionPreferences
declare namespace Preferences {
/** Preferences accessible in the `search-articles` command */
export type SearchArticles = ExtensionPreferences & {
/** Colored Tags - Use the color of the tags defined in Omnivore in Raycast */
"coloredTags": boolean,
/** Max articles - Max articles shown in the list. The more, the slower. */
"maxItems": "25" | "50" | "100" | "250" | "500"
}
/** Preferences accessible in the `save-article` command */
export type SaveArticle = ExtensionPreferences & {}
}
declare namespace Arguments {
/** Arguments passed to the `search-articles` command */
export type SearchArticles = {}
/** Arguments passed to the `save-article` command */
export type SaveArticle = {
/** https://www.raycast.com/blog/hello-world */
"url": string
}
}