IGPAPI
Preparing search index...
@igpapi/android
SearchInputScreen
Variable SearchInputScreen
Const
SearchInputScreen
:
ScreenDefinition
<
"SearchInput"
,
"screen"
,
|
{
lastSeenMedia
?:
readonly
{
mediaIds
:
readonly
string
[]
;
surfaceType
:
string
;
timestamp
:
number
;
}
[]
;
query
:
string
;
session
?:
{
clientUuidRankToken
?:
string
;
searchSessionId
:
string
;
serpSessionId
?:
string
;
typeaheadSessionId
?:
string
;
}
;
}
|
{
recent
:
readonly
{
fullName
:
string
;
userId
:
string
;
username
:
string
}
[]
;
}
,
{
query
:
string
;
rankToken
:
string
;
recentAccounts
:
readonly
{
fullName
:
string
;
userId
:
string
;
username
:
string
;
}
[]
;
results
:
readonly
(
|
{
__typename
:
"XDTTypeaheadSearchKeyword"
;
keyword_lazified
:
{
id
:
string
;
name
:
string
;
user
?:
|
{
full_name
?:
string
;
id
:
string
;
is_private
?:
boolean
;
is_verified
?:
boolean
;
latest_reel_media
?:
number
|
null
;
profile_pic_url
?:
string
;
search_serp_type
?:
number
|
null
;
username
:
string
;
}
|
null
;
}
;
}
|
{
__typename
:
"XDTTypeaheadSearchUser"
;
rank_token
?:
string
;
user
:
{
full_name
?:
string
;
id
:
string
;
is_private
?:
boolean
;
is_verified
?:
boolean
;
latest_reel_media
?:
number
|
null
;
profile_pic_url
?:
string
;
search_serp_type
?:
number
|
null
;
username
:
string
;
}
;
}
|
{
__typename
:
"XDTTypeaheadSearchHashtag"
;
hashtag
:
{
id
:
string
;
media_count
?:
number
;
name
:
string
}
;
}
)
[]
;
session
?:
{
clientUuidRankToken
:
string
;
searchSessionId
:
string
;
serpSessionId
?:
string
;
typeaheadSessionId
:
string
;
}
;
}
,
SearchInputState
,
|
IgApiError
|
RequestError
|
ParseError
|
TransportError
|
SchemaError
|
GraphqlRootFieldMissingError
|
InvalidSkipOrdinalsError
|
ScreenEnterNavigationError
,
MobileDevice
|
GraphqlJsonHttp
|
MobileApplication
|
MobileNavigation
,
{
change
:
(
self
:
ScreenHandle
,
state
:
SearchInputState
,
)
=>
ScreenDataMember
<
ScreenDataShape
,
(
...
args
:
[
query
:
string
]
,
)
=>
Effect
<
ScreenHandle
,
ScreenDataActionFailure
<
|
IgApiError
|
RequestError
|
ParseError
|
TransportError
|
SchemaError
|
GraphqlRootFieldMissingError
,
>
,
|
MobileDevice
|
GraphqlJsonHttp
|
MobileApplication
|
MobileNavigation
|
ScreenStack
,
>
,
>
;
search
:
(
self
:
ScreenHandle
,
state
:
SearchInputState
,
)
=>
ScreenEdgeBound
<
ScreenEdgeShape
<
ScreenDefinition
<
"SearchResultsTopTab"
,
"screen"
,
{
lastSeenMedia
?:
readonly
{
mediaIds
:
readonly
(...)
[]
;
surfaceType
:
string
;
timestamp
:
number
;
}
[]
;
query
:
string
;
session
:
{
clientUuidRankToken
:
string
;
searchSessionId
:
string
;
serpSessionId
?:
string
;
typeaheadSessionId
:
string
;
}
;
}
,
{
query
:
string
;
session
:
{
clientUuidRankToken
?:
string
;
searchSessionId
:
string
;
serpSessionId
:
string
;
typeaheadSessionId
?:
string
;
}
;
}
,
{
query
:
string
;
session
:
{
clientUuidRankToken
?:
string
;
searchSessionId
:
string
;
serpSessionId
:
string
;
typeaheadSessionId
?:
string
;
}
;
}
,
|
IgApiError
|
RequestError
|
ParseError
|
TransportError
|
InvalidSkipOrdinalsError
|
ScreenEnterNavigationError
,
|
PlainJsonApiHttp
|
MobileDevice
|
GraphqlJsonHttp
|
MobileApplication
|
MobileNavigation
,
{
openUsers
:
(
self
:
ScreenHandle
,
state
:
{
query
:
string
;
session
:
{
clientUuidRankToken
?:
(...)
|
(...)
;
searchSessionId
:
string
;
serpSessionId
:
string
;
typeaheadSessionId
?:
(...)
|
(...)
;
}
;
}
,
)
=>
ScreenEdgeBound
<
ScreenEdgeShape
<
ScreenDefinition
<
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
>
,
[
]
,
"search_result"
,
>
,
(
...
args
:
[
]
)
=>
Effect
<
(...)
,
(...)
,
(...)
>
,
>
;
}
,
Record
<
never
,
never
>
,
never
,
>
,
readonly
[
string
]
,
"search_result"
,
>
,
(
...
args
:
readonly
[
string
]
,
)
=>
Effect
<
AssembledHandle
<
"SearchResultsTopTab"
,
"screen"
,
{
query
:
string
;
session
:
{
clientUuidRankToken
?:
string
;
searchSessionId
:
string
;
serpSessionId
:
string
;
typeaheadSessionId
?:
string
;
}
;
}
,
{
openUsers
:
(
self
:
ScreenHandle
,
state
:
{
query
:
string
;
session
:
{
clientUuidRankToken
?:
...
;
searchSessionId
:
...
;
serpSessionId
:
...
;
typeaheadSessionId
?:
...
;
}
;
}
,
)
=>
ScreenEdgeBound
<
ScreenEdgeShape
<
(...)
,
(...)
,
(...)
>
,
(
...
args
:
...
)
=>
...
,
>
;
}
,
Record
<
never
,
never
>
,
ScreenHandle
,
"required"
,
true
,
>
,
|
IgApiError
|
RequestError
|
ParseError
|
TransportError
|
InvalidSkipOrdinalsError
|
ScreenDataError
|
ScreenEnterNavigationError
|
ScreenEnterConcurrentError
|
ScreenEdgeInputError
|
ScreenNotOnTopError
,
|
PlainJsonApiHttp
|
MobileDevice
|
GraphqlJsonHttp
|
MobileApplication
|
MobileNavigation
|
ScreenCatalog
|
ScreenStack
,
>
,
>
;
}
,
{
recentAccounts
:
{
at
:
"recentAccounts"
;
item
:
ScreenItemDefinition
<
"RecentSearchAccount"
,
{
fullName
:
string
;
userId
:
string
;
username
:
string
}
,
{
fullName
:
string
;
userId
:
string
;
username
:
string
}
,
RecentSearchAccountState
,
never
,
never
,
{
openProfile
:
(
self
:
ScreenHandle
,
state
:
RecentSearchAccountState
,
)
=>
ScreenEdgeBound
<
ScreenEdgeShape
<
UserProfileDefinition
,
[
]
,
|
"inbox"
|
"tab"
|
"cold_start"
|
"warm_start"
|
"button"
|
"search_result"
|
"suggested_users"
|
"third_party_url"
,
>
,
(
...
args
:
[
]
,
)
=>
Effect
<
AssembledHandle
<
"UserProfile"
,
"screen"
,
{
backgroundFailures
:
...
;
following
?:
...
;
isPrivate
:
...
;
media
:
...
;
suggested
:
...
;
userId
:
...
;
username
:
...
;
}
,
ProfileActions
,
{
grid
:
...
;
suggestedUsers
:
...
}
,
ScreenHandle
,
"required"
,
true
,
>
,
|
IgApiError
|
RequestError
|
ParseError
|
TransportError
|
SchemaError
|
GraphqlRootFieldMissingError
|
InvalidSkipOrdinalsError
|
ScreenDataError
|
ScreenEnterNavigationError
|
ScreenEnterConcurrentError
|
ScreenEdgeInputError
|
ScreenNotOnTopError
,
|
PlainJsonApiHttp
|
MobileDevice
|
GraphqlJsonHttp
|
MobileApplication
|
NavigationWire
|
PlainNdjsonApiHttp
|
MobileNavigation
|
ScreenCatalog
|
ScreenStack
,
>
,
>
;
}
,
>
;
key
:
"userId"
;
}
;
}
,
never
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
IGPAPI
Loading...