@dbml/core 11.0.2-arch.0.0 → 11.0.2-arch.0.3
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("./_virtual/_rolldown/runtime.cjs");const e=require("./parse/error.cjs"),t=require("./parse/Parser.cjs"),n=require("./export/index.cjs"),r=require("./export/ModelExporter.cjs"),i=require("./import/index.cjs"),a=require("./transform/index.cjs"),o=require("./utils/version.cjs"),s=require("./transform/relations.cjs");let c=require("@dbml/parse");Object.defineProperty(exports,"
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("./_virtual/_rolldown/runtime.cjs");const e=require("./parse/error.cjs"),t=require("./parse/Parser.cjs"),n=require("./export/index.cjs"),r=require("./export/ModelExporter.cjs"),i=require("./import/index.cjs"),a=require("./transform/index.cjs"),o=require("./utils/version.cjs"),s=require("./transform/relations.cjs");let c=require("@dbml/parse");Object.defineProperty(exports,"ARCH_BUILTIN_ROLES",{enumerable:!0,get:function(){return c.ARCH_BUILTIN_ROLES}}),Object.defineProperty(exports,"ARCH_NAME_PRECEDENCE",{enumerable:!0,get:function(){return c.ARCH_NAME_PRECEDENCE}}),Object.defineProperty(exports,"CARDINALITY_MANY",{enumerable:!0,get:function(){return c.CARDINALITY_MANY}}),Object.defineProperty(exports,"CARDINALITY_MAYBE",{enumerable:!0,get:function(){return c.CARDINALITY_MAYBE}}),Object.defineProperty(exports,"CARDINALITY_ONE",{enumerable:!0,get:function(){return c.CARDINALITY_ONE}}),Object.defineProperty(exports,"CARDINALITY_SOME",{enumerable:!0,get:function(){return c.CARDINALITY_SOME}}),Object.defineProperty(exports,"CompileError",{enumerable:!0,get:function(){return c.CompileError}}),Object.defineProperty(exports,"CompileErrorCode",{enumerable:!0,get:function(){return c.CompileErrorCode}}),Object.defineProperty(exports,"CompileInfo",{enumerable:!0,get:function(){return c.CompileInfo}}),Object.defineProperty(exports,"CompileWarning",{enumerable:!0,get:function(){return c.CompileWarning}}),exports.CompilerDiagnostics=e.CompilerDiagnostics,Object.defineProperty(exports,"DEFAULT_ENTRY",{enumerable:!0,get:function(){return c.DEFAULT_ENTRY}}),Object.defineProperty(exports,"Filepath",{enumerable:!0,get:function(){return c.Filepath}}),Object.defineProperty(exports,"MetadataKind",{enumerable:!0,get:function(){return c.MetadataKind}}),exports.ModelExporter=r.default,exports.Parser=t.default,Object.defineProperty(exports,"SymbolKind",{enumerable:!0,get:function(){return c.SymbolKind}}),exports.VERSION=o.VERSION,Object.defineProperty(exports,"addDoubleQuoteIfNeeded",{enumerable:!0,get:function(){return c.addDoubleQuoteIfNeeded}}),Object.defineProperty(exports,"applyTextEdits",{enumerable:!0,get:function(){return c.applyTextEdits}}),Object.defineProperty(exports,"dbmlMonarchTokensProvider",{enumerable:!0,get:function(){return c.dbmlMonarchTokensProvider}}),exports.exporter=n.default,Object.defineProperty(exports,"findDiagramViewBlocks",{enumerable:!0,get:function(){return c.findDiagramViewBlocks}}),Object.defineProperty(exports,"formatTypedValue",{enumerable:!0,get:function(){return c.formatTypedValue}}),Object.defineProperty(exports,"fullName",{enumerable:!0,get:function(){return c.fullName}}),Object.defineProperty(exports,"getMultiplicities",{enumerable:!0,get:function(){return c.getMultiplicities}}),Object.defineProperty(exports,"getRelationshipOp",{enumerable:!0,get:function(){return c.getRelationshipOp}}),exports.importer=i.default,exports.inferMultiplicitiesFromColumns=s.inferMultiplicitiesFromColumns,Object.defineProperty(exports,"isBinaryType",{enumerable:!0,get:function(){return c.isBinaryType}}),Object.defineProperty(exports,"isBooleanType",{enumerable:!0,get:function(){return c.isBooleanType}}),Object.defineProperty(exports,"isDateTimeType",{enumerable:!0,get:function(){return c.isDateTimeType}}),Object.defineProperty(exports,"isEndpointManySide",{enumerable:!0,get:function(){return c.isEndpointManySide}}),Object.defineProperty(exports,"isEndpointOneSide",{enumerable:!0,get:function(){return c.isEndpointOneSide}}),Object.defineProperty(exports,"isEndpointOptional",{enumerable:!0,get:function(){return c.isEndpointOptional}}),Object.defineProperty(exports,"isEndpointRequired",{enumerable:!0,get:function(){return c.isEndpointRequired}}),Object.defineProperty(exports,"isFloatType",{enumerable:!0,get:function(){return c.isFloatType}}),Object.defineProperty(exports,"isIntegerType",{enumerable:!0,get:function(){return c.isIntegerType}}),Object.defineProperty(exports,"isNumericType",{enumerable:!0,get:function(){return c.isNumericType}}),Object.defineProperty(exports,"isSerialType",{enumerable:!0,get:function(){return c.isSerialType}}),Object.defineProperty(exports,"isStringType",{enumerable:!0,get:function(){return c.isStringType}}),Object.defineProperty(exports,"makeRelationshipRequired",{enumerable:!0,get:function(){return c.makeRelationshipRequired}}),exports.renameElement=a.renameElement,exports.renameTable=a.renameTable,exports.syncDep=a.syncDep,exports.syncDiagramView=a.syncDiagramView,Object.defineProperty(exports,"syncElementMetadata",{enumerable:!0,get:function(){return c.syncElementMetadata}}),Object.defineProperty(exports,"tryExtractBoolean",{enumerable:!0,get:function(){return c.tryExtractBoolean}}),Object.defineProperty(exports,"tryExtractDateTime",{enumerable:!0,get:function(){return c.tryExtractDateTime}}),Object.defineProperty(exports,"tryExtractEnum",{enumerable:!0,get:function(){return c.tryExtractEnum}}),Object.defineProperty(exports,"tryExtractInteger",{enumerable:!0,get:function(){return c.tryExtractInteger}}),Object.defineProperty(exports,"tryExtractNumeric",{enumerable:!0,get:function(){return c.tryExtractNumeric}}),Object.defineProperty(exports,"tryExtractString",{enumerable:!0,get:function(){return c.tryExtractString}}),exports.updateElementSetting=a.updateElementSetting,exports.updateElementSettingEdit=a.updateElementSettingEdit;
|
package/lib/index.mjs
CHANGED
|
@@ -6,5 +6,5 @@ import i from "./import/index.mjs";
|
|
|
6
6
|
import { findDiagramViewBlocks as a, renameElement as o, renameTable as s, syncDep as c, syncDiagramView as l, updateElementSetting as u, updateElementSettingEdit as d } from "./transform/index.mjs";
|
|
7
7
|
import { VERSION as f } from "./utils/version.mjs";
|
|
8
8
|
import { inferMultiplicitiesFromColumns as p } from "./transform/relations.mjs";
|
|
9
|
-
import {
|
|
10
|
-
export { m as
|
|
9
|
+
import { ARCH_BUILTIN_ROLES as m, ARCH_NAME_PRECEDENCE as h, CARDINALITY_MANY as g, CARDINALITY_MAYBE as _, CARDINALITY_ONE as v, CARDINALITY_SOME as y, CompileError as b, CompileErrorCode as x, CompileInfo as S, CompileWarning as C, DEFAULT_ENTRY as w, Filepath as T, MetadataKind as E, SymbolKind as D, addDoubleQuoteIfNeeded as O, applyTextEdits as k, dbmlMonarchTokensProvider as A, formatTypedValue as j, fullName as M, getMultiplicities as N, getRelationshipOp as P, isBinaryType as F, isBooleanType as I, isDateTimeType as L, isEndpointManySide as R, isEndpointOneSide as z, isEndpointOptional as B, isEndpointRequired as V, isFloatType as H, isIntegerType as U, isNumericType as W, isSerialType as G, isStringType as K, makeRelationshipRequired as q, syncElementMetadata as J, tryExtractBoolean as Y, tryExtractDateTime as X, tryExtractEnum as Z, tryExtractInteger as Q, tryExtractNumeric as $, tryExtractString as ee } from "@dbml/parse";
|
|
10
|
+
export { m as ARCH_BUILTIN_ROLES, h as ARCH_NAME_PRECEDENCE, g as CARDINALITY_MANY, _ as CARDINALITY_MAYBE, v as CARDINALITY_ONE, y as CARDINALITY_SOME, b as CompileError, x as CompileErrorCode, S as CompileInfo, C as CompileWarning, e as CompilerDiagnostics, w as DEFAULT_ENTRY, T as Filepath, E as MetadataKind, r as ModelExporter, t as Parser, D as SymbolKind, f as VERSION, O as addDoubleQuoteIfNeeded, k as applyTextEdits, A as dbmlMonarchTokensProvider, n as exporter, a as findDiagramViewBlocks, j as formatTypedValue, M as fullName, N as getMultiplicities, P as getRelationshipOp, i as importer, p as inferMultiplicitiesFromColumns, F as isBinaryType, I as isBooleanType, L as isDateTimeType, R as isEndpointManySide, z as isEndpointOneSide, B as isEndpointOptional, V as isEndpointRequired, H as isFloatType, U as isIntegerType, W as isNumericType, G as isSerialType, K as isStringType, q as makeRelationshipRequired, o as renameElement, s as renameTable, c as syncDep, l as syncDiagramView, J as syncElementMetadata, Y as tryExtractBoolean, X as tryExtractDateTime, Z as tryExtractEnum, Q as tryExtractInteger, $ as tryExtractNumeric, ee as tryExtractString, u as updateElementSetting, d as updateElementSettingEdit };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require("../../_virtual/_rolldown/runtime.cjs");var e=`11.0.2-arch.0.
|
|
1
|
+
require("../../_virtual/_rolldown/runtime.cjs");var e=`11.0.2-arch.0.3`;exports.version=e;
|
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": "11.0.2-arch.0.
|
|
4
|
+
"version": "11.0.2-arch.0.3",
|
|
5
5
|
"description": "> TODO: description",
|
|
6
6
|
"author": "Holistics <dev@holistics.io>",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"lint:fix": "eslint --fix ."
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@dbml/parse": "11.0.2-arch.0.
|
|
51
|
+
"@dbml/parse": "11.0.2-arch.0.3",
|
|
52
52
|
"antlr4": "^4.13.1",
|
|
53
53
|
"lodash": "^4.18.1",
|
|
54
54
|
"lodash-es": "^4.18.1",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"bluebird": "^3.5.5"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "16556db1970512df9fca654921d8eceadfb7b861",
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=16"
|
|
65
65
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -70,8 +70,8 @@ export {
|
|
|
70
70
|
isEndpointOptional,
|
|
71
71
|
isEndpointRequired,
|
|
72
72
|
makeRelationshipRequired,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
ARCH_BUILTIN_ROLES,
|
|
74
|
+
ARCH_NAME_PRECEDENCE,
|
|
75
75
|
fullName,
|
|
76
76
|
} from '@dbml/parse';
|
|
77
77
|
|
|
@@ -108,6 +108,6 @@ export type {
|
|
|
108
108
|
RelationCardinality,
|
|
109
109
|
RelationshipOp,
|
|
110
110
|
DbmlProjectLayout,
|
|
111
|
-
|
|
111
|
+
ArchRoleSpec,
|
|
112
112
|
FileSpecifierInfo,
|
|
113
113
|
} from '@dbml/parse';
|