Skip to content

Commit

Permalink
Merge pull request raycast#1 from raycast/main
Browse files Browse the repository at this point in the history
merge main
  • Loading branch information
xeric authored May 30, 2022
2 parents 26e02e1 + 671624a commit 088b450
Show file tree
Hide file tree
Showing 875 changed files with 98,402 additions and 11,822 deletions.
36 changes: 27 additions & 9 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
/extensions/airport @siddharthsharma94
/extensions/algolia @valentindotxyz
/extensions/aliyun-oss @yangxyo
/extensions/amazon-aws @victor-falcon @Hodglim @JonathanWbn @gebeto @momme-rtf
/extensions/amazon-aws @victor-falcon @Hodglim @JonathanWbn @gebeto @momme-rtf @duboiss
/extensions/android-adb-input @STAR-ZERO
/extensions/anybox @francisfeng
/extensions/api-icon-list @PitNikola
/extensions/apple-maps-search @djpowers @ratoru
/extensions/apple-notes @tumispro @ron-myers
/extensions/asyncapi @smoya
/extensions/atomic @joepio
Expand Down Expand Up @@ -48,6 +49,7 @@
/extensions/cheatsheets @Destiner
/extensions/choose-a-license @sandypockets @Aayush9029
/extensions/circle-ci @qeude @kudrykv
/extensions/citation-generator @AbhinavPalacharla
/extensions/clash @ciiiii
/extensions/cleanshotx @Aayush9029
/extensions/clear-clipboard @d3caf
Expand All @@ -70,6 +72,7 @@
/extensions/copy-gcp-icons @pomdtr
/extensions/copy-path @koinzhang
/extensions/cpf-cnpj-generator @gstvds
/extensions/craftdocs @kudrykv @kudrykv
/extensions/cratecast @gleich
/extensions/cricketcast @sampoder
/extensions/css-gg @astrit
Expand All @@ -94,6 +97,7 @@
/extensions/discordjs-documentation @mah51
/extensions/displayplacer @eluce2
/extensions/dock @pradeepb28
/extensions/dock-tinker @koinzhang
/extensions/docker @priithaamer
/extensions/dockerhub @k8scat
/extensions/domainr @Rawnly
Expand Down Expand Up @@ -132,12 +136,12 @@
/extensions/gitfox @L3K0V
/extensions/github-for-enterprise @Kinbaum @emanguy
/extensions/github-gist @koinzhang
/extensions/github-repository-search @thomaspaulmann
/extensions/github-repository-search @thomaspaulmann @immint023
/extensions/github-review-requests @resessh
/extensions/github-stars @mrmartineau
/extensions/github-status @FezVrasta
/extensions/gitignore @daniel-stoneuk
/extensions/gitlab @tonka3000 @Loskir @immint023
/extensions/gitlab @tonka3000 @Loskir @immint023 @duboiss
/extensions/gitmoji @ricoberger
/extensions/go-package-search @bstncartwright
/extensions/google-books @Ali-Parandeh
Expand All @@ -163,6 +167,7 @@
/extensions/heroku @Yukaii
/extensions/hexlify @gkpln3
/extensions/hidden-icons @koinzhang
/extensions/hide-files @koinzhang
/extensions/hide-mail @Flatroy
/extensions/holodex @uetchy
/extensions/homeassistant @tonka3000 @altrdev
Expand All @@ -176,7 +181,7 @@
/extensions/ip-geolocation @koinzhang
/extensions/iptv @Aayush9029
/extensions/itch-io @Aayush9029
/extensions/jetbrains @gdsmith @gdsmith
/extensions/jetbrains @gdsmith @gdsmith @gdsmith
/extensions/jira-search @svenwiegand
/extensions/jira-search-self-hosted @emanguy @svenwiegand
/extensions/jira-time-tracking @niallpaterson
Expand Down Expand Up @@ -212,7 +217,7 @@
/extensions/linux-command @jaywcjlove
/extensions/liveblocks @andreaselia
/extensions/lobsters @dev99problems
/extensions/logseq @futantan
/extensions/logseq @futantan @futantan
/extensions/lorem-ipsum @AntonNiklasson
/extensions/macupdater @karlsander
/extensions/markdown-reference @codedbyjordan
Expand All @@ -229,6 +234,7 @@
/extensions/must @eggsy
/extensions/myip @kkange
/extensions/nativebase-docs @ShubhamVerma1811
/extensions/nba-game-viewer @AbhinavPalacharla
/extensions/netease-music @chyroc
/extensions/netlify @Destiner
/extensions/nextcloud @uetchy
Expand All @@ -239,9 +245,11 @@
/extensions/notion @HenriChabrand @mathieudutour
/extensions/nsis-reference @idleberg
/extensions/obsidian @marcjulianschwarz
/extensions/obsidian-bookmarks @Dru89
/extensions/office-quotes @braydoncoyer @sandypockets
/extensions/ones @k8scat
/extensions/open-in-json-hero @ericallam
/extensions/open-path @koinzhang
/extensions/open-with-app @fturcheti
/extensions/openweathermap @tonka3000
/extensions/opsgenie @ricoberger
Expand Down Expand Up @@ -300,21 +308,23 @@
/extensions/ricescore @tonka3000
/extensions/roblox-games @TayIorRobinson
/extensions/rss-reader @fuksman
/extensions/rsync-commands @maxfahl
/extensions/sabnzbd @jesse-c
/extensions/safari @loris @thomaspaulmann
/extensions/script-commands @unnamedd
/extensions/script-kit @pomdtr
/extensions/search-composer-packagist @danyelkeddah
/extensions/search-mdn @krzysztofzuraw @OBQun
/extensions/search-notion @sadanand-singh
/extensions/search-npm @mrmartineau
/extensions/search-npm @mrmartineau @reloadedhead
/extensions/search-rubygems @aleks
/extensions/semantic-scholar @blainerothrock
/extensions/send-to-flomo @ahonn
/extensions/sentry @thomaspaulmann @mattisssa
/extensions/sf-symbols-search @peteschaffner
/extensions/shopify-developer-changelog @sandypockets
/extensions/signal @leeraymond78
/extensions/simple-youdao @xeric
/extensions/simpread @Kenshin
/extensions/single-disk-eject @johndturn
/extensions/sketch @aesign
Expand All @@ -326,24 +336,28 @@
/extensions/sourcegraph @bobheadxi
/extensions/spatie-documentation @danyelkeddah
/extensions/speedtest @tonka3000
/extensions/spotify-controls @thomaspaulmann @altrdev @ron-myers @sandypockets
/extensions/spotify-player @mattisssa @dillionverma
/extensions/spotify-controls @thomaspaulmann @altrdev @ron-myers @sandypockets @Kenan7
/extensions/spotify-player @mattisssa @dillionverma @andreaselia
/extensions/ssh-manager @scopsy
/extensions/stackoverflow @sadanand-singh
/extensions/stock-lookup @jones-sam
/extensions/stripe @pradeepb28
/extensions/supabase-docs @Isaiah-Hamilton
/extensions/surge @ysj151215
/extensions/svgr @rickMcGavin
/extensions/swift-evolution @BProg
/extensions/switchhosts @tiancheng92
/extensions/system-monitor @hossammourad
/extensions/tableplus @pernielsentikaer
/extensions/tailscale @samlinville
/extensions/tailwindcss @vimtor
/extensions/tapo-smart-devices @timrogers
/extensions/temporary-email @natterstefan
/extensions/terminalfinder @yedongze
/extensions/text-shortcuts @koinzhang
/extensions/things @loris
/extensions/ticktick @viduycheung
/extensions/timers @ThatNerdSquared
/extensions/timeular @kudrykv
/extensions/tldr @pomdtr
/extensions/todo-list @maggie-j-liu
Expand All @@ -354,6 +368,7 @@
/extensions/toothpick @briankosw
/extensions/tower @tdwesten
/extensions/transmission @FezVrasta
/extensions/transmit @kennonb
/extensions/trello @ChrisChinchilla
/extensions/tunnelblick @SamuelNitsche
/extensions/tuple @inxilpro
Expand All @@ -368,6 +383,7 @@
/extensions/ulysses @praveenjuge
/extensions/unicode-symbols @mmazzarolo @FezVrasta
/extensions/unix-timestamp @Destiner
/extensions/unogs @mohitkyadav
/extensions/unsplash @eggsy
/extensions/url-tools @joshauh46
/extensions/uuid-generator @jmaeso
Expand All @@ -376,7 +392,7 @@
/extensions/vercast @gleich
/extensions/vim-bro @ajaypremshankar
/extensions/visual-studio-code-project-manager @MarkusLanger
/extensions/visual-studio-code-recent-projects @thomaspaulmann @iainsimmons @macbookandrew @macbookandrew
/extensions/visual-studio-code-recent-projects @thomaspaulmann @iainsimmons @macbookandrew @macbookandrew @immint023 @pernielsentikaer
/extensions/vuejs-documentation @Dpblandin
/extensions/vueuse-functions @noopurphalak
/extensions/wakatime @iammola
Expand All @@ -386,9 +402,11 @@
/extensions/wistia @ddoria921
/extensions/wolfram-alpha @mathieudutour
/extensions/word-search @RishabSwift @thomaspaulmann
/extensions/world-clock @koinzhang
/extensions/wrike @suarez-agu
/extensions/xcode @SvenTiigi @qeude
/extensions/xkcd @maggie-j-liu
/extensions/yandex-music @AlexStrNik
/extensions/youdao-translate @tiancheng92
/extensions/youtube @tonka3000
/extensions/youtube-companion @sasivarnan
Expand Down
19 changes: 18 additions & 1 deletion .github/raycast2github.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,5 +283,22 @@
"adambutler": "adambutler",
"gumbleliks": "gumbleliks",
"cy-98": "macbookandrew",
"absir1949": "absir1949"
"absir1949": "absir1949",
"dima-m711": "gdsmith",
"mohitkyadav": "mohitkyadav",
"kennonb": "kennonb",
"AbhinavPalacharla": "AbhinavPalacharla",
"duboiss": "duboiss",
"jones-sam": "jones-sam",
"fahl": "maxfahl",
"ThatNerd": "ThatNerdSquared",
"rickMcGavin": "rickMcGavin",
"sawhney17": "futantan",
"kenan": "Kenan7",
"dru89": "Dru89",
"xeric": "xeric",
"alexstrnik": "AlexStrNik",
"djpowers": "djpowers",
"mafredri": "kudrykv",
"reloadedhead": "reloadedhead"
}
2 changes: 1 addition & 1 deletion docs/.config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.34.1"
"version": "1.35.2"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 8 additions & 18 deletions docs/api-reference/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,7 @@ console.log(`Theme: ${environment.theme}`);

