mirror of
https://github.com/ByteAtATime/raycast-linux.git
synced 2025-08-31 19:27:24 +00:00
fix(environment): update request identifiers for selected finder items and text
This commit is contained in:
parent
5c66ba34f1
commit
5f44461a45
1 changed files with 2 additions and 2 deletions
|
@ -46,11 +46,11 @@ export const environment = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export async function getSelectedFinderItems(): Promise<FileSystemItem[]> {
|
export async function getSelectedFinderItems(): Promise<FileSystemItem[]> {
|
||||||
return sendRequest<FileSystemItem[]>('system-get-selected-finder-items');
|
return sendRequest<FileSystemItem[]>('get-selected-finder-items');
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getSelectedText(): Promise<string> {
|
export async function getSelectedText(): Promise<string> {
|
||||||
return sendRequest<string>('system-get-selected-text');
|
return sendRequest<string>('get-selected-text');
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function open(target: string, application?: Application | string): Promise<void> {
|
export async function open(target: string, application?: Application | string): Promise<void> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue