@mentio-dev/sdk 0.6.0 → 0.6.2
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.ts +45 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -411,6 +411,23 @@ type Keyword = {
|
|
|
411
411
|
*/
|
|
412
412
|
notRelevant: number;
|
|
413
413
|
};
|
|
414
|
+
/**
|
|
415
|
+
* Relevance over the last 14 days of scored matches, so a keyword tightened today stops being flagged within two weeks.
|
|
416
|
+
*/
|
|
417
|
+
noise: {
|
|
418
|
+
/**
|
|
419
|
+
* Matches of the last 14 days (by match time) the classifier has scored.
|
|
420
|
+
*/
|
|
421
|
+
scored: number;
|
|
422
|
+
/**
|
|
423
|
+
* Of those, the ones scored relevant.
|
|
424
|
+
*/
|
|
425
|
+
relevant: number;
|
|
426
|
+
/**
|
|
427
|
+
* At least 20 scored matches in the last 14 days and under 30% of them relevant: tighten the keyword with required terms, excluded terms or context. Every match bills, relevant or not.
|
|
428
|
+
*/
|
|
429
|
+
noisy: boolean;
|
|
430
|
+
};
|
|
414
431
|
};
|
|
415
432
|
/**
|
|
416
433
|
* Poll health per platform polled on a schedule. Live feeds (Bluesky) have no entry.
|
|
@@ -540,6 +557,17 @@ type Mention = {
|
|
|
540
557
|
* When the post was published.
|
|
541
558
|
*/
|
|
542
559
|
publishedAt: string;
|
|
560
|
+
/**
|
|
561
|
+
* Engagement counts as the platform reported them when the post was ingested, usually minutes after it was written; a count the platform does not have is null. Null as a whole for platforms that report none and for posts ingested before September 2026. X carries all six.
|
|
562
|
+
*/
|
|
563
|
+
engagement: {
|
|
564
|
+
likes: number | null;
|
|
565
|
+
reposts: number | null;
|
|
566
|
+
replies: number | null;
|
|
567
|
+
quotes: number | null;
|
|
568
|
+
views: number | null;
|
|
569
|
+
bookmarks: number | null;
|
|
570
|
+
} | null;
|
|
543
571
|
/**
|
|
544
572
|
* The post this one replies to (X, Bluesky); null for top-level posts.
|
|
545
573
|
*/
|
|
@@ -2368,6 +2396,23 @@ type ListKeywordsResponses = {
|
|
|
2368
2396
|
*/
|
|
2369
2397
|
notRelevant: number;
|
|
2370
2398
|
};
|
|
2399
|
+
/**
|
|
2400
|
+
* Relevance over the last 14 days of scored matches, so a keyword tightened today stops being flagged within two weeks.
|
|
2401
|
+
*/
|
|
2402
|
+
noise: {
|
|
2403
|
+
/**
|
|
2404
|
+
* Matches of the last 14 days (by match time) the classifier has scored.
|
|
2405
|
+
*/
|
|
2406
|
+
scored: number;
|
|
2407
|
+
/**
|
|
2408
|
+
* Of those, the ones scored relevant.
|
|
2409
|
+
*/
|
|
2410
|
+
relevant: number;
|
|
2411
|
+
/**
|
|
2412
|
+
* At least 20 scored matches in the last 14 days and under 30% of them relevant: tighten the keyword with required terms, excluded terms or context. Every match bills, relevant or not.
|
|
2413
|
+
*/
|
|
2414
|
+
noisy: boolean;
|
|
2415
|
+
};
|
|
2371
2416
|
};
|
|
2372
2417
|
/**
|
|
2373
2418
|
* Poll health per platform polled on a schedule. Live feeds (Bluesky) have no entry.
|