You've already forked npm-core-sdk
205 lines
7.7 KiB
TypeScript
205 lines
7.7 KiB
TypeScript
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
// @generated from file executionflowQuery.proto (package api, syntax proto3)
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
import { BlockFilter, EntityID, QueryProjectHeader, ResultHeader } from "./shared_pb.js";
|
|
import { Executionflow } from "./executionflow_pb.js";
|
|
|
|
/**
|
|
* @generated from message api.ExecutionflowByIdQuery
|
|
*/
|
|
export class ExecutionflowByIdQuery extends Message<ExecutionflowByIdQuery> {
|
|
/**
|
|
* @generated from field: api.QueryProjectHeader Header = 1;
|
|
*/
|
|
Header?: QueryProjectHeader;
|
|
|
|
/**
|
|
* @generated from field: repeated api.EntityID IDs = 2;
|
|
*/
|
|
IDs: EntityID[] = [];
|
|
|
|
constructor(data?: PartialMessage<ExecutionflowByIdQuery>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.ExecutionflowByIdQuery";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "Header", kind: "message", T: QueryProjectHeader },
|
|
{ no: 2, name: "IDs", kind: "message", T: EntityID, repeated: true },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExecutionflowByIdQuery {
|
|
return new ExecutionflowByIdQuery().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExecutionflowByIdQuery {
|
|
return new ExecutionflowByIdQuery().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExecutionflowByIdQuery {
|
|
return new ExecutionflowByIdQuery().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: ExecutionflowByIdQuery | PlainMessage<ExecutionflowByIdQuery> | undefined, b: ExecutionflowByIdQuery | PlainMessage<ExecutionflowByIdQuery> | undefined): boolean {
|
|
return proto3.util.equals(ExecutionflowByIdQuery, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.ExecutionflowByIdResult
|
|
*/
|
|
export class ExecutionflowByIdResult extends Message<ExecutionflowByIdResult> {
|
|
/**
|
|
* @generated from field: api.ResultHeader Header = 1;
|
|
*/
|
|
Header?: ResultHeader;
|
|
|
|
/**
|
|
* @generated from field: repeated api.Executionflow Objects = 2;
|
|
*/
|
|
Objects: Executionflow[] = [];
|
|
|
|
constructor(data?: PartialMessage<ExecutionflowByIdResult>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.ExecutionflowByIdResult";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "Header", kind: "message", T: ResultHeader },
|
|
{ no: 2, name: "Objects", kind: "message", T: Executionflow, repeated: true },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExecutionflowByIdResult {
|
|
return new ExecutionflowByIdResult().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExecutionflowByIdResult {
|
|
return new ExecutionflowByIdResult().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExecutionflowByIdResult {
|
|
return new ExecutionflowByIdResult().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: ExecutionflowByIdResult | PlainMessage<ExecutionflowByIdResult> | undefined, b: ExecutionflowByIdResult | PlainMessage<ExecutionflowByIdResult> | undefined): boolean {
|
|
return proto3.util.equals(ExecutionflowByIdResult, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.ExecutionflowByFilterQuery
|
|
*/
|
|
export class ExecutionflowByFilterQuery extends Message<ExecutionflowByFilterQuery> {
|
|
/**
|
|
* @generated from field: api.QueryProjectHeader Header = 1;
|
|
*/
|
|
Header?: QueryProjectHeader;
|
|
|
|
/**
|
|
* Number of maximum result
|
|
*
|
|
* @generated from field: string limitFilter = 4;
|
|
*/
|
|
limitFilter = "";
|
|
|
|
/**
|
|
* @generated from field: string queryContext = 5;
|
|
*/
|
|
queryContext = "";
|
|
|
|
/**
|
|
* list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query, if not empty, simpleFilters (deprecated) & rangeFilters (deprecated) will be ignored
|
|
*
|
|
* @generated from field: repeated api.BlockFilter BlockFilters = 6;
|
|
*/
|
|
BlockFilters: BlockFilter[] = [];
|
|
|
|
constructor(data?: PartialMessage<ExecutionflowByFilterQuery>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.ExecutionflowByFilterQuery";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "Header", kind: "message", T: QueryProjectHeader },
|
|
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 6, name: "BlockFilters", kind: "message", T: BlockFilter, repeated: true },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExecutionflowByFilterQuery {
|
|
return new ExecutionflowByFilterQuery().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExecutionflowByFilterQuery {
|
|
return new ExecutionflowByFilterQuery().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExecutionflowByFilterQuery {
|
|
return new ExecutionflowByFilterQuery().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: ExecutionflowByFilterQuery | PlainMessage<ExecutionflowByFilterQuery> | undefined, b: ExecutionflowByFilterQuery | PlainMessage<ExecutionflowByFilterQuery> | undefined): boolean {
|
|
return proto3.util.equals(ExecutionflowByFilterQuery, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message api.ExecutionflowByFilterResult
|
|
*/
|
|
export class ExecutionflowByFilterResult extends Message<ExecutionflowByFilterResult> {
|
|
/**
|
|
* @generated from field: api.ResultHeader Header = 1;
|
|
*/
|
|
Header?: ResultHeader;
|
|
|
|
/**
|
|
* @generated from field: repeated api.Executionflow Objects = 2;
|
|
*/
|
|
Objects: Executionflow[] = [];
|
|
|
|
/**
|
|
* @generated from field: string queryContext = 3;
|
|
*/
|
|
queryContext = "";
|
|
|
|
constructor(data?: PartialMessage<ExecutionflowByFilterResult>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.ExecutionflowByFilterResult";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "Header", kind: "message", T: ResultHeader },
|
|
{ no: 2, name: "Objects", kind: "message", T: Executionflow, repeated: true },
|
|
{ no: 3, name: "queryContext", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExecutionflowByFilterResult {
|
|
return new ExecutionflowByFilterResult().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExecutionflowByFilterResult {
|
|
return new ExecutionflowByFilterResult().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExecutionflowByFilterResult {
|
|
return new ExecutionflowByFilterResult().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: ExecutionflowByFilterResult | PlainMessage<ExecutionflowByFilterResult> | undefined, b: ExecutionflowByFilterResult | PlainMessage<ExecutionflowByFilterResult> | undefined): boolean {
|
|
return proto3.util.equals(ExecutionflowByFilterResult, a, b);
|
|
}
|
|
}
|
|
|