@adguard/agtree
Version:
Tool set for working with adblock filter lists
22 lines (20 loc) • 657 B
JavaScript
/*
* AGTree v3.2.4 (build date: Fri, 17 Oct 2025 14:48:54 GMT)
* (c) 2025 Adguard Software Ltd.
* Released under the MIT license
* https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree#readme
*/
/**
* Property map for binary serialization. This helps to reduce the size of the serialized data,
* as it allows us to use a single byte to represent a property.
*
* ! IMPORTANT: If you change values here, please update the {@link BINARY_SCHEMA_VERSION}!!
*
* @note Only 256 values can be represented this way.
*/
const InvalidRuleMarshallingMap = {
Error: 1,
Start: 2,
End: 3,
};
export { InvalidRuleMarshallingMap };