We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fba0a99 commit 51cecfcCopy full SHA for 51cecfc
1 file changed
apps/api/src/instrument-records/instrument-records.service.ts
@@ -130,6 +130,9 @@ export class InstrumentRecordsService {
130
return this.instrumentRecordModel.exists(where);
131
}
132
133
+ //TODO
134
+ // Chech if instrument schema is zod4 version, if so use the toJSONSchema method to convert to json
135
+ // and expand the data from there
136
async exportRecords({ groupId }: { groupId?: string } = {}, { ability }: EntityOperationOptions = {}) {
137
const data: InstrumentRecordsExport = [];
138
const records = await this.instrumentRecordModel.findMany({
0 commit comments