This commit is contained in:
parent
4b35583782
commit
e77051ccc4
1987 changed files with 1147290 additions and 5648 deletions
49
themes/blowfish/assets/lib/mermaid/diagrams/er/erDb.d.ts
vendored
Normal file
49
themes/blowfish/assets/lib/mermaid/diagrams/er/erDb.d.ts
vendored
Normal file
|
@ -0,0 +1,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';
|
3
themes/blowfish/assets/lib/mermaid/diagrams/er/erDetector.d.ts
vendored
Normal file
3
themes/blowfish/assets/lib/mermaid/diagrams/er/erDetector.d.ts
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
|
||||
declare const plugin: ExternalDiagramDefinition;
|
||||
export default plugin;
|
34
themes/blowfish/assets/lib/mermaid/diagrams/er/erDiagram.d.ts
vendored
Normal file
34
themes/blowfish/assets/lib/mermaid/diagrams/er/erDiagram.d.ts
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
export declare const diagram: {
|
||||
parser: any;
|
||||
db: {
|
||||
Cardinality: {
|
||||
ZERO_OR_ONE: string;
|
||||
ZERO_OR_MORE: string;
|
||||
ONE_OR_MORE: string;
|
||||
ONLY_ONE: string;
|
||||
MD_PARENT: string;
|
||||
};
|
||||
Identification: {
|
||||
NON_IDENTIFYING: string;
|
||||
IDENTIFYING: string;
|
||||
};
|
||||
getConfig: () => import("../../config.type.js").ErDiagramConfig | undefined;
|
||||
addEntity: (name: any, alias?: undefined) => any;
|
||||
addAttributes: (entityName: any, attribs: any) => void;
|
||||
getEntities: () => {};
|
||||
addRelationship: (entA: any, rolA: any, entB: any, rSpec: any) => void;
|
||||
getRelationships: () => any[];
|
||||
clear: () => void;
|
||||
setAccTitle: (txt: string) => void;
|
||||
getAccTitle: () => string;
|
||||
setAccDescription: (txt: string) => void;
|
||||
getAccDescription: () => string;
|
||||
setDiagramTitle: (txt: string) => void;
|
||||
getDiagramTitle: () => string;
|
||||
};
|
||||
renderer: {
|
||||
setConf: (cnf: any) => void;
|
||||
draw: (text: any, id: any, _version: any, diagObj: any) => void;
|
||||
};
|
||||
styles: (options: any) => string;
|
||||
};
|
24
themes/blowfish/assets/lib/mermaid/diagrams/er/erMarkers.d.ts
vendored
Normal file
24
themes/blowfish/assets/lib/mermaid/diagrams/er/erMarkers.d.ts
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
declare namespace _default {
|
||||
export { ERMarkers };
|
||||
export { insertMarkers };
|
||||
}
|
||||
export default _default;
|
||||
declare namespace ERMarkers {
|
||||
let ONLY_ONE_START: string;
|
||||
let ONLY_ONE_END: string;
|
||||
let ZERO_OR_ONE_START: string;
|
||||
let ZERO_OR_ONE_END: string;
|
||||
let ONE_OR_MORE_START: string;
|
||||
let ONE_OR_MORE_END: string;
|
||||
let ZERO_OR_MORE_START: string;
|
||||
let ZERO_OR_MORE_END: string;
|
||||
let MD_PARENT_END: string;
|
||||
let MD_PARENT_START: string;
|
||||
}
|
||||
/**
|
||||
* Put the markers into the svg DOM for later use with edge paths
|
||||
*
|
||||
* @param elem
|
||||
* @param conf
|
||||
*/
|
||||
declare function insertMarkers(elem: any, conf: any): void;
|
19
themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts
vendored
Normal file
19
themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* Return a unique id based on the given string. Start with the prefix, then a hyphen, then the
|
||||
* simplified str, then a hyphen, then a unique uuid based on the str. (Hyphens are only included if needed.)
|
||||
* Although the official XML standard for ids says that many more characters are valid in the id,
|
||||
* this keeps things simple by accepting only A-Za-z0-9.
|
||||
*
|
||||
* @param {string} str Given string to use as the basis for the id. Default is `''`
|
||||
* @param {string} prefix String to put at the start, followed by '-'. Default is `''`
|
||||
* @returns {string}
|
||||
* @see https://www.w3.org/TR/xml/#NT-Name
|
||||
*/
|
||||
export function generateId(str?: string, prefix?: string): string;
|
||||
export function setConf(cnf: any): void;
|
||||
export function draw(text: any, id: any, _version: any, diagObj: any): void;
|
||||
declare namespace _default {
|
||||
export { setConf };
|
||||
export { draw };
|
||||
}
|
||||
export default _default;
|
1
themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.spec.d.ts
vendored
Normal file
1
themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.spec.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
2
themes/blowfish/assets/lib/mermaid/diagrams/er/styles.d.ts
vendored
Normal file
2
themes/blowfish/assets/lib/mermaid/diagrams/er/styles.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
export default getStyles;
|
||||
declare function getStyles(options: any): string;
|
Loading…
Add table
Add a link
Reference in a new issue