Skip to main content

Type Alias: CreateFavouriteCollection()

CreateFavouriteCollection: (favouriteCollectionName, collectionType) => Promise<boolean | string>

Create new favourite collection

Parameters

favouriteCollectionName

string

Name of the collection

collectionType

Type of the collection

"private" | "public"

Returns

Promise<boolean | string>

If false creation was unsuccessful, otherwise it will return collection id

Fires

@mimeeq#mimeeq-favourites-add-collection