@budibase/types 3.13.7 → 3.13.9
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/api/web/user.d.ts +10 -5
- package/dist/documents/app/table/table.d.ts +1 -3
- package/dist/documents/global/user.d.ts +18 -8
- package/dist/documents/global/userGroup.d.ts +13 -0
- package/dist/documents/platform/users.d.ts +3 -0
- package/dist/index.js +4 -4
- package/dist/index.js.map +2 -2
- package/dist/sdk/db.d.ts +5 -4
- package/package.json +2 -2
package/dist/sdk/db.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type Nano from "@budibase/nano";
|
|
2
2
|
import { AllDocsResponse, AnyDocument, Document, RowValue, SqlQueryBinding, ViewTemplateOpts } from "../";
|
|
3
3
|
import { Writable } from "stream";
|
|
4
|
+
import { ReadStream } from "fs";
|
|
4
5
|
export declare enum SearchIndex {
|
|
5
6
|
ROWS = "rows",
|
|
6
7
|
USER = "user"
|
|
@@ -116,10 +117,10 @@ export interface Database {
|
|
|
116
117
|
destroy(): Promise<Nano.OkResponse>;
|
|
117
118
|
compact(): Promise<Nano.OkResponse>;
|
|
118
119
|
dump(stream: Writable, opts?: DatabaseDumpOpts): Promise<any>;
|
|
119
|
-
load(
|
|
120
|
-
createIndex(
|
|
121
|
-
deleteIndex(
|
|
122
|
-
getIndexes(
|
|
120
|
+
load(stream: ReadStream): Promise<any>;
|
|
121
|
+
createIndex(opts: DatabaseCreateIndexOpts): Promise<any>;
|
|
122
|
+
deleteIndex(opts: DatabaseDeleteIndexOpts): Promise<any>;
|
|
123
|
+
getIndexes(): Promise<any>;
|
|
123
124
|
}
|
|
124
125
|
export interface DBError extends Error {
|
|
125
126
|
status: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/types",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.9",
|
|
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": "
|
|
30
|
+
"gitHead": "30a44240184250ea133efd48416ad2a33ee16d60"
|
|
31
31
|
}
|