@budibase/pro 2.27.4 → 2.27.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/constants/auditLogs.d.ts +4 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/db/auditLogs.d.ts +7 -2
- package/dist/db/views/staticViews.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/sdk/auditLogs/auditLogs.d.ts +1 -0
- package/dist/sdk/auditLogs/utils.d.ts +0 -1
- package/dist/sdk/features/features.d.ts +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +6 -6
package/dist/db/auditLogs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { AuditLogDoc, SearchFilters,
|
|
2
|
+
import { AuditLogDoc, AuditLogSearchParams, SearchFilters, SearchResponse } from "@budibase/types";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
4
|
export declare function save(doc: AuditLogDoc): Promise<{
|
|
5
5
|
_rev: string;
|
|
@@ -9,12 +9,17 @@ export declare function save(doc: AuditLogDoc): Promise<{
|
|
|
9
9
|
timestamp: string;
|
|
10
10
|
metadata: any;
|
|
11
11
|
name: string;
|
|
12
|
+
type?: "auditLog" | undefined;
|
|
12
13
|
fallback?: import("@budibase/types").FallbackInfo | undefined;
|
|
13
14
|
_id?: string | undefined;
|
|
14
15
|
createdAt?: string | number | undefined;
|
|
15
16
|
updatedAt?: string | undefined;
|
|
16
17
|
} | undefined>;
|
|
17
|
-
export declare function search(search: SearchFilters, bookmark?: string): Promise<
|
|
18
|
+
export declare function search(search: SearchFilters, bookmark?: string): Promise<SearchResponse<AuditLogDoc>>;
|
|
19
|
+
export declare function searchSQL(filters: SearchFilters, bookmark?: number, opts?: {
|
|
20
|
+
isRetry?: boolean;
|
|
21
|
+
}): Promise<SearchResponse<AuditLogDoc>>;
|
|
22
|
+
export declare function migrate(): Promise<void>;
|
|
18
23
|
export declare function dump(params: AuditLogSearchParams): {
|
|
19
24
|
promise: Promise<void>;
|
|
20
25
|
stream: Readable;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function createAuditLogDesignDocLucene(): Promise<void>;
|
|
2
|
+
export declare function createAuditLogDesignDocSQL(): Promise<void>;
|