@cubejs-backend/schema-compiler 0.34.41 → 0.34.43
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.
|
@@ -25,6 +25,7 @@ export declare const prepareCompiler: (repo: SchemaFileRepository, options?: Pre
|
|
|
25
25
|
joinGraph: JoinGraph;
|
|
26
26
|
compilerCache: CompilerCache;
|
|
27
27
|
headCommitId: string | undefined;
|
|
28
|
+
compilerId: string;
|
|
28
29
|
};
|
|
29
30
|
export declare const compile: (repo: SchemaFileRepository, options?: PrepareCompilerOptions) => Promise<{
|
|
30
31
|
compiler: DataSchemaCompiler;
|
|
@@ -34,5 +35,6 @@ export declare const compile: (repo: SchemaFileRepository, options?: PrepareComp
|
|
|
34
35
|
joinGraph: JoinGraph;
|
|
35
36
|
compilerCache: CompilerCache;
|
|
36
37
|
headCommitId: string | undefined;
|
|
38
|
+
compilerId: string;
|
|
37
39
|
}>;
|
|
38
40
|
//# sourceMappingURL=PrepareCompiler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrepareCompiler.d.ts","sourceRoot":"","sources":["../../../src/compiler/PrepareCompiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PrepareCompiler.d.ts","sourceRoot":"","sources":["../../../src/compiler/PrepareCompiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAIxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAW1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,MAAM,MAAM,sBAAsB,GAAG;IACnC,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,oBAAoB,YAAW,sBAAsB;;;;;;;;;CAoD1F,CAAC;AAEF,eAAO,MAAM,OAAO,SAAU,oBAAoB,YAAY,sBAAsB;;;;;;;;;EAKnF,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.compile = exports.prepareCompiler = void 0;
|
|
4
4
|
const native_1 = require("@cubejs-backend/native");
|
|
5
|
+
const uuid_1 = require("uuid");
|
|
5
6
|
const CubeValidator_1 = require("./CubeValidator");
|
|
6
7
|
const DataSchemaCompiler_1 = require("./DataSchemaCompiler");
|
|
7
8
|
const transpilers_1 = require("./transpilers");
|
|
@@ -59,7 +60,8 @@ const prepareCompiler = (repo, options = {}) => {
|
|
|
59
60
|
contextEvaluator,
|
|
60
61
|
joinGraph,
|
|
61
62
|
compilerCache,
|
|
62
|
-
headCommitId: options.headCommitId
|
|
63
|
+
headCommitId: options.headCommitId,
|
|
64
|
+
compilerId: (0, uuid_1.v4)(),
|
|
63
65
|
};
|
|
64
66
|
};
|
|
65
67
|
exports.prepareCompiler = prepareCompiler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrepareCompiler.js","sourceRoot":"","sources":["../../../src/compiler/PrepareCompiler.ts"],"names":[],"mappings":";;;AACA,mDAAwD;
|
|
1
|
+
{"version":3,"file":"PrepareCompiler.js","sourceRoot":"","sources":["../../../src/compiler/PrepareCompiler.ts"],"names":[],"mappings":";;;AACA,mDAAwD;AACxD,+BAAoC;AAEpC,mDAAgD;AAChD,6DAA0D;AAC1D,+CAMuB;AACvB,8CAAiE;AACjE,+CAA4C;AAC5C,qDAAkD;AAClD,mDAAgD;AAChD,yDAAsD;AACtD,2CAAwC;AACxC,mEAAgE;AAChE,mDAAgD;AAChD,iDAA8C;AAcvC,MAAM,eAAe,GAAG,CAAC,IAA0B,EAAE,UAAkC,EAAE,EAAE,EAAE;IAClG,MAAM,cAAc,GAAG,OAAO,CAAC,cAAc,IAAI,IAAI,uBAAc,EAAE,CAAC;IACtE,MAAM,cAAc,GAAG,IAAI,+BAAc,EAAE,CAAC;IAC5C,MAAM,WAAW,GAAG,IAAI,yBAAW,EAAE,CAAC;IACtC,MAAM,aAAa,GAAG,IAAI,6BAAa,CAAC,WAAW,CAAC,CAAC;IACrD,MAAM,aAAa,GAAG,IAAI,6BAAa,CAAC,aAAa,CAAC,CAAC;IACvD,MAAM,gBAAgB,GAAG,IAAI,mCAAgB,CAAC,aAAa,CAAC,CAAC;IAC7D,MAAM,SAAS,GAAG,IAAI,qBAAS,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;IAC9D,MAAM,eAAe,GAAG,IAAI,6CAAqB,CAAC,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,CAAC,CAAC;IAC7G,MAAM,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACxD,MAAM,aAAa,GAAG,IAAI,6BAAa,CAAC,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC,CAAC;IACjF,MAAM,YAAY,GAAG,IAA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,IAAI,EAAE,OAAO,CAAC,CAAC;IACjD,OAAO,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,IAAI,CACtC,GAAG,EAAE,CAAC,SAAS,CAChB,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@cubejs-backend/schema-compiler",
|
|
3
3
|
"description": "Cube schema compiler",
|
|
4
4
|
"author": "Cube Dev, Inc.",
|
|
5
|
-
"version": "0.34.
|
|
5
|
+
"version": "0.34.43",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/cube-js/cube.git",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@babel/standalone": "^7.12.10",
|
|
41
41
|
"@babel/traverse": "^7.12.10",
|
|
42
42
|
"@babel/types": "^7.12.12",
|
|
43
|
-
"@cubejs-backend/native": "^0.34.
|
|
43
|
+
"@cubejs-backend/native": "^0.34.42",
|
|
44
44
|
"@cubejs-backend/shared": "^0.34.41",
|
|
45
45
|
"antlr4ts": "0.5.0-alpha.4",
|
|
46
46
|
"camelcase": "^6.2.0",
|
|
@@ -54,12 +54,13 @@
|
|
|
54
54
|
"moment-timezone": "^0.5.33",
|
|
55
55
|
"node-dijkstra": "^2.5.0",
|
|
56
56
|
"ramda": "^0.27.2",
|
|
57
|
-
"syntax-error": "^1.3.0"
|
|
57
|
+
"syntax-error": "^1.3.0",
|
|
58
|
+
"uuid": "^8.3.2"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
60
61
|
"@apla/clickhouse": "^1.5.5",
|
|
61
62
|
"@cubejs-backend/linter": "^0.34.25",
|
|
62
|
-
"@cubejs-backend/query-orchestrator": "^0.34.
|
|
63
|
+
"@cubejs-backend/query-orchestrator": "^0.34.43",
|
|
63
64
|
"@types/babel__code-frame": "^7.0.2",
|
|
64
65
|
"@types/babel__generator": "^7.6.2",
|
|
65
66
|
"@types/babel__parser": "^7.1.1",
|
|
@@ -102,5 +103,5 @@
|
|
|
102
103
|
],
|
|
103
104
|
"globalSetup": "<rootDir>/dist/test/global-setup.js"
|
|
104
105
|
},
|
|
105
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "acd6f785398cb216c4c5b8173ccadf13f320ddc4"
|
|
106
107
|
}
|