From 3f407c30c63f031a70bd9b69277454dfddc15426 Mon Sep 17 00:00:00 2001 From: ci core model Date: Mon, 13 Oct 2025 14:32:33 +0000 Subject: [PATCH] Latest generation --- package.json | 2 +- site.ts | 31 ++++++++++++++++++++++--------- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 38df34b..9dfad5e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.12.0-SNAPSHOT-251013131115", + "version": "1.12.0-SNAPSHOT-251013143148", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/site.ts b/site.ts index 255f453..7483087 100644 --- a/site.ts +++ b/site.ts @@ -1144,9 +1144,13 @@ export interface SetSiteAliasResponse { */ export interface ClearSiteAliasRequest { /** - * @generated from protobuf field: api.SiteActor SiteActor = 1 + * @generated from protobuf field: string ProjectID = 1 */ - SiteActor?: SiteActor; + ProjectID: string; + /** + * @generated from protobuf field: string ActorID = 2 + */ + ActorID: string; } /** * @generated from protobuf message api.ClearSiteAliasResponse @@ -4276,11 +4280,14 @@ export const SetSiteAliasResponse = new SetSiteAliasResponse$Type(); class ClearSiteAliasRequest$Type extends MessageType { constructor() { super("api.ClearSiteAliasRequest", [ - { no: 1, name: "SiteActor", kind: "message", localName: "SiteActor", jsonName: "SiteActor", T: () => SiteActor, options: { "validate.rules": { message: { required: true } } } } - ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["SiteActor"] } } }); + { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } } + ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID,ActorID"] } } }); } create(value?: PartialMessage): ClearSiteAliasRequest { const message = globalThis.Object.create((this.messagePrototype!)); + message.ProjectID = ""; + message.ActorID = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -4290,8 +4297,11 @@ class ClearSiteAliasRequest$Type extends MessageType { while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { - case /* api.SiteActor SiteActor */ 1: - message.SiteActor = SiteActor.internalBinaryRead(reader, reader.uint32(), options, message.SiteActor); + case /* string ProjectID */ 1: + message.ProjectID = reader.string(); + break; + case /* string ActorID */ 2: + message.ActorID = reader.string(); break; default: let u = options.readUnknownField; @@ -4305,9 +4315,12 @@ class ClearSiteAliasRequest$Type extends MessageType { return message; } internalBinaryWrite(message: ClearSiteAliasRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* api.SiteActor SiteActor = 1; */ - if (message.SiteActor) - SiteActor.internalBinaryWrite(message.SiteActor, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); + /* string ProjectID = 1; */ + if (message.ProjectID !== "") + writer.tag(1, WireType.LengthDelimited).string(message.ProjectID); + /* string ActorID = 2; */ + if (message.ActorID !== "") + writer.tag(2, WireType.LengthDelimited).string(message.ActorID); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);