Skip to main content

Type Alias: DeleteRecipeDtoPayload

@arolariu/website


@arolariu/website / types/invoices/Recipe / DeleteRecipeDtoPayload

Type Alias: DeleteRecipeDtoPayload

DeleteRecipeDtoPayload = object

Defined in: types/invoices/Recipe.ts:219

DTO payload for removing a recipe suggestion.

Remarks

Identification: Recipes are identified by name since they don't have a separate GUID. The name must exactly match (case-sensitive).

Behavior:

  • AI-generated recipes: Dismissed for this invoice only
  • User-created recipes: Permanently deleted

Regeneration: Dismissed AI recipes can be regenerated by re-running invoice analysis.

Example

const deletePayload: DeleteRecipeDtoPayload = {
name: "Recipe to remove"
};

See

Recipe for the entity being deleted

Properties

name

readonly name: string

Defined in: types/invoices/Recipe.ts:221

The name of the recipe.

// was this page useful?