Latest generation

This commit is contained in:
ci core model
2026-05-22 08:22:35 +00:00
parent a6ca133e2f
commit 1b01318654
96 changed files with 2476 additions and 2476 deletions

60
proj.ts
View File

@@ -184,7 +184,7 @@ export interface UpdateProjectRequest {
Header?: RequestProjectHeader;
// Project Project = 1
// [
// (validate.rules).message.required = true
// (n1validate.rules).message.required = true
// ];
/**
@@ -466,10 +466,10 @@ export enum ProjectStatusEnum {
class ProjectCreation$Type extends MessageType<ProjectCreation> {
constructor() {
super("api.ProjectCreation", [
{ 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", 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: 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: 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: { "validate.rules": { enum: { definedOnly: true } } } }
{ 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"] } } });
}
create(value?: PartialMessage<ProjectCreation>): ProjectCreation {
@@ -537,12 +537,12 @@ export const ProjectCreation = new ProjectCreation$Type();
class Project$Type extends MessageType<Project> {
constructor() {
super("api.Project", [
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.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: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "status", kind: "enum", T: () => ["api.ProjectStatusEnum", ProjectStatusEnum], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ 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: 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: { "validate.rules": { enum: { definedOnly: true } } } }
{ 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"] } } });
}
create(value?: PartialMessage<Project>): Project {
@@ -624,8 +624,8 @@ export const Project = new Project$Type();
class DeleteProjectRequest$Type extends MessageType<DeleteProjectRequest> {
constructor() {
super("api.DeleteProjectRequest", [
{ no: 3, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
{ no: 3, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
}
create(value?: PartialMessage<DeleteProjectRequest>): DeleteProjectRequest {
@@ -678,7 +678,7 @@ export const DeleteProjectRequest = new DeleteProjectRequest$Type();
class GetProjectRequest$Type extends MessageType<GetProjectRequest> {
constructor() {
super("api.GetProjectRequest", [
{ no: 4, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }
{ no: 4, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<GetProjectRequest>): GetProjectRequest {
@@ -724,10 +724,10 @@ export const GetProjectRequest = new GetProjectRequest$Type();
class ListProjectRequest$Type extends MessageType<ListProjectRequest> {
constructor() {
super("api.ListProjectRequest", [
{ no: 4, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 4, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 3, name: "Paging", kind: "message", localName: "Paging", jsonName: "Paging", T: () => Paging },
{ no: 5, name: "ShowInactiveProjects", kind: "scalar", localName: "ShowInactiveProjects", jsonName: "ShowInactiveProjects", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ProjectType", ProjectType], options: { "validate.rules": { enum: { definedOnly: true } } } }
{ 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: ["Header"] } } });
}
create(value?: PartialMessage<ListProjectRequest>): ListProjectRequest {
@@ -794,7 +794,7 @@ class ListAllProjectRequest$Type extends MessageType<ListAllProjectRequest> {
constructor() {
super("api.ListAllProjectRequest", [
{ no: 1, name: "ShowInactiveProjects", kind: "scalar", localName: "ShowInactiveProjects", jsonName: "ShowInactiveProjects", T: 8 /*ScalarType.BOOL*/ },
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ProjectType", ProjectType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ProjectType", ProjectType], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "SkipModules", kind: "scalar", localName: "SkipModules", jsonName: "SkipModules", T: 8 /*ScalarType.BOOL*/ }
]);
}
@@ -965,9 +965,9 @@ export const ListAllProjectResult = new ListAllProjectResult$Type();
class CreateProjectRequest$Type extends MessageType<CreateProjectRequest> {
constructor() {
super("api.CreateProjectRequest", [
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 1, name: "Project", kind: "message", localName: "Project", jsonName: "Project", T: () => ProjectCreation, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "ManagerMail", kind: "scalar", localName: "ManagerMail", jsonName: "ManagerMail", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { email: true } } } }
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 1, name: "Project", kind: "message", localName: "Project", jsonName: "Project", T: () => ProjectCreation, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 3, name: "ManagerMail", kind: "scalar", localName: "ManagerMail", jsonName: "ManagerMail", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { email: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Project"] } } });
}
create(value?: PartialMessage<CreateProjectRequest>): CreateProjectRequest {
@@ -1026,9 +1026,9 @@ export const CreateProjectRequest = new CreateProjectRequest$Type();
class UpdateProjectRequest$Type extends MessageType<UpdateProjectRequest> {
constructor() {
super("api.UpdateProjectRequest", [
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ProjectType", ProjectType], options: { "validate.rules": { enum: { definedOnly: true } } } }
{ 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: 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"] } } });
}
create(value?: PartialMessage<UpdateProjectRequest>): UpdateProjectRequest {
@@ -1088,8 +1088,8 @@ export const UpdateProjectRequest = new UpdateProjectRequest$Type();
class SetModulesProjectRequest$Type extends MessageType<SetModulesProjectRequest> {
constructor() {
super("api.SetModulesProjectRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ProjectID"] } } });
}
@@ -1434,8 +1434,8 @@ export const SetModulesProjectResult = new SetModulesProjectResult$Type();
class SuggestProjectIDRequest$Type extends MessageType<SuggestProjectIDRequest> {
constructor() {
super("api.SuggestProjectIDRequest", [
{ no: 3, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
{ no: 3, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name"] } } });
}
create(value?: PartialMessage<SuggestProjectIDRequest>): SuggestProjectIDRequest {
@@ -1535,7 +1535,7 @@ export const SuggestProjectIDResult = new SuggestProjectIDResult$Type();
class DeleteProjectInDBRequest$Type extends MessageType<DeleteProjectInDBRequest> {
constructor() {
super("api.DeleteProjectInDBRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
}
create(value?: PartialMessage<DeleteProjectInDBRequest>): DeleteProjectInDBRequest {
@@ -1931,8 +1931,8 @@ export const GetMyContextResult = new GetMyContextResult$Type();
class UpdateProjectStatusRequest$Type extends MessageType<UpdateProjectStatusRequest> {
constructor() {
super("api.UpdateProjectStatusRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "status", kind: "enum", T: () => ["api.ProjectStatusEnum", ProjectStatusEnum], options: { "validate.rules": { enum: { definedOnly: true } } } }
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "status", kind: "enum", T: () => ["api.ProjectStatusEnum", ProjectStatusEnum], options: { "n1validate.rules": { enum: { definedOnly: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
}
create(value?: PartialMessage<UpdateProjectStatusRequest>): UpdateProjectStatusRequest {
@@ -2111,8 +2111,8 @@ export const CleanDeletedProjectsResult = new CleanDeletedProjectsResult$Type();
class IsProjectExistRequest$Type extends MessageType<IsProjectExistRequest> {
constructor() {
super("api.IsProjectExistRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<IsProjectExistRequest>): IsProjectExistRequest {