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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qdadm",
3
- "version": "0.41.1",
3
+ "version": "0.42.0",
4
4
  "description": "Vue 3 framework for admin dashboards with PrimeVue",
5
5
  "author": "quazardous",
6
6
  "license": "MIT",
@@ -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
  },
@@ -23,6 +23,8 @@ import { IStorage } from './IStorage.js'
23
23
  * ```
24
24
  */
25
25
  export class ApiStorage extends IStorage {
26
+ static storageName = 'ApiStorage'
27
+
26
28
  /**
27
29
  * Storage capabilities declaration.
28
30
  * Describes what features this storage adapter supports.
@@ -20,6 +20,8 @@ import { IStorage } from './IStorage.js'
20
20
  * ```
21
21
  */
22
22
  export class LocalStorage extends IStorage {
23
+ static storageName = 'LocalStorage'
24
+
23
25
  /**
24
26
  * Storage capabilities declaration.
25
27
  * Describes what features this storage adapter supports.
@@ -20,6 +20,8 @@ import { IStorage } from './IStorage.js'
20
20
  * ```
21
21
  */
22
22
  export class MemoryStorage extends IStorage {
23
+ static storageName = 'MemoryStorage'
24
+
23
25
  /**
24
26
  * Storage capabilities declaration.
25
27
  * Describes what features this storage adapter supports.
@@ -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.
@@ -96,6 +96,8 @@ import { IStorage } from './IStorage.js'
96
96
  * ```
97
97
  */
98
98
  export class SdkStorage extends IStorage {
99
+ static storageName = 'SdkStorage'
100
+
99
101
  /**
100
102
  * Storage capabilities declaration
101
103
  * @type {import('./index.js').StorageCapabilities}
@@ -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}