chore: remove unused playground row type (#5401)

Integrated into release/v3.8.42
This commit is contained in:
Jan Leon
2026-06-30 00:14:15 +02:00
committed by GitHub
parent 898e8d0fb4
commit 537b565da2
2 changed files with 1 additions and 1 deletions

View File

@@ -11,7 +11,6 @@ export const PlaygroundPresetRowSchema = z.object({
params_json: z.string(), // JSON serializado (parsed na rota)
created_at: z.string().datetime(),
});
export type PlaygroundPresetRow = z.infer<typeof PlaygroundPresetRowSchema>;
/** Body de POST /api/playground/presets. */
export const PlaygroundPresetCreateSchema = z.object({

View File

@@ -30,6 +30,7 @@ test("PlaygroundPresetRowSchema: valid row parses correctly", () => {
assert.equal(result.data.id, row.id);
assert.equal(result.data.name, row.name);
assert.equal(result.data.system, "You are helpful.");
assert.equal(result.data.params_json, row.params_json);
}
});