Skip to content

Commit

Permalink
feat(firestore-bigquery-changetracker): include .d.ts files (#2207)
Browse files Browse the repository at this point in the history
* fix(firestore-bigquery-changetracker): include declaration files

* chore(firestore-bigquery-changetracker): bump version

* fix(firestore-bigquery-export): added ts-expect-error and TODOs in the import script
  • Loading branch information
cabljac committed Nov 6, 2024
1 parent a93e4f0 commit f7561e5
Show file tree
Hide file tree
Showing 9 changed files with 522 additions and 296 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"url": "github.com/firebase/extensions.git",
"directory": "firestore-bigquery-export/firestore-bigquery-change-tracker"
},
"version": "1.1.37",
"version": "1.1.38",
"description": "Core change-tracker library for Cloud Firestore Collection BigQuery Exports",
"main": "./lib/index.js",
"scripts": {
Expand All @@ -18,7 +18,9 @@
},
"files": [
"lib/*.js",
"lib/bigquery/*.js"
"lib/bigquery/*.js",
"lib/*.d.ts",
"lib/bigquery/*.d.ts"
],
"author": "Jan Wyszynski <wyszynski@google.com>",
"license": "Apache-2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"outDir": "lib",
"types": ["node"],
"target": "ES2020",
"skipLibCheck": true
"skipLibCheck": true,
"declaration": true
},
"include": ["src"],
"exclude": ["src/**/*.test.ts"]
Expand Down
13 changes: 7 additions & 6 deletions firestore-bigquery-export/functions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion firestore-bigquery-export/functions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const eventTrackerConfig = {
kmsKeyName: config.kmsKeyName,
};

const eventTracker: FirestoreEventHistoryTracker =
const eventTracker: FirestoreBigQueryEventHistoryTracker =
new FirestoreBigQueryEventHistoryTracker(eventTrackerConfig);

logs.init();
Expand Down
Loading

0 comments on commit f7561e5

Please sign in to comment.