Kim Alvefur
7cd2803161
util.datamapper: Add logic for "boolean" tags here the presence means true
2021-03-07 01:41:39 +01:00
Kim Alvefur
d20ea9b87e
util.datamapper: Invent extension for using tag name as value
...
Useful for certain enum-like uses where the element name is the relevant
information, e.g. chat states.
2021-03-06 23:14:23 +01:00
Kim Alvefur
d8e9e044f2
util.datamapper: Add 'unparse' for turning tables into XML
2021-03-07 00:57:36 +01:00
Kim Alvefur
081eb23c54
util.datamapper: Library for extracting data from stanzas
...
Based on the XML support in the OpenAPI specification.
2021-03-07 00:57:36 +01:00
Kim Alvefur
02da1378f8
util.jsonschema: Library for JSON Schema validation
2021-03-06 21:07:53 +01:00
Kim Alvefur
d7b1df42d3
util: Add Teal interface definition files
...
Enables writing code in Teal that is aware of the interfaces and
function prototypes in these other utils.
Could also be used to do type checks on Lua sources, but this tends to
have a lot of noise.
2021-03-09 14:36:46 +01:00