chore: remove unused playground row type (#5386)

Integrated into release/v3.8.42
This commit is contained in:
Jan Leon
2026-06-30 00:14:51 +02:00
committed by GitHub
parent 272fccc55c
commit 30cee54c16

View File

@@ -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", () => {