API ReferenceBackend SDK ReferenceInterfacesTriggerRequestOn this pageInterface: TriggerRequest<T>The context provided to a trigger function.Type parametersNameTypeTextends DocumentData = anyPropertiesdocAfter• Optional docAfter: TdocBefore• Optional docBefore: TmutationType• mutationType: MutationTypesquidDocId• squidDocId: string