feat(core): add session form service (#34855)

This commit is contained in:
Aiden Cline
2026-07-02 17:15:18 -05:00
committed by GitHub
parent 460cdc5aec
commit 7ebd344fa2
67 changed files with 7884 additions and 5245 deletions
+5 -5
View File
@@ -1,12 +1,12 @@
import { expect, test } from "bun:test"
import type { V2SessionHistoryData } from "../src/v2/gen/types.gen"
import type { V2SessionLogData } from "../src/v2/gen/types.gen"
test("uses numeric Session history positions", () => {
test("uses numeric Session log positions", () => {
const input = {
path: { sessionID: "ses_test" },
query: { after: 1, limit: 50 },
url: "/api/session/{sessionID}/history",
} satisfies V2SessionHistoryData
query: { after: 1, follow: "false" },
url: "/api/session/{sessionID}/log",
} satisfies V2SessionLogData
expect(input.query.after).toBe(1)
})