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/auth/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 {};

24
node_modules/rxfire/auth/database/fromRef.d.ts generated vendored Normal file
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/auth/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';

37
node_modules/rxfire/auth/database/interfaces.d.ts generated vendored Normal file
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[]>;

32
node_modules/rxfire/auth/database/list/index.d.ts generated vendored Normal file
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[]>;

34
node_modules/rxfire/auth/database/object/index.d.ts generated vendored Normal file
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/auth/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>;

31
node_modules/rxfire/auth/firestore/document/index.d.ts generated vendored Normal file
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;

20
node_modules/rxfire/auth/firestore/fromRef.d.ts generated vendored Normal file
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/auth/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';

9
node_modules/rxfire/auth/firestore/interfaces.d.ts generated vendored Normal file
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;

4
node_modules/rxfire/auth/firestore/lite/fromRef.d.ts generated vendored Normal file
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>>;

19
node_modules/rxfire/auth/firestore/lite/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,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/auth/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 {};

59
node_modules/rxfire/auth/index.cjs.js generated vendored Normal file
View file

@ -0,0 +1,59 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var auth = require('firebase/auth');
var rxjs = require('rxjs');
var operators = require('rxjs/operators');
/**
* @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.
*/
/**
* Create an observable of authentication state. The observer is only
* triggered on sign-in or sign-out.
* @param auth firebase.auth.Auth
*/
function authState(auth$1) {
return new rxjs.Observable(function (subscriber) {
var unsubscribe = auth.onAuthStateChanged(auth$1, subscriber.next.bind(subscriber), subscriber.error.bind(subscriber), subscriber.complete.bind(subscriber));
return { unsubscribe: unsubscribe };
});
}
/**
* Create an observable of user state. The observer is triggered for sign-in,
* sign-out, and token refresh events
* @param auth firebase.auth.Auth
*/
function user(auth$1) {
return new rxjs.Observable(function (subscriber) {
var unsubscribe = auth.onIdTokenChanged(auth$1, subscriber.next.bind(subscriber), subscriber.error.bind(subscriber), subscriber.complete.bind(subscriber));
return { unsubscribe: unsubscribe };
});
}
/**
* Create an observable of idToken state. The observer is triggered for sign-in,
* sign-out, and token refresh events
* @param auth firebase.auth.Auth
*/
function idToken(auth$1) {
return user(auth$1).pipe(operators.switchMap(function (user) { return (user ? rxjs.from(auth.getIdToken(user)) : rxjs.of(null)); }));
}
exports.authState = authState;
exports.idToken = idToken;
exports.user = user;
//# sourceMappingURL=index.cjs.js.map

1
node_modules/rxfire/auth/index.cjs.js.map generated vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"index.cjs.js","sources":["../../auth/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2018 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 */\nimport { onAuthStateChanged, onIdTokenChanged, getIdToken } from 'firebase/auth';\nimport { Observable, from, of } from 'rxjs';\nimport { switchMap } from 'rxjs/operators';\n/**\n * Create an observable of authentication state. The observer is only\n * triggered on sign-in or sign-out.\n * @param auth firebase.auth.Auth\n */\nexport function authState(auth) {\n return new Observable(function (subscriber) {\n var unsubscribe = onAuthStateChanged(auth, subscriber.next.bind(subscriber), subscriber.error.bind(subscriber), subscriber.complete.bind(subscriber));\n return { unsubscribe: unsubscribe };\n });\n}\n/**\n * Create an observable of user state. The observer is triggered for sign-in,\n * sign-out, and token refresh events\n * @param auth firebase.auth.Auth\n */\nexport function user(auth) {\n return new Observable(function (subscriber) {\n var unsubscribe = onIdTokenChanged(auth, subscriber.next.bind(subscriber), subscriber.error.bind(subscriber), subscriber.complete.bind(subscriber));\n return { unsubscribe: unsubscribe };\n });\n}\n/**\n * Create an observable of idToken state. The observer is triggered for sign-in,\n * sign-out, and token refresh events\n * @param auth firebase.auth.Auth\n */\nexport function idToken(auth) {\n return user(auth).pipe(switchMap(function (user) { return (user ? from(getIdToken(user)) : of(null)); }));\n}\n"],"names":["auth","Observable","onAuthStateChanged","onIdTokenChanged","switchMap","from","getIdToken","of"],"mappings":";;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACO,SAAS,SAAS,CAACA,MAAI,EAAE;AAChC,IAAI,OAAO,IAAIC,eAAU,CAAC,UAAU,UAAU,EAAE;AAChD,QAAQ,IAAI,WAAW,GAAGC,uBAAkB,CAACF,MAAI,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;AAC9J,QAAQ,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;AAC5C,KAAK,CAAC,CAAC;AACP,CAAC;AACD;AACA;AACA;AACA;AACA;AACO,SAAS,IAAI,CAACA,MAAI,EAAE;AAC3B,IAAI,OAAO,IAAIC,eAAU,CAAC,UAAU,UAAU,EAAE;AAChD,QAAQ,IAAI,WAAW,GAAGE,qBAAgB,CAACH,MAAI,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;AAC5J,QAAQ,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;AAC5C,KAAK,CAAC,CAAC;AACP,CAAC;AACD;AACA;AACA;AACA;AACA;AACO,SAAS,OAAO,CAACA,MAAI,EAAE;AAC9B,IAAI,OAAO,IAAI,CAACA,MAAI,CAAC,CAAC,IAAI,CAACI,mBAAS,CAAC,UAAU,IAAI,EAAE,EAAE,QAAQ,IAAI,GAAGC,SAAI,CAACC,eAAU,CAAC,IAAI,CAAC,CAAC,GAAGC,OAAE,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;AAC9G;;;;;;"}

