Sanity Library Reference Docs
Preparing search index...
@sanity/migrate
ReplaceOp
Type Alias ReplaceOp<Items, ReferenceItem>
Represents a replace-operation that can be applied to an array
type
ReplaceOp
<
Items
extends
AnyArray
,
ReferenceItem
extends
IndexedSegment
|
KeyedSegment
,
>
=
{
items
:
Items
;
referenceItem
:
ReferenceItem
;
type
:
"replace"
;
}
Type Parameters
Items
extends
AnyArray
ReferenceItem
extends
IndexedSegment
|
KeyedSegment
Index
Properties
items
reference
Item
type
Properties
items
items
:
Items
reference
Item
referenceItem
:
ReferenceItem
type
type
:
"replace"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
items
reference
Item
type
Sanity Library Reference Docs
Loading...
Represents a replace-operation that can be applied to an array