minca
ApiSchemasFunctions

Function: writeGuide()

function writeGuide(
   node, 
   spaceId, 
   body
): Promise<void>;

Defined in: packages/core/src/schemas/guides.ts:41

Writes a guide, or rewrites it when the space has one of that name that this account wrote and it says something else. One someone else wrote holds the name: theirs stays. Defines std.guide first when the space lacks it.

Parameters

ParameterType
nodeP2PNode
spaceIdstring
body{ collections?: readonly string[]; name: string; text: string; title: string; }
body.collections?readonly string[]
body.name?string
body.text?string
body.title?string

Returns

Promise<void>

On this page