You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -116,6 +116,10 @@ export interface ExecutionflowQueryOptions {
|
||||
* @generated from protobuf field: bool TruncateLines = 1
|
||||
*/
|
||||
TruncateLines: boolean; // If true, the executionflow lines will be truncated.
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 2
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowByIdQuery$Type extends MessageType<ExecutionflowByIdQuery> {
|
||||
@@ -391,12 +395,14 @@ export const ExecutionflowByFilterResult = new ExecutionflowByFilterResult$Type(
|
||||
class ExecutionflowQueryOptions$Type extends MessageType<ExecutionflowQueryOptions> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowQueryOptions", [
|
||||
{ no: 1, name: "TruncateLines", kind: "scalar", localName: "TruncateLines", jsonName: "TruncateLines", T: 8 /*ScalarType.BOOL*/ }
|
||||
{ no: 1, name: "TruncateLines", kind: "scalar", localName: "TruncateLines", jsonName: "TruncateLines", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 2, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Executionflow", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowQueryOptions>): ExecutionflowQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.TruncateLines = false;
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -409,6 +415,9 @@ class ExecutionflowQueryOptions$Type extends MessageType<ExecutionflowQueryOptio
|
||||
case /* bool TruncateLines */ 1:
|
||||
message.TruncateLines = reader.bool();
|
||||
break;
|
||||
case /* repeated string Only */ 2:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -424,6 +433,9 @@ class ExecutionflowQueryOptions$Type extends MessageType<ExecutionflowQueryOptio
|
||||
/* bool TruncateLines = 1; */
|
||||
if (message.TruncateLines !== false)
|
||||
writer.tag(1, WireType.Varint).bool(message.TruncateLines);
|
||||
/* repeated string Only = 2; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user