Latest generation

This commit is contained in:
ci core model
2025-05-02 08:55:56 +00:00
parent c1ebe9a950
commit c82118c2e0
197 changed files with 919 additions and 919 deletions

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
// @generated from protobuf file "restrictions.proto" (package "api", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -451,7 +451,7 @@ class Restriction$Type extends MessageType<Restriction> {
{ no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "Status", kind: "scalar", localName: "Status", jsonName: "Status", T: 8 /*ScalarType.BOOL*/ },
{ no: 7, name: "Rules", kind: "message", localName: "Rules", jsonName: "Rules", repeat: 1 /*RepeatType.PACKED*/, T: () => Rule },
{ no: 7, name: "Rules", kind: "message", localName: "Rules", jsonName: "Rules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Rule },
{ no: 8, name: "UpdatedAt", kind: "scalar", localName: "UpdatedAt", jsonName: "UpdatedAt", T: 9 /*ScalarType.STRING*/ },
{ no: 9, name: "CreatedAt", kind: "scalar", localName: "CreatedAt", jsonName: "CreatedAt", T: 9 /*ScalarType.STRING*/ }
]);
@@ -686,7 +686,7 @@ class CreateRestrictionRequest$Type extends MessageType<CreateRestrictionRequest
{ no: 2, name: "TargetType", kind: "enum", localName: "TargetType", jsonName: "TargetType", T: () => ["api.RestrictionType", RestrictionType, "RESTRICTION_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "Rules", kind: "message", localName: "Rules", jsonName: "Rules", repeat: 1 /*RepeatType.PACKED*/, T: () => RestrictionRule }
{ no: 5, name: "Rules", kind: "message", localName: "Rules", jsonName: "Rules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RestrictionRule }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "TargetType", "Name"] } } });
}
create(value?: PartialMessage<CreateRestrictionRequest>): CreateRestrictionRequest {
@@ -810,7 +810,7 @@ class UpdateRestrictionRequest$Type extends MessageType<UpdateRestrictionRequest
{ no: 2, name: "RestrictionID", kind: "scalar", localName: "RestrictionID", jsonName: "RestrictionID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "Rules", kind: "message", localName: "Rules", jsonName: "Rules", repeat: 1 /*RepeatType.PACKED*/, T: () => RestrictionRule }
{ no: 5, name: "Rules", kind: "message", localName: "Rules", jsonName: "Rules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RestrictionRule }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "RestrictionID", "Name"] } } });
}
create(value?: PartialMessage<UpdateRestrictionRequest>): UpdateRestrictionRequest {
@@ -1084,7 +1084,7 @@ export const ListRestrictionsRequest = new ListRestrictionsRequest$Type();
class ListRestrictionsResponse$Type extends MessageType<ListRestrictionsResponse> {
constructor() {
super("api.ListRestrictionsResponse", [
{ no: 1, name: "Restrictions", kind: "message", localName: "Restrictions", jsonName: "Restrictions", repeat: 1 /*RepeatType.PACKED*/, T: () => Restriction }
{ no: 1, name: "Restrictions", kind: "message", localName: "Restrictions", jsonName: "Restrictions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Restriction }
]);
}
create(value?: PartialMessage<ListRestrictionsResponse>): ListRestrictionsResponse {
@@ -1803,7 +1803,7 @@ export const ComputeRuleRequest = new ComputeRuleRequest$Type();
class ComputeRuleResponse$Type extends MessageType<ComputeRuleResponse> {
constructor() {
super("api.ComputeRuleResponse", [
{ no: 1, name: "Results", kind: "message", localName: "Results", jsonName: "Results", repeat: 1 /*RepeatType.PACKED*/, T: () => RuleComputeResult }
{ no: 1, name: "Results", kind: "message", localName: "Results", jsonName: "Results", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuleComputeResult }
]);
}
create(value?: PartialMessage<ComputeRuleResponse>): ComputeRuleResponse {