@gamecore-api/sdk 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/types.d.ts +20 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -130,8 +130,28 @@ export interface GameDetail {
130
130
  /** Gallery of product screenshots (resized to 800x600). */
131
131
  images?: string[];
132
132
  description: string | null;
133
+ /**
134
+ * Short teaser (<= 200 chars) suitable for list cards and meta
135
+ * descriptions. Distinct from `description` which may be multi-paragraph.
136
+ */
137
+ shortDescription?: string | null;
133
138
  /** Editorial badges like "hit", "new", "popular", "sale". */
134
139
  tags?: string[];
140
+ /** Game developers (studio names). Empty when supplier doesn't send it. */
141
+ developers?: string[];
142
+ /** Game publishers. Empty when supplier doesn't send it. */
143
+ publishers?: string[];
144
+ /** Genre labels ("Strategy", "RPG", ...). Empty for mobile-donation games. */
145
+ genres?: string[];
146
+ /**
147
+ * Upstream release date as the supplier sends it — may be an ISO date
148
+ * "YYYY-MM-DD", a localized natural-language string ("6 июн. 2016 г."),
149
+ * or null when unknown. Storefronts should render verbatim; do not
150
+ * parse as a reliable Date.
151
+ */
152
+ releaseDate?: string | null;
153
+ /** Steam app id — null for non-Steam titles and mobile games. */
154
+ steamAppid?: number | null;
135
155
  /** Availability lifecycle. Shares the union from {@link Game}. */
136
156
  availabilityStatus?: "available" | "coming_soon" | "maintenance" | "discontinued";
137
157
  /** Human-readable message for non-available games. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamecore-api/sdk",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "TypeScript SDK for GameCore API — browser-safe, zero dependencies",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",