@budibase/types 3.13.8 → 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/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(...args: any[]): Promise<any>;
120
- createIndex(...args: any[]): Promise<any>;
121
- deleteIndex(...args: any[]): Promise<any>;
122
- getIndexes(...args: any[]): Promise<any>;
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.8",
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": "3550187f1ceddaa3d86735f514c3b771603ac596"
30
+ "gitHead": "30a44240184250ea133efd48416ad2a33ee16d60"
31
31
  }