benjick
08/23/2021, 12:35 PMJson
but when I try to write data to it I get the following error:
Type 'OrderOutput[]' is not assignable to type 'InputJsonValue'.I thought Json should be able to take any valid json. Pasting the interface in the thread ๐
benjick
08/23/2021, 12:35 PMexport interface OrderOutput {
[key: string]: JSONValue;
id: string;
noLines: number;
type: number;
lines: {
no: string;
variantCode: string;
description: string;
qty: number;
engraving?: string;
}[];
}
Ryan
08/23/2021, 12:40 PMany
when passing it to Prisma.benjick
08/23/2021, 12:45 PMFranky Frank
11/17/2021, 7:21 AMFranky Frank
11/17/2021, 7:59 AMRyan
11/17/2021, 8:58 AM