@dbml/core 3.9.1 → 3.9.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/lib/export/DbmlExporter.js +54 -42
- package/lib/export/JsonExporter.js +0 -0
- package/lib/export/ModelExporter.js +0 -0
- package/lib/export/MysqlExporter.js +0 -0
- package/lib/export/OracleExporter.js +0 -0
- package/lib/export/PostgresExporter.js +0 -0
- package/lib/export/README.md +0 -0
- package/lib/export/SqlServerExporter.js +0 -0
- package/lib/export/index.js +0 -0
- package/lib/export/utils.js +0 -0
- package/lib/import/index.js +0 -0
- package/lib/index.js +0 -0
- package/lib/model_structure/config.js +0 -0
- package/lib/model_structure/database.js +0 -0
- package/lib/model_structure/dbState.js +0 -0
- package/lib/model_structure/element.js +0 -0
- package/lib/model_structure/endpoint.js +0 -0
- package/lib/model_structure/enum.js +0 -0
- package/lib/model_structure/enumValue.js +0 -0
- package/lib/model_structure/field.js +0 -0
- package/lib/model_structure/indexColumn.js +0 -0
- package/lib/model_structure/indexes.js +0 -0
- package/lib/model_structure/ref.js +0 -0
- package/lib/model_structure/schema.js +0 -0
- package/lib/model_structure/stickyNote.js +0 -0
- package/lib/model_structure/table.js +0 -0
- package/lib/model_structure/tableGroup.js +0 -0
- package/lib/model_structure/utils.js +0 -0
- package/lib/parse/ANTLR/ASTGeneration/AST.js +0 -0
- package/lib/parse/ANTLR/ASTGeneration/ParserErrorListener.js +0 -0
- package/lib/parse/ANTLR/ASTGeneration/SyntaxError.js +0 -0
- package/lib/parse/ANTLR/ASTGeneration/constants.js +0 -0
- package/lib/parse/ANTLR/ASTGeneration/helpers.js +0 -0
- package/lib/parse/ANTLR/ASTGeneration/index.js +0 -0
- package/lib/parse/ANTLR/ASTGeneration/mysql/MySQLASTGen.js +0 -0
- package/lib/parse/ANTLR/ASTGeneration/postgres/PostgreSQLLexerBase.js +0 -0
- package/lib/parse/ANTLR/ASTGeneration/postgres/PostgreSQLParserBase.js +0 -0
- package/lib/parse/ANTLR/ASTGeneration/postgres/PostgresASTGen.js +0 -0
- package/lib/parse/ANTLR/ASTGeneration/snowflake/SnowflakeASTGen.js +0 -0
- package/lib/parse/ANTLR/README.md +0 -0
- package/lib/parse/ANTLR/parsers/mysql/MySqlLexer.g4 +0 -0
- package/lib/parse/ANTLR/parsers/mysql/MySqlLexer.interp +0 -0
- package/lib/parse/ANTLR/parsers/mysql/MySqlLexer.js +0 -0
- package/lib/parse/ANTLR/parsers/mysql/MySqlLexer.tokens +0 -0
- package/lib/parse/ANTLR/parsers/mysql/MySqlParser.g4 +0 -0
- package/lib/parse/ANTLR/parsers/mysql/MySqlParser.interp +0 -0
- package/lib/parse/ANTLR/parsers/mysql/MySqlParser.js +0 -0
- package/lib/parse/ANTLR/parsers/mysql/MySqlParser.tokens +0 -0
- package/lib/parse/ANTLR/parsers/mysql/MySqlParserVisitor.js +0 -0
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLLexer.g4 +0 -0
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLLexer.interp +0 -0
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLLexer.js +0 -0
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLLexer.tokens +0 -0
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLParser.g4 +0 -0
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLParser.interp +0 -0
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLParser.js +0 -0
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLParser.tokens +0 -0
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLParserVisitor.js +0 -0
- package/lib/parse/ANTLR/parsers/postgresql/README.md +0 -0
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeLexer.g4 +0 -0
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeLexer.interp +0 -0
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeLexer.js +0 -0
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeLexer.tokens +0 -0
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeParser.g4 +0 -0
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeParser.interp +0 -0
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeParser.js +0 -0
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeParser.tokens +0 -0
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeParserVisitor.js +0 -0
- package/lib/parse/Parser.js +0 -0
- package/lib/parse/buildParser.js +0 -0
- package/lib/parse/databaseGenerator.js +0 -0
- package/lib/parse/dbml/parser.pegjs +0 -0
- package/lib/parse/dbmlParser.js +0 -0
- package/lib/parse/error.js +0 -0
- package/lib/parse/mssql/base_parsers.js +0 -0
- package/lib/parse/mssql/column_definition/actions.js +0 -0
- package/lib/parse/mssql/column_definition/index.js +0 -0
- package/lib/parse/mssql/constraint_definition/actions.js +0 -0
- package/lib/parse/mssql/constraint_definition/index.js +0 -0
- package/lib/parse/mssql/expression.js +0 -0
- package/lib/parse/mssql/fk_definition/actions.js +0 -0
- package/lib/parse/mssql/fk_definition/index.js +0 -0
- package/lib/parse/mssql/index.js +0 -0
- package/lib/parse/mssql/index_definition/actions.js +0 -0
- package/lib/parse/mssql/index_definition/index.js +0 -0
- package/lib/parse/mssql/keyword_parsers.js +0 -0
- package/lib/parse/mssql/keyword_utils.js +0 -0
- package/lib/parse/mssql/statements/actions.js +0 -0
- package/lib/parse/mssql/statements/index.js +0 -0
- package/lib/parse/mssql/statements/statement_types/alter_table/actions.js +0 -0
- package/lib/parse/mssql/statements/statement_types/alter_table/add/actions.js +0 -0
- package/lib/parse/mssql/statements/statement_types/alter_table/add/index.js +0 -0
- package/lib/parse/mssql/statements/statement_types/alter_table/index.js +0 -0
- package/lib/parse/mssql/statements/statement_types/comments/actions.js +0 -0
- package/lib/parse/mssql/statements/statement_types/comments/index.js +0 -0
- package/lib/parse/mssql/statements/statement_types/create_index/actions.js +0 -0
- package/lib/parse/mssql/statements/statement_types/create_index/index.js +0 -0
- package/lib/parse/mssql/statements/statement_types/create_table/actions.js +0 -0
- package/lib/parse/mssql/statements/statement_types/create_table/index.js +0 -0
- package/lib/parse/mssql/statements/statement_types/index.js +0 -0
- package/lib/parse/mssql/utils.js +0 -0
- package/lib/parse/mssql/whitespaces.js +0 -0
- package/lib/parse/mssqlParser.js +0 -0
- package/lib/parse/mysql/parser.pegjs +0 -0
- package/lib/parse/mysqlParser.js +0 -0
- package/lib/parse/postgresParser.js +0 -0
- package/lib/parse/postgresql/Base_rules.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Alter_table/Alter_table.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Commands.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Comment.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Create_index.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Create_table/Create_table.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Create_table/Create_table_normal.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Create_table/Create_table_of.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Create_table/Create_table_partition_of.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Create_type/Create_type.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Create_type/Create_type_enum.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Create_type/Create_type_range.pegjs +0 -0
- package/lib/parse/postgresql/Commands/Ignore_syntax.pegjs +0 -0
- package/lib/parse/postgresql/Expression.pegjs +0 -0
- package/lib/parse/postgresql/InitializerUtils.pegjs +0 -0
- package/lib/parse/postgresql/Keywords.pegjs +0 -0
- package/lib/parse/postgresql/get_parser.js +0 -0
- package/lib/parse/postgresql/parser.pegjs +0 -0
- package/lib/parse/schemarb/parser.pegjs +0 -0
- package/lib/parse/schemarbParser.js +0 -0
- package/lib/utils/version.js +0 -0
- package/package.json +3 -3
- package/types/export/ModelExporter.d.ts +0 -0
- package/types/export/index.d.ts +0 -0
- package/types/import/index.d.ts +0 -0
- package/types/index.d.ts +0 -0
- package/types/model_structure/database.d.ts +0 -0
- package/types/model_structure/dbState.d.ts +0 -0
- package/types/model_structure/element.d.ts +0 -0
- package/types/model_structure/endpoint.d.ts +0 -0
- package/types/model_structure/enum.d.ts +0 -0
- package/types/model_structure/enumValue.d.ts +0 -0
- package/types/model_structure/field.d.ts +0 -0
- package/types/model_structure/indexColumn.d.ts +0 -0
- package/types/model_structure/indexes.d.ts +0 -0
- package/types/model_structure/ref.d.ts +0 -0
- package/types/model_structure/schema.d.ts +0 -0
- package/types/model_structure/stickyNote.d.ts +0 -0
- package/types/model_structure/table.d.ts +0 -0
- package/types/model_structure/tableGroup.d.ts +0 -0
- package/types/parse/Parser.d.ts +0 -0
- package/types/parse/error.d.ts +0 -0
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
|
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
var _lodash =
|
|
7
|
+
var _lodash = require("lodash");
|
|
8
8
|
var _utils = require("./utils");
|
|
9
9
|
var _config = require("../model_structure/config");
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
10
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
12
11
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13
12
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
@@ -186,23 +185,26 @@ var DbmlExporter = /*#__PURE__*/function () {
|
|
|
186
185
|
}, {
|
|
187
186
|
key: "exportTables",
|
|
188
187
|
value: function exportTables(tableIds, model) {
|
|
189
|
-
var _this = this;
|
|
190
188
|
var tableContentArr = DbmlExporter.getTableContentArr(tableIds, model);
|
|
191
189
|
var tableStrs = tableContentArr.map(function (tableContent) {
|
|
192
190
|
var table = model.tables[tableContent.tableId];
|
|
193
191
|
var schema = model.schemas[table.schemaId];
|
|
194
|
-
var tableSettingStr =
|
|
192
|
+
var tableSettingStr = DbmlExporter.getTableSettings(table);
|
|
193
|
+
// Include schema name if needed
|
|
194
|
+
var tableName = "\"".concat(table.name, "\"");
|
|
195
|
+
if ((0, _utils.shouldPrintSchema)(schema, model)) tableName = "\"".concat(schema.name, "\".\"").concat(table.name, "\"");
|
|
196
|
+
var fieldStr = tableContent.fieldContents.map(function (field) {
|
|
197
|
+
return " ".concat(field, "\n");
|
|
198
|
+
}).join('');
|
|
195
199
|
var indexStr = '';
|
|
196
|
-
if (!_lodash
|
|
197
|
-
|
|
198
|
-
return " ".concat(indexLine);
|
|
199
|
-
}).join('
|
|
200
|
+
if (!(0, _lodash.isEmpty)(tableContent.indexContents)) {
|
|
201
|
+
var indexBody = tableContent.indexContents.map(function (indexLine) {
|
|
202
|
+
return " ".concat(indexLine, "\n");
|
|
203
|
+
}).join('');
|
|
204
|
+
indexStr = "\n Indexes {\n".concat(indexBody, " }\n");
|
|
200
205
|
}
|
|
201
|
-
var
|
|
202
|
-
|
|
203
|
-
return " ".concat(line);
|
|
204
|
-
}).join('\n'), "\n").concat(indexStr ? "".concat(indexStr, "\n") : '').concat(tableNote, "}\n");
|
|
205
|
-
return tableStr;
|
|
206
|
+
var noteStr = table.note ? " Note: ".concat(DbmlExporter.escapeNote(table.note), "\n") : '';
|
|
207
|
+
return "Table ".concat(tableName).concat(tableSettingStr, " {\n").concat(fieldStr).concat(indexStr).concat(noteStr, "}\n");
|
|
206
208
|
});
|
|
207
209
|
return tableStrs.length ? tableStrs.join('\n') : '';
|
|
208
210
|
}
|
|
@@ -217,7 +219,7 @@ var DbmlExporter = /*#__PURE__*/function () {
|
|
|
217
219
|
}, {
|
|
218
220
|
key: "exportRefs",
|
|
219
221
|
value: function exportRefs(refIds, model) {
|
|
220
|
-
var
|
|
222
|
+
var _this = this;
|
|
221
223
|
var strArr = refIds.map(function (refId) {
|
|
222
224
|
var ref = model.refs[refId];
|
|
223
225
|
var oneRelationEndpointIndex = ref.endpointIds.findIndex(function (endpointId) {
|
|
@@ -233,7 +235,7 @@ var DbmlExporter = /*#__PURE__*/function () {
|
|
|
233
235
|
var refEndpointField = model.fields[refEndpoint.fieldIds[0]];
|
|
234
236
|
var refEndpointTable = model.tables[refEndpointField.tableId];
|
|
235
237
|
var refEndpointSchema = model.schemas[refEndpointTable.schemaId];
|
|
236
|
-
var refEndpointFieldName =
|
|
238
|
+
var refEndpointFieldName = _this.buildFieldName(refEndpoint.fieldIds, model, 'dbml');
|
|
237
239
|
if (ref.name) {
|
|
238
240
|
line += " ".concat((0, _utils.shouldPrintSchema)(model.schemas[ref.schemaId], model) ? "\"".concat(model.schemas[ref.schemaId].name, "\".") : '', "\"").concat(ref.name, "\"");
|
|
239
241
|
}
|
|
@@ -242,7 +244,7 @@ var DbmlExporter = /*#__PURE__*/function () {
|
|
|
242
244
|
var foreignEndpointField = model.fields[foreignEndpoint.fieldIds[0]];
|
|
243
245
|
var foreignEndpointTable = model.tables[foreignEndpointField.tableId];
|
|
244
246
|
var foreignEndpointSchema = model.schemas[foreignEndpointTable.schemaId];
|
|
245
|
-
var foreignEndpointFieldName =
|
|
247
|
+
var foreignEndpointFieldName = _this.buildFieldName(foreignEndpoint.fieldIds, model, 'dbml');
|
|
246
248
|
if (isManyToMany) line += '<> ';else if (foreignEndpoint.relation === '1') line += '- ';else line += '< ';
|
|
247
249
|
line += "".concat((0, _utils.shouldPrintSchema)(foreignEndpointSchema, model) ? "\"".concat(foreignEndpointSchema.name, "\".") : '', "\"").concat(foreignEndpointTable.name, "\".").concat(foreignEndpointFieldName);
|
|
248
250
|
var refActions = [];
|
|
@@ -260,25 +262,48 @@ var DbmlExporter = /*#__PURE__*/function () {
|
|
|
260
262
|
});
|
|
261
263
|
return strArr.length ? strArr.join('\n') : '';
|
|
262
264
|
}
|
|
265
|
+
}, {
|
|
266
|
+
key: "getTableGroupSettings",
|
|
267
|
+
value: function getTableGroupSettings(tableGroup) {
|
|
268
|
+
var settings = [];
|
|
269
|
+
if (tableGroup.color) settings.push("color: ".concat(tableGroup.color));
|
|
270
|
+
return settings.length ? " [".concat(settings.join(', '), "]") : '';
|
|
271
|
+
}
|
|
263
272
|
}, {
|
|
264
273
|
key: "exportTableGroups",
|
|
265
274
|
value: function exportTableGroups(tableGroupIds, model) {
|
|
266
275
|
var tableGroupStrs = tableGroupIds.map(function (groupId) {
|
|
267
276
|
var group = model.tableGroups[groupId];
|
|
268
277
|
var groupSchema = model.schemas[group.schemaId];
|
|
269
|
-
|
|
278
|
+
var groupSettingStr = DbmlExporter.getTableGroupSettings(group);
|
|
279
|
+
var groupNote = group.note ? " Note: ".concat(DbmlExporter.escapeNote(group.note), "\n") : '';
|
|
280
|
+
var groupSchemaName = (0, _utils.shouldPrintSchema)(groupSchema, model) ? "\"".concat(groupSchema.name, "\".") : '';
|
|
281
|
+
var groupName = "".concat(groupSchemaName, "\"").concat(group.name, "\"");
|
|
282
|
+
var tableNames = group.tableIds.reduce(function (result, tableId) {
|
|
270
283
|
var table = model.tables[tableId];
|
|
271
284
|
var tableSchema = model.schemas[table.schemaId];
|
|
272
|
-
|
|
273
|
-
|
|
285
|
+
var tableName = " ".concat((0, _utils.shouldPrintSchema)(tableSchema, model) ? "\"".concat(tableSchema.name, "\".") : '', "\"").concat(table.name, "\"");
|
|
286
|
+
return result + "".concat(tableName, "\n");
|
|
287
|
+
}, '');
|
|
288
|
+
return "TableGroup ".concat(groupName).concat(groupSettingStr, " {\n").concat(tableNames).concat(groupNote, "}\n");
|
|
274
289
|
});
|
|
275
290
|
return tableGroupStrs.length ? tableGroupStrs.join('\n') : '';
|
|
276
291
|
}
|
|
292
|
+
}, {
|
|
293
|
+
key: "exportStickyNotes",
|
|
294
|
+
value: function exportStickyNotes(model) {
|
|
295
|
+
return (0, _lodash.reduce)(model.notes, function (result, note) {
|
|
296
|
+
var escapedContent = " ".concat(DbmlExporter.escapeNote(note.content));
|
|
297
|
+
var stickyNote = "Note ".concat(note.name, " {\n").concat(escapedContent, "\n}\n");
|
|
298
|
+
|
|
299
|
+
// Add a blank line between note elements
|
|
300
|
+
return result ? result + '\n' + stickyNote : stickyNote;
|
|
301
|
+
}, '');
|
|
302
|
+
}
|
|
277
303
|
}, {
|
|
278
304
|
key: "export",
|
|
279
305
|
value: function _export(model) {
|
|
280
|
-
var
|
|
281
|
-
var hasBlockAbove = false;
|
|
306
|
+
var elementStrs = [];
|
|
282
307
|
var database = model.database['1'];
|
|
283
308
|
database.schemaIds.forEach(function (schemaId) {
|
|
284
309
|
var _model$schemas$schema = model.schemas[schemaId],
|
|
@@ -286,28 +311,15 @@ var DbmlExporter = /*#__PURE__*/function () {
|
|
|
286
311
|
tableIds = _model$schemas$schema.tableIds,
|
|
287
312
|
tableGroupIds = _model$schemas$schema.tableGroupIds,
|
|
288
313
|
refIds = _model$schemas$schema.refIds;
|
|
289
|
-
if (!_lodash
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
}
|
|
294
|
-
if (!_lodash["default"].isEmpty(tableIds)) {
|
|
295
|
-
if (hasBlockAbove) res += '\n';
|
|
296
|
-
res += DbmlExporter.exportTables(tableIds, model);
|
|
297
|
-
hasBlockAbove = true;
|
|
298
|
-
}
|
|
299
|
-
if (!_lodash["default"].isEmpty(tableGroupIds)) {
|
|
300
|
-
if (hasBlockAbove) res += '\n';
|
|
301
|
-
res += DbmlExporter.exportTableGroups(tableGroupIds, model);
|
|
302
|
-
hasBlockAbove = true;
|
|
303
|
-
}
|
|
304
|
-
if (!_lodash["default"].isEmpty(refIds)) {
|
|
305
|
-
if (hasBlockAbove) res += '\n';
|
|
306
|
-
res += DbmlExporter.exportRefs(refIds, model);
|
|
307
|
-
hasBlockAbove = true;
|
|
308
|
-
}
|
|
314
|
+
if (!(0, _lodash.isEmpty)(enumIds)) elementStrs.push(DbmlExporter.exportEnums(enumIds, model));
|
|
315
|
+
if (!(0, _lodash.isEmpty)(tableIds)) elementStrs.push(DbmlExporter.exportTables(tableIds, model));
|
|
316
|
+
if (!(0, _lodash.isEmpty)(tableGroupIds)) elementStrs.push(DbmlExporter.exportTableGroups(tableGroupIds, model));
|
|
317
|
+
if (!(0, _lodash.isEmpty)(refIds)) elementStrs.push(DbmlExporter.exportRefs(refIds, model));
|
|
309
318
|
});
|
|
310
|
-
|
|
319
|
+
if (!(0, _lodash.isEmpty)(model.notes)) elementStrs.push(DbmlExporter.exportStickyNotes(model));
|
|
320
|
+
|
|
321
|
+
// all elements already end with 1 '\n', so join('\n') to separate them with 1 blank line
|
|
322
|
+
return elementStrs.join('\n');
|
|
311
323
|
}
|
|
312
324
|
}]);
|
|
313
325
|
return DbmlExporter;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/export/README.md
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/export/index.js
CHANGED
|
File without changes
|
package/lib/export/utils.js
CHANGED
|
File without changes
|
package/lib/import/index.js
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/parse/Parser.js
CHANGED
|
File without changes
|
package/lib/parse/buildParser.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/parse/dbmlParser.js
CHANGED
|
File without changes
|
package/lib/parse/error.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/parse/mssql/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/parse/mssql/utils.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/parse/mssqlParser.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/parse/mysqlParser.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/utils/version.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbml/core",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.2-alpha.0",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "Holistics <dev@holistics.io>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"prepublish": "npm run build"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@dbml/parse": "^3.9.
|
|
35
|
+
"@dbml/parse": "^3.9.2-alpha.0",
|
|
36
36
|
"antlr4": "^4.13.1",
|
|
37
37
|
"lodash": "^4.17.15",
|
|
38
38
|
"parsimmon": "^1.13.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"\\.(?!json$)[^.]*$": "@glen/jest-raw-loader"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "269532f01f0475328ef08c72ec2ca901a91b0846",
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=16"
|
|
65
65
|
}
|
|
File without changes
|
package/types/export/index.d.ts
CHANGED
|
File without changes
|
package/types/import/index.d.ts
CHANGED
|
File without changes
|
package/types/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/types/parse/Parser.d.ts
CHANGED
|
File without changes
|
package/types/parse/error.d.ts
CHANGED
|
File without changes
|