A helper class for creating Content. Sample usage:
content = await new Content().create({ fileId: fileReference.id, contentHolderReference: `item:${item.id}` }); Copy
content = await new Content().create({ fileId: fileReference.id, contentHolderReference: `item:${item.id}` });
If file is passed, fileId is ignored.
file
fileId
The content that was created.
Generated using TypeDoc
A helper class for creating Content. Sample usage: