@bitsinfra/fusee
Preparing search index...
index
RemoteObjectRef
Class RemoteObjectRef
A key of an object type, called through a server (see
ObjectRef
).
Index
Constructors
constructor
Properties
key
type
Accessors
id
Methods
call
clear
State
edit
State
patch
State
send
set
State
state
Constructors
constructor
new
RemoteObjectRef
(
client
:
Client
,
type
:
string
,
key
:
string
)
:
RemoteObjectRef
Parameters
client
:
Client
type
:
string
key
:
string
Returns
RemoteObjectRef
Properties
Readonly
key
key
:
string
Readonly
type
type
:
string
Accessors
id
get
id
()
:
string
Returns
string
Methods
call
call
<
R
=
unknown
,
A
=
unknown
>
(
handler
:
string
,
arg
?:
A
,
opts
?:
CallOptions
,
)
:
Promise
<
R
>
Type Parameters
R
=
unknown
A
=
unknown
Parameters
handler
:
string
Optional
arg
:
A
opts
:
CallOptions
= {}
Returns
Promise
<
R
>
clear
State
clearState
(
field
?:
string
,
opts
?:
EditOptions
)
:
Promise
<
EditResult
>
Parameters
Optional
field
:
string
opts
:
EditOptions
= {}
Returns
Promise
<
EditResult
>
edit
State
editState
(
edit
:
StateEdit
,
opts
?:
EditOptions
)
:
Promise
<
EditResult
>
Parameters
edit
:
StateEdit
opts
:
EditOptions
= {}
Returns
Promise
<
EditResult
>
patch
State
patchState
(
ops
:
JsonPatchOp
[]
,
opts
?:
EditOptions
)
:
Promise
<
EditResult
>
Parameters
ops
:
JsonPatchOp
[]
opts
:
EditOptions
= {}
Returns
Promise
<
EditResult
>
send
send
<
A
=
unknown
>
(
handler
:
string
,
arg
?:
A
,
opts
?:
CallOptions
)
:
Promise
<
void
>
Type Parameters
A
=
unknown
Parameters
handler
:
string
Optional
arg
:
A
opts
:
CallOptions
= {}
Returns
Promise
<
void
>
set
State
setState
(
field
:
string
,
value
:
unknown
,
opts
?:
EditOptions
)
:
Promise
<
EditResult
>
Parameters
field
:
string
value
:
unknown
opts
:
EditOptions
= {}
Returns
Promise
<
EditResult
>
state
state
<
T
=
Record
<
string
,
unknown
>
>
()
:
Promise
<
T
>
Type Parameters
T
=
Record
<
string
,
unknown
>
Returns
Promise
<
T
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
key
type
Accessors
id
Methods
call
clear
State
edit
State
patch
State
send
set
State
state
@bitsinfra/fusee
Loading...
A key of an object type, called through a server (see
ObjectRef).