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.11.0-SNAPSHOT-250603080513",
|
||||
"version": "1.11.0-SNAPSHOT-250603082420",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -123,9 +123,9 @@ export interface SegmentationValue {
|
||||
*/
|
||||
export interface Instruction {
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.LabelByLanguage Instructions = 15
|
||||
* @generated from protobuf field: repeated api.LabelByLanguage InstructionByLanguage = 15
|
||||
*/
|
||||
Instructions: LabelByLanguage[]; // @option language
|
||||
InstructionByLanguage: LabelByLanguage[]; // @option language
|
||||
/**
|
||||
* @generated from protobuf field: bool AckRequired = 2
|
||||
*/
|
||||
@@ -1105,13 +1105,13 @@ export const SegmentationValue = new SegmentationValue$Type();
|
||||
class Instruction$Type extends MessageType<Instruction> {
|
||||
constructor() {
|
||||
super("api.Instruction", [
|
||||
{ no: 15, name: "Instructions", kind: "message", localName: "Instructions", jsonName: "Instructions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LabelByLanguage, options: { "api.language": true, "api.aggKey": "LanguageCodeISO6391" } },
|
||||
{ no: 15, name: "InstructionByLanguage", kind: "message", localName: "InstructionByLanguage", jsonName: "InstructionByLanguage", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LabelByLanguage, options: { "api.language": true, "api.aggKey": "LanguageCodeISO6391" } },
|
||||
{ no: 2, name: "AckRequired", kind: "scalar", localName: "AckRequired", jsonName: "AckRequired", T: 8 /*ScalarType.BOOL*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Instruction>): Instruction {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Instructions = [];
|
||||
message.InstructionByLanguage = [];
|
||||
message.AckRequired = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<Instruction>(this, message, value);
|
||||
@@ -1122,8 +1122,8 @@ class Instruction$Type extends MessageType<Instruction> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated api.LabelByLanguage Instructions */ 15:
|
||||
message.Instructions.push(LabelByLanguage.internalBinaryRead(reader, reader.uint32(), options));
|
||||
case /* repeated api.LabelByLanguage InstructionByLanguage */ 15:
|
||||
message.InstructionByLanguage.push(LabelByLanguage.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* bool AckRequired */ 2:
|
||||
message.AckRequired = reader.bool();
|
||||
@@ -1143,9 +1143,9 @@ class Instruction$Type extends MessageType<Instruction> {
|
||||
/* bool AckRequired = 2; */
|
||||
if (message.AckRequired !== false)
|
||||
writer.tag(2, WireType.Varint).bool(message.AckRequired);
|
||||
/* repeated api.LabelByLanguage Instructions = 15; */
|
||||
for (let i = 0; i < message.Instructions.length; i++)
|
||||
LabelByLanguage.internalBinaryWrite(message.Instructions[i], writer.tag(15, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.LabelByLanguage InstructionByLanguage = 15; */
|
||||
for (let i = 0; i < message.InstructionByLanguage.length; i++)
|
||||
LabelByLanguage.internalBinaryWrite(message.InstructionByLanguage[i], writer.tag(15, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user