@lowcodeunit/applications-flow-common 1.33.109-lets-get-social-ish → 1.33.110-lets-get-social-ish

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5618,18 +5618,6 @@
5618
5618
  enumerable: false,
5619
5619
  configurable: true
5620
5620
  });
5621
- Object.defineProperty(BuildPipelineFormComponent.prototype, "EditingSourceControl", {
5622
- get: function () {
5623
- var _a, _b;
5624
- var sc = ((_a = this.Environment) === null || _a === void 0 ? void 0 : _a.Sources) ? (_b = this.Environment) === null || _b === void 0 ? void 0 : _b.Sources[this.EditingSourceControlLookup] : null;
5625
- if (sc == null && this.EditingSourceControlLookup) {
5626
- sc = {};
5627
- }
5628
- return sc;
5629
- },
5630
- enumerable: false,
5631
- configurable: true
5632
- });
5633
5621
  Object.defineProperty(BuildPipelineFormComponent.prototype, "NPMTokenFormControl", {
5634
5622
  get: function () {
5635
5623
  return this.BuildPipelineFormGroup.get('npmToken');
@@ -5738,10 +5726,22 @@
5738
5726
  var doa = Object.assign(Object.assign({}, this.DevOpsAction), { Name: this.DevOpsActionNameFormControl.value });
5739
5727
  saveEnvReq.Environment.DevOpsActions[devOpsActionLookup] = doa;
5740
5728
  }
5741
- var source = Object.assign(Object.assign({}, this.EditingSourceControl), { Branches: this.EditingSourceControl.SelectedBranches, MainBranch: this.EditingSourceControl.MainBranchFormControl.value });
5742
- source = Object.assign(Object.assign({}, source), { Type: 'GitHub', Name: this.EditingSourceControlLookup, DevOpsActionTriggerLookups: [devOpsActionLookup], Organization: this.EditingSourceControl.OrganizationFormControl.value, Repository: this.EditingSourceControl.RepositoryFormControl.value });
5743
- var scLookup = "github://" + source.Organization + "/" + source.Repository;
5744
- saveEnvReq.Environment.Sources[scLookup] = source;
5729
+ // let source: EaCSourceControl = {
5730
+ // ...this.EditingSourceControl,
5731
+ // Branches: this.EditingSourceControl.SelectedBranches,
5732
+ // MainBranch: this.EditingSourceControl.MainBranchFormControl.value,
5733
+ // };
5734
+ // source = {
5735
+ // ...source,
5736
+ // Type: 'GitHub',
5737
+ // Name: this.EditingSourceControlLookup,
5738
+ // DevOpsActionTriggerLookups: [devOpsActionLookup],
5739
+ // Organization:
5740
+ // this.EditingSourceControl.OrganizationFormControl.value,
5741
+ // Repository: this.EditingSourceControl.RepositoryFormControl.value,
5742
+ // };
5743
+ // const scLookup = `github://${source.Organization}/${source.Repository}`;
5744
+ // saveEnvReq.Environment.Sources[scLookup] = source;
5745
5745
  this.eacSvc.SaveEnvironmentAsCode(saveEnvReq);
5746
5746
  };
5747
5747
  // Helpers