]>
git.ipfire.org Git - thirdparty/rspamd.git/commit
[Minor] Migrate lualib/lua_selectors/extractors.lua to lua_shape
Replace tableshape with lua_shape in selector extractors (final migration).
Changes:
- ts.string, ts.number, ts.boolean → T.string(), T.number(), T.boolean()
- ts.array_of(x), ts.one_of({...}) → T.array(x), T.enum({...})
- ts.shape → T.table
- ts.pattern → T.string():with_pattern
- :is_optional() → :optional()
Complex schemas updated including specific_urls with nested options,
url_flags arrays, and header extractors with pattern matching.