From e77051ccc4b47951bfa4fde2be436b1bb2fb113b Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 28 Apr 2024 17:33:09 +0200 Subject: use https://github.com/nunocoracao/blowfish.git --- .../assets/lib/mermaid/diagrams/er/erRenderer.d.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts (limited to 'themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts') diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts new file mode 100644 index 0000000..247bfde --- /dev/null +++ b/themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts @@ -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; -- cgit v1.2.3