@databutton/firebase-types 1.143.2 → 1.144.0
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.
|
@@ -94,6 +94,7 @@ export declare enum CollectionName {
|
|
|
94
94
|
UI_FILES = "ui-files",
|
|
95
95
|
CONTEXT_FILES = "context-files",
|
|
96
96
|
TOOL_CONFIGS = "tool-configs",
|
|
97
|
+
PERFORMANCE_METRIC_CONFIGS = "performance-metric-configs",
|
|
97
98
|
TASKS = "tasks",
|
|
98
99
|
TOKEN_USAGE_ENTRIES = "entries",
|
|
99
100
|
COMPUTE_HOUR_USAGE = "compute-hour-usage",
|
|
@@ -95,6 +95,7 @@ export var CollectionName;
|
|
|
95
95
|
CollectionName["UI_FILES"] = "ui-files";
|
|
96
96
|
CollectionName["CONTEXT_FILES"] = "context-files";
|
|
97
97
|
CollectionName["TOOL_CONFIGS"] = "tool-configs";
|
|
98
|
+
CollectionName["PERFORMANCE_METRIC_CONFIGS"] = "performance-metric-configs";
|
|
98
99
|
CollectionName["TASKS"] = "tasks";
|
|
99
100
|
CollectionName["TOKEN_USAGE_ENTRIES"] = "entries";
|
|
100
101
|
CollectionName["COMPUTE_HOUR_USAGE"] = "compute-hour-usage";
|
|
@@ -2740,4 +2740,11 @@ export interface ProjectToolConfig {
|
|
|
2740
2740
|
lastUpdatedBy: PerformedBy;
|
|
2741
2741
|
tools: Record<string, ProjectToolEntry>;
|
|
2742
2742
|
}
|
|
2743
|
+
export interface PerformanceMetricConfig {
|
|
2744
|
+
toolName: string;
|
|
2745
|
+
displayName: string;
|
|
2746
|
+
metricType: "call_count" | "success_rate" | "approval_rate";
|
|
2747
|
+
createdBy: PerformedBy;
|
|
2748
|
+
lastUpdatedBy: PerformedBy;
|
|
2749
|
+
}
|
|
2743
2750
|
export {};
|