@budibase/types 3.11.0 → 3.11.2

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.
package/dist/sdk/ai.d.ts CHANGED
@@ -75,6 +75,7 @@ export type AIColumnSchema = SummariseTextSchema | CleanDataSchema | TranslateSc
75
75
  export interface LLMConfigOptions {
76
76
  model: string;
77
77
  apiKey?: string;
78
+ maxTokens?: number;
78
79
  }
79
80
  export interface LLMProviderConfig extends LLMConfigOptions {
80
81
  provider: AIProvider;
@@ -4,6 +4,7 @@ export declare enum FeatureFlag {
4
4
  AI_JS_GENERATION = "AI_JS_GENERATION",
5
5
  AI_TABLE_GENERATION = "AI_TABLE_GENERATION",
6
6
  AI_AGENTS = "AI_AGENTS",
7
+ WORKSPACE_APPS = "WORKSPACE_APPS",
7
8
  DIRECT_LOGIN_TO_ACCOUNT_PORTAL = "DIRECT_LOGIN_TO_ACCOUNT_PORTAL"
8
9
  }
9
10
  export declare const FeatureFlagDefaults: Record<FeatureFlag, boolean>;
@@ -1,3 +1,4 @@
1
+ import { Document } from "../documents";
1
2
  export type DeepPartial<T> = {
2
3
  [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
3
4
  };
@@ -29,3 +30,4 @@ export type RequiredKeys<T> = {
29
30
  [K in keyof Required<T>]: T[K];
30
31
  };
31
32
  export type WithRequired<T, K extends keyof T> = T & Required<Pick<T, K>>;
33
+ export type WithoutDocMetadata<T extends Document> = Omit<T, "_id" | "_rev" | "createdAt" | "updatedAt">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@budibase/types",
3
- "version": "3.11.0",
3
+ "version": "3.11.2",
4
4
  "description": "Budibase types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,5 +27,5 @@
27
27
  "dependencies": {
28
28
  "scim-patch": "^0.8.1"
29
29
  },
30
- "gitHead": "62fbc7d8a5e3fad97a9ff500f3c67dd6719c421b"
30
+ "gitHead": "4c2f13e1b36fa559124df22462d83d2b4d1e7e9d"
31
31
  }