@malloydata/db-bigquery 0.0.336 → 0.0.337
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/index.js +46 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -25,4 +25,50 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
exports.BigQueryConnection = void 0;
|
|
26
26
|
var bigquery_connection_1 = require("./bigquery_connection");
|
|
27
27
|
Object.defineProperty(exports, "BigQueryConnection", { enumerable: true, get: function () { return bigquery_connection_1.BigQueryConnection; } });
|
|
28
|
+
const malloy_1 = require("@malloydata/malloy");
|
|
29
|
+
const bigquery_connection_2 = require("./bigquery_connection");
|
|
30
|
+
(0, malloy_1.registerConnectionType)('bigquery', {
|
|
31
|
+
factory: (config) => {
|
|
32
|
+
return new bigquery_connection_2.BigQueryConnection(config);
|
|
33
|
+
},
|
|
34
|
+
properties: [
|
|
35
|
+
{
|
|
36
|
+
name: 'projectId',
|
|
37
|
+
displayName: 'Project ID',
|
|
38
|
+
type: 'string',
|
|
39
|
+
optional: true,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'serviceAccountKeyPath',
|
|
43
|
+
displayName: 'Service Account Key',
|
|
44
|
+
type: 'file',
|
|
45
|
+
optional: true,
|
|
46
|
+
fileFilters: { JSON: ['json'] },
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'location',
|
|
50
|
+
displayName: 'Location',
|
|
51
|
+
type: 'string',
|
|
52
|
+
optional: true,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'maximumBytesBilled',
|
|
56
|
+
displayName: 'Maximum Bytes Billed',
|
|
57
|
+
type: 'string',
|
|
58
|
+
optional: true,
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'timeoutMs',
|
|
62
|
+
displayName: 'Timeout (ms)',
|
|
63
|
+
type: 'string',
|
|
64
|
+
optional: true,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'billingProjectId',
|
|
68
|
+
displayName: 'Billing Project ID',
|
|
69
|
+
type: 'string',
|
|
70
|
+
optional: true,
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
});
|
|
28
74
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-bigquery",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.337",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@google-cloud/bigquery": "^7.3.0",
|
|
26
26
|
"@google-cloud/common": "^5.0.1",
|
|
27
27
|
"@google-cloud/paginator": "^5.0.0",
|
|
28
|
-
"@malloydata/malloy": "0.0.
|
|
28
|
+
"@malloydata/malloy": "0.0.337",
|
|
29
29
|
"gaxios": "^4.2.0"
|
|
30
30
|
}
|
|
31
31
|
}
|