@databutton/firebase-types 1.69.31 → 1.69.33

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.
@@ -1116,7 +1116,14 @@ export interface ComputeHourUsageRecord {
1116
1116
  secondsUsedForHour: number;
1117
1117
  appbutlerId: string;
1118
1118
  }
1119
- export interface PatchAttemptCommon {
1119
+ export interface PatchAttemptStrategy {
1120
+ tag: string;
1121
+ maxAttempts: number;
1122
+ patchMode: string;
1123
+ codeModel: string;
1124
+ config: object;
1125
+ }
1126
+ export interface PatchAttempt {
1120
1127
  projectId: string;
1121
1128
  changeRequestId: string;
1122
1129
  attempt: number;
@@ -1124,20 +1131,19 @@ export interface PatchAttemptCommon {
1124
1131
  codeBefore: string;
1125
1132
  codeAfter: string | null;
1126
1133
  success: boolean;
1134
+ failureReason?: string | null;
1127
1135
  final?: boolean;
1128
1136
  createdAt?: Timestamp;
1129
1137
  tag?: string;
1130
- }
1131
- export type PatchAttemptV1 = PatchAttemptCommon & {
1132
1138
  agentResponse?: string | null;
1133
1139
  patch?: string | null;
1134
- };
1135
- export type PatchAttemptV2 = PatchAttemptCommon & {
1136
- schema: "2024-05-15";
1140
+ schema?: "2024-05-15" | "2024-08-09";
1137
1141
  patchMode?: string;
1142
+ strategy?: PatchAttemptStrategy;
1138
1143
  agentResponses?: {
1139
1144
  name: string;
1140
1145
  response: string;
1141
1146
  }[];
1142
- };
1147
+ errors?: string[];
1148
+ }
1143
1149
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.69.31",
3
+ "version": "1.69.33",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {