@hot-updater/firebase 1.0.0-rc.0 → 1.0.0-rc.2

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,82 +1,72 @@
1
1
  {
2
2
  "indexes": [
3
3
  {
4
- "collectionGroup": "hot_updater_v1_bundles",
4
+ "collectionGroup": "hot_updater_v1_bundle_events",
5
5
  "queryScope": "COLLECTION",
6
6
  "fields": [
7
- { "fieldPath": "channel", "order": "ASCENDING" },
8
- { "fieldPath": "enabled", "order": "ASCENDING" },
9
- { "fieldPath": "platform", "order": "ASCENDING" },
10
- { "fieldPath": "id", "order": "ASCENDING" }
11
- ]
12
- },
13
- {
14
- "collectionGroup": "hot_updater_v1_bundles",
15
- "queryScope": "COLLECTION",
16
- "fields": [
17
- { "fieldPath": "channel", "order": "ASCENDING" },
18
- { "fieldPath": "enabled", "order": "ASCENDING" },
19
- { "fieldPath": "platform", "order": "ASCENDING" },
20
- { "fieldPath": "target_app_version", "order": "ASCENDING" },
21
- { "fieldPath": "id", "order": "ASCENDING" }
7
+ { "fieldPath": "received_at_ms", "order": "DESCENDING" },
8
+ { "fieldPath": "id", "order": "DESCENDING" }
22
9
  ]
23
10
  },
24
11
  {
25
- "collectionGroup": "hot_updater_v1_bundles",
12
+ "collectionGroup": "hot_updater_v1_bundle_events",
26
13
  "queryScope": "COLLECTION",
27
14
  "fields": [
28
- { "fieldPath": "channel", "order": "ASCENDING" },
29
- { "fieldPath": "platform", "order": "ASCENDING" },
30
- { "fieldPath": "enabled", "order": "ASCENDING" },
31
- { "fieldPath": "target_app_version", "order": "ASCENDING" },
15
+ { "fieldPath": "install_id", "order": "ASCENDING" },
16
+ { "fieldPath": "type", "order": "ASCENDING" },
17
+ { "fieldPath": "received_at_ms", "order": "DESCENDING" },
32
18
  { "fieldPath": "id", "order": "DESCENDING" }
33
19
  ]
34
20
  },
35
21
  {
36
- "collectionGroup": "hot_updater_v1_bundles",
22
+ "collectionGroup": "hot_updater_v1_bundle_installations",
37
23
  "queryScope": "COLLECTION",
38
24
  "fields": [
39
- { "fieldPath": "channel", "order": "ASCENDING" },
40
- { "fieldPath": "platform", "order": "ASCENDING" },
41
- { "fieldPath": "id", "order": "DESCENDING" }
25
+ { "fieldPath": "user_id", "order": "ASCENDING" },
26
+ { "fieldPath": "install_id", "order": "ASCENDING" }
42
27
  ]
43
28
  },
44
29
  {
45
- "collectionGroup": "hot_updater_v1_bundles",
30
+ "collectionGroup": "hot_updater_v1_bundle_events",
46
31
  "queryScope": "COLLECTION",
47
32
  "fields": [
33
+ { "fieldPath": "type", "order": "ASCENDING" },
34
+ { "fieldPath": "platform", "order": "ASCENDING" },
48
35
  { "fieldPath": "channel", "order": "ASCENDING" },
36
+ { "fieldPath": "from_bundle_id", "order": "ASCENDING" },
37
+ { "fieldPath": "received_at_ms", "order": "DESCENDING" },
49
38
  { "fieldPath": "id", "order": "DESCENDING" }
50
39
  ]
51
40
  },
52
41
  {
53
- "collectionGroup": "hot_updater_v1_bundles",
42
+ "collectionGroup": "hot_updater_v1_bundle_events",
54
43
  "queryScope": "COLLECTION",
55
44
  "fields": [
45
+ { "fieldPath": "type", "order": "ASCENDING" },
56
46
  { "fieldPath": "platform", "order": "ASCENDING" },
47
+ { "fieldPath": "channel", "order": "ASCENDING" },
48
+ { "fieldPath": "to_bundle_id", "order": "ASCENDING" },
49
+ { "fieldPath": "received_at_ms", "order": "DESCENDING" },
57
50
  { "fieldPath": "id", "order": "DESCENDING" }
58
51
  ]
59
52
  },
60
53
  {
61
- "collectionGroup": "hot_updater_v1_bundles",
54
+ "collectionGroup": "hot_updater_v1_bundle_installations",
62
55
  "queryScope": "COLLECTION",
63
56
  "fields": [
64
- { "fieldPath": "channel", "order": "ASCENDING" },
65
- { "fieldPath": "enabled", "order": "ASCENDING" },
66
57
  { "fieldPath": "platform", "order": "ASCENDING" },
67
- { "fieldPath": "fingerprint_hash", "order": "ASCENDING" },
68
- { "fieldPath": "id", "order": "ASCENDING" }
58
+ { "fieldPath": "channel", "order": "ASCENDING" },
59
+ { "fieldPath": "received_at_ms", "order": "ASCENDING" }
69
60
  ]
70
61
  },
71
62
  {
72
- "collectionGroup": "hot_updater_v1_bundles",
63
+ "collectionGroup": "hot_updater_v1_bundle_installations",
73
64
  "queryScope": "COLLECTION",
74
65
  "fields": [
75
- { "fieldPath": "channel", "order": "ASCENDING" },
76
- { "fieldPath": "enabled", "order": "ASCENDING" },
77
- { "fieldPath": "fingerprint_hash", "order": "ASCENDING" },
78
66
  { "fieldPath": "platform", "order": "ASCENDING" },
79
- { "fieldPath": "id", "order": "DESCENDING" }
67
+ { "fieldPath": "channel", "order": "ASCENDING" },
68
+ { "fieldPath": "to_bundle_id", "order": "ASCENDING" },
69
+ { "fieldPath": "received_at_ms", "order": "ASCENDING" }
80
70
  ]
81
71
  }
82
72
  ],