Latest generation

This commit is contained in:
ci core model
2025-08-20 08:23:31 +00:00
parent 5a41bcf4b1
commit d572feee26
12 changed files with 775 additions and 25 deletions

View File

@@ -43,6 +43,10 @@ export interface ClaimByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.ClaimQueryOptions Options = 3
*/
Options?: ClaimQueryOptions;
}
/**
* @generated from protobuf message api.ClaimByIdResult
@@ -81,6 +85,10 @@ export interface ClaimByFilterQuery {
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 6
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: api.ClaimQueryOptions Options = 7
*/
Options?: ClaimQueryOptions;
}
/**
* @generated from protobuf message api.ClaimByFilterResult
@@ -99,6 +107,11 @@ export interface ClaimByFilterResult {
*/
queryContext: string;
}
/**
* @generated from protobuf message api.ClaimQueryOptions
*/
export interface ClaimQueryOptions {
}
/**
* @generated from protobuf message api.ClaimByMatchQuery
*/
@@ -182,7 +195,8 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
constructor() {
super("api.ClaimByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ClaimQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<ClaimByIdQuery>): ClaimByIdQuery {
@@ -203,6 +217,9 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ClaimQueryOptions Options */ 3:
message.Options = ClaimQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -221,6 +238,9 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.ClaimQueryOptions Options = 3; */
if (message.Options)
ClaimQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -292,7 +312,8 @@ class ClaimByFilterQuery$Type extends MessageType<ClaimByFilterQuery> {
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 7, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ClaimQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<ClaimByFilterQuery>): ClaimByFilterQuery {
@@ -321,6 +342,9 @@ class ClaimByFilterQuery$Type extends MessageType<ClaimByFilterQuery> {
case /* repeated api.BlockFilter BlockFilters */ 6:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ClaimQueryOptions Options */ 7:
message.Options = ClaimQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -345,6 +369,9 @@ class ClaimByFilterQuery$Type extends MessageType<ClaimByFilterQuery> {
/* repeated api.BlockFilter BlockFilters = 6; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* api.ClaimQueryOptions Options = 7; */
if (message.Options)
ClaimQueryOptions.internalBinaryWrite(message.Options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -418,6 +445,44 @@ class ClaimByFilterResult$Type extends MessageType<ClaimByFilterResult> {
*/
export const ClaimByFilterResult = new ClaimByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ClaimQueryOptions$Type extends MessageType<ClaimQueryOptions> {
constructor() {
super("api.ClaimQueryOptions", []);
}
create(value?: PartialMessage<ClaimQueryOptions>): ClaimQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ClaimQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimQueryOptions): ClaimQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ClaimQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ClaimQueryOptions
*/
export const ClaimQueryOptions = new ClaimQueryOptions$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ClaimByMatchQuery$Type extends MessageType<ClaimByMatchQuery> {
constructor() {
super("api.ClaimByMatchQuery", [