-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move lastUpdatedDate saved in the server to ms to have more precision when asking for listings to the signature server
- Loading branch information
Melisa Anabella Rossi
authored
Nov 3, 2023
1 parent
d5162a3
commit f9e0bc7
Showing
8 changed files
with
358 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
import { RentalListing } from '@dcl/schemas' | ||
|
||
export type TileRentalListing = Pick<RentalListing, 'expiration' | 'periods'> | ||
export type TileRentalListing = Pick<RentalListing, 'expiration' | 'periods' | 'updatedAt'> | ||
|
||
export function convertRentalListingToTileRentalListing( | ||
rentalListing: RentalListing | ||
): TileRentalListing { | ||
return { | ||
expiration: rentalListing.expiration, | ||
periods: rentalListing.periods, | ||
updatedAt: rentalListing.updatedAt | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.