Deployed the page to Github Pages.

This commit is contained in:
Batuhan Berk Başoğlu 2024-11-03 21:30:09 -05:00
parent 1d79754e93
commit 2c89899458
Signed by: batuhan-basoglu
SSH key fingerprint: SHA256:kEsnuHX+qbwhxSAXPUQ4ox535wFHu/hIRaa53FzxRpo
62797 changed files with 6551425 additions and 15279 deletions

38
node_modules/rxfire/remote-config/auth/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,38 @@
/**
* @license
* Copyright 2018 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 { Auth } from 'firebase/auth';
import { Observable } from 'rxjs';
type User = import('firebase/auth').User;
/**
* Create an observable of authentication state. The observer is only
* triggered on sign-in or sign-out.
* @param auth firebase.auth.Auth
*/
export declare function authState(auth: Auth): Observable<User | null>;
/**
* Create an observable of user state. The observer is triggered for sign-in,
* sign-out, and token refresh events
* @param auth firebase.auth.Auth
*/
export declare function user(auth: Auth): Observable<User | null>;
/**
* Create an observable of idToken state. The observer is triggered for sign-in,
* sign-out, and token refresh events
* @param auth firebase.auth.Auth
*/
export declare function idToken(auth: Auth): Observable<string | null>;
export {};

View file

@ -0,0 +1,24 @@
/**
* @license
* Copyright 2021 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 { Observable } from 'rxjs';
import { ListenEvent, QueryChange } from './interfaces';
/**
* Create an observable from a Database Reference or Database Query.
* @param ref Database Reference
* @param event Listen event type ('value', 'added', 'changed', 'removed', 'moved')
*/
export declare function fromRef(ref: import('firebase/database').Query, event: ListenEvent): Observable<QueryChange>;

21
node_modules/rxfire/remote-config/database/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,21 @@
/**
* @license
* Copyright 2021 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 * from './fromRef';
export * from './interfaces';
export * from './list';
export * from './list/audit-trail';
export * from './object';

View file

@ -0,0 +1,37 @@
/**
* @license
* Copyright 2021 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 { onChildAdded, onChildChanged, onChildMoved, onChildRemoved, onValue } from 'firebase/database';
export type Query = import('firebase/database').Query;
export declare enum ListenEvent {
added = "child_added",
removed = "child_removed",
changed = "child_changed",
moved = "child_moved",
value = "value"
}
export interface QueryChange {
snapshot: import('firebase/database').DataSnapshot;
prevKey: string | null | undefined;
event: ListenEvent;
}
export declare const ListenerMethods: Readonly<{
child_added: typeof onChildAdded;
child_removed: typeof onChildRemoved;
child_changed: typeof onChildChanged;
child_moved: typeof onChildMoved;
value: typeof onValue;
}>;

View file

@ -0,0 +1,21 @@
/**
* @license
* Copyright 2021 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 { Observable } from 'rxjs';
import { QueryChange, ListenEvent, Query } from '../interfaces';
export declare function auditTrail(query: Query, options?: {
events?: ListenEvent[];
}): Observable<QueryChange[]>;

View file

@ -0,0 +1,32 @@
/**
* @license
* Copyright 2021 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 { QueryChange, ListenEvent, Query } from '../interfaces';
import { Observable } from 'rxjs';
export declare function stateChanges(query: Query, options?: {
events?: ListenEvent[];
}): Observable<QueryChange>;
export declare function list(query: Query, options?: {
events?: ListenEvent[];
}): Observable<QueryChange[]>;
/**
* Get an object mapped to its value, and optionally its key
* @param query object ref or query
* @param keyField map the object key to a specific field
*/
export declare function listVal<T>(query: Query, options?: {
keyField?: string;
}): Observable<T[]>;

View file

@ -0,0 +1,34 @@
/**
* @license
* Copyright 2021 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 { QueryChange, Query } from '../interfaces';
import { Observable } from 'rxjs';
/**
* Get the snapshot changes of an object
* @param query
*/
export declare function object(query: Query): Observable<QueryChange>;
/**
* Get an array of object values, optionally with a mapped key
* @param query object ref or query
* @param keyField map the object key to a specific field
*/
export declare function objectVal<T>(query: Query, options?: {
keyField?: string;
}): Observable<T>;
export declare function changeToData(change: QueryChange, options?: {
keyField?: string;
}): {};

