ApiSchemasFunctions
Function: setActivity()
function setActivity(
node,
space,
on,
state,
label?
): Promise<
| NodeRecord<unknown>
| null>;Defined in: packages/core/src/schemas/automations.ts:210
Says where this account's work on a record stands: its one std.activity
about it, made or changed. Without a label, the one it had stays. Null
where the space keeps no std.activity.
Parameters
| Parameter | Type |
|---|---|
node | P2PNode |
space | string |
on | string |
state | ActivityState |
label? | string |
Returns
Promise<
| NodeRecord<unknown>
| null>