38
node_modules/rxfire/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 {};

53
node_modules/rxfire/auth/index.esm.js generated vendored Normal file
View file

@ -0,0 +1,53 @@
import { onAuthStateChanged, onIdTokenChanged, getIdToken } from 'firebase/auth';
import { Observable, from, of } from 'rxjs';
import { switchMap } from 'rxjs/operators';
/**
* @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.
*/
/**
* Create an observable of authentication state. The observer is only
* triggered on sign-in or sign-out.
* @param auth firebase.auth.Auth
*/
function authState(auth) {
return new Observable(function (subscriber) {
var unsubscribe = onAuthStateChanged(auth, subscriber.next.bind(subscriber), subscriber.error.bind(subscriber), subscriber.complete.bind(subscriber));
return { unsubscribe: unsubscribe };
});
}
/**
* Create an observable of user state. The observer is triggered for sign-in,
* sign-out, and token refresh events
* @param auth firebase.auth.Auth
*/
function user(auth) {
return new Observable(function (subscriber) {
var unsubscribe = onIdTokenChanged(auth, subscriber.next.bind(subscriber), subscriber.error.bind(subscriber), subscriber.complete.bind(subscriber));
return { unsubscribe: unsubscribe };
});
}
/**
* Create an observable of idToken state. The observer is triggered for sign-in,
* sign-out, and token refresh events
* @param auth firebase.auth.Auth
*/
function idToken(auth) {
return user(auth).pipe(switchMap(function (user) { return (user ? from(getIdToken(user)) : of(null)); }));
}
export { authState, idToken, user };
//# sourceMappingURL=index.esm.js.map

1
node_modules/rxfire/auth/index.esm.js.map generated vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"index.esm.js","sources":["../../auth/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2018 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 */\nimport { onAuthStateChanged, onIdTokenChanged, getIdToken } from 'firebase/auth';\nimport { Observable, from, of } from 'rxjs';\nimport { switchMap } from 'rxjs/operators';\n/**\n * Create an observable of authentication state. The observer is only\n * triggered on sign-in or sign-out.\n * @param auth firebase.auth.Auth\n */\nexport function authState(auth) {\n return new Observable(function (subscriber) {\n var unsubscribe = onAuthStateChanged(auth, subscriber.next.bind(subscriber), subscriber.error.bind(subscriber), subscriber.complete.bind(subscriber));\n return { unsubscribe: unsubscribe };\n });\n}\n/**\n * Create an observable of user state. The observer is triggered for sign-in,\n * sign-out, and token refresh events\n * @param auth firebase.auth.Auth\n */\nexport function user(auth) {\n return new Observable(function (subscriber) {\n var unsubscribe = onIdTokenChanged(auth, subscriber.next.bind(subscriber), subscriber.error.bind(subscriber), subscriber.complete.bind(subscriber));\n return { unsubscribe: unsubscribe };\n });\n}\n/**\n * Create an observable of idToken state. The observer is triggered for sign-in,\n * sign-out, and token refresh events\n * @param auth firebase.auth.Auth\n */\nexport function idToken(auth) {\n return user(auth).pipe(switchMap(function (user) { return (user ? from(getIdToken(user)) : of(null)); }));\n}\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACO,SAAS,SAAS,CAAC,IAAI,EAAE;AAChC,IAAI,OAAO,IAAI,UAAU,CAAC,UAAU,UAAU,EAAE;AAChD,QAAQ,IAAI,WAAW,GAAG,kBAAkB,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;AAC9J,QAAQ,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;AAC5C,KAAK,CAAC,CAAC;AACP,CAAC;AACD;AACA;AACA;AACA;AACA;AACO,SAAS,IAAI,CAAC,IAAI,EAAE;AAC3B,IAAI,OAAO,IAAI,UAAU,CAAC,UAAU,UAAU,EAAE;AAChD,QAAQ,IAAI,WAAW,GAAG,gBAAgB,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;AAC5J,QAAQ,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;AAC5C,KAAK,CAAC,CAAC;AACP,CAAC;AACD;AACA;AACA;AACA;AACA;AACO,SAAS,OAAO,CAAC,IAAI,EAAE;AAC9B,IAAI,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,IAAI,EAAE,EAAE,QAAQ,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;AAC9G;;;;"}

8
node_modules/rxfire/auth/package.json generated vendored Normal file
View file

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

55
node_modules/rxfire/auth/performance/index.d.ts generated vendored Normal file
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 {};

12
node_modules/rxfire/auth/remote-config/index.d.ts generated vendored Normal file
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/auth/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;
}>;