Skip to main content

DeletedRecord

Represents a single deleted record (soft-deleted item).

type DeletedRecord {
id: ID!
modelType: DeletedModel!
modelId: ID!
displayName: String!
createdAt: DateTimeTz!
permanentlyDeletedAt: DateTimeTz
deletedBy: ID
}

Fields​

DeletedRecord.id ● ID! non-null scalar​

Primary key of the row in deleted_models.

DeletedRecord.modelType ● DeletedModel! non-null enum​

Human-readable model type.

DeletedRecord.modelId ● ID! non-null scalar​

Original model id.

DeletedRecord.displayName ● String! non-null scalar​

Display name for the list.

DeletedRecord.createdAt ● DateTimeTz! non-null scalar​

When the item was deleted.

DeletedRecord.permanentlyDeletedAt ● DateTimeTz scalar​

When the item will be permanently deleted (null if retention is 0 / no auto-purge).

DeletedRecord.deletedBy ● ID scalar​

ID of the user who deleted the item (for display only; resolve user on the frontend).

Member Of​

DeletedRecordEdge object