diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-04-28 17:33:09 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-04-28 17:33:09 +0200 |
commit | e77051ccc4b47951bfa4fde2be436b1bb2fb113b (patch) | |
tree | f0b75ee3521da9c8cd39dac4359212348f70e4e8 /themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts | |
parent | 4b355837824ac2422d371acef790f0f4249255c7 (diff) |
use https://github.com/nunocoracao/blowfish.git
Diffstat (limited to 'themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts')
-rw-r--r-- | themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts | 19 |
1 files changed, 19 insertions, 0 deletions
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; |