@rr0/cms
Version:
RR0 Content Management System (CMS)
16 lines (15 loc) • 473 B
TypeScript
import { UfoCaseFilter } from "./UfoCaseFilter.js";
import { RR0Context } from "../../RR0Context.js";
export declare abstract class ContextFilter<T> implements UfoCaseFilter<T> {
protected context: RR0Context;
/**
* @param context The context to match
* @protected
*/
protected constructor(context: RR0Context);
/**
* @param ufoCase
* @return if that UFO case matches the filter.
*/
abstract filter(ufoCase: T): boolean;
}