@@ -11,7 +11,6 @@ import type { Model } from '@douglasneuroinformatics/libnest';
1111import { linearRegression } from '@douglasneuroinformatics/libstats' ;
1212import { BadRequestException , Injectable , NotFoundException , UnprocessableEntityException } from '@nestjs/common' ;
1313import type { Json , ScalarInstrument } from '@opendatacapture/runtime-core' ;
14- // import { DEFAULT_GROUP_NAME } from '@opendatacapture/schemas/core';
1514import type {
1615 CreateInstrumentRecordData ,
1716 InstrumentRecord ,
@@ -20,7 +19,6 @@ import type {
2019 LinearRegressionResults ,
2120 UploadInstrumentRecordsData
2221} from '@opendatacapture/schemas/instrument-records' ;
23- // import { removeSubjectIdScope } from '@opendatacapture/subject-utils';
2422import { Prisma } from '@prisma/client' ;
2523import type { Session } from '@prisma/client' ;
2624import { isNumber , mergeWith , pickBy } from 'lodash-es' ;
@@ -38,17 +36,6 @@ import { InstrumentMeasuresService } from './instrument-measures.service';
3836
3937import type { InitData , RecordType } from './thread-types' ;
4038
41- // type ExpandDataType =
42- // | {
43- // measure: string;
44- // measureValue: boolean | Date | number | string | undefined;
45- // success: true;
46- // }
47- // | {
48- // message: string;
49- // success: false;
50- // };
51-
5239type WorkerMessage = { data : InstrumentRecordsExport ; success : true } | { error : string ; success : false } ;
5340
5441type InitialMessage = { success : true } ;
0 commit comments