@dbml/core 9.0.0-optional-ref.7 → 10.0.0-optional-ref.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/lib/index.cjs +2 -2
- package/lib/index.mjs +10 -10
- package/package.json +3 -3
package/lib/index.mjs
CHANGED
|
@@ -4809,7 +4809,7 @@ function kp(e) {
|
|
|
4809
4809
|
//#region src/model_structure/config.js
|
|
4810
4810
|
var Ap = "public", tte = "table", nte = "note", rte = "enum", ite = "table_group";
|
|
4811
4811
|
//#endregion
|
|
4812
|
-
//#region src/export/utils.
|
|
4812
|
+
//#region src/export/utils.ts
|
|
4813
4813
|
function ate(e) {
|
|
4814
4814
|
return /\s/g.test(e);
|
|
4815
4815
|
}
|
|
@@ -1799298,7 +1799298,7 @@ var GAe = { REF: "ref" }, KAe = { TABLE: "table" }, X7 = (e, t, n) => {
|
|
|
1799298
1799298
|
};
|
|
1799299
1799299
|
}
|
|
1799300
1799300
|
if (e.REFERENCES()) {
|
|
1799301
|
-
let
|
|
1799301
|
+
let n = e.qualified_name().accept(this), i = Lc(n), a = n.length > 1 ? n[n.length - 2] : void 0, o = e.column_list_()?.accept(this)?.map((e) => e.value), s = e.key_actions(), c = s ? s.accept(this) : {
|
|
1799302
1799302
|
onDelete: null,
|
|
1799303
1799303
|
onUpdate: null
|
|
1799304
1799304
|
};
|
|
@@ -1799309,15 +1799309,15 @@ var GAe = { REF: "ref" }, KAe = { TABLE: "table" }, X7 = (e, t, n) => {
|
|
|
1799309
1799309
|
tableName: null,
|
|
1799310
1799310
|
schemaName: null,
|
|
1799311
1799311
|
fieldNames: null,
|
|
1799312
|
-
relation:
|
|
1799312
|
+
relation: t
|
|
1799313
1799313
|
}, {
|
|
1799314
|
-
tableName:
|
|
1799315
|
-
schemaName:
|
|
1799316
|
-
fieldNames:
|
|
1799317
|
-
relation:
|
|
1799314
|
+
tableName: i,
|
|
1799315
|
+
schemaName: a,
|
|
1799316
|
+
fieldNames: o,
|
|
1799317
|
+
relation: r
|
|
1799318
1799318
|
}],
|
|
1799319
|
-
onDelete:
|
|
1799320
|
-
onUpdate:
|
|
1799319
|
+
onDelete: c.onDelete,
|
|
1799320
|
+
onUpdate: c.onUpdate
|
|
1799321
1799321
|
}
|
|
1799322
1799322
|
};
|
|
1799323
1799323
|
}
|
|
@@ -1811307,7 +1811307,7 @@ function tFe(e) {
|
|
|
1811307
1811307
|
}
|
|
1811308
1811308
|
//#endregion
|
|
1811309
1811309
|
//#region src/utils/version.ts
|
|
1811310
|
-
var nFe = "
|
|
1811310
|
+
var nFe = "10.0.0-optional-ref.0";
|
|
1811311
1811311
|
//#endregion
|
|
1811312
1811312
|
//#region src/transform/relations.ts
|
|
1811313
1811313
|
function rFe(e, n) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@dbml/core",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "10.0.0-optional-ref.0",
|
|
5
5
|
"description": "> TODO: description",
|
|
6
6
|
"author": "Holistics <dev@holistics.io>",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"lint:fix": "eslint --fix ."
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@dbml/parse": "^
|
|
49
|
+
"@dbml/parse": "^10.0.0-optional-ref.0",
|
|
50
50
|
"antlr4": "^4.13.1",
|
|
51
51
|
"lodash": "^4.18.1",
|
|
52
52
|
"lodash-es": "^4.18.1",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"bluebird": "^3.5.5"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "b8daf0503d91ec322d427ab1f5e71a8a7f2ca12f",
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=16"
|
|
63
63
|
}
|