UNPKG

@copado/copado-cli

Version:

Copado Developer CLI

25 lines 917 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const sObjectSelector_1 = __importDefault(require("./sObjectSelector")); class ConnectionsSelector extends sObjectSelector_1.default { constructor() { super(...arguments); this.fields = [ 'Id', 'Name', 'copado__Source_Environment__r.Name', 'copado__Destination_Environment__r.Name', 'copado__Branch__c', 'copado__Destination_Branch__c', ]; this.sObject = 'copado__Deployment_Flow_Step__c'; } byPipelineId(pipelineId) { return this.getRecords(`copado__Deployment_Flow__c = '${pipelineId}'`); } } exports.default = ConnectionsSelector; //# sourceMappingURL=connections.js.map