@budibase/pro 3.34.5 → 3.34.7
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/ai/prompts/index.d.ts +8 -0
- package/dist/db/backups.d.ts +6 -6
- package/dist/db/utils/views.d.ts +1 -1
- package/dist/index.js +81 -34
- package/dist/sdk/backups/backup.d.ts +10 -10
- package/dist/sdk/backups/index.d.ts +10 -10
- package/dist/types/init.d.ts +15 -10
- package/package.json +3 -3
|
@@ -9,6 +9,13 @@ export declare function summarizeText(text: string, length?: SummariseLength): L
|
|
|
9
9
|
export declare function classifyText(text: string, categories: string[]): LLMRequest;
|
|
10
10
|
export declare function cleanData(text: string): LLMRequest;
|
|
11
11
|
export declare function generateCronExpression(text: string): LLMRequest;
|
|
12
|
+
interface GenerateAgentInstructionsOptions {
|
|
13
|
+
prompt: string;
|
|
14
|
+
agentName?: string;
|
|
15
|
+
goal?: string;
|
|
16
|
+
toolReferences: string[];
|
|
17
|
+
}
|
|
18
|
+
export declare function generateAgentInstructionsPrompt({ prompt, agentName, goal, toolReferences, }: GenerateAgentInstructionsOptions): LLMRequest;
|
|
12
19
|
export declare function translate(text: string, language: string): LLMRequest;
|
|
13
20
|
export declare function sentimentAnalysis(text: string): LLMRequest;
|
|
14
21
|
export declare function searchWeb(text: string): LLMRequest;
|
|
@@ -20,3 +27,4 @@ export declare function composeAutomationAgentSystemPrompt(options: AgentPromptO
|
|
|
20
27
|
export declare function composeAutomationAgentToolGuidelines(guidelines: AutomationAgentToolGuideline[]): string;
|
|
21
28
|
export declare function agentSystemPrompt(user: ContextUser): string;
|
|
22
29
|
export declare function agentHistoryTitleSystemPrompt(): string;
|
|
30
|
+
export {};
|
package/dist/db/backups.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { BackupFetchOpts, PutResponse, WorkspaceBackup, WorkspaceBackupMetadata } from "@budibase/types";
|
|
2
2
|
export declare function oldestBackupDate(): Promise<string>;
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
3
|
+
export declare function generateWorkspaceBackupID(workspace: string, timestamp: string): string;
|
|
4
|
+
export declare function fetchWorkspaceBackups(workspaceId: string, opts?: BackupFetchOpts): Promise<{
|
|
5
5
|
data: WorkspaceBackup[];
|
|
6
6
|
hasNextPage: boolean;
|
|
7
7
|
nextPage?: string;
|
|
8
8
|
totalRows: number;
|
|
9
9
|
}>;
|
|
10
|
-
export declare function
|
|
10
|
+
export declare function storeWorkspaceBackupMetadata(metadata: WorkspaceBackupMetadata, opts?: {
|
|
11
11
|
filename?: string;
|
|
12
12
|
docId?: string;
|
|
13
13
|
docRev?: string;
|
|
14
14
|
}): Promise<PutResponse>;
|
|
15
|
-
export declare function
|
|
16
|
-
export declare function
|
|
17
|
-
export declare function
|
|
15
|
+
export declare function updateWorkspaceBackupMetadata(backupId: string, name: string): Promise<PutResponse>;
|
|
16
|
+
export declare function deleteWorkspaceBackupMetadata(backupId: string): Promise<void>;
|
|
17
|
+
export declare function getWorkspaceBackupMetadata(backupId: string): Promise<WorkspaceBackup>;
|
package/dist/db/utils/views.d.ts
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* main all_docs allows access to time series only
|
|
4
4
|
*/
|
|
5
5
|
export declare function createLogByAutomationView(): Promise<void>;
|
|
6
|
-
export declare function
|
|
6
|
+
export declare function createWorkspaceBackupTriggerView(): Promise<void>;
|