@propriety/court-calendar 1.0.142 → 1.0.144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,4 +6,11 @@ export declare function hasCaseUnuploadedEvidence(c: Case): boolean;
6
6
  export declare function isSentOffer(n: NegotiationLog): boolean;
7
7
  export declare function hasCaseSentOffer(c: Case): boolean;
8
8
  export declare function isStipComplete(c: Case): boolean;
9
+ /**
10
+ * True when the case matches a free-text search term on any of its searchable fields
11
+ * (owner, address, parcel id, SCAR index number). An empty/whitespace term matches everything.
12
+ * This is the single source of truth for case-level search matching — shared by `filterCases`
13
+ * and the search-navigation logic so the two never drift.
14
+ */
15
+ export declare function caseMatchesSearchTerm(c: Case, term: string): boolean;
9
16
  export declare function filterCases(cases: Case[], filterCtx: CalendarFilterCtx, isVillage: boolean, selectedDate?: Date): Case[];