summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@firebase/functions-compat/dist
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
committeraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
commit434aa8343fdcbb4d5002f934979913c099489bee (patch)
tree55bab4ec5a6151be57797d34f61faf5ea744471b /frontend-old/node_modules/@firebase/functions-compat/dist
parent893c388d4e99442a36005e5971a87730623f946e (diff)
sdk, del
Diffstat (limited to 'frontend-old/node_modules/@firebase/functions-compat/dist')
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/esm/index.esm.js111
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/esm/index.esm.js.map1
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/esm/package.json1
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/callable.test.d.ts1
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/index.d.ts28
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/register.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/service.d.ts44
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/service.test.d.ts1
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/esm/test/utils.d.ts19
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/index.cjs.js117
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/index.cjs.js.map1
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/src/callable.test.d.ts1
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/src/index.d.ts37
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/src/register.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/src/service.d.ts44
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/src/service.test.d.ts1
-rw-r--r--frontend-old/node_modules/@firebase/functions-compat/dist/test/utils.d.ts19
17 files changed, 0 insertions, 460 deletions
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/index.esm.js b/frontend-old/node_modules/@firebase/functions-compat/dist/esm/index.esm.js
deleted file mode 100644
index bf9b1e8..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/index.esm.js
+++ /dev/null
@@ -1,111 +0,0 @@
-import firebase from '@firebase/app-compat';
-import { httpsCallable, httpsCallableFromURL, connectFunctionsEmulator } from '@firebase/functions';
-import { FirebaseError } from '@firebase/util';
-import { Component } from '@firebase/component';
-
-const name = "@firebase/functions-compat";
-const version = "0.4.1";
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-class FunctionsService {
- constructor(app, _delegate) {
- this.app = app;
- this._delegate = _delegate;
- this._region = this._delegate.region;
- this._customDomain = this._delegate.customDomain;
- }
- httpsCallable(name, options) {
- return httpsCallable(this._delegate, name, options);
- }
- httpsCallableFromURL(url, options) {
- return httpsCallableFromURL(this._delegate, url, options);
- }
- /**
- * Deprecated in pre-modularized repo, does not exist in modularized
- * functions package, need to convert to "host" and "port" args that
- * `useFunctionsEmulatorExp` takes.
- * @deprecated
- */
- useFunctionsEmulator(origin) {
- const match = origin.match('[a-zA-Z]+://([a-zA-Z0-9.-]+)(?::([0-9]+))?');
- if (match == null) {
- throw new FirebaseError('functions', 'No origin provided to useFunctionsEmulator()');
- }
- if (match[2] == null) {
- throw new FirebaseError('functions', 'Port missing in origin provided to useFunctionsEmulator()');
- }
- return connectFunctionsEmulator(this._delegate, match[1], Number(match[2]));
- }
- useEmulator(host, port) {
- return connectFunctionsEmulator(this._delegate, host, port);
- }
-}
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-const DEFAULT_REGION = 'us-central1';
-const factory = (container, { instanceIdentifier: regionOrCustomDomain }) => {
- // Dependencies
- const app = container.getProvider('app-compat').getImmediate();
- const functionsServiceExp = container.getProvider('functions').getImmediate({
- identifier: regionOrCustomDomain ?? DEFAULT_REGION
- });
- return new FunctionsService(app, functionsServiceExp);
-};
-function registerFunctions() {
- const namespaceExports = {
- Functions: FunctionsService
- };
- firebase.INTERNAL.registerComponent(new Component('functions-compat', factory, "PUBLIC" /* ComponentType.PUBLIC */)
- .setServiceProps(namespaceExports)
- .setMultipleInstances(true));
-}
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-registerFunctions();
-firebase.registerVersion(name, version);
-//# sourceMappingURL=index.esm.js.map
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/index.esm.js.map b/frontend-old/node_modules/@firebase/functions-compat/dist/esm/index.esm.js.map
deleted file mode 100644
index 26730c3..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/index.esm.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.esm.js","sources":["../../src/service.ts","../../src/register.ts","../../src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseFunctions, HttpsCallable } from '@firebase/functions-types';\nimport {\n httpsCallable as httpsCallableExp,\n httpsCallableFromURL as httpsCallableFromURLExp,\n connectFunctionsEmulator as useFunctionsEmulatorExp,\n HttpsCallableOptions,\n Functions as FunctionsServiceExp\n} from '@firebase/functions';\nimport { FirebaseApp, _FirebaseService } from '@firebase/app-compat';\nimport { FirebaseError } from '@firebase/util';\n\nexport class FunctionsService implements FirebaseFunctions, _FirebaseService {\n /**\n * For testing.\n * @internal\n */\n _region: string;\n /**\n * For testing.\n * @internal\n */\n _customDomain: string | null;\n\n constructor(\n public app: FirebaseApp,\n readonly _delegate: FunctionsServiceExp\n ) {\n this._region = this._delegate.region;\n this._customDomain = this._delegate.customDomain;\n }\n httpsCallable(name: string, options?: HttpsCallableOptions): HttpsCallable {\n return httpsCallableExp(this._delegate, name, options);\n }\n httpsCallableFromURL(\n url: string,\n options?: HttpsCallableOptions\n ): HttpsCallable {\n return httpsCallableFromURLExp(this._delegate, url, options);\n }\n /**\n * Deprecated in pre-modularized repo, does not exist in modularized\n * functions package, need to convert to \"host\" and \"port\" args that\n * `useFunctionsEmulatorExp` takes.\n * @deprecated\n */\n useFunctionsEmulator(origin: string): void {\n const match = origin.match('[a-zA-Z]+://([a-zA-Z0-9.-]+)(?::([0-9]+))?');\n if (match == null) {\n throw new FirebaseError(\n 'functions',\n 'No origin provided to useFunctionsEmulator()'\n );\n }\n if (match[2] == null) {\n throw new FirebaseError(\n 'functions',\n 'Port missing in origin provided to useFunctionsEmulator()'\n );\n }\n return useFunctionsEmulatorExp(this._delegate, match[1], Number(match[2]));\n }\n useEmulator(host: string, port: number): void {\n return useFunctionsEmulatorExp(this._delegate, host, port);\n }\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport firebase, { _FirebaseNamespace } from '@firebase/app-compat';\nimport { FunctionsService } from './service';\nimport {\n Component,\n ComponentType,\n InstanceFactory,\n ComponentContainer,\n InstanceFactoryOptions\n} from '@firebase/component';\n\nconst DEFAULT_REGION = 'us-central1';\n\nconst factory: InstanceFactory<'functions-compat'> = (\n container: ComponentContainer,\n { instanceIdentifier: regionOrCustomDomain }: InstanceFactoryOptions\n) => {\n // Dependencies\n const app = container.getProvider('app-compat').getImmediate();\n const functionsServiceExp = container.getProvider('functions').getImmediate({\n identifier: regionOrCustomDomain ?? DEFAULT_REGION\n });\n\n return new FunctionsService(app, functionsServiceExp);\n};\n\nexport function registerFunctions(): void {\n const namespaceExports = {\n Functions: FunctionsService\n };\n (firebase as _FirebaseNamespace).INTERNAL.registerComponent(\n new Component('functions-compat', factory, ComponentType.PUBLIC)\n .setServiceProps(namespaceExports)\n .setMultipleInstances(true)\n );\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport firebase from '@firebase/app-compat';\nimport { name, version } from '../package.json';\nimport { registerFunctions } from './register';\nimport * as types from '@firebase/functions-types';\n\nregisterFunctions();\nfirebase.registerVersion(name, version);\n\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n functions: {\n (app?: FirebaseApp): types.FirebaseFunctions;\n Functions: typeof types.FirebaseFunctions;\n };\n }\n interface FirebaseApp {\n functions(regionOrCustomDomain?: string): types.FirebaseFunctions;\n }\n}\n"],"names":["httpsCallableExp","httpsCallableFromURLExp","useFunctionsEmulatorExp"],"mappings":";;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAaU,gBAAgB,CAAA;IAY3B,WACS,CAAA,GAAgB,EACd,SAA8B,EAAA;QADhC,IAAG,CAAA,GAAA,GAAH,GAAG,CAAa;QACd,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;QAEvC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;QACrC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC;KAClD;IACD,aAAa,CAAC,IAAY,EAAE,OAA8B,EAAA;QACxD,OAAOA,aAAgB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;KACxD;IACD,oBAAoB,CAClB,GAAW,EACX,OAA8B,EAAA;QAE9B,OAAOC,oBAAuB,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;KAC9D;AACD;;;;;AAKG;AACH,IAAA,oBAAoB,CAAC,MAAc,EAAA;QACjC,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,4CAA4C,CAAC,CAAC;AACzE,QAAA,IAAI,KAAK,IAAI,IAAI,EAAE;AACjB,YA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CAC9B,CAAC;AACJ;;ACnDA;;;;;;;;;;;;;;;AAeG;AAOH,iBAAiB,EAAE,CAAC;AACpB,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC"} \ No newline at end of file
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/package.json b/frontend-old/node_modules/@firebase/functions-compat/dist/esm/package.json
deleted file mode 100644
index 7c34deb..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/package.json
+++ /dev/null
@@ -1 +0,0 @@
-{"type":"module"} \ No newline at end of file
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/callable.test.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/callable.test.d.ts
deleted file mode 100644
index 93a94d9..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/callable.test.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const TEST_PROJECT: any;
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/index.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/index.d.ts
deleted file mode 100644
index 5aab6a4..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/index.d.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import * as types from '@firebase/functions-types';
-declare module '@firebase/app-compat' {
- interface FirebaseNamespace {
- functions: {
- (app?: FirebaseApp): types.FirebaseFunctions;
- Functions: typeof types.FirebaseFunctions;
- };
- }
- interface FirebaseApp {
- functions(regionOrCustomDomain?: string): types.FirebaseFunctions;
- }
-}
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/register.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/register.d.ts
deleted file mode 100644
index da42f18..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/register.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-export declare function registerFunctions(): void;
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/service.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/service.d.ts
deleted file mode 100644
index 47e44e8..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/service.d.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { FirebaseFunctions, HttpsCallable } from '@firebase/functions-types';
-import { HttpsCallableOptions, Functions as FunctionsServiceExp } from '@firebase/functions';
-import { FirebaseApp, _FirebaseService } from '@firebase/app-compat';
-export declare class FunctionsService implements FirebaseFunctions, _FirebaseService {
- app: FirebaseApp;
- readonly _delegate: FunctionsServiceExp;
- /**
- * For testing.
- * @internal
- */
- _region: string;
- /**
- * For testing.
- * @internal
- */
- _customDomain: string | null;
- constructor(app: FirebaseApp, _delegate: FunctionsServiceExp);
- httpsCallable(name: string, options?: HttpsCallableOptions): HttpsCallable;
- httpsCallableFromURL(url: string, options?: HttpsCallableOptions): HttpsCallable;
- /**
- * Deprecated in pre-modularized repo, does not exist in modularized
- * functions package, need to convert to "host" and "port" args that
- * `useFunctionsEmulatorExp` takes.
- * @deprecated
- */
- useFunctionsEmulator(origin: string): void;
- useEmulator(host: string, port: number): void;
-}
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/service.test.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/service.test.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/src/service.test.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/test/utils.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/esm/test/utils.d.ts
deleted file mode 100644
index 800959d..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/esm/test/utils.d.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * @license
- * Copyright 2019 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { FirebaseApp } from '@firebase/app-compat';
-import { FunctionsService } from '../src/service';
-export declare function createTestService(app: FirebaseApp, regionOrCustomDomain?: string): FunctionsService;
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/index.cjs.js b/frontend-old/node_modules/@firebase/functions-compat/dist/index.cjs.js
deleted file mode 100644
index 06a8a88..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/index.cjs.js
+++ /dev/null
@@ -1,117 +0,0 @@
-'use strict';
-
-var firebase = require('@firebase/app-compat');
-var functions = require('@firebase/functions');
-var util = require('@firebase/util');
-var component = require('@firebase/component');
-
-function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
-
-var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
-
-const name = "@firebase/functions-compat";
-const version = "0.4.1";
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-class FunctionsService {
- constructor(app, _delegate) {
- this.app = app;
- this._delegate = _delegate;
- this._region = this._delegate.region;
- this._customDomain = this._delegate.customDomain;
- }
- httpsCallable(name, options) {
- return functions.httpsCallable(this._delegate, name, options);
- }
- httpsCallableFromURL(url, options) {
- return functions.httpsCallableFromURL(this._delegate, url, options);
- }
- /**
- * Deprecated in pre-modularized repo, does not exist in modularized
- * functions package, need to convert to "host" and "port" args that
- * `useFunctionsEmulatorExp` takes.
- * @deprecated
- */
- useFunctionsEmulator(origin) {
- const match = origin.match('[a-zA-Z]+://([a-zA-Z0-9.-]+)(?::([0-9]+))?');
- if (match == null) {
- throw new util.FirebaseError('functions', 'No origin provided to useFunctionsEmulator()');
- }
- if (match[2] == null) {
- throw new util.FirebaseError('functions', 'Port missing in origin provided to useFunctionsEmulator()');
- }
- return functions.connectFunctionsEmulator(this._delegate, match[1], Number(match[2]));
- }
- useEmulator(host, port) {
- return functions.connectFunctionsEmulator(this._delegate, host, port);
- }
-}
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-const DEFAULT_REGION = 'us-central1';
-const factory = (container, { instanceIdentifier: regionOrCustomDomain }) => {
- // Dependencies
- const app = container.getProvider('app-compat').getImmediate();
- const functionsServiceExp = container.getProvider('functions').getImmediate({
- identifier: regionOrCustomDomain ?? DEFAULT_REGION
- });
- return new FunctionsService(app, functionsServiceExp);
-};
-function registerFunctions() {
- const namespaceExports = {
- Functions: FunctionsService
- };
- firebase__default["default"].INTERNAL.registerComponent(new component.Component('functions-compat', factory, "PUBLIC" /* ComponentType.PUBLIC */)
- .setServiceProps(namespaceExports)
- .setMultipleInstances(true));
-}
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-registerFunctions();
-firebase__default["default"].registerVersion(name, version);
-//# sourceMappingURL=index.cjs.js.map
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/index.cjs.js.map b/frontend-old/node_modules/@firebase/functions-compat/dist/index.cjs.js.map
deleted file mode 100644
index b2c2ccf..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/index.cjs.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.cjs.js","sources":["../src/service.ts","../src/register.ts","../src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseFunctions, HttpsCallable } from '@firebase/functions-types';\nimport {\n httpsCallable as httpsCallableExp,\n httpsCallableFromURL as httpsCallableFromURLExp,\n connectFunctionsEmulator as useFunctionsEmulatorExp,\n HttpsCallableOptions,\n Functions as FunctionsServiceExp\n} from '@firebase/functions';\nimport { FirebaseApp, _FirebaseService } from '@firebase/app-compat';\nimport { FirebaseError } from '@firebase/util';\n\nexport class FunctionsService implements FirebaseFunctions, _FirebaseService {\n /**\n * For testing.\n * @internal\n */\n _region: string;\n /**\n * For testing.\n * @internal\n */\n _customDomain: string | null;\n\n constructor(\n public app: FirebaseApp,\n readonly _delegate: FunctionsServiceExp\n ) {\n this._region = this._delegate.region;\n this._customDomain = this._delegate.customDomain;\n }\n httpsCallable(name: string, options?: HttpsCallableOptions): HttpsCallable {\n return httpsCallableExp(this._delegate, name, options);\n }\n httpsCallableFromURL(\n url: string,\n options?: HttpsCallableOptions\n ): HttpsCallable {\n return httpsCallableFromURLExp(this._delegate, url, options);\n }\n /**\n * Deprecated in pre-modularized repo, does not exist in modularized\n * functions package, need to convert to \"host\" and \"port\" args that\n * `useFunctionsEmulatorExp` takes.\n * @deprecated\n */\n useFunctionsEmulator(origin: string): void {\n const match = origin.match('[a-zA-Z]+://([a-zA-Z0-9.-]+)(?::([0-9]+))?');\n if (match == null) {\n throw new FirebaseError(\n 'functions',\n 'No origin provided to useFunctionsEmulator()'\n );\n }\n if (match[2] == null) {\n throw new FirebaseError(\n 'functions',\n 'Port missing in origin provided to useFunctionsEmulator()'\n );\n }\n return useFunctionsEmulatorExp(this._delegate, match[1], Number(match[2]));\n }\n useEmulator(host: string, port: number): void {\n return useFunctionsEmulatorExp(this._delegate, host, port);\n }\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport firebase, { _FirebaseNamespace } from '@firebase/app-compat';\nimport { FunctionsService } from './service';\nimport {\n Component,\n ComponentType,\n InstanceFactory,\n ComponentContainer,\n InstanceFactoryOptions\n} from '@firebase/component';\n\nconst DEFAULT_REGION = 'us-central1';\n\nconst factory: InstanceFactory<'functions-compat'> = (\n container: ComponentContainer,\n { instanceIdentifier: regionOrCustomDomain }: InstanceFactoryOptions\n) => {\n // Dependencies\n const app = container.getProvider('app-compat').getImmediate();\n const functionsServiceExp = container.getProvider('functions').getImmediate({\n identifier: regionOrCustomDomain ?? DEFAULT_REGION\n });\n\n return new FunctionsService(app, functionsServiceExp);\n};\n\nexport function registerFunctions(): void {\n const namespaceExports = {\n Functions: FunctionsService\n };\n (firebase as _FirebaseNamespace).INTERNAL.registerComponent(\n new Component('functions-compat', factory, ComponentType.PUBLIC)\n .setServiceProps(namespaceExports)\n .setMultipleInstances(true)\n );\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport firebase from '@firebase/app-compat';\nimport { name, version } from '../package.json';\nimport { registerFunctions } from './register';\nimport * as types from '@firebase/functions-types';\n\nregisterFunctions();\nfirebase.registerVersion(name, version);\n\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n functions: {\n (app?: FirebaseApp): types.FirebaseFunctions;\n Functions: typeof types.FirebaseFunctions;\n };\n }\n interface FirebaseApp {\n functions(regionOrCustomDomain?: string): types.FirebaseFunctions;\n }\n}\n"],"names":["httpsCallableExp","httpsCallableFromURLExp","FirebaseError","useFunctionsEmulatorExp","firebase","Component"],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAaU,gBAAgB,CAAA;IAY3B,WACS,CAAA,GAAgB,EACd,SAA8B,EAAA;QADhC,IAAG,CAAA,GAAA,GAAH,GAAG,CAAa;QACd,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;QAEvC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;QACrC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC;KAClD;IACD,aAAa,CAAC,IAAY,EAAE,OAA8B,EAAA;QACxD,OAAOA,uBAAgB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;KACxD;IACD,oBAAoB,CAClB,GAAW,EACX,OAA8B,EAAA;QAE9B,OAAOC,8BAAuB,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;KAC9D;AACD;;;;;AAKG;AACH,IAAA,oBAAoB,CAAC,MAAc,EAAA;QACjC,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,4CAA4C,CAAC,CAAC;AACzE,QAAA,IAAI,KAAK,IAAI,IAAI,EAAE;AACjB,YAAA,MAAM,IAAIC,kBAA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;AACJ;;ACnDA;;;;;;;;;;;;;;;AAeG;AAOH,iBAAiB,EAAE,CAAC;AACpBD,4BAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC;;"} \ No newline at end of file
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/src/callable.test.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/src/callable.test.d.ts
deleted file mode 100644
index 93a94d9..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/src/callable.test.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const TEST_PROJECT: any;
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/src/index.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/src/index.d.ts
deleted file mode 100644
index eb85118..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/src/index.d.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import * as types from '@firebase/functions-types';
-declare module '@firebase/app-compat' {
- interface FirebaseNamespace {
- functions: {
- (app?: FirebaseApp): types.FirebaseFunctions;
- Functions: typeof types.FirebaseFunctions;
- };
- }
- interface FirebaseApp {
- functions(regionOrCustomDomain?: string): types.FirebaseFunctions;
- }
-}
-
-import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
-import { type Functions, type HttpsCallableOptions, type HttpsCallable } from "@firebase/functions";
-declare module "@firebase/functions" {
- function connectFunctionsEmulator(functionsInstance: types.FirebaseFunctions, host: string, port: number): void;
- function getFunctions(app?: FirebaseAppCompat, regionOrCustomDomain?: string): Functions;
- function httpsCallable<RequestData = unknown, ResponseData = unknown, StreamData = unknown>(functionsInstance: types.FirebaseFunctions, name: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData, StreamData>;
- function httpsCallableFromURL<RequestData = unknown, ResponseData = unknown, StreamData = unknown>(functionsInstance: types.FirebaseFunctions, url: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData, StreamData>;
-}
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/src/register.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/src/register.d.ts
deleted file mode 100644
index da42f18..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/src/register.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-export declare function registerFunctions(): void;
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/src/service.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/src/service.d.ts
deleted file mode 100644
index 47e44e8..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/src/service.d.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { FirebaseFunctions, HttpsCallable } from '@firebase/functions-types';
-import { HttpsCallableOptions, Functions as FunctionsServiceExp } from '@firebase/functions';
-import { FirebaseApp, _FirebaseService } from '@firebase/app-compat';
-export declare class FunctionsService implements FirebaseFunctions, _FirebaseService {
- app: FirebaseApp;
- readonly _delegate: FunctionsServiceExp;
- /**
- * For testing.
- * @internal
- */
- _region: string;
- /**
- * For testing.
- * @internal
- */
- _customDomain: string | null;
- constructor(app: FirebaseApp, _delegate: FunctionsServiceExp);
- httpsCallable(name: string, options?: HttpsCallableOptions): HttpsCallable;
- httpsCallableFromURL(url: string, options?: HttpsCallableOptions): HttpsCallable;
- /**
- * Deprecated in pre-modularized repo, does not exist in modularized
- * functions package, need to convert to "host" and "port" args that
- * `useFunctionsEmulatorExp` takes.
- * @deprecated
- */
- useFunctionsEmulator(origin: string): void;
- useEmulator(host: string, port: number): void;
-}
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/src/service.test.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/src/service.test.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/src/service.test.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/frontend-old/node_modules/@firebase/functions-compat/dist/test/utils.d.ts b/frontend-old/node_modules/@firebase/functions-compat/dist/test/utils.d.ts
deleted file mode 100644
index 800959d..0000000
--- a/frontend-old/node_modules/@firebase/functions-compat/dist/test/utils.d.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * @license
- * Copyright 2019 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { FirebaseApp } from '@firebase/app-compat';
-import { FunctionsService } from '../src/service';
-export declare function createTestService(app: FirebaseApp, regionOrCustomDomain?: string): FunctionsService;