minca
ApiSchemasFunctions

Function: applyBlueprint()

function applyBlueprint(
   node, 
   spaceId, 
   key
): Promise<BlueprintReview>;

Defined in: packages/core/src/schemas/blueprints.ts:407

Applies a blueprint: defines each collection it proposes that the space doesn't have as it says, new ones and changes to ones it has. Signed by whoever applies it, so they must be allowed to define collections here, by their role and by their key's note.

Parameters

ParameterType
nodeP2PNode
spaceIdstring
keystring

Returns

Promise<BlueprintReview>

On this page