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.15.0-SNAPSHOT-260907142047",
|
||||
"version": "1.15.0-SNAPSHOT-260908085519",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -26,7 +26,8 @@ import { EntityType } from "./shared";
|
||||
|
||||
/**
|
||||
* A rule ties together a target entity, a trigger, and a set of conditions.
|
||||
* Actions are evaluated when all conditions are met.
|
||||
* Actions are executed when all conditions are met; ElseActions are executed
|
||||
* instead when at least one condition is not met (may be empty).
|
||||
*
|
||||
* @generated from protobuf message api.EngineRule
|
||||
*/
|
||||
@@ -96,7 +97,11 @@ export interface EngineRule {
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.EngineRuleAction Actions = 90
|
||||
*/
|
||||
Actions: EngineRuleAction[]; // Actions to execute when the rule is triggered and conditions are met
|
||||
Actions: EngineRuleAction[]; // Actions to execute when the rule is triggered and all conditions are met
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.EngineRuleAction ElseActions = 91
|
||||
*/
|
||||
ElseActions: EngineRuleAction[]; // Actions to execute when the rule is triggered but at least one condition is not met (Else branch); may be empty
|
||||
/**
|
||||
* @generated from protobuf field: int32 Version = 100
|
||||
*/
|
||||
@@ -1450,6 +1455,7 @@ class EngineRule$Type extends MessageType<EngineRule> {
|
||||
{ no: 72, name: "MilestoneTrigger", kind: "message", localName: "MilestoneTrigger", jsonName: "MilestoneTrigger", oneof: "Trigger", T: () => EngineRuleMilestoneTrigger },
|
||||
{ no: 80, name: "Conditions", kind: "message", localName: "Conditions", jsonName: "Conditions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EngineRuleCondition },
|
||||
{ no: 90, name: "Actions", kind: "message", localName: "Actions", jsonName: "Actions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EngineRuleAction, options: { "n1validate.rules": { repeated: { minItems: "1" } } } },
|
||||
{ no: 91, name: "ElseActions", kind: "message", localName: "ElseActions", jsonName: "ElseActions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EngineRuleAction },
|
||||
{ no: 100, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 5 /*ScalarType.INT32*/ },
|
||||
{ no: 110, name: "CreatedBy", kind: "scalar", localName: "CreatedBy", jsonName: "CreatedBy", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 120, name: "CreatedAt", kind: "scalar", localName: "CreatedAt", jsonName: "CreatedAt", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } },
|
||||
@@ -1470,6 +1476,7 @@ class EngineRule$Type extends MessageType<EngineRule> {
|
||||
message.Trigger = { oneofKind: undefined };
|
||||
message.Conditions = [];
|
||||
message.Actions = [];
|
||||
message.ElseActions = [];
|
||||
message.Version = 0;
|
||||
message.CreatedBy = "";
|
||||
message.CreatedAt = "";
|
||||
@@ -1532,6 +1539,9 @@ class EngineRule$Type extends MessageType<EngineRule> {
|
||||
case /* repeated api.EngineRuleAction Actions */ 90:
|
||||
message.Actions.push(EngineRuleAction.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.EngineRuleAction ElseActions */ 91:
|
||||
message.ElseActions.push(EngineRuleAction.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* int32 Version */ 100:
|
||||
message.Version = reader.int32();
|
||||
break;
|
||||
@@ -1598,6 +1608,9 @@ class EngineRule$Type extends MessageType<EngineRule> {
|
||||
/* repeated api.EngineRuleAction Actions = 90; */
|
||||
for (let i = 0; i < message.Actions.length; i++)
|
||||
EngineRuleAction.internalBinaryWrite(message.Actions[i], writer.tag(90, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.EngineRuleAction ElseActions = 91; */
|
||||
for (let i = 0; i < message.ElseActions.length; i++)
|
||||
EngineRuleAction.internalBinaryWrite(message.ElseActions[i], writer.tag(91, WireType.LengthDelimited).fork(), options).join();
|
||||
/* int32 Version = 100; */
|
||||
if (message.Version !== 0)
|
||||
writer.tag(100, WireType.Varint).int32(message.Version);
|
||||
|
||||
Reference in New Issue
Block a user