Skip to content

Commit

Permalink
Export the resources.getFiles() function
Browse files Browse the repository at this point in the history
  • Loading branch information
shalithasuranga committed Sep 10, 2024
1 parent 6c1fef9 commit fe2d580
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/api/resources.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { sendMessage } from '../ws/websocket';

export function getFiles(): Promise<void> {
return sendMessage('resources.getFiles');
};
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export * as events from './api/events';
export * as extensions from './api/extensions';
export * as updater from './api/updater';
export * as clipboard from './api/clipboard';
export * as resources from './api/resources';
export * as custom from './api/custom';

export { init } from './api/init';
Expand Down

0 comments on commit fe2d580

Please sign in to comment.