@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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.143.2",
3
+ "version": "1.144.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {