import { getMetadataFromDecorator } from '../utils.js';
/** Registers a named filter on an entity class (TC39 decorator). */
export function Filter(options) {
  return function (target) {
    const meta = getMetadataFromDecorator(target);
    meta.filters[options.name] = options;
  };
}
