Skip to content

Commit

Permalink
BugFix: Fix observation types (#1284) (#1285)
Browse files Browse the repository at this point in the history
Fix observation types
  • Loading branch information
NickPhura authored May 9, 2024
1 parent 97a4fd6 commit 9a62b47
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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(),
Expand Down

0 comments on commit 9a62b47

Please sign in to comment.