@shushed/helpers 0.0.124 → 0.0.125
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 +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -35475,7 +35475,7 @@ declare class AirtableHelper<T extends Record<string, string>, K extends keyof T
|
|
|
35475
35475
|
[prumaryKeyFieldName in K]: string;
|
|
35476
35476
|
}): Promise<{
|
|
35477
35477
|
id: string;
|
|
35478
|
-
fields: { [key in
|
|
35478
|
+
fields: { [key in keyof T]: any; };
|
|
35479
35479
|
}>;
|
|
35480
35480
|
static removePrimaryKey(x: any, primaryKeyFieldId: string): any;
|
|
35481
35481
|
static convertToDictionary<T extends Record<string, string>>(dictionary: T, x: Partial<{
|
|
@@ -35496,7 +35496,7 @@ declare class AirtableHelper<T extends Record<string, string>, K extends keyof T
|
|
|
35496
35496
|
}): Promise<{
|
|
35497
35497
|
id: string;
|
|
35498
35498
|
fields: {
|
|
35499
|
-
[key in
|
|
35499
|
+
[key in keyof T]: any;
|
|
35500
35500
|
};
|
|
35501
35501
|
}>;
|
|
35502
35502
|
getExistingRecord(payload: Partial<{
|
package/dist/index.js
CHANGED
|
@@ -881,7 +881,7 @@ var PubSubHelper = class extends Runtime {
|
|
|
881
881
|
body: messageBody,
|
|
882
882
|
exportableToBigQuery: !!rawMessage.message?.attributes?.bigquery,
|
|
883
883
|
extraAttributes: (0, import_lodash2.default)(rawMessage.message?.attributes || {}, ["source_system", "target_system", "process_started_at", "record_modified_at", "original_publish_time", "buildship_id", "publish_time", "bigquery"]),
|
|
884
|
-
subscriptionName: rawMessage.
|
|
884
|
+
subscriptionName: rawMessage.subscription?.split("/").pop()
|
|
885
885
|
};
|
|
886
886
|
return message;
|
|
887
887
|
}
|