docs(editor): scaffolding docs generator (#10925)

This commit is contained in:
Saul-Mirone
2025-03-17 12:51:08 +00:00
parent 363c9799f3
commit 1d04438049
59 changed files with 2101 additions and 9 deletions

View File

@@ -0,0 +1,47 @@
[**@blocksuite/store**](../../../@blocksuite/store/README.md)
***
[BlockSuite API Documentation](../../../README.md) / [@blocksuite/store](../README.md) / StoreExtension
# Class: StoreExtension
Store extensions are used to extend the store.
They should be registered to the store. And they should be able to run in a none-dom environment.
## Extends
- [`Extension`](Extension.md)
## Properties
### key
> `readonly` `static` **key**: `string`
The key of the store extension.
**You must override this property with a unique string.**
## Methods
### disposed()
> **disposed**(): `void`
Lifecycle hook when the yjs document is disposed.
#### Returns
`void`
***
### loaded()
> **loaded**(): `void`
Lifecycle hook when the yjs document is loaded.
#### Returns
`void`