Skip to content

Commit 8c9ac6d

Browse files
committed
chore(gateway): satisfy knip and typed-test lanes for catalog snapshot
1 parent a37c55f commit 8c9ac6d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/gateway/server-methods/session-catalog-entry-snapshot.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { normalizeAgentId, resolveAgentIdFromSessionKey } from "../../routing/se
1313
import { resolveStoredSessionKeyForAgentStore } from "../session-store-key.js";
1414
import { projectSessionActor } from "../session-utils-row.js";
1515

16-
export type SessionCatalogRequestEntrySnapshot = {
16+
type SessionCatalogRequestEntrySnapshot = {
1717
sessionEntries: SessionCatalogEntrySnapshot;
1818
projectHostCreatedActors: (host: SessionCatalogHost) => SessionCatalogHost;
1919
};

‎src/gateway/server-methods/session-catalog.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ describe("session catalog Gateway methods", () => {
265265
list: vi.fn(async ({ sessionEntries }) => {
266266
const adopted = sessionEntries
267267
?.entriesForAgent("main")
268-
.find((candidate) => candidate.sessionKey === sessionKey);
268+
.find((candidate: { sessionKey: string }) => candidate.sessionKey === sessionKey);
269269
return [
270270
{
271271
hostId: `gateway:${id}`,

0 commit comments

Comments
 (0)