Latest generation

This commit is contained in:
ci core model
2025-10-14 14:58:09 +00:00
parent ed37fc1baf
commit adb4d89f04
2 changed files with 14 additions and 2 deletions

View File

@@ -84,6 +84,10 @@ export interface StartWorkflowCreateProjectRequest {
* @generated from protobuf field: api.ProjectType ProjectType = 6
*/
ProjectType: ProjectType;
/**
* @generated from protobuf field: string ProjectName = 7
*/
ProjectName: string;
}
/**
* @generated from protobuf message api.StartWorkflowCreateProjectResult
@@ -1026,7 +1030,8 @@ class StartWorkflowCreateProjectRequest$Type extends MessageType<StartWorkflowCr
{ no: 3, name: "UserSub", kind: "scalar", localName: "UserSub", jsonName: "UserSub", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ManagerEmail", kind: "scalar", localName: "ManagerEmail", jsonName: "ManagerEmail", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module },
{ no: 6, name: "ProjectType", kind: "enum", localName: "ProjectType", jsonName: "ProjectType", T: () => ["api.ProjectType", ProjectType] }
{ no: 6, name: "ProjectType", kind: "enum", localName: "ProjectType", jsonName: "ProjectType", T: () => ["api.ProjectType", ProjectType] },
{ no: 7, name: "ProjectName", kind: "scalar", localName: "ProjectName", jsonName: "ProjectName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId", "ProjectId", "UserSub", "ManagerEmail"] } } });
}
create(value?: PartialMessage<StartWorkflowCreateProjectRequest>): StartWorkflowCreateProjectRequest {
@@ -1037,6 +1042,7 @@ class StartWorkflowCreateProjectRequest$Type extends MessageType<StartWorkflowCr
message.ManagerEmail = "";
message.Modules = [];
message.ProjectType = 0;
message.ProjectName = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowCreateProjectRequest>(this, message, value);
return message;
@@ -1064,6 +1070,9 @@ class StartWorkflowCreateProjectRequest$Type extends MessageType<StartWorkflowCr
case /* api.ProjectType ProjectType */ 6:
message.ProjectType = reader.int32();
break;
case /* string ProjectName */ 7:
message.ProjectName = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -1094,6 +1103,9 @@ class StartWorkflowCreateProjectRequest$Type extends MessageType<StartWorkflowCr
/* api.ProjectType ProjectType = 6; */
if (message.ProjectType !== 0)
writer.tag(6, WireType.Varint).int32(message.ProjectType);
/* string ProjectName = 7; */
if (message.ProjectName !== "")
writer.tag(7, WireType.LengthDelimited).string(message.ProjectName);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);