@shushed/helpers 0.0.30 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -28743,7 +28743,7 @@ declare class EnvEngine extends Runtime {
|
|
|
28743
28743
|
|
|
28744
28744
|
type Message = {
|
|
28745
28745
|
buildshipId: string;
|
|
28746
|
-
body:
|
|
28746
|
+
body: any;
|
|
28747
28747
|
sourceSystem: string;
|
|
28748
28748
|
targetSystem: string;
|
|
28749
28749
|
processStartedAt: Date | null;
|
package/dist/index.js
CHANGED
|
@@ -1091,7 +1091,12 @@ var BigQueryHelper = class extends Runtime {
|
|
|
1091
1091
|
const fullTableId = `${this.bigQuery.projectId}.${datasetId}.${tableName}`;
|
|
1092
1092
|
const [tableExists] = await table.exists();
|
|
1093
1093
|
if (!tableExists) {
|
|
1094
|
-
|
|
1094
|
+
await dataset.createTable(tableName, {
|
|
1095
|
+
schema: {
|
|
1096
|
+
fields: incomingSchema
|
|
1097
|
+
}
|
|
1098
|
+
});
|
|
1099
|
+
return fullTableId;
|
|
1095
1100
|
}
|
|
1096
1101
|
const [metadata] = await table.getMetadata();
|
|
1097
1102
|
const existingSchema = metadata.schema.fields;
|