@propriety/court-calendar 1.0.11 → 1.0.12
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.
package/dist/helpers/cases.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Case } from '../types';
|
|
1
|
+
import { CalendarFilterCtx, Case } from '../types';
|
|
2
2
|
export declare function searchByCaseTerm(term: string, apiKey: string): AsyncGenerator<any, void, unknown>;
|
|
3
3
|
export declare function fetchCasesByCourtDate(id: string, apiKey: string): Promise<Case[]>;
|
|
4
4
|
export declare function fetchAllCasesPaginated(apiKey: string, pageSize?: number): AsyncGenerator<Record<string, Case[]>, void, unknown>;
|
|
5
5
|
export declare function isCaseSettled(c: Case, isVillage: boolean): boolean;
|
|
6
6
|
export declare function isCaseMissingEvidence(c: Case): boolean;
|
|
7
|
+
export declare function filterCases(cases: Case[], filterCtx: CalendarFilterCtx, isVillage: boolean): Case[];
|