@budibase/pro 3.34.4 → 3.34.6
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/db/backups.d.ts +6 -6
- package/dist/db/utils/views.d.ts +1 -1
- package/dist/index.js +19 -19
- 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 +2 -5
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>;
|