Christoph Cullmann 2024-04-28 17:33:09 +02:00
parent 4b35583782
commit e77051ccc4
1987 changed files with 1147290 additions and 5648 deletions

View file

@ -0,0 +1,70 @@
declare namespace _default {
export { RequirementType };
export { RiskLevel };
export { VerifyType };
export { Relationships };
export function getConfig(): any;
export { addRequirement };
export { getRequirements };
export { setNewReqId };
export { setNewReqText };
export { setNewReqRisk };
export { setNewReqVerifyMethod };
export { setAccTitle };
export { getAccTitle };
export { setAccDescription };
export { getAccDescription };
export { addElement };
export { getElements };
export { setNewElementType };
export { setNewElementDocRef };
export { addRelationship };
export { getRelationships };
export { clear };
}
export default _default;
declare namespace RequirementType {
let REQUIREMENT: string;
let FUNCTIONAL_REQUIREMENT: string;
let INTERFACE_REQUIREMENT: string;
let PERFORMANCE_REQUIREMENT: string;
let PHYSICAL_REQUIREMENT: string;
let DESIGN_CONSTRAINT: string;
}
declare namespace RiskLevel {
let LOW_RISK: string;
let MED_RISK: string;
let HIGH_RISK: string;
}
declare namespace VerifyType {
let VERIFY_ANALYSIS: string;
let VERIFY_DEMONSTRATION: string;
let VERIFY_INSPECTION: string;
let VERIFY_TEST: string;
}
declare namespace Relationships {
let CONTAINS: string;
let COPIES: string;
let DERIVES: string;
let SATISFIES: string;
let VERIFIES: string;
let REFINES: string;
let TRACES: string;
}
declare function addRequirement(name: any, type: any): any;
declare function getRequirements(): {};
declare function setNewReqId(id: any): void;
declare function setNewReqText(text: any): void;
declare function setNewReqRisk(risk: any): void;
declare function setNewReqVerifyMethod(verifyMethod: any): void;
import { setAccTitle } from '../common/commonDb.js';
import { getAccTitle } from '../common/commonDb.js';
import { setAccDescription } from '../common/commonDb.js';
import { getAccDescription } from '../common/commonDb.js';
declare function addElement(name: any): any;
declare function getElements(): {};
declare function setNewElementType(type: any): void;
declare function setNewElementDocRef(docRef: any): void;
declare function addRelationship(type: any, src: any, dst: any): void;
declare function getRelationships(): any[];
declare function clear(): void;

View file

@ -0,0 +1,3 @@
import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
declare const plugin: ExternalDiagramDefinition;
export default plugin;

View file

@ -0,0 +1,2 @@
import type { DiagramDefinition } from '../../diagram-api/types.js';
export declare const diagram: DiagramDefinition;

View file

@ -0,0 +1,10 @@
declare namespace _default {
export { ReqMarkers };
export { insertLineEndings };
}
export default _default;
declare namespace ReqMarkers {
let CONTAINS: string;
let ARROW: string;
}
declare function insertLineEndings(parentNode: any, conf: any): void;

View file

@ -0,0 +1,7 @@
export function drawReqs(reqs: any, graph: any, svgNode: any): void;
export function drawElements(els: any, graph: any, svgNode: any): void;
export function draw(text: any, id: any, _version: any, diagObj: any): void;
declare namespace _default {
export { draw };
}
export default _default;

View file

@ -0,0 +1,2 @@
export default getStyles;
declare function getStyles(options: any): string;