File tree 2 files changed +29
-6
lines changed 2 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
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
8
8
}
Original file line number Diff line number Diff line change 3
3
This plugin allows generating a signed url for a file link/id. Useful when
4
4
using with AWS S3 sign urls for private objects.
5
5
6
+ ## Installation
7
+
8
+ ```
9
+ npm i hapi-signed-url
10
+ ```
11
+
6
12
## Basic Usage
7
13
8
14
- Import the plugin
@@ -113,3 +119,20 @@ server.route({
113
119
114
120
- It will work with single objects and arrays. ` pathToSource ` is optional field,
115
121
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