@budibase/types 3.5.0 → 3.5.2

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.
@@ -1,6 +1,6 @@
1
1
  import { EmptyFilterOption } from "../../../../sdk";
2
2
  import { Row } from "../../../../documents";
3
- import { PaginationResponse, SortOrder, SortType } from "../../../../api/web/pagination";
3
+ import { PaginationResponse, SortOrder } from "../../../../api/web/pagination";
4
4
  import { z } from "zod";
5
5
  declare const searchRowRequest: z.ZodObject<{
6
6
  query: z.ZodOptional<z.ZodObject<{
@@ -57,7 +57,6 @@ declare const searchRowRequest: z.ZodObject<{
57
57
  limit: z.ZodOptional<z.ZodNumber>;
58
58
  sort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  sortOrder: z.ZodOptional<z.ZodNativeEnum<typeof SortOrder>>;
60
- sortType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof SortType>>>;
61
60
  version: z.ZodOptional<z.ZodString>;
62
61
  disableEscaping: z.ZodOptional<z.ZodBoolean>;
63
62
  countRows: z.ZodOptional<z.ZodBoolean>;
@@ -85,7 +84,6 @@ declare const searchRowRequest: z.ZodObject<{
85
84
  paginate?: boolean | undefined;
86
85
  bookmark?: string | number | null | undefined;
87
86
  sortOrder?: SortOrder | undefined;
88
- sortType?: SortType | null | undefined;
89
87
  disableEscaping?: boolean | undefined;
90
88
  countRows?: boolean | undefined;
91
89
  }, {
@@ -112,7 +110,6 @@ declare const searchRowRequest: z.ZodObject<{
112
110
  paginate?: boolean | undefined;
113
111
  bookmark?: string | number | null | undefined;
114
112
  sortOrder?: SortOrder | undefined;
115
- sortType?: SortType | null | undefined;
116
113
  disableEscaping?: boolean | undefined;
117
114
  countRows?: boolean | undefined;
118
115
  }>;
@@ -171,7 +168,6 @@ export declare const searchRowRequestValidator: z.ZodObject<{
171
168
  limit: z.ZodOptional<z.ZodNumber>;
172
169
  sort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
170
  sortOrder: z.ZodOptional<z.ZodNativeEnum<typeof SortOrder>>;
174
- sortType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof SortType>>>;
175
171
  version: z.ZodOptional<z.ZodString>;
176
172
  disableEscaping: z.ZodOptional<z.ZodBoolean>;
177
173
  countRows: z.ZodOptional<z.ZodBoolean>;
@@ -199,7 +195,6 @@ export declare const searchRowRequestValidator: z.ZodObject<{
199
195
  paginate?: boolean | undefined;
200
196
  bookmark?: string | number | null | undefined;
201
197
  sortOrder?: SortOrder | undefined;
202
- sortType?: SortType | null | undefined;
203
198
  disableEscaping?: boolean | undefined;
204
199
  countRows?: boolean | undefined;
205
200
  }, {
@@ -226,12 +221,11 @@ export declare const searchRowRequestValidator: z.ZodObject<{
226
221
  paginate?: boolean | undefined;
227
222
  bookmark?: string | number | null | undefined;
228
223
  sortOrder?: SortOrder | undefined;
229
- sortType?: SortType | null | undefined;
230
224
  disableEscaping?: boolean | undefined;
231
225
  countRows?: boolean | undefined;
232
226
  }>;
233
227
  export type SearchRowRequest = z.infer<typeof searchRowRequest>;
234
- export type SearchViewRowRequest = Pick<SearchRowRequest, "sort" | "sortOrder" | "sortType" | "limit" | "bookmark" | "paginate" | "query" | "countRows">;
228
+ export type SearchViewRowRequest = Pick<SearchRowRequest, "sort" | "sortOrder" | "limit" | "bookmark" | "paginate" | "query" | "countRows">;
235
229
  export interface SearchRowResponse {
236
230
  rows: Row[];
237
231
  }