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: "private" | "public"

Type of the collection

Returns

Promise<boolean | string>

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

Fires

@mimeeq#mimeeq-favourites-add-collection