forked from canonical/ubuntu.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor product display logic for exams
- Loading branch information
1 parent
f1b75b3
commit 0e58c7f
Showing
3 changed files
with
30 additions
and
19 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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { UserSubscriptionMarketplace } from "advantage/api/enum"; | ||
|
||
export type Product = { | ||
longId?: string; | ||
name: string; | ||
price?: { | ||
value: number; | ||
currency: string; | ||
}; | ||
id: string; | ||
marketplace?: UserSubscriptionMarketplace; | ||
metadata: Array<{ key: string; value: string }>; | ||
}; |
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