From 43212b42288c7401b791387bd32574205992ff66 Mon Sep 17 00:00:00 2001 From: ci core model Date: Thu, 12 Mar 2026 13:54:57 +0000 Subject: [PATCH] Latest generation --- package.json | 2 +- restrictions.ts | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ad8033d..311dae3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.13.0-SNAPSHOT-260310094056", + "version": "1.13.0-SNAPSHOT-260312135413", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/restrictions.ts b/restrictions.ts index 9c14d04..6229760 100644 --- a/restrictions.ts +++ b/restrictions.ts @@ -86,6 +86,10 @@ export interface RuleComputeResult { * @generated from protobuf field: string Value = 2 */ Value: string; + /** + * @generated from protobuf field: string RuleID = 3 + */ + RuleID: string; } /** * @generated from protobuf message api.RestrictionRule @@ -641,13 +645,15 @@ class RuleComputeResult$Type extends MessageType { constructor() { super("api.RuleComputeResult", [ { no: 1, name: "Format", kind: "enum", localName: "Format", jsonName: "Format", T: () => ["api.RuleComputeFormat", RuleComputeFormat] }, - { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/ } + { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/ }, + { no: 3, name: "RuleID", kind: "scalar", localName: "RuleID", jsonName: "RuleID", T: 9 /*ScalarType.STRING*/ } ]); } create(value?: PartialMessage): RuleComputeResult { const message = globalThis.Object.create((this.messagePrototype!)); message.Format = 0; message.Value = ""; + message.RuleID = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -663,6 +669,9 @@ class RuleComputeResult$Type extends MessageType { case /* string Value */ 2: message.Value = reader.string(); break; + case /* string RuleID */ 3: + message.RuleID = reader.string(); + break; default: let u = options.readUnknownField; if (u === "throw") @@ -681,6 +690,9 @@ class RuleComputeResult$Type extends MessageType { /* string Value = 2; */ if (message.Value !== "") writer.tag(2, WireType.LengthDelimited).string(message.Value); + /* string RuleID = 3; */ + if (message.RuleID !== "") + writer.tag(3, WireType.LengthDelimited).string(message.RuleID); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);