Search
Preparing search index...
The search index is not available
sealious
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
SingleResource
Class SingleResource
Hierarchy
Subject
SingleResource
Index
Constructors
constructor
Properties
app
collection
name
resource_
id
Methods
__get
Resource
delete
Resource
edit
Resource
get
Child
Subject
get
Name
get
Resource
get
Subject
perform
Action
Constructors
constructor
new
Single
Resource
(
app
:
App
, collection
:
Collection
, resource_id
:
string
)
:
SingleResource
Parameters
app:
App
collection:
Collection
resource_id:
string
Returns
SingleResource
Properties
app
app
:
App
collection
collection
:
Collection
name
name
:
string
resource_
id
resource_
id
:
string
Methods
__get
Resource
__get
Resource
(
context
:
Context
, __namedParameters
:
{
format
:
undefined
|
{}
}
)
:
Promise
<
Item
>
Parameters
context:
Context
__namedParameters:
{
format
:
undefined
|
{}
}
format
:
undefined
|
{}
Returns
Promise
<
Item
>
delete
Resource
delete
Resource
(
context
:
Context
, _
:
LooseObject
)
:
Promise
<
void
>
Parameters
context:
Context
_:
LooseObject
Returns
Promise
<
void
>
edit
Resource
edit
Resource
(
context
:
Context
, values_to_patch
:
any
, delete_empty_values
:
boolean
)
:
Promise
<
SingleItemResponse
>
Parameters
context:
Context
values_to_patch:
any
delete_empty_values:
boolean
Returns
Promise
<
SingleItemResponse
>
get
Child
Subject
get
Child
Subject
(
key
:
string
)
:
Promise
<
null
>
Parameters
key:
string
Returns
Promise
<
null
>
get
Name
get
Name
(
)
:
string
Returns
string
get
Resource
get
Resource
(
context
:
Context
, args
:
{
attachments
?:
LooseObject
;
format
?:
undefined
|
{}
}
)
:
Promise
<
SingleItemResponse
>
Parameters
context:
Context
args:
{
attachments
?:
LooseObject
;
format
?:
undefined
|
{}
}
Optional
attachments
?:
LooseObject
Optional
format
?:
undefined
|
{}
Returns
Promise
<
SingleItemResponse
>
get
Subject
get
Subject
(
subject_path_equiv
:
SubjectPathEquiv
)
:
Promise
<
Subject
|
null
>
Parameters
subject_path_equiv:
SubjectPathEquiv
Returns
Promise
<
Subject
|
null
>
perform
Action
perform
Action
(
context
:
Context
, action_name
:
ActionName
, args
?:
any
)
:
Promise
<
void
|
SingleItemResponse
>
Parameters
context:
Context
action_name:
ActionName
Optional
args:
any
Returns
Promise
<
void
|
SingleItemResponse
>
Globals
Single
Resource
constructor
app
collection
name
resource_
id
__get
Resource
delete
Resource
edit
Resource
get
Child
Subject
get
Name
get
Resource
get
Subject
perform
Action
Generated using
TypeDoc