@8ms/helpers 3.2.15 → 3.2.16

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.
@@ -3,9 +3,9 @@ const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  const require__class__shared_BaseNamespace = require("../../../_class/_shared/BaseNamespace.cjs");
4
4
  const require_date__shared_calculation = require("../../../date/_shared/calculation.cjs");
5
5
  const require_date__shared_format = require("../../../date/_shared/format.cjs");
6
- const require_aws_server_isResponse200 = require("../../server/isResponse200.cjs");
7
6
  const require_date__shared_date = require("../../../date/_shared/date.cjs");
8
7
  require("../../../date/_shared/index.cjs");
8
+ const require_aws_server_isResponse200 = require("../../server/isResponse200.cjs");
9
9
  const require_stream_server_json_read = require("../../../stream/server/json/read.cjs");
10
10
  const require_stream_server_json_write = require("../../../stream/server/json/write.cjs");
11
11
  require("../../../stream/server/index.cjs");
@@ -1,9 +1,9 @@
1
1
  import { BaseNamespace } from "../../../_class/_shared/BaseNamespace.mjs";
2
2
  import { getToday } from "../../../date/_shared/calculation.mjs";
3
3
  import { getYmdHisString } from "../../../date/_shared/format.mjs";
4
- import { isResponse200 } from "../../server/isResponse200.mjs";
5
4
  import { defaultDateTime } from "../../../date/_shared/date.mjs";
6
5
  import "../../../date/_shared/index.mjs";
6
+ import { isResponse200 } from "../../server/isResponse200.mjs";
7
7
  import { readJsonGzipStream, readJsonStream } from "../../../stream/server/json/read.mjs";
8
8
  import { writeJsonGzipStream, writeJsonStream } from "../../../stream/server/json/write.mjs";
9
9
  import "../../../stream/server/index.mjs";
@@ -21,7 +21,7 @@ const accountBQRow = zod.z.object({
21
21
  currency: zod.z.string().nullable(),
22
22
  is_all_conversions: zod.z.boolean(),
23
23
  is_mdo: zod.z.boolean(),
24
- codex_website_id: zod.z.string(),
24
+ google_website_id: zod.z.string(),
25
25
  inserted_at: zod.z.date(),
26
26
  updated_at: zod.z.date()
27
27
  });
@@ -32,7 +32,7 @@ const accountDefinition = {
32
32
  tableId: "account",
33
33
  options: {
34
34
  schema: require_googleCloud_bigquery__shared_zodToBQDefinition.zodToBQSchema(accountBQRow),
35
- clustering: { fields: [accountField.codex_website_id, accountField.platform] }
35
+ clustering: { fields: [accountField.google_website_id, accountField.platform] }
36
36
  }
37
37
  };
38
38
  const accountTableId = `${accountDefinition.projectId}.${accountDefinition.datasetId}.${accountDefinition.tableId}`;
@@ -19,7 +19,7 @@ export declare const accountBQRow: z.ZodObject<{
19
19
  currency: z.ZodNullable<z.ZodString>;
20
20
  is_all_conversions: z.ZodBoolean;
21
21
  is_mdo: z.ZodBoolean;
22
- codex_website_id: z.ZodString;
22
+ google_website_id: z.ZodString;
23
23
  inserted_at: z.ZodDate;
24
24
  updated_at: z.ZodDate;
25
25
  }, z.core.$strip>;
@@ -19,7 +19,7 @@ export declare const accountBQRow: z.ZodObject<{
19
19
  currency: z.ZodNullable<z.ZodString>;
20
20
  is_all_conversions: z.ZodBoolean;
21
21
  is_mdo: z.ZodBoolean;
22
- codex_website_id: z.ZodString;
22
+ google_website_id: z.ZodString;
23
23
  inserted_at: z.ZodDate;
24
24
  updated_at: z.ZodDate;
25
25
  }, z.core.$strip>;
@@ -20,7 +20,7 @@ const accountBQRow = z.object({
20
20
  currency: z.string().nullable(),
21
21
  is_all_conversions: z.boolean(),
22
22
  is_mdo: z.boolean(),
23
- codex_website_id: z.string(),
23
+ google_website_id: z.string(),
24
24
  inserted_at: z.date(),
25
25
  updated_at: z.date()
26
26
  });
@@ -31,7 +31,7 @@ const accountDefinition = {
31
31
  tableId: "account",
32
32
  options: {
33
33
  schema: zodToBQSchema(accountBQRow),
34
- clustering: { fields: [accountField.codex_website_id, accountField.platform] }
34
+ clustering: { fields: [accountField.google_website_id, accountField.platform] }
35
35
  }
36
36
  };
37
37
  const accountTableId = `${accountDefinition.projectId}.${accountDefinition.datasetId}.${accountDefinition.tableId}`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "3.2.15",
4
+ "version": "3.2.16",
5
5
  "packageManager": "yarn@4.18.1",
6
6
  "repository": {
7
7
  "type": "git",