@dbml/core
Advanced tools
Comparing version 3.7.3 to 3.7.4
@@ -39,2 +39,3 @@ "use strict"; | ||
note = _ref.note, | ||
color = _ref.color, | ||
_ref$noteToken = _ref.noteToken, | ||
@@ -50,2 +51,3 @@ noteToken = _ref$noteToken === void 0 ? null : _ref$noteToken; | ||
_this.noteToken = note ? (0, _lodash.get)(note, 'token', noteToken) : null; | ||
_this.color = color; | ||
_this.generateId(); | ||
@@ -129,3 +131,4 @@ _this.processTables(tables); | ||
name: this.name, | ||
note: this.note | ||
note: this.note, | ||
color: this.color | ||
}; | ||
@@ -132,0 +135,0 @@ } |
{ | ||
"name": "@dbml/core", | ||
"version": "3.7.3", | ||
"version": "3.7.4", | ||
"description": "> TODO: description", | ||
@@ -35,3 +35,3 @@ "author": "Holistics <dev@holistics.io>", | ||
"dependencies": { | ||
"@dbml/parse": "^3.7.3", | ||
"@dbml/parse": "^3.7.4", | ||
"antlr4": "^4.13.1", | ||
@@ -63,3 +63,3 @@ "lodash": "^4.17.15", | ||
}, | ||
"gitHead": "b9e7ed2421f83872b3319510155225a228d3e75e", | ||
"gitHead": "316fd7ce4039ce9b622c30fbb2d03ab2198bd7eb", | ||
"engines": { | ||
@@ -66,0 +66,0 @@ "node": ">=16" |
@@ -13,2 +13,3 @@ import { NormalizedDatabase } from './database'; | ||
note: RawNote; | ||
color: string; | ||
} | ||
@@ -24,4 +25,3 @@ | ||
noteToken: Token; | ||
constructor({ name, token, tables, schema, note }: RawTableGroup | ||
); | ||
constructor({ name, token, tables, schema, note, color }: RawTableGroup); | ||
generateId(): void; | ||
@@ -38,2 +38,3 @@ processTables(rawTables: any): void; | ||
note: string; | ||
color: string; | ||
}; | ||
@@ -55,2 +56,3 @@ exportChild(): { | ||
note: string; | ||
color: string; | ||
}; | ||
@@ -66,4 +68,5 @@ normalize(model: NormalizedDatabase): void; | ||
note: string; | ||
color: string; | ||
}; | ||
} | ||
export default TableGroup; |
13703585
49045
Updated@dbml/parse@^3.7.4