File tree Expand file tree Collapse file tree 2 files changed +29
-6
lines changed
Expand file tree Collapse file tree 2 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 11{
2- "editor.defaultFormatter" : " esbenp.prettier-vscode" ,
3- "[javascript]" : {
4- "editor.defaultFormatter" : " esbenp.prettier-vscode"
5- },
6- "typescript.preferences.importModuleSpecifier" : " relative" ,
7- "editor.formatOnSave" : true ,
2+ "editor.defaultFormatter" : " esbenp.prettier-vscode" ,
3+ "[javascript]" : {
4+ "editor.defaultFormatter" : " esbenp.prettier-vscode"
5+ },
6+ "typescript.preferences.importModuleSpecifier" : " relative" ,
7+ "editor.formatOnSave" : true
88}
Original file line number Diff line number Diff line change 33This plugin allows generating a signed url for a file link/id. Useful when
44using with AWS S3 sign urls for private objects.
55
6+ ## Installation
7+
8+ ```
9+ npm i hapi-signed-url
10+ ```
11+
612## Basic Usage
713
814- Import the plugin
@@ -113,3 +119,20 @@ server.route({
113119
114120- It will work with single objects and arrays. ` pathToSource ` is optional field,
115121 use when nested objects are to be updated.
122+
123+ - Improvements todo
124+ - Change the options structure to following, which will allow using multiple paths
125+
126+ ``` js
127+ const options = {
128+ sources: [
129+ {
130+ lenses: [nameLens],
131+ },
132+ {
133+ lenses: [fileLens],
134+ path: docLens,
135+ },
136+ ],
137+ };
138+ ```
You can’t perform that action at this time.
0 commit comments