@databutton/firebase-types 1.143.2 → 1.144.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.
@@ -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";
@@ -1577,6 +1577,7 @@ export interface ProjectAccess {
1577
1577
  salt?: string;
1578
1578
  appHost?: string;
1579
1579
  appBasePath?: string;
1580
+ workosOrgId?: string;
1580
1581
  checkAttributes?: OidcAttributeCheck[];
1581
1582
  }
1582
1583
  export type DnsRecord = {
@@ -2740,4 +2741,11 @@ export interface ProjectToolConfig {
2740
2741
  lastUpdatedBy: PerformedBy;
2741
2742
  tools: Record<string, ProjectToolEntry>;
2742
2743
  }
2744
+ export interface PerformanceMetricConfig {
2745
+ toolName: string;
2746
+ displayName: string;
2747
+ metricType: "call_count" | "success_rate" | "approval_rate";
2748
+ createdBy: PerformedBy;
2749
+ lastUpdatedBy: PerformedBy;
2750
+ }
2743
2751
  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.1",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {