firebase-functions 6.6.0 → 7.0.0-rc.1
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/lib/_virtual/rolldown_runtime.js +34 -0
- package/lib/bin/firebase-functions.js +78 -103
- package/lib/common/app.js +35 -55
- package/lib/common/change.js +54 -75
- package/lib/common/config.js +41 -41
- package/lib/common/debug.js +23 -47
- package/lib/common/encoding.js +59 -82
- package/lib/common/onInit.js +26 -28
- package/lib/common/options.js +22 -42
- package/lib/common/params.d.ts +6 -6
- package/lib/common/params.js +0 -23
- package/lib/common/providers/database.js +270 -300
- package/lib/common/providers/firestore.js +66 -92
- package/lib/common/providers/https.d.ts +0 -1
- package/lib/common/providers/https.js +537 -539
- package/lib/common/providers/identity.js +393 -444
- package/lib/common/providers/tasks.js +64 -98
- package/lib/common/timezone.js +544 -542
- package/lib/common/trace.d.ts +0 -1
- package/lib/common/trace.js +63 -55
- package/lib/common/utilities/assertions.d.ts +11 -0
- package/lib/common/utilities/assertions.js +18 -0
- package/lib/common/utilities/encoder.js +20 -37
- package/lib/common/utilities/path-pattern.js +106 -132
- package/lib/common/utilities/path.js +28 -27
- package/lib/common/utilities/utils.js +23 -45
- package/lib/esm/_virtual/rolldown_runtime.mjs +16 -0
- package/lib/esm/bin/firebase-functions.mjs +91 -0
- package/lib/esm/common/app.mjs +39 -0
- package/lib/esm/common/change.mjs +57 -0
- package/lib/esm/common/config.mjs +45 -0
- package/lib/esm/common/debug.mjs +28 -0
- package/lib/esm/common/encoding.mjs +69 -0
- package/lib/esm/common/onInit.mjs +33 -0
- package/lib/esm/common/options.mjs +22 -0
- package/lib/esm/common/params.mjs +1 -0
- package/lib/esm/common/providers/database.mjs +269 -0
- package/lib/esm/common/providers/firestore.mjs +78 -0
- package/lib/esm/common/providers/https.mjs +573 -0
- package/lib/esm/common/providers/identity.mjs +428 -0
- package/lib/esm/common/providers/tasks.mjs +67 -0
- package/lib/esm/common/timezone.mjs +544 -0
- package/lib/esm/common/trace.mjs +73 -0
- package/lib/esm/common/utilities/assertions.mjs +17 -0
- package/lib/esm/common/utilities/encoder.mjs +21 -0
- package/lib/esm/common/utilities/path-pattern.mjs +116 -0
- package/lib/esm/common/utilities/path.mjs +35 -0
- package/lib/esm/common/utilities/utils.mjs +29 -0
- package/lib/esm/function-configuration.mjs +1 -0
- package/lib/esm/logger/common.mjs +23 -0
- package/lib/esm/logger/compat.mjs +25 -0
- package/lib/esm/logger/index.mjs +131 -0
- package/lib/esm/params/index.mjs +160 -0
- package/lib/esm/params/types.mjs +400 -0
- package/lib/esm/runtime/loader.mjs +132 -0
- package/lib/esm/runtime/manifest.mjs +134 -0
- package/lib/esm/types/global.d.mjs +1 -0
- package/lib/esm/v1/cloud-functions.mjs +206 -0
- package/lib/esm/v1/config.mjs +14 -0
- package/lib/esm/v1/function-builder.mjs +252 -0
- package/lib/esm/v1/function-configuration.mjs +72 -0
- package/lib/esm/v1/index.mjs +27 -0
- package/lib/esm/v1/providers/analytics.mjs +212 -0
- package/lib/esm/v1/providers/auth.mjs +156 -0
- package/lib/esm/v1/providers/database.mjs +243 -0
- package/lib/esm/v1/providers/firestore.mjs +131 -0
- package/lib/esm/v1/providers/https.mjs +82 -0
- package/lib/esm/v1/providers/pubsub.mjs +175 -0
- package/lib/esm/v1/providers/remoteConfig.mjs +64 -0
- package/lib/esm/v1/providers/storage.mjs +163 -0
- package/lib/esm/v1/providers/tasks.mjs +63 -0
- package/lib/esm/v1/providers/testLab.mjs +94 -0
- package/lib/esm/v2/core.mjs +4 -0
- package/lib/esm/v2/index.mjs +28 -0
- package/lib/esm/v2/options.mjs +102 -0
- package/lib/esm/v2/providers/alerts/alerts.mjs +85 -0
- package/lib/esm/v2/providers/alerts/appDistribution.mjs +75 -0
- package/lib/esm/v2/providers/alerts/billing.mjs +51 -0
- package/lib/esm/v2/providers/alerts/crashlytics.mjs +122 -0
- package/lib/esm/v2/providers/alerts/index.mjs +22 -0
- package/lib/esm/v2/providers/alerts/performance.mjs +66 -0
- package/lib/esm/v2/providers/database.mjs +197 -0
- package/lib/esm/v2/providers/dataconnect.mjs +130 -0
- package/lib/esm/v2/providers/eventarc.mjs +51 -0
- package/lib/esm/v2/providers/firestore.mjs +294 -0
- package/lib/esm/v2/providers/https.mjs +210 -0
- package/lib/esm/v2/providers/identity.mjs +103 -0
- package/lib/esm/v2/providers/pubsub.mjs +148 -0
- package/lib/esm/v2/providers/remoteConfig.mjs +52 -0
- package/lib/esm/v2/providers/scheduler.mjs +84 -0
- package/lib/esm/v2/providers/storage.mjs +155 -0
- package/lib/esm/v2/providers/tasks.mjs +65 -0
- package/lib/esm/v2/providers/testLab.mjs +53 -0
- package/lib/esm/v2/trace.mjs +20 -0
- package/lib/function-configuration.d.ts +0 -0
- package/lib/function-configuration.js +0 -0
- package/lib/logger/common.js +21 -41
- package/lib/logger/compat.js +18 -33
- package/lib/logger/index.js +119 -130
- package/lib/params/index.d.ts +4 -2
- package/lib/params/index.js +150 -144
- package/lib/params/types.js +389 -423
- package/lib/runtime/loader.js +114 -148
- package/lib/runtime/manifest.js +106 -126
- package/lib/types/global.d.js +0 -0
- package/lib/v1/cloud-functions.d.ts +2 -2
- package/lib/v1/cloud-functions.js +193 -241
- package/lib/v1/config.d.ts +4 -7
- package/lib/v1/config.js +13 -75
- package/lib/v1/function-builder.js +239 -368
- package/lib/v1/function-configuration.js +70 -63
- package/lib/v1/index.js +118 -73
- package/lib/v1/providers/analytics.js +188 -235
- package/lib/v1/providers/auth.d.ts +2 -1
- package/lib/v1/providers/auth.js +159 -164
- package/lib/v1/providers/database.js +237 -242
- package/lib/v1/providers/firestore.js +131 -130
- package/lib/v1/providers/https.d.ts +2 -1
- package/lib/v1/providers/https.js +79 -86
- package/lib/v1/providers/pubsub.js +175 -172
- package/lib/v1/providers/remoteConfig.js +64 -68
- package/lib/v1/providers/storage.js +161 -163
- package/lib/v1/providers/tasks.d.ts +1 -1
- package/lib/v1/providers/tasks.js +65 -80
- package/lib/v1/providers/testLab.js +94 -94
- package/lib/v2/core.d.ts +1 -1
- package/lib/v2/core.js +5 -32
- package/lib/v2/index.d.ts +6 -3
- package/lib/v2/index.js +123 -75
- package/lib/v2/options.js +88 -114
- package/lib/v2/providers/alerts/alerts.js +76 -95
- package/lib/v2/providers/alerts/appDistribution.js +73 -78
- package/lib/v2/providers/alerts/billing.js +49 -53
- package/lib/v2/providers/alerts/crashlytics.js +110 -102
- package/lib/v2/providers/alerts/index.js +56 -53
- package/lib/v2/providers/alerts/performance.js +64 -74
- package/lib/v2/providers/database.js +177 -180
- package/lib/v2/providers/dataconnect.d.ts +95 -0
- package/lib/v2/providers/dataconnect.js +137 -0
- package/lib/v2/providers/eventarc.js +55 -77
- package/lib/v2/providers/firestore.js +262 -260
- package/lib/v2/providers/https.d.ts +3 -2
- package/lib/v2/providers/https.js +210 -247
- package/lib/v2/providers/identity.d.ts +2 -1
- package/lib/v2/providers/identity.js +96 -105
- package/lib/v2/providers/pubsub.js +149 -167
- package/lib/v2/providers/remoteConfig.js +54 -63
- package/lib/v2/providers/scheduler.js +84 -96
- package/lib/v2/providers/storage.js +147 -162
- package/lib/v2/providers/tasks.d.ts +1 -1
- package/lib/v2/providers/tasks.js +68 -95
- package/lib/v2/providers/testLab.js +55 -64
- package/lib/v2/trace.js +18 -19
- package/package.json +321 -88
- package/protos/compiledFirestore.mjs +3512 -0
- package/protos/update.sh +28 -7
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
// SOFTWARE.
|
|
23
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.ResultStorage = exports.ClientInfo = exports.TestMatrix = exports.TestMatrixBuilder = exports._testMatrixWithOpts = exports.testMatrix = exports.TEST_MATRIX_COMPLETE_EVENT_TYPE = exports.SERVICE = exports.PROVIDER = void 0;
|
|
25
|
-
const cloud_functions_1 = require("../cloud-functions");
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.js');
|
|
2
|
+
const require_v1_cloud_functions = require('../cloud-functions.js');
|
|
3
|
+
|
|
4
|
+
//#region src/v1/providers/testLab.ts
|
|
5
|
+
var testLab_exports = /* @__PURE__ */ require_rolldown_runtime.__export({
|
|
6
|
+
ClientInfo: () => ClientInfo,
|
|
7
|
+
PROVIDER: () => PROVIDER,
|
|
8
|
+
ResultStorage: () => ResultStorage,
|
|
9
|
+
SERVICE: () => SERVICE,
|
|
10
|
+
TEST_MATRIX_COMPLETE_EVENT_TYPE: () => TEST_MATRIX_COMPLETE_EVENT_TYPE,
|
|
11
|
+
TestMatrix: () => TestMatrix,
|
|
12
|
+
TestMatrixBuilder: () => TestMatrixBuilder,
|
|
13
|
+
_testMatrixWithOpts: () => _testMatrixWithOpts,
|
|
14
|
+
testMatrix: () => testMatrix
|
|
15
|
+
});
|
|
26
16
|
/** @internal */
|
|
27
|
-
|
|
17
|
+
const PROVIDER = "google.testing";
|
|
28
18
|
/** @internal */
|
|
29
|
-
|
|
19
|
+
const SERVICE = "testing.googleapis.com";
|
|
30
20
|
/** @internal */
|
|
31
|
-
|
|
21
|
+
const TEST_MATRIX_COMPLETE_EVENT_TYPE = "testMatrix.complete";
|
|
32
22
|
/** Handle events related to Test Lab test matrices. */
|
|
33
23
|
function testMatrix() {
|
|
34
|
-
|
|
24
|
+
return _testMatrixWithOpts({});
|
|
35
25
|
}
|
|
36
|
-
exports.testMatrix = testMatrix;
|
|
37
26
|
/** @internal */
|
|
38
27
|
function _testMatrixWithOpts(opts) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
28
|
+
return new TestMatrixBuilder(() => {
|
|
29
|
+
if (!process.env.GCLOUD_PROJECT) {
|
|
30
|
+
throw new Error("process.env.GCLOUD_PROJECT is not set.");
|
|
31
|
+
}
|
|
32
|
+
return "projects/" + process.env.GCLOUD_PROJECT + "/testMatrices/{matrix}";
|
|
33
|
+
}, opts);
|
|
45
34
|
}
|
|
46
|
-
exports._testMatrixWithOpts = _testMatrixWithOpts;
|
|
47
35
|
/** Builder used to create Cloud Functions for Test Lab test matrices events. */
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
exports.TestMatrixBuilder = TestMatrixBuilder;
|
|
36
|
+
var TestMatrixBuilder = class {
|
|
37
|
+
/** @internal */
|
|
38
|
+
constructor(triggerResource, options) {
|
|
39
|
+
this.triggerResource = triggerResource;
|
|
40
|
+
this.options = options;
|
|
41
|
+
}
|
|
42
|
+
/** Handle a TestMatrix that reached a final test state. */
|
|
43
|
+
onComplete(handler) {
|
|
44
|
+
const dataConstructor = (raw) => {
|
|
45
|
+
return new TestMatrix(raw.data);
|
|
46
|
+
};
|
|
47
|
+
return require_v1_cloud_functions.makeCloudFunction({
|
|
48
|
+
provider: PROVIDER,
|
|
49
|
+
eventType: TEST_MATRIX_COMPLETE_EVENT_TYPE,
|
|
50
|
+
triggerResource: this.triggerResource,
|
|
51
|
+
service: SERVICE,
|
|
52
|
+
dataConstructor,
|
|
53
|
+
handler,
|
|
54
|
+
options: this.options
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
};
|
|
71
58
|
/** TestMatrix captures details about a test run. */
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
exports.TestMatrix = TestMatrix;
|
|
59
|
+
var TestMatrix = class {
|
|
60
|
+
/** @internal */
|
|
61
|
+
constructor(data) {
|
|
62
|
+
this.testMatrixId = data.testMatrixId;
|
|
63
|
+
this.createTime = data.timestamp;
|
|
64
|
+
this.state = data.state;
|
|
65
|
+
this.outcomeSummary = data.outcomeSummary;
|
|
66
|
+
this.invalidMatrixDetails = data.invalidMatrixDetails;
|
|
67
|
+
this.resultStorage = new ResultStorage(data.resultStorage);
|
|
68
|
+
this.clientInfo = new ClientInfo(data.clientInfo);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
85
71
|
/** Information about the client which invoked the test. */
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
exports.ClientInfo = ClientInfo;
|
|
72
|
+
var ClientInfo = class {
|
|
73
|
+
/** @internal */
|
|
74
|
+
constructor(data) {
|
|
75
|
+
this.name = data?.name || "";
|
|
76
|
+
this.details = {};
|
|
77
|
+
for (const detail of data?.clientInfoDetails || []) {
|
|
78
|
+
this.details[detail.key] = detail.value || "";
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
97
82
|
/** Locations where the test results are stored. */
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
83
|
+
var ResultStorage = class {
|
|
84
|
+
/** @internal */
|
|
85
|
+
constructor(data) {
|
|
86
|
+
this.gcsPath = data?.googleCloudStorage?.gcsPath;
|
|
87
|
+
this.toolResultsHistoryId = data?.toolResultsHistory?.historyId;
|
|
88
|
+
this.toolResultsExecutionId = data?.toolResultsExecution?.executionId;
|
|
89
|
+
this.resultsUrl = data?.resultsUrl;
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
//#endregion
|
|
94
|
+
exports.ClientInfo = ClientInfo;
|
|
95
|
+
exports.PROVIDER = PROVIDER;
|
|
108
96
|
exports.ResultStorage = ResultStorage;
|
|
97
|
+
exports.SERVICE = SERVICE;
|
|
98
|
+
exports.TEST_MATRIX_COMPLETE_EVENT_TYPE = TEST_MATRIX_COMPLETE_EVENT_TYPE;
|
|
99
|
+
exports.TestMatrix = TestMatrix;
|
|
100
|
+
exports.TestMatrixBuilder = TestMatrixBuilder;
|
|
101
|
+
exports._testMatrixWithOpts = _testMatrixWithOpts;
|
|
102
|
+
Object.defineProperty(exports, 'testLab_exports', {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () {
|
|
105
|
+
return testLab_exports;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
exports.testMatrix = testMatrix;
|
package/lib/v2/core.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Change } from "../common/change";
|
|
6
6
|
import { ManifestEndpoint } from "../runtime/manifest";
|
|
7
7
|
export { Change };
|
|
8
|
-
export { ParamsOf } from "../common/params";
|
|
8
|
+
export type { ParamsOf } from "../common/params";
|
|
9
9
|
export { onInit } from "../common/onInit";
|
|
10
10
|
/**
|
|
11
11
|
* A `CloudEventBase` is the base of a cross-platform format for encoding a serverless event.
|
package/lib/v2/core.js
CHANGED
|
@@ -1,32 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
// of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
// in the Software without restriction, including without limitation the rights
|
|
9
|
-
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
// copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
// furnished to do so, subject to the following conditions:
|
|
12
|
-
//
|
|
13
|
-
// The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
// copies or substantial portions of the Software.
|
|
15
|
-
//
|
|
16
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
// SOFTWARE.
|
|
23
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.onInit = exports.Change = void 0;
|
|
25
|
-
/**
|
|
26
|
-
* Core functionality of the Cloud Functions for Firebase 2nd gen SDK.
|
|
27
|
-
* @packageDocumentation
|
|
28
|
-
*/
|
|
29
|
-
const change_1 = require("../common/change");
|
|
30
|
-
Object.defineProperty(exports, "Change", { enumerable: true, get: function () { return change_1.Change; } });
|
|
31
|
-
var onInit_1 = require("../common/onInit");
|
|
32
|
-
Object.defineProperty(exports, "onInit", { enumerable: true, get: function () { return onInit_1.onInit; } });
|
|
1
|
+
const require_common_change = require('../common/change.js');
|
|
2
|
+
const require_common_onInit = require('../common/onInit.js');
|
|
3
|
+
|
|
4
|
+
exports.Change = require_common_change.Change;
|
|
5
|
+
exports.onInit = require_common_onInit.onInit;
|
package/lib/v2/index.d.ts
CHANGED
|
@@ -18,9 +18,12 @@ import * as tasks from "./providers/tasks";
|
|
|
18
18
|
import * as remoteConfig from "./providers/remoteConfig";
|
|
19
19
|
import * as testLab from "./providers/testLab";
|
|
20
20
|
import * as firestore from "./providers/firestore";
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
21
|
+
import * as dataconnect from "./providers/dataconnect";
|
|
22
|
+
export { alerts, database, storage, https, identity, pubsub, logger, tasks, eventarc, scheduler, remoteConfig, testLab, firestore, dataconnect, };
|
|
23
|
+
export { setGlobalOptions } from "./options";
|
|
24
|
+
export type { GlobalOptions, SupportedRegion, MemoryOption, VpcEgressSetting, IngressSetting, EventHandlerOptions, } from "./options";
|
|
25
|
+
export { onInit } from "./core";
|
|
26
|
+
export type { CloudFunction, CloudEvent, ParamsOf } from "./core";
|
|
24
27
|
export { Change } from "../common/change";
|
|
25
28
|
export { traceContext } from "../common/trace";
|
|
26
29
|
import * as params from "../params";
|
package/lib/v2/index.js
CHANGED
|
@@ -1,75 +1,123 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
exports.
|
|
36
|
-
|
|
37
|
-
exports
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
exports
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
exports
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
exports
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
Object.defineProperty(exports,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
1
|
+
const require_common_trace = require('../common/trace.js');
|
|
2
|
+
const require_logger_index = require('../logger/index.js');
|
|
3
|
+
const require_params_index = require('../params/index.js');
|
|
4
|
+
const require_common_app = require('../common/app.js');
|
|
5
|
+
const require_common_change = require('../common/change.js');
|
|
6
|
+
const require_common_onInit = require('../common/onInit.js');
|
|
7
|
+
const require_v1_config = require('../v1/config.js');
|
|
8
|
+
require('./core.js');
|
|
9
|
+
const require_v2_options = require('./options.js');
|
|
10
|
+
const require_v2_providers_alerts_index = require('./providers/alerts/index.js');
|
|
11
|
+
const require_v2_providers_database = require('./providers/database.js');
|
|
12
|
+
const require_v2_providers_eventarc = require('./providers/eventarc.js');
|
|
13
|
+
const require_v2_providers_https = require('./providers/https.js');
|
|
14
|
+
const require_v2_providers_identity = require('./providers/identity.js');
|
|
15
|
+
const require_v2_providers_pubsub = require('./providers/pubsub.js');
|
|
16
|
+
const require_v2_providers_scheduler = require('./providers/scheduler.js');
|
|
17
|
+
const require_v2_providers_storage = require('./providers/storage.js');
|
|
18
|
+
const require_v2_providers_tasks = require('./providers/tasks.js');
|
|
19
|
+
const require_v2_providers_remoteConfig = require('./providers/remoteConfig.js');
|
|
20
|
+
const require_v2_providers_testLab = require('./providers/testLab.js');
|
|
21
|
+
const require_v2_providers_firestore = require('./providers/firestore.js');
|
|
22
|
+
const require_v2_providers_dataconnect = require('./providers/dataconnect.js');
|
|
23
|
+
|
|
24
|
+
//#region src/v2/index.ts
|
|
25
|
+
const app = { setEmulatedAdminApp: require_common_app.setApp };
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.Change = require_common_change.Change;
|
|
29
|
+
Object.defineProperty(exports, 'alerts', {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () {
|
|
32
|
+
return require_v2_providers_alerts_index.alerts_exports;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
exports.app = app;
|
|
36
|
+
exports.config = require_v1_config.config;
|
|
37
|
+
Object.defineProperty(exports, 'database', {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () {
|
|
40
|
+
return require_v2_providers_database.database_exports;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, 'dataconnect', {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () {
|
|
46
|
+
return require_v2_providers_dataconnect.dataconnect_exports;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, 'eventarc', {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () {
|
|
52
|
+
return require_v2_providers_eventarc.eventarc_exports;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, 'firestore', {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () {
|
|
58
|
+
return require_v2_providers_firestore.firestore_exports;
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, 'https', {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () {
|
|
64
|
+
return require_v2_providers_https.https_exports;
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
Object.defineProperty(exports, 'identity', {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function () {
|
|
70
|
+
return require_v2_providers_identity.identity_exports;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, 'logger', {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () {
|
|
76
|
+
return require_logger_index.logger_exports;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
exports.onInit = require_common_onInit.onInit;
|
|
80
|
+
Object.defineProperty(exports, 'params', {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () {
|
|
83
|
+
return require_params_index.params_exports;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, 'pubsub', {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () {
|
|
89
|
+
return require_v2_providers_pubsub.pubsub_exports;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, 'remoteConfig', {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () {
|
|
95
|
+
return require_v2_providers_remoteConfig.remoteConfig_exports;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, 'scheduler', {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () {
|
|
101
|
+
return require_v2_providers_scheduler.scheduler_exports;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
exports.setGlobalOptions = require_v2_options.setGlobalOptions;
|
|
105
|
+
Object.defineProperty(exports, 'storage', {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () {
|
|
108
|
+
return require_v2_providers_storage.storage_exports;
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(exports, 'tasks', {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
get: function () {
|
|
114
|
+
return require_v2_providers_tasks.tasks_exports;
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports, 'testLab', {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () {
|
|
120
|
+
return require_v2_providers_testLab.testLab_exports;
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
exports.traceContext = require_common_trace.traceContext;
|