#### Properties

| Name | Type | Description |
| :------------- | :------------------- | :-------------------------------------------------------------------------------------------------------------------------------- |
| assetsPath | <code>string</code> | The absolute path to the assets directory of the extension. |
| commandName | <code>string</code> | The name of the launched command, as specified in package.json |
| extensionName | <code>string</code> | The name of the extension, as specified in package.json |
| isDevelopment | <code>boolean</code> | Indicates whether the command is a development command (vs. an installed command from the Store). |
| raycastVersion | <code>string</code> | The version of the main Raycast app |
| supportPath | <code>string</code> | The absolute path for the support directory of an extension. Use it to read and write files related to your extension or command. |
| theme | <code>"light" \| "dark"</code> | The theme used by Raycast. |
<InterfaceTableFromJSDoc name="Environment" />

### getSelectedFinderItems

Expand All @@ -47,7 +39,7 @@ async function getSelectedFinderItems(): Promise<FileSystemItem[]>;
#### Example

```typescript
import { getSelectedFinderItems, Clipboard, Feedback } from "@raycast/api";
import { getSelectedFinderItems, Clipboard, showToast, Toast } from "@raycast/api";

export default async () => {
try {
Expand All @@ -56,8 +48,8 @@ export default async () => {
await Clipboard.paste(selectedItems[0].path);
}
} catch (error) {
await Feedback.toast({
style: Feedback.Toast.Style.Failure,
await showToast({
style: Toast.Style.Failure,
title: "Cannot copy file path",
message: String(error),
});
Expand All @@ -82,16 +74,16 @@ async function getSelectedText(): Promise<string>;
#### Example

```typescript
import { getSelectedText, Clipboard, Feedback } from "@raycast/api";
import { getSelectedText, Clipboard, showToast, Toast } from "@raycast/api";

