mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-03 05:45:04 +03:00
chore: remove unused playground row type (#5401)
Integrated into release/v3.8.42
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user