Variable: QueryEventSchema
constQueryEventSchema:ZodObject<{attachment_id:ZodOptional<ZodString>;conversation_id:ZodOptional<ZodString>;description:ZodOptional<ZodString>;message_id:ZodOptional<ZodString>;space_id:ZodString;sql:ZodString;title:ZodOptional<ZodString>;type:ZodLiteral<"query">; },$strip>
SQL was finalized on a query attachment
(attachments[i].query.query). Fires once when the SQL string
transitions from undefined to defined, and again if Genie ever
rewrites it. title and description are denormalised off the
attachment’s query.title / query.description so consumers
can label the SQL pill without re-walking the message.