quiver-protobuf-typescript 1.0.1686841521 → 1.0.1686847541
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/object/object.ts +1 -15
- package/object/object_status_update.ts +5 -5
- package/package.json +1 -1
package/object/object.ts
CHANGED
|
@@ -116,7 +116,6 @@ export interface DeleteObjectRequest {
|
|
|
116
116
|
export interface GetObjectStatusUpdatesByObjectIdRequest {
|
|
117
117
|
objectId: number;
|
|
118
118
|
status?: ObjectStatus | undefined;
|
|
119
|
-
getCurrentStatus?: boolean | undefined;
|
|
120
119
|
}
|
|
121
120
|
|
|
122
121
|
export interface Object {
|
|
@@ -796,7 +795,7 @@ export const DeleteObjectRequest = {
|
|
|
796
795
|
};
|
|
797
796
|
|
|
798
797
|
function createBaseGetObjectStatusUpdatesByObjectIdRequest(): GetObjectStatusUpdatesByObjectIdRequest {
|
|
799
|
-
return { objectId: 0, status: undefined
|
|
798
|
+
return { objectId: 0, status: undefined };
|
|
800
799
|
}
|
|
801
800
|
|
|
802
801
|
export const GetObjectStatusUpdatesByObjectIdRequest = {
|
|
@@ -807,9 +806,6 @@ export const GetObjectStatusUpdatesByObjectIdRequest = {
|
|
|
807
806
|
if (message.status !== undefined) {
|
|
808
807
|
writer.uint32(16).int32(objectStatusToNumber(message.status));
|
|
809
808
|
}
|
|
810
|
-
if (message.getCurrentStatus !== undefined) {
|
|
811
|
-
writer.uint32(24).bool(message.getCurrentStatus);
|
|
812
|
-
}
|
|
813
809
|
return writer;
|
|
814
810
|
},
|
|
815
811
|
|
|
@@ -834,13 +830,6 @@ export const GetObjectStatusUpdatesByObjectIdRequest = {
|
|
|
834
830
|
|
|
835
831
|
message.status = objectStatusFromJSON(reader.int32());
|
|
836
832
|
continue;
|
|
837
|
-
case 3:
|
|
838
|
-
if (tag !== 24) {
|
|
839
|
-
break;
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
message.getCurrentStatus = reader.bool();
|
|
843
|
-
continue;
|
|
844
833
|
}
|
|
845
834
|
if ((tag & 7) === 4 || tag === 0) {
|
|
846
835
|
break;
|
|
@@ -854,7 +843,6 @@ export const GetObjectStatusUpdatesByObjectIdRequest = {
|
|
|
854
843
|
return {
|
|
855
844
|
objectId: isSet(object.objectId) ? Number(object.objectId) : 0,
|
|
856
845
|
status: isSet(object.status) ? objectStatusFromJSON(object.status) : undefined,
|
|
857
|
-
getCurrentStatus: isSet(object.getCurrentStatus) ? Boolean(object.getCurrentStatus) : undefined,
|
|
858
846
|
};
|
|
859
847
|
},
|
|
860
848
|
|
|
@@ -863,7 +851,6 @@ export const GetObjectStatusUpdatesByObjectIdRequest = {
|
|
|
863
851
|
message.objectId !== undefined && (obj.objectId = Math.round(message.objectId));
|
|
864
852
|
message.status !== undefined &&
|
|
865
853
|
(obj.status = message.status !== undefined ? objectStatusToJSON(message.status) : undefined);
|
|
866
|
-
message.getCurrentStatus !== undefined && (obj.getCurrentStatus = message.getCurrentStatus);
|
|
867
854
|
return obj;
|
|
868
855
|
},
|
|
869
856
|
|
|
@@ -879,7 +866,6 @@ export const GetObjectStatusUpdatesByObjectIdRequest = {
|
|
|
879
866
|
const message = createBaseGetObjectStatusUpdatesByObjectIdRequest();
|
|
880
867
|
message.objectId = object.objectId ?? 0;
|
|
881
868
|
message.status = object.status ?? undefined;
|
|
882
|
-
message.getCurrentStatus = object.getCurrentStatus ?? undefined;
|
|
883
869
|
return message;
|
|
884
870
|
},
|
|
885
871
|
};
|
|
@@ -88,7 +88,7 @@ export interface ObjectStatusUpdate {
|
|
|
88
88
|
updatedAt: string | undefined;
|
|
89
89
|
objectId: number;
|
|
90
90
|
status: ObjectStatus;
|
|
91
|
-
note
|
|
91
|
+
note?: string | undefined;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
function createBaseQueryObjectStatusUpdatesRequest(): QueryObjectStatusUpdatesRequest {
|
|
@@ -469,7 +469,7 @@ function createBaseObjectStatusUpdate(): ObjectStatusUpdate {
|
|
|
469
469
|
updatedAt: undefined,
|
|
470
470
|
objectId: 0,
|
|
471
471
|
status: ObjectStatus.OBJECT_STATUS_UNSPECIFIED,
|
|
472
|
-
note:
|
|
472
|
+
note: undefined,
|
|
473
473
|
};
|
|
474
474
|
}
|
|
475
475
|
|
|
@@ -490,7 +490,7 @@ export const ObjectStatusUpdate = {
|
|
|
490
490
|
if (message.status !== ObjectStatus.OBJECT_STATUS_UNSPECIFIED) {
|
|
491
491
|
writer.uint32(40).int32(objectStatusToNumber(message.status));
|
|
492
492
|
}
|
|
493
|
-
if (message.note !==
|
|
493
|
+
if (message.note !== undefined) {
|
|
494
494
|
writer.uint32(50).string(message.note);
|
|
495
495
|
}
|
|
496
496
|
return writer;
|
|
@@ -561,7 +561,7 @@ export const ObjectStatusUpdate = {
|
|
|
561
561
|
updatedAt: isSet(object.updatedAt) ? String(object.updatedAt) : undefined,
|
|
562
562
|
objectId: isSet(object.objectId) ? Number(object.objectId) : 0,
|
|
563
563
|
status: isSet(object.status) ? objectStatusFromJSON(object.status) : ObjectStatus.OBJECT_STATUS_UNSPECIFIED,
|
|
564
|
-
note: isSet(object.note) ? String(object.note) :
|
|
564
|
+
note: isSet(object.note) ? String(object.note) : undefined,
|
|
565
565
|
};
|
|
566
566
|
},
|
|
567
567
|
|
|
@@ -587,7 +587,7 @@ export const ObjectStatusUpdate = {
|
|
|
587
587
|
message.updatedAt = object.updatedAt ?? undefined;
|
|
588
588
|
message.objectId = object.objectId ?? 0;
|
|
589
589
|
message.status = object.status ?? ObjectStatus.OBJECT_STATUS_UNSPECIFIED;
|
|
590
|
-
message.note = object.note ??
|
|
590
|
+
message.note = object.note ?? undefined;
|
|
591
591
|
return message;
|
|
592
592
|
},
|
|
593
593
|
};
|