Creates a new assignment file and uploads it to the server.
The Hiyve client instance
Options for creating the assignment
The created file ID and file data
const { fileId, fileData } = await createAssignmentFile(client, { name: 'Design Review', ownerId: userId,}); Copy
const { fileId, fileData } = await createAssignmentFile(client, { name: 'Design Review', ownerId: userId,});
Creates a new assignment file and uploads it to the server.