@welldot/core

ProductionEntrySchema

const ProductionEntrySchema: ZodUnion<[ZodDiscriminatedUnion<"type", [ZodObject<object & object, "strip", ZodTypeAny, { corrects?: string; datetime: string; id: string; meter_id: string; notes?: string; reading: number; sequence?: number; source?: string; type: "meter_reading"; }, { corrects?: string; datetime: string; id: string; meter_id: string; notes?: string; reading: number; sequence?: number; source?: string; type: "meter_reading"; }>, ZodObject<object & object, "strip", ZodTypeAny, { corrects?: string; id: string; method?: string; notes?: string; period_end: string; period_start: string; sequence?: number; type: "estimated_volume"; volume: number; }, { corrects?: string; id: string; method?: string; notes?: string; period_end: string; period_start: string; sequence?: number; type: "estimated_volume"; volume: number; }>]>, ZodEffects<ZodObject<{ corrects: ZodOptional<ZodString>; id: ZodString; notes: ZodOptional<ZodString>; sequence: ZodOptional<ZodNumber>; type: ZodString; }, "passthrough", ZodTypeAny, objectOutputType<{ corrects: ZodOptional<ZodString>; id: ZodString; notes: ZodOptional<ZodString>; sequence: ZodOptional<ZodNumber>; type: ZodString; }, ZodTypeAny, "passthrough">, objectInputType<{ corrects: ZodOptional<ZodString>; id: ZodString; notes: ZodOptional<ZodString>; sequence: ZodOptional<ZodNumber>; type: ZodString; }, ZodTypeAny, "passthrough">>, objectOutputType<{ corrects: ZodOptional<ZodString>; id: ZodString; notes: ZodOptional<ZodString>; sequence: ZodOptional<ZodNumber>; type: ZodString; }, ZodTypeAny, "passthrough">, objectInputType<{ corrects: ZodOptional<ZodString>; id: ZodString; notes: ZodOptional<ZodString>; sequence: ZodOptional<ZodNumber>; type: ZodString; }, ZodTypeAny, "passthrough">>]>