@noy-db/in-devtools 0.2.0-pre.24 → 0.2.0-pre.26
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/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -5
- package/dist/index.d.ts +15 -5
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -81,14 +81,14 @@ function meterSnapshot(meter) {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
// src/index.ts
|
|
84
|
-
function createInspector(
|
|
84
|
+
function createInspector(container, opts) {
|
|
85
85
|
return {
|
|
86
|
-
listVaults: () => listVaults(
|
|
86
|
+
listVaults: () => listVaults(container),
|
|
87
87
|
snapshot: (vault) => snapshot(vault),
|
|
88
88
|
records: (vault, collection, opts2) => records(vault, collection, opts2),
|
|
89
|
-
subscribe: (handler) => subscribe(
|
|
90
|
-
subscribeConflicts: (handler) => subscribeConflicts(
|
|
91
|
-
pendingWrites: () => pendingWrites(
|
|
89
|
+
subscribe: (handler) => subscribe(container, handler),
|
|
90
|
+
subscribeConflicts: (handler) => subscribeConflicts(container, handler),
|
|
91
|
+
pendingWrites: () => pendingWrites(container),
|
|
92
92
|
meterSnapshot: () => meterSnapshot(opts?.meter)
|
|
93
93
|
};
|
|
94
94
|
}
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/snapshot.ts","../src/records.ts","../src/events.ts","../src/meter.ts"],"sourcesContent":["import type { Vault } from '@noy-db/hub'\nimport type { Inspector,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/snapshot.ts","../src/records.ts","../src/events.ts","../src/meter.ts"],"sourcesContent":["import type { Vault } from '@noy-db/hub'\nimport type { Inspector, InspectableContainer, InspectorMeter } from './types.js'\nimport { listVaults, snapshot } from './snapshot.js'\nimport { records } from './records.js'\nimport { subscribe, subscribeConflicts, pendingWrites } from './events.js'\nimport { meterSnapshot } from './meter.js'\n\nexport function createInspector(container: InspectableContainer, opts?: { meter?: InspectorMeter }): Inspector {\n return {\n listVaults: () => listVaults(container),\n snapshot: (vault: Vault) => snapshot(vault),\n records: (vault, collection, opts) => records(vault, collection, opts),\n subscribe: (handler) => subscribe(container, handler),\n subscribeConflicts: (handler) => subscribeConflicts(container, handler),\n pendingWrites: () => pendingWrites(container),\n meterSnapshot: () => meterSnapshot(opts?.meter),\n }\n}\n\nexport type {\n Inspector,\n InspectableContainer,\n VaultInfo,\n InspectorSnapshot,\n InspectorCollection,\n RecordPage,\n InspectorWriteEvent,\n InspectorWriteConflict,\n PendingWrites,\n InspectorMeter,\n} from './types.js'\n","import type { Vault } from '@noy-db/hub'\nimport type { InspectorSnapshot, InspectorCollection, VaultInfo, InspectableContainer } from './types.js'\n\nexport async function listVaults(noydb: InspectableContainer): Promise<ReadonlyArray<VaultInfo>> {\n return noydb.listAccessibleVaults()\n}\n\nexport async function snapshot(vault: Vault): Promise<InspectorSnapshot> {\n // withStats populates per-collection record/byte stats; opaque to the store.\n const dump = await vault.dumpSchema({ withStats: true })\n // Omit `stats` when absent rather than setting it to `undefined` —\n // the repo's tsconfig sets `exactOptionalPropertyTypes`, so an optional\n // `stats?` field must be omitted, not explicitly undefined.\n const collections: InspectorCollection[] = Object.entries(dump.collections).map(([name, desc]) => ({\n name,\n fields: desc.fields,\n indexes: desc.indexes,\n refs: desc.refs,\n ...(desc.stats !== undefined ? { stats: desc.stats } : {}),\n }))\n return { vault: dump.vault, collections }\n}\n","import type { Vault } from '@noy-db/hub'\nimport type { RecordPage } from './types.js'\n\nconst DEFAULT_LIMIT = 50\nconst MAX_LIMIT = 500\n\nfunction clampLimit(n: number | undefined): number {\n if (n === undefined || Number.isNaN(n)) return DEFAULT_LIMIT\n return Math.max(1, Math.min(MAX_LIMIT, Math.floor(n)))\n}\n\nfunction clampOffset(n: number | undefined): number {\n if (n === undefined || Number.isNaN(n) || n < 0) return 0\n return Math.floor(n)\n}\n\nexport async function records(\n vault: Vault,\n collection: string,\n opts: { limit?: number; offset?: number } = {},\n): Promise<RecordPage> {\n const limit = clampLimit(opts.limit)\n const offset = clampOffset(opts.offset)\n // Eager collections only — `list()` throws on lazy (prefetch:false). The\n // error propagates to the caller, which decides how to surface it.\n const all = await vault.collection(collection).list()\n return {\n rows: all.slice(offset, offset + limit),\n total: all.length,\n limit,\n offset,\n }\n}\n","import type { InspectorWriteEvent, InspectorWriteConflict, PendingWrites, InspectableContainer } from './types.js'\n\nexport function subscribe(\n noydb: InspectableContainer,\n handler: (event: InspectorWriteEvent) => void,\n): () => void {\n return noydb.onAfterWrite(handler)\n}\n\nexport function pendingWrites(noydb: InspectableContainer): PendingWrites {\n const q = noydb.writeQueue\n return { pending: q.pending, depth: q.depth }\n}\n\nexport function subscribeConflicts(noydb: InspectableContainer, handler: (c: InspectorWriteConflict) => void): () => void {\n return noydb.onWriteConflict(handler)\n}\n","import type { InspectorMeter } from './types.js'\nimport type { MeterSnapshot } from '@noy-db/to-meter'\n\nexport function meterSnapshot(meter: InspectorMeter | undefined): MeterSnapshot | null {\n return meter ? meter.snapshot() : null\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACGA,eAAsB,WAAW,OAAgE;AAC/F,SAAO,MAAM,qBAAqB;AACpC;AAEA,eAAsB,SAAS,OAA0C;AAEvE,QAAM,OAAO,MAAM,MAAM,WAAW,EAAE,WAAW,KAAK,CAAC;AAIvD,QAAM,cAAqC,OAAO,QAAQ,KAAK,WAAW,EAAE,IAAI,CAAC,CAAC,MAAM,IAAI,OAAO;AAAA,IACjG;AAAA,IACA,QAAQ,KAAK;AAAA,IACb,SAAS,KAAK;AAAA,IACd,MAAM,KAAK;AAAA,IACX,GAAI,KAAK,UAAU,SAAY,EAAE,OAAO,KAAK,MAAM,IAAI,CAAC;AAAA,EAC1D,EAA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,UAAU,WAAW,OAAO;AAAA,IACpD,oBAAoB,CAAC,YAAY,mBAAmB,WAAW,OAAO;AAAA,IACtE,eAAe,MAAM,cAAc,SAAS;AAAA,IAC5C,eAAe,MAAM,cAAc,MAAM,KAAK;AAAA,EAChD;AACF;","names":["opts"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessibleVault, Vault,
|
|
1
|
+
import { AccessibleVault, Vault, WriteHook, Unsubscribe, WriteConflict, WriteQueue, CollectionDescriptor, CollectionStats, WriteEvent } from '@noy-db/hub';
|
|
2
2
|
import { MeterSnapshot } from '@noy-db/to-meter';
|
|
3
3
|
|
|
4
4
|
/** Minimal structural view of a to-meter handle the inspector reads (no runtime dep). */
|
|
@@ -54,11 +54,21 @@ interface Inspector {
|
|
|
54
54
|
/** Aggregate store-op latency snapshot, or null when the store is not metered. */
|
|
55
55
|
meterSnapshot(): MeterSnapshot | null;
|
|
56
56
|
}
|
|
57
|
-
/**
|
|
58
|
-
|
|
57
|
+
/**
|
|
58
|
+
* The container of vaults the inspector reads from. A `Noydb` satisfies this
|
|
59
|
+
* verbatim; a klum `VaultGroup` adapter conforms structurally — so the inspector
|
|
60
|
+
* works on a single instance OR a federation without importing either.
|
|
61
|
+
*/
|
|
62
|
+
interface InspectableContainer {
|
|
63
|
+
listAccessibleVaults(): Promise<readonly AccessibleVault[]>;
|
|
64
|
+
openVault(name: string): Promise<Vault>;
|
|
65
|
+
onAfterWrite(handler: WriteHook): Unsubscribe;
|
|
66
|
+
onWriteConflict(handler: (c: WriteConflict) => void): Unsubscribe;
|
|
67
|
+
readonly writeQueue: WriteQueue;
|
|
68
|
+
}
|
|
59
69
|
|
|
60
|
-
declare function createInspector(
|
|
70
|
+
declare function createInspector(container: InspectableContainer, opts?: {
|
|
61
71
|
meter?: InspectorMeter;
|
|
62
72
|
}): Inspector;
|
|
63
73
|
|
|
64
|
-
export { type Inspector, type InspectorCollection, type InspectorMeter, type InspectorSnapshot, type InspectorWriteConflict, type InspectorWriteEvent, type PendingWrites, type RecordPage, type VaultInfo, createInspector };
|
|
74
|
+
export { type InspectableContainer, type Inspector, type InspectorCollection, type InspectorMeter, type InspectorSnapshot, type InspectorWriteConflict, type InspectorWriteEvent, type PendingWrites, type RecordPage, type VaultInfo, createInspector };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessibleVault, Vault,
|
|
1
|
+
import { AccessibleVault, Vault, WriteHook, Unsubscribe, WriteConflict, WriteQueue, CollectionDescriptor, CollectionStats, WriteEvent } from '@noy-db/hub';
|
|
2
2
|
import { MeterSnapshot } from '@noy-db/to-meter';
|
|
3
3
|
|
|
4
4
|
/** Minimal structural view of a to-meter handle the inspector reads (no runtime dep). */
|
|
@@ -54,11 +54,21 @@ interface Inspector {
|
|
|
54
54
|
/** Aggregate store-op latency snapshot, or null when the store is not metered. */
|
|
55
55
|
meterSnapshot(): MeterSnapshot | null;
|
|
56
56
|
}
|
|
57
|
-
/**
|
|
58
|
-
|
|
57
|
+
/**
|
|
58
|
+
* The container of vaults the inspector reads from. A `Noydb` satisfies this
|
|
59
|
+
* verbatim; a klum `VaultGroup` adapter conforms structurally — so the inspector
|
|
60
|
+
* works on a single instance OR a federation without importing either.
|
|
61
|
+
*/
|
|
62
|
+
interface InspectableContainer {
|
|
63
|
+
listAccessibleVaults(): Promise<readonly AccessibleVault[]>;
|
|
64
|
+
openVault(name: string): Promise<Vault>;
|
|
65
|
+
onAfterWrite(handler: WriteHook): Unsubscribe;
|
|
66
|
+
onWriteConflict(handler: (c: WriteConflict) => void): Unsubscribe;
|
|
67
|
+
readonly writeQueue: WriteQueue;
|
|
68
|
+
}
|
|
59
69
|
|
|
60
|
-
declare function createInspector(
|
|
70
|
+
declare function createInspector(container: InspectableContainer, opts?: {
|
|
61
71
|
meter?: InspectorMeter;
|
|
62
72
|
}): Inspector;
|
|
63
73
|
|
|
64
|
-
export { type Inspector, type InspectorCollection, type InspectorMeter, type InspectorSnapshot, type InspectorWriteConflict, type InspectorWriteEvent, type PendingWrites, type RecordPage, type VaultInfo, createInspector };
|
|
74
|
+
export { type InspectableContainer, type Inspector, type InspectorCollection, type InspectorMeter, type InspectorSnapshot, type InspectorWriteConflict, type InspectorWriteEvent, type PendingWrites, type RecordPage, type VaultInfo, createInspector };
|
package/dist/index.js
CHANGED
|
@@ -55,14 +55,14 @@ function meterSnapshot(meter) {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
// src/index.ts
|
|
58
|
-
function createInspector(
|
|
58
|
+
function createInspector(container, opts) {
|
|
59
59
|
return {
|
|
60
|
-
listVaults: () => listVaults(
|
|
60
|
+
listVaults: () => listVaults(container),
|
|
61
61
|
snapshot: (vault) => snapshot(vault),
|
|
62
62
|
records: (vault, collection, opts2) => records(vault, collection, opts2),
|
|
63
|
-
subscribe: (handler) => subscribe(
|
|
64
|
-
subscribeConflicts: (handler) => subscribeConflicts(
|
|
65
|
-
pendingWrites: () => pendingWrites(
|
|
63
|
+
subscribe: (handler) => subscribe(container, handler),
|
|
64
|
+
subscribeConflicts: (handler) => subscribeConflicts(container, handler),
|
|
65
|
+
pendingWrites: () => pendingWrites(container),
|
|
66
66
|
meterSnapshot: () => meterSnapshot(opts?.meter)
|
|
67
67
|
};
|
|
68
68
|
}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/snapshot.ts","../src/records.ts","../src/events.ts","../src/meter.ts","../src/index.ts"],"sourcesContent":["import type { Vault } from '@noy-db/hub'\nimport type { InspectorSnapshot, InspectorCollection, VaultInfo,
|
|
1
|
+
{"version":3,"sources":["../src/snapshot.ts","../src/records.ts","../src/events.ts","../src/meter.ts","../src/index.ts"],"sourcesContent":["import type { Vault } from '@noy-db/hub'\nimport type { InspectorSnapshot, InspectorCollection, VaultInfo, InspectableContainer } from './types.js'\n\nexport async function listVaults(noydb: InspectableContainer): Promise<ReadonlyArray<VaultInfo>> {\n return noydb.listAccessibleVaults()\n}\n\nexport async function snapshot(vault: Vault): Promise<InspectorSnapshot> {\n // withStats populates per-collection record/byte stats; opaque to the store.\n const dump = await vault.dumpSchema({ withStats: true })\n // Omit `stats` when absent rather than setting it to `undefined` —\n // the repo's tsconfig sets `exactOptionalPropertyTypes`, so an optional\n // `stats?` field must be omitted, not explicitly undefined.\n const collections: InspectorCollection[] = Object.entries(dump.collections).map(([name, desc]) => ({\n name,\n fields: desc.fields,\n indexes: desc.indexes,\n refs: desc.refs,\n ...(desc.stats !== undefined ? { stats: desc.stats } : {}),\n }))\n return { vault: dump.vault, collections }\n}\n","import type { Vault } from '@noy-db/hub'\nimport type { RecordPage } from './types.js'\n\nconst DEFAULT_LIMIT = 50\nconst MAX_LIMIT = 500\n\nfunction clampLimit(n: number | undefined): number {\n if (n === undefined || Number.isNaN(n)) return DEFAULT_LIMIT\n return Math.max(1, Math.min(MAX_LIMIT, Math.floor(n)))\n}\n\nfunction clampOffset(n: number | undefined): number {\n if (n === undefined || Number.isNaN(n) || n < 0) return 0\n return Math.floor(n)\n}\n\nexport async function records(\n vault: Vault,\n collection: string,\n opts: { limit?: number; offset?: number } = {},\n): Promise<RecordPage> {\n const limit = clampLimit(opts.limit)\n const offset = clampOffset(opts.offset)\n // Eager collections only — `list()` throws on lazy (prefetch:false). The\n // error propagates to the caller, which decides how to surface it.\n const all = await vault.collection(collection).list()\n return {\n rows: all.slice(offset, offset + limit),\n total: all.length,\n limit,\n offset,\n }\n}\n","import type { InspectorWriteEvent, InspectorWriteConflict, PendingWrites, InspectableContainer } from './types.js'\n\nexport function subscribe(\n noydb: InspectableContainer,\n handler: (event: InspectorWriteEvent) => void,\n): () => void {\n return noydb.onAfterWrite(handler)\n}\n\nexport function pendingWrites(noydb: InspectableContainer): PendingWrites {\n const q = noydb.writeQueue\n return { pending: q.pending, depth: q.depth }\n}\n\nexport function subscribeConflicts(noydb: InspectableContainer, handler: (c: InspectorWriteConflict) => void): () => void {\n return noydb.onWriteConflict(handler)\n}\n","import type { InspectorMeter } from './types.js'\nimport type { MeterSnapshot } from '@noy-db/to-meter'\n\nexport function meterSnapshot(meter: InspectorMeter | undefined): MeterSnapshot | null {\n return meter ? meter.snapshot() : null\n}\n","import type { Vault } from '@noy-db/hub'\nimport type { Inspector, InspectableContainer, InspectorMeter } from './types.js'\nimport { listVaults, snapshot } from './snapshot.js'\nimport { records } from './records.js'\nimport { subscribe, subscribeConflicts, pendingWrites } from './events.js'\nimport { meterSnapshot } from './meter.js'\n\nexport function createInspector(container: InspectableContainer, opts?: { meter?: InspectorMeter }): Inspector {\n return {\n listVaults: () => listVaults(container),\n snapshot: (vault: Vault) => snapshot(vault),\n records: (vault, collection, opts) => records(vault, collection, opts),\n subscribe: (handler) => subscribe(container, handler),\n subscribeConflicts: (handler) => subscribeConflicts(container, handler),\n pendingWrites: () => pendingWrites(container),\n meterSnapshot: () => meterSnapshot(opts?.meter),\n }\n}\n\nexport type {\n Inspector,\n InspectableContainer,\n VaultInfo,\n InspectorSnapshot,\n InspectorCollection,\n RecordPage,\n InspectorWriteEvent,\n InspectorWriteConflict,\n PendingWrites,\n InspectorMeter,\n} from './types.js'\n"],"mappings":";AAGA,eAAsB,WAAW,OAAgE;AAC/F,SAAO,MAAM,qBAAqB;AACpC;AAEA,eAAsB,SAAS,OAA0C;AAEvE,QAAM,OAAO,MAAM,MAAM,WAAW,EAAE,WAAW,KAAK,CAAC;AAIvD,QAAM,cAAqC,OAAO,QAAQ,KAAK,WAAW,EAAE,IAAI,CAAC,CAAC,MAAM,IAAI,OAAO;AAAA,IACjG;AAAA,IACA,QAAQ,KAAK;AAAA,IACb,SAAS,KAAK;AAAA,IACd,MAAM,KAAK;AAAA,IACX,GAAI,KAAK,UAAU,SAAY,EAAE,OAAO,KAAK,MAAM,IAAI,CAAC;AAAA,EAC1D,EAAE;AACF,SAAO,EAAE,OAAO,KAAK,OAAO,YAAY;AAC1C;;;AClBA,IAAM,gBAAgB;AACtB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IACtE,eAAe,MAAM,cAAc,SAAS;AAAA,IAC5C,eAAe,MAAM,cAAc,MAAM,KAAK;AAAA,EAChD;AACF;","names":["opts"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noy-db/in-devtools",
|
|
3
|
-
"version": "0.2.0-pre.
|
|
3
|
+
"version": "0.2.0-pre.26",
|
|
4
4
|
"description": "Framework-agnostic read-only inspector for a live noy-db — vaults, collections, schema, stats, records, and live writes.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@noy-db/hub": "0.2.0-pre.
|
|
26
|
+
"@noy-db/hub": "0.2.0-pre.26"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@noy-db/hub": "0.2.0-pre.
|
|
30
|
-
"@noy-db/to-meter": "0.2.0-pre.
|
|
29
|
+
"@noy-db/hub": "0.2.0-pre.26",
|
|
30
|
+
"@noy-db/to-meter": "0.2.0-pre.26"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "tsup",
|