deep research addressement
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { object, string, minLength, optional, number, picklist } from "valibot";
|
||||
import { object, string, minLength, optional, number, picklist, boolean } from "valibot";
|
||||
|
||||
export const PersonalInfoSchema = object({
|
||||
fullName: string([minLength(1)]),
|
||||
@@ -35,3 +35,17 @@ export const RemovalRequestsFilterSchema = object({
|
||||
page: optional(number(), 1),
|
||||
limit: optional(number(), 20),
|
||||
});
|
||||
|
||||
export const EnableAdapterSchema = object({
|
||||
brokerId: string([minLength(1)]),
|
||||
});
|
||||
|
||||
export const ReScanConfigSchema = object({
|
||||
cooldownDays: optional(number(), 7),
|
||||
batchSize: optional(number(), 50),
|
||||
autoReSubmit: optional(boolean(), true),
|
||||
});
|
||||
|
||||
export const CostHistorySchema = object({
|
||||
months: optional(number(), 6),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user