You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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<RuleComputeResult> {
|
||||
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>): RuleComputeResult {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Format = 0;
|
||||
message.Value = "";
|
||||
message.RuleID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<RuleComputeResult>(this, message, value);
|
||||
return message;
|
||||
@@ -663,6 +669,9 @@ class RuleComputeResult$Type extends MessageType<RuleComputeResult> {
|
||||
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<RuleComputeResult> {
|
||||
/* 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);
|
||||
|
||||
Reference in New Issue
Block a user