-
Notifications
You must be signed in to change notification settings - Fork 3
/
raycast-env.d.ts
38 lines (30 loc) · 1.13 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 = {
/** - Enable this checkbox to locally store Phind search history. */
"rememberSearchHistory": boolean,
/** - Enable this checkbox to show auto suggestions when typing. (The Phind team has currently disabled the API, use the Bing's auto-suggestions now.) */
"autoSuggestions": boolean
}
/** Preferences accessible in all the extension's commands */
declare type Preferences = ExtensionPreferences
declare namespace Preferences {
/** Preferences accessible in the `index` command */
export type Index = ExtensionPreferences & {}
}
declare namespace Arguments {
/** Arguments passed to the `index` command */
export type Index = {}
}
declare module "swift:*" {
function run<T = unknown, U = any>(command: string, input?: U): Promise<T>;
export default run;
export class SwiftError extends Error {
stderr: string;
stdout: string;
}
}