@databutton/firebase-types 1.69.30 → 1.69.32

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.
@@ -1025,7 +1025,9 @@ export interface WorkspaceConfig {
1025
1025
  active: string;
1026
1026
  latest: string;
1027
1027
  minimum: string;
1028
- beyond?: string;
1028
+ beyond: string;
1029
+ recommended: string;
1030
+ mandatory: string;
1029
1031
  [key: string]: string | undefined;
1030
1032
  }
1031
1033
  export interface DbtnControllerRequirements {
@@ -1114,7 +1116,14 @@ export interface ComputeHourUsageRecord {
1114
1116
  secondsUsedForHour: number;
1115
1117
  appbutlerId: string;
1116
1118
  }
1117
- 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 {
1118
1127
  projectId: string;
1119
1128
  changeRequestId: string;
1120
1129
  attempt: number;
@@ -1122,20 +1131,19 @@ export interface PatchAttemptCommon {
1122
1131
  codeBefore: string;
1123
1132
  codeAfter: string | null;
1124
1133
  success: boolean;
1134
+ failureReason?: string | null;
1125
1135
  final?: boolean;
1126
1136
  createdAt?: Timestamp;
1127
1137
  tag?: string;
1128
- }
1129
- export type PatchAttemptV1 = PatchAttemptCommon & {
1130
1138
  agentResponse?: string | null;
1131
1139
  patch?: string | null;
1132
- };
1133
- export type PatchAttemptV2 = PatchAttemptCommon & {
1134
- schema: "2024-05-15";
1140
+ schema?: "2024-05-15" | "2024-08-09";
1135
1141
  patchMode?: string;
1142
+ strategy?: PatchAttemptStrategy;
1136
1143
  agentResponses?: {
1137
1144
  name: string;
1138
1145
  response: string;
1139
1146
  }[];
1140
- };
1147
+ errors?: string[];
1148
+ }
1141
1149
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.69.30",
3
+ "version": "1.69.32",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {