UNPKG

20.7 kBHTMLView Raw
1<!doctype html>
2<html class="default no-js">
3<head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <title>RegistryMap | @nofrills/console</title>
7 <meta name="description" content="">
8 <meta name="viewport" content="width=device-width, initial-scale=1">
9 <link rel="stylesheet" href="../assets/css/main.css">
10</head>
11<body>
12<header>
13 <div class="tsd-page-toolbar">
14 <div class="container">
15 <div class="table-wrap">
16 <div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
17 <div class="field">
18 <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19 <input id="tsd-search-field" type="text" />
20 </div>
21 <ul class="results">
22 <li class="state loading">Preparing search index...</li>
23 <li class="state failure">The search index is not available</li>
24 </ul>
25 <a href="../index.html" class="title">@nofrills/console</a>
26 </div>
27 <div class="table-cell" id="tsd-widgets">
28 <div id="tsd-filter">
29 <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30 <div class="tsd-filter-group">
31 <div class="tsd-select" id="tsd-filter-visibility">
32 <span class="tsd-select-label">All</span>
33 <ul class="tsd-select-list">
34 <li data-value="public">Public</li>
35 <li data-value="protected">Public/Protected</li>
36 <li data-value="private" class="selected">All</li>
37 </ul>
38 </div>
39 <input type="checkbox" id="tsd-filter-inherited" checked />
40 <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41 <input type="checkbox" id="tsd-filter-externals" checked />
42 <label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43 <input type="checkbox" id="tsd-filter-only-exported" />
44 <label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45 </div>
46 </div>
47 <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48 </div>
49 </div>
50 </div>
51 </div>
52 <div class="tsd-page-title">
53 <div class="container">
54 <ul class="tsd-breadcrumb">
55 <li>
56 <a href="../globals.html">Globals</a>
57 </li>
58 <li>
59 <a href="../modules/_collections_src_registrymap_.html">&quot;collections/src/RegistryMap&quot;</a>
60 </li>
61 <li>
62 <a href="_collections_src_registrymap_.registrymap.html">RegistryMap</a>
63 </li>
64 </ul>
65 <h1>Class RegistryMap&lt;T&gt;</h1>
66 </div>
67 </div>
68</header>
69<div class="container container-main">
70 <div class="row">
71 <div class="col-8 col-content">
72 <section class="tsd-panel tsd-type-parameters">
73 <h3>Type parameters</h3>
74 <ul class="tsd-type-parameters">
75 <li>
76 <h4>T</h4>
77 </li>
78 </ul>
79 </section>
80 <section class="tsd-panel tsd-hierarchy">
81 <h3>Hierarchy</h3>
82 <ul class="tsd-hierarchy">
83 <li>
84 <span class="target">RegistryMap</span>
85 </li>
86 </ul>
87 </section>
88 <section class="tsd-panel-group tsd-index-group">
89 <h2>Index</h2>
90 <section class="tsd-panel tsd-index-panel">
91 <div class="tsd-index-content">
92 <section class="tsd-index-section tsd-is-private-protected tsd-is-external">
93 <h3>Properties</h3>
94 <ul class="tsd-index-list">
95 <li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-external"><a href="_collections_src_registrymap_.registrymap.html#map" class="tsd-kind-icon">map</a></li>
96 </ul>
97 </section>
98 <section class="tsd-index-section tsd-is-external">
99 <h3>Accessors</h3>
100 <ul class="tsd-index-list">
101 <li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-external"><a href="_collections_src_registrymap_.registrymap.html#keys" class="tsd-kind-icon">keys</a></li>
102 </ul>
103 </section>
104 <section class="tsd-index-section tsd-is-external">
105 <h3>Methods</h3>
106 <ul class="tsd-index-list">
107 <li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="_collections_src_registrymap_.registrymap.html#clear" class="tsd-kind-icon">clear</a></li>
108 <li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="_collections_src_registrymap_.registrymap.html#register" class="tsd-kind-icon">register</a></li>
109 <li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="_collections_src_registrymap_.registrymap.html#remove" class="tsd-kind-icon">remove</a></li>
110 <li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="_collections_src_registrymap_.registrymap.html#reset" class="tsd-kind-icon">reset</a></li>
111 <li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="_collections_src_registrymap_.registrymap.html#resolve" class="tsd-kind-icon">resolve</a></li>
112 </ul>
113 </section>
114 </div>
115 </section>
116 </section>
117 <section class="tsd-panel-group tsd-member-group tsd-is-private-protected tsd-is-external">
118 <h2>Properties</h2>
119 <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-external">
120 <a name="map" class="tsd-anchor"></a>
121 <h3><span class="tsd-flag ts-flagProtected">Protected</span> map</h3>
122 <div class="tsd-signature tsd-kind-icon">map<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> =&nbsp;new Map&lt;string, T[]&gt;()</span></div>
123 <aside class="tsd-sources">
124 <ul>
125 <li>Defined in <a href="https://github.com/nativecode-dev/nofrills/blob/3c119b0/packages/collections/src/RegistryMap.ts#L2">collections/src/RegistryMap.ts:2</a></li>
126 </ul>
127 </aside>
128 </section>
129 </section>
130 <section class="tsd-panel-group tsd-member-group tsd-is-external">
131 <h2>Accessors</h2>
132 <section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-external">
133 <a name="keys" class="tsd-anchor"></a>
134 <h3>keys</h3>
135 <ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-external">
136 <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> keys<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></li>
137 </ul>
138 <ul class="tsd-descriptions">
139 <li class="tsd-description">
140 <aside class="tsd-sources">
141 <ul>
142 <li>Defined in <a href="https://github.com/nativecode-dev/nofrills/blob/3c119b0/packages/collections/src/RegistryMap.ts#L4">collections/src/RegistryMap.ts:4</a></li>
143 </ul>
144 </aside>
145 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4>
146 </li>
147 </ul>
148 </section>
149 </section>
150 <section class="tsd-panel-group tsd-member-group tsd-is-external">
151 <h2>Methods</h2>
152 <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external">
153 <a name="clear" class="tsd-anchor"></a>
154 <h3>clear</h3>
155 <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external">
156 <li class="tsd-signature tsd-kind-icon">clear<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
157 </ul>
158 <ul class="tsd-descriptions">
159 <li class="tsd-description">
160 <aside class="tsd-sources">
161 <ul>
162 <li>Defined in <a href="https://github.com/nativecode-dev/nofrills/blob/3c119b0/packages/collections/src/RegistryMap.ts#L8">collections/src/RegistryMap.ts:8</a></li>
163 </ul>
164 </aside>
165 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
166 </li>
167 </ul>
168 </section>
169 <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external">
170 <a name="register" class="tsd-anchor"></a>
171 <h3>register</h3>
172 <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external">
173 <li class="tsd-signature tsd-kind-icon">register<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
174 </ul>
175 <ul class="tsd-descriptions">
176 <li class="tsd-description">
177 <aside class="tsd-sources">
178 <ul>
179 <li>Defined in <a href="https://github.com/nativecode-dev/nofrills/blob/3c119b0/packages/collections/src/RegistryMap.ts#L12">collections/src/RegistryMap.ts:12</a></li>
180 </ul>
181 </aside>
182 <h4 class="tsd-parameters-title">Parameters</h4>
183 <ul class="tsd-parameters">
184 <li>
185 <h5>key: <span class="tsd-signature-type">string</span></h5>
186 </li>
187 <li>
188 <h5>value: <span class="tsd-signature-type">T</span></h5>
189 </li>
190 </ul>
191 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
192 </li>
193 </ul>
194 </section>
195 <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external">
196 <a name="remove" class="tsd-anchor"></a>
197 <h3>remove</h3>
198 <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external">
199 <li class="tsd-signature tsd-kind-icon">remove<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
200 </ul>
201 <ul class="tsd-descriptions">
202 <li class="tsd-description">
203 <aside class="tsd-sources">
204 <ul>
205 <li>Defined in <a href="https://github.com/nativecode-dev/nofrills/blob/3c119b0/packages/collections/src/RegistryMap.ts#L21">collections/src/RegistryMap.ts:21</a></li>
206 </ul>
207 </aside>
208 <h4 class="tsd-parameters-title">Parameters</h4>
209 <ul class="tsd-parameters">
210 <li>
211 <h5>key: <span class="tsd-signature-type">string</span></h5>
212 </li>
213 <li>
214 <h5>value: <span class="tsd-signature-type">T</span></h5>
215 </li>
216 </ul>
217 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
218 </li>
219 </ul>
220 </section>
221 <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external">
222 <a name="reset" class="tsd-anchor"></a>
223 <h3>reset</h3>
224 <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external">
225 <li class="tsd-signature tsd-kind-icon">reset<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
226 </ul>
227 <ul class="tsd-descriptions">
228 <li class="tsd-description">
229 <aside class="tsd-sources">
230 <ul>
231 <li>Defined in <a href="https://github.com/nativecode-dev/nofrills/blob/3c119b0/packages/collections/src/RegistryMap.ts#L29">collections/src/RegistryMap.ts:29</a></li>
232 </ul>
233 </aside>
234 <h4 class="tsd-parameters-title">Parameters</h4>
235 <ul class="tsd-parameters">
236 <li>
237 <h5>key: <span class="tsd-signature-type">string</span></h5>
238 </li>
239 </ul>
240 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
241 </li>
242 </ul>
243 </section>
244 <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external">
245 <a name="resolve" class="tsd-anchor"></a>
246 <h3>resolve</h3>
247 <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external">
248 <li class="tsd-signature tsd-kind-icon">resolve<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></li>
249 </ul>
250 <ul class="tsd-descriptions">
251 <li class="tsd-description">
252 <aside class="tsd-sources">
253 <ul>
254 <li>Defined in <a href="https://github.com/nativecode-dev/nofrills/blob/3c119b0/packages/collections/src/RegistryMap.ts#L35">collections/src/RegistryMap.ts:35</a></li>
255 </ul>
256 </aside>
257 <h4 class="tsd-parameters-title">Parameters</h4>
258 <ul class="tsd-parameters">
259 <li>
260 <h5>key: <span class="tsd-signature-type">string</span></h5>
261 </li>
262 </ul>
263 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h4>
264 </li>
265 </ul>
266 </section>
267 </section>
268 </div>
269 <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
270 <nav class="tsd-navigation primary">
271 <ul>
272 <li class="globals ">
273 <a href="../globals.html"><em>Globals</em></a>
274 </li>
275 <li class="current tsd-kind-external-module tsd-is-external">
276 <a href="../modules/_collections_src_registrymap_.html">"collections/src/<wbr>Registry<wbr>Map"</a>
277 </li>
278 </ul>
279 </nav>
280 <nav class="tsd-navigation secondary menu-sticky">
281 <ul class="before-current">
282 </ul>
283 <ul class="current">
284 <li class="current tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter tsd-is-external">
285 <a href="_collections_src_registrymap_.registrymap.html" class="tsd-kind-icon">Registry<wbr>Map</a>
286 <ul>
287 <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-external">
288 <a href="_collections_src_registrymap_.registrymap.html#map" class="tsd-kind-icon">map</a>
289 </li>
290 <li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-external">
291 <a href="_collections_src_registrymap_.registrymap.html#keys" class="tsd-kind-icon">keys</a>
292 </li>
293 <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-external">
294 <a href="_collections_src_registrymap_.registrymap.html#clear" class="tsd-kind-icon">clear</a>
295 </li>
296 <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-external">
297 <a href="_collections_src_registrymap_.registrymap.html#register" class="tsd-kind-icon">register</a>
298 </li>
299 <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-external">
300 <a href="_collections_src_registrymap_.registrymap.html#remove" class="tsd-kind-icon">remove</a>
301 </li>
302 <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-external">
303 <a href="_collections_src_registrymap_.registrymap.html#reset" class="tsd-kind-icon">reset</a>
304 </li>
305 <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-external">
306 <a href="_collections_src_registrymap_.registrymap.html#resolve" class="tsd-kind-icon">resolve</a>
307 </li>
308 </ul>
309 </li>
310 </ul>
311 <ul class="after-current">
312 </ul>
313 </nav>
314 </div>
315 </div>
316</div>
317<footer class="with-border-bottom">
318 <div class="container">
319 <h2>Legend</h2>
320 <div class="tsd-legend-group">
321 <ul class="tsd-legend">
322 <li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
323 <li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
324 <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
325 <li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
326 <li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
327 <li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
328 <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
329 </ul>
330 <ul class="tsd-legend">
331 <li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
332 <li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
333 <li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
334 <li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
335 </ul>
336 <ul class="tsd-legend">
337 <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
338 <li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
339 <li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
340 <li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
341 <li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
342 <li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
343 </ul>
344 <ul class="tsd-legend">
345 <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
346 <li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
347 <li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
348 <li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
349 <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
350 <li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
351 <li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
352 </ul>
353 <ul class="tsd-legend">
354 <li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
355 <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
356 <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
357 <li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
358 </ul>
359 <ul class="tsd-legend">
360 <li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
361 <li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
362 <li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
363 </ul>
364 <ul class="tsd-legend">
365 <li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
366 <li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
367 <li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
368 </ul>
369 <ul class="tsd-legend">
370 <li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
371 <li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
372 </ul>
373 </div>
374 </div>
375</footer>
376<div class="container tsd-generator">
377 <p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
378</div>
379<div class="overlay"></div>
380<script src="../assets/js/main.js"></script>
381<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
382</body>
383</html>
\No newline at end of file