You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.11.0-SNAPSHOT-250722091130",
|
||||
"version": "1.11.0-SNAPSHOT-250722132715",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -406,10 +406,8 @@ export interface DocumentByLanguage {
|
||||
*/
|
||||
Name: string;
|
||||
/**
|
||||
* @generated from protobuf field: string FileName = 2
|
||||
*/
|
||||
FileName: string;
|
||||
/**
|
||||
* bytes Doc = 2;
|
||||
*
|
||||
* @generated from protobuf field: string URI = 4
|
||||
*/
|
||||
URI: string;
|
||||
@@ -417,6 +415,10 @@ export interface DocumentByLanguage {
|
||||
* @generated from protobuf field: string LanguageCodeISO6391 = 3
|
||||
*/
|
||||
LanguageCodeISO6391: string;
|
||||
/**
|
||||
* @generated from protobuf field: string FileName = 5
|
||||
*/
|
||||
FileName: string;
|
||||
}
|
||||
/**
|
||||
* Authorisation
|
||||
@@ -1958,17 +1960,17 @@ class DocumentByLanguage$Type extends MessageType<DocumentByLanguage> {
|
||||
constructor() {
|
||||
super("api.DocumentByLanguage", [
|
||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "FileName", kind: "scalar", localName: "FileName", jsonName: "FileName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI of the document" } } },
|
||||
{ no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } }
|
||||
{ no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } },
|
||||
{ no: 5, name: "FileName", kind: "scalar", localName: "FileName", jsonName: "FileName", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<DocumentByLanguage>): DocumentByLanguage {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Name = "";
|
||||
message.FileName = "";
|
||||
message.URI = "";
|
||||
message.LanguageCodeISO6391 = "";
|
||||
message.FileName = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<DocumentByLanguage>(this, message, value);
|
||||
return message;
|
||||
@@ -1981,15 +1983,15 @@ class DocumentByLanguage$Type extends MessageType<DocumentByLanguage> {
|
||||
case /* string Name */ 1:
|
||||
message.Name = reader.string();
|
||||
break;
|
||||
case /* string FileName */ 2:
|
||||
message.FileName = reader.string();
|
||||
break;
|
||||
case /* string URI */ 4:
|
||||
message.URI = reader.string();
|
||||
break;
|
||||
case /* string LanguageCodeISO6391 */ 3:
|
||||
message.LanguageCodeISO6391 = reader.string();
|
||||
break;
|
||||
case /* string FileName */ 5:
|
||||
message.FileName = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2005,15 +2007,15 @@ class DocumentByLanguage$Type extends MessageType<DocumentByLanguage> {
|
||||
/* string Name = 1; */
|
||||
if (message.Name !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Name);
|
||||
/* string FileName = 2; */
|
||||
if (message.FileName !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.FileName);
|
||||
/* string LanguageCodeISO6391 = 3; */
|
||||
if (message.LanguageCodeISO6391 !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.LanguageCodeISO6391);
|
||||
/* string URI = 4; */
|
||||
if (message.URI !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.URI);
|
||||
/* string FileName = 5; */
|
||||
if (message.FileName !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.FileName);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user