Home Reference Source
import DirectoryMutation from 'vibejs/src/directory/DirectoryMutation.js'
public class | source

DirectoryMutation

Constructor Summary

Public Constructor
public

constructor(subject: EntitySubject, payload: Object)

Construct mutation

Member Summary

Public Members
public

State before mutation

public

State after mutation

Private Members
private

Method Summary

Public Methods
public

commit(message: string)

Apply mutation

Public Constructors

public constructor(subject: EntitySubject, payload: Object) source

Construct mutation

Params:

NameTypeAttributeDescription
subject EntitySubject
payload Object

Public Members

public originalState: * source

State before mutation

public resultState: * source

State after mutation

Private Members

private _subject: * source

Public Methods

public commit(message: string) source

Apply mutation

Params:

NameTypeAttributeDescription
message string

message with commit