The data structure of a modifyDocument socket response.

Alias

foundry.abstract.DocumentSocketResponse

Constructors

Properties

type: string

The type of Document being transacted.

The database action that was performed.

broadcast: boolean

Was this response broadcast to other connected clients?

The database operation that was requested.

userId: string

The identifier of the requesting user.

result: string[] | object[]

The result of the request. Present if successful

error: Error

An error that occurred. Present if unsuccessful