UNPKG

salesforce-alm

Version:

This package contains tools, and APIs, for an improved salesforce.com developer experience.

22 lines (20 loc) 839 B
"use strict"; /* * Copyright (c) 2020, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ Object.defineProperty(exports, "__esModule", { value: true }); exports.DuplicateRuleMetadataType = void 0; const defaultMetadataType_1 = require("./defaultMetadataType"); class DuplicateRuleMetadataType extends defaultMetadataType_1.DefaultMetadataType { getAggregateFullNameFromFileProperty(fileProperty, namespace) { if (namespace) { return fileProperty.fullName.replace(`${namespace}__`, ''); } return fileProperty.fullName; } } exports.DuplicateRuleMetadataType = DuplicateRuleMetadataType; //# sourceMappingURL=duplicateRuleMetadataType.js.map