export default async () => {
try {
const selectedText = await getSelectedText();
const transformedText = selectedText.toUpperCase();
await Clipboard.paste(transformedText);
} catch (error) {
await Feedback.toast({
style: Feedback.Toast.Style.Failure,
await showToast({
style: Toast.Style.Failure,
title: "Cannot transform text",
message: String(error),
});
Expand All @@ -111,6 +103,4 @@ Holds data about a File System item. Use the [getSelectedFinderItems](#getselect

#### Properties

| Name | Type | Description |
| :--- | :------------------ | :------------------- |
| path | <code>string</code> | The path to the item |
<InterfaceTableFromJSDoc name="FileSystemItem" />
14 changes: 2 additions & 12 deletions docs/api-reference/feedback/alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,25 +69,15 @@ export default async () => {

#### Properties

| Name | Type | Required | Description |
| :------------ | :------------------------------------------------------------------------ | :------- | :------------------------------------------------------------------------------------------------------------------------- |
| title | <code>string</code> | Yes | The title of an alert. Displayed below the icon. |
| icon | <code>[ImageLike](../user-interface/icons-and-images.md#imagelike)</code> | No | The icon of an alert to illustrate the action. Displayed on the top. |
| message | <code>string</code> | No | An additional message for an Alert. Useful to show more information, e.g. a confirmation message for a destructive action. |
| primaryAction | <code>[Alert.ActionOptions](#alert.actionoptions)</code> | No | The primary Action the user can take. |
| dismissAction | <code>[Alert.ActionOptions](#alert.actionoptions)</code> | No | The Action to dismiss the alert. There usually shouldn't be any side effects when the user takes this action. |
<InterfaceTableFromJSDoc name="Alert.Options" />

### Alert.ActionOptions

The options to create an Alert Action.

#### Properties

| Name | Type | Required | Description |
| :------- | :--------------------------------------------------- | :------- | :---------------------------------------------- |
| title | <code>string</code> | Yes | The title of the action. |
| style | <code>[Alert.ActionStyle](#alert.actionstyle)</code> | No | The style of the action. |
| onAction | <code>() => void</code> | No | A callback called when the action is triggered. |
<InterfaceTableFromJSDoc name="Alert.ActionOptions" />

### Alert.ActionStyle

Expand Down
Loading

0 comments on commit 088b450

Please sign in to comment.