Skip to content

Commit

Permalink
10434: Fix Typing errors;
Browse files Browse the repository at this point in the history
  • Loading branch information
John Cruz committed Dec 9, 2024
1 parent 6aa4fdd commit d48c875
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import {
PreviousTerm,
TrialLocationData,
} from '@web-api/business/useCases/trialSessions/getTrialSessionPlanningReportDataInteractor';
import { applicationContext } from '../../test/createTestApplicationContext';
import { generateAndVerifyPdfDiff } from './generateAndVerifyPdfDiff';
import { trialSessionPlanningReport } from './trialSessionPlanningReport';
Expand All @@ -13,38 +17,42 @@ describe('trialSessionPlanningReport', () => {
locationData: [
{
allCaseCount: 5,
blockedCaseCount: 0,
previousTermsData: [['(S) Buch', '(R) Cohen'], [], []],
regularCaseCount: 3,
smallCaseCount: 2,
specialCaseCount: 0,
stateAbbreviation: 'AR',
trialCityState: 'Little Rock, AR',
},
{
allCaseCount: 2,
blockedCaseCount: 0,
previousTermsData: [[], ['(HS) Colvin'], ['(H) Guy']],
regularCaseCount: 1,
smallCaseCount: 1,
specialCaseCount: 0,
stateAbbreviation: 'AL',
trialCityState: 'Mobile, AL',
},
],
] as TrialLocationData[],
previousTerms: [
{
name: 'fall',
term: 'fall',
termDisplay: 'Fall 2019',
year: '2019',
year: 2019,
},
{
name: 'spring',
term: 'spring',
termDisplay: 'Spring 2019',
year: '2019',
year: 2019,
},
{
name: 'winter',
term: 'winter',
termDisplay: 'Winter 2019',
year: '2019',
year: 2019,
},
],
] as PreviousTerm[],
term: 'Winter 2020',
},
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ClientApplicationContext } from '@web-client/applicationContext';
import {
PreviousTerm,
TrialLocationData,
} from '@web-api/business/useCases/trialSessions/runTrialSessionPlanningReportInteractor';
} from '@web-api/business/useCases/trialSessions/getTrialSessionPlanningReportDataInteractor';
import { get } from '../requests';

export const getTrialSessionPlanningReportDataInteractor = (
Expand Down
6 changes: 4 additions & 2 deletions web-client/src/presenter/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ import {
import { IrsNoticeForm } from '@shared/business/entities/startCase/IrsNoticeForm';
import { JudgeActivityReportState } from '@web-client/ustc-ui/Utils/types';
import { JudgeChambersInfo } from '@web-client/presenter/actions/getJudgesChambersAction';
import { PreviousTerm } from '@web-api/business/useCases/trialSessions/runTrialSessionPlanningReportInteractor';
import {
PreviousTerm,
TrialLocationData,
} from '@web-api/business/useCases/trialSessions/getTrialSessionPlanningReportDataInteractor';
import { RawCaseDeadline } from '@shared/business/entities/CaseDeadline';
import { RawMessage } from '@shared/business/entities/Message';
import { RawUser, UserContact } from '@shared/business/entities/User';
import { TAssociatedCase } from '@shared/business/useCases/getCasesForUserInteractor';
import { TrialLocationData } from '@web-api/business/useCases/trialSessions/getTrialSessionPlanningReportDataInteractor';
import { TroubleshootingLinkInfo } from '@web-client/presenter/sequences/showFileUploadErrorModalSequence';
import { addCourtIssuedDocketEntryHelper } from './computeds/addCourtIssuedDocketEntryHelper';
import { addCourtIssuedDocketEntryNonstandardHelper } from './computeds/addCourtIssuedDocketEntryNonstandardHelper';
Expand Down

0 comments on commit d48c875

Please sign in to comment.