# HG changeset patch # User Kim Alvefur # Date 1728817174 -7200 # Node ID 14c1d6c7ac2d3becc8b02c2ae8b014385a53c849 # Parent 488483e1d915ecc17dde510c09c1a155ea19c908 util.stanza: Update Teal interface for tl 0.24.0 diff -r 488483e1d915 -r 14c1d6c7ac2d teal-src/prosody/util/stanza.d.tl --- a/teal-src/prosody/util/stanza.d.tl Fri Apr 18 12:25:38 2025 +0100 +++ b/teal-src/prosody/util/stanza.d.tl Sun Oct 13 12:59:34 2024 +0200 @@ -37,10 +37,9 @@ "unexpected-request" end - record stanza_t + record stanza_t is { stanza_t | string } name : string attr : { string : string } - { stanza_t | string } tags : { stanza_t } query : function ( stanza_t, string ) : stanza_t @@ -77,10 +76,9 @@ indent : function ( stanza_t, integer, string ) : stanza_t end - record serialized_stanza_t + record serialized_stanza_t is { serialized_stanza_t | string } name : string attr : { string : string } - { serialized_stanza_t | string } end record message_attr