firestore-meilisearch 0.1.3 → 0.1.4

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/README.md CHANGED
@@ -44,7 +44,7 @@ Before installing this extension, you'll need to:
44
44
 
45
45
  #### Data import format
46
46
 
47
- Documents indexed in Meilisearch must have a [unique id](https://docs.meilisearch.com/learn/core_concepts/documents.html#primary-field). The extension will use Firestone's default field: `Document ID` for this purpose. `Document ID` will be renamed to`_firestore_id` to be used as the [document id](https://docs.meilisearch.com/learn/core_concepts/documents.html#document-id). If your documents have another field containing the string `id`, it will not be set as the primary key.
47
+ Documents indexed in Meilisearch must have a [unique id](https://docs.meilisearch.com/learn/core_concepts/documents.html#primary-field). The extension will use Firestore's default field: `Document ID` for this purpose. `Document ID` will be renamed to`_firestore_id` to be used as the [document id](https://docs.meilisearch.com/learn/core_concepts/documents.html#document-id). If your documents have another field containing the string `id`, it will not be set as the primary key.
48
48
 
49
49
  **Important:** If your documents contain a field called `_firestore_id`, it will be ignored.
50
50
 
@@ -53,7 +53,7 @@ If a `GeoPoint` is found without the name `_geo`, it is added as an array.
53
53
 
54
54
  #### Backfill your Meilisearch data
55
55
 
56
- This extension does not export all existing documents into Meilisearch unless they have been modified or created after its installation. You can run the [import script](https://github.com/meilisearch/firestore-meilisearch/) provided by this extension to retrieve your Meilisearch dataset with all the documents present in your Firestore collection
56
+ This extension does not export all existing documents into Meilisearch unless they have been modified or created after its installation. You can run the [import script](./guides/IMPORT_EXISTING_DOCUMENTS.md) provided by this extension to retrieve your Meilisearch dataset with all the documents present in your Firestore collection
57
57
 
58
58
  #### Billing
59
59
 
@@ -103,7 +103,7 @@ All Firebase services offer a free tier of usage.
103
103
 
104
104
  [![Install this extension in your Firebase project](https://www.gstatic.com/mobilesdk/210513_mobilesdk/install-extension.png "Install this extension in your Firebase project")][install-link]
105
105
 
106
- [install-link]: https://console.firebase.google.com/project/_/extensions/install?ref=publisher_id/extension_name
106
+ [install-link]: https://console.firebase.google.com/project/_/extensions/install?ref=meilisearch/firestore-meilisearch
107
107
 
108
108
  ### Firebase CLI
109
109
 
@@ -117,6 +117,10 @@ firebase ext:install meilisearch/firestore-meilisearch --project=[your-project-i
117
117
 
118
118
  ---
119
119
 
120
+ ## 🤖 Compatibility with Meilisearch
121
+
122
+ This package only guarantees the compatibility with the [version v0.27.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.27.0).
123
+
120
124
  ## ⚙️ Development Workflow and Contributing
121
125
 
122
126
  Any new contribution is more than welcome in this project!
package/jest.config.js CHANGED
@@ -1,3 +1,5 @@
1
+ process.env.FIREBASE_CONFIG = '{}'
2
+
1
3
  module.exports = {
2
4
  rootDir: './',
3
5
  preset: 'ts-jest',
package/lib/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '0.1.3';
4
+ exports.version = '0.1.4';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firestore-meilisearch",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "scripts": {
5
5
  "lint": "eslint .",
6
6
  "lint:fix": "eslint . --fix",
@@ -25,7 +25,7 @@
25
25
  "firebase-admin": "^9.8.0",
26
26
  "firebase-functions": "^3.16.0",
27
27
  "inquirer": "^8.2.2",
28
- "meilisearch": "^0.25.0"
28
+ "meilisearch": "^0.25.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@babel/preset-typescript": "^7.15.0",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '0.1.3'
1
+ export const version = '0.1.4'