Latest generation

This commit is contained in:
ci core model
2025-12-09 11:20:34 +00:00
parent 3896777a92
commit 35023738c7
62 changed files with 367 additions and 367 deletions

8
org.ts
View File

@@ -524,12 +524,12 @@ export enum StatusEnum {
class Organisation$Type extends MessageType<Organisation> {
constructor() {
super("api.Organisation", [
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } } } },
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.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: { "validate.rules": { string: { minLen: "1" } } } },
{ 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: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 5, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module },
{ no: 6, name: "DefaultLanguageISO6391", kind: "scalar", localName: "DefaultLanguageISO6391", jsonName: "DefaultLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "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\"" }, "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } }
{ no: 6, name: "DefaultLanguageISO6391", kind: "scalar", localName: "DefaultLanguageISO6391", jsonName: "DefaultLanguageISO6391", 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\"" } } }
]);
}
create(value?: PartialMessage<Organisation>): Organisation {
@@ -759,8 +759,8 @@ class UpdateOrganisationRequest$Type extends MessageType<UpdateOrganisationReque
constructor() {
super("api.UpdateOrganisationRequest", [
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" } } } },
{ no: 4, name: "DefaultLanguageISO6391", kind: "scalar", localName: "DefaultLanguageISO6391", jsonName: "DefaultLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "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\"" }, "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } }
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.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: 4, name: "DefaultLanguageISO6391", kind: "scalar", localName: "DefaultLanguageISO6391", jsonName: "DefaultLanguageISO6391", 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\"" } } }
]);
}
create(value?: PartialMessage<UpdateOrganisationRequest>): UpdateOrganisationRequest {