Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
state_data: Move comments back to the correct declarations.
Anders Kaseorg9b7f17eb72e2
diff --git a/web/src/state_data.ts b/web/src/state_data.tsindex ce646d5622c..f049050e08f 100644--- a/web/src/state_data.ts+++ b/web/src/state_data.ts@@ -19,7 +19,6 @@ export const narrow_term_schema = z.object({operand: z.string(),});export type NarrowTerm = z.output<typeof narrow_term_schema>;-// Sync this with zerver.lib.events.do_events_register.export const custom_profile_field_schema = z.object({display_in_profile_summary: z.optional(z.boolean()),@@ -34,6 +33,7 @@ export const custom_profile_field_schema = z.object({export type CustomProfileField = z.output<typeof custom_profile_field_schema>;+// Sync this with zerver.lib.events.do_events_register.export const current_user_schema = z.object({avatar_source: z.string(),delivery_email: z.string(),@@ -45,8 +45,8 @@ export const current_user_schema = z.object({is_owner: z.boolean(),user_id: z.number(),});-// Sync this with zerver.lib.events.do_events_register.+// Sync this with zerver.lib.events.do_events_register.export const realm_schema = z.object({custom_profile_fields: z.array(custom_profile_field_schema),custom_profile_field_types: z.object({