@budibase/types 2.29.0 → 2.29.1

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.
@@ -14,7 +14,7 @@ export interface PatchRowResponse extends Row {
14
14
  }
15
15
  export interface SearchRowRequest extends Omit<RowSearchParams, "tableId"> {
16
16
  }
17
- export interface SearchViewRowRequest extends Pick<SearchRowRequest, "sort" | "sortOrder" | "sortType" | "limit" | "bookmark" | "paginate" | "query"> {
17
+ export interface SearchViewRowRequest extends Pick<SearchRowRequest, "sort" | "sortOrder" | "sortType" | "limit" | "bookmark" | "paginate" | "query" | "countRows"> {
18
18
  }
19
19
  export interface SearchRowResponse {
20
20
  rows: any[];
package/dist/index.js CHANGED
@@ -51,6 +51,7 @@ __export(src_exports, {
51
51
  CommandWord: () => CommandWord,
52
52
  ConfigType: () => ConfigType,
53
53
  ConstantQuotaName: () => ConstantQuotaName,
54
+ DSPlusOperation: () => DSPlusOperation,
54
55
  DatasourceFeature: () => DatasourceFeature,
55
56
  DatasourceFieldType: () => DatasourceFieldType,
56
57
  DocumentType: () => DocumentType,
@@ -574,6 +575,7 @@ var Operation = /* @__PURE__ */ ((Operation2) => {
574
575
  Operation2["READ"] = "READ";
575
576
  Operation2["UPDATE"] = "UPDATE";
576
577
  Operation2["DELETE"] = "DELETE";
578
+ Operation2["COUNT"] = "COUNT";
577
579
  Operation2["BULK_CREATE"] = "BULK_CREATE";
578
580
  Operation2["BULK_UPSERT"] = "BULK_UPSERT";
579
581
  Operation2["CREATE_TABLE"] = "CREATE_TABLE";
@@ -652,6 +654,13 @@ var DatasourceFeature = /* @__PURE__ */ ((DatasourceFeature2) => {
652
654
  DatasourceFeature2["EXPORT_SCHEMA"] = "export_schema";
653
655
  return DatasourceFeature2;
654
656
  })(DatasourceFeature || {});
657
+ var DSPlusOperation = /* @__PURE__ */ ((DSPlusOperation2) => {
658
+ DSPlusOperation2["CREATE"] = "create";
659
+ DSPlusOperation2["READ"] = "read";
660
+ DSPlusOperation2["UPDATE"] = "update";
661
+ DSPlusOperation2["DELETE"] = "delete";
662
+ return DSPlusOperation2;
663
+ })(DSPlusOperation || {});
655
664
 
656
665
  // src/sdk/search.ts
657
666
  var SearchFilterOperator = /* @__PURE__ */ ((SearchFilterOperator2) => {
@@ -1293,6 +1302,7 @@ var MaintenanceType = /* @__PURE__ */ ((MaintenanceType2) => {
1293
1302
  CommandWord,
1294
1303
  ConfigType,
1295
1304
  ConstantQuotaName,
1305
+ DSPlusOperation,
1296
1306
  DatasourceFeature,
1297
1307
  DatasourceFieldType,
1298
1308
  DocumentType,