Latest generation

This commit is contained in:
ci core model
2025-03-21 13:35:27 +00:00
parent d42679cbd6
commit 27ece28db3
16 changed files with 8467 additions and 482 deletions

View File

@@ -412,19 +412,6 @@ export interface GenericObject {
*/
export interface GenericObjectPayload {
}
/**
* @generated from protobuf message api.EntityEventResponse
*/
export interface EntityEventResponse {
/**
* @generated from protobuf field: api.ResponseHeader Header = 1 [json_name = "Header"];
*/
header?: ResponseHeader;
/**
* @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"];
*/
iD?: EntityID;
}
/**
* Common structures
*
@@ -3507,59 +3494,6 @@ class GenericObjectPayload$Type extends MessageType<GenericObjectPayload> {
*/
export const GenericObjectPayload = new GenericObjectPayload$Type();
// @generated message type with reflection information, may provide speed optimized methods
class EntityEventResponse$Type extends MessageType<EntityEventResponse> {
constructor() {
super("api.EntityEventResponse", [
{ no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResponseHeader },
{ no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID }
]);
}
create(value?: PartialMessage<EntityEventResponse>): EntityEventResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<EntityEventResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EntityEventResponse): EntityEventResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ResponseHeader Header = 1 [json_name = "Header"];*/ 1:
message.header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.header);
break;
case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2:
message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD);
break;
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: EntityEventResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ResponseHeader Header = 1 [json_name = "Header"]; */
if (message.header)
ResponseHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.EntityID ID = 2 [json_name = "ID"]; */
if (message.iD)
EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.EntityEventResponse
*/
export const EntityEventResponse = new EntityEventResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DateTime$Type extends MessageType<DateTime> {
constructor() {
super("api.DateTime", [