Type alias SubmittedEvent<T>

SubmittedEvent<T>: Omit<PartialSelect<T, "id" | "timestampMs" | "domain">, "action" | "clientId" | "userId" | "ip"> & {
    auth: ReqInfo;
}

The auditor client has methods named for the possible actions, so we can omit the "action" key from submitted events. Additionally, it will add timestamp, domain, and id for us, so we can make those optional.

Type Parameters

  • T extends BaseDataEvent = BaseDataEvent

Type declaration

Generated using TypeDoc