From 9e2ec2b47c69511e3c526bc9ac5fee202224627a Mon Sep 17 00:00:00 2001 From: ci core model Date: Fri, 16 Jan 2026 12:34:04 +0000 Subject: [PATCH] Latest generation --- CHANGELOG.md | 2 +- lib/role.pb.dart | 42 +++--------------------------------------- lib/role.pbenum.dart | 17 ----------------- lib/role.pbjson.dart | 35 ++++++----------------------------- lib/shared.pb.dart | 6 ++++++ lib/shared.pbenum.dart | 17 +++++++++++++++++ lib/shared.pbjson.dart | 19 ++++++++++++++++++- pubspec.yaml | 2 +- 8 files changed, 52 insertions(+), 88 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2632868d..4acd9e13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.13.0-SNAPSHOT-260116101924 +Lib version: 1.13.0-SNAPSHOT-260116123319 diff --git a/lib/role.pb.dart b/lib/role.pb.dart index dff0f218..5c8f2141 100644 --- a/lib/role.pb.dart +++ b/lib/role.pb.dart @@ -36,7 +36,7 @@ class Role extends $pb.GeneratedMessage { $core.String? createdBy, $core.String? description, $core.Iterable? externalPermissions, - $core.Iterable? tags, + $core.Iterable<$1.RoleTag>? tags, }) { final result = create(); if (iD != null) result.iD = iD; @@ -73,7 +73,7 @@ class Role extends $pb.GeneratedMessage { ..aOS(12, _omitFieldNames ? '' : 'CreatedBy', protoName: 'CreatedBy') ..aOS(13, _omitFieldNames ? '' : 'Description', protoName: 'Description') ..pc(14, _omitFieldNames ? '' : 'ExternalPermissions', $pb.PbFieldType.PM, protoName: 'ExternalPermissions', subBuilder: ExternalPermission.create) - ..pc(15, _omitFieldNames ? '' : 'Tags', $pb.PbFieldType.KE, protoName: 'Tags', valueOf: RoleTag.valueOf, enumValues: RoleTag.values, defaultEnumValue: RoleTag.ROLE_TAG_UNKNOWN) + ..pc<$1.RoleTag>(15, _omitFieldNames ? '' : 'Tags', $pb.PbFieldType.KE, protoName: 'Tags', valueOf: $1.RoleTag.valueOf, enumValues: $1.RoleTag.values, defaultEnumValue: $1.RoleTag.ROLE_TAG_UNKNOWN) ..hasRequiredFields = false ; @@ -191,7 +191,7 @@ class Role extends $pb.GeneratedMessage { $pb.PbList get externalPermissions => $_getList(11); @$pb.TagNumber(15) - $pb.PbList get tags => $_getList(12); + $pb.PbList<$1.RoleTag> get tags => $_getList(12); } class ExternalPermission extends $pb.GeneratedMessage { @@ -254,7 +254,6 @@ class CreatePlatformRoleRequest extends $pb.GeneratedMessage { RoleType? type, ApplicationType? applicationType, $core.String? description, - $core.Iterable? tags, }) { final result = create(); if (name != null) result.name = name; @@ -263,7 +262,6 @@ class CreatePlatformRoleRequest extends $pb.GeneratedMessage { if (type != null) result.type = type; if (applicationType != null) result.applicationType = applicationType; if (description != null) result.description = description; - if (tags != null) result.tags.addAll(tags); return result; } @@ -279,7 +277,6 @@ class CreatePlatformRoleRequest extends $pb.GeneratedMessage { ..e(6, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: RoleType.ROLE_TYPE_UNKNOWN, valueOf: RoleType.valueOf, enumValues: RoleType.values) ..e(7, _omitFieldNames ? '' : 'ApplicationType', $pb.PbFieldType.OE, protoName: 'ApplicationType', defaultOrMaker: ApplicationType.PROPAGATE, valueOf: ApplicationType.valueOf, enumValues: ApplicationType.values) ..aOS(8, _omitFieldNames ? '' : 'Description', protoName: 'Description') - ..pc(9, _omitFieldNames ? '' : 'Tags', $pb.PbFieldType.KE, protoName: 'Tags', valueOf: RoleTag.valueOf, enumValues: RoleTag.values, defaultEnumValue: RoleTag.ROLE_TAG_UNKNOWN) ..hasRequiredFields = false ; @@ -347,9 +344,6 @@ class CreatePlatformRoleRequest extends $pb.GeneratedMessage { $core.bool hasDescription() => $_has(5); @$pb.TagNumber(8) void clearDescription() => $_clearField(8); - - @$pb.TagNumber(9) - $pb.PbList get tags => $_getList(6); } class CreatePlatformRoleResult extends $pb.GeneratedMessage { @@ -408,7 +402,6 @@ class CreateOrganisationRoleRequest extends $pb.GeneratedMessage { $core.Iterable<$1.Permission>? permissions, RoleType? type, $core.String? description, - $core.Iterable? tags, }) { final result = create(); if (header != null) result.header = header; @@ -417,7 +410,6 @@ class CreateOrganisationRoleRequest extends $pb.GeneratedMessage { if (permissions != null) result.permissions.addAll(permissions); if (type != null) result.type = type; if (description != null) result.description = description; - if (tags != null) result.tags.addAll(tags); return result; } @@ -433,7 +425,6 @@ class CreateOrganisationRoleRequest extends $pb.GeneratedMessage { ..pc<$1.Permission>(5, _omitFieldNames ? '' : 'Permissions', $pb.PbFieldType.PM, protoName: 'Permissions', subBuilder: $1.Permission.create) ..e(6, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: RoleType.ROLE_TYPE_UNKNOWN, valueOf: RoleType.valueOf, enumValues: RoleType.values) ..aOS(7, _omitFieldNames ? '' : 'Description', protoName: 'Description') - ..pc(9, _omitFieldNames ? '' : 'Tags', $pb.PbFieldType.KE, protoName: 'Tags', valueOf: RoleTag.valueOf, enumValues: RoleTag.values, defaultEnumValue: RoleTag.ROLE_TAG_UNKNOWN) ..hasRequiredFields = false ; @@ -503,9 +494,6 @@ class CreateOrganisationRoleRequest extends $pb.GeneratedMessage { $core.bool hasDescription() => $_has(5); @$pb.TagNumber(7) void clearDescription() => $_clearField(7); - - @$pb.TagNumber(9) - $pb.PbList get tags => $_getList(6); } class CreateOrganisationRoleResult extends $pb.GeneratedMessage { @@ -564,7 +552,6 @@ class CreateProjectRoleRequest extends $pb.GeneratedMessage { $core.Iterable<$1.Permission>? permissions, RoleType? type, $core.String? description, - $core.Iterable? tags, }) { final result = create(); if (header != null) result.header = header; @@ -573,7 +560,6 @@ class CreateProjectRoleRequest extends $pb.GeneratedMessage { if (permissions != null) result.permissions.addAll(permissions); if (type != null) result.type = type; if (description != null) result.description = description; - if (tags != null) result.tags.addAll(tags); return result; } @@ -589,7 +575,6 @@ class CreateProjectRoleRequest extends $pb.GeneratedMessage { ..pc<$1.Permission>(5, _omitFieldNames ? '' : 'Permissions', $pb.PbFieldType.PM, protoName: 'Permissions', subBuilder: $1.Permission.create) ..e(6, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: RoleType.ROLE_TYPE_UNKNOWN, valueOf: RoleType.valueOf, enumValues: RoleType.values) ..aOS(7, _omitFieldNames ? '' : 'Description', protoName: 'Description') - ..pc(9, _omitFieldNames ? '' : 'Tags', $pb.PbFieldType.KE, protoName: 'Tags', valueOf: RoleTag.valueOf, enumValues: RoleTag.values, defaultEnumValue: RoleTag.ROLE_TAG_UNKNOWN) ..hasRequiredFields = false ; @@ -659,9 +644,6 @@ class CreateProjectRoleRequest extends $pb.GeneratedMessage { $core.bool hasDescription() => $_has(5); @$pb.TagNumber(7) void clearDescription() => $_clearField(7); - - @$pb.TagNumber(9) - $pb.PbList get tags => $_getList(6); } class CreateProjectRoleResult extends $pb.GeneratedMessage { @@ -720,7 +702,6 @@ class UpdatePlatformRoleRequest extends $pb.GeneratedMessage { RoleType? type, ApplicationType? applicationType, $core.String? description, - $core.Iterable? tags, }) { final result = create(); if (name != null) result.name = name; @@ -729,7 +710,6 @@ class UpdatePlatformRoleRequest extends $pb.GeneratedMessage { if (type != null) result.type = type; if (applicationType != null) result.applicationType = applicationType; if (description != null) result.description = description; - if (tags != null) result.tags.addAll(tags); return result; } @@ -745,7 +725,6 @@ class UpdatePlatformRoleRequest extends $pb.GeneratedMessage { ..e(6, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: RoleType.ROLE_TYPE_UNKNOWN, valueOf: RoleType.valueOf, enumValues: RoleType.values) ..e(7, _omitFieldNames ? '' : 'ApplicationType', $pb.PbFieldType.OE, protoName: 'ApplicationType', defaultOrMaker: ApplicationType.PROPAGATE, valueOf: ApplicationType.valueOf, enumValues: ApplicationType.values) ..aOS(8, _omitFieldNames ? '' : 'Description', protoName: 'Description') - ..pc(9, _omitFieldNames ? '' : 'Tags', $pb.PbFieldType.KE, protoName: 'Tags', valueOf: RoleTag.valueOf, enumValues: RoleTag.values, defaultEnumValue: RoleTag.ROLE_TAG_UNKNOWN) ..hasRequiredFields = false ; @@ -813,9 +792,6 @@ class UpdatePlatformRoleRequest extends $pb.GeneratedMessage { $core.bool hasDescription() => $_has(5); @$pb.TagNumber(8) void clearDescription() => $_clearField(8); - - @$pb.TagNumber(9) - $pb.PbList get tags => $_getList(6); } class UpdatePlatformRoleResult extends $pb.GeneratedMessage { @@ -874,7 +850,6 @@ class UpdateOrganisationRoleRequest extends $pb.GeneratedMessage { $core.Iterable<$1.Permission>? permissions, RoleType? type, $core.String? description, - $core.Iterable? tags, }) { final result = create(); if (header != null) result.header = header; @@ -883,7 +858,6 @@ class UpdateOrganisationRoleRequest extends $pb.GeneratedMessage { if (permissions != null) result.permissions.addAll(permissions); if (type != null) result.type = type; if (description != null) result.description = description; - if (tags != null) result.tags.addAll(tags); return result; } @@ -899,7 +873,6 @@ class UpdateOrganisationRoleRequest extends $pb.GeneratedMessage { ..pc<$1.Permission>(5, _omitFieldNames ? '' : 'Permissions', $pb.PbFieldType.PM, protoName: 'Permissions', subBuilder: $1.Permission.create) ..e(6, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: RoleType.ROLE_TYPE_UNKNOWN, valueOf: RoleType.valueOf, enumValues: RoleType.values) ..aOS(7, _omitFieldNames ? '' : 'Description', protoName: 'Description') - ..pc(9, _omitFieldNames ? '' : 'Tags', $pb.PbFieldType.KE, protoName: 'Tags', valueOf: RoleTag.valueOf, enumValues: RoleTag.values, defaultEnumValue: RoleTag.ROLE_TAG_UNKNOWN) ..hasRequiredFields = false ; @@ -969,9 +942,6 @@ class UpdateOrganisationRoleRequest extends $pb.GeneratedMessage { $core.bool hasDescription() => $_has(5); @$pb.TagNumber(7) void clearDescription() => $_clearField(7); - - @$pb.TagNumber(9) - $pb.PbList get tags => $_getList(6); } class UpdateOrganisationRoleResult extends $pb.GeneratedMessage { @@ -1030,7 +1000,6 @@ class UpdateProjectRoleRequest extends $pb.GeneratedMessage { $core.Iterable<$1.Permission>? permissions, RoleType? type, $core.String? description, - $core.Iterable? tags, }) { final result = create(); if (header != null) result.header = header; @@ -1039,7 +1008,6 @@ class UpdateProjectRoleRequest extends $pb.GeneratedMessage { if (permissions != null) result.permissions.addAll(permissions); if (type != null) result.type = type; if (description != null) result.description = description; - if (tags != null) result.tags.addAll(tags); return result; } @@ -1055,7 +1023,6 @@ class UpdateProjectRoleRequest extends $pb.GeneratedMessage { ..pc<$1.Permission>(5, _omitFieldNames ? '' : 'Permissions', $pb.PbFieldType.PM, protoName: 'Permissions', subBuilder: $1.Permission.create) ..e(6, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: RoleType.ROLE_TYPE_UNKNOWN, valueOf: RoleType.valueOf, enumValues: RoleType.values) ..aOS(7, _omitFieldNames ? '' : 'Description', protoName: 'Description') - ..pc(9, _omitFieldNames ? '' : 'Tags', $pb.PbFieldType.KE, protoName: 'Tags', valueOf: RoleTag.valueOf, enumValues: RoleTag.values, defaultEnumValue: RoleTag.ROLE_TAG_UNKNOWN) ..hasRequiredFields = false ; @@ -1125,9 +1092,6 @@ class UpdateProjectRoleRequest extends $pb.GeneratedMessage { $core.bool hasDescription() => $_has(5); @$pb.TagNumber(7) void clearDescription() => $_clearField(7); - - @$pb.TagNumber(9) - $pb.PbList get tags => $_getList(6); } class UpdateProjectRoleResult extends $pb.GeneratedMessage { diff --git a/lib/role.pbenum.dart b/lib/role.pbenum.dart index f6fcbcb3..3b519d58 100644 --- a/lib/role.pbenum.dart +++ b/lib/role.pbenum.dart @@ -46,22 +46,5 @@ class RoleType extends $pb.ProtobufEnum { const RoleType._(super.value, super.name); } -class RoleTag extends $pb.ProtobufEnum { - static const RoleTag ROLE_TAG_UNKNOWN = RoleTag._(0, _omitEnumNames ? '' : 'ROLE_TAG_UNKNOWN'); - static const RoleTag ROLE_TAG_PROJECT_ACTIVITY = RoleTag._(10, _omitEnumNames ? '' : 'ROLE_TAG_PROJECT_ACTIVITY'); - static const RoleTag ROLE_TAG_PROJECT_SITE = RoleTag._(20, _omitEnumNames ? '' : 'ROLE_TAG_PROJECT_SITE'); - - static const $core.List values = [ - ROLE_TAG_UNKNOWN, - ROLE_TAG_PROJECT_ACTIVITY, - ROLE_TAG_PROJECT_SITE, - ]; - - static final $core.Map<$core.int, RoleTag> _byValue = $pb.ProtobufEnum.initByValue(values); - static RoleTag? valueOf($core.int value) => _byValue[value]; - - const RoleTag._(super.value, super.name); -} - const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/role.pbjson.dart b/lib/role.pbjson.dart index c6a8fa9c..6ddd6ff7 100644 --- a/lib/role.pbjson.dart +++ b/lib/role.pbjson.dart @@ -43,21 +43,6 @@ final $typed_data.Uint8List roleTypeDescriptor = $convert.base64Decode( 'CghSb2xlVHlwZRIVChFST0xFX1RZUEVfVU5LTk9XThAAEhgKFFJPTEVfVFlQRV9QRVJNSVNTSU' '9OEAoSFwoTUk9MRV9UWVBFX0NPTVBPU0lURRAU'); -@$core.Deprecated('Use roleTagDescriptor instead') -const RoleTag$json = { - '1': 'RoleTag', - '2': [ - {'1': 'ROLE_TAG_UNKNOWN', '2': 0}, - {'1': 'ROLE_TAG_PROJECT_ACTIVITY', '2': 10}, - {'1': 'ROLE_TAG_PROJECT_SITE', '2': 20}, - ], -}; - -/// Descriptor for `RoleTag`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List roleTagDescriptor = $convert.base64Decode( - 'CgdSb2xlVGFnEhQKEFJPTEVfVEFHX1VOS05PV04QABIdChlST0xFX1RBR19QUk9KRUNUX0FDVE' - 'lWSVRZEAoSGQoVUk9MRV9UQUdfUFJPSkVDVF9TSVRFEBQ='); - @$core.Deprecated('Use roleDescriptor instead') const Role$json = { '1': 'Role', @@ -116,7 +101,6 @@ const CreatePlatformRoleRequest$json = { {'1': 'Type', '3': 6, '4': 1, '5': 14, '6': '.api.RoleType', '8': {}, '10': 'Type'}, {'1': 'ApplicationType', '3': 7, '4': 1, '5': 14, '6': '.api.ApplicationType', '8': {}, '10': 'ApplicationType'}, {'1': 'Description', '3': 8, '4': 1, '5': 9, '10': 'Description'}, - {'1': 'Tags', '3': 9, '4': 3, '5': 14, '6': '.api.RoleTag', '10': 'Tags'}, ], }; @@ -129,7 +113,7 @@ final $typed_data.Uint8List createPlatformRoleRequestDescriptor = $convert.base6 'cGkuUGVybWlzc2lvblILUGVybWlzc2lvbnMSKwoEVHlwZRgGIAEoDjINLmFwaS5Sb2xlVHlwZU' 'II+kIFggECEAFSBFR5cGUSSAoPQXBwbGljYXRpb25UeXBlGAcgASgOMhQuYXBpLkFwcGxpY2F0' 'aW9uVHlwZUII+kIFggECEAFSD0FwcGxpY2F0aW9uVHlwZRIgCgtEZXNjcmlwdGlvbhgIIAEoCV' - 'ILRGVzY3JpcHRpb24SIAoEVGFncxgJIAMoDjIMLmFwaS5Sb2xlVGFnUgRUYWdz'); + 'ILRGVzY3JpcHRpb24='); @$core.Deprecated('Use createPlatformRoleResultDescriptor instead') const CreatePlatformRoleResult$json = { @@ -154,7 +138,6 @@ const CreateOrganisationRoleRequest$json = { {'1': 'Permissions', '3': 5, '4': 3, '5': 11, '6': '.api.Permission', '10': 'Permissions'}, {'1': 'Type', '3': 6, '4': 1, '5': 14, '6': '.api.RoleType', '8': {}, '10': 'Type'}, {'1': 'Description', '3': 7, '4': 1, '5': 9, '10': 'Description'}, - {'1': 'Tags', '3': 9, '4': 3, '5': 14, '6': '.api.RoleTag', '10': 'Tags'}, ], }; @@ -167,7 +150,7 @@ final $typed_data.Uint8List createOrganisationRoleRequestDescriptor = $convert.b 'KA4yES5hcGkuUmVzb3VyY2VUeXBlQgj6QgWCAQIQAVIMUmVzb3VyY2VUeXBlEjEKC1Blcm1pc3' 'Npb25zGAUgAygLMg8uYXBpLlBlcm1pc3Npb25SC1Blcm1pc3Npb25zEisKBFR5cGUYBiABKA4y' 'DS5hcGkuUm9sZVR5cGVCCPpCBYIBAhABUgRUeXBlEiAKC0Rlc2NyaXB0aW9uGAcgASgJUgtEZX' - 'NjcmlwdGlvbhIgCgRUYWdzGAkgAygOMgwuYXBpLlJvbGVUYWdSBFRhZ3M='); + 'NjcmlwdGlvbg=='); @$core.Deprecated('Use createOrganisationRoleResultDescriptor instead') const CreateOrganisationRoleResult$json = { @@ -192,7 +175,6 @@ const CreateProjectRoleRequest$json = { {'1': 'Permissions', '3': 5, '4': 3, '5': 11, '6': '.api.Permission', '10': 'Permissions'}, {'1': 'Type', '3': 6, '4': 1, '5': 14, '6': '.api.RoleType', '8': {}, '10': 'Type'}, {'1': 'Description', '3': 7, '4': 1, '5': 9, '10': 'Description'}, - {'1': 'Tags', '3': 9, '4': 3, '5': 14, '6': '.api.RoleTag', '10': 'Tags'}, ], }; @@ -204,8 +186,7 @@ final $typed_data.Uint8List createProjectRoleRequestDescriptor = $convert.base64 'g/Oi1bLmEtekEtWjAtOV0rKSokUgROYW1lEj8KDFJlc291cmNlVHlwZRgEIAEoDjIRLmFwaS5S' 'ZXNvdXJjZVR5cGVCCPpCBYIBAhABUgxSZXNvdXJjZVR5cGUSMQoLUGVybWlzc2lvbnMYBSADKA' 'syDy5hcGkuUGVybWlzc2lvblILUGVybWlzc2lvbnMSKwoEVHlwZRgGIAEoDjINLmFwaS5Sb2xl' - 'VHlwZUII+kIFggECEAFSBFR5cGUSIAoLRGVzY3JpcHRpb24YByABKAlSC0Rlc2NyaXB0aW9uEi' - 'AKBFRhZ3MYCSADKA4yDC5hcGkuUm9sZVRhZ1IEVGFncw=='); + 'VHlwZUII+kIFggECEAFSBFR5cGUSIAoLRGVzY3JpcHRpb24YByABKAlSC0Rlc2NyaXB0aW9u'); @$core.Deprecated('Use createProjectRoleResultDescriptor instead') const CreateProjectRoleResult$json = { @@ -230,7 +211,6 @@ const UpdatePlatformRoleRequest$json = { {'1': 'Type', '3': 6, '4': 1, '5': 14, '6': '.api.RoleType', '8': {}, '10': 'Type'}, {'1': 'ApplicationType', '3': 7, '4': 1, '5': 14, '6': '.api.ApplicationType', '8': {}, '10': 'ApplicationType'}, {'1': 'Description', '3': 8, '4': 1, '5': 9, '10': 'Description'}, - {'1': 'Tags', '3': 9, '4': 3, '5': 14, '6': '.api.RoleTag', '10': 'Tags'}, ], }; @@ -243,7 +223,7 @@ final $typed_data.Uint8List updatePlatformRoleRequestDescriptor = $convert.base6 'cGkuUGVybWlzc2lvblILUGVybWlzc2lvbnMSKwoEVHlwZRgGIAEoDjINLmFwaS5Sb2xlVHlwZU' 'II+kIFggECEAFSBFR5cGUSSAoPQXBwbGljYXRpb25UeXBlGAcgASgOMhQuYXBpLkFwcGxpY2F0' 'aW9uVHlwZUII+kIFggECEAFSD0FwcGxpY2F0aW9uVHlwZRIgCgtEZXNjcmlwdGlvbhgIIAEoCV' - 'ILRGVzY3JpcHRpb24SIAoEVGFncxgJIAMoDjIMLmFwaS5Sb2xlVGFnUgRUYWdz'); + 'ILRGVzY3JpcHRpb24='); @$core.Deprecated('Use updatePlatformRoleResultDescriptor instead') const UpdatePlatformRoleResult$json = { @@ -268,7 +248,6 @@ const UpdateOrganisationRoleRequest$json = { {'1': 'Permissions', '3': 5, '4': 3, '5': 11, '6': '.api.Permission', '8': {}, '10': 'Permissions'}, {'1': 'Type', '3': 6, '4': 1, '5': 14, '6': '.api.RoleType', '8': {}, '10': 'Type'}, {'1': 'Description', '3': 7, '4': 1, '5': 9, '10': 'Description'}, - {'1': 'Tags', '3': 9, '4': 3, '5': 14, '6': '.api.RoleTag', '10': 'Tags'}, ], }; @@ -281,7 +260,7 @@ final $typed_data.Uint8List updateOrganisationRoleRequestDescriptor = $convert.b 'KA4yES5hcGkuUmVzb3VyY2VUeXBlQgj6QgWCAQIQAVIMUmVzb3VyY2VUeXBlEjsKC1Blcm1pc3' 'Npb25zGAUgAygLMg8uYXBpLlBlcm1pc3Npb25CCPpCBZIBAggBUgtQZXJtaXNzaW9ucxIrCgRU' 'eXBlGAYgASgOMg0uYXBpLlJvbGVUeXBlQgj6QgWCAQIQAVIEVHlwZRIgCgtEZXNjcmlwdGlvbh' - 'gHIAEoCVILRGVzY3JpcHRpb24SIAoEVGFncxgJIAMoDjIMLmFwaS5Sb2xlVGFnUgRUYWdz'); + 'gHIAEoCVILRGVzY3JpcHRpb24='); @$core.Deprecated('Use updateOrganisationRoleResultDescriptor instead') const UpdateOrganisationRoleResult$json = { @@ -306,7 +285,6 @@ const UpdateProjectRoleRequest$json = { {'1': 'Permissions', '3': 5, '4': 3, '5': 11, '6': '.api.Permission', '10': 'Permissions'}, {'1': 'Type', '3': 6, '4': 1, '5': 14, '6': '.api.RoleType', '8': {}, '10': 'Type'}, {'1': 'Description', '3': 7, '4': 1, '5': 9, '10': 'Description'}, - {'1': 'Tags', '3': 9, '4': 3, '5': 14, '6': '.api.RoleTag', '10': 'Tags'}, ], }; @@ -318,8 +296,7 @@ final $typed_data.Uint8List updateProjectRoleRequestDescriptor = $convert.base64 'g/Oi1bLmEtekEtWjAtOV0rKSokUgROYW1lEj8KDFJlc291cmNlVHlwZRgEIAEoDjIRLmFwaS5S' 'ZXNvdXJjZVR5cGVCCPpCBYIBAhABUgxSZXNvdXJjZVR5cGUSMQoLUGVybWlzc2lvbnMYBSADKA' 'syDy5hcGkuUGVybWlzc2lvblILUGVybWlzc2lvbnMSKwoEVHlwZRgGIAEoDjINLmFwaS5Sb2xl' - 'VHlwZUII+kIFggECEAFSBFR5cGUSIAoLRGVzY3JpcHRpb24YByABKAlSC0Rlc2NyaXB0aW9uEi' - 'AKBFRhZ3MYCSADKA4yDC5hcGkuUm9sZVRhZ1IEVGFncw=='); + 'VHlwZUII+kIFggECEAFSBFR5cGUSIAoLRGVzY3JpcHRpb24YByABKAlSC0Rlc2NyaXB0aW9u'); @$core.Deprecated('Use updateProjectRoleResultDescriptor instead') const UpdateProjectRoleResult$json = { diff --git a/lib/shared.pb.dart b/lib/shared.pb.dart index 398411c1..fcfde0da 100644 --- a/lib/shared.pb.dart +++ b/lib/shared.pb.dart @@ -5416,6 +5416,7 @@ class Scope extends $pb.GeneratedMessage { $core.Iterable<$core.String>? appliesOnIDs, $core.String? moduleID, $core.bool? mandatory, + $core.Iterable? tags, }) { final result = create(); if (service != null) result.service = service; @@ -5427,6 +5428,7 @@ class Scope extends $pb.GeneratedMessage { if (appliesOnIDs != null) result.appliesOnIDs.addAll(appliesOnIDs); if (moduleID != null) result.moduleID = moduleID; if (mandatory != null) result.mandatory = mandatory; + if (tags != null) result.tags.addAll(tags); return result; } @@ -5445,6 +5447,7 @@ class Scope extends $pb.GeneratedMessage { ..pPS(7, _omitFieldNames ? '' : 'AppliesOnIDs', protoName: 'AppliesOnIDs') ..aOS(8, _omitFieldNames ? '' : 'ModuleID', protoName: 'ModuleID') ..aOB(9, _omitFieldNames ? '' : 'Mandatory', protoName: 'Mandatory') + ..pc(10, _omitFieldNames ? '' : 'Tags', $pb.PbFieldType.KE, protoName: 'Tags', valueOf: RoleTag.valueOf, enumValues: RoleTag.values, defaultEnumValue: RoleTag.ROLE_TAG_UNKNOWN) ..hasRequiredFields = false ; @@ -5533,6 +5536,9 @@ class Scope extends $pb.GeneratedMessage { $core.bool hasMandatory() => $_has(8); @$pb.TagNumber(9) void clearMandatory() => $_clearField(9); + + @$pb.TagNumber(10) + $pb.PbList get tags => $_getList(9); } class ClientAPI extends $pb.GeneratedMessage { diff --git a/lib/shared.pbenum.dart b/lib/shared.pbenum.dart index 8e49a06d..0aa36545 100644 --- a/lib/shared.pbenum.dart +++ b/lib/shared.pbenum.dart @@ -512,6 +512,23 @@ class ResourceType extends $pb.ProtobufEnum { const ResourceType._(super.value, super.name); } +class RoleTag extends $pb.ProtobufEnum { + static const RoleTag ROLE_TAG_UNKNOWN = RoleTag._(0, _omitEnumNames ? '' : 'ROLE_TAG_UNKNOWN'); + static const RoleTag ROLE_TAG_PROJECT_ACTIVITY = RoleTag._(10, _omitEnumNames ? '' : 'ROLE_TAG_PROJECT_ACTIVITY'); + static const RoleTag ROLE_TAG_PROJECT_SITE = RoleTag._(20, _omitEnumNames ? '' : 'ROLE_TAG_PROJECT_SITE'); + + static const $core.List values = [ + ROLE_TAG_UNKNOWN, + ROLE_TAG_PROJECT_ACTIVITY, + ROLE_TAG_PROJECT_SITE, + ]; + + static final $core.Map<$core.int, RoleTag> _byValue = $pb.ProtobufEnum.initByValue(values); + static RoleTag? valueOf($core.int value) => _byValue[value]; + + const RoleTag._(super.value, super.name); +} + class PeriodUnit extends $pb.ProtobufEnum { static const PeriodUnit PERIOD_UNIT_UNDEFINED = PeriodUnit._(0, _omitEnumNames ? '' : 'PERIOD_UNIT_UNDEFINED'); static const PeriodUnit PERIOD_UNIT_WORK_HOUR = PeriodUnit._(1, _omitEnumNames ? '' : 'PERIOD_UNIT_WORK_HOUR'); diff --git a/lib/shared.pbjson.dart b/lib/shared.pbjson.dart index 5931907a..db12f295 100644 --- a/lib/shared.pbjson.dart +++ b/lib/shared.pbjson.dart @@ -408,6 +408,21 @@ final $typed_data.Uint8List resourceTypeDescriptor = $convert.base64Decode( 'VSQ0VfVFlQRV9DT05ORUNUSU9OEDISIAocUkVTT1VSQ0VfVFlQRV9BVFRBQ0hNRU5UVFlQRRA8' 'EhsKF1JFU09VUkNFX1RZUEVfQ0xBSU1UWVBFEEY='); +@$core.Deprecated('Use roleTagDescriptor instead') +const RoleTag$json = { + '1': 'RoleTag', + '2': [ + {'1': 'ROLE_TAG_UNKNOWN', '2': 0}, + {'1': 'ROLE_TAG_PROJECT_ACTIVITY', '2': 10}, + {'1': 'ROLE_TAG_PROJECT_SITE', '2': 20}, + ], +}; + +/// Descriptor for `RoleTag`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List roleTagDescriptor = $convert.base64Decode( + 'CgdSb2xlVGFnEhQKEFJPTEVfVEFHX1VOS05PV04QABIdChlST0xFX1RBR19QUk9KRUNUX0FDVE' + 'lWSVRZEAoSGQoVUk9MRV9UQUdfUFJPSkVDVF9TSVRFEBQ='); + @$core.Deprecated('Use periodUnitDescriptor instead') const PeriodUnit$json = { '1': 'PeriodUnit', @@ -1839,6 +1854,7 @@ const Scope$json = { {'1': 'AppliesOnIDs', '3': 7, '4': 3, '5': 9, '10': 'AppliesOnIDs'}, {'1': 'ModuleID', '3': 8, '4': 1, '5': 9, '10': 'ModuleID'}, {'1': 'Mandatory', '3': 9, '4': 1, '5': 8, '10': 'Mandatory'}, + {'1': 'Tags', '3': 10, '4': 3, '5': 14, '6': '.api.RoleTag', '10': 'Tags'}, ], '7': {}, }; @@ -1851,7 +1867,8 @@ final $typed_data.Uint8List scopeDescriptor = $convert.base64Decode( '50UGVybWlzc2lvbnMYBSADKAsyDy5hcGkuUGVybWlzc2lvblIUVHJhbnNpZW50UGVybWlzc2lv' 'bnMSFAoFUnNjSUQYBiABKAlSBVJzY0lEEiIKDEFwcGxpZXNPbklEcxgHIAMoCVIMQXBwbGllc0' '9uSURzEhoKCE1vZHVsZUlEGAggASgJUghNb2R1bGVJRBIcCglNYW5kYXRvcnkYCSABKAhSCU1h' - 'bmRhdG9yeToPkkEMCgrSAQdTZXJ2aWNl'); + 'bmRhdG9yeRIgCgRUYWdzGAogAygOMgwuYXBpLlJvbGVUYWdSBFRhZ3M6D5JBDAoK0gEHU2Vydm' + 'ljZQ=='); @$core.Deprecated('Use clientAPIDescriptor instead') const ClientAPI$json = { diff --git a/pubspec.yaml b/pubspec.yaml index b3bef0c7..084be8b8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_core_sdk description: dart libs from core model proto files -version: 1.13.0-SNAPSHOT-260116101924 +version: 1.13.0-SNAPSHOT-260116123319 homepage: '' publish_to: '' repository: ''