Circle V2 API Docs
Preparing search index...
@repo/trpc
routers/user-prompts/index
userPromptsRouter
Variable userPromptsRouter
Const
userPromptsRouter
:
BuiltRouter
<
{
ctx
:
TRPCContext
;
errorShape
:
DefaultErrorShape
;
meta
:
object
;
transformer
:
false
;
}
,
DecorateCreateRouterOptions
<
{
create
:
MutationProcedure
<
{
input
:
{
prompt
:
string
}
;
meta
:
object
;
output
:
{
created_at
:
DbDate
|
null
;
id
:
UserPromptId
;
is_pinned
:
boolean
|
null
;
prompt
:
string
|
null
;
user_id
:
UserId
|
null
;
}
;
}
,
>
;
delete
:
MutationProcedure
<
{
input
:
{
id
:
string
}
;
meta
:
object
;
output
:
{
created_at
:
DbDate
|
null
;
id
:
UserPromptId
;
is_pinned
:
boolean
|
null
;
prompt
:
string
|
null
;
user_id
:
UserId
|
null
;
}
;
}
,
>
;
list
:
QueryProcedure
<
{
input
:
void
;
meta
:
object
;
output
:
{
created_at
:
DbDate
|
null
;
id
:
UserPromptId
;
is_pinned
:
boolean
|
null
;
prompt
:
string
|
null
;
user_id
:
UserId
|
null
;
}
[]
;
}
,
>
;
togglePin
:
MutationProcedure
<
{
input
:
{
id
:
string
}
;
meta
:
object
;
output
:
{
created_at
:
DbDate
|
null
;
id
:
UserPromptId
;
is_pinned
:
boolean
|
null
;
prompt
:
string
|
null
;
user_id
:
UserId
|
null
;
}
;
}
,
>
;
}
,
>
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...