A helper class for creating Content. Sample usage:

content = await new Content().create({ fileId: fileReference.id, contentHolderReference: `item:${item.id}` });

Constructors

Methods

Constructors

Methods

  • If file is passed, fileId is ignored.

    Parameters

    Returns Promise<any>

    The content that was created.

Generated using TypeDoc