-
Notifications
You must be signed in to change notification settings - Fork 0
/
raycast-env.d.ts
34 lines (28 loc) · 1.17 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
/// <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 = {
/** Personal Access Token - Get your token at https://id.getharvest.com/developers */
"token": string,
/** Harvest Account Id - You'll find this when you create a new Personal Access Token */
"accountId": string,
/** User-agent - Harvest API wants this, so yes, give em a custom User-Agent */
"UA"?: string
}
/** Preferences accessible in all the extension's commands */
declare type Preferences = ExtensionPreferences
declare namespace Preferences {
/** Preferences accessible in the `harvest-hours` command */
export type HarvestHours = ExtensionPreferences & {}
/** Preferences accessible in the `harvest-week` command */
export type HarvestWeek = ExtensionPreferences & {}
}
declare namespace Arguments {
/** Arguments passed to the `harvest-hours` command */
export type HarvestHours = {}
/** Arguments passed to the `harvest-week` command */
export type HarvestWeek = {}
}