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.12.0-SNAPSHOT-250923124710",
|
||||
"version": "1.12.0-SNAPSHOT-250923135041",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -375,6 +375,10 @@ export interface ComputeRuleRequest {
|
||||
* @generated from protobuf field: repeated api.RuleComputeFormat OutputFormats = 4
|
||||
*/
|
||||
OutputFormats: RuleComputeFormat[];
|
||||
/**
|
||||
* @generated from protobuf field: string RewriteFor = 5
|
||||
*/
|
||||
RewriteFor: string; // Example: "ShipFrom.Actor", "ShipTo.Actor"
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ComputeRuleResponse
|
||||
@@ -1728,7 +1732,8 @@ class ComputeRuleRequest$Type extends MessageType<ComputeRuleRequest> {
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "OutputFormats", kind: "enum", localName: "OutputFormats", jsonName: "OutputFormats", repeat: 1 /*RepeatType.PACKED*/, T: () => ["api.RuleComputeFormat", RuleComputeFormat], options: { "validate.rules": { repeated: { minItems: "1" } } } }
|
||||
{ no: 4, name: "OutputFormats", kind: "enum", localName: "OutputFormats", jsonName: "OutputFormats", repeat: 1 /*RepeatType.PACKED*/, T: () => ["api.RuleComputeFormat", RuleComputeFormat], options: { "validate.rules": { repeated: { minItems: "1" } } } },
|
||||
{ no: 5, name: "RewriteFor", kind: "scalar", localName: "RewriteFor", jsonName: "RewriteFor", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Entity", "UserID", "OutputFormats"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ComputeRuleRequest>): ComputeRuleRequest {
|
||||
@@ -1736,6 +1741,7 @@ class ComputeRuleRequest$Type extends MessageType<ComputeRuleRequest> {
|
||||
message.Entity = 0;
|
||||
message.UserID = "";
|
||||
message.OutputFormats = [];
|
||||
message.RewriteFor = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ComputeRuleRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -1761,6 +1767,9 @@ class ComputeRuleRequest$Type extends MessageType<ComputeRuleRequest> {
|
||||
else
|
||||
message.OutputFormats.push(reader.int32());
|
||||
break;
|
||||
case /* string RewriteFor */ 5:
|
||||
message.RewriteFor = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1789,6 +1798,9 @@ class ComputeRuleRequest$Type extends MessageType<ComputeRuleRequest> {
|
||||
writer.int32(message.OutputFormats[i]);
|
||||
writer.join();
|
||||
}
|
||||
/* string RewriteFor = 5; */
|
||||
if (message.RewriteFor !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.RewriteFor);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user