summaryrefslogtreecommitdiff
path: root/themes/blowfish/assets/lib/mermaid/diagrams/er/erDb.d.ts
blob: ffeca06b0ffbad92ae267f7aa17bcf474b7fdb17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
declare namespace _default {
    export { Cardinality };
    export { Identification };
    export function getConfig(): import("../../config.type.js").ErDiagramConfig | undefined;
    export { addEntity };
    export { addAttributes };
    export { getEntities };
    export { addRelationship };
    export { getRelationships };
    export { clear };
    export { setAccTitle };
    export { getAccTitle };
    export { setAccDescription };
    export { getAccDescription };
    export { setDiagramTitle };
    export { getDiagramTitle };
}
export default _default;
declare namespace Cardinality {
    let ZERO_OR_ONE: string;
    let ZERO_OR_MORE: string;
    let ONE_OR_MORE: string;
    let ONLY_ONE: string;
    let MD_PARENT: string;
}
declare namespace Identification {
    let NON_IDENTIFYING: string;
    let IDENTIFYING: string;
}
declare function addEntity(name: any, alias?: undefined): any;
declare function addAttributes(entityName: any, attribs: any): void;
declare function getEntities(): {};
/**
 * Add a relationship
 *
 * @param entA The first entity in the relationship
 * @param rolA The role played by the first entity in relation to the second
 * @param entB The second entity in the relationship
 * @param rSpec The details of the relationship between the two entities
 */
declare function addRelationship(entA: any, rolA: any, entB: any, rSpec: any): void;
declare function getRelationships(): any[];
declare function clear(): 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';
import { setDiagramTitle } from '../common/commonDb.js';
import { getDiagramTitle } from '../common/commonDb.js';