@databutton/firebase-types 1.70.0 → 1.70.2
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.
|
@@ -1303,6 +1303,29 @@ export interface PatchAttemptStrategy {
|
|
|
1303
1303
|
codeModel: string;
|
|
1304
1304
|
config: object;
|
|
1305
1305
|
}
|
|
1306
|
+
export interface WriteAttempt {
|
|
1307
|
+
projectId: string;
|
|
1308
|
+
operation: "create" | "update";
|
|
1309
|
+
result: {
|
|
1310
|
+
success: true;
|
|
1311
|
+
message: string;
|
|
1312
|
+
} | {
|
|
1313
|
+
success: false;
|
|
1314
|
+
failureReason: string;
|
|
1315
|
+
message: string;
|
|
1316
|
+
};
|
|
1317
|
+
timings: {
|
|
1318
|
+
durationMs: number;
|
|
1319
|
+
[key: string]: number;
|
|
1320
|
+
};
|
|
1321
|
+
code: {
|
|
1322
|
+
before: string;
|
|
1323
|
+
after: string | null;
|
|
1324
|
+
language: string;
|
|
1325
|
+
filepath: string;
|
|
1326
|
+
};
|
|
1327
|
+
meta: Record<string, string>;
|
|
1328
|
+
}
|
|
1306
1329
|
export interface PatchAttempt {
|
|
1307
1330
|
projectId: string;
|
|
1308
1331
|
changeRequestId: string;
|