Search
Preparing search index...
The search index is not available
sealious
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
CollectionSubject
Class CollectionSubject
Hierarchy
Subject
CollectionSubject
Index
Constructors
constructor
Properties
app
collection
ids
name
named_
filters
Methods
__create
Resource
__exclude
Items
Not
Passing
Check
__list
Resources
create
Resource
delete
get
Child
Subject
get
Name
get
Subject
list
Resources
perform
Action
Constructors
constructor
new
Collection
Subject
(
collection
:
Collection
, named_filters
?:
Array
<
string
>
, ids
?:
Array
<
string
>
)
:
CollectionSubject
Parameters
collection:
Collection
Default value
named_filters:
Array
<
string
>
= []
Default value
ids:
Array
<
string
>
= []
Returns
CollectionSubject
Properties
app
app
:
App
collection
collection
:
Collection
ids
ids
:
Array
<
string
>
name
name
:
string
named_
filters
named_
filters
:
Array
<
string
>
Methods
__create
Resource
__create
Resource
(
context
:
Context
, body
:
Item
)
:
Promise
<
ResourceCreated
>
Parameters
context:
Context
body:
Item
Returns
Promise
<
ResourceCreated
>
__exclude
Items
Not
Passing
Check
__exclude
Items
Not
Passing
Check
(
context
:
Context
, collection
:
Collection
, result
:
AssignAttachmentsResult
)
:
Promise
<
void
>
Parameters
context:
Context
collection:
Collection
result:
AssignAttachmentsResult
Returns
Promise
<
void
>
__list
Resources
__list
Resources
(
context
:
Context
, params
:
LooseObject
)
:
Promise
<
{
attachments
:
{}
;
fieldsWithAttachments
:
{}
;
items
:
Item
[]
}
>
Parameters
context:
Context
params:
LooseObject
Returns
Promise
<
{
attachments
:
{}
;
fieldsWithAttachments
:
{}
;
items
:
Item
[]
}
>
create
Resource
create
Resource
(
context
:
Context
, body
:
Item
)
:
Promise
<
ResourceCreated
>
Parameters
context:
Context
body:
Item
Returns
Promise
<
ResourceCreated
>
delete
delete
(
)
:
void
Returns
void
get
Child
Subject
get
Child
Subject
(
path_element
:
string
|
Array
<
string
>
)
:
Promise
<
SingleResource
|
CollectionSubject
>
Parameters
path_element:
string
|
Array
<
string
>
Returns
Promise
<
SingleResource
|
CollectionSubject
>
get
Name
get
Name
(
)
:
string
Returns
string
get
Subject
get
Subject
(
subject_path_equiv
:
SubjectPathEquiv
)
:
Promise
<
Subject
|
null
>
Parameters
subject_path_equiv:
SubjectPathEquiv
Returns
Promise
<
Subject
|
null
>
list
Resources
list
Resources
(
context
:
Context
, params
:
LooseObject
)
:
Promise
<
CollectionResponse
>
Parameters
context:
Context
params:
LooseObject
Returns
Promise
<
CollectionResponse
>
perform
Action
perform
Action
(
context
:
Context
, action_name
:
CreateActionName
|
ShowActionName
|
DeleteActionName
, params
:
Item
)
:
Promise
<
void
|
CollectionResponse
|
ResourceCreated
>
Parameters
context:
Context
action_name:
CreateActionName
|
ShowActionName
|
DeleteActionName
params:
Item
Returns
Promise
<
void
|
CollectionResponse
|
ResourceCreated
>
Globals
Collection
Subject
constructor
app
collection
ids
name
named_
filters
__create
Resource
__exclude
Items
Not
Passing
Check
__list
Resources
create
Resource
delete
get
Child
Subject
get
Name
get
Subject
list
Resources
perform
Action
Generated using
TypeDoc