Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Class DocumentSocketResponse

    The data structure of a modifyDocument socket response.

    Index

    Constructors

    Properties

    The database action that was performed.

    broadcast: boolean

    Was this response broadcast to other connected clients?

    error: Error

    An error that occurred. Present if unsuccessful

    The database operation that was requested.

    result: string[] | object[]

    The result of the request. Present if successful

    timestamp: number

    The time the response was sent in milliseconds.

    type: string

    The type of Document being transacted.

    userId: string

    The identifier of the requesting user.