@raycast/api 1.30.3 → 1.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/README.md +2 -2
  2. package/bin/arm64/ray +0 -0
  3. package/bin/ray +10 -4
  4. package/bin/x86/ray +0 -0
  5. package/package.json +2 -2
  6. package/types/index.d.ts +5192 -4098
  7. package/types/api/app/app.d.ts +0 -171
  8. package/types/api/app/clipboard.d.ts +0 -63
  9. package/types/api/app/index.d.ts +0 -4
  10. package/types/api/app/keyboard.d.ts +0 -56
  11. package/types/api/app/localStorage.d.ts +0 -117
  12. package/types/api/components/ActionPanel.d.ts +0 -261
  13. package/types/api/components/Detail.d.ts +0 -38
  14. package/types/api/components/Form.d.ts +0 -1016
  15. package/types/api/components/List.d.ts +0 -579
  16. package/types/api/components/actions/Action.d.ts +0 -458
  17. package/types/api/components/actions/CopyToClipboardAction.d.ts +0 -40
  18. package/types/api/components/actions/CreateQuicklinkAction.d.ts +0 -42
  19. package/types/api/components/actions/CreateSnippetAction.d.ts +0 -40
  20. package/types/api/components/actions/OpenAction.d.ts +0 -47
  21. package/types/api/components/actions/OpenInBrowserAction.d.ts +0 -43
  22. package/types/api/components/actions/OpenWithAction.d.ts +0 -40
  23. package/types/api/components/actions/PasteAction.d.ts +0 -40
  24. package/types/api/components/actions/PushAction.d.ts +0 -38
  25. package/types/api/components/actions/ShowInFinderAction.d.ts +0 -42
  26. package/types/api/components/actions/SubmitFormAction.d.ts +0 -35
  27. package/types/api/components/actions/TrashAction.d.ts +0 -43
  28. package/types/api/components/actions/index.d.ts +0 -1
  29. package/types/api/components/index.d.ts +0 -5
  30. package/types/api/components/propTypes.d.ts +0 -1
  31. package/types/api/components/types.d.ts +0 -30
  32. package/types/api/deprecated.d.ts +0 -415
  33. package/types/api/environment/environment.d.ts +0 -48
  34. package/types/api/environment/index.d.ts +0 -3
  35. package/types/api/environment/preferences.d.ts +0 -31
  36. package/types/api/environment/workspace.d.ts +0 -62
  37. package/types/api/hooks/index.d.ts +0 -1
  38. package/types/api/hooks/useNavigation.d.ts +0 -66
  39. package/types/api/index.d.ts +0 -6
  40. package/types/api/internal/comm/index.d.ts +0 -1
  41. package/types/api/internal/components/ErrorBoundary.d.ts +0 -1
  42. package/types/api/internal/components/Navigation.d.ts +0 -1
  43. package/types/api/internal/components/Root.d.ts +0 -1
  44. package/types/api/internal/components/index.d.ts +0 -3
  45. package/types/api/internal/devtools/actionPanel.d.ts +0 -1
  46. package/types/api/internal/devtools/index.d.ts +0 -2
  47. package/types/api/internal/devtools/react.d.ts +0 -1
  48. package/types/api/internal/hooks/index.d.ts +0 -1
  49. package/types/api/internal/hooks/useId.d.ts +0 -1
  50. package/types/api/internal/index.d.ts +0 -6
  51. package/types/api/internal/rendering/callbacks.d.ts +0 -1
  52. package/types/api/internal/rendering/index.d.ts +0 -6
  53. package/types/api/internal/rendering/logger.d.ts +0 -4
  54. package/types/api/internal/rendering/node-builders/actions.d.ts +0 -3
  55. package/types/api/internal/rendering/node-builders/detail.d.ts +0 -2
  56. package/types/api/internal/rendering/node-builders/forms.d.ts +0 -2
  57. package/types/api/internal/rendering/node-builders/keyboard.d.ts +0 -1
  58. package/types/api/internal/rendering/node-builders/list.d.ts +0 -4
  59. package/types/api/internal/rendering/node-builders/navigationStack.d.ts +0 -1
  60. package/types/api/internal/rendering/node-builders/root.d.ts +0 -1
  61. package/types/api/internal/rendering/node-builders/types.d.ts +0 -1
  62. package/types/api/internal/rendering/node-builders/utils.d.ts +0 -1
  63. package/types/api/internal/rendering/reconciler/index.d.ts +0 -1
  64. package/types/api/internal/rendering/reconciler/noHydratation.d.ts +0 -37
  65. package/types/api/internal/rendering/reconciler/noMutation.d.ts +0 -18
  66. package/types/api/internal/rendering/renderer.d.ts +0 -1
  67. package/types/api/internal/utils/ids.d.ts +0 -1
  68. package/types/api/internal/utils/index.d.ts +0 -3
  69. package/types/api/internal/utils/internal-children.d.ts +0 -26
  70. package/types/api/internal/utils/propTypes.d.ts +0 -3
  71. package/types/api/ui/color.d.ts +0 -115
  72. package/types/api/ui/errors.d.ts +0 -1
  73. package/types/api/ui/feedback/alert.d.ts +0 -97
  74. package/types/api/ui/feedback/hud.d.ts +0 -16
  75. package/types/api/ui/feedback/index.d.ts +0 -3
  76. package/types/api/ui/feedback/toast.d.ts +0 -174
  77. package/types/api/ui/icon.d.ts +0 -88
  78. package/types/api/ui/image.d.ts +0 -162
  79. package/types/api/ui/index.d.ts +0 -5
  80. package/types/core/message-types.d.ts +0 -17
  81. package/types/core/preferences.d.ts +0 -69
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  </a>
13
13
  </p>
