• Type Parameters

    Parameters

    • collectionId: string

      The ID of the collection to add the item to.

    • item: CItem

      The item to add.

    • Optionaloptions: WeivDataOptionsWrite

      An object containing options to use when processing this operation.

    Returns Promise<CItem>

    Fulfilled - The item that was added. Rejected - The error that caused the rejection.

    Adds an item to a collection.