Sanity Library Reference Docs
Preparing search index...
@sanity/migrate
CreateOrReplaceMutation
Type Alias CreateOrReplaceMutation<Doc>
Represents a mutation that can create or replace a document in the Sanity Content Lake given its ID.
type
CreateOrReplaceMutation
<
Doc
extends
SanityDocument
>
=
{
document
:
Doc
;
type
:
"createOrReplace"
;
}
Type Parameters
Doc
extends
SanityDocument
Index
Properties
document
type
Properties
document
document
:
Doc
type
type
:
"createOrReplace"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
document
type
Sanity Library Reference Docs
Loading...
Represents a mutation that can create or replace a document in the Sanity Content Lake given its ID.