@quizbase/client 0.6.0 → 0.8.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 +34 -17
- package/dist/index.d.ts +34 -17
- package/package.json +1 -1
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;
|
|
@@ -945,7 +945,7 @@ interface paths {
|
|
|
945
945
|
regions?: string;
|
|
946
946
|
source?: "arc" | "creak" | "entityq" | "kqa-pro" | "mintaka" | "mkqa" | "nq-open" | "opentdb" | "opentriviaqa" | "qasc" | "quizbase" | "webq";
|
|
947
947
|
license?: "CC-BY-SA-4.0" | "CC-BY-SA-3.0" | "CC-BY-4.0" | "MIT" | "proprietary";
|
|
948
|
-
count?: "estimate" | "
|
|
948
|
+
count?: "estimate" | "none";
|
|
949
949
|
};
|
|
950
950
|
header?: never;
|
|
951
951
|
path?: never;
|
|
@@ -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
|
|
1461
|
+
/** @description Difficulty distribution across 5 LLM-calibrated levels (Plan 121) plus `unrated` for pre-rescore records. */
|
|
1460
1462
|
StatsByDifficulty: {
|
|
1461
|
-
/** @example
|
|
1463
|
+
/** @example 12480 */
|
|
1464
|
+
trivial: number;
|
|
1465
|
+
/** @example 73215 */
|
|
1462
1466
|
easy: number;
|
|
1463
|
-
/** @example
|
|
1467
|
+
/** @example 580212 */
|
|
1464
1468
|
medium: number;
|
|
1465
|
-
/** @example
|
|
1469
|
+
/** @example 142098 */
|
|
1466
1470
|
hard: number;
|
|
1467
|
-
/** @example
|
|
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: {
|
|
@@ -1863,12 +1885,7 @@ interface components {
|
|
|
1863
1885
|
*/
|
|
1864
1886
|
count: number;
|
|
1865
1887
|
/**
|
|
1866
|
-
* @description
|
|
1867
|
-
* @example 1294009
|
|
1868
|
-
*/
|
|
1869
|
-
total?: number;
|
|
1870
|
-
/**
|
|
1871
|
-
* @description Planner-estimated total (default `count=estimate`).
|
|
1888
|
+
* @description Planner-estimated total (default `count=estimate`, ±5-50% accuracy).
|
|
1872
1889
|
* @example 545379
|
|
1873
1890
|
*/
|
|
1874
1891
|
totalEstimate?: number;
|
|
@@ -1877,7 +1894,7 @@ interface components {
|
|
|
1877
1894
|
* @example estimate
|
|
1878
1895
|
* @enum {string}
|
|
1879
1896
|
*/
|
|
1880
|
-
countMode?: "estimate" | "
|
|
1897
|
+
countMode?: "estimate" | "none";
|
|
1881
1898
|
/**
|
|
1882
1899
|
* @description Language of the response content.
|
|
1883
1900
|
* @example en
|
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;
|
|
@@ -945,7 +945,7 @@ interface paths {
|
|
|
945
945
|
regions?: string;
|
|
946
946
|
source?: "arc" | "creak" | "entityq" | "kqa-pro" | "mintaka" | "mkqa" | "nq-open" | "opentdb" | "opentriviaqa" | "qasc" | "quizbase" | "webq";
|
|
947
947
|
license?: "CC-BY-SA-4.0" | "CC-BY-SA-3.0" | "CC-BY-4.0" | "MIT" | "proprietary";
|
|
948
|
-
count?: "estimate" | "
|
|
948
|
+
count?: "estimate" | "none";
|
|
949
949
|
};
|
|
950
950
|
header?: never;
|
|
951
951
|
path?: never;
|
|
@@ -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
|
|
1461
|
+
/** @description Difficulty distribution across 5 LLM-calibrated levels (Plan 121) plus `unrated` for pre-rescore records. */
|
|
1460
1462
|
StatsByDifficulty: {
|
|
1461
|
-
/** @example
|
|
1463
|
+
/** @example 12480 */
|
|
1464
|
+
trivial: number;
|
|
1465
|
+
/** @example 73215 */
|
|
1462
1466
|
easy: number;
|
|
1463
|
-
/** @example
|
|
1467
|
+
/** @example 580212 */
|
|
1464
1468
|
medium: number;
|
|
1465
|
-
/** @example
|
|
1469
|
+
/** @example 142098 */
|
|
1466
1470
|
hard: number;
|
|
1467
|
-
/** @example
|
|
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: {
|
|
@@ -1863,12 +1885,7 @@ interface components {
|
|
|
1863
1885
|
*/
|
|
1864
1886
|
count: number;
|
|
1865
1887
|
/**
|
|
1866
|
-
* @description
|
|
1867
|
-
* @example 1294009
|
|
1868
|
-
*/
|
|
1869
|
-
total?: number;
|
|
1870
|
-
/**
|
|
1871
|
-
* @description Planner-estimated total (default `count=estimate`).
|
|
1888
|
+
* @description Planner-estimated total (default `count=estimate`, ±5-50% accuracy).
|
|
1872
1889
|
* @example 545379
|
|
1873
1890
|
*/
|
|
1874
1891
|
totalEstimate?: number;
|
|
@@ -1877,7 +1894,7 @@ interface components {
|
|
|
1877
1894
|
* @example estimate
|
|
1878
1895
|
* @enum {string}
|
|
1879
1896
|
*/
|
|
1880
|
-
countMode?: "estimate" | "
|
|
1897
|
+
countMode?: "estimate" | "none";
|
|
1881
1898
|
/**
|
|
1882
1899
|
* @description Language of the response content.
|
|
1883
1900
|
* @example en
|
package/package.json
CHANGED