23
node_modules/rxfire/remote-config/database/utils.d.ts generated vendored Normal file
View file

@ -0,0 +1,23 @@
/**
* @license
* Copyright 2021 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 { ListenEvent } from './interfaces';
/**
* Check the length of the provided array. If it is empty return an array
* that is populated with all the Realtime Database child events.
* @param events
*/
export declare function validateEventsArray(events?: ListenEvent[]): ListenEvent[];

View file

@ -0,0 +1,59 @@
/**
* @license
* Copyright 2023 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 { Observable } from 'rxjs';
import { DocumentChangeType, DocumentChange, Query, QueryDocumentSnapshot, DocumentData } from '../interfaces';
import { SnapshotOptions } from 'firebase/firestore';
import { CountSnapshot } from '../lite/interfaces';
/**
* Return a stream of document changes on a query. These results are not in sort order but in
* order of occurence.
* @param query
*/
export declare function collectionChanges<T = DocumentData>(query: Query<T>, options?: {
events?: DocumentChangeType[];
}): Observable<DocumentChange<T>[]>;
/**
* Return a stream of document snapshots on a query. These results are in sort order.
* @param query
*/
export declare function collection<T = DocumentData>(query: Query<T>): Observable<QueryDocumentSnapshot<T>[]>;
/**
* Return a stream of document changes on a query. These results are in sort order.
* @param query
*/
export declare function sortedChanges<T = DocumentData>(query: Query<T>, options?: {
events?: DocumentChangeType[];
}): Observable<DocumentChange<T>[]>;
/**
* Create a stream of changes as they occur it time. This method is similar
* to docChanges() but it collects each event in an array over time.
*/
export declare function auditTrail<T = DocumentData>(query: Query<T>, options?: {
events?: DocumentChangeType[];
}): Observable<DocumentChange<T>[]>;
/**
* Returns a stream of documents mapped to their data payload, and optionally the document ID
* @param query
* @param options
*/
export declare function collectionData<T = DocumentData, U extends string = never>(query: Query<T>, options?: {
idField?: ((U | keyof T) & keyof NonNullable<T>);
} & SnapshotOptions): Observable<((T & {
[T in U]: string;
}) | NonNullable<T>)[]>;
export declare function collectionCountSnap(query: Query<unknown>): Observable<CountSnapshot>;
export declare function collectionCount(query: Query<unknown>): Observable<number>;

View file

@ -0,0 +1,31 @@
/**
* @license
* Copyright 2023 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 { DocumentReference, DocumentSnapshot, DocumentData } from '../interfaces';
import { Observable } from 'rxjs';
import { SnapshotOptions } from 'firebase/firestore';
export declare function doc<T = DocumentData>(ref: DocumentReference<T>): Observable<DocumentSnapshot<T>>;
/**
* Returns a stream of a document, mapped to its data payload and optionally the document ID
* @param query
* @param options
*/
export declare function docData<T = DocumentData, R extends T = T>(ref: DocumentReference<T>, options?: {
idField?: keyof R;
} & SnapshotOptions): Observable<T | R | undefined>;
export declare function snapToData<T = DocumentData, R extends T = T>(snapshot: DocumentSnapshot<T>, options?: {
idField?: keyof R;
} & SnapshotOptions): T | R | undefined;

View file

