@propriety/court-calendar 1.0.181 → 1.0.182
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
|
@@ -3,7 +3,7 @@ export declare function isCaseSettled(c: Case, isVillage: boolean): boolean;
|
|
|
3
3
|
/**
|
|
4
4
|
* The case is waiting on a hearing officer's decision.
|
|
5
5
|
*
|
|
6
|
-
* `D` is written by
|
|
6
|
+
* `D` is written by court-calendar-api's nightly `set_past_cases_to_awaiting_decision` job, which
|
|
7
7
|
* stamps every hearing that has passed with no determination recorded. It is not a settled
|
|
8
8
|
* action, so none of the case-level filters can retire one — hence `showOutForDecision`.
|
|
9
9
|
*
|
package/dist/types.d.ts
CHANGED
|
@@ -223,7 +223,7 @@ export interface AdjournmentEntry {
|
|
|
223
223
|
/**
|
|
224
224
|
* Holds the originating CourtDateID, not a date, despite the name. The adjournment
|
|
225
225
|
* flows store the court date here so rows can be related back to it — see
|
|
226
|
-
* `get_adjournment_dates_by_court_date` in
|
|
226
|
+
* `get_adjournment_dates_by_court_date` in court-calendar-api. Don't "fix" this.
|
|
227
227
|
*/
|
|
228
228
|
HearingDate: number | null;
|
|
229
229
|
FirstChair: number | null;
|
package/package.json
CHANGED
|
@@ -564,7 +564,7 @@ describe('filterCourtDates — past negotiations', () => {
|
|
|
564
564
|
|
|
565
565
|
// ─── filterCourtDates — out for decision (showOutForDecision) ─────────────────
|
|
566
566
|
//
|
|
567
|
-
// 'D' is written by
|
|
567
|
+
// 'D' is written by court-calendar-api's nightly job on every past hearing with no determination
|
|
568
568
|
// recorded. It is not a settled action, so nothing else on this pipeline can retire one.
|
|
569
569
|
// DEFAULT_FILTER_CTX sets showOutForDecision TRUE suite-wide, so every test here states it.
|
|
570
570
|
|
package/src/helpers/cases.ts
CHANGED
|
@@ -20,7 +20,7 @@ export function isCaseSettled(c: Case, isVillage: boolean): boolean {
|
|
|
20
20
|
/**
|
|
21
21
|
* The case is waiting on a hearing officer's decision.
|
|
22
22
|
*
|
|
23
|
-
* `D` is written by
|
|
23
|
+
* `D` is written by court-calendar-api's nightly `set_past_cases_to_awaiting_decision` job, which
|
|
24
24
|
* stamps every hearing that has passed with no determination recorded. It is not a settled
|
|
25
25
|
* action, so none of the case-level filters can retire one — hence `showOutForDecision`.
|
|
26
26
|
*
|
package/src/helpers/filtering.ts
CHANGED
|
@@ -90,7 +90,7 @@ export function filterCourtDates(
|
|
|
90
90
|
return lastDay >= negCutoff;
|
|
91
91
|
})
|
|
92
92
|
// A date whose remaining cases are all waiting on a hearing officer's decision is
|
|
93
|
-
// waiting on the court, not on us.
|
|
93
|
+
// waiting on the court, not on us. court-calendar-api's nightly job stamps 'D' on every
|
|
94
94
|
// hearing that has passed with nothing recorded, and 'D' is not a settled action, so
|
|
95
95
|
// the case-level filters above can never retire one — the same shape of problem that
|
|
96
96
|
// `showPastNegotiations` solves for negotiations.
|
package/src/types.ts
CHANGED
|
@@ -271,7 +271,7 @@ export interface AdjournmentEntry {
|
|
|
271
271
|
/**
|
|
272
272
|
* Holds the originating CourtDateID, not a date, despite the name. The adjournment
|
|
273
273
|
* flows store the court date here so rows can be related back to it — see
|
|
274
|
-
* `get_adjournment_dates_by_court_date` in
|
|
274
|
+
* `get_adjournment_dates_by_court_date` in court-calendar-api. Don't "fix" this.
|
|
275
275
|
*/
|
|
276
276
|
HearingDate: number | null;
|
|
277
277
|
FirstChair: number | null;
|