Skip to content

Commit

Permalink
chore: add comment explaining StorageProviderApiOptionsIndexMap
Browse files Browse the repository at this point in the history
  • Loading branch information
erinleigh90 committed Jul 26, 2023
1 parent 02e1d2e commit c08fc69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/storage/src/types/Provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ export type StorageProviderApi =
| 'list'
| 'getProperties';

// Map of api to index of options (config) parameter
// Used to glean config type from StorageProvider
export type StorageProviderApiOptionsIndexMap = {
copy: 2;
get: 1;
Expand Down

0 comments on commit c08fc69

Please sign in to comment.