@ -0,0 +1,20 @@
/**
* @license
* Copyright 2018 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 { Observable } from 'rxjs';
import { DocumentReference, DocumentData, SnapshotListenOptions, Query, DocumentSnapshot, QuerySnapshot } from './interfaces';
export declare function fromRef<T = DocumentData>(ref: DocumentReference<T>, options?: SnapshotListenOptions): Observable<DocumentSnapshot<T>>;
export declare function fromRef<T = DocumentData>(ref: Query<T>, options?: SnapshotListenOptions): Observable<QuerySnapshot<T>>;

19
node_modules/rxfire/remote-config/firestore/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,19 @@
/**
* @license
* Copyright 2018 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 * from './collection';
export * from './document';
export * from './fromRef';

View file

@ -0,0 +1,9 @@
export type DocumentReference<T> = import('firebase/firestore').DocumentReference<T>;
export type DocumentData = import('firebase/firestore').DocumentData;
export type SnapshotListenOptions = import('firebase/firestore').SnapshotListenOptions;
export type Query<T> = import('firebase/firestore').Query<T>;
export type DocumentSnapshot<T> = import('firebase/firestore').DocumentSnapshot<T>;
export type QuerySnapshot<T> = import('firebase/firestore').QuerySnapshot<T>;
export type DocumentChangeType = import('firebase/firestore').DocumentChangeType;
export type DocumentChange<T> = import('firebase/firestore').DocumentChange<T>;
export type QueryDocumentSnapshot<T> = import('firebase/firestore').QueryDocumentSnapshot<T>;

View file

@ -0,0 +1,32 @@
/**
* @license
* Copyright 2023 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 { Observable } from 'rxjs';
import { Query, QueryDocumentSnapshot, DocumentData, CountSnapshot } from '../interfaces';
/**
* Return a stream of document snapshots on a query. These results are in sort order.
* @param query
*/
export declare function collection<T = DocumentData>(query: Query<T>): Observable<QueryDocumentSnapshot<T>[]>;
/**
* Returns a stream of documents mapped to their data payload, and optionally the document ID
* @param query
*/
export declare function collectionData<T = DocumentData>(query: Query<T>, options?: {
idField?: string;
}): Observable<T[]>;
export declare function collectionCountSnap(query: Query<unknown>): Observable<CountSnapshot>;
export declare function collectionCount(query: Query<unknown>): Observable<number>;

View file

@ -0,0 +1,29 @@
/**
* @license
* Copyright 2018 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 { DocumentReference, DocumentSnapshot, DocumentData } from '../interfaces';
import { Observable } from 'rxjs';
export declare function doc<T = DocumentData>(ref: DocumentReference<T>): Observable<DocumentSnapshot<T>>;
/**
* Returns a stream of a document, mapped to its data payload and optionally the document ID
* @param query
*/
export declare function docData<T = DocumentData>(ref: DocumentReference<T>, options?: {
idField?: string;
}): Observable<T>;
export declare function snapToData<T = DocumentData>(snapshot: DocumentSnapshot<T>, options?: {
idField?: string;
}): {} | undefined;

View file

@ -0,0 +1,4 @@
import { Observable } from 'rxjs';
import { DocumentReference, DocumentData, Query, DocumentSnapshot, QuerySnapshot } from './interfaces';
export declare function fromRef<T = DocumentData>(ref: DocumentReference<T>): Observable<DocumentSnapshot<T>>;
export declare function fromRef<T = DocumentData>(ref: Query<T>): Observable<QuerySnapshot<T>>;

View file

