Skip to content

DeleteResult

type DeleteResult<Schema> = BaseResult & object;

Result of the Delete command.

optional deletedItem: Partial<EntitySchema<Schema>>;
optional itemCollectionMetrics: ItemCollectionMetrics;

Schema extends ZodObject

The Zod schema defining the structure of the entity.