Options
All
  • Public
  • Public/Protected
  • All
Menu

All the data passed to an effect or precondition within the delete action on the user model.

Hierarchy

  • AmbientContext
    • DeleteUserActionContext

Index

Properties

api: Client

An instance of the API client for blog.

Note: This client is authorized using a superuser internal api token and has permission to invoke any action in the system using normal API mutations or the Internal API.

All blog configuration values

connections: AppConnections

A map of connection name to instantiated connection objects for blog

logger: FastifyLoggerInstance

A high performance structured logger which writes logs to the Logs Viewer in the Gadget Editor.

model: NotYetTyped

The model of the record this action is operating on

params: {}

Type declaration

  • [key: string]: string | number | boolean | object | bigint | undefined
record: GadgetRecord<{ __typename: "User"; createdAt: Date; email: null | string; id: string; roles: Role[]; updatedAt: Date }>

The User record this action is operating on.

request?: RequestData

The details of the request that is invoking this unit of work, if it was invoked by a request.

Note: Request details are not always present, like during a background connection sync, a background job, or an action retry.

scope: ActionExecutionScope

An object passed between all preconditions and effects of an action execution at the scope property. Useful for transferring data between effects.

session?: Session

The current request's session, if it has one. Requests made by browsers are given sessions, but requests made using Gadget API Keys are not.

sessionID?: string

The current request's session ID, if it has one. Requests made by browsers are given sessions, but requests made using Gadget API Keys are not.

Generated using TypeDoc