From 1e4871d80955bf66b30d60a2801e8c71fb0b4785 Mon Sep 17 00:00:00 2001 From: ci core model Date: Tue, 25 Mar 2025 08:48:31 +0000 Subject: [PATCH] Latest generation --- package.json | 2 +- shared.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9d354ca7..bc8d5743 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.10.0-SNAPSHOT-250324130356", + "version": "1.10.0-SNAPSHOT-250325084756", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/shared.ts b/shared.ts index 22f6fa12..e248386f 100644 --- a/shared.ts +++ b/shared.ts @@ -7073,7 +7073,7 @@ class ElementByMatchQuery$Type extends MessageType { super("api.ElementByMatchQuery", [ { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "BlockFilters", kind: "message", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter }, - { no: 3, name: "MatchElementField", kind: "message", jsonName: "MatchElementField", T: () => MatchElementField } + { no: 3, name: "MatchElementField", kind: "message", jsonName: "MatchElementField", T: () => MatchElementField, options: { "validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); } create(value?: PartialMessage): ElementByMatchQuery { @@ -7179,8 +7179,8 @@ export const ElementByMatchResult = new ElementByMatchResult$Type(); class MatchElementField$Type extends MessageType { constructor() { super("api.MatchElementField", [ - { no: 1, name: "Match", kind: "scalar", jsonName: "Match", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "MatchFields", kind: "message", jsonName: "MatchFields", repeat: 1 /*RepeatType.PACKED*/, T: () => MatchField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } } + { no: 1, name: "Match", kind: "scalar", jsonName: "Match", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Value required for the search", example: "\"ObjectID\"" } } }, + { no: 2, name: "MatchFields", kind: "message", jsonName: "MatchFields", repeat: 1 /*RepeatType.PACKED*/, T: () => MatchField, options: { "validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } } ]); } create(value?: PartialMessage): MatchElementField {