Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
117
node_modules/@firebase/remote-config-compat/dist/esm/index.esm2017.js
generated
vendored
Normal file
117
node_modules/@firebase/remote-config-compat/dist/esm/index.esm2017.js
generated
vendored
Normal file
|
@ -0,0 +1,117 @@
|
|||
import firebase from '@firebase/app-compat';
|
||||
import { Component } from '@firebase/component';
|
||||
import { activate, ensureInitialized, fetchConfig, fetchAndActivate, getAll, getBoolean, getNumber, getString, getValue, setLogLevel, isSupported } from '@firebase/remote-config';
|
||||
|
||||
/**
|
||||
* @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 RemoteConfigCompatImpl {
|
||||
constructor(app, _delegate) {
|
||||
this.app = app;
|
||||
this._delegate = _delegate;
|
||||
}
|
||||
get defaultConfig() {
|
||||
return this._delegate.defaultConfig;
|
||||
}
|
||||
set defaultConfig(value) {
|
||||
this._delegate.defaultConfig = value;
|
||||
}
|
||||
get fetchTimeMillis() {
|
||||
return this._delegate.fetchTimeMillis;
|
||||
}
|
||||
get lastFetchStatus() {
|
||||
return this._delegate.lastFetchStatus;
|
||||
}
|
||||
get settings() {
|
||||
return this._delegate.settings;
|
||||
}
|
||||
set settings(value) {
|
||||
this._delegate.settings = value;
|
||||
}
|
||||
activate() {
|
||||
return activate(this._delegate);
|
||||
}
|
||||
ensureInitialized() {
|
||||
return ensureInitialized(this._delegate);
|
||||
}
|
||||
/**
|
||||
* @throws a {@link ErrorCode.FETCH_CLIENT_TIMEOUT} if the request takes longer than
|
||||
* {@link Settings.fetchTimeoutInSeconds} or
|
||||
* {@link DEFAULT_FETCH_TIMEOUT_SECONDS}.
|
||||
*/
|
||||
fetch() {
|
||||
return fetchConfig(this._delegate);
|
||||
}
|
||||
fetchAndActivate() {
|
||||
return fetchAndActivate(this._delegate);
|
||||
}
|
||||
getAll() {
|
||||
return getAll(this._delegate);
|
||||
}
|
||||
getBoolean(key) {
|
||||
return getBoolean(this._delegate, key);
|
||||
}
|
||||
getNumber(key) {
|
||||
return getNumber(this._delegate, key);
|
||||
}
|
||||
getString(key) {
|
||||
return getString(this._delegate, key);
|
||||
}
|
||||
getValue(key) {
|
||||
return getValue(this._delegate, key);
|
||||
}
|
||||
// Based on packages/firestore/src/util/log.ts but not static because we need per-instance levels
|
||||
// to differentiate 2p and 3p use-cases.
|
||||
setLogLevel(logLevel) {
|
||||
setLogLevel(this._delegate, logLevel);
|
||||
}
|
||||
}
|
||||
|
||||
const name = "@firebase/remote-config-compat";
|
||||
const version = "0.2.10";
|
||||
|
||||
/**
|
||||
* @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.
|
||||
*/
|
||||
function registerRemoteConfigCompat(firebaseInstance) {
|
||||
firebaseInstance.INTERNAL.registerComponent(new Component('remoteConfig-compat', remoteConfigFactory, "PUBLIC" /* ComponentType.PUBLIC */)
|
||||
.setMultipleInstances(true)
|
||||
.setServiceProps({ isSupported }));
|
||||
firebaseInstance.registerVersion(name, version);
|
||||
}
|
||||
function remoteConfigFactory(container, { instanceIdentifier: namespace }) {
|
||||
const app = container.getProvider('app-compat').getImmediate();
|
||||
// The following call will always succeed because rc `import {...} from '@firebase/remote-config'`
|
||||
const remoteConfig = container.getProvider('remote-config').getImmediate({
|
||||
identifier: namespace
|
||||
});
|
||||
return new RemoteConfigCompatImpl(app, remoteConfig);
|
||||
}
|
||||
registerRemoteConfigCompat(firebase);
|
||||
//# sourceMappingURL=index.esm2017.js.map
|
1
node_modules/@firebase/remote-config-compat/dist/esm/index.esm2017.js.map
generated
vendored
Normal file
1
node_modules/@firebase/remote-config-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/remote-config-compat/dist/esm/package.json
generated
vendored
Normal file
1
node_modules/@firebase/remote-config-compat/dist/esm/package.json
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"type":"module"}
|
27
node_modules/@firebase/remote-config-compat/dist/esm/src/index.d.ts
generated
vendored
Normal file
27
node_modules/@firebase/remote-config-compat/dist/esm/src/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
/**
|
||||
* @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 { RemoteConfig as RemoteConfigCompat } from '@firebase/remote-config-types';
|
||||
declare module '@firebase/app-compat' {
|
||||
interface FirebaseNamespace {
|
||||
remoteConfig: {
|
||||
(app?: FirebaseApp): RemoteConfigCompat;
|
||||
};
|
||||
}
|
||||
interface FirebaseApp {
|
||||
remoteConfig(): RemoteConfigCompat;
|
||||
}
|
||||
}
|
52
node_modules/@firebase/remote-config-compat/dist/esm/src/remoteConfig.d.ts
generated
vendored
Normal file
52
node_modules/@firebase/remote-config-compat/dist/esm/src/remoteConfig.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,52 @@
|
|||
/**
|
||||
* @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 { FirebaseApp, _FirebaseService } from '@firebase/app-compat';
|
||||
import { Value as ValueCompat, FetchStatus as FetchSTatusCompat, Settings as SettingsCompat, LogLevel as RemoteConfigLogLevel, RemoteConfig as RemoteConfigCompat } from '@firebase/remote-config-types';
|
||||
import { RemoteConfig, isSupported } from '@firebase/remote-config';
|
||||
export { isSupported };
|
||||
export declare class RemoteConfigCompatImpl implements RemoteConfigCompat, _FirebaseService {
|
||||
app: FirebaseApp;
|
||||
readonly _delegate: RemoteConfig;
|
||||
constructor(app: FirebaseApp, _delegate: RemoteConfig);
|
||||
get defaultConfig(): {
|
||||
[key: string]: string | number | boolean;
|
||||
};
|
||||
set defaultConfig(value: {
|
||||
[key: string]: string | number | boolean;
|
||||
});
|
||||
get fetchTimeMillis(): number;
|
||||
get lastFetchStatus(): FetchSTatusCompat;
|
||||
get settings(): SettingsCompat;
|
||||
set settings(value: SettingsCompat);
|
||||
activate(): Promise<boolean>;
|
||||
ensureInitialized(): Promise<void>;
|
||||
/**
|
||||
* @throws a {@link ErrorCode.FETCH_CLIENT_TIMEOUT} if the request takes longer than
|
||||
* {@link Settings.fetchTimeoutInSeconds} or
|
||||
* {@link DEFAULT_FETCH_TIMEOUT_SECONDS}.
|
||||
*/
|
||||
fetch(): Promise<void>;
|
||||
fetchAndActivate(): Promise<boolean>;
|
||||
getAll(): {
|
||||
[key: string]: ValueCompat;
|
||||
};
|
||||
getBoolean(key: string): boolean;
|
||||
getNumber(key: string): number;
|
||||
getString(key: string): string;
|
||||
getValue(key: string): ValueCompat;
|
||||
setLogLevel(logLevel: RemoteConfigLogLevel): void;
|
||||
}
|
17
node_modules/@firebase/remote-config-compat/dist/esm/src/remoteConfig.test.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/remote-config-compat/dist/esm/src/remoteConfig.test.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.
|
||||
*/
|
||||
import '../test/setup';
|
17
node_modules/@firebase/remote-config-compat/dist/esm/test/setup.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/remote-config-compat/dist/esm/test/setup.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @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.
|
||||
*/
|
||||
export {};
|
20
node_modules/@firebase/remote-config-compat/dist/esm/test/util.d.ts
generated
vendored
Normal file
20
node_modules/@firebase/remote-config-compat/dist/esm/test/util.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
/**
|
||||
* @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 { RemoteConfig } from '@firebase/remote-config';
|
||||
export declare function getFakeApp(): FirebaseApp;
|
||||
export declare function getFakeModularRemoteConfig(): RemoteConfig;
|
123
node_modules/@firebase/remote-config-compat/dist/index.cjs.js
generated
vendored
Normal file
123
node_modules/@firebase/remote-config-compat/dist/index.cjs.js
generated
vendored
Normal file
|
@ -0,0 +1,123 @@
|
|||
'use strict';
|
||||
|
||||
var firebase = require('@firebase/app-compat');
|
||||
var component = require('@firebase/component');
|
||||
var remoteConfig = require('@firebase/remote-config');
|
||||
|
||||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
||||
|
||||
var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
|
||||
|
||||
/**
|
||||
* @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 RemoteConfigCompatImpl {
|
||||
constructor(app, _delegate) {
|
||||
this.app = app;
|
||||
this._delegate = _delegate;
|
||||
}
|
||||
get defaultConfig() {
|
||||
return this._delegate.defaultConfig;
|
||||
}
|
||||
set defaultConfig(value) {
|
||||
this._delegate.defaultConfig = value;
|
||||
}
|
||||
get fetchTimeMillis() {
|
||||
return this._delegate.fetchTimeMillis;
|
||||
}
|
||||
get lastFetchStatus() {
|
||||
return this._delegate.lastFetchStatus;
|
||||
}
|
||||
get settings() {
|
||||
return this._delegate.settings;
|
||||
}
|
||||
set settings(value) {
|
||||
this._delegate.settings = value;
|
||||
}
|
||||
activate() {
|
||||
return remoteConfig.activate(this._delegate);
|
||||
}
|
||||
ensureInitialized() {
|
||||
return remoteConfig.ensureInitialized(this._delegate);
|
||||
}
|
||||
/**
|
||||
* @throws a {@link ErrorCode.FETCH_CLIENT_TIMEOUT} if the request takes longer than
|
||||
* {@link Settings.fetchTimeoutInSeconds} or
|
||||
* {@link DEFAULT_FETCH_TIMEOUT_SECONDS}.
|
||||
*/
|
||||
fetch() {
|
||||
return remoteConfig.fetchConfig(this._delegate);
|
||||
}
|
||||
fetchAndActivate() {
|
||||
return remoteConfig.fetchAndActivate(this._delegate);
|
||||
}
|
||||
getAll() {
|
||||
return remoteConfig.getAll(this._delegate);
|
||||
}
|
||||
getBoolean(key) {
|
||||
return remoteConfig.getBoolean(this._delegate, key);
|
||||
}
|
||||
getNumber(key) {
|
||||
return remoteConfig.getNumber(this._delegate, key);
|
||||
}
|
||||
getString(key) {
|
||||
return remoteConfig.getString(this._delegate, key);
|
||||
}
|
||||
getValue(key) {
|
||||
return remoteConfig.getValue(this._delegate, key);
|
||||
}
|
||||
// Based on packages/firestore/src/util/log.ts but not static because we need per-instance levels
|
||||
// to differentiate 2p and 3p use-cases.
|
||||
setLogLevel(logLevel) {
|
||||
remoteConfig.setLogLevel(this._delegate, logLevel);
|
||||
}
|
||||
}
|
||||
|
||||
const name = "@firebase/remote-config-compat";
|
||||
const version = "0.2.10";
|
||||
|
||||
/**
|
||||
* @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.
|
||||
*/
|
||||
function registerRemoteConfigCompat(firebaseInstance) {
|
||||
firebaseInstance.INTERNAL.registerComponent(new component.Component('remoteConfig-compat', remoteConfigFactory, "PUBLIC" /* ComponentType.PUBLIC */)
|
||||
.setMultipleInstances(true)
|
||||
.setServiceProps({ isSupported: remoteConfig.isSupported }));
|
||||
firebaseInstance.registerVersion(name, version);
|
||||
}
|
||||
function remoteConfigFactory(container, { instanceIdentifier: namespace }) {
|
||||
const app = container.getProvider('app-compat').getImmediate();
|
||||
// The following call will always succeed because rc `import {...} from '@firebase/remote-config'`
|
||||
const remoteConfig = container.getProvider('remote-config').getImmediate({
|
||||
identifier: namespace
|
||||
});
|
||||
return new RemoteConfigCompatImpl(app, remoteConfig);
|
||||
}
|
||||
registerRemoteConfigCompat(firebase__default["default"]);
|
||||
//# sourceMappingURL=index.cjs.js.map
|
1
node_modules/@firebase/remote-config-compat/dist/index.cjs.js.map
generated
vendored
Normal file
1
node_modules/@firebase/remote-config-compat/dist/index.cjs.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
43
node_modules/@firebase/remote-config-compat/dist/src/index.d.ts
generated
vendored
Normal file
43
node_modules/@firebase/remote-config-compat/dist/src/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
/**
|
||||
* @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 { RemoteConfig as RemoteConfigCompat } from '@firebase/remote-config-types';
|
||||
declare module '@firebase/app-compat' {
|
||||
interface FirebaseNamespace {
|
||||
remoteConfig: {
|
||||
(app?: FirebaseApp): RemoteConfigCompat;
|
||||
};
|
||||
}
|
||||
interface FirebaseApp {
|
||||
remoteConfig(): RemoteConfigCompat;
|
||||
}
|
||||
}
|
||||
|
||||
import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
|
||||
import { type Value, type RemoteConfig, type LogLevel } from "@firebase/remote-config";
|
||||
declare module "@firebase/remote-config" {
|
||||
function activate(remoteConfig: RemoteConfigCompat): Promise<boolean>;
|
||||
function ensureInitialized(remoteConfig: RemoteConfigCompat): Promise<void>;
|
||||
function fetchAndActivate(remoteConfig: RemoteConfigCompat): Promise<boolean>;
|
||||
function fetchConfig(remoteConfig: RemoteConfigCompat): Promise<void>;
|
||||
function getAll(remoteConfig: RemoteConfigCompat): Record<string, Value>;
|
||||
function getBoolean(remoteConfig: RemoteConfigCompat, key: string): boolean;
|
||||
function getNumber(remoteConfig: RemoteConfigCompat, key: string): number;
|
||||
function getRemoteConfig(app?: FirebaseAppCompat): RemoteConfig;
|
||||
function getString(remoteConfig: RemoteConfigCompat, key: string): string;
|
||||
function getValue(remoteConfig: RemoteConfigCompat, key: string): Value;
|
||||
function setLogLevel(remoteConfig: RemoteConfigCompat, logLevel: LogLevel): void;
|
||||
}
|
52
node_modules/@firebase/remote-config-compat/dist/src/remoteConfig.d.ts
generated
vendored
Normal file
52
node_modules/@firebase/remote-config-compat/dist/src/remoteConfig.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,52 @@
|
|||
/**
|
||||
* @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 { FirebaseApp, _FirebaseService } from '@firebase/app-compat';
|
||||
import { Value as ValueCompat, FetchStatus as FetchSTatusCompat, Settings as SettingsCompat, LogLevel as RemoteConfigLogLevel, RemoteConfig as RemoteConfigCompat } from '@firebase/remote-config-types';
|
||||
import { RemoteConfig, isSupported } from '@firebase/remote-config';
|
||||
export { isSupported };
|
||||
export declare class RemoteConfigCompatImpl implements RemoteConfigCompat, _FirebaseService {
|
||||
app: FirebaseApp;
|
||||
readonly _delegate: RemoteConfig;
|
||||
constructor(app: FirebaseApp, _delegate: RemoteConfig);
|
||||
get defaultConfig(): {
|
||||
[key: string]: string | number | boolean;
|
||||
};
|
||||
set defaultConfig(value: {
|
||||
[key: string]: string | number | boolean;
|
||||
});
|
||||
get fetchTimeMillis(): number;
|
||||
get lastFetchStatus(): FetchSTatusCompat;
|
||||
get settings(): SettingsCompat;
|
||||
set settings(value: SettingsCompat);
|
||||
activate(): Promise<boolean>;
|
||||
ensureInitialized(): Promise<void>;
|
||||
/**
|
||||
* @throws a {@link ErrorCode.FETCH_CLIENT_TIMEOUT} if the request takes longer than
|
||||
* {@link Settings.fetchTimeoutInSeconds} or
|
||||
* {@link DEFAULT_FETCH_TIMEOUT_SECONDS}.
|
||||
*/
|
||||
fetch(): Promise<void>;
|
||||
fetchAndActivate(): Promise<boolean>;
|
||||
getAll(): {
|
||||
[key: string]: ValueCompat;
|
||||
};
|
||||
getBoolean(key: string): boolean;
|
||||
getNumber(key: string): number;
|
||||
getString(key: string): string;
|
||||
getValue(key: string): ValueCompat;
|
||||
setLogLevel(logLevel: RemoteConfigLogLevel): void;
|
||||
}
|
17
node_modules/@firebase/remote-config-compat/dist/src/remoteConfig.test.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/remote-config-compat/dist/src/remoteConfig.test.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.
|
||||
*/
|
||||
import '../test/setup';
|
17
node_modules/@firebase/remote-config-compat/dist/test/setup.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/remote-config-compat/dist/test/setup.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @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.
|
||||
*/
|
||||
export {};
|
20
node_modules/@firebase/remote-config-compat/dist/test/util.d.ts
generated
vendored
Normal file
20
node_modules/@firebase/remote-config-compat/dist/test/util.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
/**
|
||||
* @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 { RemoteConfig } from '@firebase/remote-config';
|
||||
export declare function getFakeApp(): FirebaseApp;
|
||||
export declare function getFakeModularRemoteConfig(): RemoteConfig;
|
Loading…
Add table
Add a link
Reference in a new issue