Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
111
node_modules/@firebase/functions-compat/dist/esm/index.esm2017.js
generated
vendored
Normal file
111
node_modules/@firebase/functions-compat/dist/esm/index.esm2017.js
generated
vendored
Normal file
|
@ -0,0 +1,111 @@
|
|||
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.3.15";
|
||||
|
||||
/**
|
||||
* @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 !== null && regionOrCustomDomain !== void 0 ? 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.esm2017.js.map
|
1
node_modules/@firebase/functions-compat/dist/esm/index.esm2017.js.map
generated
vendored
Normal file
1
node_modules/@firebase/functions-compat/dist/esm/index.esm2017.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/@firebase/functions-compat/dist/esm/package.json
generated
vendored
Normal file
1
node_modules/@firebase/functions-compat/dist/esm/package.json
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"type":"module"}
|
1
node_modules/@firebase/functions-compat/dist/esm/src/callable.test.d.ts
generated
vendored
Normal file
1
node_modules/@firebase/functions-compat/dist/esm/src/callable.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export declare const TEST_PROJECT: any;
|
28
node_modules/@firebase/functions-compat/dist/esm/src/index.d.ts
generated
vendored
Normal file
28
node_modules/@firebase/functions-compat/dist/esm/src/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
/**
|
||||
* @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;
|
||||
}
|
||||
}
|
17
node_modules/@firebase/functions-compat/dist/esm/src/register.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/functions-compat/dist/esm/src/register.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @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;
|
44
node_modules/@firebase/functions-compat/dist/esm/src/service.d.ts
generated
vendored
Normal file
44
node_modules/@firebase/functions-compat/dist/esm/src/service.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
/**
|
||||
* @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;
|
||||
}
|
1
node_modules/@firebase/functions-compat/dist/esm/src/service.test.d.ts
generated
vendored
Normal file
1
node_modules/@firebase/functions-compat/dist/esm/src/service.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
19
node_modules/@firebase/functions-compat/dist/esm/test/utils.d.ts
generated
vendored
Normal file
19
node_modules/@firebase/functions-compat/dist/esm/test/utils.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* @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;
|
117
node_modules/@firebase/functions-compat/dist/index.cjs.js
generated
vendored
Normal file
117
node_modules/@firebase/functions-compat/dist/index.cjs.js
generated
vendored
Normal file
|
@ -0,0 +1,117 @@
|
|||
'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.3.15";
|
||||
|
||||
/**
|
||||
* @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 !== null && regionOrCustomDomain !== void 0 ? 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
|
1
node_modules/@firebase/functions-compat/dist/index.cjs.js.map
generated
vendored
Normal file
1
node_modules/@firebase/functions-compat/dist/index.cjs.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/@firebase/functions-compat/dist/src/callable.test.d.ts
generated
vendored
Normal file
1
node_modules/@firebase/functions-compat/dist/src/callable.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export declare const TEST_PROJECT: any;
|
37
node_modules/@firebase/functions-compat/dist/src/index.d.ts
generated
vendored
Normal file
37
node_modules/@firebase/functions-compat/dist/src/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
/**
|
||||
* @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>(functionsInstance: types.FirebaseFunctions, name: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData>;
|
||||
function httpsCallableFromURL<RequestData = unknown, ResponseData = unknown>(functionsInstance: types.FirebaseFunctions, url: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData>;
|
||||
}
|
17
node_modules/@firebase/functions-compat/dist/src/register.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/functions-compat/dist/src/register.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @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;
|
44
node_modules/@firebase/functions-compat/dist/src/service.d.ts
generated
vendored
Normal file
44
node_modules/@firebase/functions-compat/dist/src/service.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
/**
|
||||
* @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;
|
||||
}
|
1
node_modules/@firebase/functions-compat/dist/src/service.test.d.ts
generated
vendored
Normal file
1
node_modules/@firebase/functions-compat/dist/src/service.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
19
node_modules/@firebase/functions-compat/dist/test/utils.d.ts
generated
vendored
Normal file
19
node_modules/@firebase/functions-compat/dist/test/utils.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* @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;
|
80
node_modules/@firebase/functions-compat/package.json
generated
vendored
Normal file
80
node_modules/@firebase/functions-compat/package.json
generated
vendored
Normal file
|
@ -0,0 +1,80 @@
|
|||
{
|
||||
"name": "@firebase/functions-compat",
|
||||
"version": "0.3.15",
|
||||
"description": "",
|
||||
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
||||
"main": "dist/index.cjs.js",
|
||||
"browser": "dist/esm/index.esm2017.js",
|
||||
"module": "dist/esm/index.esm2017.js",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/src/index.d.ts",
|
||||
"node": {
|
||||
"require": "./dist/index.cjs.js",
|
||||
"import": "./dist/esm/index.esm2017.js"
|
||||
},
|
||||
"browser": {
|
||||
"require": "./dist/index.cjs.js",
|
||||
"import": "./dist/esm/index.esm2017.js"
|
||||
},
|
||||
"default": "./dist/esm/index.esm2017.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"peerDependencies": {
|
||||
"@firebase/app-compat": "0.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@firebase/app-compat": "0.2.44",
|
||||
"rollup": "2.79.1",
|
||||
"@rollup/plugin-json": "4.1.0",
|
||||
"rollup-plugin-typescript2": "0.31.2",
|
||||
"typescript": "4.7.4"
|
||||
},
|
||||
"repository": {
|
||||
"directory": "packages/functions-compat",
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/firebase/firebase-js-sdk.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/firebase/firebase-js-sdk/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
||||
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
||||
"build": "rollup -c",
|
||||
"build:deps": "lerna run --scope @firebase/functions-compat --include-dependencies build",
|
||||
"build:release": "rollup -c rollup.config.release.js && yarn add-compat-overloads",
|
||||
"dev": "rollup -c -w",
|
||||
"test": "run-p --npm-path npm lint test:all",
|
||||
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
|
||||
"test:all": "run-p --npm-path npm test:browser test:node",
|
||||
"test:browser": "karma start",
|
||||
"test:browser:debug": "karma start --browsers=Chrome --auto-watch",
|
||||
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'src/{,!(browser)/**/}*.test.ts' --config ../../config/mocharc.node.js",
|
||||
"test:emulator": "env FIREBASE_FUNCTIONS_HOST=http://localhost FIREBASE_FUNCTIONS_PORT=5005 run-p --npm-path npm test:node",
|
||||
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
|
||||
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../functions/dist/functions-public.d.ts -o dist/src/index.d.ts -a -r Functions:types.FirebaseFunctions -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/functions"
|
||||
},
|
||||
"typings": "dist/src/index.d.ts",
|
||||
"dependencies": {
|
||||
"@firebase/component": "0.6.10",
|
||||
"@firebase/functions": "0.11.9",
|
||||
"@firebase/functions-types": "0.6.2",
|
||||
"@firebase/util": "1.10.1",
|
||||
"tslib": "^2.1.0"
|
||||
},
|
||||
"nyc": {
|
||||
"extension": [
|
||||
".ts"
|
||||
],
|
||||
"reportDir": "./coverage/node"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue