@budibase/types 3.9.5 → 3.10.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.
@@ -0,0 +1,3 @@
1
+ export interface OverrideFeatureFlagRequest {
2
+ flags: Record<string, boolean>;
3
+ }
@@ -5,6 +5,7 @@ export * from "./backup";
5
5
  export * from "./component";
6
6
  export * from "./datasource";
7
7
  export * from "./deployment";
8
+ export * from "./features";
8
9
  export * from "./integration";
9
10
  export * from "./layout";
10
11
  export * from "./metadata";
@@ -6,3 +6,6 @@ export interface SessionCookie {
6
6
  sessionId: string;
7
7
  userId: string;
8
8
  }
9
+ export interface FeatureFlagCookie {
10
+ flags: Record<string, boolean>;
11
+ }
@@ -4,3 +4,9 @@ export interface APIError {
4
4
  error?: any;
5
5
  validationErrors?: any;
6
6
  }
7
+ export declare enum ErrorCode {
8
+ USAGE_LIMIT_EXCEEDED = "usage_limit_exceeded",
9
+ FEATURE_DISABLED = "feature_disabled",
10
+ INVALID_API_KEY = "invalid_api_key",
11
+ HTTP = "http"
12
+ }
@@ -102,7 +102,6 @@ export type AIProvider = "OpenAI" | "Anthropic" | "AzureOpenAI" | "TogetherAI" |
102
102
  export interface ProviderConfig {
103
103
  provider: AIProvider;
104
104
  isDefault: boolean;
105
- isBudibaseAI?: boolean;
106
105
  name: string;
107
106
  active: boolean;
108
107
  baseUrl?: string;