Currently, in modifiers compatibility table, we list possible values for redirect: https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/agtree/src/compatibility-tables/modifiers/redirect.yml and https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/agtree/src/compatibility-tables/modifiers/redirect-rule.yml
However, we have a separate compatibility table for redirect resources: https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree/src/compatibility-tables/redirects
We should came up with a new value validator for redirects which based on the redirects compatibility tables, e.g. redirect_resource_for:<platforms_selector>
adg_os_any:
name: redirect
description: Used to redirect web requests to a local "resource".
# ...
value_format: redirect_resource_for:adg_os_any
Currently, in modifiers compatibility table, we list possible values for redirect: https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/agtree/src/compatibility-tables/modifiers/redirect.yml and https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/agtree/src/compatibility-tables/modifiers/redirect-rule.yml
However, we have a separate compatibility table for redirect resources: https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree/src/compatibility-tables/redirects
We should came up with a new value validator for redirects which based on the redirects compatibility tables, e.g.
redirect_resource_for:<platforms_selector>