- Rewrote README.md to describe the Tibia Trade project, including features, setup instructions, technologies, and SEO keywords in Portuguese - Removed "Pagodera" from thank you page text for rebranding - Added role and aria-label to main element in home page for better accessibility - Added metadata generation with localized titles and descriptions to prices page for improved SEO and user experience
50 lines
917 B
TypeScript
50 lines
917 B
TypeScript
import { TibiaStats, TibiaRequirements, TibiaProtection } from "./currency";
|
|
|
|
export interface TibiaItem {
|
|
id: string;
|
|
name: string;
|
|
image: string;
|
|
alt?: string;
|
|
category:
|
|
| "weapon"
|
|
| "armor"
|
|
| "helmet"
|
|
| "legs"
|
|
| "boots"
|
|
| "shield"
|
|
| "amulet"
|
|
| "ring"
|
|
| "potion"
|
|
| "rune"
|
|
| "tool"
|
|
| "ammunition"
|
|
| "other";
|
|
rarity: "common" | "uncommon" | "rare" | "epic" | "legendary";
|
|
stats?: TibiaStats;
|
|
requirements?: TibiaRequirements;
|
|
protections?: TibiaProtection;
|
|
stackable?: boolean;
|
|
dropLocation?: string;
|
|
npcPrice?: number;
|
|
price: {
|
|
buy: number;
|
|
sell: number;
|
|
bid?: number;
|
|
};
|
|
priceHistory: {
|
|
highest: number;
|
|
lowest: number;
|
|
average: number;
|
|
};
|
|
}
|
|
|
|
export interface MarketOffer {
|
|
id: string;
|
|
item: TibiaItem;
|
|
seller: string;
|
|
price: number;
|
|
quantity: number;
|
|
type: "buy" | "sell";
|
|
timestamp: Date;
|
|
}
|