@budibase/types 3.2.16 → 3.2.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@budibase/types",
3
- "version": "3.2.16",
3
+ "version": "3.2.18",
4
4
  "description": "Budibase types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,10 +20,11 @@
20
20
  "@types/redlock": "4.0.7",
21
21
  "koa-useragent": "^4.1.0",
22
22
  "rimraf": "3.0.2",
23
- "typescript": "5.5.2"
23
+ "typescript": "5.5.2",
24
+ "zod": "^3.23.8"
24
25
  },
25
26
  "dependencies": {
26
27
  "scim-patch": "^0.8.1"
27
28
  },
28
- "gitHead": "04d0c02f70b21e01e3a98f5ab8751a6865b29a6c"
29
+ "gitHead": "4e35c4e81babc89c6e51fff52af95139cda570fc"
29
30
  }
@@ -1,34 +0,0 @@
1
- import { SearchFilters, RowSearchParams } from "../../../sdk";
2
- import { Row } from "../../../documents";
3
- import { PaginationResponse, SortOrder } from "../../../api";
4
- import { ReadStream } from "fs";
5
- export interface SaveRowRequest extends Row {
6
- }
7
- export interface PatchRowRequest extends Row {
8
- _id: string;
9
- _rev: string;
10
- tableId: string;
11
- }
12
- export interface PatchRowResponse extends Row {
13
- }
14
- export interface SearchRowRequest extends Omit<RowSearchParams, "tableId"> {
15
- }
16
- export interface SearchViewRowRequest extends Pick<SearchRowRequest, "sort" | "sortOrder" | "sortType" | "limit" | "bookmark" | "paginate" | "query" | "countRows"> {
17
- }
18
- export interface SearchRowResponse {
19
- rows: any[];
20
- }
21
- export interface PaginatedSearchRowResponse extends SearchRowResponse, PaginationResponse {
22
- }
23
- export interface ExportRowsRequest {
24
- rows?: string[];
25
- columns?: string[];
26
- query?: SearchFilters;
27
- sort?: string;
28
- sortOrder?: SortOrder;
29
- delimiter?: string;
30
- customHeaders?: {
31
- [key: string]: string;
32
- };
33
- }
34
- export type ExportRowsResponse = ReadStream;