Fix BlockDiagramConfig
This commit is contained in:
parent
30b180d77b
commit
a344d88020
|
@ -152,7 +152,6 @@ export interface MermaidConfig {
|
|||
wrap?: boolean;
|
||||
fontSize?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* The object containing configurations specific for packet diagrams.
|
||||
*
|
||||
|
@ -185,16 +184,6 @@ export interface PacketDiagramConfig extends BaseDiagramConfig {
|
|||
*/
|
||||
paddingY?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* The object containing configurations specific for block diagrams.
|
||||
*
|
||||
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
||||
* via the `definition` "BlockDiagramConfig".
|
||||
*/
|
||||
export interface BlockDiagramConfig extends BaseDiagramConfig {
|
||||
padding?: number;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
||||
* via the `definition` "BaseDiagramConfig".
|
||||
|
@ -209,6 +198,15 @@ export interface BaseDiagramConfig {
|
|||
*/
|
||||
useMaxWidth?: boolean;
|
||||
}
|
||||
/**
|
||||
* The object containing configurations specific for block diagrams.
|
||||
*
|
||||
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
||||
* via the `definition` "BlockDiagramConfig".
|
||||
*/
|
||||
export interface BlockDiagramConfig extends BaseDiagramConfig {
|
||||
padding?: number;
|
||||
}
|
||||
/**
|
||||
* The object containing configurations specific for c4 diagrams
|
||||
*
|
||||
|
|
|
@ -2060,6 +2060,8 @@ $defs: # JSON Schema definition (maybe we should move these to a separate file)
|
|||
unevaluatedProperties: false
|
||||
properties:
|
||||
padding:
|
||||
type: number
|
||||
minimum: 0
|
||||
default: 8
|
||||
|
||||
FontCalculator:
|
||||
|
|
Loading…
Reference in New Issue