Latest generation

This commit is contained in:
ci core model
2026-03-09 10:45:07 +00:00
parent 2aeb0b6380
commit 2bec069d24
2 changed files with 3 additions and 51 deletions

View File

@@ -43,14 +43,6 @@ export interface CreateAttachmentTypeRequest {
* @generated from protobuf field: api.SharePolicy SharePolicy = 5
*/
SharePolicy: SharePolicy;
/**
* @generated from protobuf field: repeated string ManagerRoles = 6
*/
ManagerRoles: string[];
/**
* @generated from protobuf field: repeated string ViewerRoles = 7
*/
ViewerRoles: string[];
}
/**
* @generated from protobuf message api.CreateAttachmentTypeResponse
@@ -151,14 +143,6 @@ export interface UpdateAttachmentTypeRequest {
* @generated from protobuf field: string ID = 6
*/
ID: string;
/**
* @generated from protobuf field: repeated string ManagerRoles = 7
*/
ManagerRoles: string[];
/**
* @generated from protobuf field: repeated string ViewerRoles = 8
*/
ViewerRoles: string[];
}
/**
* @generated from protobuf message api.UpdateAttachmentTypeResponse
@@ -237,9 +221,7 @@ class CreateAttachmentTypeRequest$Type extends MessageType<CreateAttachmentTypeR
{ no: 2, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9-]+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" } } },
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 4, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "SharePolicy", kind: "enum", localName: "SharePolicy", jsonName: "SharePolicy", T: () => ["api.SharePolicy", SharePolicy], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 6, name: "ManagerRoles", kind: "scalar", localName: "ManagerRoles", jsonName: "ManagerRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "ViewerRoles", kind: "scalar", localName: "ViewerRoles", jsonName: "ViewerRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 5, name: "SharePolicy", kind: "enum", localName: "SharePolicy", jsonName: "SharePolicy", T: () => ["api.SharePolicy", SharePolicy], options: { "validate.rules": { enum: { definedOnly: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Code", "Entity", "Label", "SharePolicy"] } } });
}
create(value?: PartialMessage<CreateAttachmentTypeRequest>): CreateAttachmentTypeRequest {
@@ -248,8 +230,6 @@ class CreateAttachmentTypeRequest$Type extends MessageType<CreateAttachmentTypeR
message.Entity = 0;
message.Label = "";
message.SharePolicy = 0;
message.ManagerRoles = [];
message.ViewerRoles = [];
if (value !== undefined)
reflectionMergePartial<CreateAttachmentTypeRequest>(this, message, value);
return message;
@@ -274,12 +254,6 @@ class CreateAttachmentTypeRequest$Type extends MessageType<CreateAttachmentTypeR
case /* api.SharePolicy SharePolicy */ 5:
message.SharePolicy = reader.int32();
break;
case /* repeated string ManagerRoles */ 6:
message.ManagerRoles.push(reader.string());
break;
case /* repeated string ViewerRoles */ 7:
message.ViewerRoles.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -307,12 +281,6 @@ class CreateAttachmentTypeRequest$Type extends MessageType<CreateAttachmentTypeR
/* api.SharePolicy SharePolicy = 5; */
if (message.SharePolicy !== 0)
writer.tag(5, WireType.Varint).int32(message.SharePolicy);
/* repeated string ManagerRoles = 6; */
for (let i = 0; i < message.ManagerRoles.length; i++)
writer.tag(6, WireType.LengthDelimited).string(message.ManagerRoles[i]);
/* repeated string ViewerRoles = 7; */
for (let i = 0; i < message.ViewerRoles.length; i++)
writer.tag(7, WireType.LengthDelimited).string(message.ViewerRoles[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -595,9 +563,7 @@ class UpdateAttachmentTypeRequest$Type extends MessageType<UpdateAttachmentTypeR
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 4, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "SharePolicy", kind: "enum", localName: "SharePolicy", jsonName: "SharePolicy", T: () => ["api.SharePolicy", SharePolicy], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 6, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" } } },
{ no: 7, name: "ManagerRoles", kind: "scalar", localName: "ManagerRoles", jsonName: "ManagerRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "ViewerRoles", kind: "scalar", localName: "ViewerRoles", jsonName: "ViewerRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 6, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Code", "Entity"] } } });
}
create(value?: PartialMessage<UpdateAttachmentTypeRequest>): UpdateAttachmentTypeRequest {
@@ -607,8 +573,6 @@ class UpdateAttachmentTypeRequest$Type extends MessageType<UpdateAttachmentTypeR
message.Label = "";
message.SharePolicy = 0;
message.ID = "";
message.ManagerRoles = [];
message.ViewerRoles = [];
if (value !== undefined)
reflectionMergePartial<UpdateAttachmentTypeRequest>(this, message, value);
return message;
@@ -636,12 +600,6 @@ class UpdateAttachmentTypeRequest$Type extends MessageType<UpdateAttachmentTypeR
case /* string ID */ 6:
message.ID = reader.string();
break;
case /* repeated string ManagerRoles */ 7:
message.ManagerRoles.push(reader.string());
break;
case /* repeated string ViewerRoles */ 8:
message.ViewerRoles.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -672,12 +630,6 @@ class UpdateAttachmentTypeRequest$Type extends MessageType<UpdateAttachmentTypeR
/* string ID = 6; */
if (message.ID !== "")
writer.tag(6, WireType.LengthDelimited).string(message.ID);
/* repeated string ManagerRoles = 7; */
for (let i = 0; i < message.ManagerRoles.length; i++)
writer.tag(7, WireType.LengthDelimited).string(message.ManagerRoles[i]);
/* repeated string ViewerRoles = 8; */
for (let i = 0; i < message.ViewerRoles.length; i++)
writer.tag(8, WireType.LengthDelimited).string(message.ViewerRoles[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -1,6 +1,6 @@
{
"name": "@reflex-platform/npm-core-sdk",
"version": "1.13.0-SNAPSHOT-260309102925",
"version": "1.13.0-SNAPSHOT-260309104423",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",