diff --git a/docs/blocks/BlockCreation.md b/docs/blocks/BlockCreation.md index c799b9c..9a412cf 100644 --- a/docs/blocks/BlockCreation.md +++ b/docs/blocks/BlockCreation.md @@ -92,6 +92,13 @@ type BlockDefinition = { helpUrl: string; // The block's code, with all the arguments passed in the "args" param code: (args: Record) => unknown; + // The blocks mutator(the gear icon located at the left top corner in the block) + mutator?: Mutator; + // Hides the block from category, but still have it registered as a block. + // Mostly used for mutator blocks that are inside the mutator menu + hidden?: boolean; + // List of library imports that block requires. + imports?: `${string}@${string}`[]; }; ```