Skip to content

Commit

Permalink
Merge branch 'ui-component/file-browser' of github.com:winglang/wing …
Browse files Browse the repository at this point in the history
…into ui-component/file-browser
  • Loading branch information
polamoros committed Apr 16, 2024
2 parents 7061bcd + 4667794 commit 0a0ed65
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions libs/wingsdk/src/ui/file-browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,25 @@ import { IInflight } from "../std";
*/
export const FILE_BROWSER_FQN = fqnForType("ui.FileBrowser");

/**
* File browser handlers.
*/
export interface FileBrowserHandlers {
/**
* Handler for putting a file.
*/
readonly put: IFileBrowserPutHandler;
/**
* Handler for deleting a file.
*/
readonly delete: IFileBrowserDeleteHandler;
/**
* Handler for getting a file.
*/
readonly get: IFileBrowserGetHandler;
/**
* Handler for listing files.
*/
readonly list: IFileBrowserListHandler;
}

Expand Down

0 comments on commit 0a0ed65

Please sign in to comment.