Stats + adatpt OutsideEnrollment for new tracker (clean arch) #51
Annotations
10 errors
src/data/D2Tracker.ts#L104
Argument of type '{ page: number; pageSize: number; ouMode: "ALL" | "SELECTED"; orgUnit: string | undefined; fields: { $all: true; }; program: string; trackedEntity: string | undefined; }' is not assignable to parameter of type 'TrackerTrackedEntitiesParams<{ $all: true; }>'.
|
src/data/D2Tracker.ts#L105
Argument of type '{ page: number; pageSize: number; ouMode: "ALL" | "SELECTED"; orgUnit: string | undefined; fields: { $all: true; }; program: string; trackedEntity: string | undefined; }' is not assignable to parameter of type 'TrackerEnrollmentsParams<{ $all: true; }>'.
|
src/data/D2Tracker.ts#L106
Argument of type '{ page: number; pageSize: number; ouMode: "ALL" | "SELECTED"; orgUnit: string | undefined; fields: { $all: true; }; program: string; trackedEntity: string | undefined; }' is not assignable to parameter of type 'EventsParams<{ $all: true; }>'.
|
src/data/D2Tracker.ts#L134
Type 'TrackedEntitiesGetResponse' is not generic.
|
src/data/D2Tracker.ts#L135
Type 'TrackerEnrollmentsResponse' is not generic.
|
src/data/D2Tracker.ts#L136
Type 'TrackerEventsResponse' is not generic.
|
src/data/ProgramEventsD2Repository.ts#L38
Type 'TrackerEventsResponse' is not generic.
|
src/data/ProgramEventsD2Repository.ts#L211
Parameter 'dv' implicitly has an 'any' type.
|
src/data/ProgramsD2Repository.ts#L12
'"@eyeseetea/d2-api/api/trackerEnrollments"' has no exported member named 'D2TrackerEnrollmentToPost'. Did you mean 'D2TrackerEnrollmentSchema'?
|
src/data/ProgramsD2Repository.ts#L13
Module '"@eyeseetea/d2-api/api/trackerEvents"' has no exported member 'D2TrackerEventToPost'.
|
This job failed
Loading