@ -0,0 +1,19 @@
/**
* @license
* Copyright 2018 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 * from './collection';
export * from './document';
export * from './fromRef';

View file

@ -0,0 +1,10 @@
import type * as lite from 'firebase/firestore/lite';
export type DocumentReference<T> = lite.DocumentReference<T>;
export type DocumentData = lite.DocumentData;
export type Query<T> = lite.Query<T>;
export type DocumentSnapshot<T> = lite.DocumentSnapshot<T>;
export type QuerySnapshot<T> = lite.QuerySnapshot<T>;
export type QueryDocumentSnapshot<T> = lite.QueryDocumentSnapshot<T>;
export type CountSnapshot = lite.AggregateQuerySnapshot<{
count: lite.AggregateField<number>;
}, any, DocumentData>;

21
node_modules/rxfire/remote-config/functions/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,21 @@
/**
* @license
* Copyright 2021 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 { Observable } from 'rxjs';
type Functions = import('firebase/functions').Functions;
type HttpsCallableOptions = import('firebase/functions').HttpsCallableOptions;
export declare function httpsCallable<RequestData = unknown, ResponseData = unknown>(functions: Functions, name: string, options?: HttpsCallableOptions): (data?: RequestData | null) => Observable<ResponseData>;
export {};

46
node_modules/rxfire/remote-config/index.cjs.js generated vendored Normal file
View file

@ -0,0 +1,46 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var rxjs = require('rxjs');
var remoteConfig = require('firebase/remote-config');
function parameter$(_a) {
var remoteConfig$1 = _a.remoteConfig, key = _a.key, getter = _a.getter;
return new rxjs.Observable(function (subscriber) {
remoteConfig.ensureInitialized(remoteConfig$1).then(function () {
// 'this' for the getter loses context in the next()
// call, so it needs to be bound.
var boundGetter = getter.bind(remoteConfig$1);
subscriber.next(boundGetter(remoteConfig$1, key));
});
});
}
function getValue(remoteConfig$1, key) {
var getter = remoteConfig.getValue;
return parameter$({ remoteConfig: remoteConfig$1, key: key, getter: getter });
}
function getString(remoteConfig$1, key) {
var getter = remoteConfig.getString;
return parameter$({ remoteConfig: remoteConfig$1, key: key, getter: getter });
}
function getNumber(remoteConfig$1, key) {
var getter = remoteConfig.getNumber;
return parameter$({ remoteConfig: remoteConfig$1, key: key, getter: getter });
}
function getBoolean(remoteConfig$1, key) {
var getter = remoteConfig.getBoolean;
return parameter$({ remoteConfig: remoteConfig$1, key: key, getter: getter });
}
function getAll(remoteConfig$1) {
var getter = remoteConfig.getAll;
// No key is needed for getAll()
return parameter$({ remoteConfig: remoteConfig$1, key: '', getter: getter });
}
exports.getAll = getAll;
exports.getBoolean = getBoolean;
exports.getNumber = getNumber;
exports.getString = getString;
exports.getValue = getValue;
//# sourceMappingURL=index.cjs.js.map

1
node_modules/rxfire/remote-config/index.cjs.js.map generated vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"index.cjs.js","sources":["../../remote-config/index.ts"],"sourcesContent":["import { Observable } from 'rxjs';\nimport { ensureInitialized, getValue as baseGetValue, getString as baseGetString, getNumber as baseGetNumber, getBoolean as baseGetBoolean, getAll as baseGetAll, } from 'firebase/remote-config';\nfunction parameter$(_a) {\n var remoteConfig = _a.remoteConfig, key = _a.key, getter = _a.getter;\n return new Observable(function (subscriber) {\n ensureInitialized(remoteConfig).then(function () {\n // 'this' for the getter loses context in the next()\n // call, so it needs to be bound.\n var boundGetter = getter.bind(remoteConfig);\n subscriber.next(boundGetter(remoteConfig, key));\n });\n });\n}\nexport function getValue(remoteConfig, key) {\n var getter = baseGetValue;\n return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });\n}\nexport function getString(remoteConfig, key) {\n var getter = baseGetString;\n return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });\n}\nexport function getNumber(remoteConfig, key) {\n var getter = baseGetNumber;\n return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });\n}\nexport function getBoolean(remoteConfig, key) {\n var getter = baseGetBoolean;\n return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });\n}\nexport function getAll(remoteConfig) {\n var getter = baseGetAll;\n // No key is needed for getAll()\n return parameter$({ remoteConfig: remoteConfig, key: '', getter: getter });\n}\n"],"names":["remoteConfig","Observable","ensureInitialized","baseGetValue","baseGetString","baseGetNumber","baseGetBoolean","baseGetAll"],"mappings":";;;;;;;AAEA,SAAS,UAAU,CAAC,EAAE,EAAE;AACxB,IAAI,IAAIA,cAAY,GAAG,EAAE,CAAC,YAAY,EAAE,GAAG,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,EAAE,CAAC,MAAM,CAAC;AACzE,IAAI,OAAO,IAAIC,eAAU,CAAC,UAAU,UAAU,EAAE;AAChD,QAAQC,8BAAiB,CAACF,cAAY,CAAC,CAAC,IAAI,CAAC,YAAY;AACzD;AACA;AACA,YAAY,IAAI,WAAW,GAAG,MAAM,CAAC,IAAI,CAACA,cAAY,CAAC,CAAC;AACxD,YAAY,UAAU,CAAC,IAAI,CAAC,WAAW,CAACA,cAAY,EAAE,GAAG,CAAC,CAAC,CAAC;AAC5D,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@ -0,0 +1,12 @@
import { Observable } from 'rxjs';
type RemoteConfig = import('firebase/remote-config').RemoteConfig;
type RemoteConfigValue = import('firebase/remote-config').Value;
export type AllParameters = {
[key: string]: RemoteConfigValue;
};
export declare function getValue(remoteConfig: RemoteConfig, key: string): Observable<import("@firebase/remote-config").Value>;
export declare function getString(remoteConfig: RemoteConfig, key: string): Observable<string>;
export declare function getNumber(remoteConfig: RemoteConfig, key: string): Observable<number>;
export declare function getBoolean(remoteConfig: RemoteConfig, key: string): Observable<boolean>;
export declare function getAll(remoteConfig: RemoteConfig): Observable<AllParameters>;
export {};

38
node_modules/rxfire/remote-config/index.esm.js generated vendored Normal file
View file

@ -0,0 +1,38 @@
import { Observable } from 'rxjs';
import { ensureInitialized, getValue as getValue$1, getString as getString$1, getNumber as getNumber$1, getBoolean as getBoolean$1, getAll as getAll$1 } from 'firebase/remote-config';
function parameter$(_a) {
var remoteConfig = _a.remoteConfig, key = _a.key, getter = _a.getter;
return new Observable(function (subscriber) {
ensureInitialized(remoteConfig).then(function () {
// 'this' for the getter loses context in the next()
// call, so it needs to be bound.
var boundGetter = getter.bind(remoteConfig);
subscriber.next(boundGetter(remoteConfig, key));
});
});
}
function getValue(remoteConfig, key) {
var getter = getValue$1;
return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });
}
function getString(remoteConfig, key) {
var getter = getString$1;
return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });
}
function getNumber(remoteConfig, key) {
var getter = getNumber$1;
return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });
}
function getBoolean(remoteConfig, key) {
var getter = getBoolean$1;
return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });
}
function getAll(remoteConfig) {
var getter = getAll$1;
// No key is needed for getAll()
return parameter$({ remoteConfig: remoteConfig, key: '', getter: getter });
}
export { getAll, getBoolean, getNumber, getString, getValue };
//# sourceMappingURL=index.esm.js.map

1
node_modules/rxfire/remote-config/index.esm.js.map generated vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"index.esm.js","sources":["../../remote-config/index.ts"],"sourcesContent":["import { Observable } from 'rxjs';\nimport { ensureInitialized, getValue as baseGetValue, getString as baseGetString, getNumber as baseGetNumber, getBoolean as baseGetBoolean, getAll as baseGetAll, } from 'firebase/remote-config';\nfunction parameter$(_a) {\n var remoteConfig = _a.remoteConfig, key = _a.key, getter = _a.getter;\n return new Observable(function (subscriber) {\n ensureInitialized(remoteConfig).then(function () {\n // 'this' for the getter loses context in the next()\n // call, so it needs to be bound.\n var boundGetter = getter.bind(remoteConfig);\n subscriber.next(boundGetter(remoteConfig, key));\n });\n });\n}\nexport function getValue(remoteConfig, key) {\n var getter = baseGetValue;\n return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });\n}\nexport function getString(remoteConfig, key) {\n var getter = baseGetString;\n return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });\n}\nexport function getNumber(remoteConfig, key) {\n var getter = baseGetNumber;\n return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });\n}\nexport function getBoolean(remoteConfig, key) {\n var getter = baseGetBoolean;\n return parameter$({ remoteConfig: remoteConfig, key: key, getter: getter });\n}\nexport function getAll(remoteConfig) {\n var getter = baseGetAll;\n // No key is needed for getAll()\n return parameter$({ remoteConfig: remoteConfig, key: '', getter: getter });\n}\n"],"names":["baseGetValue","baseGetString","baseGetNumber","baseGetBoolean","baseGetAll"],"mappings":";;;AAEA,SAAS,UAAU,CAAC,EAAE,EAAE;AACxB,IAAI,IAAI,YAAY,GAAG,EAAE,CAAC,YAAY,EAAE,GAAG,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,EAAE,CAAC,MAAM,CAAC;AACzE,IAAI,OAAO,IAAI,UAAU,CAAC,UAAU,UAAU,EAAE;AAChD,QAAQ,iBAAiB,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,YAAY;AACzD;AACA;AACA,YAAY,IAAI,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,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AE,MAAM,EAAE,CAAC,CAAC;AAC/E;;;;"}

8
node_modules/rxfire/remote-config/package.json generated vendored Normal file
View file

@ -0,0 +1,8 @@
{
"name": "rxfire/remote-config",
"browser": "index.esm.js",
"main": "index.cjs.js",
"module": "index.esm.js",
"typings": "index.d.ts",
"sideEffects": false
}

View file

@ -0,0 +1,55 @@
import { Observable } from 'rxjs';
type FirebaseApp = import('firebase/app').FirebaseApp;
/**
* Lazy loads Firebase Performance monitoring and returns the instance as
* an observable
* @param app
* @returns Observable<FirebasePerformance>
*/
export declare const getPerformance$: (app: FirebaseApp) => Observable<import("firebase/performance").FirebasePerformance>;
/**
* Creates a function that creates an observable that begins a trace with a given id. The trace is ended
* when the observable unsubscribes. The measurement is also logged as a performance
* entry.
* @param name
* @returns (source$: Observable<T>) => Observable<T>
*/
export declare const trace: <T = any>(name: string) => (source$: Observable<T>) => Observable<T>;
/**
* Creates a function that creates an observable that begins a trace with a given name. The trace runs until
* a condition resolves to true and then the observable unsubscribes and ends the trace.
* @param name
* @param test
* @param options
* @returns (source$: Observable<T>) => Observable<T>
*/
export declare const traceUntil: <T = any>(name: string, test: (a: T) => boolean, options?: {
orComplete?: boolean;
}) => (source$: Observable<T>) => Observable<T>;
/**
* Creates a function that creates an observable that begins a trace with a given name. The trace runs while
* a condition resolves to true. Once the condition fails the observable unsubscribes
* and ends the trace.
* @param name
* @param test
* @param options
* @returns (source$: Observable<T>) => Observable<T>
*/
export declare const traceWhile: <T = any>(name: string, test: (a: T) => boolean, options?: {
orComplete?: boolean;
}) => (source$: Observable<T>) => Observable<T>;
/**
* Creates a function that creates an observable that begins a trace with a given name. The trace runs until the
* observable fully completes.
* @param name
* @returns (source$: Observable<T>) => Observable<T>
*/
export declare const traceUntilComplete: <T = any>(name: string) => (source$: Observable<T>) => Observable<T>;
/**
* Creates a function that creates an observable that begins a trace with a given name.
* The trace runs until the first value emits from the provided observable.
* @param name
* @returns (source$: Observable<T>) => Observable<T>
*/
export declare const traceUntilFirst: <T = any>(name: string) => (source$: Observable<T>) => Observable<T>;
export {};

