UNPKG

2.18 kBJavaScriptView Raw
1/*! firebase-admin v10.0.0 */
2"use strict";
3/*!
4 * Copyright 2021 Google Inc.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18Object.defineProperty(exports, "__esModule", { value: true });
19exports.firestore = void 0;
20var _firestore = require("@google-cloud/firestore");
21/* eslint-disable @typescript-eslint/no-namespace */
22var firestore;
23(function (firestore) {
24 /* eslint-disable @typescript-eslint/no-unused-vars */
25 // See https://github.com/typescript-eslint/typescript-eslint/issues/363
26 firestore.v1beta1 = _firestore.v1beta1;
27 firestore.v1 = _firestore.v1;
28 firestore.BulkWriter = _firestore.BulkWriter;
29 firestore.CollectionGroup = _firestore.CollectionGroup;
30 firestore.CollectionReference = _firestore.CollectionReference;
31 firestore.DocumentReference = _firestore.DocumentReference;
32 firestore.DocumentSnapshot = _firestore.DocumentSnapshot;
33 firestore.FieldPath = _firestore.FieldPath;
34 firestore.FieldValue = _firestore.FieldValue;
35 firestore.Firestore = _firestore.Firestore;
36 firestore.GeoPoint = _firestore.GeoPoint;
37 firestore.GrpcStatus = _firestore.GrpcStatus;
38 firestore.Query = _firestore.Query;
39 firestore.QueryDocumentSnapshot = _firestore.QueryDocumentSnapshot;
40 firestore.QueryPartition = _firestore.QueryPartition;
41 firestore.QuerySnapshot = _firestore.QuerySnapshot;
42 firestore.Timestamp = _firestore.Timestamp;
43 firestore.Transaction = _firestore.Transaction;
44 firestore.WriteBatch = _firestore.WriteBatch;
45 firestore.WriteResult = _firestore.WriteResult;
46 firestore.setLogFunction = _firestore.setLogFunction;
47})(firestore = exports.firestore || (exports.firestore = {}));