From 32a788f1d7bf1b271387b7bf268b34f7687e2030 Mon Sep 17 00:00:00 2001 From: Ella Nan <38847123+ellanan@users.noreply.github.com> Date: Fri, 22 May 2026 13:36:31 -0400 Subject: [PATCH] feat: add optional id to rule-promotion Action Backend (promotions.svc!895) now assigns a UUID to each action on a rule promotion and matches actions by id on update. Adding an optional id field lets consumers round-trip it without losing type safety. The field is intentionally optional: it is absent on create requests and on legacy promotion responses prior to backend backfill. --- src/types/rule-promotions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/rule-promotions.ts b/src/types/rule-promotions.ts index 3ede27d..5119e4a 100644 --- a/src/types/rule-promotions.ts +++ b/src/types/rule-promotions.ts @@ -36,6 +36,7 @@ export interface ActionCondition { } export interface Action { + id?: string strategy: string args: any[] limitations?: ActionLimitation