Skip to content

DeleteConfig

type DeleteConfig<Schema> = BaseConfig & object;

Configuration for the Delete command.

key: Partial<EntitySchema<Schema>>;
optional returnItemCollectionMetrics: ReturnItemCollectionMetrics;
optional returnValues: ReturnValue;

Schema extends ZodObject

The Zod schema defining the structure of the entity.