@budibase/types 3.15.0 → 3.16.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.
package/dist/sdk/ai.d.ts CHANGED
@@ -77,6 +77,7 @@ export interface LLMConfigOptions {
77
77
  model: string;
78
78
  apiKey?: string;
79
79
  maxTokens?: number;
80
+ max_completion_tokens?: number;
80
81
  baseUrl?: string;
81
82
  }
82
83
  export interface LLMProviderConfig extends LLMConfigOptions {
package/dist/sdk/db.d.ts CHANGED
@@ -29,6 +29,9 @@ export type DBView = {
29
29
  groupBy?: string;
30
30
  version?: number;
31
31
  };
32
+ export type DatabaseOpts = {
33
+ skip_setup?: boolean;
34
+ };
32
35
  export interface DesignDocument extends Document {
33
36
  _id: "_design/database";
34
37
  language?: string;
@@ -42,9 +45,6 @@ export interface DesignDocument extends Document {
42
45
  };
43
46
  };
44
47
  }
45
- export type DatabaseOpts = {
46
- skip_setup?: boolean;
47
- };
48
48
  export type DatabasePutOpts = {
49
49
  force?: boolean;
50
50
  returnDoc?: boolean;
@@ -1,6 +1,6 @@
1
1
  export interface EnrichedBinding {
2
- value: string;
3
- valueHTML: string;
2
+ value?: string;
3
+ valueHTML?: string;
4
4
  runtimeBinding: string;
5
5
  readableBinding: string;
6
6
  type?: null | string;
@@ -0,0 +1,4 @@
1
+ export declare enum DataEnvironmentMode {
2
+ DEVELOPMENT = "development",
3
+ PRODUCTION = "production"
4
+ }
@@ -3,3 +3,4 @@ export * from "./misc";
3
3
  export * from "./automations";
4
4
  export * from "./grid";
5
5
  export * from "./preview";
6
+ export * from "./dataEnvironment";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@budibase/types",
3
- "version": "3.15.0",
3
+ "version": "3.16.0",
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": "d220e217e0f03ff770421191b5b49cf8268f007f"
30
+ "gitHead": "d20f1f44d10db8eb79d7b7e47c670f3fce502547"
31
31
  }