@lowcodeunit/applications-flow-common 1.36.181-LicenseAndBilling → 1.36.182-LicenseAndBilling
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.
|
@@ -381,7 +381,7 @@ class ProjectService {
|
|
|
381
381
|
this.appsFlowSvc.EnterpriseAsCodeRemovals(eac).subscribe((response) => __awaiter(this, void 0, void 0, function* () {
|
|
382
382
|
if (response.Status.Code === 0) {
|
|
383
383
|
resolve(response.Status);
|
|
384
|
-
|
|
384
|
+
yield Promise.all([
|
|
385
385
|
this.LoadEnterpriseAsCode(state),
|
|
386
386
|
this.LoadUserFeed(1, 25, false, state),
|
|
387
387
|
]);
|
|
@@ -469,10 +469,6 @@ class ProjectService {
|
|
|
469
469
|
state.Loading = true;
|
|
470
470
|
this.appsFlowSvc.HasValidConnection().subscribe((response) => __awaiter(this, void 0, void 0, function* () {
|
|
471
471
|
state.GitHub.HasConnection = response.Status.Code === 0;
|
|
472
|
-
if (state.GitHub.HasConnection || forceEnsureUser) {
|
|
473
|
-
}
|
|
474
|
-
else {
|
|
475
|
-
}
|
|
476
472
|
resolve({});
|
|
477
473
|
}), (err) => {
|
|
478
474
|
state.Loading = false;
|
|
@@ -512,22 +508,20 @@ class ProjectService {
|
|
|
512
508
|
if (response.Status.Code === 0) {
|
|
513
509
|
state.EaC = response.Model || {};
|
|
514
510
|
}
|
|
515
|
-
else if (response.Status.Code === 3) {
|
|
516
|
-
}
|
|
517
511
|
state.EaC = state.EaC || {};
|
|
518
512
|
this.CreatingProject =
|
|
519
|
-
Object.keys(((
|
|
513
|
+
Object.keys(((state === null || state === void 0 ? void 0 : state.EaC) === null || _a === void 0 ? void 0 : _a.Projects) || {}).length <= 0;
|
|
520
514
|
resolve(state.EaC);
|
|
521
515
|
this.activatedRoute.queryParams.subscribe((params) => {
|
|
522
516
|
var _a;
|
|
523
517
|
if ((params === null || params === void 0 ? void 0 : params.direct) == 'true') {
|
|
524
|
-
let projKeys = Object.keys(
|
|
518
|
+
let projKeys = Object.keys();
|
|
525
519
|
if (projKeys.length == 1) {
|
|
526
520
|
console.log('Directing to deeper link');
|
|
527
|
-
let appKeys = Object.keys(
|
|
521
|
+
let appKeys = Object.keys();
|
|
528
522
|
if (appKeys.length == 1) {
|
|
529
523
|
let app = state.EaC.Applications[appKeys[0]];
|
|
530
|
-
let routeKey = encodeURIComponent(((
|
|
524
|
+
let routeKey = encodeURIComponent(((app.LookupConfig.PathRegex) === null || _a === void 0 ? void 0 : _a.replace('.*', '')) || '/');
|
|
531
525
|
window.location.href = `/dashboard/application/${appKeys[0]}/${routeKey}/${projKeys[0]}`;
|
|
532
526
|
}
|
|
533
527
|
else {
|
|
@@ -608,7 +602,7 @@ class ProjectService {
|
|
|
608
602
|
state.ActiveEnterpriseLookup = activeEntLookup;
|
|
609
603
|
console.log('project service State active ent: ', state.ActiveEnterpriseLookup);
|
|
610
604
|
resolve(response.Status);
|
|
611
|
-
|
|
605
|
+
yield Promise.all([
|
|
612
606
|
this.LoadEnterpriseAsCode(state),
|
|
613
607
|
this.LoadUserFeed(1, 25, false, state),
|
|
614
608
|
]);
|
|
@@ -633,7 +627,7 @@ class ProjectService {
|
|
|
633
627
|
this.appsFlowSvc.SaveEnterpriseAsCode(eac).subscribe((response) => __awaiter(this, void 0, void 0, function* () {
|
|
634
628
|
if (response.Status.Code === 0) {
|
|
635
629
|
resolve(response.Status);
|
|
636
|
-
|
|
630
|
+
yield Promise.all([
|
|
637
631
|
this.LoadEnterpriseAsCode(state),
|
|
638
632
|
this.LoadUserFeed(1, 25, false, state),
|
|
639
633
|
]);
|
|
@@ -682,7 +676,7 @@ class ProjectService {
|
|
|
682
676
|
this.appsFlowSvc.SubmitFeedEntry(entry).subscribe((response) => __awaiter(this, void 0, void 0, function* () {
|
|
683
677
|
if (response.Status.Code === 0) {
|
|
684
678
|
resolve(response.Status);
|
|
685
|
-
|
|
679
|
+
yield Promise.all([
|
|
686
680
|
this.LoadEnterpriseAsCode(state),
|
|
687
681
|
this.LoadUserFeed(1, 25, false, state),
|
|
688
682
|
]);
|
|
@@ -709,7 +703,7 @@ class ProjectService {
|
|
|
709
703
|
this.appsFlowSvc.UnpackLowCodeUnit(req).subscribe((response) => __awaiter(this, void 0, void 0, function* () {
|
|
710
704
|
if (response.Status.Code === 0) {
|
|
711
705
|
resolve(response.Status);
|
|
712
|
-
|
|
706
|
+
yield Promise.all([
|
|
713
707
|
this.LoadEnterpriseAsCode(state),
|
|
714
708
|
this.LoadUserFeed(1, 25, false, state),
|
|
715
709
|
]);
|