FEAT: remove custom properties endpoints and DTOs from catalog management

This commit is contained in:
viniciusgadea
2026-07-21 16:32:38 -03:00
parent e1cfc6e1a8
commit a93fbfbbd9
6 changed files with 6 additions and 205 deletions
-16
View File
@@ -35,11 +35,9 @@ import {
} from './dtos';
import {
AddRlsRuleRequest,
DeleteCustomPropertyDefinitionRequest,
GetNimbusDashboardsRequest,
GetRlsRulesRequest,
PiiMetadata,
UpsertCustomPropertyDefinitionRequest,
} from '@dadosfera/protospack-v2/dist/lib/Catalog/interfaces/messages';
import { TypeParser } from 'src/utils/FileParser/parser-types';
import { ParserBuilder } from 'src/utils/FileParser/parser.builder';
@@ -126,20 +124,6 @@ class CatalogService implements OnModuleInit {
return lastValueFrom(this.catalogReadService.GetCustomPropertyDefinitions({}, metadata));
}
async upsertCustomPropertyDefinition(
data: UpsertCustomPropertyDefinitionRequest,
metadata: Metadata,
) {
return lastValueFrom(this.catalogWriteService.UpsertCustomPropertyDefinition(data, metadata));
}
async deleteCustomPropertyDefinition(
data: DeleteCustomPropertyDefinitionRequest,
metadata: Metadata,
) {
return lastValueFrom(this.catalogWriteService.DeleteCustomPropertyDefinition(data, metadata));
}
async createDataAsset(data: Messages.CreateDataAssetRequest, metadata) {
this.logger.info('CatalogService - Manage Data assets permissions');
if (!data.embed) data.embed = undefined;