Adding as a Streamable HTTP MCP Server
Some checks failed
Main Workflow / Security Audit (push) Successful in 4m39s
Main Workflow / Test and Build (20.x) (push) Failing after 4m56s
Main Workflow / Test and Build (18.x) (push) Failing after 5m9s
Main Workflow / Build Release Artifacts (push) Has been skipped
Main Workflow / Code Quality Check (push) Successful in 1m33s
Main Workflow / Notification (push) Failing after 21s
Some checks failed
Main Workflow / Security Audit (push) Successful in 4m39s
Main Workflow / Test and Build (20.x) (push) Failing after 4m56s
Main Workflow / Test and Build (18.x) (push) Failing after 5m9s
Main Workflow / Build Release Artifacts (push) Has been skipped
Main Workflow / Code Quality Check (push) Successful in 1m33s
Main Workflow / Notification (push) Failing after 21s
This commit is contained in:
@ -53,7 +53,12 @@ export enum DiagramFormat {
|
||||
DRAWIO_SVG = 'drawio.svg',
|
||||
DRAWIO_PNG = 'drawio.png',
|
||||
DIO = 'dio',
|
||||
XML = 'xml'
|
||||
XML = 'xml',
|
||||
SVG = 'svg',
|
||||
PNG = 'png',
|
||||
PDF = 'pdf',
|
||||
HTML = 'html',
|
||||
VSDX = 'vsdx'
|
||||
}
|
||||
|
||||
export enum ExportFormat {
|
||||
@ -62,7 +67,8 @@ export enum ExportFormat {
|
||||
PDF = 'pdf',
|
||||
JPEG = 'jpeg',
|
||||
HTML = 'html',
|
||||
XML = 'xml'
|
||||
XML = 'xml',
|
||||
VSDX = 'vsdx'
|
||||
}
|
||||
|
||||
export interface DiagramElement {
|
||||
@ -108,3 +114,56 @@ export interface TemplateConfig {
|
||||
connections: DiagramConnection[];
|
||||
defaultStyle?: string;
|
||||
}
|
||||
|
||||
// AI Analysis Types
|
||||
export interface DiagramAnalysis {
|
||||
diagramType: DiagramType;
|
||||
confidence: number;
|
||||
entities: string[];
|
||||
relationships: Array<{
|
||||
from: string;
|
||||
to: string;
|
||||
type: string;
|
||||
label?: string;
|
||||
}>;
|
||||
keywords: string[];
|
||||
reasoning: string;
|
||||
}
|
||||
|
||||
export interface IntelligentDiagramInput {
|
||||
description: string;
|
||||
format?: DiagramFormat;
|
||||
preferences?: {
|
||||
language?: string;
|
||||
complexity?: 'simple' | 'detailed';
|
||||
theme?: 'default' | 'dark' | 'minimal';
|
||||
};
|
||||
}
|
||||
|
||||
export interface IntelligentDiagramResult {
|
||||
success: boolean;
|
||||
diagramType: DiagramType;
|
||||
format: DiagramFormat;
|
||||
fileName: string;
|
||||
content: string;
|
||||
metadata: {
|
||||
analysis: DiagramAnalysis;
|
||||
entities: string[];
|
||||
relationships: Array<{
|
||||
from: string;
|
||||
to: string;
|
||||
type: string;
|
||||
label?: string;
|
||||
}>;
|
||||
generatedAt: string;
|
||||
};
|
||||
error?: string;
|
||||
}
|
||||
|
||||
export interface ProgressUpdate {
|
||||
type: 'progress' | 'content' | 'complete' | 'error';
|
||||
status?: string;
|
||||
progress?: number;
|
||||
message?: string;
|
||||
data?: any;
|
||||
}
|
||||
|
Reference in New Issue
Block a user