View file

@ -0,0 +1,12 @@
import { Observable } from 'rxjs';
type RemoteConfig = import('firebase/remote-config').RemoteConfig;
type RemoteConfigValue = import('firebase/remote-config').Value;
export type AllParameters = {
[key: string]: RemoteConfigValue;
};
export declare function getValue(remoteConfig: RemoteConfig, key: string): Observable<import("@firebase/remote-config").Value>;
export declare function getString(remoteConfig: RemoteConfig, key: string): Observable<string>;
export declare function getNumber(remoteConfig: RemoteConfig, key: string): Observable<number>;
export declare function getBoolean(remoteConfig: RemoteConfig, key: string): Observable<boolean>;
export declare function getAll(remoteConfig: RemoteConfig): Observable<AllParameters>;
export {};

11
node_modules/rxfire/remote-config/storage/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,11 @@
import { Observable } from 'rxjs';
import type { UploadTaskSnapshot, StorageReference, UploadMetadata, StringFormat, UploadTask, UploadResult } from 'firebase/storage';
export declare function fromTask(task: UploadTask): Observable<UploadTaskSnapshot>;
export declare function getDownloadURL(ref: StorageReference): Observable<string>;
export declare function getMetadata(ref: StorageReference): Observable<any>;
export declare function uploadBytesResumable(ref: StorageReference, data: Blob | Uint8Array | ArrayBuffer, metadata?: UploadMetadata): Observable<UploadTaskSnapshot>;
export declare function uploadString(ref: StorageReference, data: string, format?: StringFormat, metadata?: UploadMetadata): Observable<UploadResult>;
export declare function percentage(task: UploadTask): Observable<{
progress: number;
snapshot: UploadTaskSnapshot;
}>;