Function: updateActivity()
function updateActivity(
context,
siteUrl,
activityId,
input
): Promise<CourseChange>;
Defined in: areas/activities/build.ts:202
Changes an existing activity through its form: only what's given changes. A file resource's or
folder's files stay as they are unless files says what to add, remove or replace.
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
activityId | number |
input | ActivityFields & object |
Returns
Promise<CourseChange>