mirror of https://github.com/zulip/zulip.git
page_params: Add property to zod object.
This commit is contained in:
parent
be91b41236
commit
796cc038c4
|
@ -35,6 +35,8 @@ const home_params_schema = default_params_schema
|
|||
corporate_enabled: z.boolean(),
|
||||
furthest_read_time: z.nullable(z.number()),
|
||||
is_spectator: z.boolean(),
|
||||
// `language_cookie_name` is only sent for spectators.
|
||||
language_cookie_name: z.optional(z.string()),
|
||||
language_list: z.array(
|
||||
z.object({
|
||||
code: z.string(),
|
||||
|
|
Loading…
Reference in New Issue