@8ms/helpers 3.2.10 → 3.2.12
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/adverity/server/getJobs.cjs +1 -1
- package/dist/adverity/server/getJobs.mjs +1 -1
- package/dist/api/_shared/index.cjs +1 -1
- package/dist/api/_shared/index.mjs +1 -1
- package/dist/api/client/index.cjs +1 -1
- package/dist/api/client/index.mjs +1 -1
- package/dist/api/server/index.cjs +1 -1
- package/dist/api/server/index.mjs +1 -1
- package/dist/googleAds/keywordPlanner/_shared/bigquery.cjs +4 -3
- package/dist/googleAds/keywordPlanner/_shared/bigquery.mjs +4 -3
- package/dist/googleCloud/bigquery/_shared/field/bqFloat.cjs +2 -2
- package/dist/googleCloud/bigquery/_shared/field/bqFloat.d.cts +1 -2
- package/dist/googleCloud/bigquery/_shared/field/bqFloat.d.mts +1 -2
- package/dist/googleCloud/bigquery/_shared/field/bqFloat.mjs +2 -2
- package/dist/googleCloud/bigquery/_shared/field/{bqNullableString.cjs → bqStringNullable.cjs} +3 -3
- package/dist/googleCloud/bigquery/_shared/field/{bqNullableString.d.cts → bqStringNullable.d.cts} +2 -2
- package/dist/googleCloud/bigquery/_shared/field/{bqNullableString.d.mts → bqStringNullable.d.mts} +2 -2
- package/dist/googleCloud/bigquery/_shared/field/{bqNullableString.mjs → bqStringNullable.mjs} +3 -3
- package/dist/googleCloud/bigquery/_shared/index.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/index.d.cts +2 -2
- package/dist/googleCloud/bigquery/_shared/index.d.mts +2 -2
- package/dist/googleCloud/bigquery/_shared/index.mjs +2 -2
- package/dist/googleCloud/bigquery/_shared/lookup/country.cjs +3 -3
- package/dist/googleCloud/bigquery/_shared/lookup/country.mjs +3 -3
- package/dist/googleCloud/bigquery/_shared/lookup/language.cjs +3 -3
- package/dist/googleCloud/bigquery/_shared/lookup/language.mjs +3 -3
- package/dist/googleCloud/bigquery/_shared/types.d.cts +7 -5
- package/dist/googleCloud/bigquery/_shared/types.d.mts +7 -5
- package/dist/googleCloud/bigquery/_shared/zodToBQDefinition.cjs +3 -2
- package/dist/googleCloud/bigquery/_shared/zodToBQDefinition.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/zodToBQDefinition.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/zodToBQDefinition.mjs +3 -2
- package/dist/googleCloud/bigquery/client/index.cjs +1 -1
- package/dist/googleCloud/bigquery/client/index.d.cts +2 -2
- package/dist/googleCloud/bigquery/client/index.d.mts +2 -2
- package/dist/googleCloud/bigquery/client/index.mjs +2 -2
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.cjs +14 -4
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.d.cts +8 -3
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.d.mts +8 -3
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.mjs +14 -4
- package/dist/googleCloud/bigquery/server/index.cjs +1 -1
- package/dist/googleCloud/bigquery/server/index.d.cts +2 -2
- package/dist/googleCloud/bigquery/server/index.d.mts +2 -2
- package/dist/googleCloud/bigquery/server/index.mjs +2 -2
- package/dist/lodash/_shared/index.cjs +4 -4
- package/dist/lodash/_shared/index.mjs +4 -4
- package/dist/lodash/client/index.cjs +4 -4
- package/dist/lodash/client/index.mjs +4 -4
- package/dist/lodash/server/index.cjs +4 -4
- package/dist/lodash/server/index.mjs +4 -4
- package/dist/url/server/writeUrlContents.cjs +3 -14
- package/dist/url/server/writeUrlContents.mjs +3 -14
- package/dist/xlsx/_shared/createXlsx.cjs +1 -1
- package/dist/xlsx/_shared/createXlsx.mjs +1 -1
- package/package.json +26 -26
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_api__shared_get = require("../../api/_shared/get.cjs");
|
|
3
2
|
const require_date__shared_calculation = require("../../date/_shared/calculation.cjs");
|
|
4
3
|
const require_date__shared_format = require("../../date/_shared/format.cjs");
|
|
4
|
+
const require_api__shared_get = require("../../api/_shared/get.cjs");
|
|
5
5
|
//#region src/adverity/server/getJobs.ts
|
|
6
6
|
/**
|
|
7
7
|
* Fetch all the jobs that ran yesterday by default.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { get } from "../../api/_shared/get.mjs";
|
|
2
1
|
import { getLuxonDate, getToday, getYesterday } from "../../date/_shared/calculation.mjs";
|
|
3
2
|
import { getYmdString } from "../../date/_shared/format.mjs";
|
|
3
|
+
import { get } from "../../api/_shared/get.mjs";
|
|
4
4
|
//#region src/adverity/server/getJobs.ts
|
|
5
5
|
/**
|
|
6
6
|
* Fetch all the jobs that ran yesterday by default.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_api__shared_api = require("./api.cjs");
|
|
3
3
|
const require_api__shared_ApiResponseClass = require("./ApiResponseClass.cjs");
|
|
4
|
+
const require_api__shared_get = require("./get.cjs");
|
|
4
5
|
const require_api__shared_deleteRequest = require("./deleteRequest.cjs");
|
|
5
6
|
const require_api__shared_functions = require("./functions.cjs");
|
|
6
|
-
const require_api__shared_get = require("./get.cjs");
|
|
7
7
|
const require_api__shared_httpMethod = require("./httpMethod.cjs");
|
|
8
8
|
const require_api__shared_post = require("./post.cjs");
|
|
9
9
|
exports.ApiResponseClass = require_api__shared_ApiResponseClass.ApiResponseClass;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { apiState, defaultResponse, unexpectedError } from "./api.mjs";
|
|
2
2
|
import { ApiResponseClass } from "./ApiResponseClass.mjs";
|
|
3
|
+
import { get } from "./get.mjs";
|
|
3
4
|
import { deleteRequest } from "./deleteRequest.mjs";
|
|
4
5
|
import { isCancelled, isError, isIdle, isPending, isSuccess, isValidationError } from "./functions.mjs";
|
|
5
|
-
import { get } from "./get.mjs";
|
|
6
6
|
import { httpMethod } from "./httpMethod.mjs";
|
|
7
7
|
import { post } from "./post.mjs";
|
|
8
8
|
export { ApiResponseClass, apiState, defaultResponse, deleteRequest, get, httpMethod, isCancelled, isError, isIdle, isPending, isSuccess, isValidationError, post, unexpectedError };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_api__shared_api = require("../_shared/api.cjs");
|
|
3
3
|
const require_api__shared_ApiResponseClass = require("../_shared/ApiResponseClass.cjs");
|
|
4
|
+
const require_api__shared_get = require("../_shared/get.cjs");
|
|
4
5
|
const require_api__shared_deleteRequest = require("../_shared/deleteRequest.cjs");
|
|
5
6
|
const require_api__shared_functions = require("../_shared/functions.cjs");
|
|
6
|
-
const require_api__shared_get = require("../_shared/get.cjs");
|
|
7
7
|
const require_api__shared_httpMethod = require("../_shared/httpMethod.cjs");
|
|
8
8
|
const require_api__shared_post = require("../_shared/post.cjs");
|
|
9
9
|
require("../_shared/index.cjs");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { apiState, defaultResponse, unexpectedError } from "../_shared/api.mjs";
|
|
2
2
|
import { ApiResponseClass } from "../_shared/ApiResponseClass.mjs";
|
|
3
|
+
import { get } from "../_shared/get.mjs";
|
|
3
4
|
import { deleteRequest } from "../_shared/deleteRequest.mjs";
|
|
4
5
|
import { isCancelled, isError, isIdle, isPending, isSuccess, isValidationError } from "../_shared/functions.mjs";
|
|
5
|
-
import { get } from "../_shared/get.mjs";
|
|
6
6
|
import { httpMethod } from "../_shared/httpMethod.mjs";
|
|
7
7
|
import { post } from "../_shared/post.mjs";
|
|
8
8
|
import "../_shared/index.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_api__shared_api = require("../_shared/api.cjs");
|
|
3
3
|
const require_api__shared_ApiResponseClass = require("../_shared/ApiResponseClass.cjs");
|
|
4
|
+
const require_api__shared_get = require("../_shared/get.cjs");
|
|
4
5
|
const require_api__shared_deleteRequest = require("../_shared/deleteRequest.cjs");
|
|
5
6
|
const require_api__shared_functions = require("../_shared/functions.cjs");
|
|
6
|
-
const require_api__shared_get = require("../_shared/get.cjs");
|
|
7
7
|
const require_api__shared_httpMethod = require("../_shared/httpMethod.cjs");
|
|
8
8
|
const require_api__shared_post = require("../_shared/post.cjs");
|
|
9
9
|
require("../_shared/index.cjs");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { apiState, defaultResponse, unexpectedError } from "../_shared/api.mjs";
|
|
2
2
|
import { ApiResponseClass } from "../_shared/ApiResponseClass.mjs";
|
|
3
|
+
import { get } from "../_shared/get.mjs";
|
|
3
4
|
import { deleteRequest } from "../_shared/deleteRequest.mjs";
|
|
4
5
|
import { isCancelled, isError, isIdle, isPending, isSuccess, isValidationError } from "../_shared/functions.mjs";
|
|
5
|
-
import { get } from "../_shared/get.mjs";
|
|
6
6
|
import { httpMethod } from "../_shared/httpMethod.mjs";
|
|
7
7
|
import { post } from "../_shared/post.mjs";
|
|
8
8
|
import "../_shared/index.mjs";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_googleCloud_bigquery__shared_field_bqDate = require("../../../googleCloud/bigquery/_shared/field/bqDate.cjs");
|
|
3
3
|
const require_googleCloud_bigquery__shared_field_bqDateTime = require("../../../googleCloud/bigquery/_shared/field/bqDateTime.cjs");
|
|
4
|
+
const require_googleCloud_bigquery__shared_field_bqFloat = require("../../../googleCloud/bigquery/_shared/field/bqFloat.cjs");
|
|
4
5
|
const require_googleCloud_bigquery__shared_field_bqInt = require("../../../googleCloud/bigquery/_shared/field/bqInt.cjs");
|
|
5
6
|
const require_googleCloud_bigquery__shared_partitionType = require("../../../googleCloud/bigquery/_shared/partitionType.cjs");
|
|
6
7
|
const require_googleCloud_bigquery__shared_zodToBQDefinition = require("../../../googleCloud/bigquery/_shared/zodToBQDefinition.cjs");
|
|
@@ -19,7 +20,7 @@ const keywordPlannerBQRowSchema = zod.z.object({
|
|
|
19
20
|
api_network: require_googleAds_keywordPlanner__shared_network.requestNetworkNameSchema.nullable(),
|
|
20
21
|
api_countries: zod.z.string().nullable(),
|
|
21
22
|
api_language: require_googleCloud_bigquery__shared_field_bqInt.zBQInt.nullable(),
|
|
22
|
-
avg_cpc:
|
|
23
|
+
avg_cpc: require_googleCloud_bigquery__shared_field_bqFloat.zBQFloat.nullable(),
|
|
23
24
|
avg_search_volume: require_googleCloud_bigquery__shared_field_bqInt.zBQInt,
|
|
24
25
|
competition: zod.z.string(),
|
|
25
26
|
competition_index: require_googleCloud_bigquery__shared_field_bqInt.zBQInt.nullable(),
|
|
@@ -27,8 +28,8 @@ const keywordPlannerBQRowSchema = zod.z.object({
|
|
|
27
28
|
date: require_googleCloud_bigquery__shared_field_bqDate.zLuxonDate,
|
|
28
29
|
search_volume: require_googleCloud_bigquery__shared_field_bqInt.zBQInt
|
|
29
30
|
}).array(),
|
|
30
|
-
top_of_page_bid_high:
|
|
31
|
-
top_of_page_bid_low:
|
|
31
|
+
top_of_page_bid_high: require_googleCloud_bigquery__shared_field_bqFloat.zBQFloat.nullable(),
|
|
32
|
+
top_of_page_bid_low: require_googleCloud_bigquery__shared_field_bqFloat.zBQFloat.nullable(),
|
|
32
33
|
total_search_volume: require_googleCloud_bigquery__shared_field_bqInt.zBQInt.nullable(),
|
|
33
34
|
missing: zod.z.boolean(),
|
|
34
35
|
inserted_at: require_googleCloud_bigquery__shared_field_bqDateTime.zLuxonDateTime
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../../../googleCloud/bigquery/_shared/field/bqDate.mjs";
|
|
2
2
|
import { BQDateTime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../../../googleCloud/bigquery/_shared/field/bqDateTime.mjs";
|
|
3
|
+
import { zBQFloat } from "../../../googleCloud/bigquery/_shared/field/bqFloat.mjs";
|
|
3
4
|
import { zBQInt } from "../../../googleCloud/bigquery/_shared/field/bqInt.mjs";
|
|
4
5
|
import { partitionType } from "../../../googleCloud/bigquery/_shared/partitionType.mjs";
|
|
5
6
|
import { zodToBQSchema } from "../../../googleCloud/bigquery/_shared/zodToBQDefinition.mjs";
|
|
@@ -18,7 +19,7 @@ const keywordPlannerBQRowSchema = z.object({
|
|
|
18
19
|
api_network: requestNetworkNameSchema.nullable(),
|
|
19
20
|
api_countries: z.string().nullable(),
|
|
20
21
|
api_language: zBQInt.nullable(),
|
|
21
|
-
avg_cpc:
|
|
22
|
+
avg_cpc: zBQFloat.nullable(),
|
|
22
23
|
avg_search_volume: zBQInt,
|
|
23
24
|
competition: z.string(),
|
|
24
25
|
competition_index: zBQInt.nullable(),
|
|
@@ -26,8 +27,8 @@ const keywordPlannerBQRowSchema = z.object({
|
|
|
26
27
|
date: zLuxonDate,
|
|
27
28
|
search_volume: zBQInt
|
|
28
29
|
}).array(),
|
|
29
|
-
top_of_page_bid_high:
|
|
30
|
-
top_of_page_bid_low:
|
|
30
|
+
top_of_page_bid_high: zBQFloat.nullable(),
|
|
31
|
+
top_of_page_bid_low: zBQFloat.nullable(),
|
|
31
32
|
total_search_volume: zBQInt.nullable(),
|
|
32
33
|
missing: z.boolean(),
|
|
33
34
|
inserted_at: zLuxonDateTime
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
/**
|
|
4
4
|
* FLOAT64 → plain JS number
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
6
|
+
const zBQFloat = require("zod").z.number().describe("bq:float");
|
|
7
7
|
//#endregion
|
|
8
|
-
exports.
|
|
8
|
+
exports.zBQFloat = zBQFloat;
|
package/dist/googleCloud/bigquery/_shared/field/{bqNullableString.cjs → bqStringNullable.cjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let zod = require("zod");
|
|
3
|
-
//#region src/googleCloud/bigquery/_shared/field/
|
|
3
|
+
//#region src/googleCloud/bigquery/_shared/field/bqStringNullable.ts
|
|
4
4
|
/**
|
|
5
5
|
* BigQuery's Node client returns small INT64 values as a native `number` and only falls back to
|
|
6
6
|
* `string` once precision would be lost - so an INT64/NUMERIC column stored as an id (e.g.
|
|
7
7
|
* google_ads_id) can't be trusted to always arrive as a string. Coerce defensively instead.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const BQStringNullable = zod.z.preprocess((value) => null === value || void 0 === value ? null : String(value), zod.z.string().nullable());
|
|
10
10
|
//#endregion
|
|
11
|
-
exports.
|
|
11
|
+
exports.BQStringNullable = BQStringNullable;
|
package/dist/googleCloud/bigquery/_shared/field/{bqNullableString.d.cts → bqStringNullable.d.cts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
//#region src/googleCloud/bigquery/_shared/field/
|
|
2
|
+
//#region src/googleCloud/bigquery/_shared/field/bqStringNullable.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* BigQuery's Node client returns small INT64 values as a native `number` and only falls back to
|
|
5
5
|
* `string` once precision would be lost - so an INT64/NUMERIC column stored as an id (e.g.
|
|
6
6
|
* google_ads_id) can't be trusted to always arrive as a string. Coerce defensively instead.
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const BQStringNullable: z.ZodPreprocess<z.ZodNullable<z.ZodString>, unknown>;
|
|
9
9
|
//#endregion
|
package/dist/googleCloud/bigquery/_shared/field/{bqNullableString.d.mts → bqStringNullable.d.mts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
//#region src/googleCloud/bigquery/_shared/field/
|
|
2
|
+
//#region src/googleCloud/bigquery/_shared/field/bqStringNullable.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* BigQuery's Node client returns small INT64 values as a native `number` and only falls back to
|
|
5
5
|
* `string` once precision would be lost - so an INT64/NUMERIC column stored as an id (e.g.
|
|
6
6
|
* google_ads_id) can't be trusted to always arrive as a string. Coerce defensively instead.
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const BQStringNullable: z.ZodPreprocess<z.ZodNullable<z.ZodString>, unknown>;
|
|
9
9
|
//#endregion
|
package/dist/googleCloud/bigquery/_shared/field/{bqNullableString.mjs → bqStringNullable.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
//#region src/googleCloud/bigquery/_shared/field/
|
|
2
|
+
//#region src/googleCloud/bigquery/_shared/field/bqStringNullable.ts
|
|
3
3
|
/**
|
|
4
4
|
* BigQuery's Node client returns small INT64 values as a native `number` and only falls back to
|
|
5
5
|
* `string` once precision would be lost - so an INT64/NUMERIC column stored as an id (e.g.
|
|
6
6
|
* google_ads_id) can't be trusted to always arrive as a string. Coerce defensively instead.
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
8
|
+
const BQStringNullable = z.preprocess((value) => null === value || void 0 === value ? null : String(value), z.string().nullable());
|
|
9
9
|
//#endregion
|
|
10
|
-
export {
|
|
10
|
+
export { BQStringNullable };
|
|
@@ -26,7 +26,6 @@ exports.BQFieldMode = require_googleCloud_bigquery__shared_field_bqFieldMode.BQF
|
|
|
26
26
|
exports.BQFieldModeSchema = require_googleCloud_bigquery__shared_field_bqFieldMode.BQFieldModeSchema;
|
|
27
27
|
exports.BQFieldType = require_googleCloud_bigquery__shared_field_bqFieldType.BQFieldType;
|
|
28
28
|
exports.BQFieldTypeSchema = require_googleCloud_bigquery__shared_field_bqFieldType.BQFieldTypeSchema;
|
|
29
|
-
exports.BQFloat = require_googleCloud_bigquery__shared_field_bqFloat.BQFloat;
|
|
30
29
|
exports.BQInt64 = require_googleCloud_bigquery__shared_field_bqInt64.BQInt64;
|
|
31
30
|
exports.BQNumeric = require_googleCloud_bigquery__shared_field_bqNumeric.BQNumeric;
|
|
32
31
|
exports.BQString = require_googleCloud_bigquery__shared_field_bqString.BQString;
|
|
@@ -42,6 +41,7 @@ exports.googleCloudBQRow = require_googleCloud_bigquery__shared_lookup_googleClo
|
|
|
42
41
|
exports.languageBQRow = require_googleCloud_bigquery__shared_lookup_language.languageBQRow;
|
|
43
42
|
exports.partitionType = require_googleCloud_bigquery__shared_partitionType.partitionType;
|
|
44
43
|
exports.zBQBytes = require_googleCloud_bigquery__shared_field_bqBytes.zBQBytes;
|
|
44
|
+
exports.zBQFloat = require_googleCloud_bigquery__shared_field_bqFloat.zBQFloat;
|
|
45
45
|
exports.zBQInt = require_googleCloud_bigquery__shared_field_bqInt.zBQInt;
|
|
46
46
|
exports.zBQInt64 = require_googleCloud_bigquery__shared_field_bqInt64.zBQInt64;
|
|
47
47
|
exports.zBQNumeric = require_googleCloud_bigquery__shared_field_bqNumeric.zBQNumeric;
|
|
@@ -4,7 +4,7 @@ import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "./field/bqDate.c
|
|
|
4
4
|
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "./field/bqDateTime.cjs";
|
|
5
5
|
import { BQFieldMode, BQFieldModeSchema } from "./field/bqFieldMode.cjs";
|
|
6
6
|
import { BQFieldType, BQFieldTypeSchema } from "./field/bqFieldType.cjs";
|
|
7
|
-
import {
|
|
7
|
+
import { zBQFloat } from "./field/bqFloat.cjs";
|
|
8
8
|
import { zBQInt } from "./field/bqInt.cjs";
|
|
9
9
|
import { BQInt64, zBQInt64 } from "./field/bqInt64.cjs";
|
|
10
10
|
import { BQNumeric, zBQNumeric } from "./field/bqNumeric.cjs";
|
|
@@ -18,4 +18,4 @@ import { LanguageBQRow, languageBQRow } from "./lookup/language.cjs";
|
|
|
18
18
|
import { PartitionType, partitionType } from "./partitionType.cjs";
|
|
19
19
|
import { BQField, zodToBQSchema } from "./zodToBQDefinition.cjs";
|
|
20
20
|
import { BigqueryLoadFormat, Dataset, LoadData, LoadStreamTableProps, LoadTableProps, MergeTableProps, QueryInput, Table, TableDefinition } from "./types.cjs";
|
|
21
|
-
export { BQBool, BQBytes, BQDate, BQDateTime, BQDatetime, BQField, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema,
|
|
21
|
+
export { BQBool, BQBytes, BQDate, BQDateTime, BQDatetime, BQField, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema, BQInt64, BQNumeric, BQString, BQTime, BQTimestamp, BigqueryLoadFormat, CountryBQRow, Dataset, GoogleAdsAccountBQRow, GoogleCloudBQRow, LanguageBQRow, LoadData, LoadStreamTableProps, LoadTableProps, MergeTableProps, PartitionType, QueryInput, Table, TableDefinition, countryBQRow, decodeBQDate, decodeBQDateTime, encodeBQDate, encodeBQDateTime, googleAdsAccountBQRow, googleCloudBQRow, languageBQRow, partitionType, zBQBytes, zBQFloat, zBQInt, zBQInt64, zBQNumeric, zBQTime, zLuxonDate, zLuxonDateTime, zodToBQSchema };
|
|
@@ -4,7 +4,7 @@ import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "./field/bqDate.m
|
|
|
4
4
|
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "./field/bqDateTime.mjs";
|
|
5
5
|
import { BQFieldMode, BQFieldModeSchema } from "./field/bqFieldMode.mjs";
|
|
6
6
|
import { BQFieldType, BQFieldTypeSchema } from "./field/bqFieldType.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { zBQFloat } from "./field/bqFloat.mjs";
|
|
8
8
|
import { zBQInt } from "./field/bqInt.mjs";
|
|
9
9
|
import { BQInt64, zBQInt64 } from "./field/bqInt64.mjs";
|
|
10
10
|
import { BQNumeric, zBQNumeric } from "./field/bqNumeric.mjs";
|
|
@@ -18,4 +18,4 @@ import { LanguageBQRow, languageBQRow } from "./lookup/language.mjs";
|
|
|
18
18
|
import { PartitionType, partitionType } from "./partitionType.mjs";
|
|
19
19
|
import { BQField, zodToBQSchema } from "./zodToBQDefinition.mjs";
|
|
20
20
|
import { BigqueryLoadFormat, Dataset, LoadData, LoadStreamTableProps, LoadTableProps, MergeTableProps, QueryInput, Table, TableDefinition } from "./types.mjs";
|
|
21
|
-
export { BQBool, BQBytes, BQDate, BQDateTime, BQDatetime, BQField, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema,
|
|
21
|
+
export { BQBool, BQBytes, BQDate, BQDateTime, BQDatetime, BQField, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema, BQInt64, BQNumeric, BQString, BQTime, BQTimestamp, BigqueryLoadFormat, CountryBQRow, Dataset, GoogleAdsAccountBQRow, GoogleCloudBQRow, LanguageBQRow, LoadData, LoadStreamTableProps, LoadTableProps, MergeTableProps, PartitionType, QueryInput, Table, TableDefinition, countryBQRow, decodeBQDate, decodeBQDateTime, encodeBQDate, encodeBQDateTime, googleAdsAccountBQRow, googleCloudBQRow, languageBQRow, partitionType, zBQBytes, zBQFloat, zBQInt, zBQInt64, zBQNumeric, zBQTime, zLuxonDate, zLuxonDateTime, zodToBQSchema };
|
|
@@ -4,7 +4,7 @@ import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "./field/bqDate.m
|
|
|
4
4
|
import { BQDateTime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "./field/bqDateTime.mjs";
|
|
5
5
|
import { BQFieldMode, BQFieldModeSchema } from "./field/bqFieldMode.mjs";
|
|
6
6
|
import { BQFieldType, BQFieldTypeSchema } from "./field/bqFieldType.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { zBQFloat } from "./field/bqFloat.mjs";
|
|
8
8
|
import { zBQInt } from "./field/bqInt.mjs";
|
|
9
9
|
import { BQInt64, zBQInt64 } from "./field/bqInt64.mjs";
|
|
10
10
|
import { BQNumeric, zBQNumeric } from "./field/bqNumeric.mjs";
|
|
@@ -17,4 +17,4 @@ import { googleCloudBQRow } from "./lookup/googleCloud.mjs";
|
|
|
17
17
|
import { languageBQRow } from "./lookup/language.mjs";
|
|
18
18
|
import { partitionType } from "./partitionType.mjs";
|
|
19
19
|
import { zodToBQSchema } from "./zodToBQDefinition.mjs";
|
|
20
|
-
export { BQBool, BQBytes, BQDate, BQDateTime, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema,
|
|
20
|
+
export { BQBool, BQBytes, BQDate, BQDateTime, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema, BQInt64, BQNumeric, BQString, BQTime, BQTimestamp, countryBQRow, decodeBQDate, decodeBQDateTime, encodeBQDate, encodeBQDateTime, googleAdsAccountBQRow, googleCloudBQRow, languageBQRow, partitionType, zBQBytes, zBQFloat, zBQInt, zBQInt64, zBQNumeric, zBQTime, zLuxonDate, zLuxonDateTime, zodToBQSchema };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_googleCloud_bigquery__shared_field_bqDateTime = require("../field/bqDateTime.cjs");
|
|
3
|
-
const
|
|
3
|
+
const require_googleCloud_bigquery__shared_field_bqStringNullable = require("../field/bqStringNullable.cjs");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
//#region src/googleCloud/bigquery/_shared/lookup/country.ts
|
|
6
6
|
/**
|
|
@@ -12,8 +12,8 @@ const countryBQRow = zod.z.object({
|
|
|
12
12
|
country: zod.z.string(),
|
|
13
13
|
alpha2: zod.z.string().nullable(),
|
|
14
14
|
alpha3: zod.z.string().nullable(),
|
|
15
|
-
google_ads_id:
|
|
16
|
-
meta_id:
|
|
15
|
+
google_ads_id: require_googleCloud_bigquery__shared_field_bqStringNullable.BQStringNullable,
|
|
16
|
+
meta_id: require_googleCloud_bigquery__shared_field_bqStringNullable.BQStringNullable,
|
|
17
17
|
inserted_at: require_googleCloud_bigquery__shared_field_bqDateTime.BQDateTime.transform(require_googleCloud_bigquery__shared_field_bqDateTime.decodeBQDateTime)
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BQDateTime, decodeBQDateTime } from "../field/bqDateTime.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { BQStringNullable } from "../field/bqStringNullable.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/googleCloud/bigquery/_shared/lookup/country.ts
|
|
5
5
|
/**
|
|
@@ -11,8 +11,8 @@ const countryBQRow = z.object({
|
|
|
11
11
|
country: z.string(),
|
|
12
12
|
alpha2: z.string().nullable(),
|
|
13
13
|
alpha3: z.string().nullable(),
|
|
14
|
-
google_ads_id:
|
|
15
|
-
meta_id:
|
|
14
|
+
google_ads_id: BQStringNullable,
|
|
15
|
+
meta_id: BQStringNullable,
|
|
16
16
|
inserted_at: BQDateTime.transform(decodeBQDateTime)
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_googleCloud_bigquery__shared_field_bqDateTime = require("../field/bqDateTime.cjs");
|
|
3
|
-
const
|
|
3
|
+
const require_googleCloud_bigquery__shared_field_bqStringNullable = require("../field/bqStringNullable.cjs");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
//#region src/googleCloud/bigquery/_shared/lookup/language.ts
|
|
6
6
|
/**
|
|
@@ -11,8 +11,8 @@ let zod = require("zod");
|
|
|
11
11
|
const languageBQRow = zod.z.object({
|
|
12
12
|
language: zod.z.string(),
|
|
13
13
|
iso2: zod.z.string().nullable(),
|
|
14
|
-
google_ads_id:
|
|
15
|
-
meta_id:
|
|
14
|
+
google_ads_id: require_googleCloud_bigquery__shared_field_bqStringNullable.BQStringNullable,
|
|
15
|
+
meta_id: require_googleCloud_bigquery__shared_field_bqStringNullable.BQStringNullable,
|
|
16
16
|
inserted_at: require_googleCloud_bigquery__shared_field_bqDateTime.BQDateTime.transform(require_googleCloud_bigquery__shared_field_bqDateTime.decodeBQDateTime)
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BQDateTime, decodeBQDateTime } from "../field/bqDateTime.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { BQStringNullable } from "../field/bqStringNullable.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/googleCloud/bigquery/_shared/lookup/language.ts
|
|
5
5
|
/**
|
|
@@ -10,8 +10,8 @@ import { z } from "zod";
|
|
|
10
10
|
const languageBQRow = z.object({
|
|
11
11
|
language: z.string(),
|
|
12
12
|
iso2: z.string().nullable(),
|
|
13
|
-
google_ads_id:
|
|
14
|
-
meta_id:
|
|
13
|
+
google_ads_id: BQStringNullable,
|
|
14
|
+
meta_id: BQStringNullable,
|
|
15
15
|
inserted_at: BQDateTime.transform(decodeBQDateTime)
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
@@ -3,14 +3,14 @@ import { fileType } from "../../../file/_shared/fileType.cjs";
|
|
|
3
3
|
import { PartitionType } from "./partitionType.cjs";
|
|
4
4
|
import { BQField } from "./zodToBQDefinition.cjs";
|
|
5
5
|
import { GoogleCloudStorage } from "../../storage/server/GoogleCloudStorage.cjs";
|
|
6
|
-
import {
|
|
6
|
+
import { Query } from "@google-cloud/bigquery";
|
|
7
7
|
//#region src/googleCloud/bigquery/_shared/types.d.ts
|
|
8
8
|
/** The only load formats this library can actually serialise/pass through for loadTable/loadStreamTable. */
|
|
9
9
|
export type BigqueryLoadFormat = typeof fileType.CSV | typeof fileType.JSON_NEWLINE | typeof fileType.PARQUET;
|
|
10
10
|
export type TableDefinition = {
|
|
11
|
-
projectId
|
|
11
|
+
projectId: string;
|
|
12
12
|
datasetId: string;
|
|
13
|
-
tableId
|
|
13
|
+
tableId: string;
|
|
14
14
|
options?: {
|
|
15
15
|
location?: string;
|
|
16
16
|
schema: BQField[];
|
|
@@ -26,7 +26,7 @@ export type TableDefinition = {
|
|
|
26
26
|
export type QueryInput = string | {
|
|
27
27
|
query: string;
|
|
28
28
|
location?: string;
|
|
29
|
-
params:
|
|
29
|
+
params: NonNullable<Query["params"]>;
|
|
30
30
|
};
|
|
31
31
|
export type Dataset = {
|
|
32
32
|
id: string;
|
|
@@ -48,12 +48,14 @@ export type LoadData<TData> = {
|
|
|
48
48
|
table: TableDefinition & {
|
|
49
49
|
tableId: string;
|
|
50
50
|
};
|
|
51
|
+
autodetect?: boolean;
|
|
52
|
+
schema?: BQField[];
|
|
51
53
|
};
|
|
52
54
|
export type LoadTableProps = LoadData<any[]>;
|
|
53
55
|
export type LoadStreamTableProps = LoadData<RowSource<any>>;
|
|
54
56
|
export type MergeTableProps = Omit<LoadData<any[]>, "table"> & {
|
|
55
57
|
table: LoadData<any[]>["table"] & {
|
|
56
|
-
|
|
58
|
+
mergeColumns: string[];
|
|
57
59
|
updateColumns: string[];
|
|
58
60
|
};
|
|
59
61
|
};
|
|
@@ -3,14 +3,14 @@ import { fileType } from "../../../file/_shared/fileType.mjs";
|
|
|
3
3
|
import { PartitionType } from "./partitionType.mjs";
|
|
4
4
|
import { BQField } from "./zodToBQDefinition.mjs";
|
|
5
5
|
import { GoogleCloudStorage } from "../../storage/server/GoogleCloudStorage.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { Query } from "@google-cloud/bigquery";
|
|
7
7
|
//#region src/googleCloud/bigquery/_shared/types.d.ts
|
|
8
8
|
/** The only load formats this library can actually serialise/pass through for loadTable/loadStreamTable. */
|
|
9
9
|
export type BigqueryLoadFormat = typeof fileType.CSV | typeof fileType.JSON_NEWLINE | typeof fileType.PARQUET;
|
|
10
10
|
export type TableDefinition = {
|
|
11
|
-
projectId
|
|
11
|
+
projectId: string;
|
|
12
12
|
datasetId: string;
|
|
13
|
-
tableId
|
|
13
|
+
tableId: string;
|
|
14
14
|
options?: {
|
|
15
15
|
location?: string;
|
|
16
16
|
schema: BQField[];
|
|
@@ -26,7 +26,7 @@ export type TableDefinition = {
|
|
|
26
26
|
export type QueryInput = string | {
|
|
27
27
|
query: string;
|
|
28
28
|
location?: string;
|
|
29
|
-
params:
|
|
29
|
+
params: NonNullable<Query["params"]>;
|
|
30
30
|
};
|
|
31
31
|
export type Dataset = {
|
|
32
32
|
id: string;
|
|
@@ -48,12 +48,14 @@ export type LoadData<TData> = {
|
|
|
48
48
|
table: TableDefinition & {
|
|
49
49
|
tableId: string;
|
|
50
50
|
};
|
|
51
|
+
autodetect?: boolean;
|
|
52
|
+
schema?: BQField[];
|
|
51
53
|
};
|
|
52
54
|
export type LoadTableProps = LoadData<any[]>;
|
|
53
55
|
export type LoadStreamTableProps = LoadData<RowSource<any>>;
|
|
54
56
|
export type MergeTableProps = Omit<LoadData<any[]>, "table"> & {
|
|
55
57
|
table: LoadData<any[]>["table"] & {
|
|
56
|
-
|
|
58
|
+
mergeColumns: string[];
|
|
57
59
|
updateColumns: string[];
|
|
58
60
|
};
|
|
59
61
|
};
|
|
@@ -5,14 +5,15 @@ const getBqType = (schema) => {
|
|
|
5
5
|
if ("bq:date" === schema.description) return "DATE";
|
|
6
6
|
if ("bq:datetime" === schema.description) return "DATETIME";
|
|
7
7
|
if ("bq:int" === schema.description) return "INTEGER";
|
|
8
|
+
if ("bq:float" === schema.description) return "FLOAT";
|
|
8
9
|
if ("bq:numeric" === schema.description) return "NUMERIC";
|
|
9
10
|
if ("bq:int64" === schema.description) return "INTEGER";
|
|
10
11
|
if ("bq:time" === schema.description) return "TIME";
|
|
11
12
|
if ("bq:bytes" === schema.description) return "BYTES";
|
|
12
13
|
if (schema instanceof zod.z.ZodString || schema instanceof zod.z.ZodEnum) return "STRING";
|
|
13
|
-
if (schema instanceof zod.z.ZodNumber) return "FLOAT";
|
|
14
14
|
if (schema instanceof zod.z.ZodBoolean) return "BOOLEAN";
|
|
15
15
|
if (schema instanceof zod.z.ZodDate) return "TIMESTAMP";
|
|
16
|
+
if (schema instanceof zod.z.ZodNumber) throw new Error("A BigQuery number field must be tagged zBQInt or zBQFloat - plain z.number() is ambiguous between INTEGER and FLOAT.");
|
|
16
17
|
throw new Error(`Cannot infer a BigQuery type for zod schema "${schema.constructor.name}".`);
|
|
17
18
|
};
|
|
18
19
|
/**
|
|
@@ -37,7 +38,7 @@ const buildBQField = (name, fieldSchema) => {
|
|
|
37
38
|
name,
|
|
38
39
|
type: "RECORD",
|
|
39
40
|
mode,
|
|
40
|
-
|
|
41
|
+
subFields: zodToBQSchema(inner)
|
|
41
42
|
};
|
|
42
43
|
return {
|
|
43
44
|
name,
|
|
@@ -4,14 +4,15 @@ const getBqType = (schema) => {
|
|
|
4
4
|
if ("bq:date" === schema.description) return "DATE";
|
|
5
5
|
if ("bq:datetime" === schema.description) return "DATETIME";
|
|
6
6
|
if ("bq:int" === schema.description) return "INTEGER";
|
|
7
|
+
if ("bq:float" === schema.description) return "FLOAT";
|
|
7
8
|
if ("bq:numeric" === schema.description) return "NUMERIC";
|
|
8
9
|
if ("bq:int64" === schema.description) return "INTEGER";
|
|
9
10
|
if ("bq:time" === schema.description) return "TIME";
|
|
10
11
|
if ("bq:bytes" === schema.description) return "BYTES";
|
|
11
12
|
if (schema instanceof z.ZodString || schema instanceof z.ZodEnum) return "STRING";
|
|
12
|
-
if (schema instanceof z.ZodNumber) return "FLOAT";
|
|
13
13
|
if (schema instanceof z.ZodBoolean) return "BOOLEAN";
|
|
14
14
|
if (schema instanceof z.ZodDate) return "TIMESTAMP";
|
|
15
|
+
if (schema instanceof z.ZodNumber) throw new Error("A BigQuery number field must be tagged zBQInt or zBQFloat - plain z.number() is ambiguous between INTEGER and FLOAT.");
|
|
15
16
|
throw new Error(`Cannot infer a BigQuery type for zod schema "${schema.constructor.name}".`);
|
|
16
17
|
};
|
|
17
18
|
/**
|
|
@@ -36,7 +37,7 @@ const buildBQField = (name, fieldSchema) => {
|
|
|
36
37
|
name,
|
|
37
38
|
type: "RECORD",
|
|
38
39
|
mode,
|
|
39
|
-
|
|
40
|
+
subFields: zodToBQSchema(inner)
|
|
40
41
|
};
|
|
41
42
|
return {
|
|
42
43
|
name,
|
|
@@ -27,7 +27,6 @@ exports.BQFieldMode = require_googleCloud_bigquery__shared_field_bqFieldMode.BQF
|
|
|
27
27
|
exports.BQFieldModeSchema = require_googleCloud_bigquery__shared_field_bqFieldMode.BQFieldModeSchema;
|
|
28
28
|
exports.BQFieldType = require_googleCloud_bigquery__shared_field_bqFieldType.BQFieldType;
|
|
29
29
|
exports.BQFieldTypeSchema = require_googleCloud_bigquery__shared_field_bqFieldType.BQFieldTypeSchema;
|
|
30
|
-
exports.BQFloat = require_googleCloud_bigquery__shared_field_bqFloat.BQFloat;
|
|
31
30
|
exports.BQInt64 = require_googleCloud_bigquery__shared_field_bqInt64.BQInt64;
|
|
32
31
|
exports.BQNumeric = require_googleCloud_bigquery__shared_field_bqNumeric.BQNumeric;
|
|
33
32
|
exports.BQString = require_googleCloud_bigquery__shared_field_bqString.BQString;
|
|
@@ -43,6 +42,7 @@ exports.googleCloudBQRow = require_googleCloud_bigquery__shared_lookup_googleClo
|
|
|
43
42
|
exports.languageBQRow = require_googleCloud_bigquery__shared_lookup_language.languageBQRow;
|
|
44
43
|
exports.partitionType = require_googleCloud_bigquery__shared_partitionType.partitionType;
|
|
45
44
|
exports.zBQBytes = require_googleCloud_bigquery__shared_field_bqBytes.zBQBytes;
|
|
45
|
+
exports.zBQFloat = require_googleCloud_bigquery__shared_field_bqFloat.zBQFloat;
|
|
46
46
|
exports.zBQInt = require_googleCloud_bigquery__shared_field_bqInt.zBQInt;
|
|
47
47
|
exports.zBQInt64 = require_googleCloud_bigquery__shared_field_bqInt64.zBQInt64;
|
|
48
48
|
exports.zBQNumeric = require_googleCloud_bigquery__shared_field_bqNumeric.zBQNumeric;
|
|
@@ -4,7 +4,7 @@ import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/field
|
|
|
4
4
|
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/field/bqDateTime.cjs";
|
|
5
5
|
import { BQFieldMode, BQFieldModeSchema } from "../_shared/field/bqFieldMode.cjs";
|
|
6
6
|
import { BQFieldType, BQFieldTypeSchema } from "../_shared/field/bqFieldType.cjs";
|
|
7
|
-
import {
|
|
7
|
+
import { zBQFloat } from "../_shared/field/bqFloat.cjs";
|
|
8
8
|
import { zBQInt } from "../_shared/field/bqInt.cjs";
|
|
9
9
|
import { BQInt64, zBQInt64 } from "../_shared/field/bqInt64.cjs";
|
|
10
10
|
import { BQNumeric, zBQNumeric } from "../_shared/field/bqNumeric.cjs";
|
|
@@ -19,4 +19,4 @@ import { PartitionType, partitionType } from "../_shared/partitionType.cjs";
|
|
|
19
19
|
import { BQField, zodToBQSchema } from "../_shared/zodToBQDefinition.cjs";
|
|
20
20
|
import { BigqueryLoadFormat, Dataset, LoadData, LoadStreamTableProps, LoadTableProps, MergeTableProps, QueryInput, Table, TableDefinition } from "../_shared/types.cjs";
|
|
21
21
|
import "../_shared/index.cjs";
|
|
22
|
-
export { BQBool, BQBytes, BQDate, BQDateTime, BQDatetime, BQField, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema,
|
|
22
|
+
export { BQBool, BQBytes, BQDate, BQDateTime, BQDatetime, BQField, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema, BQInt64, BQNumeric, BQString, BQTime, BQTimestamp, BigqueryLoadFormat, CountryBQRow, Dataset, GoogleAdsAccountBQRow, GoogleCloudBQRow, LanguageBQRow, LoadData, LoadStreamTableProps, LoadTableProps, MergeTableProps, PartitionType, QueryInput, Table, TableDefinition, countryBQRow, decodeBQDate, decodeBQDateTime, encodeBQDate, encodeBQDateTime, googleAdsAccountBQRow, googleCloudBQRow, languageBQRow, partitionType, zBQBytes, zBQFloat, zBQInt, zBQInt64, zBQNumeric, zBQTime, zLuxonDate, zLuxonDateTime, zodToBQSchema };
|
|
@@ -4,7 +4,7 @@ import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/field
|
|
|
4
4
|
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/field/bqDateTime.mjs";
|
|
5
5
|
import { BQFieldMode, BQFieldModeSchema } from "../_shared/field/bqFieldMode.mjs";
|
|
6
6
|
import { BQFieldType, BQFieldTypeSchema } from "../_shared/field/bqFieldType.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { zBQFloat } from "../_shared/field/bqFloat.mjs";
|
|
8
8
|
import { zBQInt } from "../_shared/field/bqInt.mjs";
|
|
9
9
|
import { BQInt64, zBQInt64 } from "../_shared/field/bqInt64.mjs";
|
|
10
10
|
import { BQNumeric, zBQNumeric } from "../_shared/field/bqNumeric.mjs";
|
|
@@ -19,4 +19,4 @@ import { PartitionType, partitionType } from "../_shared/partitionType.mjs";
|
|
|
19
19
|
import { BQField, zodToBQSchema } from "../_shared/zodToBQDefinition.mjs";
|
|
20
20
|
import { BigqueryLoadFormat, Dataset, LoadData, LoadStreamTableProps, LoadTableProps, MergeTableProps, QueryInput, Table, TableDefinition } from "../_shared/types.mjs";
|
|
21
21
|
import "../_shared/index.mjs";
|
|
22
|
-
export { BQBool, BQBytes, BQDate, BQDateTime, BQDatetime, BQField, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema,
|
|
22
|
+
export { BQBool, BQBytes, BQDate, BQDateTime, BQDatetime, BQField, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema, BQInt64, BQNumeric, BQString, BQTime, BQTimestamp, BigqueryLoadFormat, CountryBQRow, Dataset, GoogleAdsAccountBQRow, GoogleCloudBQRow, LanguageBQRow, LoadData, LoadStreamTableProps, LoadTableProps, MergeTableProps, PartitionType, QueryInput, Table, TableDefinition, countryBQRow, decodeBQDate, decodeBQDateTime, encodeBQDate, encodeBQDateTime, googleAdsAccountBQRow, googleCloudBQRow, languageBQRow, partitionType, zBQBytes, zBQFloat, zBQInt, zBQInt64, zBQNumeric, zBQTime, zLuxonDate, zLuxonDateTime, zodToBQSchema };
|