in src/frontend/protos/demo.ts [2204:2212]
shippingCost: isSet(object.shippingCost) ? Money.fromJSON(object.shippingCost) : undefined,
shippingAddress: isSet(object.shippingAddress) ? Address.fromJSON(object.shippingAddress) : undefined,
items: globalThis.Array.isArray(object?.items) ? object.items.map((e: any) => OrderItem.fromJSON(e)) : [],
};
},
toJSON(message: OrderResult): unknown {
const obj: any = {};
if (message.orderId !== "") {