API ReferenceEvent Referenceplatform.brand.cache_invalidated.v1

platform.brand.cache_invalidated.v1

Constant

import { EVENT_NAMES } from "@platform/contracts";
 
EVENT_NAMES.PLATFORM_BRAND_CACHE_INVALIDATED_V1;

Publishers

Subscribers

No service currently subscribes to this event.

Payload schema

z.object({
  brand_id: z.string(),
  brand_slug: z.string(),
  reason: z.enum(["seed", "manual", "config_change"]),
  invalidated_at: z.string().datetime(),
}

Delivery semantics

  • At-least-once delivery. Consumers must dedupe by event ID.
  • Fanned out to both NATS (in-cluster) and EventBridge (durable). See Events concept.