You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.12.0-SNAPSHOT-251210094139",
|
"version": "1.12.0-SNAPSHOT-251210094739",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
109
slotbooking.ts
109
slotbooking.ts
@@ -629,23 +629,6 @@ export interface SlotGroup {
|
|||||||
*/
|
*/
|
||||||
Availability: number; // Availability of the slot group according to site configuration and current bookings -1 to 100 (-1: closed, 0: no longer available, 100: fully available).
|
Availability: number; // Availability of the slot group according to site configuration and current bookings -1 to 100 (-1: closed, 0: no longer available, 100: fully available).
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* @generated from protobuf message api.BookingAuthorization
|
|
||||||
*/
|
|
||||||
export interface BookingAuthorization {
|
|
||||||
/**
|
|
||||||
* @generated from protobuf field: string ActorID = 1
|
|
||||||
*/
|
|
||||||
ActorID: string;
|
|
||||||
/**
|
|
||||||
* @generated from protobuf field: api.BookingPermission LoadPermission = 2
|
|
||||||
*/
|
|
||||||
LoadPermission: BookingPermission;
|
|
||||||
/**
|
|
||||||
* @generated from protobuf field: api.BookingPermission UnloadPermission = 3
|
|
||||||
*/
|
|
||||||
UnloadPermission: BookingPermission;
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf enum api.AppointmentType
|
* @generated from protobuf enum api.AppointmentType
|
||||||
*/
|
*/
|
||||||
@@ -720,35 +703,6 @@ export enum SegmentationConstraintType {
|
|||||||
*/
|
*/
|
||||||
SEGMENTATION_CONSTRAINT_TYPE_ORDER_ATTRIBUTE = 2
|
SEGMENTATION_CONSTRAINT_TYPE_ORDER_ATTRIBUTE = 2
|
||||||
}
|
}
|
||||||
// User Attribute Booking Authorization
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @generated from protobuf enum api.BookingPermission
|
|
||||||
*/
|
|
||||||
export enum BookingPermission {
|
|
||||||
/**
|
|
||||||
* @generated from protobuf enum value: BOOKING_PERMISSION_UNKNOWN = 0;
|
|
||||||
*/
|
|
||||||
BOOKING_PERMISSION_UNKNOWN = 0,
|
|
||||||
/**
|
|
||||||
* Allowed to book appointments (and update those he is related to)
|
|
||||||
*
|
|
||||||
* @generated from protobuf enum value: BOOKING_PERMISSION_BOOK = 1;
|
|
||||||
*/
|
|
||||||
BOOKING_PERMISSION_BOOK = 1,
|
|
||||||
/**
|
|
||||||
* Allowed to only update appointments he is related to
|
|
||||||
*
|
|
||||||
* @generated from protobuf enum value: BOOKING_PERMISSION_UPDATE = 2;
|
|
||||||
*/
|
|
||||||
BOOKING_PERMISSION_UPDATE = 2,
|
|
||||||
/**
|
|
||||||
* Forbidden to book or update appointments
|
|
||||||
*
|
|
||||||
* @generated from protobuf enum value: BOOKING_PERMISSION_FORBIDDEN = 3;
|
|
||||||
*/
|
|
||||||
BOOKING_PERMISSION_FORBIDDEN = 3
|
|
||||||
}
|
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
class Unit$Type extends MessageType<Unit> {
|
class Unit$Type extends MessageType<Unit> {
|
||||||
constructor() {
|
constructor() {
|
||||||
@@ -2520,66 +2474,3 @@ class SlotGroup$Type extends MessageType<SlotGroup> {
|
|||||||
* @generated MessageType for protobuf message api.SlotGroup
|
* @generated MessageType for protobuf message api.SlotGroup
|
||||||
*/
|
*/
|
||||||
export const SlotGroup = new SlotGroup$Type();
|
export const SlotGroup = new SlotGroup$Type();
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
|
||||||
class BookingAuthorization$Type extends MessageType<BookingAuthorization> {
|
|
||||||
constructor() {
|
|
||||||
super("api.BookingAuthorization", [
|
|
||||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
|
||||||
{ no: 2, name: "LoadPermission", kind: "enum", localName: "LoadPermission", jsonName: "LoadPermission", T: () => ["api.BookingPermission", BookingPermission] },
|
|
||||||
{ no: 3, name: "UnloadPermission", kind: "enum", localName: "UnloadPermission", jsonName: "UnloadPermission", T: () => ["api.BookingPermission", BookingPermission] }
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
create(value?: PartialMessage<BookingAuthorization>): BookingAuthorization {
|
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
|
||||||
message.ActorID = "";
|
|
||||||
message.LoadPermission = 0;
|
|
||||||
message.UnloadPermission = 0;
|
|
||||||
if (value !== undefined)
|
|
||||||
reflectionMergePartial<BookingAuthorization>(this, message, value);
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BookingAuthorization): BookingAuthorization {
|
|
||||||
let message = target ?? this.create(), end = reader.pos + length;
|
|
||||||
while (reader.pos < end) {
|
|
||||||
let [fieldNo, wireType] = reader.tag();
|
|
||||||
switch (fieldNo) {
|
|
||||||
case /* string ActorID */ 1:
|
|
||||||
message.ActorID = reader.string();
|
|
||||||
break;
|
|
||||||
case /* api.BookingPermission LoadPermission */ 2:
|
|
||||||
message.LoadPermission = reader.int32();
|
|
||||||
break;
|
|
||||||
case /* api.BookingPermission UnloadPermission */ 3:
|
|
||||||
message.UnloadPermission = reader.int32();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
let u = options.readUnknownField;
|
|
||||||
if (u === "throw")
|
|
||||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
||||||
let d = reader.skip(wireType);
|
|
||||||
if (u !== false)
|
|
||||||
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryWrite(message: BookingAuthorization, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
||||||
/* string ActorID = 1; */
|
|
||||||
if (message.ActorID !== "")
|
|
||||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
|
||||||
/* api.BookingPermission LoadPermission = 2; */
|
|
||||||
if (message.LoadPermission !== 0)
|
|
||||||
writer.tag(2, WireType.Varint).int32(message.LoadPermission);
|
|
||||||
/* api.BookingPermission UnloadPermission = 3; */
|
|
||||||
if (message.UnloadPermission !== 0)
|
|
||||||
writer.tag(3, WireType.Varint).int32(message.UnloadPermission);
|
|
||||||
let u = options.writeUnknownFields;
|
|
||||||
if (u !== false)
|
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
||||||
return writer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message api.BookingAuthorization
|
|
||||||
*/
|
|
||||||
export const BookingAuthorization = new BookingAuthorization$Type();
|
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
|||||||
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||||
import { MessageType } from "@protobuf-ts/runtime";
|
import { MessageType } from "@protobuf-ts/runtime";
|
||||||
import { RequestProjectHeader } from "./shared";
|
import { RequestProjectHeader } from "./shared";
|
||||||
import { BookingAuthorization } from "./slotbooking";
|
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.UserAttribute
|
* @generated from protobuf message api.UserAttribute
|
||||||
*/
|
*/
|
||||||
@@ -39,6 +38,8 @@ export interface UserAttribute {
|
|||||||
BookingAuthorizations: BookingAuthorization[];
|
BookingAuthorizations: BookingAuthorization[];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
* User Attribute Restriction Actor IDs -- related to data restriction
|
||||||
|
*
|
||||||
* @generated from protobuf message api.RestrictionActorIDs
|
* @generated from protobuf message api.RestrictionActorIDs
|
||||||
*/
|
*/
|
||||||
export interface RestrictionActorIDs {
|
export interface RestrictionActorIDs {
|
||||||
@@ -51,6 +52,23 @@ export interface RestrictionActorIDs {
|
|||||||
*/
|
*/
|
||||||
ActorIDs: string[];
|
ActorIDs: string[];
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @generated from protobuf message api.BookingAuthorization
|
||||||
|
*/
|
||||||
|
export interface BookingAuthorization {
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: string ActorID = 1
|
||||||
|
*/
|
||||||
|
ActorID: string;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: api.BookingPermission LoadPermission = 2
|
||||||
|
*/
|
||||||
|
LoadPermission: BookingPermission;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: api.BookingPermission UnloadPermission = 3
|
||||||
|
*/
|
||||||
|
UnloadPermission: BookingPermission;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.GetUserAttributesRequest
|
* @generated from protobuf message api.GetUserAttributesRequest
|
||||||
*/
|
*/
|
||||||
@@ -93,6 +111,10 @@ export interface PutUserAttributesRequest {
|
|||||||
* @generated from protobuf field: repeated api.RestrictionActorIDs RestrictionActorIDs = 4
|
* @generated from protobuf field: repeated api.RestrictionActorIDs RestrictionActorIDs = 4
|
||||||
*/
|
*/
|
||||||
RestrictionActorIDs: RestrictionActorIDs[];
|
RestrictionActorIDs: RestrictionActorIDs[];
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: repeated api.BookingAuthorization BookingAuthorizations = 5
|
||||||
|
*/
|
||||||
|
BookingAuthorizations: BookingAuthorization[];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.PutUserAttributesResult
|
* @generated from protobuf message api.PutUserAttributesResult
|
||||||
@@ -157,6 +179,35 @@ export interface DeleteForProjectUserAttributesRequest {
|
|||||||
*/
|
*/
|
||||||
export interface DeleteForProjectUserAttributesResult {
|
export interface DeleteForProjectUserAttributesResult {
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* User Attribute Booking Authorization -- related to slotbooking
|
||||||
|
*
|
||||||
|
* @generated from protobuf enum api.BookingPermission
|
||||||
|
*/
|
||||||
|
export enum BookingPermission {
|
||||||
|
/**
|
||||||
|
* @generated from protobuf enum value: BOOKING_PERMISSION_UNKNOWN = 0;
|
||||||
|
*/
|
||||||
|
BOOKING_PERMISSION_UNKNOWN = 0,
|
||||||
|
/**
|
||||||
|
* Allowed to book appointments (and update those he is related to)
|
||||||
|
*
|
||||||
|
* @generated from protobuf enum value: BOOKING_PERMISSION_BOOK = 1;
|
||||||
|
*/
|
||||||
|
BOOKING_PERMISSION_BOOK = 1,
|
||||||
|
/**
|
||||||
|
* Allowed to only update appointments he is related to
|
||||||
|
*
|
||||||
|
* @generated from protobuf enum value: BOOKING_PERMISSION_UPDATE = 2;
|
||||||
|
*/
|
||||||
|
BOOKING_PERMISSION_UPDATE = 2,
|
||||||
|
/**
|
||||||
|
* Forbidden to book or update appointments
|
||||||
|
*
|
||||||
|
* @generated from protobuf enum value: BOOKING_PERMISSION_FORBIDDEN = 3;
|
||||||
|
*/
|
||||||
|
BOOKING_PERMISSION_FORBIDDEN = 3
|
||||||
|
}
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
class UserAttribute$Type extends MessageType<UserAttribute> {
|
class UserAttribute$Type extends MessageType<UserAttribute> {
|
||||||
constructor() {
|
constructor() {
|
||||||
@@ -292,6 +343,69 @@ class RestrictionActorIDs$Type extends MessageType<RestrictionActorIDs> {
|
|||||||
*/
|
*/
|
||||||
export const RestrictionActorIDs = new RestrictionActorIDs$Type();
|
export const RestrictionActorIDs = new RestrictionActorIDs$Type();
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
|
class BookingAuthorization$Type extends MessageType<BookingAuthorization> {
|
||||||
|
constructor() {
|
||||||
|
super("api.BookingAuthorization", [
|
||||||
|
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||||
|
{ no: 2, name: "LoadPermission", kind: "enum", localName: "LoadPermission", jsonName: "LoadPermission", T: () => ["api.BookingPermission", BookingPermission] },
|
||||||
|
{ no: 3, name: "UnloadPermission", kind: "enum", localName: "UnloadPermission", jsonName: "UnloadPermission", T: () => ["api.BookingPermission", BookingPermission] }
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
create(value?: PartialMessage<BookingAuthorization>): BookingAuthorization {
|
||||||
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
|
message.ActorID = "";
|
||||||
|
message.LoadPermission = 0;
|
||||||
|
message.UnloadPermission = 0;
|
||||||
|
if (value !== undefined)
|
||||||
|
reflectionMergePartial<BookingAuthorization>(this, message, value);
|
||||||
|
return message;
|
||||||
|
}
|
||||||
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BookingAuthorization): BookingAuthorization {
|
||||||
|
let message = target ?? this.create(), end = reader.pos + length;
|
||||||
|
while (reader.pos < end) {
|
||||||
|
let [fieldNo, wireType] = reader.tag();
|
||||||
|
switch (fieldNo) {
|
||||||
|
case /* string ActorID */ 1:
|
||||||
|
message.ActorID = reader.string();
|
||||||
|
break;
|
||||||
|
case /* api.BookingPermission LoadPermission */ 2:
|
||||||
|
message.LoadPermission = reader.int32();
|
||||||
|
break;
|
||||||
|
case /* api.BookingPermission UnloadPermission */ 3:
|
||||||
|
message.UnloadPermission = reader.int32();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
let u = options.readUnknownField;
|
||||||
|
if (u === "throw")
|
||||||
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
||||||
|
let d = reader.skip(wireType);
|
||||||
|
if (u !== false)
|
||||||
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return message;
|
||||||
|
}
|
||||||
|
internalBinaryWrite(message: BookingAuthorization, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||||
|
/* string ActorID = 1; */
|
||||||
|
if (message.ActorID !== "")
|
||||||
|
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||||
|
/* api.BookingPermission LoadPermission = 2; */
|
||||||
|
if (message.LoadPermission !== 0)
|
||||||
|
writer.tag(2, WireType.Varint).int32(message.LoadPermission);
|
||||||
|
/* api.BookingPermission UnloadPermission = 3; */
|
||||||
|
if (message.UnloadPermission !== 0)
|
||||||
|
writer.tag(3, WireType.Varint).int32(message.UnloadPermission);
|
||||||
|
let u = options.writeUnknownFields;
|
||||||
|
if (u !== false)
|
||||||
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
return writer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @generated MessageType for protobuf message api.BookingAuthorization
|
||||||
|
*/
|
||||||
|
export const BookingAuthorization = new BookingAuthorization$Type();
|
||||||
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
class GetUserAttributesRequest$Type extends MessageType<GetUserAttributesRequest> {
|
class GetUserAttributesRequest$Type extends MessageType<GetUserAttributesRequest> {
|
||||||
constructor() {
|
constructor() {
|
||||||
super("api.GetUserAttributesRequest", [
|
super("api.GetUserAttributesRequest", [
|
||||||
@@ -398,7 +512,8 @@ class PutUserAttributesRequest$Type extends MessageType<PutUserAttributesRequest
|
|||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||||
{ no: 2, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
{ no: 2, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||||
{ no: 3, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/ },
|
{ no: 3, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 4, name: "RestrictionActorIDs", kind: "message", localName: "RestrictionActorIDs", jsonName: "RestrictionActorIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RestrictionActorIDs }
|
{ no: 4, name: "RestrictionActorIDs", kind: "message", localName: "RestrictionActorIDs", jsonName: "RestrictionActorIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RestrictionActorIDs },
|
||||||
|
{ no: 5, name: "BookingAuthorizations", kind: "message", localName: "BookingAuthorizations", jsonName: "BookingAuthorizations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BookingAuthorization }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "UserID", "PartnerID"] } } });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "UserID", "PartnerID"] } } });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<PutUserAttributesRequest>): PutUserAttributesRequest {
|
create(value?: PartialMessage<PutUserAttributesRequest>): PutUserAttributesRequest {
|
||||||
@@ -406,6 +521,7 @@ class PutUserAttributesRequest$Type extends MessageType<PutUserAttributesRequest
|
|||||||
message.UserID = "";
|
message.UserID = "";
|
||||||
message.PartnerID = "";
|
message.PartnerID = "";
|
||||||
message.RestrictionActorIDs = [];
|
message.RestrictionActorIDs = [];
|
||||||
|
message.BookingAuthorizations = [];
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<PutUserAttributesRequest>(this, message, value);
|
reflectionMergePartial<PutUserAttributesRequest>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -427,6 +543,9 @@ class PutUserAttributesRequest$Type extends MessageType<PutUserAttributesRequest
|
|||||||
case /* repeated api.RestrictionActorIDs RestrictionActorIDs */ 4:
|
case /* repeated api.RestrictionActorIDs RestrictionActorIDs */ 4:
|
||||||
message.RestrictionActorIDs.push(RestrictionActorIDs.internalBinaryRead(reader, reader.uint32(), options));
|
message.RestrictionActorIDs.push(RestrictionActorIDs.internalBinaryRead(reader, reader.uint32(), options));
|
||||||
break;
|
break;
|
||||||
|
case /* repeated api.BookingAuthorization BookingAuthorizations */ 5:
|
||||||
|
message.BookingAuthorizations.push(BookingAuthorization.internalBinaryRead(reader, reader.uint32(), options));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -451,6 +570,9 @@ class PutUserAttributesRequest$Type extends MessageType<PutUserAttributesRequest
|
|||||||
/* repeated api.RestrictionActorIDs RestrictionActorIDs = 4; */
|
/* repeated api.RestrictionActorIDs RestrictionActorIDs = 4; */
|
||||||
for (let i = 0; i < message.RestrictionActorIDs.length; i++)
|
for (let i = 0; i < message.RestrictionActorIDs.length; i++)
|
||||||
RestrictionActorIDs.internalBinaryWrite(message.RestrictionActorIDs[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
RestrictionActorIDs.internalBinaryWrite(message.RestrictionActorIDs[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||||
|
/* repeated api.BookingAuthorization BookingAuthorizations = 5; */
|
||||||
|
for (let i = 0; i < message.BookingAuthorizations.length; i++)
|
||||||
|
BookingAuthorization.internalBinaryWrite(message.BookingAuthorizations[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||||
let u = options.writeUnknownFields;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
Reference in New Issue
Block a user