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-251205101500",
|
||||
"version": "1.12.0-SNAPSHOT-251205104438",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
24
site.ts
24
site.ts
@@ -751,6 +751,14 @@ export interface ActorBookingContext {
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string SiteID = 8
|
||||
*/
|
||||
SiteID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ProjectID = 9
|
||||
*/
|
||||
ProjectID: string;
|
||||
/**
|
||||
* @generated from protobuf field: repeated string UnitIDs = 2
|
||||
*/
|
||||
@@ -3362,6 +3370,8 @@ class ActorBookingContext$Type extends MessageType<ActorBookingContext> {
|
||||
constructor() {
|
||||
super("api.ActorBookingContext", [
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 8, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 9, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "UnitIDs", kind: "scalar", localName: "UnitIDs", jsonName: "UnitIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PrjMetadata },
|
||||
{ no: 4, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PrjMetadata },
|
||||
@@ -3373,6 +3383,8 @@ class ActorBookingContext$Type extends MessageType<ActorBookingContext> {
|
||||
create(value?: PartialMessage<ActorBookingContext>): ActorBookingContext {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
message.SiteID = "";
|
||||
message.ProjectID = "";
|
||||
message.UnitIDs = [];
|
||||
message.CarrierInformation = [];
|
||||
message.MetaData = [];
|
||||
@@ -3390,6 +3402,12 @@ class ActorBookingContext$Type extends MessageType<ActorBookingContext> {
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
case /* string SiteID */ 8:
|
||||
message.SiteID = reader.string();
|
||||
break;
|
||||
case /* string ProjectID */ 9:
|
||||
message.ProjectID = reader.string();
|
||||
break;
|
||||
case /* repeated string UnitIDs */ 2:
|
||||
message.UnitIDs.push(reader.string());
|
||||
break;
|
||||
@@ -3441,6 +3459,12 @@ class ActorBookingContext$Type extends MessageType<ActorBookingContext> {
|
||||
/* repeated api.SegmentationsByType SegmentationsByTypes = 7; */
|
||||
for (let i = 0; i < message.SegmentationsByTypes.length; i++)
|
||||
SegmentationsByType.internalBinaryWrite(message.SegmentationsByTypes[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string SiteID = 8; */
|
||||
if (message.SiteID !== "")
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.SiteID);
|
||||
/* string ProjectID = 9; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(9, WireType.LengthDelimited).string(message.ProjectID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user