mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(AdminSchemas): partial schema instead of optional (#1191)
This commit is contained in:
1 parent
45d539fc3a
commit
f26a3b3ed2
1 file changed
+1
-1
@@ -1428,7 +1428,7 @@ export const LimitConfigGetResponse = z.object({
|
||||
}),
|
||||
limit_config_json: z.string(),
|
||||
self_hosted: z.boolean(),
|
||||
defaults: z.record(z.string(), z.record(LimitKeySchema, z.number().optional())),
|
||||
defaults: z.record(z.string(), z.partialRecord(LimitKeySchema, z.number())),
|
||||
metadata: z.record(LimitKeySchema, LimitKeyMetadataSchema),
|
||||
categories: z.record(z.string(), z.string()),
|
||||
limit_keys: z.array(z.string()),
|
||||
|
||||
Reference in new issue
Block a user