firestore-namespace.js 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*! firebase-admin v12.1.1 */
  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. */
  18. Object.defineProperty(exports, "__esModule", { value: true });
  19. exports.firestore = void 0;
  20. const _firestore = require("@google-cloud/firestore");
  21. /* eslint-disable @typescript-eslint/no-namespace */
  22. var 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.AggregateField = _firestore.AggregateField;
  29. firestore.AggregateQuery = _firestore.AggregateQuery;
  30. firestore.AggregateQuerySnapshot = _firestore.AggregateQuerySnapshot;
  31. firestore.BulkWriter = _firestore.BulkWriter;
  32. firestore.BundleBuilder = _firestore.BundleBuilder;
  33. firestore.CollectionGroup = _firestore.CollectionGroup;
  34. firestore.CollectionReference = _firestore.CollectionReference;
  35. firestore.DocumentReference = _firestore.DocumentReference;
  36. firestore.DocumentSnapshot = _firestore.DocumentSnapshot;
  37. firestore.FieldPath = _firestore.FieldPath;
  38. firestore.FieldValue = _firestore.FieldValue;
  39. firestore.Filter = _firestore.Filter;
  40. firestore.Firestore = _firestore.Firestore;
  41. firestore.GeoPoint = _firestore.GeoPoint;
  42. firestore.GrpcStatus = _firestore.GrpcStatus;
  43. firestore.Query = _firestore.Query;
  44. firestore.QueryDocumentSnapshot = _firestore.QueryDocumentSnapshot;
  45. firestore.QueryPartition = _firestore.QueryPartition;
  46. firestore.QuerySnapshot = _firestore.QuerySnapshot;
  47. firestore.Timestamp = _firestore.Timestamp;
  48. firestore.Transaction = _firestore.Transaction;
  49. firestore.WriteBatch = _firestore.WriteBatch;
  50. firestore.WriteResult = _firestore.WriteResult;
  51. firestore.setLogFunction = _firestore.setLogFunction;
  52. })(firestore || (exports.firestore = firestore = {}));