From 9a62b476a09e97d2eb1fface823b8149578c07fe Mon Sep 17 00:00:00 2001 From: Nick Phura Date: Thu, 9 May 2024 10:06:17 -0700 Subject: [PATCH] BugFix: Fix observation types (#1284) (#1285) Fix observation types --- .../repositories/observation-subcount-measurement-repository.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/repositories/observation-subcount-measurement-repository.ts b/api/src/repositories/observation-subcount-measurement-repository.ts index 58d6527506..4f09da70bc 100644 --- a/api/src/repositories/observation-subcount-measurement-repository.ts +++ b/api/src/repositories/observation-subcount-measurement-repository.ts @@ -4,6 +4,7 @@ import { getKnex } from '../database/db'; import { BaseRepository } from './base-repository'; export const ObservationSubCountQualitativeMeasurementRecord = z.object({ + observation_subcount_qualitative_measurement_id: z.number(), observation_subcount_id: z.number(), critterbase_taxon_measurement_id: z.string().uuid(), critterbase_measurement_qualitative_option_id: z.string().uuid(), @@ -18,6 +19,7 @@ export type ObservationSubCountQualitativeMeasurementRecord = z.infer< >; export const ObservationSubCountQuantitativeMeasurementRecord = z.object({ + observation_subcount_quantitative_measurement_id: z.number(), observation_subcount_id: z.number(), critterbase_taxon_measurement_id: z.string().uuid(), value: z.number(),