Skip to content

DeleteMutation

Delete an object

Extends

Constructors

new DeleteMutation()

new DeleteMutation(obj): DeleteMutation

Parameters

obj: Obj

Returns

DeleteMutation

Overrides

Mutation.constructor

Source

core/transaction.ts:61

Properties

obj

obj: Obj

Source

core/transaction.ts:59


type

type: string

Inherited from

Mutation.type

Source

core/transaction.ts:18

Methods

apply()

apply(store): void

Parameters

store: Store

Returns

void

Overrides

Mutation.apply

Source

core/transaction.ts:66


toJSON()

toJSON(): any

Returns

any

Overrides

Mutation.toJSON

Source

core/transaction.ts:76


unapply()

unapply(store): void

Parameters

store: Store

Returns

void

Overrides

Mutation.unapply

Source

core/transaction.ts:71