@sentio/sdk
    Preparing search index...

    Variable PreprocessStreamResponse

    PreprocessStreamResponse: {
        create(
            base?: {
                dbRequest?: {
                    delete?: { entity?: string[]; id?: string[] };
                    get?: { entity?: string; id?: string };
                    list?: {
                        cursor?: string;
                        entity?: string;
                        filters?: {
                            field?: (...) | (...);
                            op?: (...) | (...);
                            value?: (...) | (...);
                        }[];
                        pageSize?: number;
                    };
                    opId?: bigint;
                    update?: {
                        entity?: string[];
                        entityData?: { fields?: (...)
                        | (...) }[];
                        id?: string[];
                    };
                    upsert?: {
                        data?: { [key: string]: any }[];
                        entity?: string[];
                        entityData?: { fields?: (...) | (...) }[];
                        id?: string[];
                    };
                };
                processId?: number;
            },
        ): PreprocessStreamResponse;
        decode(
            input: Uint8Array<ArrayBufferLike> | Reader,
            length?: number,
        ): PreprocessStreamResponse;
        encode(message: PreprocessStreamResponse, writer?: Writer): Writer;
        fromJSON(object: any): PreprocessStreamResponse;
        fromPartial(
            object: {
                dbRequest?: {
                    delete?: { entity?: string[]; id?: string[] };
                    get?: { entity?: string; id?: string };
                    list?: {
                        cursor?: string;
                        entity?: string;
                        filters?: {
                            field?: string;
                            op?: DBRequest_DBOperator;
                            value?: { values?: ... };
                        }[];
                        pageSize?: number;
                    };
                    opId?: bigint;
                    update?: {
                        entity?: string[];
                        entityData?: { fields?: { [key: ...]: ... } }[];
                        id?: string[];
                    };
                    upsert?: {
                        data?: { [key: string]: any }[];
                        entity?: string[];
                        entityData?: { fields?: { [key: ...]: ... } }[];
                        id?: string[];
                    };
                };
                processId?: number;
            },
        ): PreprocessStreamResponse;
        toJSON(message: PreprocessStreamResponse): unknown;
    }

    Type Declaration

    • create: function
      • Parameters

        • Optionalbase: {
              dbRequest?: {
                  delete?: { entity?: string[]; id?: string[] };
                  get?: { entity?: string; id?: string };
                  list?: {
                      cursor?: string;
                      entity?: string;
                      filters?: {
                          field?: (...) | (...);
                          op?: (...) | (...);
                          value?: (...) | (...);
                      }[];
                      pageSize?: number;
                  };
                  opId?: bigint;
                  update?: {
                      entity?: string[];
                      entityData?: { fields?: (...)
                      | (...) }[];
                      id?: string[];
                  };
                  upsert?: {
                      data?: { [key: string]: any }[];
                      entity?: string[];
                      entityData?: { fields?: (...) | (...) }[];
                      id?: string[];
                  };
              };
              processId?: number;
          }

        Returns PreprocessStreamResponse

    • decode: function
      • Parameters

        • input: Uint8Array<ArrayBufferLike> | Reader
        • Optionallength: number

        Returns PreprocessStreamResponse

    • encode: function
    • fromJSON: function
    • fromPartial: function
      • Parameters

        • object: {
              dbRequest?: {
                  delete?: { entity?: string[]; id?: string[] };
                  get?: { entity?: string; id?: string };
                  list?: {
                      cursor?: string;
                      entity?: string;
                      filters?: {
                          field?: string;
                          op?: DBRequest_DBOperator;
                          value?: { values?: ... };
                      }[];
                      pageSize?: number;
                  };
                  opId?: bigint;
                  update?: {
                      entity?: string[];
                      entityData?: { fields?: { [key: ...]: ... } }[];
                      id?: string[];
                  };
                  upsert?: {
                      data?: { [key: string]: any }[];
                      entity?: string[];
                      entityData?: { fields?: { [key: ...]: ... } }[];
                      id?: string[];
                  };
              };
              processId?: number;
          }

        Returns PreprocessStreamResponse

    • toJSON: function