@rxap/ngx-memory 22.0.0-dev.1 → 22.0.0-dev.2
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/CHANGELOG.md +12 -0
- package/README.md +5 -3
- package/compodoc/changelog.html +11 -0
- package/compodoc/index.html +4 -3
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/llms.txt +3 -1
- package/compodoc/miscellaneous/functions.html +81 -0
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +117 -93
- package/docs/html/classes/EphemeralStorageService.html +10 -10
- package/docs/html/classes/LocalStorageService.html +10 -10
- package/docs/html/classes/MockStorage.html +11 -11
- package/docs/html/classes/SessionStorageService.html +10 -10
- package/docs/html/classes/StorageService.html +10 -10
- package/docs/html/functions/LocalStorage.html +4 -4
- package/docs/html/functions/SessionStorage.html +4 -4
- package/docs/html/functions/StorageGet.html +4 -4
- package/docs/html/functions/StorageHas.html +4 -4
- package/docs/html/functions/StorageKey.html +4 -4
- package/docs/html/functions/StorageRemove.html +4 -4
- package/docs/html/functions/StorageSet.html +4 -4
- package/docs/html/functions/WebStorage.html +4 -4
- package/docs/html/functions/getExpired.html +4 -4
- package/docs/html/functions/stringify.html +4 -4
- package/docs/html/hierarchy.html +4 -4
- package/docs/html/index.html +8 -7
- package/docs/html/modules.html +4 -4
- package/docs/html/types/ExpiredUnit.html +4 -4
- package/docs/html/variables/isBrowser.html +4 -4
- package/docs/markdown/README.md +6 -4
- package/docs/markdown/classes/EphemeralStorageService.md +8 -8
- package/docs/markdown/classes/LocalStorageService.md +8 -8
- package/docs/markdown/classes/MockStorage.md +9 -9
- package/docs/markdown/classes/SessionStorageService.md +8 -8
- package/docs/markdown/classes/StorageService.md +8 -8
- package/docs/markdown/functions/LocalStorage.md +2 -2
- package/docs/markdown/functions/SessionStorage.md +2 -2
- package/docs/markdown/functions/StorageGet.md +2 -2
- package/docs/markdown/functions/StorageHas.md +2 -2
- package/docs/markdown/functions/StorageKey.md +2 -2
- package/docs/markdown/functions/StorageRemove.md +2 -2
- package/docs/markdown/functions/StorageSet.md +2 -2
- package/docs/markdown/functions/WebStorage.md +2 -2
- package/docs/markdown/functions/getExpired.md +2 -2
- package/docs/markdown/functions/stringify.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/type-aliases/ExpiredUnit.md +2 -2
- package/docs/markdown/variables/isBrowser.md +2 -2
- package/docs/wiki/Class.EphemeralStorageService.md +7 -7
- package/docs/wiki/Class.LocalStorageService.md +7 -7
- package/docs/wiki/Class.MockStorage.md +8 -8
- package/docs/wiki/Class.SessionStorageService.md +7 -7
- package/docs/wiki/Class.StorageService.md +7 -7
- package/docs/wiki/Function.LocalStorage.md +1 -1
- package/docs/wiki/Function.SessionStorage.md +1 -1
- package/docs/wiki/Function.StorageGet.md +1 -1
- package/docs/wiki/Function.StorageHas.md +1 -1
- package/docs/wiki/Function.StorageKey.md +1 -1
- package/docs/wiki/Function.StorageRemove.md +1 -1
- package/docs/wiki/Function.StorageSet.md +1 -1
- package/docs/wiki/Function.WebStorage.md +1 -1
- package/docs/wiki/Function.getExpired.md +1 -1
- package/docs/wiki/Function.stringify.md +1 -1
- package/docs/wiki/Home.md +5 -3
- package/docs/wiki/TypeAlias.ExpiredUnit.md +1 -1
- package/docs/wiki/Variable.isBrowser.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/generators.json +16 -0
- package/package.json +4 -6
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/init/schema.json +8 -0
- package/src/generators/package.json +3 -0
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/theme.css +0 -1
package/compodoc/llms.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> This package provides Angular services and decorators for interacting with web storage (localStorage and sessionStorage) and in-memory storage. It offers a simple way to manage data persistence with expiration options and provides decorators for binding class properties directly to storage values. The package includes services for local storage, session storage, and ephemeral (in-memory) storage.
|
|
4
4
|
|
|
5
|
-
> Generated by compodoc 2.0.0 at 2026-11-
|
|
5
|
+
> Generated by compodoc 2.0.0 at 2026-11-26T16:48:31.604Z, llm-md export.
|
|
6
6
|
|
|
7
7
|
## Services / Injectables
|
|
8
8
|
|
|
@@ -79,6 +79,8 @@ Methods:
|
|
|
79
79
|
Defined in `src/lib/decorators/local-storage.ts`
|
|
80
80
|
- `parse(text: string): any`
|
|
81
81
|
Defined in `src/lib/storage-utility.ts`
|
|
82
|
+
- `resolvePackageDir(root: string, packageName: string): string` — Resolves the directory of a package installed in the workspace. The lookup starts at the workspace root, not at this package: with an isolated node\_modules layout (pnpm) or Yarn PnP the peer is not resolvable from here. The plain node\_modules path is the fallback for packages whose exports map hides their package.json.
|
|
83
|
+
Defined in `src/generators/init/generator.ts`
|
|
82
84
|
- `SessionStorage(key?: string, expiredAt: number = 0, expiredUnit: ExpiredUnit = 't')` — sessionStorage Decorator
|
|
83
85
|
Defined in `src/lib/decorators/session-storage.ts`
|
|
84
86
|
- `StorageGet(storage, key: string): unknown`
|
|
@@ -148,6 +148,9 @@
|
|
|
148
148
|
<li>
|
|
149
149
|
<a href="#parse" title="src/lib/storage-utility.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>parse</b> (src/.../storage-utility.ts)</span></a>
|
|
150
150
|
</li>
|
|
151
|
+
<li>
|
|
152
|
+
<a href="#resolvePackageDir" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>resolvePackageDir</b> (src/.../generator.ts)</span></a>
|
|
153
|
+
</li>
|
|
151
154
|
<li>
|
|
152
155
|
<a href="#SessionStorage" title="src/lib/decorators/session-storage.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>SessionStorage</b> (src/.../session-storage.ts)</span></a>
|
|
153
156
|
</li>
|
|
@@ -851,6 +854,84 @@
|
|
|
851
854
|
</tr>
|
|
852
855
|
</tbody>
|
|
853
856
|
</table>
|
|
857
|
+
<table class="table table-sm table-bordered">
|
|
858
|
+
<tbody>
|
|
859
|
+
<tr>
|
|
860
|
+
<td class="col-md-4">
|
|
861
|
+
<a name="resolvePackageDir"></a>
|
|
862
|
+
<span class="name">
|
|
863
|
+
<span ><b>resolvePackageDir</b></span>
|
|
864
|
+
<a href="#resolvePackageDir"><span class="icon ion-ios-link"></span></a>
|
|
865
|
+
</span>
|
|
866
|
+
</td>
|
|
867
|
+
</tr>
|
|
868
|
+
<tr>
|
|
869
|
+
<td class="col-md-4">
|
|
870
|
+
<code>resolvePackageDir(root: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, packageName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
871
|
+
</td>
|
|
872
|
+
</tr>
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
<tr>
|
|
878
|
+
<td class="col-md-4">
|
|
879
|
+
<div class="io-description"><p>Resolves the directory of a package installed in the workspace. The lookup starts at the
|
|
880
|
+
workspace root, not at this package: with an isolated node_modules layout (pnpm) or Yarn PnP
|
|
881
|
+
the peer is not resolvable from here. The plain node_modules path is the fallback for packages
|
|
882
|
+
whose <code>exports</code> map hides their package.json.</p>
|
|
883
|
+
</div>
|
|
884
|
+
|
|
885
|
+
<div class="io-description">
|
|
886
|
+
<b>Parameters :</b>
|
|
887
|
+
|
|
888
|
+
<table class="params">
|
|
889
|
+
<thead>
|
|
890
|
+
<tr>
|
|
891
|
+
<td>Name</td>
|
|
892
|
+
<td>Type</td>
|
|
893
|
+
<td>Optional</td>
|
|
894
|
+
</tr>
|
|
895
|
+
</thead>
|
|
896
|
+
<tbody>
|
|
897
|
+
<tr>
|
|
898
|
+
<td>root</td>
|
|
899
|
+
<td>
|
|
900
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
901
|
+
</td>
|
|
902
|
+
|
|
903
|
+
<td>
|
|
904
|
+
No
|
|
905
|
+
</td>
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
</tr>
|
|
909
|
+
<tr>
|
|
910
|
+
<td>packageName</td>
|
|
911
|
+
<td>
|
|
912
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
913
|
+
</td>
|
|
914
|
+
|
|
915
|
+
<td>
|
|
916
|
+
No
|
|
917
|
+
</td>
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
</tr>
|
|
921
|
+
</tbody>
|
|
922
|
+
</table>
|
|
923
|
+
</div>
|
|
924
|
+
<div class="io-description">
|
|
925
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
926
|
+
|
|
927
|
+
</div>
|
|
928
|
+
<div class="io-description">
|
|
929
|
+
|
|
930
|
+
</div>
|
|
931
|
+
</td>
|
|
932
|
+
</tr>
|
|
933
|
+
</tbody>
|
|
934
|
+
</table>
|
|
854
935
|
</section>
|
|
855
936
|
<h3>src/lib/decorators/local-storage.ts</h3>
|
|
856
937
|
<section data-compodoc="block-methods">
|
package/compodoc/properties.html
CHANGED
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
</ol>
|
|
128
128
|
<ul class="properties-list">
|
|
129
129
|
<li>
|
|
130
|
-
<b>Version</b> : 22.0.0-dev.
|
|
130
|
+
<b>Version</b> : 22.0.0-dev.2</li>
|
|
131
131
|
<li>
|
|
132
132
|
<b>Description</b> : This package provides Angular services and decorators for interacting with web storage (localStorage and sessionStorage) and in-memory storage. It offers a simple way to manage data persistence with expiration options and provides decorators for binding class properties directly to storage values. The package includes services for local storage, session storage, and ephemeral (in-memory) storage.
|
|
133
133
|
</li>
|