qdadm 0.41.1 → 0.42.0
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/package.json +1 -1
- package/src/debug/EntitiesCollector.js +1 -1
- package/src/entity/storage/ApiStorage.js +2 -0
- package/src/entity/storage/LocalStorage.js +2 -0
- package/src/entity/storage/MemoryStorage.js +2 -0
- package/src/entity/storage/MockApiStorage.js +2 -0
- package/src/entity/storage/SdkStorage.js +2 -0
- package/src/security/RoleGranterStorage.js +6 -0
package/package.json
CHANGED
|
@@ -229,7 +229,7 @@ export class EntitiesCollector extends Collector {
|
|
|
229
229
|
// Storage info
|
|
230
230
|
// Prefer instance capabilities (may include requiresAuth) over static ones
|
|
231
231
|
storage: {
|
|
232
|
-
type: storage?.constructor?.name || 'None',
|
|
232
|
+
type: storage?.constructor?.storageName || storage?.constructor?.name || 'None',
|
|
233
233
|
endpoint: storage?.endpoint || storage?._endpoint || null,
|
|
234
234
|
capabilities: storage?.capabilities || storage?.constructor?.capabilities || {}
|
|
235
235
|
},
|
|
@@ -21,6 +21,8 @@ import { IStorage } from './IStorage.js'
|
|
|
21
21
|
* localStorage key pattern: mockapi_${entityName}_data
|
|
22
22
|
*/
|
|
23
23
|
export class MockApiStorage extends IStorage {
|
|
24
|
+
static storageName = 'MockApiStorage'
|
|
25
|
+
|
|
24
26
|
/**
|
|
25
27
|
* Storage capabilities declaration.
|
|
26
28
|
* Describes what features this storage adapter supports.
|
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
export class RoleGranterStorage {
|
|
9
|
+
/**
|
|
10
|
+
* Storage name for debug display (survives minification)
|
|
11
|
+
* @type {string}
|
|
12
|
+
*/
|
|
13
|
+
static storageName = 'RoleGranterStorage'
|
|
14
|
+
|
|
9
15
|
/**
|
|
10
16
|
* Static capabilities (standard storage pattern)
|
|
11
17
|
* @type {import('../entity/storage/index.js').StorageCapabilities}
|