Skip to content

Commit

Permalink
fix: corrige type e mock
Browse files Browse the repository at this point in the history
  • Loading branch information
simaomeyrerdooca committed Oct 9, 2024
1 parent a15f92a commit 57472e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/mocks/live-shop/live-shop.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"products": [
{
"id": 2915719,
"productId": 2915719,
"discount": {
"type": "markup",
"value": 10
Expand All @@ -29,7 +29,7 @@
]
},
{
"id": 2915788,
"productId": 2915788,
"discount": {
"type": "markup",
"value": 10
Expand All @@ -49,6 +49,10 @@
{
"title": "Boas vindas!",
"content": "Bem vindo a primeira live shop!"
},
{
"title": "Os menores precos!",
"content": "Bem vindo que tá bombando!"
}
],
"alertVisible": true,
Expand Down
2 changes: 1 addition & 1 deletion src/modules/live-shop/LiveShopTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface LiveShopVariation {
discount: LiveShopDiscount
}
export interface LiveShopProduct {
id: number
productId: number
discount: LiveShopDiscount
variations: LiveShopVariation[]
}
Expand Down

0 comments on commit 57472e8

Please sign in to comment.