Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Feb 11, 2024
1 parent 48ff3b2 commit 00423ed
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions packages/mermaid/src/config.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export interface MermaidConfig {
wrap?: boolean;
fontSize?: number;
}

/**
* The object containing configurations specific for packet diagrams.
*
Expand Down Expand Up @@ -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".
Expand All @@ -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?: unknown;
}
/**
* The object containing configurations specific for c4 diagrams
*
Expand Down

0 comments on commit 00423ed

Please sign in to comment.