typesense / firestore-typesense-search

Firebase Extension to automatically push Firestore documents to Typesense for full-text search with typo tolerance, faceting, and more
https://extensions.dev/extensions/typesense/firestore-typesense-search
Apache License 2.0
159 stars 35 forks source link

Add DATABASE_ID parameter #80

Open adonistseriotis opened 5 months ago

adonistseriotis commented 5 months ago

Allow Typesense extension to get triggered by collections in databases other than the default

Change Summary

Add DATABASE_ID parameter and use it in resource trigger instead of (default) string.

PR Checklist

adonistseriotis commented 5 months ago

I tried to test it using your Development environment. Worked on default but not when adding a different database. Due to emulator limitation, it might work on production. Please verify!