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
@@ -74,7 +74,7 @@ The bound of the element without considering the response extension.
#### Get Signature
> **get** **lockedBySelf**(): `undefined` \| `boolean`
> **get** **lockedBySelf**(): `boolean` \| `undefined`
Indicates whether the current block is explicitly locked by self.
For checking the lock status of the element, use `isLocked` instead.
@@ -82,7 +82,7 @@ For (un)locking the element, use `(un)lock` instead.
##### Returns
`undefined` \| `boolean`
`boolean` \| `undefined`
#### Set Signature
@@ -96,7 +96,7 @@ For (un)locking the element, use `(un)lock` instead.
###### lockedBySelf
`undefined` | `boolean`
`boolean` | `undefined`
##### Returns
@@ -12,11 +12,11 @@
### a
`undefined` | `null` | `string`
`string` | `null` | `undefined`
### b
`undefined` | `null` | `string`
`string` | `null` | `undefined`
### digits?
@@ -17,11 +17,11 @@ make sure a and b are generated by this function.
### a
`null` | `string`
`string` | `null`
### b
`null` | `string`
`string` | `null`
## Returns
@@ -20,11 +20,11 @@ a and b.
### a
`undefined` | `null` | `string`
`string` | `null` | `undefined`
### b
`undefined` | `null` | `string`
`string` | `null` | `undefined`
### n
@@ -11,7 +11,7 @@
This type include the common props for the graphic block model.
You can use this type with Omit to define the props of a graphic block model.
## Type declaration
## Type Declaration
### rotate
@@ -37,13 +37,13 @@ The type of the value stored in the Boxed.
### getValue()
> **getValue**(): `undefined` \| `Value`
> **getValue**(): `Value` \| `undefined`
Get the current value of the Boxed.
#### Returns
`undefined` \| `Value`
`Value` \| `undefined`
***
@@ -35,7 +35,7 @@ Returns an object mapping each registered flavour to its version number.
### get()
> **get**(`flavour`): `undefined` \| \{ `model`: \{ `children?`: `string`[]; `flavour`: `string`; `isFlatData?`: `boolean`; `parent?`: `string`[]; `props?`: (...`args`) => `Record`\<`string`, `any`\>; `role`: `string`; `toModel?`: (...`args`) => `BlockModel`\<`object`\>; \}; `transformer?`: (...`args`) => `BaseBlockTransformer`\<`object`\>; `version`: `number`; \}
> **get**(`flavour`): \{ `model`: \{ `children?`: `string`[]; `flavour`: `string`; `isFlatData?`: `boolean`; `parent?`: `string`[]; `props?`: (...`args`) => `Record`\<`string`, `any`\>; `role`: `string`; `toModel?`: (...`args`) => `BlockModel`\<`object`\>; \}; `transformer?`: (...`args`) => `BaseBlockTransformer`\<`object`\>; `version`: `number`; \} \| `undefined`
Retrieves the schema for a given block flavour.
@@ -49,7 +49,7 @@ The block flavour name.
#### Returns
`undefined` \| \{ `model`: \{ `children?`: `string`[]; `flavour`: `string`; `isFlatData?`: `boolean`; `parent?`: `string`[]; `props?`: (...`args`) => `Record`\<`string`, `any`\>; `role`: `string`; `toModel?`: (...`args`) => `BlockModel`\<`object`\>; \}; `transformer?`: (...`args`) => `BaseBlockTransformer`\<`object`\>; `version`: `number`; \}
\{ `model`: \{ `children?`: `string`[]; `flavour`: `string`; `isFlatData?`: `boolean`; `parent?`: `string`[]; `props?`: (...`args`) => `Record`\<`string`, `any`\>; `role`: `string`; `toModel?`: (...`args`) => `BlockModel`\<`object`\>; \}; `transformer?`: (...`args`) => `BaseBlockTransformer`\<`object`\>; `version`: `number`; \} \| `undefined`
The corresponding BlockSchemaType or undefined if not found.
@@ -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`
***
@@ -103,13 +103,13 @@ Clear the text content.
### clone()
> **clone**(): `Text`\<\{ `bold?`: `null` \| `true`; `code?`: `null` \| `true`; `italic?`: `null` \| `true`; `link?`: `null` \| `string`; `strike?`: `null` \| `true`; `underline?`: `null` \| `true`; \}\>
> **clone**(): `Text`\<\{ `bold?`: `true` \| `null`; `code?`: `true` \| `null`; `italic?`: `true` \| `null`; `link?`: `string` \| `null`; `strike?`: `true` \| `null`; `underline?`: `true` \| `null`; \}\>
Clone the text to a new Text instance.
#### Returns
`Text`\<\{ `bold?`: `null` \| `true`; `code?`: `null` \| `true`; `italic?`: `null` \| `true`; `link?`: `null` \| `string`; `strike?`: `null` \| `true`; `underline?`: `null` \| `true`; \}\>
`Text`\<\{ `bold?`: `true` \| `null`; `code?`: `true` \| `null`; `italic?`: `true` \| `null`; `link?`: `string` \| `null`; `strike?`: `true` \| `null`; `underline?`: `true` \| `null`; \}\>
A new Text instance.
+1 -1
View File
@@ -8,7 +8,7 @@
"license": "MPL-2.0",
"type": "module",
"devDependencies": {
"typedoc": "^0.28.0",
"typedoc": "^0.28.15",
"typedoc-plugin-markdown": "^4.5.0"
},
"scripts": {