IWithBannerImageStore

Interface

Defines functions for working with Banner Images

Methods

Method Returns Notes
Promise<void>

Clear a banner image

Promise<IHubImage>

Store a banner image

clearBannerImage

Interface Method

Clear a banner image

  • clearBannerImage(id: string, ro: IUserRequestOptions) : Promise<void>

Parameters

Parameter Type Default Notes
id Required string
ro Required IUserRequestOptions

Returns

Promise<void>

setBannerImage

Interface Method

Store a banner image

Parameters

Parameter Type Default Notes
id Required string
opts Required IHubImageOptions
ro Required IUserRequestOptions

Returns

Promise<IHubImage>

Interface defined in common/src/core/traits/WithBannerImage.ts:18