@budibase/types 3.12.8 → 3.12.10

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
@@ -76,6 +76,7 @@ export interface LLMConfigOptions {
76
76
  model: string;
77
77
  apiKey?: string;
78
78
  maxTokens?: number;
79
+ baseUrl?: string;
79
80
  }
80
81
  export interface LLMProviderConfig extends LLMConfigOptions {
81
82
  provider: AIProvider;
@@ -174,7 +174,7 @@ export interface DatasourcePlus extends IntegrationBase {
174
174
  getBindingIdentifier(): string;
175
175
  getStringConcat(parts: string[]): string;
176
176
  query(json: EnrichedQueryJson): Promise<DatasourcePlusQueryResponse>;
177
- buildSchema(datasourceId: string, entities: Record<string, Table>): Promise<Schema>;
177
+ buildSchema(datasourceId: string, entities: Record<string, Table>, filter?: string[]): Promise<Schema>;
178
178
  getTableNames(): Promise<string[]>;
179
179
  }
180
180
  export {};
package/dist/sdk/db.d.ts CHANGED
@@ -26,6 +26,7 @@ export type DBView = {
26
26
  reduce?: string;
27
27
  meta?: ViewTemplateOpts;
28
28
  groupBy?: string;
29
+ version?: number;
29
30
  };
30
31
  export interface DesignDocument extends Document {
31
32
  _id: "_design/database";
@@ -19,7 +19,8 @@ export declare enum StaticQuotaName {
19
19
  export declare enum MonthlyQuotaName {
20
20
  QUERIES = "queries",
21
21
  AUTOMATIONS = "automations",
22
- BUDIBASE_AI_CREDITS = "budibaseAICredits"
22
+ BUDIBASE_AI_CREDITS = "budibaseAICredits",
23
+ ACTIONS = "actions"
23
24
  }
24
25
  export declare enum ConstantQuotaName {
25
26
  AUTOMATION_LOG_RETENTION_DAYS = "automationLogRetentionDays",
@@ -37,6 +38,7 @@ export type MonthlyQuotas = {
37
38
  [MonthlyQuotaName.QUERIES]: Quota;
38
39
  [MonthlyQuotaName.AUTOMATIONS]: Quota;
39
40
  [MonthlyQuotaName.BUDIBASE_AI_CREDITS]: Quota;
41
+ [MonthlyQuotaName.ACTIONS]: Quota;
40
42
  };
41
43
  export type StaticQuotas = {
42
44
  [StaticQuotaName.ROWS]: Quota;
@@ -16,3 +16,11 @@ export interface UIViewResource {
16
16
  tableId: string;
17
17
  resourceId: string;
18
18
  }
19
+ export interface UIFile {
20
+ size: number;
21
+ name: string;
22
+ url: string;
23
+ extension: string;
24
+ key: string;
25
+ type?: string;
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@budibase/types",
3
- "version": "3.12.8",
3
+ "version": "3.12.10",
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": "0094d288594dc6e48d3afc9f33fc14f3771652ac"
30
+ "gitHead": "9de98cbeb3441ce32f5cc05573fff655c7c758e9"
31
31
  }