mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
fix(schema): make defaults values optional in LimitConfigGetResponse (#1184)
Signed-off-by: Hampus Kraft <[email protected]>
This commit is contained in:
1 parent
6d537ef0db
commit
e43b39d630
1 file changed
+1
-1
@@ -1428,7 +1428,7 @@ export const LimitConfigGetResponse = z.object({
|
|||||||
}),
|
}),
|
||||||
limit_config_json: z.string(),
|
limit_config_json: z.string(),
|
||||||
self_hosted: z.boolean(),
|
self_hosted: z.boolean(),
|
||||||
defaults: z.record(z.string(), z.record(LimitKeySchema, z.number())),
|
defaults: z.record(z.string(), z.record(LimitKeySchema, z.number().optional())),
|
||||||
metadata: z.record(LimitKeySchema, LimitKeyMetadataSchema),
|
metadata: z.record(LimitKeySchema, LimitKeyMetadataSchema),
|
||||||
categories: z.record(z.string(), z.string()),
|
categories: z.record(z.string(), z.string()),
|
||||||
limit_keys: z.array(z.string()),
|
limit_keys: z.array(z.string()),
|
||||||
|
|||||||
Reference in new issue
Block a user