@dbml/core
Advanced tools
Comparing version 3.7.2 to 3.7.3
@@ -53,3 +53,3 @@ "use strict"; | ||
case 'dbmlv2': | ||
rawDatabase = Parser.parseDBMLToJSONv2(str, this.dbmlCompiler); | ||
rawDatabase = Parser.parseDBMLToJSONv2(str, this.DBMLCompiler); | ||
break; | ||
@@ -56,0 +56,0 @@ case 'schemarb': |
{ | ||
"name": "@dbml/core", | ||
"version": "3.7.2", | ||
"version": "3.7.3", | ||
"description": "> TODO: description", | ||
@@ -35,4 +35,3 @@ "author": "Holistics <dev@holistics.io>", | ||
"dependencies": { | ||
"@dbml/parse": "^3.7.2", | ||
"@tediousjs/connection-string": "^0.5.0", | ||
"@dbml/parse": "^3.7.3", | ||
"antlr4": "^4.13.1", | ||
@@ -64,3 +63,3 @@ "lodash": "^4.17.15", | ||
}, | ||
"gitHead": "b616bcee47dbf0ffc924d10daa0b5836de002fc1", | ||
"gitHead": "b9e7ed2421f83872b3319510155225a228d3e75e", | ||
"engines": { | ||
@@ -67,0 +66,0 @@ "node": ">=16" |
# @dbml/core | ||
See our website [@dbml/core](https://dbml.dbdiagram.io/js-module/#core) for more information | ||
See our website [@dbml/core](https://dbml.dbdiagram.io/js-module/core) for more information | ||
## Installation | ||
```shell | ||
```bash | ||
npm install @dbml/core | ||
@@ -11,2 +12,2 @@ | ||
yarn add @dbml/core | ||
``` | ||
``` |
declare function _import(str: string, format: 'dbml' | 'mysql' | 'postgres' | 'json' | 'mssql' | 'postgresLegacy'): string; | ||
declare function generateDbml(schemaJson: string): string; | ||
/** | ||
* @param {any} schemaJson | ||
* @description Type of schemaJson is `DatabaseSchema`. | ||
* The type definition of `DatabaseSchema` object can be found [here](https://github.com/holistics/dbml/blob/a4dcb110f1d79f5d95b0d3db4b919914439e039d/packages/dbml-connector/src/connectors/types.ts#L89) | ||
*/ | ||
declare function generateDbml(schemaJson: any): string; | ||
declare const _default: { | ||
@@ -4,0 +10,0 @@ import: typeof _import; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13703415
5
49039
13
- Removed@tediousjs/connection-string@^0.5.0
- Removed@tediousjs/connection-string@0.5.0(transitive)
Updated@dbml/parse@^3.7.3