@sentio/protos 2.39.7-rc.3 → 2.39.7-rc.4

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": "@sentio/protos",
3
- "version": "2.39.7-rc.3",
3
+ "version": "2.39.7-rc.4",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -784,6 +784,8 @@ export enum DBRequest_DBOperator {
784
784
  LE = 5,
785
785
  IN = 6,
786
786
  NOT_IN = 7,
787
+ LIKE = 8,
788
+ NOT_LIKE = 9,
787
789
  UNRECOGNIZED = -1,
788
790
  }
789
791
 
@@ -813,6 +815,12 @@ export function dBRequest_DBOperatorFromJSON(object: any): DBRequest_DBOperator
813
815
  case 7:
814
816
  case "NOT_IN":
815
817
  return DBRequest_DBOperator.NOT_IN;
818
+ case 8:
819
+ case "LIKE":
820
+ return DBRequest_DBOperator.LIKE;
821
+ case 9:
822
+ case "NOT_LIKE":
823
+ return DBRequest_DBOperator.NOT_LIKE;
816
824
  case -1:
817
825
  case "UNRECOGNIZED":
818
826
  default:
@@ -838,6 +846,10 @@ export function dBRequest_DBOperatorToJSON(object: DBRequest_DBOperator): string
838
846
  return "IN";
839
847
  case DBRequest_DBOperator.NOT_IN:
840
848
  return "NOT_IN";
849
+ case DBRequest_DBOperator.LIKE:
850
+ return "LIKE";
851
+ case DBRequest_DBOperator.NOT_LIKE:
852
+ return "NOT_LIKE";
841
853
  case DBRequest_DBOperator.UNRECOGNIZED:
842
854
  default:
843
855
  return "UNRECOGNIZED";
@@ -853,6 +865,7 @@ export interface DBRequest_DBList {
853
865
  entity: string;
854
866
  filters: DBRequest_DBFilter[];
855
867
  cursor: string;
868
+ pageSize?: number | undefined;
856
869
  }
857
870
 
858
871
  export interface DBRequest_DBUpsert {
@@ -6386,7 +6399,7 @@ export const DBRequest_DBGet = {
6386
6399
  };
6387
6400
 
6388
6401
  function createBaseDBRequest_DBList(): DBRequest_DBList {
6389
- return { entity: "", filters: [], cursor: "" };
6402
+ return { entity: "", filters: [], cursor: "", pageSize: undefined };
6390
6403
  }
6391
6404
 
6392
6405
  export const DBRequest_DBList = {
@@ -6400,6 +6413,9 @@ export const DBRequest_DBList = {
6400
6413
  if (message.cursor !== "") {
6401
6414
  writer.uint32(42).string(message.cursor);
6402
6415
  }
6416
+ if (message.pageSize !== undefined) {
6417
+ writer.uint32(48).uint32(message.pageSize);
6418
+ }
6403
6419
  return writer;
6404
6420
  },
6405
6421
 
@@ -6431,6 +6447,13 @@ export const DBRequest_DBList = {
6431
6447
 
6432
6448
  message.cursor = reader.string();
6433
6449
  continue;
6450
+ case 6:
6451
+ if (tag !== 48) {
6452
+ break;
6453
+ }
6454
+
6455
+ message.pageSize = reader.uint32();
6456
+ continue;
6434
6457
  }
6435
6458
  if ((tag & 7) === 4 || tag === 0) {
6436
6459
  break;
@@ -6447,6 +6470,7 @@ export const DBRequest_DBList = {
6447
6470
  ? object.filters.map((e: any) => DBRequest_DBFilter.fromJSON(e))
6448
6471
  : [],
6449
6472
  cursor: isSet(object.cursor) ? globalThis.String(object.cursor) : "",
6473
+ pageSize: isSet(object.pageSize) ? globalThis.Number(object.pageSize) : undefined,
6450
6474
  };
6451
6475
  },
6452
6476
 
@@ -6461,6 +6485,9 @@ export const DBRequest_DBList = {
6461
6485
  if (message.cursor !== "") {
6462
6486
  obj.cursor = message.cursor;
6463
6487
  }
6488
+ if (message.pageSize !== undefined) {
6489
+ obj.pageSize = Math.round(message.pageSize);
6490
+ }
6464
6491
  return obj;
6465
6492
  },
6466
6493
 
@@ -6472,6 +6499,7 @@ export const DBRequest_DBList = {
6472
6499
  message.entity = object.entity ?? "";
6473
6500
  message.filters = object.filters?.map((e) => DBRequest_DBFilter.fromPartial(e)) || [];
6474
6501
  message.cursor = object.cursor ?? "";
6502
+ message.pageSize = object.pageSize ?? undefined;
6475
6503
  return message;
6476
6504
  },
6477
6505
  };