@types/twit
Advanced tools
Comparing version 2.2.29 to 2.2.30
@@ -123,10 +123,10 @@ // Type definitions for twit 2.2 | ||
favourites_count: number; | ||
follow_request_sent?: boolean; | ||
following?: boolean; | ||
follow_request_sent?: boolean | undefined; | ||
following?: boolean | undefined; | ||
followers_count: number; | ||
friends_count: number; | ||
geo_enabled?: boolean; | ||
geo_enabled?: boolean | undefined; | ||
id: number; | ||
id_str: string; | ||
is_translator?: boolean; | ||
is_translator?: boolean | undefined; | ||
lang: string; | ||
@@ -136,3 +136,3 @@ listed_count: number; | ||
name: string; | ||
notifications?: boolean; | ||
notifications?: boolean | undefined; | ||
profile_background_color: string; | ||
@@ -153,7 +153,7 @@ profile_background_image_url: string; | ||
show_all_inline_media: boolean; | ||
status?: Status; | ||
status?: Status | undefined; | ||
statuses_count: number; | ||
time_zone?: string; | ||
time_zone?: string | undefined; | ||
url: string; | ||
utc_offset?: number; | ||
utc_offset?: number | undefined; | ||
verified: boolean; | ||
@@ -198,5 +198,5 @@ withheld_in_countries: string; | ||
id_str: string; | ||
annotations?: Object; | ||
contributors?: Contributors[]; | ||
coordinates?: GeoJSON.Point; | ||
annotations?: Object | undefined; | ||
contributors?: Contributors[] | undefined; | ||
coordinates?: GeoJSON.Point | undefined; | ||
created_at: string; | ||
@@ -206,47 +206,47 @@ current_user_retweet?: { | ||
id_str: string; | ||
}; | ||
display_text_range?: [number, number]; | ||
} | undefined; | ||
display_text_range?: [number, number] | undefined; | ||
entities: Entities; | ||
extended_entities?: { | ||
media: MediaEntity[]; | ||
}; | ||
favorite_count?: number; | ||
favorited?: boolean; | ||
} | undefined; | ||
favorite_count?: number | undefined; | ||
favorited?: boolean | undefined; | ||
filter_level: 'none' | 'low' | 'medium'; | ||
full_text?: string; | ||
in_reply_to_screen_name?: string; | ||
in_reply_to_status_id?: number; | ||
in_reply_to_status_id_str?: string; | ||
in_reply_to_user_id?: number; | ||
in_reply_to_user_id_str?: string; | ||
full_text?: string | undefined; | ||
in_reply_to_screen_name?: string | undefined; | ||
in_reply_to_status_id?: number | undefined; | ||
in_reply_to_status_id_str?: string | undefined; | ||
in_reply_to_user_id?: number | undefined; | ||
in_reply_to_user_id_str?: string | undefined; | ||
is_quote_status: string; | ||
lang?: string; | ||
matching_rules?: MatchingRules[]; | ||
place?: Place; | ||
possibly_sensitive?: boolean; | ||
quoted_status_id?: number; | ||
quoted_status_id_str?: string; | ||
quoted_status?: Status; | ||
lang?: string | undefined; | ||
matching_rules?: MatchingRules[] | undefined; | ||
place?: Place | undefined; | ||
possibly_sensitive?: boolean | undefined; | ||
quoted_status_id?: number | undefined; | ||
quoted_status_id_str?: string | undefined; | ||
quoted_status?: Status | undefined; | ||
retweet_count: number; | ||
retweeted: boolean; | ||
retweeted_status?: Status; | ||
scopes?: Object; | ||
source?: string; | ||
text?: string; | ||
retweeted_status?: Status | undefined; | ||
scopes?: Object | undefined; | ||
source?: string | undefined; | ||
text?: string | undefined; | ||
truncated: boolean; | ||
user: User; | ||
withheld_copyright?: boolean; | ||
withheld_in_countries?: string[]; | ||
withheld_scope?: string; | ||
withheld_copyright?: boolean | undefined; | ||
withheld_in_countries?: string[] | undefined; | ||
withheld_scope?: string | undefined; | ||
} | ||
export interface Metadata { | ||
max_id?: number; | ||
since_id?: number; | ||
refresh_url?: string; | ||
next_results?: string; | ||
count?: number; | ||
completed_in?: number; | ||
since_id_str?: string; | ||
query?: string; | ||
max_id_str?: string; | ||
max_id?: number | undefined; | ||
since_id?: number | undefined; | ||
refresh_url?: string | undefined; | ||
next_results?: string | undefined; | ||
count?: number | undefined; | ||
completed_in?: number | undefined; | ||
since_id_str?: string | undefined; | ||
query?: string | undefined; | ||
max_id_str?: string | undefined; | ||
} | ||
@@ -274,60 +274,60 @@ | ||
// search/tweets | ||
q?: string; | ||
geocode?: string; | ||
lang?: string; | ||
locale?: string; | ||
result_type?: Twitter.ResultType; | ||
count?: number; | ||
results_per_page?: number; | ||
until?: string; | ||
since_id?: string; | ||
max_id?: string; | ||
include_entities?: boolean; | ||
q?: string | undefined; | ||
geocode?: string | undefined; | ||
lang?: string | undefined; | ||
locale?: string | undefined; | ||
result_type?: Twitter.ResultType | undefined; | ||
count?: number | undefined; | ||
results_per_page?: number | undefined; | ||
until?: string | undefined; | ||
since_id?: string | undefined; | ||
max_id?: string | undefined; | ||
include_entities?: boolean | undefined; | ||
source_id?: number; | ||
source_screen_name?: string; | ||
target_id?: number; | ||
target_screen_name?: string; | ||
source_id?: number | undefined; | ||
source_screen_name?: string | undefined; | ||
target_id?: number | undefined; | ||
target_screen_name?: string | undefined; | ||
// Other params from various endpoints | ||
track?: string | string[]; | ||
media_id?: string; | ||
media_ids?: string[]; | ||
track?: string | string[] | undefined; | ||
media_id?: string | undefined; | ||
media_ids?: string[] | undefined; | ||
alt_text?: { | ||
text?: string; | ||
}; | ||
media_data?: Buffer | string; | ||
screen_name?: string; | ||
id?: string; | ||
slug?: string; | ||
owner_screen_name?: string; | ||
status?: string; | ||
user_id?: number | string; | ||
lat?: number; | ||
long?: number; | ||
follow?: boolean | string | string[]; | ||
include_email?: boolean; | ||
cursor?: number | string; | ||
tweet_mode?: string; | ||
trim_user?: boolean; | ||
exclude_replies?: boolean; | ||
include_rts?: boolean; | ||
skip_status?: boolean; | ||
url?: string; | ||
include_user_entities?: boolean; | ||
stringify_ids?: boolean; | ||
in_reply_to_status_id?: number | string; | ||
page?: number; | ||
auto_populate_reply_metadata?: boolean; | ||
list_id?: number | string; | ||
name?: string; | ||
description?: string; | ||
mode?: 'public' | 'private'; | ||
exclude_reply_user_ids?: string | string[]; | ||
attachment_url?: string; | ||
place_id?: string; | ||
display_coordinates?: boolean; | ||
enable_dmcommands?: boolean; | ||
fail_dmcommands?: boolean; | ||
card_uri?: string; | ||
text?: string | undefined; | ||
} | undefined; | ||
media_data?: Buffer | string | undefined; | ||
screen_name?: string | undefined; | ||
id?: string | undefined; | ||
slug?: string | undefined; | ||
owner_screen_name?: string | undefined; | ||
status?: string | undefined; | ||
user_id?: number | string | undefined; | ||
lat?: number | undefined; | ||
long?: number | undefined; | ||
follow?: boolean | string | string[] | undefined; | ||
include_email?: boolean | undefined; | ||
cursor?: number | string | undefined; | ||
tweet_mode?: string | undefined; | ||
trim_user?: boolean | undefined; | ||
exclude_replies?: boolean | undefined; | ||
include_rts?: boolean | undefined; | ||
skip_status?: boolean | undefined; | ||
url?: string | undefined; | ||
include_user_entities?: boolean | undefined; | ||
stringify_ids?: boolean | undefined; | ||
in_reply_to_status_id?: number | string | undefined; | ||
page?: number | undefined; | ||
auto_populate_reply_metadata?: boolean | undefined; | ||
list_id?: number | string | undefined; | ||
name?: string | undefined; | ||
description?: string | undefined; | ||
mode?: 'public' | 'private' | undefined; | ||
exclude_reply_user_ids?: string | string[] | undefined; | ||
attachment_url?: string | undefined; | ||
place_id?: string | undefined; | ||
display_coordinates?: boolean | undefined; | ||
enable_dmcommands?: boolean | undefined; | ||
fail_dmcommands?: boolean | undefined; | ||
card_uri?: string | undefined; | ||
} | ||
@@ -344,10 +344,10 @@ export interface PromiseResponse { | ||
consumer_secret: string; | ||
access_token?: string; | ||
access_token_secret?: string; | ||
access_token?: string | undefined; | ||
access_token_secret?: string | undefined; | ||
} | ||
export interface Options extends ConfigKeys { | ||
app_only_auth?: boolean; | ||
timeout_ms?: number; | ||
trusted_cert_fingerprints?: string[]; | ||
strictSSL?: boolean; | ||
app_only_auth?: boolean | undefined; | ||
timeout_ms?: number | undefined; | ||
trusted_cert_fingerprints?: string[] | undefined; | ||
strictSSL?: boolean | undefined; | ||
} | ||
@@ -354,0 +354,0 @@ export interface Stream extends EventEmitter { |
{ | ||
"name": "@types/twit", | ||
"version": "2.2.29", | ||
"version": "2.2.30", | ||
"description": "TypeScript definitions for twit", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/twit", | ||
"license": "MIT", | ||
@@ -60,4 +61,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "0682c0f810fb3a31b3bce9cf556857b66accbaa1fa058a5fd9aee097ebd530bd", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "726c30bbfe2e640bc178a90d9f76166ae64bc9d898c4726d523097b4cd604086", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 27 May 2021 14:31:22 GMT | ||
* Last updated: Fri, 02 Jul 2021 19:37:26 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/geojson](https://npmjs.com/package/@types/geojson) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
18669
0