@databutton/firebase-types 1.143.1 → 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";
@@ -1575,6 +1575,8 @@ export interface ProjectAccess {
1575
1575
  devxOpenUntil?: Timestamp | null;
1576
1576
  refreshKey?: string;
1577
1577
  salt?: string;
1578
+ appHost?: string;
1579
+ appBasePath?: string;
1578
1580
  checkAttributes?: OidcAttributeCheck[];
1579
1581
  }
1580
1582
  export type DnsRecord = {
@@ -2738,4 +2740,11 @@ export interface ProjectToolConfig {
2738
2740
  lastUpdatedBy: PerformedBy;
2739
2741
  tools: Record<string, ProjectToolEntry>;
2740
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
+ }
2741
2750
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.143.1",
3
+ "version": "1.144.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {