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
| Parameter | Type |
|---|---|
node | P2PNode |
spaceId | string |
key | string |
Returns
Promise<BlueprintReview>