# Function: applyBlueprint()

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

Defined in: [packages/core/src/schemas/blueprints.ts:407](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/blueprints.ts#L407)

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`](https://minca.dev/api/core/interfaces/P2PNode.md) |
| `spaceId` | `string` |
| `key` | `string` |

## Returns

`Promise`\<[`BlueprintReview`](https://minca.dev/api/schemas/interfaces/BlueprintReview.md)\>
