@mentio-dev/cli 0.2.0 → 0.2.1
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.js +81 -45
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { hostname } from "os";
|
|
|
13
13
|
// package.json
|
|
14
14
|
var package_default = {
|
|
15
15
|
name: "@mentio-dev/cli",
|
|
16
|
-
version: "0.2.
|
|
16
|
+
version: "0.2.1",
|
|
17
17
|
description: "Command-line client for the Mentio API: one command per endpoint, plus watch and MCP helpers.",
|
|
18
18
|
license: "MIT",
|
|
19
19
|
homepage: "https://docs.mentio.dev/cli",
|
|
@@ -565,10 +565,10 @@ var OPERATIONS = [
|
|
|
565
565
|
},
|
|
566
566
|
{
|
|
567
567
|
"name": "snoozedUntil",
|
|
568
|
-
"type": "
|
|
568
|
+
"type": "string",
|
|
569
569
|
"description": "ISO 8601 (or epoch ms) until which the mention leaves the feed; null wakes it.",
|
|
570
570
|
"required": false,
|
|
571
|
-
"nullable":
|
|
571
|
+
"nullable": false
|
|
572
572
|
},
|
|
573
573
|
{
|
|
574
574
|
"name": "note",
|
|
@@ -754,7 +754,7 @@ var OPERATIONS = [
|
|
|
754
754
|
{
|
|
755
755
|
"name": "since",
|
|
756
756
|
"in": "query",
|
|
757
|
-
"type": "
|
|
757
|
+
"type": "string",
|
|
758
758
|
"description": "Only posts published at or after this instant (ISO 8601, or epoch ms).",
|
|
759
759
|
"required": false,
|
|
760
760
|
"nullable": false
|
|
@@ -762,7 +762,7 @@ var OPERATIONS = [
|
|
|
762
762
|
{
|
|
763
763
|
"name": "until",
|
|
764
764
|
"in": "query",
|
|
765
|
-
"type": "
|
|
765
|
+
"type": "string",
|
|
766
766
|
"description": "Only posts published at or before this instant (ISO 8601, or epoch ms).",
|
|
767
767
|
"required": false,
|
|
768
768
|
"nullable": false
|
|
@@ -952,7 +952,7 @@ var OPERATIONS = [
|
|
|
952
952
|
{
|
|
953
953
|
"name": "since",
|
|
954
954
|
"in": "query",
|
|
955
|
-
"type": "
|
|
955
|
+
"type": "string",
|
|
956
956
|
"description": "Only posts published at or after this instant (ISO 8601, or epoch ms).",
|
|
957
957
|
"required": false,
|
|
958
958
|
"nullable": false
|
|
@@ -960,7 +960,7 @@ var OPERATIONS = [
|
|
|
960
960
|
{
|
|
961
961
|
"name": "until",
|
|
962
962
|
"in": "query",
|
|
963
|
-
"type": "
|
|
963
|
+
"type": "string",
|
|
964
964
|
"description": "Only posts published at or before this instant (ISO 8601, or epoch ms).",
|
|
965
965
|
"required": false,
|
|
966
966
|
"nullable": false
|
|
@@ -1024,7 +1024,7 @@ var OPERATIONS = [
|
|
|
1024
1024
|
{
|
|
1025
1025
|
"name": "since",
|
|
1026
1026
|
"in": "query",
|
|
1027
|
-
"type": "
|
|
1027
|
+
"type": "string",
|
|
1028
1028
|
"description": "Only people whose first matched mention is at or after this instant (ISO 8601, or epoch ms).",
|
|
1029
1029
|
"required": false,
|
|
1030
1030
|
"nullable": false
|
|
@@ -1212,7 +1212,7 @@ var OPERATIONS = [
|
|
|
1212
1212
|
{
|
|
1213
1213
|
"name": "since",
|
|
1214
1214
|
"in": "query",
|
|
1215
|
-
"type": "
|
|
1215
|
+
"type": "string",
|
|
1216
1216
|
"description": "Only people whose first matched mention is at or after this instant (ISO 8601, or epoch ms).",
|
|
1217
1217
|
"required": false,
|
|
1218
1218
|
"nullable": false
|
|
@@ -1981,28 +1981,36 @@ var OPERATIONS = [
|
|
|
1981
1981
|
{
|
|
1982
1982
|
"name": "keywordIds",
|
|
1983
1983
|
"in": "query",
|
|
1984
|
-
"type": "
|
|
1985
|
-
"description": "
|
|
1984
|
+
"type": "array",
|
|
1985
|
+
"description": "Only these keyword ids. Repeatable, or comma-separated; omit for every keyword.",
|
|
1986
1986
|
"required": false,
|
|
1987
1987
|
"nullable": false
|
|
1988
1988
|
},
|
|
1989
1989
|
{
|
|
1990
1990
|
"name": "platforms",
|
|
1991
1991
|
"in": "query",
|
|
1992
|
-
"type": "
|
|
1993
|
-
"description": "
|
|
1992
|
+
"type": "array",
|
|
1993
|
+
"description": "Only these platforms. Repeatable, or comma-separated; omit for every platform.",
|
|
1994
|
+
"enum": [
|
|
1995
|
+
"bluesky",
|
|
1996
|
+
"hackernews",
|
|
1997
|
+
"github",
|
|
1998
|
+
"stackoverflow",
|
|
1999
|
+
"devto",
|
|
2000
|
+
"reddit",
|
|
2001
|
+
"x",
|
|
2002
|
+
"youtube",
|
|
2003
|
+
"news",
|
|
2004
|
+
"linkedin"
|
|
2005
|
+
],
|
|
1994
2006
|
"required": false,
|
|
1995
2007
|
"nullable": false
|
|
1996
2008
|
},
|
|
1997
2009
|
{
|
|
1998
2010
|
"name": "compare",
|
|
1999
2011
|
"in": "query",
|
|
2000
|
-
"type": "
|
|
2012
|
+
"type": "boolean",
|
|
2001
2013
|
"description": "true adds the period of the same length right before the window as `previous`.",
|
|
2002
|
-
"enum": [
|
|
2003
|
-
"true",
|
|
2004
|
-
"false"
|
|
2005
|
-
],
|
|
2006
2014
|
"required": false,
|
|
2007
2015
|
"nullable": false
|
|
2008
2016
|
},
|
|
@@ -2059,28 +2067,36 @@ var OPERATIONS = [
|
|
|
2059
2067
|
{
|
|
2060
2068
|
"name": "keywordIds",
|
|
2061
2069
|
"in": "query",
|
|
2062
|
-
"type": "
|
|
2063
|
-
"description": "
|
|
2070
|
+
"type": "array",
|
|
2071
|
+
"description": "Only these keyword ids. Repeatable, or comma-separated; omit for every keyword.",
|
|
2064
2072
|
"required": false,
|
|
2065
2073
|
"nullable": false
|
|
2066
2074
|
},
|
|
2067
2075
|
{
|
|
2068
2076
|
"name": "platforms",
|
|
2069
2077
|
"in": "query",
|
|
2070
|
-
"type": "
|
|
2071
|
-
"description": "
|
|
2078
|
+
"type": "array",
|
|
2079
|
+
"description": "Only these platforms. Repeatable, or comma-separated; omit for every platform.",
|
|
2080
|
+
"enum": [
|
|
2081
|
+
"bluesky",
|
|
2082
|
+
"hackernews",
|
|
2083
|
+
"github",
|
|
2084
|
+
"stackoverflow",
|
|
2085
|
+
"devto",
|
|
2086
|
+
"reddit",
|
|
2087
|
+
"x",
|
|
2088
|
+
"youtube",
|
|
2089
|
+
"news",
|
|
2090
|
+
"linkedin"
|
|
2091
|
+
],
|
|
2072
2092
|
"required": false,
|
|
2073
2093
|
"nullable": false
|
|
2074
2094
|
},
|
|
2075
2095
|
{
|
|
2076
2096
|
"name": "compare",
|
|
2077
2097
|
"in": "query",
|
|
2078
|
-
"type": "
|
|
2098
|
+
"type": "boolean",
|
|
2079
2099
|
"description": "true adds the period of the same length right before the window as `previous`.",
|
|
2080
|
-
"enum": [
|
|
2081
|
-
"true",
|
|
2082
|
-
"false"
|
|
2083
|
-
],
|
|
2084
2100
|
"required": false,
|
|
2085
2101
|
"nullable": false
|
|
2086
2102
|
},
|
|
@@ -2161,28 +2177,36 @@ var OPERATIONS = [
|
|
|
2161
2177
|
{
|
|
2162
2178
|
"name": "keywordIds",
|
|
2163
2179
|
"in": "query",
|
|
2164
|
-
"type": "
|
|
2165
|
-
"description": "
|
|
2180
|
+
"type": "array",
|
|
2181
|
+
"description": "Only these keyword ids. Repeatable, or comma-separated; omit for every keyword.",
|
|
2166
2182
|
"required": false,
|
|
2167
2183
|
"nullable": false
|
|
2168
2184
|
},
|
|
2169
2185
|
{
|
|
2170
2186
|
"name": "platforms",
|
|
2171
2187
|
"in": "query",
|
|
2172
|
-
"type": "
|
|
2173
|
-
"description": "
|
|
2188
|
+
"type": "array",
|
|
2189
|
+
"description": "Only these platforms. Repeatable, or comma-separated; omit for every platform.",
|
|
2190
|
+
"enum": [
|
|
2191
|
+
"bluesky",
|
|
2192
|
+
"hackernews",
|
|
2193
|
+
"github",
|
|
2194
|
+
"stackoverflow",
|
|
2195
|
+
"devto",
|
|
2196
|
+
"reddit",
|
|
2197
|
+
"x",
|
|
2198
|
+
"youtube",
|
|
2199
|
+
"news",
|
|
2200
|
+
"linkedin"
|
|
2201
|
+
],
|
|
2174
2202
|
"required": false,
|
|
2175
2203
|
"nullable": false
|
|
2176
2204
|
},
|
|
2177
2205
|
{
|
|
2178
2206
|
"name": "compare",
|
|
2179
2207
|
"in": "query",
|
|
2180
|
-
"type": "
|
|
2208
|
+
"type": "boolean",
|
|
2181
2209
|
"description": "true adds the period of the same length right before the window as `previous`.",
|
|
2182
|
-
"enum": [
|
|
2183
|
-
"true",
|
|
2184
|
-
"false"
|
|
2185
|
-
],
|
|
2186
2210
|
"required": false,
|
|
2187
2211
|
"nullable": false
|
|
2188
2212
|
},
|
|
@@ -2256,28 +2280,36 @@ var OPERATIONS = [
|
|
|
2256
2280
|
{
|
|
2257
2281
|
"name": "keywordIds",
|
|
2258
2282
|
"in": "query",
|
|
2259
|
-
"type": "
|
|
2260
|
-
"description": "
|
|
2283
|
+
"type": "array",
|
|
2284
|
+
"description": "Only these keyword ids. Repeatable, or comma-separated; omit for every keyword.",
|
|
2261
2285
|
"required": false,
|
|
2262
2286
|
"nullable": false
|
|
2263
2287
|
},
|
|
2264
2288
|
{
|
|
2265
2289
|
"name": "platforms",
|
|
2266
2290
|
"in": "query",
|
|
2267
|
-
"type": "
|
|
2268
|
-
"description": "
|
|
2291
|
+
"type": "array",
|
|
2292
|
+
"description": "Only these platforms. Repeatable, or comma-separated; omit for every platform.",
|
|
2293
|
+
"enum": [
|
|
2294
|
+
"bluesky",
|
|
2295
|
+
"hackernews",
|
|
2296
|
+
"github",
|
|
2297
|
+
"stackoverflow",
|
|
2298
|
+
"devto",
|
|
2299
|
+
"reddit",
|
|
2300
|
+
"x",
|
|
2301
|
+
"youtube",
|
|
2302
|
+
"news",
|
|
2303
|
+
"linkedin"
|
|
2304
|
+
],
|
|
2269
2305
|
"required": false,
|
|
2270
2306
|
"nullable": false
|
|
2271
2307
|
},
|
|
2272
2308
|
{
|
|
2273
2309
|
"name": "compare",
|
|
2274
2310
|
"in": "query",
|
|
2275
|
-
"type": "
|
|
2311
|
+
"type": "boolean",
|
|
2276
2312
|
"description": "true adds the period of the same length right before the window as `previous`.",
|
|
2277
|
-
"enum": [
|
|
2278
|
-
"true",
|
|
2279
|
-
"false"
|
|
2280
|
-
],
|
|
2281
2313
|
"required": false,
|
|
2282
2314
|
"nullable": false
|
|
2283
2315
|
},
|
|
@@ -2478,6 +2510,7 @@ var OPERATIONS = [
|
|
|
2478
2510
|
{
|
|
2479
2511
|
"name": "channelName",
|
|
2480
2512
|
"type": "string",
|
|
2513
|
+
"description": "The channel name, for the label.",
|
|
2481
2514
|
"required": false,
|
|
2482
2515
|
"nullable": false
|
|
2483
2516
|
},
|
|
@@ -2492,18 +2525,21 @@ var OPERATIONS = [
|
|
|
2492
2525
|
{
|
|
2493
2526
|
"name": "url",
|
|
2494
2527
|
"type": "string",
|
|
2528
|
+
"description": "Where the signed POSTs go. https in production.",
|
|
2495
2529
|
"required": false,
|
|
2496
2530
|
"nullable": false
|
|
2497
2531
|
},
|
|
2498
2532
|
{
|
|
2499
2533
|
"name": "label",
|
|
2500
2534
|
"type": "string",
|
|
2535
|
+
"description": "A name for the channel; the host of the URL when omitted.",
|
|
2501
2536
|
"required": false,
|
|
2502
2537
|
"nullable": false
|
|
2503
2538
|
},
|
|
2504
2539
|
{
|
|
2505
2540
|
"name": "headers",
|
|
2506
2541
|
"type": "object",
|
|
2542
|
+
"description": "Extra request headers to send, for your own auth.",
|
|
2507
2543
|
"required": false,
|
|
2508
2544
|
"nullable": false
|
|
2509
2545
|
}
|