Rename view.timeout to view.timeout_seconds .
This commit is contained in:
+1
-10
@@ -371,16 +371,7 @@ const viewConfigSchema = z
|
||||
.enum(FRIGATE_CARD_VIEWS_USER_SPECIFIED)
|
||||
.optional()
|
||||
.default(viewConfigDefault.default),
|
||||
timeout: z
|
||||
.number()
|
||||
.or(
|
||||
z
|
||||
.string()
|
||||
.regex(/^\d+$/)
|
||||
.transform((val) => Number(val)),
|
||||
)
|
||||
.optional()
|
||||
.default(viewConfigDefault.timeout),
|
||||
timeout_seconds: z.number().default(viewConfigDefault.timeout),
|
||||
update_force: z.boolean().default(viewConfigDefault.update_force),
|
||||
update_entities: z.string().array().optional(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user