@lowcodeunit/applications-flow-common 1.33.281-lets-get-social-ish → 1.33.282-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.
- package/esm2020/lib/controls/devops-source-control-form/devops-source-control-form.component.mjs +4 -2
- package/esm2020/lib/controls/processor-details-form/processor-details-form.component.mjs +5 -4
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +7 -5
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +7 -4
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4121,6 +4121,7 @@ class DevopsSourceControlFormComponent {
|
|
|
4121
4121
|
source = Object.assign(Object.assign({}, source), { Type: 'GitHub', Name: `@${this.OrganizationFormControl.value}/${this.RepositoryFormControl.value}`, DevOpsActionTriggerLookups: [this.DevOpsActionLookup], Organization: this.OrganizationFormControl.value, Repository: this.RepositoryFormControl.value });
|
|
4122
4122
|
const scLookup = `github://${source.Organization}/${source.Repository}`;
|
|
4123
4123
|
saveEnvReq.Environment.Sources[scLookup] = source;
|
|
4124
|
+
console.log('save SC: ', saveEnvReq);
|
|
4124
4125
|
let resp = this.eacSvc.SaveEnvironmentAsCode(saveEnvReq);
|
|
4125
4126
|
resp.then((res) => {
|
|
4126
4127
|
this.SaveStatusEvent.emit(res);
|
|
@@ -4255,7 +4256,8 @@ class DevopsSourceControlFormComponent {
|
|
|
4255
4256
|
}
|
|
4256
4257
|
setupFormControls() {
|
|
4257
4258
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
4258
|
-
|
|
4259
|
+
this.destroyFormControls();
|
|
4260
|
+
console.log("Source Control: ", this.EditingSourceControl);
|
|
4259
4261
|
this.DevOpsSourceControlFormGroup.addControl('devOpsActionLookup', new FormControl(this.DevOpsActionLookup || '', []));
|
|
4260
4262
|
this.DevOpsSourceControlFormGroup.addControl([this.SourceControlRoot, 'organization'].join(''), new FormControl((_a = this.EditingSourceControl.Organization) !== null && _a !== void 0 ? _a : '', Validators.required));
|
|
4261
4263
|
this.DevOpsSourceControlFormGroup.addControl([this.SourceControlRoot, 'repository'].join(''), new FormControl((_b = this.EditingSourceControl.Repository) !== null && _b !== void 0 ? _b : '', Validators.required));
|
|
@@ -4858,16 +4860,16 @@ class ProcessorDetailsFormComponent {
|
|
|
4858
4860
|
listBuildPaths() {
|
|
4859
4861
|
var _a, _b;
|
|
4860
4862
|
this.State.Loading = true;
|
|
4863
|
+
console.log("Source Control: ", this.SourceControls[this.SourceControlFormControl.value]);
|
|
4861
4864
|
this.appsFlowSvc
|
|
4862
4865
|
.ListBuildPaths((_a = this.SourceControls[this.SourceControlFormControl.value]) === null || _a === void 0 ? void 0 : _a.Organization, (_b = this.SourceControls[this.SourceControlFormControl.value]) === null || _b === void 0 ? void 0 : _b.Repository)
|
|
4863
4866
|
.subscribe((response) => {
|
|
4864
|
-
var _a;
|
|
4865
4867
|
this.BuildPathOptions = response.Model;
|
|
4866
4868
|
console.log("build path options: ", this.BuildPathOptions);
|
|
4867
4869
|
this.State.Loading = false;
|
|
4868
|
-
if (
|
|
4869
|
-
|
|
4870
|
-
}
|
|
4870
|
+
// if (this.BuildPathOptions?.length === 1) {
|
|
4871
|
+
// this.BuildPathFormControl.setValue(this.BuildPathOptions[0]);
|
|
4872
|
+
// }
|
|
4871
4873
|
});
|
|
4872
4874
|
}
|
|
4873
4875
|
setupLcuTypeSubForm() {
|