@quizbase/client 0.6.0 → 0.7.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.
package/dist/index.d.cts CHANGED
@@ -932,7 +932,7 @@ interface paths {
932
932
  /** @description ISO 8601 datetime — only questions modified after this point. */
933
933
  updated_since?: string;
934
934
  category?: string;
935
- difficulty?: "easy" | "medium" | "hard";
935
+ difficulty?: "trivial" | "easy" | "medium" | "hard" | "expert";
936
936
  type?: "multiple" | "boolean" | "text_input";
937
937
  tags?: string;
938
938
  tags_any?: string;
@@ -1035,7 +1035,7 @@ interface paths {
1035
1035
  /** @description Display language for category names + slug labels (subcategories/tags) */
1036
1036
  lang?: "en" | "pl";
1037
1037
  category?: string;
1038
- difficulty?: "easy" | "medium" | "hard";
1038
+ difficulty?: "trivial" | "easy" | "medium" | "hard" | "expert";
1039
1039
  type?: "multiple" | "boolean" | "text_input";
1040
1040
  tags?: string;
1041
1041
  tags_any?: string;
@@ -1284,7 +1284,7 @@ interface components {
1284
1284
  * @example easy
1285
1285
  * @enum {string|null}
1286
1286
  */
1287
- difficulty: "easy" | "medium" | "hard" | null;
1287
+ difficulty: "trivial" | "easy" | "medium" | "hard" | "expert" | null;
1288
1288
  /** @example pl */
1289
1289
  language: string;
1290
1290
  category: components["schemas"]["CategoryRef"];
@@ -1446,6 +1446,8 @@ interface components {
1446
1446
  byDifficulty: components["schemas"]["StatsByDifficulty"];
1447
1447
  byTopic: components["schemas"]["StatsTopicEntry"][];
1448
1448
  byTag: components["schemas"]["StatsTagEntry"][];
1449
+ topRegions: components["schemas"]["StatsTopRegions"];
1450
+ byQualityHigh: components["schemas"]["StatsByQualityHigh"];
1449
1451
  meta: components["schemas"]["MetaStats"];
1450
1452
  };
1451
1453
  StatsCategoryEntry: {
@@ -1456,15 +1458,19 @@ interface components {
1456
1458
  /** @example 146384 */
1457
1459
  count: number;
1458
1460
  };
1459
- /** @description Difficulty distribution. Pre-launch zero-filled snapshot pipeline gap. */
1461
+ /** @description Difficulty distribution across 5 LLM-calibrated levels (Plan 121) plus `unrated` for pre-rescore records. */
1460
1462
  StatsByDifficulty: {
1461
- /** @example 0 */
1463
+ /** @example 12480 */
1464
+ trivial: number;
1465
+ /** @example 73215 */
1462
1466
  easy: number;
1463
- /** @example 0 */
1467
+ /** @example 580212 */
1464
1468
  medium: number;
1465
- /** @example 0 */
1469
+ /** @example 142098 */
1466
1470
  hard: number;
1467
- /** @example 0 */
1471
+ /** @example 12476 */
1472
+ expert: number;
1473
+ /** @example 473528 */
1468
1474
  unrated: number;
1469
1475
  };
1470
1476
  StatsTopicEntry: {
@@ -1483,6 +1489,22 @@ interface components {
1483
1489
  /** @example 15281 */
1484
1490
  count: number;
1485
1491
  };
1492
+ /** @description Top regions by cultural affinity (Plan 120). Code = ISO 3166-1 alpha-2 or cultural identifier; not a geographic filter — indicates "person from this region has higher statistical chance to answer correctly". */
1493
+ StatsTopRegions: {
1494
+ /** @example us */
1495
+ code: string;
1496
+ /** @example United States */
1497
+ label: string;
1498
+ /** @example 309090 */
1499
+ count: number;
1500
+ }[];
1501
+ /** @description Counts of records eligible for `?quality=high` filter (Plan 121: needs_review=false AND content_grade != 0) per language. */
1502
+ StatsByQualityHigh: {
1503
+ /** @example 329266 */
1504
+ en: number;
1505
+ /** @example 491297 */
1506
+ pl: number;
1507
+ };
1486
1508
  MetaStats: {
1487
1509
  /** @example 2026-05-05T16:32:09.001Z */
1488
1510
  generatedAt: string;
@@ -1603,7 +1625,7 @@ interface components {
1603
1625
  /** @enum {string} */
1604
1626
  type: "multiple" | "boolean" | "text_input";
1605
1627
  /** @enum {string|null} */
1606
- difficulty: "easy" | "medium" | "hard" | null;
1628
+ difficulty: "trivial" | "easy" | "medium" | "hard" | "expert" | null;
1607
1629
  language: string;
1608
1630
  };
1609
1631
  MetaBasic: {
package/dist/index.d.ts CHANGED
@@ -932,7 +932,7 @@ interface paths {
932
932
  /** @description ISO 8601 datetime — only questions modified after this point. */
933
933
  updated_since?: string;
934
934
  category?: string;
935
- difficulty?: "easy" | "medium" | "hard";
935
+ difficulty?: "trivial" | "easy" | "medium" | "hard" | "expert";
936
936
  type?: "multiple" | "boolean" | "text_input";
937
937
  tags?: string;
938
938
  tags_any?: string;
@@ -1035,7 +1035,7 @@ interface paths {
1035
1035
  /** @description Display language for category names + slug labels (subcategories/tags) */
1036
1036
  lang?: "en" | "pl";
1037
1037
  category?: string;
1038
- difficulty?: "easy" | "medium" | "hard";
1038
+ difficulty?: "trivial" | "easy" | "medium" | "hard" | "expert";
1039
1039
  type?: "multiple" | "boolean" | "text_input";
1040
1040
  tags?: string;
1041
1041
  tags_any?: string;
@@ -1284,7 +1284,7 @@ interface components {
1284
1284
  * @example easy
1285
1285
  * @enum {string|null}
1286
1286
  */
1287
- difficulty: "easy" | "medium" | "hard" | null;
1287
+ difficulty: "trivial" | "easy" | "medium" | "hard" | "expert" | null;
1288
1288
  /** @example pl */
1289
1289
  language: string;
1290
1290
  category: components["schemas"]["CategoryRef"];
@@ -1446,6 +1446,8 @@ interface components {
1446
1446
  byDifficulty: components["schemas"]["StatsByDifficulty"];
1447
1447
  byTopic: components["schemas"]["StatsTopicEntry"][];
1448
1448
  byTag: components["schemas"]["StatsTagEntry"][];
1449
+ topRegions: components["schemas"]["StatsTopRegions"];
1450
+ byQualityHigh: components["schemas"]["StatsByQualityHigh"];
1449
1451
  meta: components["schemas"]["MetaStats"];
1450
1452
  };
1451
1453
  StatsCategoryEntry: {
@@ -1456,15 +1458,19 @@ interface components {
1456
1458
  /** @example 146384 */
1457
1459
  count: number;
1458
1460
  };
1459
- /** @description Difficulty distribution. Pre-launch zero-filled snapshot pipeline gap. */
1461
+ /** @description Difficulty distribution across 5 LLM-calibrated levels (Plan 121) plus `unrated` for pre-rescore records. */
1460
1462
  StatsByDifficulty: {
1461
- /** @example 0 */
1463
+ /** @example 12480 */
1464
+ trivial: number;
1465
+ /** @example 73215 */
1462
1466
  easy: number;
1463
- /** @example 0 */
1467
+ /** @example 580212 */
1464
1468
  medium: number;
1465
- /** @example 0 */
1469
+ /** @example 142098 */
1466
1470
  hard: number;
1467
- /** @example 0 */
1471
+ /** @example 12476 */
1472
+ expert: number;
1473
+ /** @example 473528 */
1468
1474
  unrated: number;
1469
1475
  };
1470
1476
  StatsTopicEntry: {
@@ -1483,6 +1489,22 @@ interface components {
1483
1489
  /** @example 15281 */
1484
1490
  count: number;
1485
1491
  };
1492
+ /** @description Top regions by cultural affinity (Plan 120). Code = ISO 3166-1 alpha-2 or cultural identifier; not a geographic filter — indicates "person from this region has higher statistical chance to answer correctly". */
1493
+ StatsTopRegions: {
1494
+ /** @example us */
1495
+ code: string;
1496
+ /** @example United States */
1497
+ label: string;
1498
+ /** @example 309090 */
1499
+ count: number;
1500
+ }[];
1501
+ /** @description Counts of records eligible for `?quality=high` filter (Plan 121: needs_review=false AND content_grade != 0) per language. */
1502
+ StatsByQualityHigh: {
1503
+ /** @example 329266 */
1504
+ en: number;
1505
+ /** @example 491297 */
1506
+ pl: number;
1507
+ };
1486
1508
  MetaStats: {
1487
1509
  /** @example 2026-05-05T16:32:09.001Z */
1488
1510
  generatedAt: string;
@@ -1603,7 +1625,7 @@ interface components {
1603
1625
  /** @enum {string} */
1604
1626
  type: "multiple" | "boolean" | "text_input";
1605
1627
  /** @enum {string|null} */
1606
- difficulty: "easy" | "medium" | "hard" | null;
1628
+ difficulty: "trivial" | "easy" | "medium" | "hard" | "expert" | null;
1607
1629
  language: string;
1608
1630
  };
1609
1631
  MetaBasic: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quizbase/client",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "TypeScript SDK for QuizBase API — typed client, retry, RFC 9457 errors, telemetry hook. Generated from openapi.json.",
5
5
  "license": "MIT",
6
6
  "author": "Maciej Dzierżek",