LiquidExtensionContext
3 min
OCP App SDK / LiquidExtensionContext
Interface: LiquidExtensionContext
Defined in: src/app/LiquidExtension.ts:6
Context info for a liquid extension call.
Properties
mode
mode: "test" | "preview" | "live"
Defined in: src/app/LiquidExtension.ts:11
Whether this extension is being called during a preview, test send, and or live campaign run. This may be important for preventing external side effects, etc.