Preparing search index...
The search index is not available
sakuin
sakuin
<internal>
NoteClient
Class NoteClient<Tag, Input, Output>
Type Parameters
Tag
extends
Exclude
<
NoteType
,
"portfolio"
>
Input
=
Tag
extends
"short"
?
ShortInput
:
PostInput
Output
=
Tag
extends
"short"
?
Short
:
Post
Index
Constructors
constructor
Methods
get
get
All
get
By
Slug
get
Many
put
update
Constructors
constructor
new
NoteClient
<
Tag
extends
"post"
|
"page"
|
"short"
,
Input
=
Tag
extends
"short"
?
ShortInput
:
PostInput
,
Output
=
Tag
extends
"short"
?
Short
:
Post
,
>
(
base
:
ClientBase
,
tag
:
Tag
,
)
:
NoteClient
<
Tag
,
Input
,
Output
>
Type Parameters
Tag
extends
"post"
|
"page"
|
"short"
Input
=
Tag
extends
"short"
?
ShortInput
:
PostInput
Output
=
Tag
extends
"short"
?
Short
:
Post
Parameters
base
:
ClientBase
tag
:
Tag
Returns
NoteClient
<
Tag
,
Input
,
Output
>
Methods
get
get
(
handleOrCharacterId
:
HandleOrCharacterId
,
noteId
:
Numberish
,
options
?:
CreateOptions
,
)
:
Promise
<
null
|
Output
>
Parameters
handleOrCharacterId
:
HandleOrCharacterId
noteId
:
Numberish
Optional
options
:
CreateOptions
Returns
Promise
<
null
|
Output
>
get
All
getAll
(
handleOrCharacterId
:
HandleOrCharacterId
,
options
?:
Omit
<
undefined
|
NoteQueryOptions
,
"cursor"
|
"limit"
>
&
CreateOptions
,
)
:
Promise
<
Output
[]
>
Parameters
handleOrCharacterId
:
HandleOrCharacterId
Optional
options
:
Omit
<
undefined
|
NoteQueryOptions
,
"cursor"
|
"limit"
>
&
CreateOptions
Returns
Promise
<
Output
[]
>
get
By
Slug
getBySlug
(
handleOrCharacterId
:
HandleOrCharacterId
,
slug
:
string
,
options
?:
CreateOptions
,
)
:
Promise
<
null
|
Output
>
Parameters
handleOrCharacterId
:
HandleOrCharacterId
slug
:
string
Optional
options
:
CreateOptions
Returns
Promise
<
null
|
Output
>
get
Many
getMany
(
handleOrCharacterId
:
HandleOrCharacterId
,
options
?:
NoteQueryOptions
&
CreateOptions
,
)
:
Promise
<
ResultMany
<
Output
>
>
Parameters
handleOrCharacterId
:
HandleOrCharacterId
Optional
options
:
NoteQueryOptions
&
CreateOptions
Returns
Promise
<
ResultMany
<
Output
>
>
put
put
(
__namedParameters
:
{
handleOrCharacterId
:
HandleOrCharacterId
;
note
:
Input
;
token
:
string
;
}
,
)
:
Promise
<
{}
>
Parameters
__namedParameters
:
{
handleOrCharacterId
:
HandleOrCharacterId
;
note
:
Input
;
token
:
string
}
Returns
Promise
<
{}
>
update
update
(
__namedParameters
:
UpdateOptions
<
Tag
>
)
:
Promise
<
Response
>
Parameters
__namedParameters
:
UpdateOptions
<
Tag
>
Returns
Promise
<
Response
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
get
All
get
By
Slug
get
Many
put
update
sakuin
Loading...