Type Alias SetResponse

SetResponse: {
    accountId: Id;
    created?: Record<Id, any>;
    destroyed?: Id[];
    newState: string;
    notCreated?: Record<Id, SetError>;
    notDestroyed?: Record<Id, SetError>;
    notUpdated?: Record<Id, SetError>;
    oldState: string;
    updated?: Record<Id, any>;
}

RFC 8620 (5.3) - https://datatracker.ietf.org/doc/html/rfc8620#section-5.3 can return error requestTooLarge, stateMismatch

Type declaration

  • accountId: Id
  • Optionalcreated?: Record<Id, any>
  • Optionaldestroyed?: Id[]
  • newState: string
  • OptionalnotCreated?: Record<Id, SetError>
  • OptionalnotDestroyed?: Record<Id, SetError>
  • OptionalnotUpdated?: Record<Id, SetError>
  • oldState: string
  • Optionalupdated?: Record<Id, any>