Sanity Library Reference Docs
Preparing search index...
@sanity/client
index
CreateReleaseAction
Interface CreateReleaseAction
Creates a new release under the given id, with metadata.
interface
CreateReleaseAction
{
actionType
:
"sanity.action.release.create"
;
releaseId
:
string
;
metadata
?:
Partial
<
{
title
?:
string
;
description
?:
string
;
intendedPublishAt
?:
string
;
releaseType
:
ReleaseType
;
cardinality
?:
ReleaseCardinality
;
}
,
>
;
}
Index
Properties
action
Type
release
Id
metadata?
Properties
action
Type
actionType
:
"sanity.action.release.create"
release
Id
releaseId
:
string
Optional
metadata
metadata
?:
Partial
<
{
title
?:
string
;
description
?:
string
;
intendedPublishAt
?:
string
;
releaseType
:
ReleaseType
;
cardinality
?:
ReleaseCardinality
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
action
Type
release
Id
metadata
Sanity Library Reference Docs
Loading...
Creates a new release under the given id, with metadata.