@malloydata/malloy 0.0.253 → 0.0.254-dev250401181753
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/dist/api/core.js +16 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
package/dist/api/core.js
CHANGED
|
@@ -109,8 +109,23 @@ function typeDefFromField(type) {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
function convertDimension(field) {
|
|
112
|
+
var _a;
|
|
112
113
|
const typeDef = typeDefFromField(field.type);
|
|
113
|
-
return
|
|
114
|
+
return {
|
|
115
|
+
...(0, model_1.mkFieldDef)(typeDef, field.name),
|
|
116
|
+
annotation: field.annotations && field.annotations.length
|
|
117
|
+
? {
|
|
118
|
+
notes: (_a = field.annotations) === null || _a === void 0 ? void 0 : _a.map(a => ({
|
|
119
|
+
text: a.value,
|
|
120
|
+
// TODO correctly map the location of the annotation to the location of the table call...
|
|
121
|
+
at: {
|
|
122
|
+
url: '~internal~',
|
|
123
|
+
range: util_1.DEFAULT_LOG_RANGE,
|
|
124
|
+
},
|
|
125
|
+
})),
|
|
126
|
+
}
|
|
127
|
+
: undefined,
|
|
128
|
+
};
|
|
114
129
|
}
|
|
115
130
|
function convertTableField(field) {
|
|
116
131
|
if (field.kind !== 'dimension') {
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MALLOY_VERSION = "0.0.
|
|
1
|
+
export declare const MALLOY_VERSION = "0.0.254";
|
package/dist/version.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MALLOY_VERSION = void 0;
|
|
4
4
|
// generated with 'generate-version-file' script; do not edit manually
|
|
5
|
-
exports.MALLOY_VERSION = '0.0.
|
|
5
|
+
exports.MALLOY_VERSION = '0.0.254';
|
|
6
6
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/malloy",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.254-dev250401181753",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"generate-version-file": "VERSION=$(npm pkg get version --workspaces=false | tr -d \\\")\necho \"// generated with 'generate-version-file' script; do not edit manually\\nexport const MALLOY_VERSION = '$VERSION';\" > src/version.ts"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@malloydata/malloy-filter": "^0.0.
|
|
45
|
-
"@malloydata/malloy-interfaces": "^0.0.
|
|
46
|
-
"@malloydata/malloy-tag": "^0.0.
|
|
44
|
+
"@malloydata/malloy-filter": "^0.0.254-dev250401181753",
|
|
45
|
+
"@malloydata/malloy-interfaces": "^0.0.254-dev250401181753",
|
|
46
|
+
"@malloydata/malloy-tag": "^0.0.254-dev250401181753",
|
|
47
47
|
"antlr4ts": "^0.5.0-alpha.4",
|
|
48
48
|
"assert": "^2.0.0",
|
|
49
49
|
"jest-diff": "^29.6.2",
|