@databutton/firebase-types 1.145.0 → 1.146.1
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.
|
@@ -217,6 +217,18 @@ export declare enum TaskRelation {
|
|
|
217
217
|
BLOCKING = "blocking",
|
|
218
218
|
RELATED_TO = "related-to"
|
|
219
219
|
}
|
|
220
|
+
export declare enum ImprovementPriority {
|
|
221
|
+
CRITICAL = "critical",
|
|
222
|
+
HIGH = "high",
|
|
223
|
+
MEDIUM = "medium",
|
|
224
|
+
LOW = "low"
|
|
225
|
+
}
|
|
226
|
+
export declare enum ImprovementStatus {
|
|
227
|
+
PENDING = "pending",
|
|
228
|
+
DISCUSSING = "discussing",
|
|
229
|
+
RESOLVED = "resolved",
|
|
230
|
+
DISMISSED = "dismissed"
|
|
231
|
+
}
|
|
220
232
|
export declare enum IntegrationType {
|
|
221
233
|
SDK = "sdk",
|
|
222
234
|
HTTP = "http",
|
|
@@ -233,6 +233,20 @@ export var TaskRelation;
|
|
|
233
233
|
TaskRelation["BLOCKING"] = "blocking";
|
|
234
234
|
TaskRelation["RELATED_TO"] = "related-to";
|
|
235
235
|
})(TaskRelation || (TaskRelation = {}));
|
|
236
|
+
export var ImprovementPriority;
|
|
237
|
+
(function (ImprovementPriority) {
|
|
238
|
+
ImprovementPriority["CRITICAL"] = "critical";
|
|
239
|
+
ImprovementPriority["HIGH"] = "high";
|
|
240
|
+
ImprovementPriority["MEDIUM"] = "medium";
|
|
241
|
+
ImprovementPriority["LOW"] = "low";
|
|
242
|
+
})(ImprovementPriority || (ImprovementPriority = {}));
|
|
243
|
+
export var ImprovementStatus;
|
|
244
|
+
(function (ImprovementStatus) {
|
|
245
|
+
ImprovementStatus["PENDING"] = "pending";
|
|
246
|
+
ImprovementStatus["DISCUSSING"] = "discussing";
|
|
247
|
+
ImprovementStatus["RESOLVED"] = "resolved";
|
|
248
|
+
ImprovementStatus["DISMISSED"] = "dismissed";
|
|
249
|
+
})(ImprovementStatus || (ImprovementStatus = {}));
|
|
236
250
|
export var IntegrationType;
|
|
237
251
|
(function (IntegrationType) {
|
|
238
252
|
IntegrationType["SDK"] = "sdk";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Timestamp } from "firebase/firestore";
|
|
2
2
|
import type { JsonObject, Primitive } from "type-fest";
|
|
3
3
|
import type { ProjectMigration } from "../internal/enums.js";
|
|
4
|
-
import type { AccountBusinessModel, AccountEmployeeCount, AccountIndustry, AccountRole, ConfigTypes, NotificationType, TaskPriority, TaskRelation, ThirdPartyAuthName, ThirdPartyDatabaseName, ThirdPartyPaymentsName, ThirdPartyServiceCategory, ThirdPartyStorageName, UiComponentTag } from "./enums.js";
|
|
4
|
+
import type { AccountBusinessModel, AccountEmployeeCount, AccountIndustry, AccountRole, ConfigTypes, ImprovementPriority, ImprovementStatus, NotificationType, TaskPriority, TaskRelation, ThirdPartyAuthName, ThirdPartyDatabaseName, ThirdPartyPaymentsName, ThirdPartyServiceCategory, ThirdPartyStorageName, UiComponentTag } from "./enums.js";
|
|
5
5
|
/**
|
|
6
6
|
* Types here should reflect data format stored in firestore and
|
|
7
7
|
* either be backwards-compatible or migrated when needed
|
|
@@ -1129,11 +1129,16 @@ export type ThirdPartyService = {
|
|
|
1129
1129
|
category: ThirdPartyServiceCategory.STORAGE;
|
|
1130
1130
|
name: ThirdPartyStorageName;
|
|
1131
1131
|
};
|
|
1132
|
+
export interface DemoEmailConfig {
|
|
1133
|
+
enabled?: boolean;
|
|
1134
|
+
allowedSenders?: string[];
|
|
1135
|
+
}
|
|
1132
1136
|
export interface AgentConfig {
|
|
1133
1137
|
customInstructions: string;
|
|
1134
1138
|
strictMode?: boolean | null;
|
|
1135
1139
|
status?: AgentStatus;
|
|
1136
1140
|
primaryModel?: string;
|
|
1141
|
+
demoEmailConfig?: DemoEmailConfig;
|
|
1137
1142
|
}
|
|
1138
1143
|
export type AgentStatus = {
|
|
1139
1144
|
available: true;
|
|
@@ -2748,4 +2753,17 @@ export interface PerformanceMetricConfig {
|
|
|
2748
2753
|
createdBy: PerformedBy;
|
|
2749
2754
|
lastUpdatedBy: PerformedBy;
|
|
2750
2755
|
}
|
|
2756
|
+
export interface AgentImprovement {
|
|
2757
|
+
createdBy: PerformedBy;
|
|
2758
|
+
createdAt: Timestamp;
|
|
2759
|
+
updatedBy: PerformedBy;
|
|
2760
|
+
updatedAt: Timestamp;
|
|
2761
|
+
title: string;
|
|
2762
|
+
report: string;
|
|
2763
|
+
priority: ImprovementPriority;
|
|
2764
|
+
status: ImprovementStatus;
|
|
2765
|
+
deploymentCommitId: string | null;
|
|
2766
|
+
sessionId: string | null;
|
|
2767
|
+
taskId: string | null;
|
|
2768
|
+
}
|
|
2751
2769
|
export {};
|