@roit/roit-data-firestore 1.2.37 → 1.2.38

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.
Files changed (2) hide show
  1. package/README.md +20 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -350,3 +350,23 @@ Firestore supports automatic data cleaning
350
350
 
351
351
  in data document there is create attribute ttlExpirationAt
352
352
  ```
353
+
354
+ ## Archive Service
355
+
356
+ Archive service is a service that allows you to archive data from firestore to a bucket in GCP.
357
+
358
+ Example (using env.yaml):
359
+ ```
360
+ firestore:
361
+ projectId: 'gcp-project-id'
362
+ archive:
363
+ enable: true
364
+ debug: false
365
+ bucketName: 'your-bucket-name'
366
+ cache:
367
+ enabled: true
368
+ redisUrl: 'redis://localhost:6379'
369
+ timeout: 2000
370
+ reconnectInSecondsAfterTimeout: 30
371
+ expiresInSeconds: 3600
372
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roit/roit-data-firestore",
3
- "version": "1.2.37",
3
+ "version": "1.2.38",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.js",
6
6
  "scripts": {