You've already forked npm-viz-sdk
Latest generation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "core/shared.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
||||
@@ -2061,7 +2061,7 @@ class DomainDescription$Type extends MessageType<DomainDescription> {
|
||||
constructor() {
|
||||
super("api.DomainDescription", [
|
||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "ObjectDescription", kind: "message", localName: "ObjectDescription", jsonName: "ObjectDescription", repeat: 1 /*RepeatType.PACKED*/, T: () => ObjectDescription }
|
||||
{ no: 2, name: "ObjectDescription", kind: "message", localName: "ObjectDescription", jsonName: "ObjectDescription", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ObjectDescription }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<DomainDescription>): DomainDescription {
|
||||
@@ -2116,10 +2116,10 @@ class ObjectDescription$Type extends MessageType<ObjectDescription> {
|
||||
constructor() {
|
||||
super("api.ObjectDescription", [
|
||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "ApiAction", kind: "message", localName: "ApiAction", jsonName: "ApiAction", repeat: 1 /*RepeatType.PACKED*/, T: () => ObjectAction },
|
||||
{ no: 2, name: "ApiAction", kind: "message", localName: "ApiAction", jsonName: "ApiAction", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ObjectAction },
|
||||
{ no: 3, name: "PayloadJSON", kind: "scalar", localName: "PayloadJSON", jsonName: "PayloadJSON", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "ApiInput", kind: "message", localName: "ApiInput", jsonName: "ApiInput", repeat: 1 /*RepeatType.PACKED*/, T: () => ObjectAction },
|
||||
{ no: 5, name: "ApiQuery", kind: "message", localName: "ApiQuery", jsonName: "ApiQuery", repeat: 1 /*RepeatType.PACKED*/, T: () => ObjectAction }
|
||||
{ no: 4, name: "ApiInput", kind: "message", localName: "ApiInput", jsonName: "ApiInput", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ObjectAction },
|
||||
{ no: 5, name: "ApiQuery", kind: "message", localName: "ApiQuery", jsonName: "ApiQuery", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ObjectAction }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ObjectDescription>): ObjectDescription {
|
||||
@@ -2383,8 +2383,8 @@ class CombinedFilter$Type extends MessageType<CombinedFilter> {
|
||||
constructor() {
|
||||
super("api.CombinedFilter", [
|
||||
{ no: 1, name: "Path", kind: "scalar", localName: "Path", jsonName: "Path", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "simpleFilters", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => SimpleFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Simple filter structure for Find query" } } },
|
||||
{ no: 3, name: "rangeFilters", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => RangeFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Range filter structure for Find query" } } },
|
||||
{ no: 2, name: "simpleFilters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SimpleFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Simple filter structure for Find query" } } },
|
||||
{ no: 3, name: "rangeFilters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RangeFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Range filter structure for Find query" } } },
|
||||
{ no: 4, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
@@ -2524,9 +2524,9 @@ export const RangeFilter = new RangeFilter$Type();
|
||||
class BlockFilter$Type extends MessageType<BlockFilter> {
|
||||
constructor() {
|
||||
super("api.BlockFilter", [
|
||||
{ no: 1, name: "simpleFilters", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => SimpleFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Simple filter structure for Find query" } } },
|
||||
{ no: 2, name: "rangeFilters", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => RangeFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Range filter structure for Find query" } } },
|
||||
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Block filter structure for Find query" } } }
|
||||
{ no: 1, name: "simpleFilters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SimpleFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Simple filter structure for Find query" } } },
|
||||
{ no: 2, name: "rangeFilters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RangeFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Range filter structure for Find query" } } },
|
||||
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Block filter structure for Find query" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<BlockFilter>): BlockFilter {
|
||||
@@ -2707,7 +2707,7 @@ class Errors$Type extends MessageType<Errors> {
|
||||
super("api.Errors", [
|
||||
{ no: 1, name: "ErrorCode", kind: "scalar", localName: "ErrorCode", jsonName: "ErrorCode", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "ErrorTrace", kind: "scalar", localName: "ErrorTrace", jsonName: "ErrorTrace", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "ErrorDetails", kind: "message", localName: "ErrorDetails", jsonName: "ErrorDetails", repeat: 1 /*RepeatType.PACKED*/, T: () => ErrorDetail },
|
||||
{ no: 3, name: "ErrorDetails", kind: "message", localName: "ErrorDetails", jsonName: "ErrorDetails", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ErrorDetail },
|
||||
{ no: 4, name: "ContextType", kind: "scalar", localName: "ContextType", jsonName: "ContextType", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "ContextProcess", kind: "scalar", localName: "ContextProcess", jsonName: "ContextProcess", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 6, name: "ContextPayload", kind: "scalar", localName: "ContextPayload", jsonName: "ContextPayload", T: 9 /*ScalarType.STRING*/ }
|
||||
@@ -2848,7 +2848,7 @@ class LabelStructure$Type extends MessageType<LabelStructure> {
|
||||
super("api.LabelStructure", [
|
||||
{ no: 1, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the message" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Label of the message" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "Params", kind: "message", localName: "Params", jsonName: "Params", repeat: 1 /*RepeatType.PACKED*/, T: () => ParamElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Parameters for label" }, "api.aggKey": "Key" } }
|
||||
{ no: 3, name: "Params", kind: "message", localName: "Params", jsonName: "Params", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ParamElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Parameters for label" }, "api.aggKey": "Key" } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<LabelStructure>): LabelStructure {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "core/unitOfMeasures.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "counter.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "counter.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/api/field_behavior.proto" (package "google.api", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/api/http.proto" (package "google.api", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
@@ -447,7 +447,7 @@ export interface CustomHttpPattern {
|
||||
class Http$Type extends MessageType<Http> {
|
||||
constructor() {
|
||||
super("google.api.Http", [
|
||||
{ no: 1, name: "rules", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => HttpRule },
|
||||
{ no: 1, name: "rules", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => HttpRule },
|
||||
{ no: 2, name: "fully_decode_reserved_expansion", kind: "scalar", localName: "fully_decode_reserved_expansion", T: 8 /*ScalarType.BOOL*/ }
|
||||
]);
|
||||
}
|
||||
@@ -511,7 +511,7 @@ class HttpRule$Type extends MessageType<HttpRule> {
|
||||
{ no: 8, name: "custom", kind: "message", oneof: "pattern", T: () => CustomHttpPattern },
|
||||
{ no: 7, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 12, name: "response_body", kind: "scalar", localName: "response_body", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 11, name: "additional_bindings", kind: "message", localName: "additional_bindings", repeat: 1 /*RepeatType.PACKED*/, T: () => HttpRule }
|
||||
{ no: 11, name: "additional_bindings", kind: "message", localName: "additional_bindings", repeat: 2 /*RepeatType.UNPACKED*/, T: () => HttpRule }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<HttpRule>): HttpRule {
|
||||
@@ -608,18 +608,18 @@ class HttpRule$Type extends MessageType<HttpRule> {
|
||||
/* string patch = 6; */
|
||||
if (message.pattern.oneofKind === "patch")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.pattern.patch);
|
||||
/* google.api.CustomHttpPattern custom = 8; */
|
||||
if (message.pattern.oneofKind === "custom")
|
||||
CustomHttpPattern.internalBinaryWrite(message.pattern.custom, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string body = 7; */
|
||||
if (message.body !== "")
|
||||
writer.tag(7, WireType.LengthDelimited).string(message.body);
|
||||
/* string response_body = 12; */
|
||||
if (message.response_body !== "")
|
||||
writer.tag(12, WireType.LengthDelimited).string(message.response_body);
|
||||
/* google.api.CustomHttpPattern custom = 8; */
|
||||
if (message.pattern.oneofKind === "custom")
|
||||
CustomHttpPattern.internalBinaryWrite(message.pattern.custom, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated google.api.HttpRule additional_bindings = 11; */
|
||||
for (let i = 0; i < message.additional_bindings.length; i++)
|
||||
HttpRule.internalBinaryWrite(message.additional_bindings[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string response_body = 12; */
|
||||
if (message.response_body !== "")
|
||||
writer.tag(12, WireType.LengthDelimited).string(message.response_body);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/api/httpbody.proto" (package "google.api", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
@@ -96,7 +96,7 @@ class HttpBody$Type extends MessageType<HttpBody> {
|
||||
super("google.api.HttpBody", [
|
||||
{ no: 1, name: "content_type", kind: "scalar", localName: "content_type", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "data", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
||||
{ no: 3, name: "extensions", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Any }
|
||||
{ no: 3, name: "extensions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Any }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<HttpBody>): HttpBody {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/any.proto" (package "google.protobuf", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/api.proto" (package "google.protobuf", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
@@ -274,11 +274,11 @@ class Api$Type extends MessageType<Api> {
|
||||
constructor() {
|
||||
super("google.protobuf.Api", [
|
||||
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "methods", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Method },
|
||||
{ no: 3, name: "options", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Option },
|
||||
{ no: 2, name: "methods", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Method },
|
||||
{ no: 3, name: "options", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Option },
|
||||
{ no: 4, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "source_context", kind: "message", localName: "source_context", T: () => SourceContext },
|
||||
{ no: 6, name: "mixins", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Mixin },
|
||||
{ no: 6, name: "mixins", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Mixin },
|
||||
{ no: 7, name: "syntax", kind: "enum", T: () => ["google.protobuf.Syntax", Syntax, "SYNTAX_"] }
|
||||
]);
|
||||
}
|
||||
@@ -372,7 +372,7 @@ class Method$Type extends MessageType<Method> {
|
||||
{ no: 3, name: "request_streaming", kind: "scalar", localName: "request_streaming", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 4, name: "response_type_url", kind: "scalar", localName: "response_type_url", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "response_streaming", kind: "scalar", localName: "response_streaming", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 6, name: "options", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Option },
|
||||
{ no: 6, name: "options", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Option },
|
||||
{ no: 7, name: "syntax", kind: "enum", T: () => ["google.protobuf.Syntax", Syntax, "SYNTAX_"] }
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/compiler/plugin.proto" (package "google.protobuf.compiler", syntax proto2)
|
||||
// tslint:disable
|
||||
//
|
||||
@@ -346,12 +346,12 @@ class CodeGeneratorRequest$Type extends MessageType<CodeGeneratorRequest> {
|
||||
/* optional string parameter = 2; */
|
||||
if (message.parameter !== undefined)
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.parameter);
|
||||
/* repeated google.protobuf.FileDescriptorProto proto_file = 15; */
|
||||
for (let i = 0; i < message.proto_file.length; i++)
|
||||
FileDescriptorProto.internalBinaryWrite(message.proto_file[i], writer.tag(15, WireType.LengthDelimited).fork(), options).join();
|
||||
/* optional google.protobuf.compiler.Version compiler_version = 3; */
|
||||
if (message.compiler_version)
|
||||
Version.internalBinaryWrite(message.compiler_version, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated google.protobuf.FileDescriptorProto proto_file = 15; */
|
||||
for (let i = 0; i < message.proto_file.length; i++)
|
||||
FileDescriptorProto.internalBinaryWrite(message.proto_file[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);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/descriptor.proto" (package "google.protobuf", syntax proto2)
|
||||
// tslint:disable
|
||||
//
|
||||
@@ -1577,12 +1577,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
|
||||
/* repeated string dependency = 3; */
|
||||
for (let i = 0; i < message.dependency.length; i++)
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.dependency[i]);
|
||||
/* repeated int32 public_dependency = 10; */
|
||||
for (let i = 0; i < message.public_dependency.length; i++)
|
||||
writer.tag(10, WireType.Varint).int32(message.public_dependency[i]);
|
||||
/* repeated int32 weak_dependency = 11; */
|
||||
for (let i = 0; i < message.weak_dependency.length; i++)
|
||||
writer.tag(11, WireType.Varint).int32(message.weak_dependency[i]);
|
||||
/* repeated google.protobuf.DescriptorProto message_type = 4; */
|
||||
for (let i = 0; i < message.message_type.length; i++)
|
||||
DescriptorProto.internalBinaryWrite(message.message_type[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -1601,6 +1595,12 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
|
||||
/* optional google.protobuf.SourceCodeInfo source_code_info = 9; */
|
||||
if (message.source_code_info)
|
||||
SourceCodeInfo.internalBinaryWrite(message.source_code_info, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated int32 public_dependency = 10; */
|
||||
for (let i = 0; i < message.public_dependency.length; i++)
|
||||
writer.tag(10, WireType.Varint).int32(message.public_dependency[i]);
|
||||
/* repeated int32 weak_dependency = 11; */
|
||||
for (let i = 0; i < message.weak_dependency.length; i++)
|
||||
writer.tag(11, WireType.Varint).int32(message.weak_dependency[i]);
|
||||
/* optional string syntax = 12; */
|
||||
if (message.syntax !== undefined)
|
||||
writer.tag(12, WireType.LengthDelimited).string(message.syntax);
|
||||
@@ -1697,9 +1697,6 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
|
||||
/* repeated google.protobuf.FieldDescriptorProto field = 2; */
|
||||
for (let i = 0; i < message.field.length; i++)
|
||||
FieldDescriptorProto.internalBinaryWrite(message.field[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated google.protobuf.FieldDescriptorProto extension = 6; */
|
||||
for (let i = 0; i < message.extension.length; i++)
|
||||
FieldDescriptorProto.internalBinaryWrite(message.extension[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated google.protobuf.DescriptorProto nested_type = 3; */
|
||||
for (let i = 0; i < message.nested_type.length; i++)
|
||||
DescriptorProto.internalBinaryWrite(message.nested_type[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -1709,12 +1706,15 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
|
||||
/* repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */
|
||||
for (let i = 0; i < message.extension_range.length; i++)
|
||||
DescriptorProto_ExtensionRange.internalBinaryWrite(message.extension_range[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated google.protobuf.OneofDescriptorProto oneof_decl = 8; */
|
||||
for (let i = 0; i < message.oneof_decl.length; i++)
|
||||
OneofDescriptorProto.internalBinaryWrite(message.oneof_decl[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated google.protobuf.FieldDescriptorProto extension = 6; */
|
||||
for (let i = 0; i < message.extension.length; i++)
|
||||
FieldDescriptorProto.internalBinaryWrite(message.extension[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
/* optional google.protobuf.MessageOptions options = 7; */
|
||||
if (message.options)
|
||||
MessageOptions.internalBinaryWrite(message.options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated google.protobuf.OneofDescriptorProto oneof_decl = 8; */
|
||||
for (let i = 0; i < message.oneof_decl.length; i++)
|
||||
OneofDescriptorProto.internalBinaryWrite(message.oneof_decl[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */
|
||||
for (let i = 0; i < message.reserved_range.length; i++)
|
||||
DescriptorProto_ReservedRange.internalBinaryWrite(message.reserved_range[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -1963,6 +1963,9 @@ class FieldDescriptorProto$Type extends MessageType<FieldDescriptorProto> {
|
||||
/* optional string name = 1; */
|
||||
if (message.name !== undefined)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
||||
/* optional string extendee = 2; */
|
||||
if (message.extendee !== undefined)
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.extendee);
|
||||
/* optional int32 number = 3; */
|
||||
if (message.number !== undefined)
|
||||
writer.tag(3, WireType.Varint).int32(message.number);
|
||||
@@ -1975,21 +1978,18 @@ class FieldDescriptorProto$Type extends MessageType<FieldDescriptorProto> {
|
||||
/* optional string type_name = 6; */
|
||||
if (message.type_name !== undefined)
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.type_name);
|
||||
/* optional string extendee = 2; */
|
||||
if (message.extendee !== undefined)
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.extendee);
|
||||
/* optional string default_value = 7; */
|
||||
if (message.default_value !== undefined)
|
||||
writer.tag(7, WireType.LengthDelimited).string(message.default_value);
|
||||
/* optional google.protobuf.FieldOptions options = 8; */
|
||||
if (message.options)
|
||||
FieldOptions.internalBinaryWrite(message.options, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
/* optional int32 oneof_index = 9; */
|
||||
if (message.oneof_index !== undefined)
|
||||
writer.tag(9, WireType.Varint).int32(message.oneof_index);
|
||||
/* optional string json_name = 10; */
|
||||
if (message.json_name !== undefined)
|
||||
writer.tag(10, WireType.LengthDelimited).string(message.json_name);
|
||||
/* optional google.protobuf.FieldOptions options = 8; */
|
||||
if (message.options)
|
||||
FieldOptions.internalBinaryWrite(message.options, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -2505,18 +2505,12 @@ class FileOptions$Type extends MessageType<FileOptions> {
|
||||
/* optional string java_outer_classname = 8; */
|
||||
if (message.java_outer_classname !== undefined)
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.java_outer_classname);
|
||||
/* optional bool java_multiple_files = 10; */
|
||||
if (message.java_multiple_files !== undefined)
|
||||
writer.tag(10, WireType.Varint).bool(message.java_multiple_files);
|
||||
/* optional bool java_generate_equals_and_hash = 20 [deprecated = true]; */
|
||||
if (message.java_generate_equals_and_hash !== undefined)
|
||||
writer.tag(20, WireType.Varint).bool(message.java_generate_equals_and_hash);
|
||||
/* optional bool java_string_check_utf8 = 27; */
|
||||
if (message.java_string_check_utf8 !== undefined)
|
||||
writer.tag(27, WireType.Varint).bool(message.java_string_check_utf8);
|
||||
/* optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9; */
|
||||
if (message.optimize_for !== undefined)
|
||||
writer.tag(9, WireType.Varint).int32(message.optimize_for);
|
||||
/* optional bool java_multiple_files = 10; */
|
||||
if (message.java_multiple_files !== undefined)
|
||||
writer.tag(10, WireType.Varint).bool(message.java_multiple_files);
|
||||
/* optional string go_package = 11; */
|
||||
if (message.go_package !== undefined)
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.go_package);
|
||||
@@ -2529,12 +2523,15 @@ class FileOptions$Type extends MessageType<FileOptions> {
|
||||
/* optional bool py_generic_services = 18; */
|
||||
if (message.py_generic_services !== undefined)
|
||||
writer.tag(18, WireType.Varint).bool(message.py_generic_services);
|
||||
/* optional bool php_generic_services = 42; */
|
||||
if (message.php_generic_services !== undefined)
|
||||
writer.tag(42, WireType.Varint).bool(message.php_generic_services);
|
||||
/* optional bool java_generate_equals_and_hash = 20 [deprecated = true]; */
|
||||
if (message.java_generate_equals_and_hash !== undefined)
|
||||
writer.tag(20, WireType.Varint).bool(message.java_generate_equals_and_hash);
|
||||
/* optional bool deprecated = 23; */
|
||||
if (message.deprecated !== undefined)
|
||||
writer.tag(23, WireType.Varint).bool(message.deprecated);
|
||||
/* optional bool java_string_check_utf8 = 27; */
|
||||
if (message.java_string_check_utf8 !== undefined)
|
||||
writer.tag(27, WireType.Varint).bool(message.java_string_check_utf8);
|
||||
/* optional bool cc_enable_arenas = 31; */
|
||||
if (message.cc_enable_arenas !== undefined)
|
||||
writer.tag(31, WireType.Varint).bool(message.cc_enable_arenas);
|
||||
@@ -2553,6 +2550,9 @@ class FileOptions$Type extends MessageType<FileOptions> {
|
||||
/* optional string php_namespace = 41; */
|
||||
if (message.php_namespace !== undefined)
|
||||
writer.tag(41, WireType.LengthDelimited).string(message.php_namespace);
|
||||
/* optional bool php_generic_services = 42; */
|
||||
if (message.php_generic_services !== undefined)
|
||||
writer.tag(42, WireType.Varint).bool(message.php_generic_services);
|
||||
/* optional string php_metadata_namespace = 44; */
|
||||
if (message.php_metadata_namespace !== undefined)
|
||||
writer.tag(44, WireType.LengthDelimited).string(message.php_metadata_namespace);
|
||||
@@ -2711,15 +2711,15 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
|
||||
/* optional bool packed = 2; */
|
||||
if (message.packed !== undefined)
|
||||
writer.tag(2, WireType.Varint).bool(message.packed);
|
||||
/* optional google.protobuf.FieldOptions.JSType jstype = 6; */
|
||||
if (message.jstype !== undefined)
|
||||
writer.tag(6, WireType.Varint).int32(message.jstype);
|
||||
/* optional bool lazy = 5; */
|
||||
if (message.lazy !== undefined)
|
||||
writer.tag(5, WireType.Varint).bool(message.lazy);
|
||||
/* optional bool deprecated = 3; */
|
||||
if (message.deprecated !== undefined)
|
||||
writer.tag(3, WireType.Varint).bool(message.deprecated);
|
||||
/* optional bool lazy = 5; */
|
||||
if (message.lazy !== undefined)
|
||||
writer.tag(5, WireType.Varint).bool(message.lazy);
|
||||
/* optional google.protobuf.FieldOptions.JSType jstype = 6; */
|
||||
if (message.jstype !== undefined)
|
||||
writer.tag(6, WireType.Varint).int32(message.jstype);
|
||||
/* optional bool weak = 10; */
|
||||
if (message.weak !== undefined)
|
||||
writer.tag(10, WireType.Varint).bool(message.weak);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/duration.proto" (package "google.protobuf", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/empty.proto" (package "google.protobuf", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/field_mask.proto" (package "google.protobuf", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/source_context.proto" (package "google.protobuf", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/struct.proto" (package "google.protobuf", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
@@ -419,7 +419,7 @@ export const Value = new Value$Type();
|
||||
class ListValue$Type extends MessageType<ListValue> {
|
||||
constructor() {
|
||||
super("google.protobuf.ListValue", [
|
||||
{ no: 1, name: "values", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Value }
|
||||
{ no: 1, name: "values", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Value }
|
||||
]);
|
||||
}
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/timestamp.proto" (package "google.protobuf", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/type.proto" (package "google.protobuf", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
@@ -419,9 +419,9 @@ class Type$Type extends MessageType<Type> {
|
||||
constructor() {
|
||||
super("google.protobuf.Type", [
|
||||
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "fields", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Field },
|
||||
{ no: 2, name: "fields", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Field },
|
||||
{ no: 3, name: "oneofs", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "options", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Option },
|
||||
{ no: 4, name: "options", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Option },
|
||||
{ no: 5, name: "source_context", kind: "message", localName: "source_context", T: () => SourceContext },
|
||||
{ no: 6, name: "syntax", kind: "enum", T: () => ["google.protobuf.Syntax", Syntax, "SYNTAX_"] }
|
||||
]);
|
||||
@@ -511,7 +511,7 @@ class Field$Type extends MessageType<Field> {
|
||||
{ no: 6, name: "type_url", kind: "scalar", localName: "type_url", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 7, name: "oneof_index", kind: "scalar", localName: "oneof_index", T: 5 /*ScalarType.INT32*/ },
|
||||
{ no: 8, name: "packed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 9, name: "options", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Option },
|
||||
{ no: 9, name: "options", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Option },
|
||||
{ no: 10, name: "json_name", kind: "scalar", localName: "json_name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 11, name: "default_value", kind: "scalar", localName: "default_value", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
@@ -624,8 +624,8 @@ class Enum$Type extends MessageType<Enum> {
|
||||
constructor() {
|
||||
super("google.protobuf.Enum", [
|
||||
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "enumvalue", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => EnumValue },
|
||||
{ no: 3, name: "options", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Option },
|
||||
{ no: 2, name: "enumvalue", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumValue },
|
||||
{ no: 3, name: "options", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Option },
|
||||
{ no: 4, name: "source_context", kind: "message", localName: "source_context", T: () => SourceContext },
|
||||
{ no: 5, name: "syntax", kind: "enum", T: () => ["google.protobuf.Syntax", Syntax, "SYNTAX_"] }
|
||||
]);
|
||||
@@ -703,7 +703,7 @@ class EnumValue$Type extends MessageType<EnumValue> {
|
||||
super("google.protobuf.EnumValue", [
|
||||
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "number", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
||||
{ no: 3, name: "options", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Option }
|
||||
{ no: 3, name: "options", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Option }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<EnumValue>): EnumValue {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/protobuf/wrappers.proto" (package "google.protobuf", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/rpc/code.proto" (package "google.rpc", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/rpc/error_details.proto" (package "google.rpc", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
@@ -429,7 +429,7 @@ export const DebugInfo = new DebugInfo$Type();
|
||||
class QuotaFailure$Type extends MessageType<QuotaFailure> {
|
||||
constructor() {
|
||||
super("google.rpc.QuotaFailure", [
|
||||
{ no: 1, name: "violations", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => QuotaFailure_Violation }
|
||||
{ no: 1, name: "violations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuotaFailure_Violation }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<QuotaFailure>): QuotaFailure {
|
||||
@@ -531,7 +531,7 @@ export const QuotaFailure_Violation = new QuotaFailure_Violation$Type();
|
||||
class PreconditionFailure$Type extends MessageType<PreconditionFailure> {
|
||||
constructor() {
|
||||
super("google.rpc.PreconditionFailure", [
|
||||
{ no: 1, name: "violations", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => PreconditionFailure_Violation }
|
||||
{ no: 1, name: "violations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PreconditionFailure_Violation }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<PreconditionFailure>): PreconditionFailure {
|
||||
@@ -641,7 +641,7 @@ export const PreconditionFailure_Violation = new PreconditionFailure_Violation$T
|
||||
class BadRequest$Type extends MessageType<BadRequest> {
|
||||
constructor() {
|
||||
super("google.rpc.BadRequest", [
|
||||
{ no: 1, name: "field_violations", kind: "message", localName: "field_violations", repeat: 1 /*RepeatType.PACKED*/, T: () => BadRequest_FieldViolation }
|
||||
{ no: 1, name: "field_violations", kind: "message", localName: "field_violations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BadRequest_FieldViolation }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<BadRequest>): BadRequest {
|
||||
@@ -869,7 +869,7 @@ export const ResourceInfo = new ResourceInfo$Type();
|
||||
class Help$Type extends MessageType<Help> {
|
||||
constructor() {
|
||||
super("google.rpc.Help", [
|
||||
{ no: 1, name: "links", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Help_Link }
|
||||
{ no: 1, name: "links", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Help_Link }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Help>): Help {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/rpc/status.proto" (package "google.rpc", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
@@ -111,7 +111,7 @@ class Status$Type extends MessageType<Status> {
|
||||
super("google.rpc.Status", [
|
||||
{ no: 1, name: "code", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
||||
{ no: 2, name: "message", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "details", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Any }
|
||||
{ no: 3, name: "details", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Any }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Status>): Status {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "openapiv2.proto" (package "grpc.gateway.protoc_gen_openapiv2.options", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
||||
@@ -1087,7 +1087,7 @@ class Swagger$Type extends MessageType<Swagger> {
|
||||
{ no: 7, name: "produces", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "responses", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => Response } },
|
||||
{ no: 11, name: "security_definitions", kind: "message", localName: "security_definitions", T: () => SecurityDefinitions },
|
||||
{ no: 12, name: "security", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => SecurityRequirement },
|
||||
{ no: 12, name: "security", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SecurityRequirement },
|
||||
{ no: 14, name: "external_docs", kind: "message", localName: "external_docs", T: () => ExternalDocumentation },
|
||||
{ no: 15, name: "extensions", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => Value } }
|
||||
]);
|
||||
@@ -1268,7 +1268,7 @@ class Operation$Type extends MessageType<Operation> {
|
||||
{ no: 9, name: "responses", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => Response } },
|
||||
{ no: 10, name: "schemes", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["grpc.gateway.protoc_gen_openapiv2.options.Scheme", Scheme] },
|
||||
{ no: 11, name: "deprecated", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 12, name: "security", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => SecurityRequirement },
|
||||
{ no: 12, name: "security", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SecurityRequirement },
|
||||
{ no: 13, name: "extensions", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => Value } }
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-viz-sdk",
|
||||
"version": "1.11.0-SNAPSHOT-250428134845",
|
||||
"version": "1.11.0-SNAPSHOT-250502135145",
|
||||
"description": "npm libs from visibility model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
44
validate.ts
44
validate.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "validate.proto" (package "validate", syntax proto2)
|
||||
// tslint:disable
|
||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
||||
@@ -1938,9 +1938,6 @@ class FieldRules$Type extends MessageType<FieldRules> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: FieldRules, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* optional validate.MessageRules message = 17; */
|
||||
if (message.message)
|
||||
MessageRules.internalBinaryWrite(message.message, writer.tag(17, WireType.LengthDelimited).fork(), options).join();
|
||||
/* validate.FloatRules float = 1; */
|
||||
if (message.type.oneofKind === "float")
|
||||
FloatRules.internalBinaryWrite(message.type.float, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -1989,6 +1986,9 @@ class FieldRules$Type extends MessageType<FieldRules> {
|
||||
/* validate.EnumRules enum = 16; */
|
||||
if (message.type.oneofKind === "enum")
|
||||
EnumRules.internalBinaryWrite(message.type.enum, writer.tag(16, WireType.LengthDelimited).fork(), options).join();
|
||||
/* optional validate.MessageRules message = 17; */
|
||||
if (message.message)
|
||||
MessageRules.internalBinaryWrite(message.message, writer.tag(17, WireType.LengthDelimited).fork(), options).join();
|
||||
/* validate.RepeatedRules repeated = 18; */
|
||||
if (message.type.oneofKind === "repeated")
|
||||
RepeatedRules.internalBinaryWrite(message.type.repeated, writer.tag(18, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -3605,18 +3605,12 @@ class StringRules$Type extends MessageType<StringRules> {
|
||||
/* optional string const = 1; */
|
||||
if (message.const !== undefined)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.const);
|
||||
/* optional uint64 len = 19; */
|
||||
if (message.len !== undefined)
|
||||
writer.tag(19, WireType.Varint).uint64(message.len);
|
||||
/* optional uint64 min_len = 2; */
|
||||
if (message.min_len !== undefined)
|
||||
writer.tag(2, WireType.Varint).uint64(message.min_len);
|
||||
/* optional uint64 max_len = 3; */
|
||||
if (message.max_len !== undefined)
|
||||
writer.tag(3, WireType.Varint).uint64(message.max_len);
|
||||
/* optional uint64 len_bytes = 20; */
|
||||
if (message.len_bytes !== undefined)
|
||||
writer.tag(20, WireType.Varint).uint64(message.len_bytes);
|
||||
/* optional uint64 min_bytes = 4; */
|
||||
if (message.min_bytes !== undefined)
|
||||
writer.tag(4, WireType.Varint).uint64(message.min_bytes);
|
||||
@@ -3635,18 +3629,12 @@ class StringRules$Type extends MessageType<StringRules> {
|
||||
/* optional string contains = 9; */
|
||||
if (message.contains !== undefined)
|
||||
writer.tag(9, WireType.LengthDelimited).string(message.contains);
|
||||
/* optional string not_contains = 23; */
|
||||
if (message.not_contains !== undefined)
|
||||
writer.tag(23, WireType.LengthDelimited).string(message.not_contains);
|
||||
/* repeated string in = 10; */
|
||||
for (let i = 0; i < message.in.length; i++)
|
||||
writer.tag(10, WireType.LengthDelimited).string(message.in[i]);
|
||||
/* repeated string not_in = 11; */
|
||||
for (let i = 0; i < message.not_in.length; i++)
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.not_in[i]);
|
||||
/* optional bool unauthorized = 29; */
|
||||
if (message.unauthorized !== undefined)
|
||||
writer.tag(29, WireType.Varint).bool(message.unauthorized);
|
||||
/* bool email = 12; */
|
||||
if (message.well_known.oneofKind === "email")
|
||||
writer.tag(12, WireType.Varint).bool(message.well_known.email);
|
||||
@@ -3668,15 +3656,27 @@ class StringRules$Type extends MessageType<StringRules> {
|
||||
/* bool uri_ref = 18; */
|
||||
if (message.well_known.oneofKind === "uri_ref")
|
||||
writer.tag(18, WireType.Varint).bool(message.well_known.uri_ref);
|
||||
/* optional uint64 len = 19; */
|
||||
if (message.len !== undefined)
|
||||
writer.tag(19, WireType.Varint).uint64(message.len);
|
||||
/* optional uint64 len_bytes = 20; */
|
||||
if (message.len_bytes !== undefined)
|
||||
writer.tag(20, WireType.Varint).uint64(message.len_bytes);
|
||||
/* bool address = 21; */
|
||||
if (message.well_known.oneofKind === "address")
|
||||
writer.tag(21, WireType.Varint).bool(message.well_known.address);
|
||||
/* bool uuid = 22; */
|
||||
if (message.well_known.oneofKind === "uuid")
|
||||
writer.tag(22, WireType.Varint).bool(message.well_known.uuid);
|
||||
/* optional string not_contains = 23; */
|
||||
if (message.not_contains !== undefined)
|
||||
writer.tag(23, WireType.LengthDelimited).string(message.not_contains);
|
||||
/* validate.KnownRegex well_known_regex = 24; */
|
||||
if (message.well_known.oneofKind === "well_known_regex")
|
||||
writer.tag(24, WireType.Varint).int32(message.well_known.well_known_regex);
|
||||
/* optional bool strict = 25; */
|
||||
if (message.strict !== undefined)
|
||||
writer.tag(25, WireType.Varint).bool(message.strict);
|
||||
/* bool dateIso8601 = 26; */
|
||||
if (message.well_known.oneofKind === "dateIso8601")
|
||||
writer.tag(26, WireType.Varint).bool(message.well_known.dateIso8601);
|
||||
@@ -3686,9 +3686,9 @@ class StringRules$Type extends MessageType<StringRules> {
|
||||
/* bool tzData = 28; */
|
||||
if (message.well_known.oneofKind === "tzData")
|
||||
writer.tag(28, WireType.Varint).bool(message.well_known.tzData);
|
||||
/* optional bool strict = 25; */
|
||||
if (message.strict !== undefined)
|
||||
writer.tag(25, WireType.Varint).bool(message.strict);
|
||||
/* optional bool unauthorized = 29; */
|
||||
if (message.unauthorized !== undefined)
|
||||
writer.tag(29, WireType.Varint).bool(message.unauthorized);
|
||||
/* optional bool ignore_empty = 30; */
|
||||
if (message.ignore_empty !== undefined)
|
||||
writer.tag(30, WireType.Varint).bool(message.ignore_empty);
|
||||
@@ -3802,9 +3802,6 @@ class BytesRules$Type extends MessageType<BytesRules> {
|
||||
/* optional bytes const = 1; */
|
||||
if (message.const !== undefined)
|
||||
writer.tag(1, WireType.LengthDelimited).bytes(message.const);
|
||||
/* optional uint64 len = 13; */
|
||||
if (message.len !== undefined)
|
||||
writer.tag(13, WireType.Varint).uint64(message.len);
|
||||
/* optional uint64 min_len = 2; */
|
||||
if (message.min_len !== undefined)
|
||||
writer.tag(2, WireType.Varint).uint64(message.min_len);
|
||||
@@ -3838,6 +3835,9 @@ class BytesRules$Type extends MessageType<BytesRules> {
|
||||
/* bool ipv6 = 12; */
|
||||
if (message.well_known.oneofKind === "ipv6")
|
||||
writer.tag(12, WireType.Varint).bool(message.well_known.ipv6);
|
||||
/* optional uint64 len = 13; */
|
||||
if (message.len !== undefined)
|
||||
writer.tag(13, WireType.Varint).uint64(message.len);
|
||||
/* optional bool ignore_empty = 14; */
|
||||
if (message.ignore_empty !== undefined)
|
||||
writer.tag(14, WireType.Varint).bool(message.ignore_empty);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "visibility.proto" (package "google.api", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
@@ -101,7 +101,7 @@ export interface VisibilityRule {
|
||||
class Visibility$Type extends MessageType<Visibility> {
|
||||
constructor() {
|
||||
super("google.api.Visibility", [
|
||||
{ no: 1, name: "rules", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => VisibilityRule }
|
||||
{ no: 1, name: "rules", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => VisibilityRule }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Visibility>): Visibility {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-composed-field.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-composed-field.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -898,7 +898,7 @@ export const ListComposedFieldRequest = new ListComposedFieldRequest$Type();
|
||||
class ListComposedFieldResult$Type extends MessageType<ListComposedFieldResult> {
|
||||
constructor() {
|
||||
super("vizapi.ListComposedFieldResult", [
|
||||
{ no: 1, name: "Results", kind: "message", localName: "Results", jsonName: "Results", repeat: 1 /*RepeatType.PACKED*/, T: () => ComposedField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All Content in a Composed Field" } } }
|
||||
{ no: 1, name: "Results", kind: "message", localName: "Results", jsonName: "Results", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ComposedField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All Content in a Composed Field" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "List of Composed Fields" } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListComposedFieldResult>): ListComposedFieldResult {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-dashboard.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-dashboard.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -481,7 +481,7 @@ export const ListDashboardRequest = new ListDashboardRequest$Type();
|
||||
class ListDashboardResult$Type extends MessageType<ListDashboardResult> {
|
||||
constructor() {
|
||||
super("vizapi.ListDashboardResult", [
|
||||
{ no: 1, name: "Results", kind: "message", localName: "Results", jsonName: "Results", repeat: 1 /*RepeatType.PACKED*/, T: () => Dashboard, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All information in a Dashboard" } } }
|
||||
{ no: 1, name: "Results", kind: "message", localName: "Results", jsonName: "Results", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Dashboard, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All information in a Dashboard" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "List of Dashboards" } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListDashboardResult>): ListDashboardResult {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-default-view.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-default-view.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-motd.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
16
viz-motd.ts
16
viz-motd.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-motd.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -237,7 +237,7 @@ class Motd$Type extends MessageType<Motd> {
|
||||
{ no: 1, name: "MotdID", kind: "scalar", localName: "MotdID", jsonName: "MotdID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 1 /*RepeatType.PACKED*/, T: () => MotdMessage }
|
||||
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessage }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Motd>): Motd {
|
||||
@@ -417,7 +417,7 @@ class CreateMotdRequest$Type extends MessageType<CreateMotdRequest> {
|
||||
super("vizapi.CreateMotdRequest", [
|
||||
{ no: 1, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "validate.rules": { string: { dateIso8601: true } } } },
|
||||
{ no: 2, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "validate.rules": { string: { dateIso8601: true } } } },
|
||||
{ no: 3, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 1 /*RepeatType.PACKED*/, T: () => MotdMessage }
|
||||
{ no: 3, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessage }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Message request with the content and the dates" } } });
|
||||
}
|
||||
create(value?: PartialMessage<CreateMotdRequest>): CreateMotdRequest {
|
||||
@@ -481,7 +481,7 @@ class CreateMotdResult$Type extends MessageType<CreateMotdResult> {
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "validate.rules": { string: { dateIso8601: true } } } },
|
||||
{ no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:01Z\"" }, "validate.rules": { string: { dateIso8601: true } } } },
|
||||
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 1 /*RepeatType.PACKED*/, T: () => MotdMessageRes }
|
||||
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessageRes }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Message result with ID, content and dates" } } });
|
||||
}
|
||||
create(value?: PartialMessage<CreateMotdResult>): CreateMotdResult {
|
||||
@@ -552,7 +552,7 @@ class UpdateMotdRequest$Type extends MessageType<UpdateMotdRequest> {
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "validate.rules": { string: { dateIso8601: true } } } },
|
||||
{ no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:01Z\"" }, "validate.rules": { string: { dateIso8601: true } } } },
|
||||
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 1 /*RepeatType.PACKED*/, T: () => MotdMessage }
|
||||
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessage }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Update an existing Message Of The Day using its key" } } });
|
||||
}
|
||||
create(value?: PartialMessage<UpdateMotdRequest>): UpdateMotdRequest {
|
||||
@@ -623,7 +623,7 @@ class UpdateMotdResult$Type extends MessageType<UpdateMotdResult> {
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" } } },
|
||||
{ no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:01Z\"" } } },
|
||||
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 1 /*RepeatType.PACKED*/, T: () => MotdMessage }
|
||||
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessage }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<UpdateMotdResult>): UpdateMotdResult {
|
||||
@@ -732,7 +732,7 @@ class GetMotdResult$Type extends MessageType<GetMotdResult> {
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" } } },
|
||||
{ no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:01Z\"" } } },
|
||||
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 1 /*RepeatType.PACKED*/, T: () => MotdMessageRes }
|
||||
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessageRes }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Return the current Message Of The Day" } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetMotdResult>): GetMotdResult {
|
||||
@@ -923,7 +923,7 @@ export const ListMotdsRequest = new ListMotdsRequest$Type();
|
||||
class ListMotdsResult$Type extends MessageType<ListMotdsResult> {
|
||||
constructor() {
|
||||
super("vizapi.ListMotdsResult", [
|
||||
{ no: 1, name: "Motds", kind: "message", localName: "Motds", jsonName: "Motds", repeat: 1 /*RepeatType.PACKED*/, T: () => GetMotdResult }
|
||||
{ no: 1, name: "Motds", kind: "message", localName: "Motds", jsonName: "Motds", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GetMotdResult }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "List of all existing messages of the day" } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListMotdsResult>): ListMotdsResult {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-organisation-settings.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-organisation-settings.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -643,7 +643,7 @@ export const ListOrganisationSettingsRequest = new ListOrganisationSettingsReque
|
||||
class ListOrganisationSettingsResult$Type extends MessageType<ListOrganisationSettingsResult> {
|
||||
constructor() {
|
||||
super("vizapi.ListOrganisationSettingsResult", [
|
||||
{ no: 1, name: "OrganisationSettings", kind: "message", localName: "OrganisationSettings", jsonName: "OrganisationSettings", repeat: 1 /*RepeatType.PACKED*/, T: () => GetOrganisationSettingResult }
|
||||
{ no: 1, name: "OrganisationSettings", kind: "message", localName: "OrganisationSettings", jsonName: "OrganisationSettings", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GetOrganisationSettingResult }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "List of the organisation's settings" } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListOrganisationSettingsResult>): ListOrganisationSettingsResult {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-project-settings.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-project-settings.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -599,7 +599,7 @@ export const ListProjectSettingsRequest = new ListProjectSettingsRequest$Type();
|
||||
class ListProjectSettingsResult$Type extends MessageType<ListProjectSettingsResult> {
|
||||
constructor() {
|
||||
super("vizapi.ListProjectSettingsResult", [
|
||||
{ no: 1, name: "ProjectSettings", kind: "message", localName: "ProjectSettings", jsonName: "ProjectSettings", repeat: 1 /*RepeatType.PACKED*/, T: () => GetProjectSettingResult }
|
||||
{ no: 1, name: "ProjectSettings", kind: "message", localName: "ProjectSettings", jsonName: "ProjectSettings", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GetProjectSettingResult }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "List of the project's settings" } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListProjectSettingsResult>): ListProjectSettingsResult {
|
||||
@@ -692,7 +692,7 @@ export const ListProjectOrganisationSettingsRequest = new ListProjectOrganisatio
|
||||
class ListProjectOrganisationSettingsResult$Type extends MessageType<ListProjectOrganisationSettingsResult> {
|
||||
constructor() {
|
||||
super("vizapi.ListProjectOrganisationSettingsResult", [
|
||||
{ no: 1, name: "OrganisationSettings", kind: "message", localName: "OrganisationSettings", jsonName: "OrganisationSettings", repeat: 1 /*RepeatType.PACKED*/, T: () => GetOrganisationSettingResult }
|
||||
{ no: 1, name: "OrganisationSettings", kind: "message", localName: "OrganisationSettings", jsonName: "OrganisationSettings", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GetOrganisationSettingResult }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "List of the project's organisation public settings" } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListProjectOrganisationSettingsResult>): ListProjectOrganisationSettingsResult {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-tab.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-tab.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-translations.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-translations.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -485,7 +485,7 @@ export const GetTranslationsRequest = new GetTranslationsRequest$Type();
|
||||
class GetTranslationsResult$Type extends MessageType<GetTranslationsResult> {
|
||||
constructor() {
|
||||
super("vizapi.GetTranslationsResult", [
|
||||
{ no: 1, name: "Translations", kind: "message", localName: "Translations", jsonName: "Translations", repeat: 1 /*RepeatType.PACKED*/, T: () => Translation }
|
||||
{ no: 1, name: "Translations", kind: "message", localName: "Translations", jsonName: "Translations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Message result for the GetTranslations method" } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetTranslationsResult>): GetTranslationsResult {
|
||||
@@ -590,7 +590,7 @@ class PutTranslationsRequest$Type extends MessageType<PutTranslationsRequest> {
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Context", kind: "scalar", localName: "Context", jsonName: "Context", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "Translations", kind: "message", localName: "Translations", jsonName: "Translations", repeat: 1 /*RepeatType.PACKED*/, T: () => PutTranslationMessage }
|
||||
{ no: 4, name: "Translations", kind: "message", localName: "Translations", jsonName: "Translations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PutTranslationMessage }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Message request for the PutTranslation method", required: ["Header", "Context", "Label"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<PutTranslationsRequest>): PutTranslationsRequest {
|
||||
@@ -657,7 +657,7 @@ export const PutTranslationsRequest = new PutTranslationsRequest$Type();
|
||||
class PutTranslationsResult$Type extends MessageType<PutTranslationsResult> {
|
||||
constructor() {
|
||||
super("vizapi.PutTranslationsResult", [
|
||||
{ no: 1, name: "Translations", kind: "message", localName: "Translations", jsonName: "Translations", repeat: 1 /*RepeatType.PACKED*/, T: () => Translation }
|
||||
{ no: 1, name: "Translations", kind: "message", localName: "Translations", jsonName: "Translations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Message result for the PutTranslation method" } } });
|
||||
}
|
||||
create(value?: PartialMessage<PutTranslationsResult>): PutTranslationsResult {
|
||||
@@ -859,7 +859,7 @@ class TranslationContextResult$Type extends MessageType<TranslationContextResult
|
||||
constructor() {
|
||||
super("vizapi.TranslationContextResult", [
|
||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "Labels", kind: "message", localName: "Labels", jsonName: "Labels", repeat: 1 /*RepeatType.PACKED*/, T: () => TranslationLabelResult }
|
||||
{ no: 2, name: "Labels", kind: "message", localName: "Labels", jsonName: "Labels", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TranslationLabelResult }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<TranslationContextResult>): TranslationContextResult {
|
||||
@@ -968,7 +968,7 @@ export const TranslationLabelResult = new TranslationLabelResult$Type();
|
||||
class ListTranslationsResult$Type extends MessageType<ListTranslationsResult> {
|
||||
constructor() {
|
||||
super("vizapi.ListTranslationsResult", [
|
||||
{ no: 1, name: "Contexts", kind: "message", localName: "Contexts", jsonName: "Contexts", repeat: 1 /*RepeatType.PACKED*/, T: () => TranslationContextResult }
|
||||
{ no: 1, name: "Contexts", kind: "message", localName: "Contexts", jsonName: "Contexts", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TranslationContextResult }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Message result for the ListTranslations method" } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListTranslationsResult>): ListTranslationsResult {
|
||||
@@ -1137,7 +1137,7 @@ export const GetLanguagesRequest = new GetLanguagesRequest$Type();
|
||||
class GetLanguagesResult$Type extends MessageType<GetLanguagesResult> {
|
||||
constructor() {
|
||||
super("vizapi.GetLanguagesResult", [
|
||||
{ no: 1, name: "Languages", kind: "message", localName: "Languages", jsonName: "Languages", repeat: 1 /*RepeatType.PACKED*/, T: () => LanguageCode }
|
||||
{ no: 1, name: "Languages", kind: "message", localName: "Languages", jsonName: "Languages", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LanguageCode }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Message result for the GetLanguages method" } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetLanguagesResult>): GetLanguagesResult {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-user-settings.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-user-settings.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -520,7 +520,7 @@ export const ListUserSettingsRequest = new ListUserSettingsRequest$Type();
|
||||
class ListUserSettingsResult$Type extends MessageType<ListUserSettingsResult> {
|
||||
constructor() {
|
||||
super("vizapi.ListUserSettingsResult", [
|
||||
{ no: 1, name: "UserSettings", kind: "message", localName: "UserSettings", jsonName: "UserSettings", repeat: 1 /*RepeatType.PACKED*/, T: () => GetUserSettingResult }
|
||||
{ no: 1, name: "UserSettings", kind: "message", localName: "UserSettings", jsonName: "UserSettings", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GetUserSettingResult }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "List of the user's settings" } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListUserSettingsResult>): ListUserSettingsResult {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-view.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-view.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -1196,7 +1196,7 @@ export const ListViewRequest = new ListViewRequest$Type();
|
||||
class ListViewResult$Type extends MessageType<ListViewResult> {
|
||||
constructor() {
|
||||
super("vizapi.ListViewResult", [
|
||||
{ no: 1, name: "Results", kind: "message", localName: "Results", jsonName: "Results", repeat: 1 /*RepeatType.PACKED*/, T: () => ComposedUserView, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All information in a View" } } }
|
||||
{ no: 1, name: "Results", kind: "message", localName: "Results", jsonName: "Results", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ComposedUserView, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All information in a View" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "List of Views" } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListViewResult>): ListViewResult {
|
||||
@@ -1456,7 +1456,7 @@ class ExtractRequest$Type extends MessageType<ExtractRequest> {
|
||||
super("vizapi.ExtractRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "BlockFilter structure for Find query" } } },
|
||||
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "BlockFilter structure for Find query" } } },
|
||||
{ no: 4, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for list to use in the csv" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 5, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for decimal to use in the csv" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 8, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } },
|
||||
|
||||
Reference in New Issue
Block a user