feat: bump more deps (#14079)

This commit is contained in:
DarkSky
2025-12-10 16:02:28 +08:00
committed by GitHub
parent 40f3337d45
commit cb0ff04efa
194 changed files with 2155 additions and 2297 deletions

View File

@@ -106,13 +106,13 @@ Get the signal for the readonly state of the store.
#### Get Signature
> **get** **root**(): `null` \| `BlockModel`\<`object`\>
> **get** **root**(): `BlockModel`\<`object`\> \| `null`
Get the root block of the store.
##### Returns
`null` \| `BlockModel`\<`object`\>
`BlockModel`\<`object`\> \| `null`
***
@@ -146,7 +146,7 @@ Optional properties for the new block
Optional parent block or parent block ID
`null` | `string` | `BlockModel`\<`object`\>
`string` | `BlockModel`\<`object`\> | `null`
##### parentIndex?
@@ -184,7 +184,7 @@ Array of blocks to add
Optional parent block or parent block ID
`null` | `string` | `BlockModel`\<`object`\>
`string` | `BlockModel`\<`object`\> | `null`
##### parentIndex?
@@ -286,7 +286,7 @@ Array of all models
### getBlock()
> **getBlock**(`id`): `undefined` \| `Block`
> **getBlock**(`id`): `Block` \| `undefined`
Gets a block by its ID
@@ -300,7 +300,7 @@ The block's ID
#### Returns
`undefined` \| `Block`
`Block` \| `undefined`
The block instance if found, undefined otherwise
@@ -308,7 +308,7 @@ The block instance if found, undefined otherwise
### getBlock$()
> **getBlock$**(`id`): `undefined` \| `Block`
> **getBlock$**(`id`): `Block` \| `undefined`
Gets a block by its ID
@@ -322,7 +322,7 @@ The block's ID
#### Returns
`undefined` \| `Block`
`Block` \| `undefined`
The block instance in signal if found, undefined otherwise
@@ -352,7 +352,7 @@ Array of matching blocks
### getModelById()
> **getModelById**\<`Model`\>(`id`): `null` \| `Model`
> **getModelById**\<`Model`\>(`id`): `Model` \| `null`
Get a model by its ID
@@ -372,7 +372,7 @@ The model's ID
#### Returns
`null` \| `Model`
`Model` \| `null`
The model instance if found, null otherwise
@@ -402,7 +402,7 @@ Array of matching models
### getNext()
> **getNext**(`block`): `null` \| `BlockModel`\<`object`\>
> **getNext**(`block`): `BlockModel`\<`object`\> \| `null`
Get the next sibling block of a given block
@@ -416,7 +416,7 @@ Block model or block ID to find next sibling for
#### Returns
`null` \| `BlockModel`\<`object`\>
`BlockModel`\<`object`\> \| `null`
The next sibling block model if found, null otherwise
@@ -446,7 +446,7 @@ Array of next sibling blocks if found, empty array otherwise
### getParent()
> **getParent**(`target`): `null` \| `BlockModel`\<`object`\>
> **getParent**(`target`): `BlockModel`\<`object`\> \| `null`
Gets the parent block of a given block
@@ -460,7 +460,7 @@ Block model or block ID to find parent for
#### Returns
`null` \| `BlockModel`\<`object`\>
`BlockModel`\<`object`\> \| `null`
The parent block model if found, null otherwise
@@ -468,7 +468,7 @@ The parent block model if found, null otherwise
### getPrev()
> **getPrev**(`block`): `null` \| `BlockModel`\<`object`\>
> **getPrev**(`block`): `BlockModel`\<`object`\> \| `null`
Get the previous sibling block of a given block
@@ -482,7 +482,7 @@ Block model or block ID to find previous sibling for
#### Returns
`null` \| `BlockModel`\<`object`\>
`BlockModel`\<`object`\> \| `null`
The previous sibling block model if found, null otherwise
@@ -556,7 +556,7 @@ The new parent block model
Optional target sibling block model
`null` | `BlockModel`\<`object`\>
`BlockModel`\<`object`\> | `null`
##### shouldInsertBeforeSibling
@@ -652,7 +652,7 @@ The extension instance
#### Get Signature
> **get** **getOptional**(): \<`T`\>(`identifier`, `options?`) => `null` \| `T`
> **get** **getOptional**(): \<`T`\>(`identifier`, `options?`) => `T` \| `null`
Optional get an extension instance from the store.
The major difference between `get` and `getOptional` is that `getOptional` will not throw an error if the extension is not found.
@@ -667,7 +667,7 @@ const extension = store.getOptional(SomeExtension);
The extension instance
> \<`T`\>(`identifier`, `options?`): `null` \| `T`
> \<`T`\>(`identifier`, `options?`): `T` \| `null`
###### Type Parameters
@@ -687,7 +687,7 @@ The extension instance
###### Returns
`null` \| `T`
`T` \| `null`
***