@8ms/helpers 3.2.1 → 3.2.3
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 +0 -1
- package/dist/adverity/server/getJobs.d.cts +0 -1
- package/dist/adverity/server/getJobs.d.mts +0 -1
- package/dist/adverity/server/getJobs.mjs +0 -1
- package/dist/aws/ecs/server/AwsEcs.cjs +3 -4
- package/dist/aws/ecs/server/AwsEcs.mjs +3 -4
- package/dist/aws/glue/server/AwsGlue.cjs +0 -1
- package/dist/aws/glue/server/AwsGlue.mjs +0 -1
- package/dist/aws/lambda/server/AwsLambda.cjs +0 -1
- package/dist/aws/lambda/server/AwsLambda.mjs +0 -1
- package/dist/aws/s3/server/AwsS3.cjs +4 -5
- package/dist/aws/s3/server/AwsS3.mjs +4 -5
- package/dist/aws/server/getAwsConfigObject.cjs +8 -0
- package/dist/aws/server/getAwsConfigObject.d.cts +4 -0
- package/dist/aws/server/getAwsConfigObject.d.mts +4 -0
- package/dist/aws/server/getAwsConfigObject.mjs +7 -0
- package/dist/aws/server/{getAwsConfig.mjs → getGcpAwsConfig.cjs} +3 -15
- package/dist/aws/server/getGcpAwsConfig.d.cts +4 -0
- package/dist/aws/server/getGcpAwsConfig.d.mts +4 -0
- package/dist/aws/server/{getAwsConfig.cjs → getGcpAwsConfig.mjs} +2 -18
- package/dist/aws/server/getVercelAwsConfig.cjs +8 -0
- package/dist/aws/server/getVercelAwsConfig.d.cts +4 -0
- package/dist/aws/server/getVercelAwsConfig.d.mts +4 -0
- package/dist/aws/server/getVercelAwsConfig.mjs +7 -0
- package/dist/aws/server/index.cjs +6 -4
- package/dist/aws/server/index.d.cts +5 -2
- package/dist/aws/server/index.d.mts +5 -2
- package/dist/aws/server/index.mjs +4 -2
- package/dist/aws/server/types.d.cts +16 -0
- package/dist/aws/server/types.d.mts +16 -0
- package/dist/brightData/webScraperIde/server/getRealtime.cjs +1 -1
- package/dist/brightData/webScraperIde/server/getRealtime.mjs +1 -1
- package/dist/crypto/server/getMd5.cjs +0 -1
- package/dist/crypto/server/getMd5.mjs +0 -1
- package/dist/crypto/server/getSha256.cjs +0 -1
- package/dist/crypto/server/getSha256.mjs +0 -1
- package/dist/date/_shared/index.cjs +2 -2
- package/dist/date/_shared/index.mjs +2 -2
- package/dist/date/client/index.cjs +2 -2
- package/dist/date/client/index.mjs +2 -2
- package/dist/date/server/index.cjs +2 -2
- package/dist/date/server/index.mjs +2 -2
- package/dist/drizzle/server/Drizzle.cjs +6 -78
- package/dist/drizzle/server/Drizzle.d.cts +1 -19
- package/dist/drizzle/server/Drizzle.d.mts +1 -19
- package/dist/drizzle/server/Drizzle.mjs +4 -73
- package/dist/drizzle/server/getDrizzleMysqlClient.cjs +28 -0
- package/dist/drizzle/server/getDrizzleMysqlClient.d.cts +4 -0
- package/dist/drizzle/server/getDrizzleMysqlClient.d.mts +4 -0
- package/dist/drizzle/server/getDrizzleMysqlClient.mjs +27 -0
- package/dist/drizzle/server/getDrizzlePlanetScaleClient.cjs +21 -0
- package/dist/drizzle/server/getDrizzlePlanetScaleClient.d.cts +4 -0
- package/dist/drizzle/server/getDrizzlePlanetScaleClient.d.mts +4 -0
- package/dist/drizzle/server/getDrizzlePlanetScaleClient.mjs +20 -0
- package/dist/drizzle/server/getDrizzlePostgresClient.cjs +26 -0
- package/dist/drizzle/server/getDrizzlePostgresClient.d.cts +4 -0
- package/dist/drizzle/server/getDrizzlePostgresClient.d.mts +4 -0
- package/dist/drizzle/server/getDrizzlePostgresClient.mjs +25 -0
- package/dist/drizzle/server/index.cjs +0 -3
- package/dist/drizzle/server/index.d.cts +3 -2
- package/dist/drizzle/server/index.d.mts +3 -2
- package/dist/drizzle/server/index.mjs +2 -2
- package/dist/drizzle/server/resolveDrizzleConfig.cjs +18 -0
- package/dist/drizzle/server/resolveDrizzleConfig.d.cts +7 -0
- package/dist/drizzle/server/resolveDrizzleConfig.d.mts +7 -0
- package/dist/drizzle/server/resolveDrizzleConfig.mjs +17 -0
- package/dist/drizzle/server/types.cjs +0 -0
- package/dist/drizzle/server/types.d.cts +19 -0
- package/dist/drizzle/server/types.d.mts +19 -0
- package/dist/drizzle/server/types.mjs +1 -0
- package/dist/file/_shared/getFileKey.cjs +0 -1
- package/dist/file/_shared/getFileKey.mjs +0 -1
- package/dist/googleAds/keywordPlanner/_shared/bigquery.cjs +17 -17
- package/dist/googleAds/keywordPlanner/_shared/bigquery.d.cts +1 -1
- package/dist/googleAds/keywordPlanner/_shared/bigquery.d.mts +1 -1
- package/dist/googleAds/keywordPlanner/_shared/bigquery.mjs +3 -3
- package/dist/googleAds/keywordPlanner/_shared/getKwpTimeframe.cjs +1 -1
- package/dist/googleAds/keywordPlanner/_shared/getKwpTimeframe.mjs +1 -1
- package/dist/googleAds/keywordPlanner/server/index.cjs +1 -1
- package/dist/googleAds/keywordPlanner/server/index.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqBool.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqBool.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqBool.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqBool.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqBytes.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqBytes.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqBytes.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqBytes.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqDate.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqDate.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqDate.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqDate.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqDateTime.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqDateTime.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqDateTime.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqDateTime.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFieldMode.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFieldMode.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFieldMode.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFieldMode.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFieldType.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFieldType.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFieldType.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFieldType.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFloat.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFloat.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFloat.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqFloat.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqInt.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/field/bqInt.d.cts +4 -0
- package/dist/googleCloud/bigquery/_shared/field/bqInt.d.mts +4 -0
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqInt.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqInt64.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqInt64.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqInt64.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqInt64.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqNumeric.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqNumeric.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqNumeric.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqNumeric.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqString.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqString.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqString.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqString.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqTime.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqTime.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqTime.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqTime.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqTimestamp.cjs +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqTimestamp.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqTimestamp.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_field → field}/bqTimestamp.mjs +1 -1
- package/dist/googleCloud/bigquery/_shared/index.cjs +46 -46
- package/dist/googleCloud/bigquery/_shared/index.d.cts +18 -18
- package/dist/googleCloud/bigquery/_shared/index.d.mts +18 -18
- package/dist/googleCloud/bigquery/_shared/index.mjs +17 -17
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/country.cjs +3 -3
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/country.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/country.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/country.mjs +2 -2
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/googleAdsAccount.cjs +3 -3
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/googleAdsAccount.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/googleAdsAccount.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/googleAdsAccount.mjs +2 -2
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/googleCloud.cjs +3 -3
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/googleCloud.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/googleCloud.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/googleCloud.mjs +2 -2
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/language.cjs +3 -3
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/language.d.cts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/language.d.mts +1 -1
- package/dist/googleCloud/bigquery/_shared/{_lookup → lookup}/language.mjs +2 -2
- package/dist/googleCloud/bigquery/_shared/types.cjs +0 -0
- package/dist/googleCloud/bigquery/_shared/{tableDefinition.d.cts → types.d.cts} +1 -1
- package/dist/googleCloud/bigquery/_shared/{tableDefinition.d.mts → types.d.mts} +1 -1
- package/dist/googleCloud/bigquery/_shared/types.mjs +1 -0
- package/dist/googleCloud/bigquery/_shared/zodToBQDefinition.d.cts +2 -2
- package/dist/googleCloud/bigquery/_shared/zodToBQDefinition.d.mts +2 -2
- package/dist/googleCloud/bigquery/client/index.cjs +46 -46
- package/dist/googleCloud/bigquery/client/index.d.cts +18 -18
- package/dist/googleCloud/bigquery/client/index.d.mts +18 -18
- package/dist/googleCloud/bigquery/client/index.mjs +17 -17
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.d.cts +0 -1
- package/dist/googleCloud/bigquery/server/GoogleCloudBigquery.d.mts +0 -1
- package/dist/googleCloud/bigquery/server/index.cjs +46 -46
- package/dist/googleCloud/bigquery/server/index.d.cts +18 -18
- package/dist/googleCloud/bigquery/server/index.d.mts +18 -18
- package/dist/googleCloud/bigquery/server/index.mjs +17 -17
- package/dist/googleCloud/drive/server/GoogleCloudDrive.cjs +1 -1
- package/dist/googleCloud/drive/server/GoogleCloudDrive.mjs +1 -1
- package/dist/lodash/_shared/index.cjs +3 -3
- package/dist/lodash/_shared/index.mjs +3 -3
- package/dist/lodash/client/index.cjs +3 -3
- package/dist/lodash/client/index.mjs +3 -3
- package/dist/lodash/server/index.cjs +3 -3
- package/dist/lodash/server/index.mjs +3 -3
- package/dist/prisma/server/Prisma.cjs +7 -31
- package/dist/prisma/server/Prisma.d.cts +1 -21
- package/dist/prisma/server/Prisma.d.mts +1 -21
- package/dist/prisma/server/Prisma.mjs +5 -26
- package/dist/prisma/server/getPrismaMysqlAdapter.cjs +13 -0
- package/dist/prisma/server/getPrismaMysqlAdapter.d.cts +4 -0
- package/dist/prisma/server/getPrismaMysqlAdapter.d.mts +4 -0
- package/dist/prisma/server/getPrismaMysqlAdapter.mjs +12 -0
- package/dist/prisma/server/getPrismaPlanetScaleAdapter.cjs +13 -0
- package/dist/prisma/server/getPrismaPlanetScaleAdapter.d.cts +4 -0
- package/dist/prisma/server/getPrismaPlanetScaleAdapter.d.mts +4 -0
- package/dist/prisma/server/getPrismaPlanetScaleAdapter.mjs +12 -0
- package/dist/prisma/server/getPrismaPostgresAdapter.cjs +13 -0
- package/dist/prisma/server/getPrismaPostgresAdapter.d.cts +3 -0
- package/dist/prisma/server/getPrismaPostgresAdapter.d.mts +3 -0
- package/dist/prisma/server/getPrismaPostgresAdapter.mjs +12 -0
- package/dist/prisma/server/index.cjs +0 -3
- package/dist/prisma/server/index.d.cts +3 -2
- package/dist/prisma/server/index.d.mts +3 -2
- package/dist/prisma/server/index.mjs +2 -2
- package/dist/prisma/server/types.cjs +0 -0
- package/dist/prisma/server/types.d.cts +20 -0
- package/dist/prisma/server/types.d.mts +20 -0
- package/dist/prisma/server/types.mjs +1 -0
- package/dist/react/client/hooks/useFontReady.cjs +1 -1
- package/dist/react/client/hooks/useFontReady.mjs +1 -1
- package/dist/string/_shared/getString.cjs +1 -2
- package/dist/string/_shared/getString.mjs +1 -2
- package/dist/string/_shared/index.cjs +1 -1
- package/dist/string/_shared/index.mjs +1 -1
- package/dist/string/client/index.cjs +2 -2
- package/dist/string/client/index.mjs +2 -2
- package/dist/string/server/index.cjs +1 -1
- package/dist/string/server/index.mjs +1 -1
- package/dist/swr/client/swr.d.cts +0 -1
- package/dist/swr/client/swr.d.mts +0 -1
- package/dist/url/server/writeUrlContents.cjs +0 -1
- package/dist/url/server/writeUrlContents.mjs +0 -1
- package/dist/util/_shared/defaultTo.cjs +1 -1
- package/dist/util/_shared/defaultTo.mjs +1 -1
- package/dist/util/server/index.cjs +2 -2
- package/dist/util/server/index.mjs +2 -2
- package/package.json +106 -58
- package/dist/aws/server/getAwsConfig.d.cts +0 -19
- package/dist/aws/server/getAwsConfig.d.mts +0 -19
- package/dist/googleCloud/bigquery/_shared/_field/bqInt.d.cts +0 -4
- package/dist/googleCloud/bigquery/_shared/_field/bqInt.d.mts +0 -4
- /package/dist/{googleCloud/bigquery/_shared/tableDefinition.cjs → aws/server/types.cjs} +0 -0
- /package/dist/{googleCloud/bigquery/_shared/tableDefinition.mjs → aws/server/types.mjs} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { BQBool } from "../_shared/
|
|
2
|
-
import { BQBytes, zBQBytes } from "../_shared/
|
|
3
|
-
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/
|
|
4
|
-
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/
|
|
5
|
-
import { BQFieldMode, BQFieldModeSchema } from "../_shared/
|
|
6
|
-
import { BQFieldType, BQFieldTypeSchema } from "../_shared/
|
|
7
|
-
import { BQFloat } from "../_shared/
|
|
8
|
-
import { zBQInt } from "../_shared/
|
|
9
|
-
import { BQInt64, zBQInt64 } from "../_shared/
|
|
10
|
-
import { BQNumeric, zBQNumeric } from "../_shared/
|
|
11
|
-
import { BQString } from "../_shared/
|
|
12
|
-
import { BQTime, zBQTime } from "../_shared/
|
|
13
|
-
import { BQTimestamp } from "../_shared/
|
|
14
|
-
import { CountryBQRow, countryBQRow } from "../_shared/
|
|
15
|
-
import { GoogleAdsAccountBQRow, googleAdsAccountBQRow } from "../_shared/
|
|
16
|
-
import { GoogleCloudBQRow, googleCloudBQRow } from "../_shared/
|
|
17
|
-
import { LanguageBQRow, languageBQRow } from "../_shared/
|
|
1
|
+
import { BQBool } from "../_shared/field/bqBool.cjs";
|
|
2
|
+
import { BQBytes, zBQBytes } from "../_shared/field/bqBytes.cjs";
|
|
3
|
+
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/field/bqDate.cjs";
|
|
4
|
+
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/field/bqDateTime.cjs";
|
|
5
|
+
import { BQFieldMode, BQFieldModeSchema } from "../_shared/field/bqFieldMode.cjs";
|
|
6
|
+
import { BQFieldType, BQFieldTypeSchema } from "../_shared/field/bqFieldType.cjs";
|
|
7
|
+
import { BQFloat } from "../_shared/field/bqFloat.cjs";
|
|
8
|
+
import { zBQInt } from "../_shared/field/bqInt.cjs";
|
|
9
|
+
import { BQInt64, zBQInt64 } from "../_shared/field/bqInt64.cjs";
|
|
10
|
+
import { BQNumeric, zBQNumeric } from "../_shared/field/bqNumeric.cjs";
|
|
11
|
+
import { BQString } from "../_shared/field/bqString.cjs";
|
|
12
|
+
import { BQTime, zBQTime } from "../_shared/field/bqTime.cjs";
|
|
13
|
+
import { BQTimestamp } from "../_shared/field/bqTimestamp.cjs";
|
|
14
|
+
import { CountryBQRow, countryBQRow } from "../_shared/lookup/country.cjs";
|
|
15
|
+
import { GoogleAdsAccountBQRow, googleAdsAccountBQRow } from "../_shared/lookup/googleAdsAccount.cjs";
|
|
16
|
+
import { GoogleCloudBQRow, googleCloudBQRow } from "../_shared/lookup/googleCloud.cjs";
|
|
17
|
+
import { LanguageBQRow, languageBQRow } from "../_shared/lookup/language.cjs";
|
|
18
18
|
import { PartitionType, partitionType } from "../_shared/partitionType.cjs";
|
|
19
19
|
import { BQField, zodToBQSchema } from "../_shared/zodToBQDefinition.cjs";
|
|
20
|
-
import { TableDefinition } from "../_shared/
|
|
20
|
+
import { TableDefinition } from "../_shared/types.cjs";
|
|
21
21
|
import "../_shared/index.cjs";
|
|
22
22
|
export { BQBool, BQBytes, BQDate, BQDateTime, BQDatetime, BQField, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema, BQFloat, BQInt64, BQNumeric, BQString, BQTime, BQTimestamp, CountryBQRow, GoogleAdsAccountBQRow, GoogleCloudBQRow, LanguageBQRow, PartitionType, TableDefinition, countryBQRow, decodeBQDate, decodeBQDateTime, encodeBQDate, encodeBQDateTime, googleAdsAccountBQRow, googleCloudBQRow, languageBQRow, partitionType, zBQBytes, zBQInt, zBQInt64, zBQNumeric, zBQTime, zLuxonDate, zLuxonDateTime, zodToBQSchema };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { BQBool } from "../_shared/
|
|
2
|
-
import { BQBytes, zBQBytes } from "../_shared/
|
|
3
|
-
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/
|
|
4
|
-
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/
|
|
5
|
-
import { BQFieldMode, BQFieldModeSchema } from "../_shared/
|
|
6
|
-
import { BQFieldType, BQFieldTypeSchema } from "../_shared/
|
|
7
|
-
import { BQFloat } from "../_shared/
|
|
8
|
-
import { zBQInt } from "../_shared/
|
|
9
|
-
import { BQInt64, zBQInt64 } from "../_shared/
|
|
10
|
-
import { BQNumeric, zBQNumeric } from "../_shared/
|
|
11
|
-
import { BQString } from "../_shared/
|
|
12
|
-
import { BQTime, zBQTime } from "../_shared/
|
|
13
|
-
import { BQTimestamp } from "../_shared/
|
|
14
|
-
import { CountryBQRow, countryBQRow } from "../_shared/
|
|
15
|
-
import { GoogleAdsAccountBQRow, googleAdsAccountBQRow } from "../_shared/
|
|
16
|
-
import { GoogleCloudBQRow, googleCloudBQRow } from "../_shared/
|
|
17
|
-
import { LanguageBQRow, languageBQRow } from "../_shared/
|
|
1
|
+
import { BQBool } from "../_shared/field/bqBool.mjs";
|
|
2
|
+
import { BQBytes, zBQBytes } from "../_shared/field/bqBytes.mjs";
|
|
3
|
+
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/field/bqDate.mjs";
|
|
4
|
+
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/field/bqDateTime.mjs";
|
|
5
|
+
import { BQFieldMode, BQFieldModeSchema } from "../_shared/field/bqFieldMode.mjs";
|
|
6
|
+
import { BQFieldType, BQFieldTypeSchema } from "../_shared/field/bqFieldType.mjs";
|
|
7
|
+
import { BQFloat } from "../_shared/field/bqFloat.mjs";
|
|
8
|
+
import { zBQInt } from "../_shared/field/bqInt.mjs";
|
|
9
|
+
import { BQInt64, zBQInt64 } from "../_shared/field/bqInt64.mjs";
|
|
10
|
+
import { BQNumeric, zBQNumeric } from "../_shared/field/bqNumeric.mjs";
|
|
11
|
+
import { BQString } from "../_shared/field/bqString.mjs";
|
|
12
|
+
import { BQTime, zBQTime } from "../_shared/field/bqTime.mjs";
|
|
13
|
+
import { BQTimestamp } from "../_shared/field/bqTimestamp.mjs";
|
|
14
|
+
import { CountryBQRow, countryBQRow } from "../_shared/lookup/country.mjs";
|
|
15
|
+
import { GoogleAdsAccountBQRow, googleAdsAccountBQRow } from "../_shared/lookup/googleAdsAccount.mjs";
|
|
16
|
+
import { GoogleCloudBQRow, googleCloudBQRow } from "../_shared/lookup/googleCloud.mjs";
|
|
17
|
+
import { LanguageBQRow, languageBQRow } from "../_shared/lookup/language.mjs";
|
|
18
18
|
import { PartitionType, partitionType } from "../_shared/partitionType.mjs";
|
|
19
19
|
import { BQField, zodToBQSchema } from "../_shared/zodToBQDefinition.mjs";
|
|
20
|
-
import { TableDefinition } from "../_shared/
|
|
20
|
+
import { TableDefinition } from "../_shared/types.mjs";
|
|
21
21
|
import "../_shared/index.mjs";
|
|
22
22
|
export { BQBool, BQBytes, BQDate, BQDateTime, BQDatetime, BQField, BQFieldMode, BQFieldModeSchema, BQFieldType, BQFieldTypeSchema, BQFloat, BQInt64, BQNumeric, BQString, BQTime, BQTimestamp, CountryBQRow, GoogleAdsAccountBQRow, GoogleCloudBQRow, LanguageBQRow, PartitionType, TableDefinition, countryBQRow, decodeBQDate, decodeBQDateTime, encodeBQDate, encodeBQDateTime, googleAdsAccountBQRow, googleCloudBQRow, languageBQRow, partitionType, zBQBytes, zBQInt, zBQInt64, zBQNumeric, zBQTime, zLuxonDate, zLuxonDateTime, zodToBQSchema };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { BQBool } from "../_shared/
|
|
2
|
-
import { BQBytes, zBQBytes } from "../_shared/
|
|
3
|
-
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/
|
|
4
|
-
import { BQDateTime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/
|
|
5
|
-
import { BQFieldMode, BQFieldModeSchema } from "../_shared/
|
|
6
|
-
import { BQFieldType, BQFieldTypeSchema } from "../_shared/
|
|
7
|
-
import { BQFloat } from "../_shared/
|
|
8
|
-
import { zBQInt } from "../_shared/
|
|
9
|
-
import { BQInt64, zBQInt64 } from "../_shared/
|
|
10
|
-
import { BQNumeric, zBQNumeric } from "../_shared/
|
|
11
|
-
import { BQString } from "../_shared/
|
|
12
|
-
import { BQTime, zBQTime } from "../_shared/
|
|
13
|
-
import { BQTimestamp } from "../_shared/
|
|
14
|
-
import { countryBQRow } from "../_shared/
|
|
15
|
-
import { googleAdsAccountBQRow } from "../_shared/
|
|
16
|
-
import { googleCloudBQRow } from "../_shared/
|
|
17
|
-
import { languageBQRow } from "../_shared/
|
|
1
|
+
import { BQBool } from "../_shared/field/bqBool.mjs";
|
|
2
|
+
import { BQBytes, zBQBytes } from "../_shared/field/bqBytes.mjs";
|
|
3
|
+
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/field/bqDate.mjs";
|
|
4
|
+
import { BQDateTime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/field/bqDateTime.mjs";
|
|
5
|
+
import { BQFieldMode, BQFieldModeSchema } from "../_shared/field/bqFieldMode.mjs";
|
|
6
|
+
import { BQFieldType, BQFieldTypeSchema } from "../_shared/field/bqFieldType.mjs";
|
|
7
|
+
import { BQFloat } from "../_shared/field/bqFloat.mjs";
|
|
8
|
+
import { zBQInt } from "../_shared/field/bqInt.mjs";
|
|
9
|
+
import { BQInt64, zBQInt64 } from "../_shared/field/bqInt64.mjs";
|
|
10
|
+
import { BQNumeric, zBQNumeric } from "../_shared/field/bqNumeric.mjs";
|
|
11
|
+
import { BQString } from "../_shared/field/bqString.mjs";
|
|
12
|
+
import { BQTime, zBQTime } from "../_shared/field/bqTime.mjs";
|
|
13
|
+
import { BQTimestamp } from "../_shared/field/bqTimestamp.mjs";
|
|
14
|
+
import { countryBQRow } from "../_shared/lookup/country.mjs";
|
|
15
|
+
import { googleAdsAccountBQRow } from "../_shared/lookup/googleAdsAccount.mjs";
|
|
16
|
+
import { googleCloudBQRow } from "../_shared/lookup/googleCloud.mjs";
|
|
17
|
+
import { languageBQRow } from "../_shared/lookup/language.mjs";
|
|
18
18
|
import { partitionType } from "../_shared/partitionType.mjs";
|
|
19
19
|
import { zodToBQSchema } from "../_shared/zodToBQDefinition.mjs";
|
|
20
20
|
import "../_shared/index.mjs";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/_shared/BaseNamespace.cjs";
|
|
2
2
|
import { GoogleCloudStorage } from "../../storage/server/GoogleCloudStorage.cjs";
|
|
3
|
-
import "../../storage/server/index.cjs";
|
|
4
3
|
import { BigQuery, DatasetResource, QueryOptions } from "@google-cloud/bigquery";
|
|
5
4
|
//#region src/googleCloud/bigquery/server/GoogleCloudBigquery.d.ts
|
|
6
5
|
type LoadData = {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/_shared/BaseNamespace.mjs";
|
|
2
2
|
import { GoogleCloudStorage } from "../../storage/server/GoogleCloudStorage.mjs";
|
|
3
|
-
import "../../storage/server/index.mjs";
|
|
4
3
|
import { BigQuery, DatasetResource, QueryOptions } from "@google-cloud/bigquery";
|
|
5
4
|
//#region src/googleCloud/bigquery/server/GoogleCloudBigquery.d.ts
|
|
6
5
|
type LoadData = {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
2
|
+
const require_googleCloud_bigquery__shared_field_bqBool = require("../_shared/field/bqBool.cjs");
|
|
3
|
+
const require_googleCloud_bigquery__shared_field_bqBytes = require("../_shared/field/bqBytes.cjs");
|
|
4
|
+
const require_googleCloud_bigquery__shared_field_bqDate = require("../_shared/field/bqDate.cjs");
|
|
5
|
+
const require_googleCloud_bigquery__shared_field_bqDateTime = require("../_shared/field/bqDateTime.cjs");
|
|
6
|
+
const require_googleCloud_bigquery__shared_field_bqFieldMode = require("../_shared/field/bqFieldMode.cjs");
|
|
7
|
+
const require_googleCloud_bigquery__shared_field_bqFieldType = require("../_shared/field/bqFieldType.cjs");
|
|
8
|
+
const require_googleCloud_bigquery__shared_field_bqFloat = require("../_shared/field/bqFloat.cjs");
|
|
9
|
+
const require_googleCloud_bigquery__shared_field_bqInt = require("../_shared/field/bqInt.cjs");
|
|
10
|
+
const require_googleCloud_bigquery__shared_field_bqInt64 = require("../_shared/field/bqInt64.cjs");
|
|
11
|
+
const require_googleCloud_bigquery__shared_field_bqNumeric = require("../_shared/field/bqNumeric.cjs");
|
|
12
|
+
const require_googleCloud_bigquery__shared_field_bqString = require("../_shared/field/bqString.cjs");
|
|
13
|
+
const require_googleCloud_bigquery__shared_field_bqTime = require("../_shared/field/bqTime.cjs");
|
|
14
|
+
const require_googleCloud_bigquery__shared_field_bqTimestamp = require("../_shared/field/bqTimestamp.cjs");
|
|
15
|
+
const require_googleCloud_bigquery__shared_lookup_country = require("../_shared/lookup/country.cjs");
|
|
16
|
+
const require_googleCloud_bigquery__shared_lookup_googleAdsAccount = require("../_shared/lookup/googleAdsAccount.cjs");
|
|
17
|
+
const require_googleCloud_bigquery__shared_lookup_googleCloud = require("../_shared/lookup/googleCloud.cjs");
|
|
18
|
+
const require_googleCloud_bigquery__shared_lookup_language = require("../_shared/lookup/language.cjs");
|
|
19
19
|
const require_googleCloud_bigquery__shared_partitionType = require("../_shared/partitionType.cjs");
|
|
20
20
|
const require_googleCloud_bigquery__shared_zodToBQDefinition = require("../_shared/zodToBQDefinition.cjs");
|
|
21
21
|
require("../_shared/index.cjs");
|
|
22
22
|
const require_googleCloud_bigquery_server_GoogleCloudBigquery = require("./GoogleCloudBigquery.cjs");
|
|
23
23
|
const require_googleCloud_bigquery_server_getHandlerPath = require("./getHandlerPath.cjs");
|
|
24
|
-
exports.BQBool =
|
|
25
|
-
exports.BQBytes =
|
|
26
|
-
exports.BQDate =
|
|
27
|
-
exports.BQDateTime =
|
|
28
|
-
exports.BQFieldMode =
|
|
29
|
-
exports.BQFieldModeSchema =
|
|
30
|
-
exports.BQFieldType =
|
|
31
|
-
exports.BQFieldTypeSchema =
|
|
32
|
-
exports.BQFloat =
|
|
33
|
-
exports.BQInt64 =
|
|
34
|
-
exports.BQNumeric =
|
|
35
|
-
exports.BQString =
|
|
36
|
-
exports.BQTime =
|
|
37
|
-
exports.BQTimestamp =
|
|
24
|
+
exports.BQBool = require_googleCloud_bigquery__shared_field_bqBool.BQBool;
|
|
25
|
+
exports.BQBytes = require_googleCloud_bigquery__shared_field_bqBytes.BQBytes;
|
|
26
|
+
exports.BQDate = require_googleCloud_bigquery__shared_field_bqDate.BQDate;
|
|
27
|
+
exports.BQDateTime = require_googleCloud_bigquery__shared_field_bqDateTime.BQDateTime;
|
|
28
|
+
exports.BQFieldMode = require_googleCloud_bigquery__shared_field_bqFieldMode.BQFieldMode;
|
|
29
|
+
exports.BQFieldModeSchema = require_googleCloud_bigquery__shared_field_bqFieldMode.BQFieldModeSchema;
|
|
30
|
+
exports.BQFieldType = require_googleCloud_bigquery__shared_field_bqFieldType.BQFieldType;
|
|
31
|
+
exports.BQFieldTypeSchema = require_googleCloud_bigquery__shared_field_bqFieldType.BQFieldTypeSchema;
|
|
32
|
+
exports.BQFloat = require_googleCloud_bigquery__shared_field_bqFloat.BQFloat;
|
|
33
|
+
exports.BQInt64 = require_googleCloud_bigquery__shared_field_bqInt64.BQInt64;
|
|
34
|
+
exports.BQNumeric = require_googleCloud_bigquery__shared_field_bqNumeric.BQNumeric;
|
|
35
|
+
exports.BQString = require_googleCloud_bigquery__shared_field_bqString.BQString;
|
|
36
|
+
exports.BQTime = require_googleCloud_bigquery__shared_field_bqTime.BQTime;
|
|
37
|
+
exports.BQTimestamp = require_googleCloud_bigquery__shared_field_bqTimestamp.BQTimestamp;
|
|
38
38
|
exports.GoogleCloudBigquery = require_googleCloud_bigquery_server_GoogleCloudBigquery.GoogleCloudBigquery;
|
|
39
|
-
exports.countryBQRow =
|
|
40
|
-
exports.decodeBQDate =
|
|
41
|
-
exports.decodeBQDateTime =
|
|
42
|
-
exports.encodeBQDate =
|
|
43
|
-
exports.encodeBQDateTime =
|
|
39
|
+
exports.countryBQRow = require_googleCloud_bigquery__shared_lookup_country.countryBQRow;
|
|
40
|
+
exports.decodeBQDate = require_googleCloud_bigquery__shared_field_bqDate.decodeBQDate;
|
|
41
|
+
exports.decodeBQDateTime = require_googleCloud_bigquery__shared_field_bqDateTime.decodeBQDateTime;
|
|
42
|
+
exports.encodeBQDate = require_googleCloud_bigquery__shared_field_bqDate.encodeBQDate;
|
|
43
|
+
exports.encodeBQDateTime = require_googleCloud_bigquery__shared_field_bqDateTime.encodeBQDateTime;
|
|
44
44
|
exports.getHandlerPath = require_googleCloud_bigquery_server_getHandlerPath.getHandlerPath;
|
|
45
|
-
exports.googleAdsAccountBQRow =
|
|
46
|
-
exports.googleCloudBQRow =
|
|
47
|
-
exports.languageBQRow =
|
|
45
|
+
exports.googleAdsAccountBQRow = require_googleCloud_bigquery__shared_lookup_googleAdsAccount.googleAdsAccountBQRow;
|
|
46
|
+
exports.googleCloudBQRow = require_googleCloud_bigquery__shared_lookup_googleCloud.googleCloudBQRow;
|
|
47
|
+
exports.languageBQRow = require_googleCloud_bigquery__shared_lookup_language.languageBQRow;
|
|
48
48
|
exports.partitionType = require_googleCloud_bigquery__shared_partitionType.partitionType;
|
|
49
|
-
exports.zBQBytes =
|
|
50
|
-
exports.zBQInt =
|
|
51
|
-
exports.zBQInt64 =
|
|
52
|
-
exports.zBQNumeric =
|
|
53
|
-
exports.zBQTime =
|
|
54
|
-
exports.zLuxonDate =
|
|
55
|
-
exports.zLuxonDateTime =
|
|
49
|
+
exports.zBQBytes = require_googleCloud_bigquery__shared_field_bqBytes.zBQBytes;
|
|
50
|
+
exports.zBQInt = require_googleCloud_bigquery__shared_field_bqInt.zBQInt;
|
|
51
|
+
exports.zBQInt64 = require_googleCloud_bigquery__shared_field_bqInt64.zBQInt64;
|
|
52
|
+
exports.zBQNumeric = require_googleCloud_bigquery__shared_field_bqNumeric.zBQNumeric;
|
|
53
|
+
exports.zBQTime = require_googleCloud_bigquery__shared_field_bqTime.zBQTime;
|
|
54
|
+
exports.zLuxonDate = require_googleCloud_bigquery__shared_field_bqDate.zLuxonDate;
|
|
55
|
+
exports.zLuxonDateTime = require_googleCloud_bigquery__shared_field_bqDateTime.zLuxonDateTime;
|
|
56
56
|
exports.zodToBQSchema = require_googleCloud_bigquery__shared_zodToBQDefinition.zodToBQSchema;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { BQBool } from "../_shared/
|
|
2
|
-
import { BQBytes, zBQBytes } from "../_shared/
|
|
3
|
-
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/
|
|
4
|
-
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/
|
|
5
|
-
import { BQFieldMode, BQFieldModeSchema } from "../_shared/
|
|
6
|
-
import { BQFieldType, BQFieldTypeSchema } from "../_shared/
|
|
7
|
-
import { BQFloat } from "../_shared/
|
|
8
|
-
import { zBQInt } from "../_shared/
|
|
9
|
-
import { BQInt64, zBQInt64 } from "../_shared/
|
|
10
|
-
import { BQNumeric, zBQNumeric } from "../_shared/
|
|
11
|
-
import { BQString } from "../_shared/
|
|
12
|
-
import { BQTime, zBQTime } from "../_shared/
|
|
13
|
-
import { BQTimestamp } from "../_shared/
|
|
14
|
-
import { CountryBQRow, countryBQRow } from "../_shared/
|
|
15
|
-
import { GoogleAdsAccountBQRow, googleAdsAccountBQRow } from "../_shared/
|
|
16
|
-
import { GoogleCloudBQRow, googleCloudBQRow } from "../_shared/
|
|
17
|
-
import { LanguageBQRow, languageBQRow } from "../_shared/
|
|
1
|
+
import { BQBool } from "../_shared/field/bqBool.cjs";
|
|
2
|
+
import { BQBytes, zBQBytes } from "../_shared/field/bqBytes.cjs";
|
|
3
|
+
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/field/bqDate.cjs";
|
|
4
|
+
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/field/bqDateTime.cjs";
|
|
5
|
+
import { BQFieldMode, BQFieldModeSchema } from "../_shared/field/bqFieldMode.cjs";
|
|
6
|
+
import { BQFieldType, BQFieldTypeSchema } from "../_shared/field/bqFieldType.cjs";
|
|
7
|
+
import { BQFloat } from "../_shared/field/bqFloat.cjs";
|
|
8
|
+
import { zBQInt } from "../_shared/field/bqInt.cjs";
|
|
9
|
+
import { BQInt64, zBQInt64 } from "../_shared/field/bqInt64.cjs";
|
|
10
|
+
import { BQNumeric, zBQNumeric } from "../_shared/field/bqNumeric.cjs";
|
|
11
|
+
import { BQString } from "../_shared/field/bqString.cjs";
|
|
12
|
+
import { BQTime, zBQTime } from "../_shared/field/bqTime.cjs";
|
|
13
|
+
import { BQTimestamp } from "../_shared/field/bqTimestamp.cjs";
|
|
14
|
+
import { CountryBQRow, countryBQRow } from "../_shared/lookup/country.cjs";
|
|
15
|
+
import { GoogleAdsAccountBQRow, googleAdsAccountBQRow } from "../_shared/lookup/googleAdsAccount.cjs";
|
|
16
|
+
import { GoogleCloudBQRow, googleCloudBQRow } from "../_shared/lookup/googleCloud.cjs";
|
|
17
|
+
import { LanguageBQRow, languageBQRow } from "../_shared/lookup/language.cjs";
|
|
18
18
|
import { PartitionType, partitionType } from "../_shared/partitionType.cjs";
|
|
19
19
|
import { BQField, zodToBQSchema } from "../_shared/zodToBQDefinition.cjs";
|
|
20
|
-
import { TableDefinition } from "../_shared/
|
|
20
|
+
import { TableDefinition } from "../_shared/types.cjs";
|
|
21
21
|
import "../_shared/index.cjs";
|
|
22
22
|
import { GoogleCloudBigquery, QueryInput } from "./GoogleCloudBigquery.cjs";
|
|
23
23
|
import { getHandlerPath } from "./getHandlerPath.cjs";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { BQBool } from "../_shared/
|
|
2
|
-
import { BQBytes, zBQBytes } from "../_shared/
|
|
3
|
-
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/
|
|
4
|
-
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/
|
|
5
|
-
import { BQFieldMode, BQFieldModeSchema } from "../_shared/
|
|
6
|
-
import { BQFieldType, BQFieldTypeSchema } from "../_shared/
|
|
7
|
-
import { BQFloat } from "../_shared/
|
|
8
|
-
import { zBQInt } from "../_shared/
|
|
9
|
-
import { BQInt64, zBQInt64 } from "../_shared/
|
|
10
|
-
import { BQNumeric, zBQNumeric } from "../_shared/
|
|
11
|
-
import { BQString } from "../_shared/
|
|
12
|
-
import { BQTime, zBQTime } from "../_shared/
|
|
13
|
-
import { BQTimestamp } from "../_shared/
|
|
14
|
-
import { CountryBQRow, countryBQRow } from "../_shared/
|
|
15
|
-
import { GoogleAdsAccountBQRow, googleAdsAccountBQRow } from "../_shared/
|
|
16
|
-
import { GoogleCloudBQRow, googleCloudBQRow } from "../_shared/
|
|
17
|
-
import { LanguageBQRow, languageBQRow } from "../_shared/
|
|
1
|
+
import { BQBool } from "../_shared/field/bqBool.mjs";
|
|
2
|
+
import { BQBytes, zBQBytes } from "../_shared/field/bqBytes.mjs";
|
|
3
|
+
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/field/bqDate.mjs";
|
|
4
|
+
import { BQDateTime, BQDatetime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/field/bqDateTime.mjs";
|
|
5
|
+
import { BQFieldMode, BQFieldModeSchema } from "../_shared/field/bqFieldMode.mjs";
|
|
6
|
+
import { BQFieldType, BQFieldTypeSchema } from "../_shared/field/bqFieldType.mjs";
|
|
7
|
+
import { BQFloat } from "../_shared/field/bqFloat.mjs";
|
|
8
|
+
import { zBQInt } from "../_shared/field/bqInt.mjs";
|
|
9
|
+
import { BQInt64, zBQInt64 } from "../_shared/field/bqInt64.mjs";
|
|
10
|
+
import { BQNumeric, zBQNumeric } from "../_shared/field/bqNumeric.mjs";
|
|
11
|
+
import { BQString } from "../_shared/field/bqString.mjs";
|
|
12
|
+
import { BQTime, zBQTime } from "../_shared/field/bqTime.mjs";
|
|
13
|
+
import { BQTimestamp } from "../_shared/field/bqTimestamp.mjs";
|
|
14
|
+
import { CountryBQRow, countryBQRow } from "../_shared/lookup/country.mjs";
|
|
15
|
+
import { GoogleAdsAccountBQRow, googleAdsAccountBQRow } from "../_shared/lookup/googleAdsAccount.mjs";
|
|
16
|
+
import { GoogleCloudBQRow, googleCloudBQRow } from "../_shared/lookup/googleCloud.mjs";
|
|
17
|
+
import { LanguageBQRow, languageBQRow } from "../_shared/lookup/language.mjs";
|
|
18
18
|
import { PartitionType, partitionType } from "../_shared/partitionType.mjs";
|
|
19
19
|
import { BQField, zodToBQSchema } from "../_shared/zodToBQDefinition.mjs";
|
|
20
|
-
import { TableDefinition } from "../_shared/
|
|
20
|
+
import { TableDefinition } from "../_shared/types.mjs";
|
|
21
21
|
import "../_shared/index.mjs";
|
|
22
22
|
import { GoogleCloudBigquery, QueryInput } from "./GoogleCloudBigquery.mjs";
|
|
23
23
|
import { getHandlerPath } from "./getHandlerPath.mjs";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { BQBool } from "../_shared/
|
|
2
|
-
import { BQBytes, zBQBytes } from "../_shared/
|
|
3
|
-
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/
|
|
4
|
-
import { BQDateTime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/
|
|
5
|
-
import { BQFieldMode, BQFieldModeSchema } from "../_shared/
|
|
6
|
-
import { BQFieldType, BQFieldTypeSchema } from "../_shared/
|
|
7
|
-
import { BQFloat } from "../_shared/
|
|
8
|
-
import { zBQInt } from "../_shared/
|
|
9
|
-
import { BQInt64, zBQInt64 } from "../_shared/
|
|
10
|
-
import { BQNumeric, zBQNumeric } from "../_shared/
|
|
11
|
-
import { BQString } from "../_shared/
|
|
12
|
-
import { BQTime, zBQTime } from "../_shared/
|
|
13
|
-
import { BQTimestamp } from "../_shared/
|
|
14
|
-
import { countryBQRow } from "../_shared/
|
|
15
|
-
import { googleAdsAccountBQRow } from "../_shared/
|
|
16
|
-
import { googleCloudBQRow } from "../_shared/
|
|
17
|
-
import { languageBQRow } from "../_shared/
|
|
1
|
+
import { BQBool } from "../_shared/field/bqBool.mjs";
|
|
2
|
+
import { BQBytes, zBQBytes } from "../_shared/field/bqBytes.mjs";
|
|
3
|
+
import { BQDate, decodeBQDate, encodeBQDate, zLuxonDate } from "../_shared/field/bqDate.mjs";
|
|
4
|
+
import { BQDateTime, decodeBQDateTime, encodeBQDateTime, zLuxonDateTime } from "../_shared/field/bqDateTime.mjs";
|
|
5
|
+
import { BQFieldMode, BQFieldModeSchema } from "../_shared/field/bqFieldMode.mjs";
|
|
6
|
+
import { BQFieldType, BQFieldTypeSchema } from "../_shared/field/bqFieldType.mjs";
|
|
7
|
+
import { BQFloat } from "../_shared/field/bqFloat.mjs";
|
|
8
|
+
import { zBQInt } from "../_shared/field/bqInt.mjs";
|
|
9
|
+
import { BQInt64, zBQInt64 } from "../_shared/field/bqInt64.mjs";
|
|
10
|
+
import { BQNumeric, zBQNumeric } from "../_shared/field/bqNumeric.mjs";
|
|
11
|
+
import { BQString } from "../_shared/field/bqString.mjs";
|
|
12
|
+
import { BQTime, zBQTime } from "../_shared/field/bqTime.mjs";
|
|
13
|
+
import { BQTimestamp } from "../_shared/field/bqTimestamp.mjs";
|
|
14
|
+
import { countryBQRow } from "../_shared/lookup/country.mjs";
|
|
15
|
+
import { googleAdsAccountBQRow } from "../_shared/lookup/googleAdsAccount.mjs";
|
|
16
|
+
import { googleCloudBQRow } from "../_shared/lookup/googleCloud.mjs";
|
|
17
|
+
import { languageBQRow } from "../_shared/lookup/language.mjs";
|
|
18
18
|
import { partitionType } from "../_shared/partitionType.mjs";
|
|
19
19
|
import { zodToBQSchema } from "../_shared/zodToBQDefinition.mjs";
|
|
20
20
|
import "../_shared/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require__class__shared_BaseNamespace = require("../../../_class/_shared/BaseNamespace.cjs");
|
|
3
|
-
const require_util_server_getGzipCompressed = require("../../../util/server/getGzipCompressed.cjs");
|
|
4
3
|
const require_util_server_getGzipDecompressed = require("../../../util/server/getGzipDecompressed.cjs");
|
|
4
|
+
const require_util_server_getGzipCompressed = require("../../../util/server/getGzipCompressed.cjs");
|
|
5
5
|
//#region src/googleCloud/drive/server/GoogleCloudDrive.ts
|
|
6
6
|
var GoogleCloudDrive = class extends require__class__shared_BaseNamespace.BaseNamespace {
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../../_class/_shared/BaseNamespace.mjs";
|
|
2
|
-
import { getGzipCompressed } from "../../../util/server/getGzipCompressed.mjs";
|
|
3
2
|
import { getGzipDecompressed } from "../../../util/server/getGzipDecompressed.mjs";
|
|
3
|
+
import { getGzipCompressed } from "../../../util/server/getGzipCompressed.mjs";
|
|
4
4
|
//#region src/googleCloud/drive/server/GoogleCloudDrive.ts
|
|
5
5
|
var GoogleCloudDrive = class extends BaseNamespace {
|
|
6
6
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_lodash__shared_set = require("./set.cjs");
|
|
3
|
+
const require_lodash__shared_isObject = require("./isObject.cjs");
|
|
4
|
+
const require_lodash__shared_isDate = require("./isDate.cjs");
|
|
2
5
|
const require_lodash__shared_chunk = require("./chunk.cjs");
|
|
3
6
|
const require_lodash__shared_findKey = require("./findKey.cjs");
|
|
4
7
|
const require_lodash__shared_flatten = require("./flatten.cjs");
|
|
5
|
-
const require_lodash__shared_set = require("./set.cjs");
|
|
6
8
|
const require_lodash__shared_trim = require("./trim.cjs");
|
|
7
|
-
const require_lodash__shared_isDate = require("./isDate.cjs");
|
|
8
9
|
const require_lodash__shared_isEmpty = require("./isEmpty.cjs");
|
|
9
10
|
const require_lodash__shared_isEqual = require("./isEqual.cjs");
|
|
10
11
|
const require_lodash__shared_isFunction = require("./isFunction.cjs");
|
|
11
|
-
const require_lodash__shared_isObject = require("./isObject.cjs");
|
|
12
12
|
const require_lodash__shared_merge = require("./merge.cjs");
|
|
13
13
|
const require_lodash__shared_orderBy = require("./orderBy.cjs");
|
|
14
14
|
const require_lodash__shared_unescape = require("./unescape.cjs");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { set } from "./set.mjs";
|
|
2
|
+
import { isObject } from "./isObject.mjs";
|
|
3
|
+
import { isDate } from "./isDate.mjs";
|
|
1
4
|
import { chunk } from "./chunk.mjs";
|
|
2
5
|
import { findKey } from "./findKey.mjs";
|
|
3
6
|
import { flatten } from "./flatten.mjs";
|
|
4
|
-
import { set } from "./set.mjs";
|
|
5
7
|
import { trim } from "./trim.mjs";
|
|
6
|
-
import { isDate } from "./isDate.mjs";
|
|
7
8
|
import { isEmpty } from "./isEmpty.mjs";
|
|
8
9
|
import { isEqual } from "./isEqual.mjs";
|
|
9
10
|
import { isFunction } from "./isFunction.mjs";
|
|
10
|
-
import { isObject } from "./isObject.mjs";
|
|
11
11
|
import { merge } from "./merge.mjs";
|
|
12
12
|
import { orderBy } from "./orderBy.mjs";
|
|
13
13
|
import { unescape } from "./unescape.mjs";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_lodash__shared_set = require("../_shared/set.cjs");
|
|
3
|
+
const require_lodash__shared_isObject = require("../_shared/isObject.cjs");
|
|
4
|
+
const require_lodash__shared_isDate = require("../_shared/isDate.cjs");
|
|
2
5
|
const require_lodash__shared_chunk = require("../_shared/chunk.cjs");
|
|
3
6
|
const require_lodash__shared_findKey = require("../_shared/findKey.cjs");
|
|
4
7
|
const require_lodash__shared_flatten = require("../_shared/flatten.cjs");
|
|
5
|
-
const require_lodash__shared_set = require("../_shared/set.cjs");
|
|
6
8
|
const require_lodash__shared_trim = require("../_shared/trim.cjs");
|
|
7
|
-
const require_lodash__shared_isDate = require("../_shared/isDate.cjs");
|
|
8
9
|
const require_lodash__shared_isEmpty = require("../_shared/isEmpty.cjs");
|
|
9
10
|
const require_lodash__shared_isEqual = require("../_shared/isEqual.cjs");
|
|
10
11
|
const require_lodash__shared_isFunction = require("../_shared/isFunction.cjs");
|
|
11
|
-
const require_lodash__shared_isObject = require("../_shared/isObject.cjs");
|
|
12
12
|
const require_lodash__shared_merge = require("../_shared/merge.cjs");
|
|
13
13
|
const require_lodash__shared_orderBy = require("../_shared/orderBy.cjs");
|
|
14
14
|
const require_lodash__shared_unescape = require("../_shared/unescape.cjs");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { set } from "../_shared/set.mjs";
|
|
2
|
+
import { isObject } from "../_shared/isObject.mjs";
|
|
3
|
+
import { isDate } from "../_shared/isDate.mjs";
|
|
1
4
|
import { chunk } from "../_shared/chunk.mjs";
|
|
2
5
|
import { findKey } from "../_shared/findKey.mjs";
|
|
3
6
|
import { flatten } from "../_shared/flatten.mjs";
|
|
4
|
-
import { set } from "../_shared/set.mjs";
|
|
5
7
|
import { trim } from "../_shared/trim.mjs";
|
|
6
|
-
import { isDate } from "../_shared/isDate.mjs";
|
|
7
8
|
import { isEmpty } from "../_shared/isEmpty.mjs";
|
|
8
9
|
import { isEqual } from "../_shared/isEqual.mjs";
|
|
9
10
|
import { isFunction } from "../_shared/isFunction.mjs";
|
|
10
|
-
import { isObject } from "../_shared/isObject.mjs";
|
|
11
11
|
import { merge } from "../_shared/merge.mjs";
|
|
12
12
|
import { orderBy } from "../_shared/orderBy.mjs";
|
|
13
13
|
import { unescape } from "../_shared/unescape.mjs";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_lodash__shared_set = require("../_shared/set.cjs");
|
|
3
|
+
const require_lodash__shared_isObject = require("../_shared/isObject.cjs");
|
|
4
|
+
const require_lodash__shared_isDate = require("../_shared/isDate.cjs");
|
|
2
5
|
const require_lodash__shared_chunk = require("../_shared/chunk.cjs");
|
|
3
6
|
const require_lodash__shared_findKey = require("../_shared/findKey.cjs");
|
|
4
7
|
const require_lodash__shared_flatten = require("../_shared/flatten.cjs");
|
|
5
|
-
const require_lodash__shared_set = require("../_shared/set.cjs");
|
|
6
8
|
const require_lodash__shared_trim = require("../_shared/trim.cjs");
|
|
7
|
-
const require_lodash__shared_isDate = require("../_shared/isDate.cjs");
|
|
8
9
|
const require_lodash__shared_isEmpty = require("../_shared/isEmpty.cjs");
|
|
9
10
|
const require_lodash__shared_isEqual = require("../_shared/isEqual.cjs");
|
|
10
11
|
const require_lodash__shared_isFunction = require("../_shared/isFunction.cjs");
|
|
11
|
-
const require_lodash__shared_isObject = require("../_shared/isObject.cjs");
|
|
12
12
|
const require_lodash__shared_merge = require("../_shared/merge.cjs");
|
|
13
13
|
const require_lodash__shared_orderBy = require("../_shared/orderBy.cjs");
|
|
14
14
|
const require_lodash__shared_unescape = require("../_shared/unescape.cjs");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { set } from "../_shared/set.mjs";
|
|
2
|
+
import { isObject } from "../_shared/isObject.mjs";
|
|
3
|
+
import { isDate } from "../_shared/isDate.mjs";
|
|
1
4
|
import { chunk } from "../_shared/chunk.mjs";
|
|
2
5
|
import { findKey } from "../_shared/findKey.mjs";
|
|
3
6
|
import { flatten } from "../_shared/flatten.mjs";
|
|
4
|
-
import { set } from "../_shared/set.mjs";
|
|
5
7
|
import { trim } from "../_shared/trim.mjs";
|
|
6
|
-
import { isDate } from "../_shared/isDate.mjs";
|
|
7
8
|
import { isEmpty } from "../_shared/isEmpty.mjs";
|
|
8
9
|
import { isEqual } from "../_shared/isEqual.mjs";
|
|
9
10
|
import { isFunction } from "../_shared/isFunction.mjs";
|
|
10
|
-
import { isObject } from "../_shared/isObject.mjs";
|
|
11
11
|
import { merge } from "../_shared/merge.mjs";
|
|
12
12
|
import { orderBy } from "../_shared/orderBy.mjs";
|
|
13
13
|
import { unescape } from "../_shared/unescape.mjs";
|
|
@@ -1,38 +1,17 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_util__shared_getError = require("../../util/_shared/getError.cjs");
|
|
3
2
|
const require__class__shared_BaseNamespace = require("../../_class/_shared/BaseNamespace.cjs");
|
|
3
|
+
const require_util__shared_getError = require("../../util/_shared/getError.cjs");
|
|
4
|
+
const require_prisma_server_getPrismaMysqlAdapter = require("./getPrismaMysqlAdapter.cjs");
|
|
5
|
+
const require_prisma_server_getPrismaPlanetScaleAdapter = require("./getPrismaPlanetScaleAdapter.cjs");
|
|
6
|
+
const require_prisma_server_getPrismaPostgresAdapter = require("./getPrismaPostgresAdapter.cjs");
|
|
4
7
|
//#region src/prisma/server/Prisma.ts
|
|
5
|
-
const getPrismaPlanetScaleAdapter = async (config) => {
|
|
6
|
-
try {
|
|
7
|
-
const { PrismaPlanetScale } = await import("@prisma/adapter-planetscale");
|
|
8
|
-
return new PrismaPlanetScale({ url: config.url });
|
|
9
|
-
} catch (e) {
|
|
10
|
-
throw new Error(`PlanetScale adapter not installed - ${require_util__shared_getError.getError(e)}`);
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
const getPrismaMysqlAdapter = async (config) => {
|
|
14
|
-
try {
|
|
15
|
-
const { PrismaMariaDb } = await import("@prisma/adapter-mariadb");
|
|
16
|
-
return new PrismaMariaDb(config.url);
|
|
17
|
-
} catch (e) {
|
|
18
|
-
throw new Error(`MariaDB adapter not installed - ${require_util__shared_getError.getError(e)}`);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
const getPrismaPostgresAdapter = async () => {
|
|
22
|
-
try {
|
|
23
|
-
const { PrismaPg } = await import("@prisma/adapter-pg");
|
|
24
|
-
return new PrismaPg({ connectionString: process.env.DATABASE_URL });
|
|
25
|
-
} catch (e) {
|
|
26
|
-
throw new Error(`Postgres adapter not installed - ${require_util__shared_getError.getError(e)}`);
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
8
|
var Prisma = class extends require__class__shared_BaseNamespace.BaseNamespace {
|
|
30
9
|
init = async (config) => {
|
|
31
10
|
if (!this.client) {
|
|
32
11
|
let adapter = null;
|
|
33
|
-
if (config.isPlanetScale) adapter = await getPrismaPlanetScaleAdapter(config);
|
|
34
|
-
else if (config.isMysql) adapter = await getPrismaMysqlAdapter(config);
|
|
35
|
-
else if (config.isPostgres) adapter = await getPrismaPostgresAdapter();
|
|
12
|
+
if (config.isPlanetScale) adapter = await require_prisma_server_getPrismaPlanetScaleAdapter.getPrismaPlanetScaleAdapter(config);
|
|
13
|
+
else if (config.isMysql) adapter = await require_prisma_server_getPrismaMysqlAdapter.getPrismaMysqlAdapter(config);
|
|
14
|
+
else if (config.isPostgres) adapter = await require_prisma_server_getPrismaPostgresAdapter.getPrismaPostgresAdapter();
|
|
36
15
|
try {
|
|
37
16
|
const { PrismaClient } = await import("@prisma/client");
|
|
38
17
|
if (config.isDebug) this.client = new PrismaClient({
|
|
@@ -53,6 +32,3 @@ var Prisma = class extends require__class__shared_BaseNamespace.BaseNamespace {
|
|
|
53
32
|
};
|
|
54
33
|
//#endregion
|
|
55
34
|
exports.Prisma = Prisma;
|
|
56
|
-
exports.getPrismaMysqlAdapter = getPrismaMysqlAdapter;
|
|
57
|
-
exports.getPrismaPlanetScaleAdapter = getPrismaPlanetScaleAdapter;
|
|
58
|
-
exports.getPrismaPostgresAdapter = getPrismaPostgresAdapter;
|
|
@@ -1,26 +1,6 @@
|
|
|
1
1
|
import { BaseNamespace } from "../../_class/_shared/BaseNamespace.cjs";
|
|
2
|
+
import { PrismaClientLike, PrismaConfig } from "./types.cjs";
|
|
2
3
|
//#region src/prisma/server/Prisma.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* Minimal interface representing a Prisma Client instance.
|
|
5
|
-
* Consumers of this library will have their own generated PrismaClient
|
|
6
|
-
* that satisfies this interface.
|
|
7
|
-
*/
|
|
8
|
-
export interface PrismaClientLike {
|
|
9
|
-
$connect(): Promise<void>;
|
|
10
|
-
$disconnect(): Promise<void>;
|
|
11
|
-
$transaction(...args: any[]): Promise<any>;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}
|
|
14
|
-
type PrismaConfig = {
|
|
15
|
-
isDebug: boolean;
|
|
16
|
-
isPlanetScale: boolean;
|
|
17
|
-
isMysql: boolean;
|
|
18
|
-
isPostgres: boolean;
|
|
19
|
-
url: string;
|
|
20
|
-
};
|
|
21
|
-
export declare const getPrismaPlanetScaleAdapter: (config: PrismaConfig) => Promise<import("@prisma/adapter-planetscale").PrismaPlanetScale>;
|
|
22
|
-
export declare const getPrismaMysqlAdapter: (config: PrismaConfig) => Promise<import("@prisma/adapter-mariadb").PrismaMariaDb>;
|
|
23
|
-
export declare const getPrismaPostgresAdapter: () => Promise<import("@prisma/adapter-pg").PrismaPg>;
|
|
24
4
|
export declare class Prisma extends BaseNamespace {
|
|
25
5
|
client: PrismaClientLike;
|
|
26
6
|
config: PrismaConfig;
|