Circle V2 API Docs
Preparing search index...
@repo/db
sectionsRepo
Variable sectionsRepo
Const
sectionsRepo
:
DbRepo
<
{
create
:
(
params
:
{
body
:
string
;
name
:
string
;
optional
:
boolean
}
&
{
bullet_format
?:
boolean
|
null
;
created_by
?:
string
&
{
__brand
:
"UserId"
}
|
null
;
id
?:
SectionId
;
last_updated
?:
DbDate
|
null
;
order
?:
string
|
null
;
template_id
?:
string
&
{
__brand
:
"TemplateId"
}
|
null
;
}
,
)
=>
Promise
<
{
body
:
string
;
bullet_format
:
boolean
|
null
;
created_by
:
string
&
{
__brand
:
"UserId"
}
|
null
;
id
:
SectionId
;
last_updated
:
DbDate
|
null
;
name
:
string
;
optional
:
boolean
;
order
:
string
|
null
;
template_id
:
string
&
{
__brand
:
"TemplateId"
}
|
null
;
}
,
>
;
delete
:
(
id
:
SectionId
,
)
=>
Promise
<
{
body
:
string
;
bullet_format
:
boolean
|
null
;
created_by
:
string
&
{
__brand
:
"UserId"
}
|
null
;
id
:
SectionId
;
last_updated
:
DbDate
|
null
;
name
:
string
;
optional
:
boolean
;
order
:
string
|
null
;
template_id
:
string
&
{
__brand
:
"TemplateId"
}
|
null
;
}
,
>
;
listByTemplateId
:
(
templateId
:
TemplateId
,
)
=>
Promise
<
{
body
:
string
;
bullet_format
:
boolean
|
null
;
created_by
:
string
&
{
__brand
:
"UserId"
}
|
null
;
id
:
SectionId
;
last_updated
:
DbDate
|
null
;
name
:
string
;
optional
:
boolean
;
order
:
string
|
null
;
template_id
:
string
&
{
__brand
:
"TemplateId"
}
|
null
;
}
[]
,
>
;
update
:
(
id
:
SectionId
,
params
:
{
body
?:
string
;
bullet_format
?:
boolean
|
null
;
created_by
?:
string
&
{
__brand
:
"UserId"
}
|
null
;
id
?:
SectionId
;
last_updated
?:
DbDate
|
null
;
name
?:
string
;
optional
?:
boolean
;
order
?:
string
|
null
;
template_id
?:
string
&
{
__brand
:
"TemplateId"
}
|
null
;
}
,
)
=>
Promise
<
{
body
:
string
;
bullet_format
:
boolean
|
null
;
created_by
:
string
&
{
__brand
:
"UserId"
}
|
null
;
id
:
SectionId
;
last_updated
:
DbDate
|
null
;
name
:
string
;
optional
:
boolean
;
order
:
string
|
null
;
template_id
:
string
&
{
__brand
:
"TemplateId"
}
|
null
;
}
,
>
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...