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-260908085519",
|
||||
"version": "1.15.0-SNAPSHOT-260908090146",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -941,12 +941,18 @@ export interface MappingTableInput {
|
||||
* @generated from protobuf field: api.EngineRuleLiteral Literal = 20
|
||||
*/
|
||||
Literal: EngineRuleLiteral; // Value to match on the input field, e.g. "HIGH"
|
||||
} | {
|
||||
oneofKind: "LiteralList";
|
||||
/**
|
||||
* @generated from protobuf field: api.EngineRuleLiteralList LiteralList = 22
|
||||
*/
|
||||
LiteralList: EngineRuleLiteralList; // Matches if the input field's value equals any one of these, e.g. ["HIGH", "URGENT"]; only meaningful with Operator = EQUALS
|
||||
} | {
|
||||
oneofKind: "AllValuesMatch";
|
||||
/**
|
||||
* @generated from protobuf field: bool AllValuesMatch = 21
|
||||
*/
|
||||
AllValuesMatch: boolean; // If true, the entry matches any value for the input field (wildcard); mutually exclusive with EngineRuleLiteral
|
||||
AllValuesMatch: boolean; // If true, the entry matches any value for the input field (wildcard); mutually exclusive with EngineRuleLiteral/LiteralList
|
||||
} | {
|
||||
oneofKind: undefined;
|
||||
};
|
||||
@@ -3591,6 +3597,7 @@ class MappingTableInput$Type extends MessageType<MappingTableInput> {
|
||||
super("api.MappingTableInput", [
|
||||
{ no: 10, name: "Field", kind: "scalar", localName: "Field", jsonName: "Field", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 20, name: "Literal", kind: "message", localName: "Literal", jsonName: "Literal", oneof: "Value", T: () => EngineRuleLiteral, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 22, name: "LiteralList", kind: "message", localName: "LiteralList", jsonName: "LiteralList", oneof: "Value", T: () => EngineRuleLiteralList },
|
||||
{ no: 21, name: "AllValuesMatch", kind: "scalar", localName: "AllValuesMatch", jsonName: "AllValuesMatch", oneof: "Value", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 30, name: "Operator", kind: "enum", localName: "Operator", jsonName: "Operator", T: () => ["api.MappingTableInputOperator", MappingTableInputOperator], options: { "n1validate.rules": { enum: { definedOnly: true, notIn: [0] } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Field", "Value"] } } });
|
||||
@@ -3618,6 +3625,12 @@ class MappingTableInput$Type extends MessageType<MappingTableInput> {
|
||||
Literal: EngineRuleLiteral.internalBinaryRead(reader, reader.uint32(), options, (message.Value as any).Literal)
|
||||
};
|
||||
break;
|
||||
case /* api.EngineRuleLiteralList LiteralList */ 22:
|
||||
message.Value = {
|
||||
oneofKind: "LiteralList",
|
||||
LiteralList: EngineRuleLiteralList.internalBinaryRead(reader, reader.uint32(), options, (message.Value as any).LiteralList)
|
||||
};
|
||||
break;
|
||||
case /* bool AllValuesMatch */ 21:
|
||||
message.Value = {
|
||||
oneofKind: "AllValuesMatch",
|
||||
@@ -3648,6 +3661,9 @@ class MappingTableInput$Type extends MessageType<MappingTableInput> {
|
||||
/* bool AllValuesMatch = 21; */
|
||||
if (message.Value.oneofKind === "AllValuesMatch")
|
||||
writer.tag(21, WireType.Varint).bool(message.Value.AllValuesMatch);
|
||||
/* api.EngineRuleLiteralList LiteralList = 22; */
|
||||
if (message.Value.oneofKind === "LiteralList")
|
||||
EngineRuleLiteralList.internalBinaryWrite(message.Value.LiteralList, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.MappingTableInputOperator Operator = 30; */
|
||||
if (message.Operator !== 0)
|
||||
writer.tag(30, WireType.Varint).int32(message.Operator);
|
||||
|
||||
Reference in New Issue
Block a user