Appearance
Rule.io SDK / client/src / ResolvedBrandTheme
Interface: ResolvedBrandTheme
Defined in: client/src/brand-style-to-theme.ts:261
Result of resolveBrandTheme.
Properties
id
id:
number
Defined in: client/src/brand-style-to-theme.ts:263
Resolved brand-style id.
name?
optionalname?:string
Defined in: client/src/brand-style-to-theme.ts:265
Brand style name if the API returned one.
source
source:
"default"|"override"|"fallback"
Defined in: client/src/brand-style-to-theme.ts:273
Discovery source: 'override' when the caller supplied overrideId, 'default' when an isDefault entry matched, 'fallback' when the first entry was used because no default was flagged.
theme
theme:
EmailTheme
Defined in: client/src/brand-style-to-theme.ts:267
The resolved theme, ready for applyTheme.