Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
59
node_modules/rxfire/functions/firestore/collection/index.d.ts
generated
vendored
Normal file
59
node_modules/rxfire/functions/firestore/collection/index.d.ts
generated
vendored
Normal 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/functions/firestore/document/index.d.ts
generated
vendored
Normal file
31
node_modules/rxfire/functions/firestore/document/index.d.ts
generated
vendored
Normal 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/functions/firestore/fromRef.d.ts
generated
vendored
Normal file
20
node_modules/rxfire/functions/firestore/fromRef.d.ts
generated
vendored
Normal 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/functions/firestore/index.d.ts
generated
vendored
Normal file
19
node_modules/rxfire/functions/firestore/index.d.ts
generated
vendored
Normal 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/functions/firestore/interfaces.d.ts
generated
vendored
Normal file
9
node_modules/rxfire/functions/firestore/interfaces.d.ts
generated
vendored
Normal 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>;
|
32
node_modules/rxfire/functions/firestore/lite/collection/index.d.ts
generated
vendored
Normal file
32
node_modules/rxfire/functions/firestore/lite/collection/index.d.ts
generated
vendored
Normal 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>;
|
29
node_modules/rxfire/functions/firestore/lite/document/index.d.ts
generated
vendored
Normal file
29
node_modules/rxfire/functions/firestore/lite/document/index.d.ts
generated
vendored
Normal 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/functions/firestore/lite/fromRef.d.ts
generated
vendored
Normal file
4
node_modules/rxfire/functions/firestore/lite/fromRef.d.ts
generated
vendored
Normal 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/functions/firestore/lite/index.d.ts
generated
vendored
Normal file
19
node_modules/rxfire/functions/firestore/lite/index.d.ts
generated
vendored
Normal 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';
|
10
node_modules/rxfire/functions/firestore/lite/interfaces.d.ts
generated
vendored
Normal file
10
node_modules/rxfire/functions/firestore/lite/interfaces.d.ts
generated
vendored
Normal 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>;
|
Loading…
Add table
Add a link
Reference in a new issue