From 30cee54c16621bed97aaf800ec0b90d5b2b215e5 Mon Sep 17 00:00:00 2001 From: Jan Leon Date: Tue, 30 Jun 2026 00:14:51 +0200 Subject: [PATCH] chore: remove unused playground row type (#5386) Integrated into release/v3.8.42 --- tests/unit/playground-schemas.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/unit/playground-schemas.test.ts b/tests/unit/playground-schemas.test.ts index 8fe263c64e..23ea3e7c64 100644 --- a/tests/unit/playground-schemas.test.ts +++ b/tests/unit/playground-schemas.test.ts @@ -12,6 +12,16 @@ const { StreamMetricsSchema, } = await import("../../src/shared/schemas/playground.ts"); +test("playground schema module keeps runtime schemas exported", () => { + assert.equal(typeof PlaygroundPresetRowSchema.safeParse, "function"); + assert.equal(typeof PlaygroundPresetCreateSchema.safeParse, "function"); + assert.equal(typeof PlaygroundPresetUpdateSchema.safeParse, "function"); + assert.equal(typeof PlaygroundPresetListItemSchema.safeParse, "function"); + assert.equal(typeof ToolDefinitionSchema.safeParse, "function"); + assert.equal(typeof StructuredOutputSchema.safeParse, "function"); + assert.equal(typeof StreamMetricsSchema.safeParse, "function"); +}); + // ── PlaygroundPresetRowSchema ────────────────────────────────────────────────── test("PlaygroundPresetRowSchema: valid row parses correctly", () => {