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