UNPKG

2.36 kBTypeScriptView Raw
1declare namespace _default {
2 export { RequirementType };
3 export { RiskLevel };
4 export { VerifyType };
5 export { Relationships };
6 export function getConfig(): any;
7 export { addRequirement };
8 export { getRequirements };
9 export { setNewReqId };
10 export { setNewReqText };
11 export { setNewReqRisk };
12 export { setNewReqVerifyMethod };
13 export { setAccTitle };
14 export { getAccTitle };
15 export { setAccDescription };
16 export { getAccDescription };
17 export { addElement };
18 export { getElements };
19 export { setNewElementType };
20 export { setNewElementDocRef };
21 export { addRelationship };
22 export { getRelationships };
23 export { clear };
24}
25export default _default;
26declare namespace RequirementType {
27 let REQUIREMENT: string;
28 let FUNCTIONAL_REQUIREMENT: string;
29 let INTERFACE_REQUIREMENT: string;
30 let PERFORMANCE_REQUIREMENT: string;
31 let PHYSICAL_REQUIREMENT: string;
32 let DESIGN_CONSTRAINT: string;
33}
34declare namespace RiskLevel {
35 let LOW_RISK: string;
36 let MED_RISK: string;
37 let HIGH_RISK: string;
38}
39declare namespace VerifyType {
40 let VERIFY_ANALYSIS: string;
41 let VERIFY_DEMONSTRATION: string;
42 let VERIFY_INSPECTION: string;
43 let VERIFY_TEST: string;
44}
45declare namespace Relationships {
46 let CONTAINS: string;
47 let COPIES: string;
48 let DERIVES: string;
49 let SATISFIES: string;
50 let VERIFIES: string;
51 let REFINES: string;
52 let TRACES: string;
53}
54declare function addRequirement(name: any, type: any): any;
55declare function getRequirements(): {};
56declare function setNewReqId(id: any): void;
57declare function setNewReqText(text: any): void;
58declare function setNewReqRisk(risk: any): void;
59declare function setNewReqVerifyMethod(verifyMethod: any): void;
60import { setAccTitle } from '../common/commonDb.js';
61import { getAccTitle } from '../common/commonDb.js';
62import { setAccDescription } from '../common/commonDb.js';
63import { getAccDescription } from '../common/commonDb.js';
64declare function addElement(name: any): any;
65declare function getElements(): {};
66declare function setNewElementType(type: any): void;
67declare function setNewElementDocRef(docRef: any): void;
68declare function addRelationship(type: any, src: any, dst: any): void;
69declare function getRelationships(): any[];
70declare function clear(): void;