Latest generation

This commit is contained in:
ci core model
2025-07-22 09:12:09 +00:00
parent 995380fd45
commit 08e9e4bf20
2 changed files with 13 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@reflex-platform/npm-core-sdk",
"version": "1.11.0-SNAPSHOT-250715074125",
"version": "1.11.0-SNAPSHOT-250722091130",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",

View File

@@ -406,8 +406,10 @@ export interface DocumentByLanguage {
*/
Name: string;
/**
* bytes Doc = 2;
*
* @generated from protobuf field: string FileName = 2
*/
FileName: string;
/**
* @generated from protobuf field: string URI = 4
*/
URI: string;
@@ -1956,6 +1958,7 @@ 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\"" } } }
]);
@@ -1963,6 +1966,7 @@ class DocumentByLanguage$Type extends MessageType<DocumentByLanguage> {
create(value?: PartialMessage<DocumentByLanguage>): DocumentByLanguage {
const message = globalThis.Object.create((this.messagePrototype!));
message.Name = "";
message.FileName = "";
message.URI = "";
message.LanguageCodeISO6391 = "";
if (value !== undefined)
@@ -1977,6 +1981,9 @@ 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;
@@ -1998,6 +2005,9 @@ 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);