@glissandoo/lib 1.32.9 → 1.32.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/firestore.d.ts +1481 -1732
- package/types/firestore.js +57 -0
- package/types/firestore.ts +1998 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*!
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.GrpcStatus = void 0;
|
|
19
|
+
/**
|
|
20
|
+
* The v1beta1 Veneer client. This client provides access to to the underlying
|
|
21
|
+
* Firestore v1beta1 RPCs.
|
|
22
|
+
* @deprecated Use v1 instead.
|
|
23
|
+
*/
|
|
24
|
+
// export const v1beta1: {
|
|
25
|
+
// FirestoreClient: typeof import('./v1beta1/firestore_client').FirestoreClient;
|
|
26
|
+
// };
|
|
27
|
+
/**
|
|
28
|
+
* The v1 Veneer clients. These clients provide access to the Firestore Admin
|
|
29
|
+
* API and the underlying Firestore v1 RPCs.
|
|
30
|
+
*/
|
|
31
|
+
// export const v1: {
|
|
32
|
+
// FirestoreClient: typeof import('./v1/firestore_client').FirestoreClient;
|
|
33
|
+
// FirestoreAdminClient: typeof import('./v1/firestore_admin_client').FirestoreAdminClient;
|
|
34
|
+
// };
|
|
35
|
+
/**
|
|
36
|
+
* Status codes returned by Firestore's gRPC calls.
|
|
37
|
+
*/
|
|
38
|
+
var GrpcStatus;
|
|
39
|
+
(function (GrpcStatus) {
|
|
40
|
+
GrpcStatus[GrpcStatus["OK"] = 0] = "OK";
|
|
41
|
+
GrpcStatus[GrpcStatus["CANCELLED"] = 1] = "CANCELLED";
|
|
42
|
+
GrpcStatus[GrpcStatus["UNKNOWN"] = 2] = "UNKNOWN";
|
|
43
|
+
GrpcStatus[GrpcStatus["INVALID_ARGUMENT"] = 3] = "INVALID_ARGUMENT";
|
|
44
|
+
GrpcStatus[GrpcStatus["DEADLINE_EXCEEDED"] = 4] = "DEADLINE_EXCEEDED";
|
|
45
|
+
GrpcStatus[GrpcStatus["NOT_FOUND"] = 5] = "NOT_FOUND";
|
|
46
|
+
GrpcStatus[GrpcStatus["ALREADY_EXISTS"] = 6] = "ALREADY_EXISTS";
|
|
47
|
+
GrpcStatus[GrpcStatus["PERMISSION_DENIED"] = 7] = "PERMISSION_DENIED";
|
|
48
|
+
GrpcStatus[GrpcStatus["RESOURCE_EXHAUSTED"] = 8] = "RESOURCE_EXHAUSTED";
|
|
49
|
+
GrpcStatus[GrpcStatus["FAILED_PRECONDITION"] = 9] = "FAILED_PRECONDITION";
|
|
50
|
+
GrpcStatus[GrpcStatus["ABORTED"] = 10] = "ABORTED";
|
|
51
|
+
GrpcStatus[GrpcStatus["OUT_OF_RANGE"] = 11] = "OUT_OF_RANGE";
|
|
52
|
+
GrpcStatus[GrpcStatus["UNIMPLEMENTED"] = 12] = "UNIMPLEMENTED";
|
|
53
|
+
GrpcStatus[GrpcStatus["INTERNAL"] = 13] = "INTERNAL";
|
|
54
|
+
GrpcStatus[GrpcStatus["UNAVAILABLE"] = 14] = "UNAVAILABLE";
|
|
55
|
+
GrpcStatus[GrpcStatus["DATA_LOSS"] = 15] = "DATA_LOSS";
|
|
56
|
+
GrpcStatus[GrpcStatus["UNAUTHENTICATED"] = 16] = "UNAUTHENTICATED";
|
|
57
|
+
})(GrpcStatus = exports.GrpcStatus || (exports.GrpcStatus = {}));
|