Circle V2 API Docs
Preparing search index...
@repo/db
userEntitiesRepo
Variable userEntitiesRepo
Const
userEntitiesRepo
:
DbRepo
<
{
create
:
(
params
:
{
entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
role_id
:
number
;
user_id
:
string
&
{
__brand
:
"UserId"
}
;
}
&
{
direct_reports
?:
string
[]
|
null
;
id
?:
UserEntityId
}
,
)
=>
Promise
<
{
direct_reports
:
string
[]
|
null
;
entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
id
:
UserEntityId
;
role_id
:
number
;
user_id
:
string
&
{
__brand
:
"UserId"
}
;
}
,
>
;
getByUserId
:
(
userId
:
UserId
,
)
=>
Promise
<
{
direct_reports
:
string
[]
|
null
;
entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
id
:
UserEntityId
;
role_id
:
number
;
user_id
:
string
&
{
__brand
:
"UserId"
}
;
}
,
>
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...