Appearance
Rule.io SDK / client/src / BrandThemeResolverClient
Interface: BrandThemeResolverClient
Defined in: client/src/brand-style-to-theme.ts:249
Minimal structural shape resolveBrandTheme needs from a client. RuleClient satisfies it, and test doubles can too without importing the whole client module.
Properties
brandStyles
brandStyles:
object
Defined in: client/src/brand-style-to-theme.ts:250
get()
get(
id):Promise<BrandStyle|null>
Parameters
id
number
Returns
Promise<BrandStyle | null>
list()
list():
Promise<BrandStyleListItem[]>
Returns
Promise<BrandStyleListItem[]>