@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.
- package/dist/firebase/functions/index.cjs +1255 -841
- package/dist/firebase/public/firestore.indexes.json +27 -37
- package/dist/iac/index.cjs +374 -173
- package/dist/iac/index.d.cts +1 -5
- package/dist/iac/index.d.mts +1 -5
- package/dist/iac/index.mjs +368 -167
- package/dist/index.cjs +183 -43
- package/dist/index.d.cts +2 -4
- package/dist/index.d.mts +1 -3
- package/dist/index.mjs +184 -44
- package/package.json +6 -6
|
@@ -1,82 +1,72 @@
|
|
|
1
1
|
{
|
|
2
2
|
"indexes": [
|
|
3
3
|
{
|
|
4
|
-
"collectionGroup": "
|
|
4
|
+
"collectionGroup": "hot_updater_v1_bundle_events",
|
|
5
5
|
"queryScope": "COLLECTION",
|
|
6
6
|
"fields": [
|
|
7
|
-
{ "fieldPath": "
|
|
8
|
-
{ "fieldPath": "
|
|
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": "
|
|
12
|
+
"collectionGroup": "hot_updater_v1_bundle_events",
|
|
26
13
|
"queryScope": "COLLECTION",
|
|
27
14
|
"fields": [
|
|
28
|
-
{ "fieldPath": "
|
|
29
|
-
{ "fieldPath": "
|
|
30
|
-
{ "fieldPath": "
|
|
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": "
|
|
22
|
+
"collectionGroup": "hot_updater_v1_bundle_installations",
|
|
37
23
|
"queryScope": "COLLECTION",
|
|
38
24
|
"fields": [
|
|
39
|
-
{ "fieldPath": "
|
|
40
|
-
{ "fieldPath": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
68
|
-
{ "fieldPath": "
|
|
58
|
+
{ "fieldPath": "channel", "order": "ASCENDING" },
|
|
59
|
+
{ "fieldPath": "received_at_ms", "order": "ASCENDING" }
|
|
69
60
|
]
|
|
70
61
|
},
|
|
71
62
|
{
|
|
72
|
-
"collectionGroup": "
|
|
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": "
|
|
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
|
],
|