@lightdash/cli 1.30.0 → 1.31.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/dist/.tsbuildinfo +1 -1
- package/dist/dbt/targets/Bigquery/index.d.ts.map +1 -1
- package/dist/dbt/targets/Bigquery/index.js +1 -1
- package/dist/dbt/targets/athena.d.ts.map +1 -1
- package/dist/dbt/targets/athena.js +1 -1
- package/dist/dbt/targets/clickhouse.d.ts.map +1 -1
- package/dist/dbt/targets/clickhouse.js +1 -1
- package/dist/dbt/targets/databricks.d.ts.map +1 -1
- package/dist/dbt/targets/databricks.js +1 -1
- package/dist/dbt/targets/postgres.d.ts.map +1 -1
- package/dist/dbt/targets/postgres.js +1 -1
- package/dist/dbt/targets/redshift.d.ts.map +1 -1
- package/dist/dbt/targets/redshift.js +1 -1
- package/dist/dbt/targets/snowflake.js +1 -1
- package/dist/dbt/targets/trino.d.ts.map +1 -1
- package/dist/dbt/targets/trino.js +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dbt/targets/Bigquery/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,yBAAyB,EAG5B,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dbt/targets/Bigquery/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,yBAAyB,EAG5B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAOrC,KAAK,cAAc,GAAG;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,cAAc,CAAC,cAAc,CAgDnE,CAAC;AAEF,eAAO,MAAM,qBAAqB,WACtB,MAAM,KACf,OAAO,CAAC,yBAAyB,CA8DnC,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.convertBigquerySchema = exports.bigqueryTargetJsonSchema = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const common_1 = require("@lightdash/common");
|
|
6
|
-
const better_ajv_errors_1 = tslib_1.__importDefault(require("better-ajv-errors"));
|
|
6
|
+
const better_ajv_errors_1 = tslib_1.__importDefault(require("@sidvind/better-ajv-errors"));
|
|
7
7
|
const ajv_1 = require("../../../ajv");
|
|
8
8
|
const oauth_1 = require("./oauth");
|
|
9
9
|
const serviceAccount_1 = require("./serviceAccount");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"athena.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/athena.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,uBAAuB,EAG1B,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"athena.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/athena.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,uBAAuB,EAG1B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,MAAM,YAAY,GAAG;IACvB,IAAI,EAAE,QAAQ,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,cAAc,CAAC,YAAY,CAyDrD,CAAC;AAEF,eAAO,MAAM,mBAAmB,WACpB,MAAM,KACf,uBAmCF,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.convertAthenaSchema = exports.athenaSchema = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const common_1 = require("@lightdash/common");
|
|
6
|
-
const better_ajv_errors_1 = tslib_1.__importDefault(require("better-ajv-errors"));
|
|
6
|
+
const better_ajv_errors_1 = tslib_1.__importDefault(require("@sidvind/better-ajv-errors"));
|
|
7
7
|
const ajv_1 = require("../../ajv");
|
|
8
8
|
exports.athenaSchema = {
|
|
9
9
|
type: 'object',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clickhouse.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/clickhouse.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,2BAA2B,EAG9B,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"clickhouse.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/clickhouse.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,2BAA2B,EAG9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC,gBAAgB,CAgE7D,CAAC;AAEF,eAAO,MAAM,uBAAuB,WACxB,MAAM,KACf,2BAwBF,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.convertClickhouseSchema = exports.clickhouseSchema = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const common_1 = require("@lightdash/common");
|
|
6
|
-
const better_ajv_errors_1 = tslib_1.__importDefault(require("better-ajv-errors"));
|
|
6
|
+
const better_ajv_errors_1 = tslib_1.__importDefault(require("@sidvind/better-ajv-errors"));
|
|
7
7
|
const ajv_1 = require("../../ajv");
|
|
8
8
|
exports.clickhouseSchema = {
|
|
9
9
|
type: 'object',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"databricks.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/databricks.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,2BAA2B,EAI9B,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"databricks.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/databricks.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,2BAA2B,EAI9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,KAAK,uBAAuB,GAAG;IAC3B,CAAC,IAAI,EAAE,MAAM,GAAG;QACZ,SAAS,EAAE,MAAM,CAAC;KACrB,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,uBAAuB,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC,gBAAgB,CAqE7D,CAAC;AAEF,eAAO,MAAM,uBAAuB,WACxB,MAAM,KACf,2BA6EF,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.convertDatabricksSchema = exports.databricksSchema = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const common_1 = require("@lightdash/common");
|
|
6
|
-
const better_ajv_errors_1 = tslib_1.__importDefault(require("better-ajv-errors"));
|
|
6
|
+
const better_ajv_errors_1 = tslib_1.__importDefault(require("@sidvind/better-ajv-errors"));
|
|
7
7
|
const ajv_1 = require("../../ajv");
|
|
8
8
|
const oauth_1 = require("./Databricks/oauth");
|
|
9
9
|
exports.databricksSchema = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,yBAAyB,EAI5B,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,yBAAyB,EAI5B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAIrC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,cAAc,CAAC,cAAc,CAyEzD,CAAC;AAaF,eAAO,MAAM,qBAAqB,WACtB,MAAM,KACf,OAAO,CAAC,yBAAyB,CAmEnC,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.convertPostgresSchema = exports.postgresSchema = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const common_1 = require("@lightdash/common");
|
|
6
|
-
const better_ajv_errors_1 = tslib_1.__importDefault(require("better-ajv-errors"));
|
|
6
|
+
const better_ajv_errors_1 = tslib_1.__importDefault(require("@sidvind/better-ajv-errors"));
|
|
7
7
|
const promises_1 = require("fs/promises");
|
|
8
8
|
const ajv_1 = require("../../ajv");
|
|
9
9
|
const globalState_1 = tslib_1.__importDefault(require("../../globalState"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redshift.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/redshift.ts"],"names":[],"mappings":"AACA,OAAO,EACH,yBAAyB,EAK5B,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"redshift.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/redshift.ts"],"names":[],"mappings":"AACA,OAAO,EACH,yBAAyB,EAK5B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,cAAc,CAAC,cAAc,CAkFzD,CAAC;AAEF,eAAO,MAAM,qBAAqB,WACtB,MAAM,KACf,OAAO,CAAC,yBAAyB,CAqHnC,CAAC"}
|
|
@@ -4,7 +4,7 @@ exports.convertRedshiftSchema = exports.redshiftSchema = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const credential_providers_1 = require("@aws-sdk/credential-providers");
|
|
6
6
|
const common_1 = require("@lightdash/common");
|
|
7
|
-
const better_ajv_errors_1 = tslib_1.__importDefault(require("better-ajv-errors"));
|
|
7
|
+
const better_ajv_errors_1 = tslib_1.__importDefault(require("@sidvind/better-ajv-errors"));
|
|
8
8
|
const ajv_1 = require("../../ajv");
|
|
9
9
|
const styles = tslib_1.__importStar(require("../../styles"));
|
|
10
10
|
exports.redshiftSchema = {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.convertSnowflakeSchema = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const common_1 = require("@lightdash/common");
|
|
6
|
-
const better_ajv_errors_1 = tslib_1.__importDefault(require("better-ajv-errors"));
|
|
6
|
+
const better_ajv_errors_1 = tslib_1.__importDefault(require("@sidvind/better-ajv-errors"));
|
|
7
7
|
const fs_1 = require("fs");
|
|
8
8
|
const ajv_1 = require("../../ajv");
|
|
9
9
|
const snowflakeSchema = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trino.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/trino.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,sBAAsB,EAGzB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"trino.d.ts","sourceRoot":"","sources":["../../../src/dbt/targets/trino.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,sBAAsB,EAGzB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,WAAW,CAuCnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAAY,MAAM,KAAG,sBAoBnD,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.convertTrinoSchema = exports.trinoSchema = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const common_1 = require("@lightdash/common");
|
|
6
|
-
const better_ajv_errors_1 = tslib_1.__importDefault(require("better-ajv-errors"));
|
|
6
|
+
const better_ajv_errors_1 = tslib_1.__importDefault(require("@sidvind/better-ajv-errors"));
|
|
7
7
|
const ajv_1 = require("../../ajv");
|
|
8
8
|
exports.trinoSchema = {
|
|
9
9
|
type: 'object',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightdash/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.31.0",
|
|
4
4
|
"description": "Lightdash CLI tool",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"@actions/core": "1.11.1",
|
|
20
20
|
"@aws-sdk/credential-providers": "3.995.0",
|
|
21
21
|
"@casl/ability": "6.8.0",
|
|
22
|
+
"@sidvind/better-ajv-errors": "7.0.0",
|
|
22
23
|
"@types/columnify": "1.5.1",
|
|
23
24
|
"ajv": "8.18.0",
|
|
24
25
|
"ajv-formats": "2.1.1",
|
|
25
|
-
"better-ajv-errors": "1.2.0",
|
|
26
26
|
"chalk": "4.1.2",
|
|
27
27
|
"chokidar": "3.6.0",
|
|
28
28
|
"columnify": "1.6.0",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"unique-names-generator": "4.7.1",
|
|
42
42
|
"uuid": "11.1.1",
|
|
43
43
|
"yaml": "2.8.3",
|
|
44
|
-
"@lightdash/
|
|
45
|
-
"@lightdash/
|
|
44
|
+
"@lightdash/common": "1.31.0",
|
|
45
|
+
"@lightdash/warehouses": "1.31.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/inquirer": "8.2.4",
|