14
14
 
15
- Raycast lets you control your tools with a few keystrokes. The Extensions API allows to tailor Raycast to your needs. List your open pull requests, control your light bulbs at home or speed up any other everyday task.
15
+ Raycast lets you control your tools with a few keystrokes. The Extensions API allows tailoring Raycast to your needs. List your open pull requests, control your light bulbs at home, or speed up any other everyday task.
16
16
 
17
17
  ![Header](https://raw.githubusercontent.com/raycast/extensions/main/images/header.png)
18
18
 
@@ -22,4 +22,4 @@ Visit [https://developers.raycast.com](https://developers.raycast.com) to get st
22
22
 
23
23
  ## Community
24
24
 
25
- Join our [Slack community](https://raycast.com/community) to share your extension, debug nasty bugs or simply get to know like-minded folks.
25
+ Join our [Slack community](https://raycast.com/community) to share your extension, debug nasty bugs or simply get to know like-minded folks.
package/bin/arm64/ray CHANGED
Binary file
package/bin/ray CHANGED
@@ -1,12 +1,18 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- DIR=${INIT_CWD:-"."}
4
- BIN_DIR="${DIR}/node_modules/@raycast/api/bin"
3
+ DIR=$(dirname "${BASH_SOURCE[0]}")
4
+ SYMLINK=$(readlink "${BASH_SOURCE[0]}")
5
+ RESOLVED_DIR="$( cd -P "$( dirname "$DIR/$SYMLINK" )" >/dev/null 2>&1 && pwd )"
6
+
7
+ if [ -z "$RESOLVED_DIR" ]; then
8
+ echo "Unable to determine CLI path from symlink: ${BASH_SOURCE[0]}"
9
+ exit 1
10
+ fi
11
+
5
12
  ARCH_NAME="$(uname -m)"
6
13
  ARCH_DIR="x86"
7
-
8
14
  if [ "${ARCH_NAME}" = "arm64" ]; then
9
15
  ARCH_DIR="arm64"
10
16
  fi
11
17
 
12
- "${BIN_DIR}/${ARCH_DIR}/ray" "$@"
18
+ "${RESOLVED_DIR}/${ARCH_DIR}/ray" "$@"
package/bin/x86/ray CHANGED
Binary file
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@raycast/api",
3
- "version": "1.30.3",
3
+ "version": "1.32.1",
4
4
  "description": "Build extensions for Raycast with React and Node.js.",
5
5
  "author": "Raycast Technologies Ltd.",
6
6
  "homepage": "https://developers.raycast.com",
7
7
  "license": "MIT",
8
- "types": "types/api/index.d.ts",
8
+ "types": "types/index.d.ts",
9
9
  "peerDependencies": {
10
10
  "react": "17.0.2",
11
11
  "react-reconciler": "0.26.2"