@databutton/firebase-types 1.70.4 → 1.70.6
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.
|
@@ -55,7 +55,8 @@ export declare enum CollectionName {
|
|
|
55
55
|
UI_FILES = "ui-files",
|
|
56
56
|
TOKEN_USAGE_ENTRIES = "entries",
|
|
57
57
|
COMPUTE_HOUR_USAGE = "compute-hour-usage",
|
|
58
|
-
CREDIT_TRANSACTIONS = "credit-transactions"
|
|
58
|
+
CREDIT_TRANSACTIONS = "credit-transactions",
|
|
59
|
+
WRITE_ATTEMPTS = "write-attempts"
|
|
59
60
|
}
|
|
60
61
|
export declare enum DatabuttonIdPrefix {
|
|
61
62
|
APP_DEPLOY = "ad",
|
|
@@ -57,6 +57,7 @@ export var CollectionName;
|
|
|
57
57
|
CollectionName["TOKEN_USAGE_ENTRIES"] = "entries";
|
|
58
58
|
CollectionName["COMPUTE_HOUR_USAGE"] = "compute-hour-usage";
|
|
59
59
|
CollectionName["CREDIT_TRANSACTIONS"] = "credit-transactions";
|
|
60
|
+
CollectionName["WRITE_ATTEMPTS"] = "write-attempts";
|
|
60
61
|
})(CollectionName = CollectionName || (CollectionName = {}));
|
|
61
62
|
export var DatabuttonIdPrefix;
|
|
62
63
|
(function (DatabuttonIdPrefix) {
|
|
@@ -1323,8 +1323,10 @@ export interface WriteAttemptStepFailure extends WriteAttemptStepBase {
|
|
|
1323
1323
|
export type WriteAttemptStep = WriteAttemptStepSuccess | WriteAttemptStepFailure;
|
|
1324
1324
|
export interface WriteAttempt {
|
|
1325
1325
|
projectId: string;
|
|
1326
|
+
createdAt: Timestamp;
|
|
1327
|
+
reference: string;
|
|
1326
1328
|
success: boolean;
|
|
1327
|
-
failureReason
|
|
1329
|
+
failureReason: string | null;
|
|
1328
1330
|
messages: {
|
|
1329
1331
|
level: "info" | "error" | "warning";
|
|
1330
1332
|
message: string;
|