scrapebadger 0.9.0 → 0.10.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 +387 -13
- package/dist/index.d.ts +387 -13
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1984,7 +1984,33 @@ declare class GoogleClient {
|
|
|
1984
1984
|
* TypeScript types for Reddit API responses.
|
|
1985
1985
|
*
|
|
1986
1986
|
* This module contains all the data types used by the Reddit API client.
|
|
1987
|
+
*
|
|
1988
|
+
* Fields mirror what Reddit's authenticated `.json` API returns for each entity.
|
|
1989
|
+
* Per-viewer-session fields (tied to the scraping account) and moderator-only
|
|
1990
|
+
* fields are deliberately omitted, as are flair richtext arrays (in favour of
|
|
1991
|
+
* the resolved scalar flair fields).
|
|
1992
|
+
*/
|
|
1993
|
+
/**
|
|
1994
|
+
* An award attached to a post/comment (element of `all_awardings`).
|
|
1987
1995
|
*/
|
|
1996
|
+
interface RedditAward {
|
|
1997
|
+
/** Award identifier */
|
|
1998
|
+
id: string | null;
|
|
1999
|
+
/** Award name */
|
|
2000
|
+
name: string;
|
|
2001
|
+
/** Number of times this award was given */
|
|
2002
|
+
count: number;
|
|
2003
|
+
/** Coin price of the award */
|
|
2004
|
+
coin_price: number;
|
|
2005
|
+
/** Coin reward granted by the award */
|
|
2006
|
+
coin_reward: number;
|
|
2007
|
+
/** Award description */
|
|
2008
|
+
description: string | null;
|
|
2009
|
+
/** Award icon URL */
|
|
2010
|
+
icon_url: string | null;
|
|
2011
|
+
/** Award type */
|
|
2012
|
+
award_type: string | null;
|
|
2013
|
+
}
|
|
1988
2014
|
/**
|
|
1989
2015
|
* A Reddit post (link or self post).
|
|
1990
2016
|
*/
|
|
@@ -1995,6 +2021,10 @@ interface RedditPost {
|
|
|
1995
2021
|
fullname: string;
|
|
1996
2022
|
/** Post title */
|
|
1997
2023
|
title: string;
|
|
2024
|
+
/** Author username */
|
|
2025
|
+
author: string;
|
|
2026
|
+
/** Author fullname (t2_ prefixed) */
|
|
2027
|
+
author_fullname: string | null;
|
|
1998
2028
|
/** Self post text body */
|
|
1999
2029
|
selftext: string;
|
|
2000
2030
|
/** Self post text as HTML */
|
|
@@ -2005,10 +2035,6 @@ interface RedditPost {
|
|
|
2005
2035
|
permalink: string;
|
|
2006
2036
|
/** Post domain */
|
|
2007
2037
|
domain: string;
|
|
2008
|
-
/** Author username */
|
|
2009
|
-
author: string;
|
|
2010
|
-
/** Author fullname (t2_ prefixed) */
|
|
2011
|
-
author_fullname: string | null;
|
|
2012
2038
|
/** Subreddit name (without r/ prefix) */
|
|
2013
2039
|
subreddit: string;
|
|
2014
2040
|
/** Subreddit fullname (t5_ prefixed) */
|
|
@@ -2017,32 +2043,128 @@ interface RedditPost {
|
|
|
2017
2043
|
subreddit_name_prefixed: string | null;
|
|
2018
2044
|
/** Subreddit type (public, private, restricted, etc.) */
|
|
2019
2045
|
subreddit_type: string | null;
|
|
2046
|
+
/** Subreddit subscriber count */
|
|
2047
|
+
subreddit_subscribers: number;
|
|
2020
2048
|
/** Post score (upvotes minus downvotes) */
|
|
2021
2049
|
score: number;
|
|
2050
|
+
/** Number of upvotes */
|
|
2051
|
+
ups: number;
|
|
2052
|
+
/** Number of downvotes */
|
|
2053
|
+
downs: number;
|
|
2054
|
+
/** Ratio of upvotes to total votes */
|
|
2055
|
+
upvote_ratio: number;
|
|
2022
2056
|
/** Number of comments */
|
|
2023
2057
|
num_comments: number;
|
|
2024
2058
|
/** Number of crossposts */
|
|
2025
2059
|
num_crossposts: number;
|
|
2060
|
+
/** Total number of awards received */
|
|
2061
|
+
total_awards_received: number;
|
|
2062
|
+
/** View count (null if unavailable) */
|
|
2063
|
+
view_count: number | null;
|
|
2064
|
+
/** Number of gildings */
|
|
2065
|
+
gilded: number;
|
|
2026
2066
|
/** Post creation timestamp (Unix) */
|
|
2027
2067
|
created_utc: number;
|
|
2028
2068
|
/** Post creation time as ISO 8601 UTC string */
|
|
2029
2069
|
created_at: string | null;
|
|
2070
|
+
/** Edit timestamp (Unix) if edited, otherwise false */
|
|
2071
|
+
edited: boolean | number;
|
|
2030
2072
|
/** Whether the post is a self (text) post */
|
|
2031
2073
|
is_self: boolean;
|
|
2074
|
+
/** Whether the post is a video */
|
|
2075
|
+
is_video: boolean;
|
|
2032
2076
|
/** Whether the post is a gallery */
|
|
2033
2077
|
is_gallery: boolean;
|
|
2078
|
+
/** Whether the post is a meta post */
|
|
2079
|
+
is_meta: boolean;
|
|
2080
|
+
/** Whether the post is original content */
|
|
2081
|
+
is_original_content: boolean;
|
|
2082
|
+
/** Whether the post is indexable by robots */
|
|
2083
|
+
is_robot_indexable: boolean;
|
|
2084
|
+
/** Whether the post can be crossposted */
|
|
2085
|
+
is_crosspostable: boolean;
|
|
2086
|
+
/** Whether the post links to a Reddit media domain */
|
|
2087
|
+
is_reddit_media_domain: boolean;
|
|
2088
|
+
/** Whether the post is media only */
|
|
2089
|
+
media_only: boolean;
|
|
2034
2090
|
/** Whether the post is marked NSFW */
|
|
2035
2091
|
is_nsfw: boolean;
|
|
2036
2092
|
/** Whether the post is marked as a spoiler */
|
|
2037
2093
|
is_spoiler: boolean;
|
|
2038
2094
|
/** Whether the post is stickied */
|
|
2039
2095
|
is_stickied: boolean;
|
|
2040
|
-
/** Whether the post is
|
|
2041
|
-
|
|
2096
|
+
/** Whether the post is locked */
|
|
2097
|
+
locked: boolean;
|
|
2098
|
+
/** Whether the post is archived */
|
|
2099
|
+
archived: boolean;
|
|
2100
|
+
/** Whether the post is pinned */
|
|
2101
|
+
pinned: boolean;
|
|
2102
|
+
/** Whether the post is quarantined */
|
|
2103
|
+
quarantine: boolean;
|
|
2104
|
+
/** Whether the score is hidden */
|
|
2105
|
+
hide_score: boolean;
|
|
2106
|
+
/** Whether the post is in contest mode */
|
|
2107
|
+
contest_mode: boolean;
|
|
2108
|
+
/** Whether live comments are allowed */
|
|
2109
|
+
allow_live_comments: boolean;
|
|
2110
|
+
/** Whether reply notifications are enabled */
|
|
2111
|
+
send_replies: boolean;
|
|
2112
|
+
/** Distinguished status (moderator, admin, etc.) */
|
|
2113
|
+
distinguished: string | null;
|
|
2114
|
+
/** Category the post was removed by, if any */
|
|
2115
|
+
removed_by_category: string | null;
|
|
2116
|
+
/** Suggested sort for comments */
|
|
2117
|
+
suggested_sort: string | null;
|
|
2118
|
+
/** Discussion type */
|
|
2119
|
+
discussion_type: string | null;
|
|
2120
|
+
/** Top awarded type */
|
|
2121
|
+
top_awarded_type: string | null;
|
|
2042
2122
|
/** Post flair text (null if no flair) */
|
|
2043
2123
|
link_flair_text: string | null;
|
|
2044
|
-
/**
|
|
2045
|
-
|
|
2124
|
+
/** Post flair type */
|
|
2125
|
+
link_flair_type: string | null;
|
|
2126
|
+
/** Post flair CSS class */
|
|
2127
|
+
link_flair_css_class: string | null;
|
|
2128
|
+
/** Post flair template ID */
|
|
2129
|
+
link_flair_template_id: string | null;
|
|
2130
|
+
/** Post flair background color */
|
|
2131
|
+
link_flair_background_color: string | null;
|
|
2132
|
+
/** Post flair text color */
|
|
2133
|
+
link_flair_text_color: string | null;
|
|
2134
|
+
/** Author flair text */
|
|
2135
|
+
author_flair_text: string | null;
|
|
2136
|
+
/** Author flair type */
|
|
2137
|
+
author_flair_type: string | null;
|
|
2138
|
+
/** Author flair CSS class */
|
|
2139
|
+
author_flair_css_class: string | null;
|
|
2140
|
+
/** Author flair template ID */
|
|
2141
|
+
author_flair_template_id: string | null;
|
|
2142
|
+
/** Author flair background color */
|
|
2143
|
+
author_flair_background_color: string | null;
|
|
2144
|
+
/** Author flair text color */
|
|
2145
|
+
author_flair_text_color: string | null;
|
|
2146
|
+
/** Whether the author has Reddit Premium */
|
|
2147
|
+
author_premium: boolean;
|
|
2148
|
+
/** Whether the author has Patreon flair */
|
|
2149
|
+
author_patreon_flair: boolean;
|
|
2150
|
+
/** Thumbnail URL */
|
|
2151
|
+
thumbnail: string | null;
|
|
2152
|
+
/** Thumbnail width in pixels */
|
|
2153
|
+
thumbnail_width: number | null;
|
|
2154
|
+
/** Thumbnail height in pixels */
|
|
2155
|
+
thumbnail_height: number | null;
|
|
2156
|
+
/** Media metadata */
|
|
2157
|
+
media: Record<string, unknown> | null;
|
|
2158
|
+
/** Media embed metadata */
|
|
2159
|
+
media_embed: Record<string, unknown> | null;
|
|
2160
|
+
/** Secure media metadata */
|
|
2161
|
+
secure_media: Record<string, unknown> | null;
|
|
2162
|
+
/** Secure media embed metadata */
|
|
2163
|
+
secure_media_embed: Record<string, unknown> | null;
|
|
2164
|
+
/** All awards received by the post */
|
|
2165
|
+
all_awardings: RedditAward[];
|
|
2166
|
+
/** Gildings metadata */
|
|
2167
|
+
gildings: Record<string, unknown>;
|
|
2046
2168
|
}
|
|
2047
2169
|
/**
|
|
2048
2170
|
* A Reddit comment.
|
|
@@ -2066,20 +2188,72 @@ interface RedditComment {
|
|
|
2066
2188
|
subreddit_id: string | null;
|
|
2067
2189
|
/** Subreddit with r/ prefix */
|
|
2068
2190
|
subreddit_name_prefixed: string | null;
|
|
2069
|
-
/**
|
|
2191
|
+
/** Subreddit type (public, private, restricted, etc.) */
|
|
2192
|
+
subreddit_type: string | null;
|
|
2193
|
+
/** Post ID this comment belongs to (link_id) */
|
|
2070
2194
|
post_id: string | null;
|
|
2195
|
+
/** Parent fullname this comment replies to */
|
|
2196
|
+
parent_id: string | null;
|
|
2071
2197
|
/** Permalink to comment */
|
|
2072
2198
|
permalink: string;
|
|
2073
2199
|
/** Comment score (upvotes minus downvotes) */
|
|
2074
2200
|
score: number;
|
|
2201
|
+
/** Number of upvotes */
|
|
2202
|
+
ups: number;
|
|
2203
|
+
/** Number of downvotes */
|
|
2204
|
+
downs: number;
|
|
2205
|
+
/** Controversiality score */
|
|
2206
|
+
controversiality: number;
|
|
2207
|
+
/** Total number of awards received */
|
|
2208
|
+
total_awards_received: number;
|
|
2209
|
+
/** Number of gildings */
|
|
2210
|
+
gilded: number;
|
|
2211
|
+
/** Whether the score is hidden */
|
|
2212
|
+
score_hidden: boolean;
|
|
2075
2213
|
/** Depth level (0 for top-level comments) */
|
|
2076
2214
|
depth: number;
|
|
2077
2215
|
/** Comment creation timestamp (Unix) */
|
|
2078
2216
|
created_utc: number;
|
|
2079
2217
|
/** Comment creation time as ISO 8601 UTC string */
|
|
2080
2218
|
created_at: string | null;
|
|
2219
|
+
/** Edit timestamp (Unix) if edited, otherwise false */
|
|
2220
|
+
edited: boolean | number;
|
|
2221
|
+
/** Whether the comment author is the post submitter */
|
|
2222
|
+
is_submitter: boolean;
|
|
2081
2223
|
/** Whether the comment is stickied */
|
|
2082
2224
|
is_stickied: boolean;
|
|
2225
|
+
/** Whether the comment is locked */
|
|
2226
|
+
locked: boolean;
|
|
2227
|
+
/** Whether the comment is archived */
|
|
2228
|
+
archived: boolean;
|
|
2229
|
+
/** Whether the comment is collapsed */
|
|
2230
|
+
collapsed: boolean;
|
|
2231
|
+
/** Reason the comment was collapsed */
|
|
2232
|
+
collapsed_reason: string | null;
|
|
2233
|
+
/** Whether reply notifications are enabled */
|
|
2234
|
+
send_replies: boolean;
|
|
2235
|
+
/** Distinguished status (moderator, admin, etc.) */
|
|
2236
|
+
distinguished: string | null;
|
|
2237
|
+
/** Comment type */
|
|
2238
|
+
comment_type: string | null;
|
|
2239
|
+
/** Author flair text */
|
|
2240
|
+
author_flair_text: string | null;
|
|
2241
|
+
/** Author flair type */
|
|
2242
|
+
author_flair_type: string | null;
|
|
2243
|
+
/** Author flair CSS class */
|
|
2244
|
+
author_flair_css_class: string | null;
|
|
2245
|
+
/** Author flair template ID */
|
|
2246
|
+
author_flair_template_id: string | null;
|
|
2247
|
+
/** Author flair background color */
|
|
2248
|
+
author_flair_background_color: string | null;
|
|
2249
|
+
/** Author flair text color */
|
|
2250
|
+
author_flair_text_color: string | null;
|
|
2251
|
+
/** Whether the author has Reddit Premium */
|
|
2252
|
+
author_premium: boolean;
|
|
2253
|
+
/** All awards received by the comment */
|
|
2254
|
+
all_awardings: RedditAward[];
|
|
2255
|
+
/** Gildings metadata */
|
|
2256
|
+
gildings: Record<string, unknown>;
|
|
2083
2257
|
/** Nested replies (empty array if none) */
|
|
2084
2258
|
replies: RedditComment[];
|
|
2085
2259
|
}
|
|
@@ -2091,7 +2265,7 @@ interface RedditSubreddit {
|
|
|
2091
2265
|
id: string;
|
|
2092
2266
|
/** Fullname with t5_ prefix */
|
|
2093
2267
|
fullname: string;
|
|
2094
|
-
/** Subreddit name (without r/ prefix) */
|
|
2268
|
+
/** Subreddit name (display_name, without r/ prefix) */
|
|
2095
2269
|
name: string;
|
|
2096
2270
|
/** Subreddit with r/ prefix */
|
|
2097
2271
|
display_name_prefixed: string | null;
|
|
@@ -2099,21 +2273,130 @@ interface RedditSubreddit {
|
|
|
2099
2273
|
title: string;
|
|
2100
2274
|
/** Full sidebar description (markdown) */
|
|
2101
2275
|
description: string;
|
|
2276
|
+
/** Full sidebar description as HTML */
|
|
2277
|
+
description_html: string | null;
|
|
2102
2278
|
/** Short public description */
|
|
2103
2279
|
public_description: string;
|
|
2280
|
+
/** Short public description as HTML */
|
|
2281
|
+
public_description_html: string | null;
|
|
2104
2282
|
/** Subreddit URL path */
|
|
2105
2283
|
url: string;
|
|
2284
|
+
/** Subscriber count */
|
|
2285
|
+
subscribers: number;
|
|
2106
2286
|
/** Creation timestamp (Unix) */
|
|
2107
2287
|
created_utc: number;
|
|
2108
2288
|
/** Creation time as ISO 8601 UTC string */
|
|
2109
2289
|
created_at: string | null;
|
|
2290
|
+
/** Subreddit type (public, private, restricted, etc.) */
|
|
2291
|
+
subreddit_type: string | null;
|
|
2292
|
+
/** Primary language */
|
|
2293
|
+
lang: string | null;
|
|
2110
2294
|
/** Whether the subreddit is marked NSFW */
|
|
2111
2295
|
is_nsfw: boolean;
|
|
2296
|
+
/** Whether the subreddit is quarantined */
|
|
2297
|
+
quarantine: boolean;
|
|
2298
|
+
/** Whether the wiki is enabled */
|
|
2299
|
+
wiki_enabled: boolean;
|
|
2300
|
+
/** Whether the subreddit is over 18 */
|
|
2301
|
+
over18: boolean;
|
|
2302
|
+
/** Allowed submission type */
|
|
2303
|
+
submission_type: string | null;
|
|
2304
|
+
/** Submission guidelines text */
|
|
2305
|
+
submit_text: string;
|
|
2306
|
+
/** Submission guidelines text as HTML */
|
|
2307
|
+
submit_text_html: string | null;
|
|
2308
|
+
/** Label for the submit text button */
|
|
2309
|
+
submit_text_label: string | null;
|
|
2310
|
+
/** Label for the submit link button */
|
|
2311
|
+
submit_link_label: string | null;
|
|
2312
|
+
/** Whether image submissions are allowed */
|
|
2313
|
+
allow_images: boolean;
|
|
2314
|
+
/** Whether video submissions are allowed */
|
|
2315
|
+
allow_videos: boolean;
|
|
2316
|
+
/** Whether gallery submissions are allowed */
|
|
2317
|
+
allow_galleries: boolean;
|
|
2318
|
+
/** Whether poll submissions are allowed */
|
|
2319
|
+
allow_polls: boolean;
|
|
2320
|
+
/** Whether spoiler tagging is enabled */
|
|
2321
|
+
spoilers_enabled: boolean;
|
|
2322
|
+
/** Whether the original content tag is enabled */
|
|
2323
|
+
original_content_tag_enabled: boolean;
|
|
2324
|
+
/** Whether all content is original content */
|
|
2325
|
+
all_original_content: boolean;
|
|
2326
|
+
/** Whether posting is restricted */
|
|
2327
|
+
restrict_posting: boolean;
|
|
2328
|
+
/** Whether commenting is restricted */
|
|
2329
|
+
restrict_commenting: boolean;
|
|
2330
|
+
/** Whether free-form reports are allowed */
|
|
2331
|
+
free_form_reports: boolean;
|
|
2332
|
+
/** Whether media is shown */
|
|
2333
|
+
show_media: boolean;
|
|
2334
|
+
/** Whether followers are accepted */
|
|
2335
|
+
accept_followers: boolean;
|
|
2336
|
+
/** Whether link flair is enabled */
|
|
2337
|
+
link_flair_enabled: boolean;
|
|
2338
|
+
/** Link flair position */
|
|
2339
|
+
link_flair_position: string | null;
|
|
2340
|
+
/** Minutes for which comment scores are hidden */
|
|
2341
|
+
comment_score_hide_mins: number;
|
|
2342
|
+
/** Suggested comment sort */
|
|
2343
|
+
suggested_comment_sort: string | null;
|
|
2344
|
+
/** Advertiser category */
|
|
2345
|
+
advertiser_category: string | null;
|
|
2346
|
+
/** Community icon URL */
|
|
2347
|
+
community_icon: string | null;
|
|
2348
|
+
/** Icon image URL */
|
|
2349
|
+
icon_img: string | null;
|
|
2350
|
+
/** Banner image URL */
|
|
2351
|
+
banner_img: string | null;
|
|
2352
|
+
/** Banner background image URL */
|
|
2353
|
+
banner_background_image: string | null;
|
|
2354
|
+
/** Header image URL */
|
|
2355
|
+
header_img: string | null;
|
|
2356
|
+
/** Header title */
|
|
2357
|
+
header_title: string | null;
|
|
2358
|
+
/** Primary color */
|
|
2359
|
+
primary_color: string | null;
|
|
2360
|
+
/** Key color */
|
|
2361
|
+
key_color: string | null;
|
|
2362
|
+
/** Banner background color */
|
|
2363
|
+
banner_background_color: string | null;
|
|
2364
|
+
}
|
|
2365
|
+
/**
|
|
2366
|
+
* The profile subreddit (u/<name>) embedded in a user's `about` payload.
|
|
2367
|
+
*/
|
|
2368
|
+
interface RedditUserSubreddit {
|
|
2369
|
+
/** Display name */
|
|
2370
|
+
display_name: string;
|
|
2371
|
+
/** Display name with prefix */
|
|
2372
|
+
display_name_prefixed: string | null;
|
|
2373
|
+
/** Title */
|
|
2374
|
+
title: string;
|
|
2375
|
+
/** Short public description */
|
|
2376
|
+
public_description: string;
|
|
2377
|
+
/** Subscriber count */
|
|
2378
|
+
subscribers: number;
|
|
2379
|
+
/** URL path */
|
|
2380
|
+
url: string;
|
|
2381
|
+
/** Subreddit type */
|
|
2382
|
+
subreddit_type: string | null;
|
|
2383
|
+
/** Whether the profile subreddit is over 18 */
|
|
2384
|
+
over_18: boolean;
|
|
2385
|
+
/** Icon image URL */
|
|
2386
|
+
icon_img: string | null;
|
|
2387
|
+
/** Banner image URL */
|
|
2388
|
+
banner_img: string | null;
|
|
2389
|
+
/** Community icon URL */
|
|
2390
|
+
community_icon: string | null;
|
|
2391
|
+
/** Primary color */
|
|
2392
|
+
primary_color: string | null;
|
|
2112
2393
|
}
|
|
2113
2394
|
/**
|
|
2114
2395
|
* A Reddit user profile.
|
|
2115
2396
|
*/
|
|
2116
2397
|
interface RedditUser {
|
|
2398
|
+
/** User identifier (without t2_ prefix) */
|
|
2399
|
+
id: string | null;
|
|
2117
2400
|
/** Username (without u/ prefix) */
|
|
2118
2401
|
name: string;
|
|
2119
2402
|
/** Username with u/ prefix */
|
|
@@ -2122,6 +2405,10 @@ interface RedditUser {
|
|
|
2122
2405
|
link_karma: number;
|
|
2123
2406
|
/** Comment karma */
|
|
2124
2407
|
comment_karma: number;
|
|
2408
|
+
/** Awardee karma */
|
|
2409
|
+
awardee_karma: number;
|
|
2410
|
+
/** Awarder karma */
|
|
2411
|
+
awarder_karma: number;
|
|
2125
2412
|
/** Combined total karma */
|
|
2126
2413
|
total_karma: number;
|
|
2127
2414
|
/** Account creation timestamp (Unix) */
|
|
@@ -2130,6 +2417,26 @@ interface RedditUser {
|
|
|
2130
2417
|
created_at: string | null;
|
|
2131
2418
|
/** Whether the account has Reddit Premium */
|
|
2132
2419
|
is_gold: boolean;
|
|
2420
|
+
/** Whether the user is a Reddit employee */
|
|
2421
|
+
is_employee: boolean;
|
|
2422
|
+
/** Whether the user is a moderator */
|
|
2423
|
+
is_mod: boolean;
|
|
2424
|
+
/** Whether the user is a friend */
|
|
2425
|
+
is_friend: boolean;
|
|
2426
|
+
/** Whether the account is verified */
|
|
2427
|
+
verified: boolean;
|
|
2428
|
+
/** Whether the account has a verified email */
|
|
2429
|
+
has_verified_email: boolean;
|
|
2430
|
+
/** Whether the profile is hidden from robots */
|
|
2431
|
+
hide_from_robots: boolean;
|
|
2432
|
+
/** Whether the user accepts followers */
|
|
2433
|
+
accept_followers: boolean;
|
|
2434
|
+
/** Avatar icon URL */
|
|
2435
|
+
icon_img: string | null;
|
|
2436
|
+
/** Snoovatar image URL */
|
|
2437
|
+
snoovatar_img: string | null;
|
|
2438
|
+
/** The user's profile subreddit */
|
|
2439
|
+
subreddit: RedditUserSubreddit | null;
|
|
2133
2440
|
}
|
|
2134
2441
|
/**
|
|
2135
2442
|
* A subreddit rule.
|
|
@@ -2141,6 +2448,14 @@ interface RedditRule {
|
|
|
2141
2448
|
short_name: string;
|
|
2142
2449
|
/** Full rule description (markdown) */
|
|
2143
2450
|
description: string;
|
|
2451
|
+
/** Full rule description as HTML */
|
|
2452
|
+
description_html: string | null;
|
|
2453
|
+
/** Violation reason */
|
|
2454
|
+
violation_reason: string | null;
|
|
2455
|
+
/** Rule creation timestamp (Unix) */
|
|
2456
|
+
created_utc: number;
|
|
2457
|
+
/** Rule kind */
|
|
2458
|
+
kind: string | null;
|
|
2144
2459
|
}
|
|
2145
2460
|
/**
|
|
2146
2461
|
* A subreddit wiki page.
|
|
@@ -2156,19 +2471,76 @@ interface RedditWikiPage {
|
|
|
2156
2471
|
revision_by: string | null;
|
|
2157
2472
|
/** Revision timestamp (Unix), null if unknown */
|
|
2158
2473
|
revision_date: number | null;
|
|
2474
|
+
/** Revision identifier */
|
|
2475
|
+
revision_id: string | null;
|
|
2476
|
+
/** Whether the page may be revised */
|
|
2477
|
+
may_revise: boolean;
|
|
2478
|
+
/** Reason associated with the page */
|
|
2479
|
+
reason: string | null;
|
|
2159
2480
|
}
|
|
2160
2481
|
/**
|
|
2161
2482
|
* A Reddit user trophy.
|
|
2162
2483
|
*/
|
|
2163
2484
|
interface RedditTrophy {
|
|
2485
|
+
/** Trophy identifier */
|
|
2486
|
+
id: string | null;
|
|
2487
|
+
/** Award identifier */
|
|
2488
|
+
award_id: string | null;
|
|
2164
2489
|
/** Trophy name */
|
|
2165
2490
|
name: string;
|
|
2166
2491
|
/** Trophy description */
|
|
2167
2492
|
description: string | null;
|
|
2168
|
-
/** Trophy icon URL */
|
|
2493
|
+
/** Trophy icon URL (icon_70) */
|
|
2169
2494
|
icon_url: string | null;
|
|
2495
|
+
/** 40px icon URL */
|
|
2496
|
+
icon_40: string | null;
|
|
2497
|
+
/** 70px icon URL */
|
|
2498
|
+
icon_70: string | null;
|
|
2170
2499
|
/** URL associated with the trophy */
|
|
2171
2500
|
url: string | null;
|
|
2501
|
+
/** Timestamp the trophy was granted (Unix) */
|
|
2502
|
+
granted_at: number | null;
|
|
2503
|
+
}
|
|
2504
|
+
/**
|
|
2505
|
+
* A subreddit a user moderates (from `/user/{u}/moderated_subreddits`).
|
|
2506
|
+
*/
|
|
2507
|
+
interface RedditModeratedSubreddit {
|
|
2508
|
+
/** Subreddit fullname (t5_ prefixed) */
|
|
2509
|
+
fullname: string | null;
|
|
2510
|
+
/** Subreddit id */
|
|
2511
|
+
sr: string | null;
|
|
2512
|
+
/** Subreddit display name */
|
|
2513
|
+
name: string;
|
|
2514
|
+
/** Subreddit with r/ prefix */
|
|
2515
|
+
display_name_prefixed: string | null;
|
|
2516
|
+
/** Subreddit display name with r/ prefix (from sr field) */
|
|
2517
|
+
sr_display_name_prefixed: string | null;
|
|
2518
|
+
/** Subreddit title */
|
|
2519
|
+
title: string;
|
|
2520
|
+
/** Subreddit URL path */
|
|
2521
|
+
url: string;
|
|
2522
|
+
/** Subscriber count */
|
|
2523
|
+
subscribers: number;
|
|
2524
|
+
/** Subreddit type */
|
|
2525
|
+
subreddit_type: string | null;
|
|
2526
|
+
/** Whether the subreddit is over 18 */
|
|
2527
|
+
over_18: boolean;
|
|
2528
|
+
/** Community icon URL */
|
|
2529
|
+
community_icon: string | null;
|
|
2530
|
+
/** Icon image URL */
|
|
2531
|
+
icon_img: string | null;
|
|
2532
|
+
/** Banner image URL */
|
|
2533
|
+
banner_img: string | null;
|
|
2534
|
+
/** Primary color */
|
|
2535
|
+
primary_color: string | null;
|
|
2536
|
+
/** Key color */
|
|
2537
|
+
key_color: string | null;
|
|
2538
|
+
/** Creation timestamp (Unix) */
|
|
2539
|
+
created_utc: number;
|
|
2540
|
+
/** Creation time as ISO 8601 UTC string */
|
|
2541
|
+
created_at: string | null;
|
|
2542
|
+
/** Moderator permissions held by the user */
|
|
2543
|
+
mod_permissions: string[];
|
|
2172
2544
|
}
|
|
2173
2545
|
/**
|
|
2174
2546
|
* Pagination metadata for list responses.
|
|
@@ -2253,6 +2625,8 @@ interface SubredditRulesResponse {
|
|
|
2253
2625
|
rules: RedditRule[];
|
|
2254
2626
|
/** Subreddit name */
|
|
2255
2627
|
subreddit: string;
|
|
2628
|
+
/** Site-wide rules */
|
|
2629
|
+
site_rules: string[];
|
|
2256
2630
|
}
|
|
2257
2631
|
/**
|
|
2258
2632
|
* Response from the subreddit wiki pages list endpoint.
|
|
@@ -2306,7 +2680,7 @@ interface UserCommentsResponse {
|
|
|
2306
2680
|
*/
|
|
2307
2681
|
interface UserModeratedResponse {
|
|
2308
2682
|
/** Subreddits moderated by the user */
|
|
2309
|
-
subreddits:
|
|
2683
|
+
subreddits: RedditModeratedSubreddit[];
|
|
2310
2684
|
/** Username */
|
|
2311
2685
|
username: string;
|
|
2312
2686
|
}
|
|
@@ -3101,4 +3475,4 @@ declare class ScrapeBadger {
|
|
|
3101
3475
|
constructor(config?: Partial<ScrapeBadgerConfig>);
|
|
3102
3476
|
}
|
|
3103
3477
|
|
|
3104
|
-
export { type AiModeSearchParams, type AutocompleteParams, type DetectOptions, type DetectResult, type DomainPostsResponse, type FinanceQuoteParams, type FlightsSearchParams, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient as GoogleProductsClient, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$1 as GoogleSearchClient, type GoogleSearchParams, ShoppingClient as GoogleShoppingClient, ShortsClient as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient as GoogleVideosClient, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type JobsSearchParams, type LensSearchParams, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, RedditClient, type RedditComment, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, UsersClient as RedditUsersClient, type RedditWikiPage, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShoppingClickParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubredditDetailResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TrendingPostsResponse, type TrendsAutocompleteParams, type TrendsInterestParams, type TrendsRegionsParams, type TrendsRelatedParams, type TrendsTrendingParams, TwitterClient, type UserCommentsResponse, type UserModeratedResponse, type UserPostsResponse, type UserTrophiesResponse, type VideosSearchParams, type VintedBrand, type BrandsResponse as VintedBrandsResponse, VintedClient, type VintedColor, type ColorsResponse as VintedColorsResponse, type VintedItemDetail, type ItemDetailResponse as VintedItemDetailResponse, type VintedItemSummary, ItemsClient as VintedItemsClient, type VintedMarket, type MarketsResponse as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient as VintedReferenceClient, SearchClient$2 as VintedSearchClient, type VintedSearchParams, type SearchResponse as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$1 as VintedUsersClient, WebClient, type WikiPageResponse };
|
|
3478
|
+
export { type AiModeSearchParams, type AutocompleteParams, type DetectOptions, type DetectResult, type DomainPostsResponse, type FinanceQuoteParams, type FlightsSearchParams, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient as GoogleProductsClient, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$1 as GoogleSearchClient, type GoogleSearchParams, ShoppingClient as GoogleShoppingClient, ShortsClient as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient as GoogleVideosClient, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type JobsSearchParams, type LensSearchParams, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, type RedditAward, RedditClient, type RedditComment, type RedditModeratedSubreddit, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, type RedditUserSubreddit, UsersClient as RedditUsersClient, type RedditWikiPage, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShoppingClickParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubredditDetailResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TrendingPostsResponse, type TrendsAutocompleteParams, type TrendsInterestParams, type TrendsRegionsParams, type TrendsRelatedParams, type TrendsTrendingParams, TwitterClient, type UserCommentsResponse, type UserModeratedResponse, type UserPostsResponse, type UserTrophiesResponse, type VideosSearchParams, type VintedBrand, type BrandsResponse as VintedBrandsResponse, VintedClient, type VintedColor, type ColorsResponse as VintedColorsResponse, type VintedItemDetail, type ItemDetailResponse as VintedItemDetailResponse, type VintedItemSummary, ItemsClient as VintedItemsClient, type VintedMarket, type MarketsResponse as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient as VintedReferenceClient, SearchClient$2 as VintedSearchClient, type VintedSearchParams, type SearchResponse as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$1 as VintedUsersClient, WebClient, type WikiPageResponse };
|
package/dist/index.d.ts
CHANGED
|
@@ -1984,7 +1984,33 @@ declare class GoogleClient {
|
|
|
1984
1984
|
* TypeScript types for Reddit API responses.
|
|
1985
1985
|
*
|
|
1986
1986
|
* This module contains all the data types used by the Reddit API client.
|
|
1987
|
+
*
|
|
1988
|
+
* Fields mirror what Reddit's authenticated `.json` API returns for each entity.
|
|
1989
|
+
* Per-viewer-session fields (tied to the scraping account) and moderator-only
|
|
1990
|
+
* fields are deliberately omitted, as are flair richtext arrays (in favour of
|
|
1991
|
+
* the resolved scalar flair fields).
|
|
1992
|
+
*/
|
|
1993
|
+
/**
|
|
1994
|
+
* An award attached to a post/comment (element of `all_awardings`).
|
|
1987
1995
|
*/
|
|
1996
|
+
interface RedditAward {
|
|
1997
|
+
/** Award identifier */
|
|
1998
|
+
id: string | null;
|
|
1999
|
+
/** Award name */
|
|
2000
|
+
name: string;
|
|
2001
|
+
/** Number of times this award was given */
|
|
2002
|
+
count: number;
|
|
2003
|
+
/** Coin price of the award */
|
|
2004
|
+
coin_price: number;
|
|
2005
|
+
/** Coin reward granted by the award */
|
|
2006
|
+
coin_reward: number;
|
|
2007
|
+
/** Award description */
|
|
2008
|
+
description: string | null;
|
|
2009
|
+
/** Award icon URL */
|
|
2010
|
+
icon_url: string | null;
|
|
2011
|
+
/** Award type */
|
|
2012
|
+
award_type: string | null;
|
|
2013
|
+
}
|
|
1988
2014
|
/**
|
|
1989
2015
|
* A Reddit post (link or self post).
|
|
1990
2016
|
*/
|
|
@@ -1995,6 +2021,10 @@ interface RedditPost {
|
|
|
1995
2021
|
fullname: string;
|
|
1996
2022
|
/** Post title */
|
|
1997
2023
|
title: string;
|
|
2024
|
+
/** Author username */
|
|
2025
|
+
author: string;
|
|
2026
|
+
/** Author fullname (t2_ prefixed) */
|
|
2027
|
+
author_fullname: string | null;
|
|
1998
2028
|
/** Self post text body */
|
|
1999
2029
|
selftext: string;
|
|
2000
2030
|
/** Self post text as HTML */
|
|
@@ -2005,10 +2035,6 @@ interface RedditPost {
|
|
|
2005
2035
|
permalink: string;
|
|
2006
2036
|
/** Post domain */
|
|
2007
2037
|
domain: string;
|
|
2008
|
-
/** Author username */
|
|
2009
|
-
author: string;
|
|
2010
|
-
/** Author fullname (t2_ prefixed) */
|
|
2011
|
-
author_fullname: string | null;
|
|
2012
2038
|
/** Subreddit name (without r/ prefix) */
|
|
2013
2039
|
subreddit: string;
|
|
2014
2040
|
/** Subreddit fullname (t5_ prefixed) */
|
|
@@ -2017,32 +2043,128 @@ interface RedditPost {
|
|
|
2017
2043
|
subreddit_name_prefixed: string | null;
|
|
2018
2044
|
/** Subreddit type (public, private, restricted, etc.) */
|
|
2019
2045
|
subreddit_type: string | null;
|
|
2046
|
+
/** Subreddit subscriber count */
|
|
2047
|
+
subreddit_subscribers: number;
|
|
2020
2048
|
/** Post score (upvotes minus downvotes) */
|
|
2021
2049
|
score: number;
|
|
2050
|
+
/** Number of upvotes */
|
|
2051
|
+
ups: number;
|
|
2052
|
+
/** Number of downvotes */
|
|
2053
|
+
downs: number;
|
|
2054
|
+
/** Ratio of upvotes to total votes */
|
|
2055
|
+
upvote_ratio: number;
|
|
2022
2056
|
/** Number of comments */
|
|
2023
2057
|
num_comments: number;
|
|
2024
2058
|
/** Number of crossposts */
|
|
2025
2059
|
num_crossposts: number;
|
|
2060
|
+
/** Total number of awards received */
|
|
2061
|
+
total_awards_received: number;
|
|
2062
|
+
/** View count (null if unavailable) */
|
|
2063
|
+
view_count: number | null;
|
|
2064
|
+
/** Number of gildings */
|
|
2065
|
+
gilded: number;
|
|
2026
2066
|
/** Post creation timestamp (Unix) */
|
|
2027
2067
|
created_utc: number;
|
|
2028
2068
|
/** Post creation time as ISO 8601 UTC string */
|
|
2029
2069
|
created_at: string | null;
|
|
2070
|
+
/** Edit timestamp (Unix) if edited, otherwise false */
|
|
2071
|
+
edited: boolean | number;
|
|
2030
2072
|
/** Whether the post is a self (text) post */
|
|
2031
2073
|
is_self: boolean;
|
|
2074
|
+
/** Whether the post is a video */
|
|
2075
|
+
is_video: boolean;
|
|
2032
2076
|
/** Whether the post is a gallery */
|
|
2033
2077
|
is_gallery: boolean;
|
|
2078
|
+
/** Whether the post is a meta post */
|
|
2079
|
+
is_meta: boolean;
|
|
2080
|
+
/** Whether the post is original content */
|
|
2081
|
+
is_original_content: boolean;
|
|
2082
|
+
/** Whether the post is indexable by robots */
|
|
2083
|
+
is_robot_indexable: boolean;
|
|
2084
|
+
/** Whether the post can be crossposted */
|
|
2085
|
+
is_crosspostable: boolean;
|
|
2086
|
+
/** Whether the post links to a Reddit media domain */
|
|
2087
|
+
is_reddit_media_domain: boolean;
|
|
2088
|
+
/** Whether the post is media only */
|
|
2089
|
+
media_only: boolean;
|
|
2034
2090
|
/** Whether the post is marked NSFW */
|
|
2035
2091
|
is_nsfw: boolean;
|
|
2036
2092
|
/** Whether the post is marked as a spoiler */
|
|
2037
2093
|
is_spoiler: boolean;
|
|
2038
2094
|
/** Whether the post is stickied */
|
|
2039
2095
|
is_stickied: boolean;
|
|
2040
|
-
/** Whether the post is
|
|
2041
|
-
|
|
2096
|
+
/** Whether the post is locked */
|
|
2097
|
+
locked: boolean;
|
|
2098
|
+
/** Whether the post is archived */
|
|
2099
|
+
archived: boolean;
|
|
2100
|
+
/** Whether the post is pinned */
|
|
2101
|
+
pinned: boolean;
|
|
2102
|
+
/** Whether the post is quarantined */
|
|
2103
|
+
quarantine: boolean;
|
|
2104
|
+
/** Whether the score is hidden */
|
|
2105
|
+
hide_score: boolean;
|
|
2106
|
+
/** Whether the post is in contest mode */
|
|
2107
|
+
contest_mode: boolean;
|
|
2108
|
+
/** Whether live comments are allowed */
|
|
2109
|
+
allow_live_comments: boolean;
|
|
2110
|
+
/** Whether reply notifications are enabled */
|
|
2111
|
+
send_replies: boolean;
|
|
2112
|
+
/** Distinguished status (moderator, admin, etc.) */
|
|
2113
|
+
distinguished: string | null;
|
|
2114
|
+
/** Category the post was removed by, if any */
|
|
2115
|
+
removed_by_category: string | null;
|
|
2116
|
+
/** Suggested sort for comments */
|
|
2117
|
+
suggested_sort: string | null;
|
|
2118
|
+
/** Discussion type */
|
|
2119
|
+
discussion_type: string | null;
|
|
2120
|
+
/** Top awarded type */
|
|
2121
|
+
top_awarded_type: string | null;
|
|
2042
2122
|
/** Post flair text (null if no flair) */
|
|
2043
2123
|
link_flair_text: string | null;
|
|
2044
|
-
/**
|
|
2045
|
-
|
|
2124
|
+
/** Post flair type */
|
|
2125
|
+
link_flair_type: string | null;
|
|
2126
|
+
/** Post flair CSS class */
|
|
2127
|
+
link_flair_css_class: string | null;
|
|
2128
|
+
/** Post flair template ID */
|
|
2129
|
+
link_flair_template_id: string | null;
|
|
2130
|
+
/** Post flair background color */
|
|
2131
|
+
link_flair_background_color: string | null;
|
|
2132
|
+
/** Post flair text color */
|
|
2133
|
+
link_flair_text_color: string | null;
|
|
2134
|
+
/** Author flair text */
|
|
2135
|
+
author_flair_text: string | null;
|
|
2136
|
+
/** Author flair type */
|
|
2137
|
+
author_flair_type: string | null;
|
|
2138
|
+
/** Author flair CSS class */
|
|
2139
|
+
author_flair_css_class: string | null;
|
|
2140
|
+
/** Author flair template ID */
|
|
2141
|
+
author_flair_template_id: string | null;
|
|
2142
|
+
/** Author flair background color */
|
|
2143
|
+
author_flair_background_color: string | null;
|
|
2144
|
+
/** Author flair text color */
|
|
2145
|
+
author_flair_text_color: string | null;
|
|
2146
|
+
/** Whether the author has Reddit Premium */
|
|
2147
|
+
author_premium: boolean;
|
|
2148
|
+
/** Whether the author has Patreon flair */
|
|
2149
|
+
author_patreon_flair: boolean;
|
|
2150
|
+
/** Thumbnail URL */
|
|
2151
|
+
thumbnail: string | null;
|
|
2152
|
+
/** Thumbnail width in pixels */
|
|
2153
|
+
thumbnail_width: number | null;
|
|
2154
|
+
/** Thumbnail height in pixels */
|
|
2155
|
+
thumbnail_height: number | null;
|
|
2156
|
+
/** Media metadata */
|
|
2157
|
+
media: Record<string, unknown> | null;
|
|
2158
|
+
/** Media embed metadata */
|
|
2159
|
+
media_embed: Record<string, unknown> | null;
|
|
2160
|
+
/** Secure media metadata */
|
|
2161
|
+
secure_media: Record<string, unknown> | null;
|
|
2162
|
+
/** Secure media embed metadata */
|
|
2163
|
+
secure_media_embed: Record<string, unknown> | null;
|
|
2164
|
+
/** All awards received by the post */
|
|
2165
|
+
all_awardings: RedditAward[];
|
|
2166
|
+
/** Gildings metadata */
|
|
2167
|
+
gildings: Record<string, unknown>;
|
|
2046
2168
|
}
|
|
2047
2169
|
/**
|
|
2048
2170
|
* A Reddit comment.
|
|
@@ -2066,20 +2188,72 @@ interface RedditComment {
|
|
|
2066
2188
|
subreddit_id: string | null;
|
|
2067
2189
|
/** Subreddit with r/ prefix */
|
|
2068
2190
|
subreddit_name_prefixed: string | null;
|
|
2069
|
-
/**
|
|
2191
|
+
/** Subreddit type (public, private, restricted, etc.) */
|
|
2192
|
+
subreddit_type: string | null;
|
|
2193
|
+
/** Post ID this comment belongs to (link_id) */
|
|
2070
2194
|
post_id: string | null;
|
|
2195
|
+
/** Parent fullname this comment replies to */
|
|
2196
|
+
parent_id: string | null;
|
|
2071
2197
|
/** Permalink to comment */
|
|
2072
2198
|
permalink: string;
|
|
2073
2199
|
/** Comment score (upvotes minus downvotes) */
|
|
2074
2200
|
score: number;
|
|
2201
|
+
/** Number of upvotes */
|
|
2202
|
+
ups: number;
|
|
2203
|
+
/** Number of downvotes */
|
|
2204
|
+
downs: number;
|
|
2205
|
+
/** Controversiality score */
|
|
2206
|
+
controversiality: number;
|
|
2207
|
+
/** Total number of awards received */
|
|
2208
|
+
total_awards_received: number;
|
|
2209
|
+
/** Number of gildings */
|
|
2210
|
+
gilded: number;
|
|
2211
|
+
/** Whether the score is hidden */
|
|
2212
|
+
score_hidden: boolean;
|
|
2075
2213
|
/** Depth level (0 for top-level comments) */
|
|
2076
2214
|
depth: number;
|
|
2077
2215
|
/** Comment creation timestamp (Unix) */
|
|
2078
2216
|
created_utc: number;
|
|
2079
2217
|
/** Comment creation time as ISO 8601 UTC string */
|
|
2080
2218
|
created_at: string | null;
|
|
2219
|
+
/** Edit timestamp (Unix) if edited, otherwise false */
|
|
2220
|
+
edited: boolean | number;
|
|
2221
|
+
/** Whether the comment author is the post submitter */
|
|
2222
|
+
is_submitter: boolean;
|
|
2081
2223
|
/** Whether the comment is stickied */
|
|
2082
2224
|
is_stickied: boolean;
|
|
2225
|
+
/** Whether the comment is locked */
|
|
2226
|
+
locked: boolean;
|
|
2227
|
+
/** Whether the comment is archived */
|
|
2228
|
+
archived: boolean;
|
|
2229
|
+
/** Whether the comment is collapsed */
|
|
2230
|
+
collapsed: boolean;
|
|
2231
|
+
/** Reason the comment was collapsed */
|
|
2232
|
+
collapsed_reason: string | null;
|
|
2233
|
+
/** Whether reply notifications are enabled */
|
|
2234
|
+
send_replies: boolean;
|
|
2235
|
+
/** Distinguished status (moderator, admin, etc.) */
|
|
2236
|
+
distinguished: string | null;
|
|
2237
|
+
/** Comment type */
|
|
2238
|
+
comment_type: string | null;
|
|
2239
|
+
/** Author flair text */
|
|
2240
|
+
author_flair_text: string | null;
|
|
2241
|
+
/** Author flair type */
|
|
2242
|
+
author_flair_type: string | null;
|
|
2243
|
+
/** Author flair CSS class */
|
|
2244
|
+
author_flair_css_class: string | null;
|
|
2245
|
+
/** Author flair template ID */
|
|
2246
|
+
author_flair_template_id: string | null;
|
|
2247
|
+
/** Author flair background color */
|
|
2248
|
+
author_flair_background_color: string | null;
|
|
2249
|
+
/** Author flair text color */
|
|
2250
|
+
author_flair_text_color: string | null;
|
|
2251
|
+
/** Whether the author has Reddit Premium */
|
|
2252
|
+
author_premium: boolean;
|
|
2253
|
+
/** All awards received by the comment */
|
|
2254
|
+
all_awardings: RedditAward[];
|
|
2255
|
+
/** Gildings metadata */
|
|
2256
|
+
gildings: Record<string, unknown>;
|
|
2083
2257
|
/** Nested replies (empty array if none) */
|
|
2084
2258
|
replies: RedditComment[];
|
|
2085
2259
|
}
|
|
@@ -2091,7 +2265,7 @@ interface RedditSubreddit {
|
|
|
2091
2265
|
id: string;
|
|
2092
2266
|
/** Fullname with t5_ prefix */
|
|
2093
2267
|
fullname: string;
|
|
2094
|
-
/** Subreddit name (without r/ prefix) */
|
|
2268
|
+
/** Subreddit name (display_name, without r/ prefix) */
|
|
2095
2269
|
name: string;
|
|
2096
2270
|
/** Subreddit with r/ prefix */
|
|
2097
2271
|
display_name_prefixed: string | null;
|
|
@@ -2099,21 +2273,130 @@ interface RedditSubreddit {
|
|
|
2099
2273
|
title: string;
|
|
2100
2274
|
/** Full sidebar description (markdown) */
|
|
2101
2275
|
description: string;
|
|
2276
|
+
/** Full sidebar description as HTML */
|
|
2277
|
+
description_html: string | null;
|
|
2102
2278
|
/** Short public description */
|
|
2103
2279
|
public_description: string;
|
|
2280
|
+
/** Short public description as HTML */
|
|
2281
|
+
public_description_html: string | null;
|
|
2104
2282
|
/** Subreddit URL path */
|
|
2105
2283
|
url: string;
|
|
2284
|
+
/** Subscriber count */
|
|
2285
|
+
subscribers: number;
|
|
2106
2286
|
/** Creation timestamp (Unix) */
|
|
2107
2287
|
created_utc: number;
|
|
2108
2288
|
/** Creation time as ISO 8601 UTC string */
|
|
2109
2289
|
created_at: string | null;
|
|
2290
|
+
/** Subreddit type (public, private, restricted, etc.) */
|
|
2291
|
+
subreddit_type: string | null;
|
|
2292
|
+
/** Primary language */
|
|
2293
|
+
lang: string | null;
|
|
2110
2294
|
/** Whether the subreddit is marked NSFW */
|
|
2111
2295
|
is_nsfw: boolean;
|
|
2296
|
+
/** Whether the subreddit is quarantined */
|
|
2297
|
+
quarantine: boolean;
|
|
2298
|
+
/** Whether the wiki is enabled */
|
|
2299
|
+
wiki_enabled: boolean;
|
|
2300
|
+
/** Whether the subreddit is over 18 */
|
|
2301
|
+
over18: boolean;
|
|
2302
|
+
/** Allowed submission type */
|
|
2303
|
+
submission_type: string | null;
|
|
2304
|
+
/** Submission guidelines text */
|
|
2305
|
+
submit_text: string;
|
|
2306
|
+
/** Submission guidelines text as HTML */
|
|
2307
|
+
submit_text_html: string | null;
|
|
2308
|
+
/** Label for the submit text button */
|
|
2309
|
+
submit_text_label: string | null;
|
|
2310
|
+
/** Label for the submit link button */
|
|
2311
|
+
submit_link_label: string | null;
|
|
2312
|
+
/** Whether image submissions are allowed */
|
|
2313
|
+
allow_images: boolean;
|
|
2314
|
+
/** Whether video submissions are allowed */
|
|
2315
|
+
allow_videos: boolean;
|
|
2316
|
+
/** Whether gallery submissions are allowed */
|
|
2317
|
+
allow_galleries: boolean;
|
|
2318
|
+
/** Whether poll submissions are allowed */
|
|
2319
|
+
allow_polls: boolean;
|
|
2320
|
+
/** Whether spoiler tagging is enabled */
|
|
2321
|
+
spoilers_enabled: boolean;
|
|
2322
|
+
/** Whether the original content tag is enabled */
|
|
2323
|
+
original_content_tag_enabled: boolean;
|
|
2324
|
+
/** Whether all content is original content */
|
|
2325
|
+
all_original_content: boolean;
|
|
2326
|
+
/** Whether posting is restricted */
|
|
2327
|
+
restrict_posting: boolean;
|
|
2328
|
+
/** Whether commenting is restricted */
|
|
2329
|
+
restrict_commenting: boolean;
|
|
2330
|
+
/** Whether free-form reports are allowed */
|
|
2331
|
+
free_form_reports: boolean;
|
|
2332
|
+
/** Whether media is shown */
|
|
2333
|
+
show_media: boolean;
|
|
2334
|
+
/** Whether followers are accepted */
|
|
2335
|
+
accept_followers: boolean;
|
|
2336
|
+
/** Whether link flair is enabled */
|
|
2337
|
+
link_flair_enabled: boolean;
|
|
2338
|
+
/** Link flair position */
|
|
2339
|
+
link_flair_position: string | null;
|
|
2340
|
+
/** Minutes for which comment scores are hidden */
|
|
2341
|
+
comment_score_hide_mins: number;
|
|
2342
|
+
/** Suggested comment sort */
|
|
2343
|
+
suggested_comment_sort: string | null;
|
|
2344
|
+
/** Advertiser category */
|
|
2345
|
+
advertiser_category: string | null;
|
|
2346
|
+
/** Community icon URL */
|
|
2347
|
+
community_icon: string | null;
|
|
2348
|
+
/** Icon image URL */
|
|
2349
|
+
icon_img: string | null;
|
|
2350
|
+
/** Banner image URL */
|
|
2351
|
+
banner_img: string | null;
|
|
2352
|
+
/** Banner background image URL */
|
|
2353
|
+
banner_background_image: string | null;
|
|
2354
|
+
/** Header image URL */
|
|
2355
|
+
header_img: string | null;
|
|
2356
|
+
/** Header title */
|
|
2357
|
+
header_title: string | null;
|
|
2358
|
+
/** Primary color */
|
|
2359
|
+
primary_color: string | null;
|
|
2360
|
+
/** Key color */
|
|
2361
|
+
key_color: string | null;
|
|
2362
|
+
/** Banner background color */
|
|
2363
|
+
banner_background_color: string | null;
|
|
2364
|
+
}
|
|
2365
|
+
/**
|
|
2366
|
+
* The profile subreddit (u/<name>) embedded in a user's `about` payload.
|
|
2367
|
+
*/
|
|
2368
|
+
interface RedditUserSubreddit {
|
|
2369
|
+
/** Display name */
|
|
2370
|
+
display_name: string;
|
|
2371
|
+
/** Display name with prefix */
|
|
2372
|
+
display_name_prefixed: string | null;
|
|
2373
|
+
/** Title */
|
|
2374
|
+
title: string;
|
|
2375
|
+
/** Short public description */
|
|
2376
|
+
public_description: string;
|
|
2377
|
+
/** Subscriber count */
|
|
2378
|
+
subscribers: number;
|
|
2379
|
+
/** URL path */
|
|
2380
|
+
url: string;
|
|
2381
|
+
/** Subreddit type */
|
|
2382
|
+
subreddit_type: string | null;
|
|
2383
|
+
/** Whether the profile subreddit is over 18 */
|
|
2384
|
+
over_18: boolean;
|
|
2385
|
+
/** Icon image URL */
|
|
2386
|
+
icon_img: string | null;
|
|
2387
|
+
/** Banner image URL */
|
|
2388
|
+
banner_img: string | null;
|
|
2389
|
+
/** Community icon URL */
|
|
2390
|
+
community_icon: string | null;
|
|
2391
|
+
/** Primary color */
|
|
2392
|
+
primary_color: string | null;
|
|
2112
2393
|
}
|
|
2113
2394
|
/**
|
|
2114
2395
|
* A Reddit user profile.
|
|
2115
2396
|
*/
|
|
2116
2397
|
interface RedditUser {
|
|
2398
|
+
/** User identifier (without t2_ prefix) */
|
|
2399
|
+
id: string | null;
|
|
2117
2400
|
/** Username (without u/ prefix) */
|
|
2118
2401
|
name: string;
|
|
2119
2402
|
/** Username with u/ prefix */
|
|
@@ -2122,6 +2405,10 @@ interface RedditUser {
|
|
|
2122
2405
|
link_karma: number;
|
|
2123
2406
|
/** Comment karma */
|
|
2124
2407
|
comment_karma: number;
|
|
2408
|
+
/** Awardee karma */
|
|
2409
|
+
awardee_karma: number;
|
|
2410
|
+
/** Awarder karma */
|
|
2411
|
+
awarder_karma: number;
|
|
2125
2412
|
/** Combined total karma */
|
|
2126
2413
|
total_karma: number;
|
|
2127
2414
|
/** Account creation timestamp (Unix) */
|
|
@@ -2130,6 +2417,26 @@ interface RedditUser {
|
|
|
2130
2417
|
created_at: string | null;
|
|
2131
2418
|
/** Whether the account has Reddit Premium */
|
|
2132
2419
|
is_gold: boolean;
|
|
2420
|
+
/** Whether the user is a Reddit employee */
|
|
2421
|
+
is_employee: boolean;
|
|
2422
|
+
/** Whether the user is a moderator */
|
|
2423
|
+
is_mod: boolean;
|
|
2424
|
+
/** Whether the user is a friend */
|
|
2425
|
+
is_friend: boolean;
|
|
2426
|
+
/** Whether the account is verified */
|
|
2427
|
+
verified: boolean;
|
|
2428
|
+
/** Whether the account has a verified email */
|
|
2429
|
+
has_verified_email: boolean;
|
|
2430
|
+
/** Whether the profile is hidden from robots */
|
|
2431
|
+
hide_from_robots: boolean;
|
|
2432
|
+
/** Whether the user accepts followers */
|
|
2433
|
+
accept_followers: boolean;
|
|
2434
|
+
/** Avatar icon URL */
|
|
2435
|
+
icon_img: string | null;
|
|
2436
|
+
/** Snoovatar image URL */
|
|
2437
|
+
snoovatar_img: string | null;
|
|
2438
|
+
/** The user's profile subreddit */
|
|
2439
|
+
subreddit: RedditUserSubreddit | null;
|
|
2133
2440
|
}
|
|
2134
2441
|
/**
|
|
2135
2442
|
* A subreddit rule.
|
|
@@ -2141,6 +2448,14 @@ interface RedditRule {
|
|
|
2141
2448
|
short_name: string;
|
|
2142
2449
|
/** Full rule description (markdown) */
|
|
2143
2450
|
description: string;
|
|
2451
|
+
/** Full rule description as HTML */
|
|
2452
|
+
description_html: string | null;
|
|
2453
|
+
/** Violation reason */
|
|
2454
|
+
violation_reason: string | null;
|
|
2455
|
+
/** Rule creation timestamp (Unix) */
|
|
2456
|
+
created_utc: number;
|
|
2457
|
+
/** Rule kind */
|
|
2458
|
+
kind: string | null;
|
|
2144
2459
|
}
|
|
2145
2460
|
/**
|
|
2146
2461
|
* A subreddit wiki page.
|
|
@@ -2156,19 +2471,76 @@ interface RedditWikiPage {
|
|
|
2156
2471
|
revision_by: string | null;
|
|
2157
2472
|
/** Revision timestamp (Unix), null if unknown */
|
|
2158
2473
|
revision_date: number | null;
|
|
2474
|
+
/** Revision identifier */
|
|
2475
|
+
revision_id: string | null;
|
|
2476
|
+
/** Whether the page may be revised */
|
|
2477
|
+
may_revise: boolean;
|
|
2478
|
+
/** Reason associated with the page */
|
|
2479
|
+
reason: string | null;
|
|
2159
2480
|
}
|
|
2160
2481
|
/**
|
|
2161
2482
|
* A Reddit user trophy.
|
|
2162
2483
|
*/
|
|
2163
2484
|
interface RedditTrophy {
|
|
2485
|
+
/** Trophy identifier */
|
|
2486
|
+
id: string | null;
|
|
2487
|
+
/** Award identifier */
|
|
2488
|
+
award_id: string | null;
|
|
2164
2489
|
/** Trophy name */
|
|
2165
2490
|
name: string;
|
|
2166
2491
|
/** Trophy description */
|
|
2167
2492
|
description: string | null;
|
|
2168
|
-
/** Trophy icon URL */
|
|
2493
|
+
/** Trophy icon URL (icon_70) */
|
|
2169
2494
|
icon_url: string | null;
|
|
2495
|
+
/** 40px icon URL */
|
|
2496
|
+
icon_40: string | null;
|
|
2497
|
+
/** 70px icon URL */
|
|
2498
|
+
icon_70: string | null;
|
|
2170
2499
|
/** URL associated with the trophy */
|
|
2171
2500
|
url: string | null;
|
|
2501
|
+
/** Timestamp the trophy was granted (Unix) */
|
|
2502
|
+
granted_at: number | null;
|
|
2503
|
+
}
|
|
2504
|
+
/**
|
|
2505
|
+
* A subreddit a user moderates (from `/user/{u}/moderated_subreddits`).
|
|
2506
|
+
*/
|
|
2507
|
+
interface RedditModeratedSubreddit {
|
|
2508
|
+
/** Subreddit fullname (t5_ prefixed) */
|
|
2509
|
+
fullname: string | null;
|
|
2510
|
+
/** Subreddit id */
|
|
2511
|
+
sr: string | null;
|
|
2512
|
+
/** Subreddit display name */
|
|
2513
|
+
name: string;
|
|
2514
|
+
/** Subreddit with r/ prefix */
|
|
2515
|
+
display_name_prefixed: string | null;
|
|
2516
|
+
/** Subreddit display name with r/ prefix (from sr field) */
|
|
2517
|
+
sr_display_name_prefixed: string | null;
|
|
2518
|
+
/** Subreddit title */
|
|
2519
|
+
title: string;
|
|
2520
|
+
/** Subreddit URL path */
|
|
2521
|
+
url: string;
|
|
2522
|
+
/** Subscriber count */
|
|
2523
|
+
subscribers: number;
|
|
2524
|
+
/** Subreddit type */
|
|
2525
|
+
subreddit_type: string | null;
|
|
2526
|
+
/** Whether the subreddit is over 18 */
|
|
2527
|
+
over_18: boolean;
|
|
2528
|
+
/** Community icon URL */
|
|
2529
|
+
community_icon: string | null;
|
|
2530
|
+
/** Icon image URL */
|
|
2531
|
+
icon_img: string | null;
|
|
2532
|
+
/** Banner image URL */
|
|
2533
|
+
banner_img: string | null;
|
|
2534
|
+
/** Primary color */
|
|
2535
|
+
primary_color: string | null;
|
|
2536
|
+
/** Key color */
|
|
2537
|
+
key_color: string | null;
|
|
2538
|
+
/** Creation timestamp (Unix) */
|
|
2539
|
+
created_utc: number;
|
|
2540
|
+
/** Creation time as ISO 8601 UTC string */
|
|
2541
|
+
created_at: string | null;
|
|
2542
|
+
/** Moderator permissions held by the user */
|
|
2543
|
+
mod_permissions: string[];
|
|
2172
2544
|
}
|
|
2173
2545
|
/**
|
|
2174
2546
|
* Pagination metadata for list responses.
|
|
@@ -2253,6 +2625,8 @@ interface SubredditRulesResponse {
|
|
|
2253
2625
|
rules: RedditRule[];
|
|
2254
2626
|
/** Subreddit name */
|
|
2255
2627
|
subreddit: string;
|
|
2628
|
+
/** Site-wide rules */
|
|
2629
|
+
site_rules: string[];
|
|
2256
2630
|
}
|
|
2257
2631
|
/**
|
|
2258
2632
|
* Response from the subreddit wiki pages list endpoint.
|
|
@@ -2306,7 +2680,7 @@ interface UserCommentsResponse {
|
|
|
2306
2680
|
*/
|
|
2307
2681
|
interface UserModeratedResponse {
|
|
2308
2682
|
/** Subreddits moderated by the user */
|
|
2309
|
-
subreddits:
|
|
2683
|
+
subreddits: RedditModeratedSubreddit[];
|
|
2310
2684
|
/** Username */
|
|
2311
2685
|
username: string;
|
|
2312
2686
|
}
|
|
@@ -3101,4 +3475,4 @@ declare class ScrapeBadger {
|
|
|
3101
3475
|
constructor(config?: Partial<ScrapeBadgerConfig>);
|
|
3102
3476
|
}
|
|
3103
3477
|
|
|
3104
|
-
export { type AiModeSearchParams, type AutocompleteParams, type DetectOptions, type DetectResult, type DomainPostsResponse, type FinanceQuoteParams, type FlightsSearchParams, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient as GoogleProductsClient, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$1 as GoogleSearchClient, type GoogleSearchParams, ShoppingClient as GoogleShoppingClient, ShortsClient as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient as GoogleVideosClient, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type JobsSearchParams, type LensSearchParams, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, RedditClient, type RedditComment, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, UsersClient as RedditUsersClient, type RedditWikiPage, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShoppingClickParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubredditDetailResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TrendingPostsResponse, type TrendsAutocompleteParams, type TrendsInterestParams, type TrendsRegionsParams, type TrendsRelatedParams, type TrendsTrendingParams, TwitterClient, type UserCommentsResponse, type UserModeratedResponse, type UserPostsResponse, type UserTrophiesResponse, type VideosSearchParams, type VintedBrand, type BrandsResponse as VintedBrandsResponse, VintedClient, type VintedColor, type ColorsResponse as VintedColorsResponse, type VintedItemDetail, type ItemDetailResponse as VintedItemDetailResponse, type VintedItemSummary, ItemsClient as VintedItemsClient, type VintedMarket, type MarketsResponse as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient as VintedReferenceClient, SearchClient$2 as VintedSearchClient, type VintedSearchParams, type SearchResponse as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$1 as VintedUsersClient, WebClient, type WikiPageResponse };
|
|
3478
|
+
export { type AiModeSearchParams, type AutocompleteParams, type DetectOptions, type DetectResult, type DomainPostsResponse, type FinanceQuoteParams, type FlightsSearchParams, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient as GoogleProductsClient, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$1 as GoogleSearchClient, type GoogleSearchParams, ShoppingClient as GoogleShoppingClient, ShortsClient as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient as GoogleVideosClient, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type JobsSearchParams, type LensSearchParams, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, type RedditAward, RedditClient, type RedditComment, type RedditModeratedSubreddit, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, type RedditUserSubreddit, UsersClient as RedditUsersClient, type RedditWikiPage, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShoppingClickParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubredditDetailResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TrendingPostsResponse, type TrendsAutocompleteParams, type TrendsInterestParams, type TrendsRegionsParams, type TrendsRelatedParams, type TrendsTrendingParams, TwitterClient, type UserCommentsResponse, type UserModeratedResponse, type UserPostsResponse, type UserTrophiesResponse, type VideosSearchParams, type VintedBrand, type BrandsResponse as VintedBrandsResponse, VintedClient, type VintedColor, type ColorsResponse as VintedColorsResponse, type VintedItemDetail, type ItemDetailResponse as VintedItemDetailResponse, type VintedItemSummary, ItemsClient as VintedItemsClient, type VintedMarket, type MarketsResponse as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient as VintedReferenceClient, SearchClient$2 as VintedSearchClient, type VintedSearchParams, type SearchResponse as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$1 as VintedUsersClient, WebClient, type WikiPageResponse };
|
package/package.json
CHANGED