From a9e6f0b34d795851d8531c48abe092a712cdbac8 Mon Sep 17 00:00:00 2001 From: ci core model Date: Mon, 20 Jul 2026 12:18:55 +0000 Subject: [PATCH] Latest generation --- org.ts | 4 ++-- package.json | 2 +- proj.ts | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/org.ts b/org.ts index 982c7a2..2f6415b 100644 --- a/org.ts +++ b/org.ts @@ -525,7 +525,7 @@ class Organisation$Type extends MessageType { constructor() { super("api.Organisation", [ { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" } } }, { no: 3, name: "IDPs", kind: "message", localName: "IDPs", jsonName: "IDPs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => IDP }, { no: 4, name: "status", kind: "enum", T: () => ["api.StatusEnum", StatusEnum], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }, @@ -759,7 +759,7 @@ class UpdateOrganisationRequest$Type extends MessageType RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" } } }, + { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" } } }, { no: 4, name: "DefaultLanguageISO6391", kind: "scalar", localName: "DefaultLanguageISO6391", jsonName: "DefaultLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" } } } ]); } diff --git a/package.json b/package.json index b424e96..ee4cece 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.15.0-SNAPSHOT-260710085802", + "version": "1.15.0-SNAPSHOT-260720121810", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/proj.ts b/proj.ts index 4486a3f..d13a8a4 100644 --- a/proj.ts +++ b/proj.ts @@ -467,10 +467,10 @@ class ProjectCreation$Type extends MessageType { constructor() { super("api.ProjectCreation", [ { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" } } }, { no: 3, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }, { no: 4, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ProjectType", ProjectType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } - ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Name"] } } }); + ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID", "Name", "Type"] } } }); } create(value?: PartialMessage): ProjectCreation { const message = globalThis.Object.create((this.messagePrototype!)); @@ -538,12 +538,12 @@ class Project$Type extends MessageType { constructor() { super("api.Project", [ { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([a-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([a-z0-9-])+$" } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" } } }, { no: 3, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "status", kind: "enum", T: () => ["api.ProjectStatusEnum", ProjectStatusEnum], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }, { no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ProjectType", ProjectType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } - ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID", "Name", "OrganisationID"] } } }); + ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID", "Name", "OrganisationID", "Type"] } } }); } create(value?: PartialMessage): Project { const message = globalThis.Object.create((this.messagePrototype!)); @@ -1027,9 +1027,9 @@ class UpdateProjectRequest$Type extends MessageType { constructor() { super("api.UpdateProjectRequest", [ { no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" } } }, { no: 4, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ProjectType", ProjectType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } - ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); + ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name", "Type"] } } }); } create(value?: PartialMessage): UpdateProjectRequest { const message = globalThis.Object.create((this.messagePrototype!));