@sentio/sdk
Preparing search index...
.
DBResponse
Variable DBResponse
DBResponse
:
{
create
(
base
?:
{
data
?:
{
[
key
:
string
]:
any
}
;
entities
?:
{
entities
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
[]
}
;
entityList
?:
{
entities
?:
{
data
?:
{
fields
?:
(...)
|
(...)
}
;
entity
?:
string
;
genBlockChain
?:
string
;
genBlockNumber
?:
bigint
;
genBlockTime
?:
Date
;
}
[]
;
}
;
error
?:
string
;
list
?:
any
[]
;
nextCursor
?:
string
;
opId
?:
bigint
;
}
,
)
:
DBResponse
;
decode
(
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
,
length
?:
number
,
)
:
DBResponse
;
encode
(
message
:
DBResponse
,
writer
?:
Writer
)
:
Writer
;
fromJSON
(
object
:
any
)
:
DBResponse
;
fromPartial
(
object
:
{
data
?:
{
[
key
:
string
]:
any
}
;
entities
?:
{
entities
?:
{
fields
?:
{
[
key
:
string
]:
|
undefined
|
{
bigdecimalValue
?:
...
;
bigintValue
?:
...
;
boolValue
?:
...
;
bytesValue
?:
...
;
floatValue
?:
...
;
int64Value
?:
...
;
intValue
?:
...
;
listValue
?:
...
;
nullValue
?:
...
;
stringValue
?:
...
;
structValue
?:
...
;
timestampValue
?:
...
;
tokenValue
?:
...
;
}
;
}
;
}
[]
;
}
;
entityList
?:
{
entities
?:
{
data
?:
{
fields
?:
{
[
key
:
...
]:
...
}
}
;
entity
?:
string
;
genBlockChain
?:
string
;
genBlockNumber
?:
bigint
;
genBlockTime
?:
Date
;
}
[]
;
}
;
error
?:
string
;
list
?:
any
[]
;
nextCursor
?:
string
;
opId
?:
bigint
;
}
,
)
:
DBResponse
;
toJSON
(
message
:
DBResponse
)
:
unknown
;
}
Type Declaration
create
:
function
create
(
base
?:
{
data
?:
{
[
key
:
string
]:
any
}
;
entities
?:
{
entities
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
[]
}
;
entityList
?:
{
entities
?:
{
data
?:
{
fields
?:
(...)
|
(...)
}
;
entity
?:
string
;
genBlockChain
?:
string
;
genBlockNumber
?:
bigint
;
genBlockTime
?:
Date
;
}
[]
;
}
;
error
?:
string
;
list
?:
any
[]
;
nextCursor
?:
string
;
opId
?:
bigint
;
}
,
)
:
DBResponse
Parameters
Optional
base
:
{
data
?:
{
[
key
:
string
]:
any
}
;
entities
?:
{
entities
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
[]
}
;
entityList
?:
{
entities
?:
{
data
?:
{
fields
?:
(...)
|
(...)
}
;
entity
?:
string
;
genBlockChain
?:
string
;
genBlockNumber
?:
bigint
;
genBlockTime
?:
Date
;
}
[]
;
}
;
error
?:
string
;
list
?:
any
[]
;
nextCursor
?:
string
;
opId
?:
bigint
;
}
Returns
DBResponse
decode
:
function
decode
(
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
,
length
?:
number
)
:
DBResponse
Parameters
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
Optional
length
:
number
Returns
DBResponse
encode
:
function
encode
(
message
:
DBResponse
,
writer
?:
Writer
)
:
Writer
Parameters
message
:
DBResponse
Optional
writer
:
Writer
Returns
Writer
fromJSON
:
function
fromJSON
(
object
:
any
)
:
DBResponse
Parameters
object
:
any
Returns
DBResponse
fromPartial
:
function
fromPartial
(
object
:
{
data
?:
{
[
key
:
string
]:
any
}
;
entities
?:
{
entities
?:
{
fields
?:
{
[
key
:
string
]:
|
undefined
|
{
bigdecimalValue
?:
...
;
bigintValue
?:
...
;
boolValue
?:
...
;
bytesValue
?:
...
;
floatValue
?:
...
;
int64Value
?:
...
;
intValue
?:
...
;
listValue
?:
...
;
nullValue
?:
...
;
stringValue
?:
...
;
structValue
?:
...
;
timestampValue
?:
...
;
tokenValue
?:
...
;
}
;
}
;
}
[]
;
}
;
entityList
?:
{
entities
?:
{
data
?:
{
fields
?:
{
[
key
:
...
]:
...
}
}
;
entity
?:
string
;
genBlockChain
?:
string
;
genBlockNumber
?:
bigint
;
genBlockTime
?:
Date
;
}
[]
;
}
;
error
?:
string
;
list
?:
any
[]
;
nextCursor
?:
string
;
opId
?:
bigint
;
}
,
)
:
DBResponse
Parameters
object
:
{
data
?:
{
[
key
:
string
]:
any
}
;
entities
?:
{
entities
?:
{
fields
?:
{
[
key
:
string
]:
|
undefined
|
{
bigdecimalValue
?:
...
;
bigintValue
?:
...
;
boolValue
?:
...
;
bytesValue
?:
...
;
floatValue
?:
...
;
int64Value
?:
...
;
intValue
?:
...
;
listValue
?:
...
;
nullValue
?:
...
;
stringValue
?:
...
;
structValue
?:
...
;
timestampValue
?:
...
;
tokenValue
?:
...
;
}
;
}
;
}
[]
;
}
;
entityList
?:
{
entities
?:
{
data
?:
{
fields
?:
{
[
key
:
...
]:
...
}
}
;
entity
?:
string
;
genBlockChain
?:
string
;
genBlockNumber
?:
bigint
;
genBlockTime
?:
Date
;
}
[]
;
}
;
error
?:
string
;
list
?:
any
[]
;
nextCursor
?:
string
;
opId
?:
bigint
;
}
Returns
DBResponse
toJSON
:
function
toJSON
(
message
:
DBResponse
)
:
unknown
Parameters
message
:
DBResponse
Returns
unknown
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@sentio/sdk
Loading...