Skip to content

CreateMutation

Create an object

Extends

Constructors

new CreateMutation()

new CreateMutation(obj): CreateMutation

Parameters

obj: Obj

Returns

CreateMutation

Overrides

Mutation.constructor

Source

core/transaction.ts:35

Properties

obj

obj: Obj

Source

core/transaction.ts:33


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:40


toJSON()

toJSON(): any

Returns

any

Overrides

Mutation.toJSON

Source

core/transaction.ts:50


unapply()

unapply(store): void

Parameters

store: Store

Returns

void

Overrides

Mutation.unapply

Source

core/transaction.ts:45