Skip to content

Commit

Permalink
final changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mholtzman committed Aug 31, 2023
1 parent 56deea6 commit a5252f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main/store/state/types/inventory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ const v40InventoryCollection = z.object({
const v40 = z.record(v40InventoryCollection)
const latestCollectionSchema = v40InventoryCollection

const latest = v40.catch({}).default({})
const latest = v40
.catch({})
.default({})
.transform(() => ({} as Record<string, InventoryCollection>))

export { v40InventoryCollection as v40, latest }

Expand Down

0 comments on commit a5252f9

Please sign in to comment.