An external file to attach to an activity via addMotionDataToActivity.
addMotionDataToActivity
The tag must not conflict with reserved tags used by Model Health internally.
tag
const file: ExternalResultFile = { tag: "force_plate", extension: "csv", data: new TextEncoder().encode("time,fx,fy,fz\n0.0,0,0,650\n"),};const updated = await client.addMotionDataToActivity(activity, [file]); Copy
const file: ExternalResultFile = { tag: "force_plate", extension: "csv", data: new TextEncoder().encode("time,fx,fy,fz\n0.0,0,0,650\n"),};const updated = await client.addMotionDataToActivity(activity, [file]);
The raw file bytes to upload.
Bare file extension without a leading dot (e.g. "csv", "bin", "json").
"csv"
"bin"
"json"
Identifies the data source on the server.
An external file to attach to an activity via
addMotionDataToActivity.The
tagmust not conflict with reserved tags used by Model Health internally.Example