Skip to content

Commit

Permalink
🔧 add exports from storage module #5
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkjrs committed Dec 27, 2023
1 parent 2b8a6a0 commit 2d31589
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,19 @@ import { getToken } from './getToken';
import { getWidget, getWidgetCallback, showWidget } from './cloudinary-utils';
import defaultOptions from './defaultOptions';
import { VIDEO_EXTENSIONS, IMAGE_EXTENSIONS } from './constants';
import { fetcher, detectMediaType, getOptions } from './utils';
import {
fetcher,
detectMediaType,
getOptions,
generateFilePath,

Check warning on line 10 in src/index.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.x and ubuntu-latest

'generateFilePath' is defined but never used

Check warning on line 10 in src/index.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.x and windows-latest

'generateFilePath' is defined but never used

Check warning on line 10 in src/index.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.x and macOS-latest

'generateFilePath' is defined but never used

Check warning on line 10 in src/index.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 20.x and ubuntu-latest

'generateFilePath' is defined but never used

Check warning on line 10 in src/index.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 20.x and windows-latest

'generateFilePath' is defined but never used

Check warning on line 10 in src/index.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 20.x and macOS-latest

'generateFilePath' is defined but never used
} from './utils';
import {
uploadMedia,
getS3Client,
getS3PutUrl,
getS3ReadUrl,
S3Credentials,
} from './storage';
export {
generateAccessToken,
getToken,
Expand All @@ -16,4 +28,9 @@ export {
fetcher,
detectMediaType,
getOptions,
uploadMedia,
getS3Client,
getS3PutUrl,
getS3ReadUrl,
};
export type { S3Credentials };

0 comments on commit 2d31589

Please sign in to comment.