style: apply biome lint fixes to catalog files and live repair tests

This commit is contained in:
openhands
2026-09-10 11:32:20 +02:00
parent 3e69b72513
commit acbe54fcb7
5 changed files with 23 additions and 21 deletions
+8 -2
View File
@@ -1,6 +1,10 @@
import { z } from "zod";
import { CatalogInputError } from "./hierarchy";
import { EMULATOR_POINTS_TYPES, offerIdSchema, offerInteger } from "./offer-input";
import {
EMULATOR_POINTS_TYPES,
offerIdSchema,
offerInteger,
} from "./offer-input";
const priceChange = z
.object({
@@ -27,7 +31,9 @@ export const bulkOfferChangesSchema = z
.refine(
(v) =>
v.pointsType === undefined ||
EMULATOR_POINTS_TYPES.includes(v.pointsType as (typeof EMULATOR_POINTS_TYPES)[number]),
EMULATOR_POINTS_TYPES.includes(
v.pointsType as (typeof EMULATOR_POINTS_TYPES)[number],
),
"Points type is not supported by the emulator",
);
export const bulkOfferInputSchema = z