@jwn-js/common 1.3.21 → 1.3.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Jwt-e49753f6.js +57 -0
- package/Jwt.d.ts +5 -25
- package/Jwt.js +3 -43
- package/{Server-77093d28.js → Server-dadc1f87.js} +5 -5
- package/Server.js +1 -1
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +36 -0
- package/docs/assets/icons.css +1043 -0
- package/docs/assets/{images/icons.png → icons.png} +0 -0
- package/docs/assets/{images/icons@2x.png → icons@2x.png} +0 -0
- package/docs/assets/main.js +52 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1388 -0
- package/docs/assets/{images/widgets.png → widgets.png} +0 -0
- package/docs/assets/{images/widgets@2x.png → widgets@2x.png} +0 -0
- package/docs/classes/ApiError.html +18 -560
- package/docs/classes/AsyncJwt.html +17 -0
- package/docs/classes/Controller.html +27 -1008
- package/docs/classes/Jwt.html +17 -374
- package/docs/classes/Memcached.html +20 -387
- package/docs/classes/Model.html +7 -667
- package/docs/classes/Server.html +25 -464
- package/docs/classes/Ssr.html +11 -310
- package/docs/classes/Web.html +11 -440
- package/docs/index.html +18 -258
- package/docs/interfaces/ApiErrorMessage.html +1 -222
- package/docs/interfaces/ContextSsr.html +23 -327
- package/docs/interfaces/ContextWeb.html +1 -291
- package/docs/interfaces/OptionsSsr.html +1 -184
- package/docs/interfaces/OptionsWeb.html +1 -212
- package/docs/interfaces/Route.html +1 -194
- package/docs/interfaces/Schema.html +1 -180
- package/docs/interfaces/ServerHandler.html +1 -221
- package/docs/interfaces/ServerOptions.html +1 -236
- package/docs/interfaces/ServerWebsocket.html +1 -194
- package/docs/modules.html +70 -2004
- package/index.d.ts +50 -1
- package/index.js +67 -14
- package/multipartBody.js +1 -1
- package/package.json +4 -4
- package/readConfig.js +1 -1
- package/readConfigSync.js +2 -2
- package/staticBody.js +1 -1
- package/urlencodedBody.js +1 -1
- package/docs/assets/css/main.css +0 -2660
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
package/docs/classes/Ssr.html
CHANGED
|
@@ -1,310 +1,11 @@
|
|
|
1
|
-
<!
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
</
|
|
12
|
-
<body>
|
|
13
|
-
<header>
|
|
14
|
-
<div class="tsd-page-toolbar">
|
|
15
|
-
<div class="container">
|
|
16
|
-
<div class="table-wrap">
|
|
17
|
-
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
18
|
-
<div class="field">
|
|
19
|
-
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
20
|
-
<input id="tsd-search-field" type="text" />
|
|
21
|
-
</div>
|
|
22
|
-
<ul class="results">
|
|
23
|
-
<li class="state loading">Preparing search index...</li>
|
|
24
|
-
<li class="state failure">The search index is not available</li>
|
|
25
|
-
</ul>
|
|
26
|
-
<a href="../index.html" class="title">@jwn-js/common - v1.3.21</a>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="table-cell" id="tsd-widgets">
|
|
29
|
-
<div id="tsd-filter">
|
|
30
|
-
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
31
|
-
<div class="tsd-filter-group">
|
|
32
|
-
<div class="tsd-select" id="tsd-filter-visibility">
|
|
33
|
-
<span class="tsd-select-label">All</span>
|
|
34
|
-
<ul class="tsd-select-list">
|
|
35
|
-
<li data-value="public">Public</li>
|
|
36
|
-
<li data-value="protected">Public/Protected</li>
|
|
37
|
-
<li data-value="private" class="selected">All</li>
|
|
38
|
-
</ul>
|
|
39
|
-
</div>
|
|
40
|
-
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
41
|
-
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
42
|
-
<input type="checkbox" id="tsd-filter-externals" checked />
|
|
43
|
-
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="tsd-page-title">
|
|
52
|
-
<div class="container">
|
|
53
|
-
<ul class="tsd-breadcrumb">
|
|
54
|
-
<li>
|
|
55
|
-
<a href="../modules.html">@jwn-js/common - v1.3.21</a>
|
|
56
|
-
</li>
|
|
57
|
-
<li>
|
|
58
|
-
<a href="Ssr.html">Ssr</a>
|
|
59
|
-
</li>
|
|
60
|
-
</ul>
|
|
61
|
-
<h1>Class Ssr</h1>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
</header>
|
|
65
|
-
<div class="container container-main">
|
|
66
|
-
<div class="row">
|
|
67
|
-
<div class="col-8 col-content">
|
|
68
|
-
<section class="tsd-panel tsd-comment">
|
|
69
|
-
<div class="tsd-comment tsd-typography">
|
|
70
|
-
<dl class="tsd-comment-tags">
|
|
71
|
-
<dt>exports</dt>
|
|
72
|
-
<dd></dd>
|
|
73
|
-
</dl>
|
|
74
|
-
</div>
|
|
75
|
-
</section>
|
|
76
|
-
<section class="tsd-panel tsd-hierarchy">
|
|
77
|
-
<h3>Hierarchy</h3>
|
|
78
|
-
<ul class="tsd-hierarchy">
|
|
79
|
-
<li>
|
|
80
|
-
<span class="target">Ssr</span>
|
|
81
|
-
</li>
|
|
82
|
-
</ul>
|
|
83
|
-
</section>
|
|
84
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
85
|
-
<h2>Index</h2>
|
|
86
|
-
<section class="tsd-panel tsd-index-panel">
|
|
87
|
-
<div class="tsd-index-content">
|
|
88
|
-
<section class="tsd-index-section ">
|
|
89
|
-
<h3>Constructors</h3>
|
|
90
|
-
<ul class="tsd-index-list">
|
|
91
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="Ssr.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
|
92
|
-
</ul>
|
|
93
|
-
</section>
|
|
94
|
-
<section class="tsd-index-section ">
|
|
95
|
-
<h3>Properties</h3>
|
|
96
|
-
<ul class="tsd-index-list">
|
|
97
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#context" class="tsd-kind-icon">context</a></li>
|
|
98
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#entry" class="tsd-kind-icon">entry</a></li>
|
|
99
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#req" class="tsd-kind-icon">req</a></li>
|
|
100
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#res" class="tsd-kind-icon">res</a></li>
|
|
101
|
-
</ul>
|
|
102
|
-
</section>
|
|
103
|
-
<section class="tsd-index-section ">
|
|
104
|
-
<h3>Methods</h3>
|
|
105
|
-
<ul class="tsd-index-list">
|
|
106
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="Ssr.html#request" class="tsd-kind-icon">request</a></li>
|
|
107
|
-
</ul>
|
|
108
|
-
</section>
|
|
109
|
-
</div>
|
|
110
|
-
</section>
|
|
111
|
-
</section>
|
|
112
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
113
|
-
<h2>Constructors</h2>
|
|
114
|
-
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
|
|
115
|
-
<a name="constructor" class="tsd-anchor"></a>
|
|
116
|
-
<h3>constructor</h3>
|
|
117
|
-
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
|
118
|
-
<li class="tsd-signature tsd-kind-icon">new <wbr>Ssr<span class="tsd-signature-symbol">(</span>res<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HttpResponse</span>, req<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HttpRequest</span>, context<span class="tsd-signature-symbol">: </span><a href="../interfaces/OptionsSsr.html" class="tsd-signature-type" data-tsd-kind="Interface">OptionsSsr</a>, entry<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Ssr.html" class="tsd-signature-type" data-tsd-kind="Class">Ssr</a></li>
|
|
119
|
-
</ul>
|
|
120
|
-
<ul class="tsd-descriptions">
|
|
121
|
-
<li class="tsd-description">
|
|
122
|
-
<aside class="tsd-sources">
|
|
123
|
-
<ul>
|
|
124
|
-
<li>Defined in src/Ssr/Ssr.ts:32</li>
|
|
125
|
-
</ul>
|
|
126
|
-
</aside>
|
|
127
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
128
|
-
<ul class="tsd-parameters">
|
|
129
|
-
<li>
|
|
130
|
-
<h5>res: <span class="tsd-signature-type">HttpResponse</span></h5>
|
|
131
|
-
<div class="tsd-comment tsd-typography">
|
|
132
|
-
<div class="lead">
|
|
133
|
-
<p>response</p>
|
|
134
|
-
</div>
|
|
135
|
-
</div>
|
|
136
|
-
</li>
|
|
137
|
-
<li>
|
|
138
|
-
<h5>req: <span class="tsd-signature-type">HttpRequest</span></h5>
|
|
139
|
-
<div class="tsd-comment tsd-typography">
|
|
140
|
-
<div class="lead">
|
|
141
|
-
<p>request</p>
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
</li>
|
|
145
|
-
<li>
|
|
146
|
-
<h5>context: <a href="../interfaces/OptionsSsr.html" class="tsd-signature-type" data-tsd-kind="Interface">OptionsSsr</a></h5>
|
|
147
|
-
<div class="tsd-comment tsd-typography">
|
|
148
|
-
<div class="lead">
|
|
149
|
-
<p>params</p>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
</li>
|
|
153
|
-
<li>
|
|
154
|
-
<h5>entry: <span class="tsd-signature-type">any</span></h5>
|
|
155
|
-
<div class="tsd-comment tsd-typography">
|
|
156
|
-
<div class="lead">
|
|
157
|
-
<p>entry point function</p>
|
|
158
|
-
</div>
|
|
159
|
-
</div>
|
|
160
|
-
</li>
|
|
161
|
-
</ul>
|
|
162
|
-
<h4 class="tsd-returns-title">Returns <a href="Ssr.html" class="tsd-signature-type" data-tsd-kind="Class">Ssr</a></h4>
|
|
163
|
-
</li>
|
|
164
|
-
</ul>
|
|
165
|
-
</section>
|
|
166
|
-
</section>
|
|
167
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
168
|
-
<h2>Properties</h2>
|
|
169
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
170
|
-
<a name="context" class="tsd-anchor"></a>
|
|
171
|
-
<h3>context</h3>
|
|
172
|
-
<div class="tsd-signature tsd-kind-icon">context<span class="tsd-signature-symbol">:</span> <a href="../interfaces/OptionsSsr.html" class="tsd-signature-type" data-tsd-kind="Interface">OptionsSsr</a></div>
|
|
173
|
-
<aside class="tsd-sources">
|
|
174
|
-
<ul>
|
|
175
|
-
<li>Defined in src/Ssr/Ssr.ts:22</li>
|
|
176
|
-
</ul>
|
|
177
|
-
</aside>
|
|
178
|
-
</section>
|
|
179
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
180
|
-
<a name="entry" class="tsd-anchor"></a>
|
|
181
|
-
<h3>entry</h3>
|
|
182
|
-
<div class="tsd-signature tsd-kind-icon">entry<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
|
|
183
|
-
<aside class="tsd-sources">
|
|
184
|
-
<ul>
|
|
185
|
-
<li>Defined in src/Ssr/Ssr.ts:23</li>
|
|
186
|
-
</ul>
|
|
187
|
-
</aside>
|
|
188
|
-
</section>
|
|
189
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
190
|
-
<a name="req" class="tsd-anchor"></a>
|
|
191
|
-
<h3>req</h3>
|
|
192
|
-
<div class="tsd-signature tsd-kind-icon">req<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HttpRequest</span></div>
|
|
193
|
-
<aside class="tsd-sources">
|
|
194
|
-
<ul>
|
|
195
|
-
<li>Defined in src/Ssr/Ssr.ts:21</li>
|
|
196
|
-
</ul>
|
|
197
|
-
</aside>
|
|
198
|
-
</section>
|
|
199
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
200
|
-
<a name="res" class="tsd-anchor"></a>
|
|
201
|
-
<h3>res</h3>
|
|
202
|
-
<div class="tsd-signature tsd-kind-icon">res<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HttpResponse</span></div>
|
|
203
|
-
<aside class="tsd-sources">
|
|
204
|
-
<ul>
|
|
205
|
-
<li>Defined in src/Ssr/Ssr.ts:20</li>
|
|
206
|
-
</ul>
|
|
207
|
-
</aside>
|
|
208
|
-
</section>
|
|
209
|
-
</section>
|
|
210
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
211
|
-
<h2>Methods</h2>
|
|
212
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
213
|
-
<a name="request" class="tsd-anchor"></a>
|
|
214
|
-
<h3>request</h3>
|
|
215
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
216
|
-
<li class="tsd-signature tsd-kind-icon">request<span class="tsd-signature-symbol">(</span>request<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li>
|
|
217
|
-
</ul>
|
|
218
|
-
<ul class="tsd-descriptions">
|
|
219
|
-
<li class="tsd-description">
|
|
220
|
-
<aside class="tsd-sources">
|
|
221
|
-
<ul>
|
|
222
|
-
<li>Defined in src/Ssr/Ssr.ts:47</li>
|
|
223
|
-
</ul>
|
|
224
|
-
</aside>
|
|
225
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
226
|
-
<ul class="tsd-parameters">
|
|
227
|
-
<li>
|
|
228
|
-
<h5>request: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = {}</span></h5>
|
|
229
|
-
<div class="tsd-comment tsd-typography">
|
|
230
|
-
<p>addition request params</p>
|
|
231
|
-
</div>
|
|
232
|
-
</li>
|
|
233
|
-
</ul>
|
|
234
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
|
235
|
-
</li>
|
|
236
|
-
</ul>
|
|
237
|
-
</section>
|
|
238
|
-
</section>
|
|
239
|
-
</div>
|
|
240
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
241
|
-
<nav class="tsd-navigation primary">
|
|
242
|
-
<ul>
|
|
243
|
-
<li class=" ">
|
|
244
|
-
<a href="../modules.html">Exports</a>
|
|
245
|
-
</li>
|
|
246
|
-
</ul>
|
|
247
|
-
</nav>
|
|
248
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
249
|
-
<ul class="before-current">
|
|
250
|
-
</ul>
|
|
251
|
-
<ul class="current">
|
|
252
|
-
<li class="current tsd-kind-class">
|
|
253
|
-
<a href="Ssr.html" class="tsd-kind-icon">Ssr</a>
|
|
254
|
-
<ul>
|
|
255
|
-
<li class=" tsd-kind-constructor tsd-parent-kind-class">
|
|
256
|
-
<a href="Ssr.html#constructor" class="tsd-kind-icon">constructor</a>
|
|
257
|
-
</li>
|
|
258
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
259
|
-
<a href="Ssr.html#context" class="tsd-kind-icon">context</a>
|
|
260
|
-
</li>
|
|
261
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
262
|
-
<a href="Ssr.html#entry" class="tsd-kind-icon">entry</a>
|
|
263
|
-
</li>
|
|
264
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
265
|
-
<a href="Ssr.html#req" class="tsd-kind-icon">req</a>
|
|
266
|
-
</li>
|
|
267
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
268
|
-
<a href="Ssr.html#res" class="tsd-kind-icon">res</a>
|
|
269
|
-
</li>
|
|
270
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
271
|
-
<a href="Ssr.html#request" class="tsd-kind-icon">request</a>
|
|
272
|
-
</li>
|
|
273
|
-
</ul>
|
|
274
|
-
</li>
|
|
275
|
-
</ul>
|
|
276
|
-
<ul class="after-current">
|
|
277
|
-
</ul>
|
|
278
|
-
</nav>
|
|
279
|
-
</div>
|
|
280
|
-
</div>
|
|
281
|
-
</div>
|
|
282
|
-
<footer class="with-border-bottom">
|
|
283
|
-
<div class="container">
|
|
284
|
-
<h2>Legend</h2>
|
|
285
|
-
<div class="tsd-legend-group">
|
|
286
|
-
<ul class="tsd-legend">
|
|
287
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
|
288
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
|
|
289
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
|
290
|
-
</ul>
|
|
291
|
-
<ul class="tsd-legend">
|
|
292
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
293
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
|
|
294
|
-
</ul>
|
|
295
|
-
<ul class="tsd-legend">
|
|
296
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
|
|
297
|
-
</ul>
|
|
298
|
-
<ul class="tsd-legend">
|
|
299
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
|
|
300
|
-
</ul>
|
|
301
|
-
</div>
|
|
302
|
-
</div>
|
|
303
|
-
</footer>
|
|
304
|
-
<div class="container tsd-generator">
|
|
305
|
-
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
306
|
-
</div>
|
|
307
|
-
<div class="overlay"></div>
|
|
308
|
-
<script src="../assets/js/main.js"></script>
|
|
309
|
-
</body>
|
|
310
|
-
</html>
|
|
1
|
+
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Ssr | @jwn-js/common - v1.3.25</title><meta name="description" content="Documentation for @jwn-js/common - v1.3.25"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@jwn-js/common - v1.3.25</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@jwn-js/common - v1.3.25</a></li><li><a href="Ssr.html">Ssr</a></li></ul><h1>Class Ssr</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>exports</dt><dd></dd></dl></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">Ssr</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="Ssr.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#context" class="tsd-kind-icon">context</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#entry" class="tsd-kind-icon">entry</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#req" class="tsd-kind-icon">req</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#res" class="tsd-kind-icon">res</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class"><a href="Ssr.html#request" class="tsd-kind-icon">request</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a><h3>constructor</h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new <wbr/>Ssr<span class="tsd-signature-symbol">(</span>res<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HttpResponse</span>, req<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HttpRequest</span>, context<span class="tsd-signature-symbol">: </span><a href="../interfaces/OptionsSsr.html" class="tsd-signature-type" data-tsd-kind="Interface">OptionsSsr</a>, entry<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Ssr.html" class="tsd-signature-type" data-tsd-kind="Class">Ssr</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/Ssr/Ssr.ts:32</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>res: <span class="tsd-signature-type">HttpResponse</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
2
|
+
<p>response</p>
|
|
3
|
+
</div></div></li><li><h5>req: <span class="tsd-signature-type">HttpRequest</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
4
|
+
<p>request</p>
|
|
5
|
+
</div></div></li><li><h5>context: <a href="../interfaces/OptionsSsr.html" class="tsd-signature-type" data-tsd-kind="Interface">OptionsSsr</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
6
|
+
<p>params</p>
|
|
7
|
+
</div></div></li><li><h5>entry: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
8
|
+
<p>entry point function</p>
|
|
9
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Ssr.html" class="tsd-signature-type" data-tsd-kind="Class">Ssr</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="context" class="tsd-anchor"></a><h3>context</h3><div class="tsd-signature tsd-kind-icon">context<span class="tsd-signature-symbol">:</span> <a href="../interfaces/OptionsSsr.html" class="tsd-signature-type" data-tsd-kind="Interface">OptionsSsr</a></div><aside class="tsd-sources"><ul><li>Defined in src/Ssr/Ssr.ts:22</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="entry" class="tsd-anchor"></a><h3>entry</h3><div class="tsd-signature tsd-kind-icon">entry<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><ul><li>Defined in src/Ssr/Ssr.ts:23</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="req" class="tsd-anchor"></a><h3>req</h3><div class="tsd-signature tsd-kind-icon">req<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HttpRequest</span></div><aside class="tsd-sources"><ul><li>Defined in src/Ssr/Ssr.ts:21</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="res" class="tsd-anchor"></a><h3>res</h3><div class="tsd-signature tsd-kind-icon">res<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HttpResponse</span></div><aside class="tsd-sources"><ul><li>Defined in src/Ssr/Ssr.ts:20</li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="request" class="tsd-anchor"></a><h3>request</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">request<span class="tsd-signature-symbol">(</span>request<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/Ssr/Ssr.ts:47</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>request: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = {}</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
10
|
+
<p>addition request params</p>
|
|
11
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class"><a href="Ssr.html" class="tsd-kind-icon">Ssr</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="Ssr.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#context" class="tsd-kind-icon">context</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#entry" class="tsd-kind-icon">entry</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#req" class="tsd-kind-icon">req</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Ssr.html#res" class="tsd-kind-icon">res</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Ssr.html#request" class="tsd-kind-icon">request</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|