@hot-updater/firebase 1.0.0-rc.3 → 1.0.0-rc.31

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,74 +1,45 @@
1
1
  {
2
2
  "indexes": [
3
3
  {
4
- "collectionGroup": "hot_updater_v1_bundle_events",
4
+ "collectionGroup": "hot_updater_v1",
5
5
  "queryScope": "COLLECTION",
6
6
  "fields": [
7
- { "fieldPath": "received_at_ms", "order": "DESCENDING" },
8
- { "fieldPath": "id", "order": "DESCENDING" }
7
+ {
8
+ "fieldPath": "pk",
9
+ "order": "ASCENDING"
10
+ },
11
+ {
12
+ "fieldPath": "sk",
13
+ "order": "ASCENDING"
14
+ }
9
15
  ]
10
16
  },
11
17
  {
12
- "collectionGroup": "hot_updater_v1_bundle_events",
18
+ "collectionGroup": "hot_updater_v1",
13
19
  "queryScope": "COLLECTION",
14
20
  "fields": [
15
- { "fieldPath": "install_id", "order": "ASCENDING" },
16
- { "fieldPath": "type", "order": "ASCENDING" },
17
- { "fieldPath": "received_at_ms", "order": "DESCENDING" },
18
- { "fieldPath": "id", "order": "DESCENDING" }
21
+ {
22
+ "fieldPath": "pk",
23
+ "order": "ASCENDING"
24
+ },
25
+ {
26
+ "fieldPath": "sk",
27
+ "order": "DESCENDING"
28
+ }
19
29
  ]
20
- },
21
- {
22
- "collectionGroup": "hot_updater_v1_bundle_installations",
23
- "queryScope": "COLLECTION",
24
- "fields": [
25
- { "fieldPath": "user_id", "order": "ASCENDING" },
26
- { "fieldPath": "install_id", "order": "ASCENDING" }
27
- ]
28
- },
29
- {
30
- "collectionGroup": "hot_updater_v1_bundle_events",
31
- "queryScope": "COLLECTION",
32
- "fields": [
33
- { "fieldPath": "type", "order": "ASCENDING" },
34
- { "fieldPath": "platform", "order": "ASCENDING" },
35
- { "fieldPath": "channel", "order": "ASCENDING" },
36
- { "fieldPath": "from_bundle_id", "order": "ASCENDING" },
37
- { "fieldPath": "received_at_ms", "order": "DESCENDING" },
38
- { "fieldPath": "id", "order": "DESCENDING" }
39
- ]
40
- },
41
- {
42
- "collectionGroup": "hot_updater_v1_bundle_events",
43
- "queryScope": "COLLECTION",
44
- "fields": [
45
- { "fieldPath": "type", "order": "ASCENDING" },
46
- { "fieldPath": "platform", "order": "ASCENDING" },
47
- { "fieldPath": "channel", "order": "ASCENDING" },
48
- { "fieldPath": "to_bundle_id", "order": "ASCENDING" },
49
- { "fieldPath": "received_at_ms", "order": "DESCENDING" },
50
- { "fieldPath": "id", "order": "DESCENDING" }
51
- ]
52
- },
30
+ }
31
+ ],
32
+ "fieldOverrides": [
53
33
  {
54
- "collectionGroup": "hot_updater_v1_bundle_installations",
55
- "queryScope": "COLLECTION",
56
- "fields": [
57
- { "fieldPath": "platform", "order": "ASCENDING" },
58
- { "fieldPath": "channel", "order": "ASCENDING" },
59
- { "fieldPath": "received_at_ms", "order": "ASCENDING" }
60
- ]
34
+ "collectionGroup": "hot_updater_v1",
35
+ "fieldPath": "row",
36
+ "indexes": []
61
37
  },
62
38
  {
63
- "collectionGroup": "hot_updater_v1_bundle_installations",
64
- "queryScope": "COLLECTION",
65
- "fields": [
66
- { "fieldPath": "platform", "order": "ASCENDING" },
67
- { "fieldPath": "channel", "order": "ASCENDING" },
68
- { "fieldPath": "to_bundle_id", "order": "ASCENDING" },
69
- { "fieldPath": "received_at_ms", "order": "ASCENDING" }
70
- ]
39
+ "collectionGroup": "hot_updater_v1",
40
+ "fieldPath": "expireAt",
41
+ "ttl": true,
42
+ "indexes": []
71
43
  }
72
- ],
73
- "fieldOverrides": []
44
+ ]
74
45
  }
@@ -2,8 +2,8 @@
2
2
  "name": "functions",
3
3
  "engines": { "node": "22" },
4
4
  "dependencies": {
5
- "firebase-functions": "6.3.2",
6
- "firebase-admin": "13.2.0"
5
+ "firebase-functions": "7.3.2",
6
+ "firebase-admin": "14.2.0"
7
7
  },
8
8
  "main": "index.cjs"
9
9
  }