@propriety/court-calendar 1.0.147 → 1.0.148

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.
@@ -1,5 +1,11 @@
1
- import { CourtDate } from '../types';
1
+ import { Case, CourtDate } from '../types';
2
2
  export declare function isVillageDate(muniCode: string): boolean;
3
+ /**
4
+ * The index number that identifies a case for a court date in the given muni.
5
+ * Village dates use VillageSCARIndexNumber; we fall back to the town SCARIndexNumber
6
+ * when the village index is blank so we never display, send, or link an empty index.
7
+ */
8
+ export declare function caseIndexForMuni(muniCode: string, c: Pick<Case, 'SCARIndexNumber' | 'VillageSCARIndexNumber'>): string;
3
9
  /**
4
10
  * Returns a unique string key for a court date suitable for use in the allCases map.
5
11
  * Negotiation IDs and SCAR IDs come from separate auto-increment sequences and can