@8ms/helpers 1.1.79 → 1.1.80

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.
@@ -1 +1,10 @@
1
- export {};
1
+ declare type CreateTable = {
2
+ datasetId: string;
3
+ options: object;
4
+ tableId: string;
5
+ };
6
+ /**
7
+ * Create a Table if it doesn't already exist.
8
+ */
9
+ declare const createTable: ({ datasetId, options, tableId }: CreateTable) => Promise<void>;
10
+ export default createTable;
@@ -14,3 +14,4 @@ const createTable = async ({ datasetId, options, tableId }) => {
14
14
  .createTable(tableId, options);
15
15
  }
16
16
  };
17
+ exports.default = createTable;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "1.1.79",
4
+ "version": "1.1.80",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"