stratagate-dsh 0.2.39 → 0.2.40

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.js CHANGED
@@ -7693,9 +7693,9 @@ async function dashboard(runtime, url, ifNoneMatch) {
7693
7693
  return target;
7694
7694
  };
7695
7695
  const [eventResult, graphResult, blockResult, auditResult] = await Promise.all([
7696
- memories(snapshotRuntime, memoryUrl("events", "200")),
7696
+ memories(snapshotRuntime, memoryUrl("events", "40")),
7697
7697
  memories(snapshotRuntime, memoryUrl("graph")),
7698
- memories(snapshotRuntime, memoryUrl("blocks", "200")),
7698
+ memories(snapshotRuntime, memoryUrl("blocks", "40")),
7699
7699
  audit(snapshotRuntime, memoryUrl("audit", "100"))
7700
7700
  ]);
7701
7701
  const selectedOverview = overviewValue.namespaces?.find(({ namespace }) => namespace === selected.namespace);
@@ -7714,7 +7714,12 @@ async function dashboard(runtime, url, ifNoneMatch) {
7714
7714
  openBlock: blockResult.openBlock ?? null,
7715
7715
  conversations: blockResult.conversations ?? [],
7716
7716
  activeThreadId: blockResult.activeThreadId ?? null,
7717
- audit: auditResult.items ?? []
7717
+ audit: auditResult.items ?? [],
7718
+ pagination: {
7719
+ events: { total: eventResult.total ?? 0, offset: eventResult.offset ?? 0, limit: eventResult.limit ?? 40 },
7720
+ blocks: { total: blockResult.total ?? 0, offset: blockResult.offset ?? 0, limit: blockResult.limit ?? 40 },
7721
+ audit: { total: auditResult.total ?? 0, offset: auditResult.offset ?? 0, limit: auditResult.limit ?? 100 }
7722
+ }
7718
7723
  }
7719
7724
  }
7720
7725
  };