@elyx-code/project-logic-tree 0.0.6581 → 0.0.6582
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/dist/index.js +21 -20
- package/dist/index.umd.cjs +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -65090,36 +65090,37 @@ class Tm {
|
|
|
65090
65090
|
}
|
|
65091
65091
|
// Pre-load values from local storage based on project id
|
|
65092
65092
|
init() {
|
|
65093
|
-
|
|
65093
|
+
var a;
|
|
65094
|
+
if (!((a = this.project) != null && a.id) || this.initialized)
|
|
65094
65095
|
return;
|
|
65095
65096
|
const u = {}, i = {};
|
|
65096
|
-
Object.keys(u).forEach((
|
|
65097
|
-
const
|
|
65097
|
+
Object.keys(u).forEach((l) => {
|
|
65098
|
+
const c = u[l], e = new Mr(c, this.project);
|
|
65098
65099
|
try {
|
|
65099
|
-
if (
|
|
65100
|
-
const
|
|
65101
|
-
|
|
65100
|
+
if (c.parent) {
|
|
65101
|
+
const T = this.project.findSubscribedInstanceFromReference(
|
|
65102
|
+
c.parent
|
|
65102
65103
|
);
|
|
65103
|
-
if (!
|
|
65104
|
+
if (!T)
|
|
65104
65105
|
return;
|
|
65105
|
-
|
|
65106
|
-
} else if (
|
|
65107
|
-
const
|
|
65108
|
-
|
|
65106
|
+
e.setParent(T, null), e.hydrateAncestors(), e.initChildren(null);
|
|
65107
|
+
} else if (c.standaloneParent) {
|
|
65108
|
+
const T = this.project.findSubscribedInstanceFromReference(
|
|
65109
|
+
c.standaloneParent
|
|
65109
65110
|
);
|
|
65110
|
-
if (!
|
|
65111
|
+
if (!T)
|
|
65111
65112
|
return;
|
|
65112
|
-
|
|
65113
|
+
e.standalone = !0, e.setStandaloneParent(T), e.hydrateAncestors(), e.initChildren(null);
|
|
65113
65114
|
}
|
|
65114
|
-
i[
|
|
65115
|
-
const
|
|
65116
|
-
c,
|
|
65115
|
+
i[l] = e;
|
|
65116
|
+
const y = e.parent || e.standaloneParent, v = vgt(
|
|
65117
65117
|
e,
|
|
65118
|
+
y,
|
|
65118
65119
|
this.project
|
|
65119
65120
|
);
|
|
65120
|
-
|
|
65121
|
-
} catch (
|
|
65122
|
-
J.error("Error hydrating ancestors: ",
|
|
65121
|
+
v ? i[l] = v : delete u[l];
|
|
65122
|
+
} catch (y) {
|
|
65123
|
+
J.error("Error hydrating ancestors: ", y), delete u[l];
|
|
65123
65124
|
}
|
|
65124
65125
|
}), this.values = {
|
|
65125
65126
|
...this.values,
|
|
@@ -77159,7 +77160,7 @@ class qr {
|
|
|
77159
77160
|
}), u(i);
|
|
77160
77161
|
}
|
|
77161
77162
|
}
|
|
77162
|
-
var Ef = /* @__PURE__ */ ((d) => (d.Amazon = "amazon", d.Google = "google", d.Microsoft = "microsoft", d))(Ef || {}), Wi = /* @__PURE__ */ ((d) => (d.RelationalDatabase = "relational-database", d.CompiledLocalCodebase = "compiled-local-codebase", d.CloudHostedCodebase = "cloud-hosted-codebase", d.HttpApi = "http-api", d.HttpEndpoint = "http-endpoint", d.ServerlessFunction = "serverless-function", d))(Wi || {}), zA = /* @__PURE__ */ ((d) => (d.Post = "post", d.Get = "get", d.Acknowledgement = "acknowledgment", d.Progress = "progress", d.Error = "error", d.Complete = "complete", d))(zA || {}), jo = /* @__PURE__ */ ((d) => (d.Queued = "queued", d.Running = "running", d.Success = "success", d.Failed = "failed", d.CleanedUp = "cleaned-up", d.Skipped = "skipped", d.AbortedByUser = "aborted-by-user", d.UnrecoverableFailure = "unrecoverable-failure", d.Reverted = "reverted", d.UnpublishingStarted = "unpublishing-started", d.Unpublished = "unpublished", d))(jo || {}), JA = /* @__PURE__ */ ((d) => (d.Queued = "queued", d.Running = "running", d.Success = "success", d.Failed = "failed", d.CleanedUp = "cleaned-up", d.UnrecoverableFailure = "unrecoverable-failure", d.Reverted = "reverted", d.UnpublishingStarted = "unpublishing-started", d.Unpublished = "unpublished", d))(JA || {}), Et = /* @__PURE__ */ ((d) => (d.ProjectNotFound = "project-not-found", d.ProjectPublishRequestAcknowledged = "project-publish-request-acknowledged", d.PublicationStepFailedReasonUnknown = "publication-step-failed-reason-unknown", d.DeploymentCompleted = "deployment-completed", d.DeploymentStarted = "deployment-started", d.DeploymentFailed = "deployment-failed", d.AllInfrastructureSuccessfullyProvisioned = "all-infrastucture-successfully-provisioned", d.RequestPayloadValidationFailed = "request-payload-validation-failed", d.ProjectStateValidationFailedMissingName = "project-state-validation-failed-missing-name", d.ProjectStateValidationFailedMissingAnyFunctionality = "project-state-validation-failed-missing-any-functionality", d.ProjectAlreadyBeingPublished = "project-already-being-published", d.BillingSubscriptionUpdateFailed = "billing-subscription-update-failed", d.RelationalDatabaseDeploymentStarted = "relational-database-deployment-started", d.RelationalDatabaseDeploymentCompleted = "relational-database-deployment-completed", d.RelationalDatabaseDeploymentFailed = "relational-database-deployment-failed", d.CreatingNewRelationalDatabase = "creating-new-relational-database", d.WaitingForPreviousRelationalDatabaseDeployment = "waiting-for-previous-relationa-database-deployment", d.RelationalDatabaseAlreadyExists = "relational-database-already-exists", d.RelationalDatabaseDeletionStarted = "relational-database-deletion-started", d.RelationalDatabaseDeletionCompleted = "relational-database-deletion-completed", d.RelationalDatabaseDeletionFailed = "relational-database-deletion-failed", d.WaitingForPreviousRelationalDatabaseDeletion = "waiting-for-previous-relationa-database-deletion", d.HttpApiDeploymentStarted = "http-api-deployment-started", d.HttpApiDeploymentCompleted = "http-api-deployment-completed", d.HttpApiDeploymentFailed = "http-api-deployment-failed", d.CreatingNewHttpApi = "creating-new-http-api", d.HttpApiAlreadyExists = "http-api-already-exists", d.HttpApiDeletionStarted = "http-api-deletion-started", d.HttpApiDeletionCompleted = "http-api-deletion-completed", d.HttpApiDeletionFailed = "http-api-deletion-failed", d.WaitingForPreviousHttpApiDeletion = "waiting-for-previous-http-api-deletion", d.BusinessLogicCodebaseDeploymentStarted = "business-logic-codebase-deployment-started", d.BusinessLogicCodebaseDeploymentCompleted = "business-logic-codebase-deployment-completed", d.BusinessLogicCodebaseDeploymentFailed = "business-logic-codebase-deployment-failed", d.BundlingCodebaseForDownload = "bundling-codebase-for-download", d.UploadingCodebaseToCloudStorage = "uploading-codebase-to-cloud-storage", d.UploadingCodebaseToCloudStorageCompleted = "uploading-codebase-to-cloud-storage-completed", d.UploadingCodebaseToCloudStorageFailed = "uploading-codebase-to-cloud-storage-failed", d.InfrastructureValuesCodebaseInterpolationStarted = "infrastructure-values-codebase-interpolation-started", d.InfrastructureValuesCodebaseInterpolationCompleted = "infrastructure-values-codebase-interpolation-completed", d.InfrastructureValuesCodebaseInterpolationFailed = "infrastructure-values-codebase-interpolation-failed", d.CodeCompilationStarted = "code-compilation-started", d.CodeCompilationCompleted = "code-compilation-completed", d.CodeCompilationFailed = "code-compilation-failed", d.BundleCodebaseStarted = "bundle-codebase-started", d.BundleCodebaseCompleted = "bundle-codebase-completed", d.BundleCodebaseFailed = "bundle-codebase-failed", d.InstallingCodebaseDependenciesStarted = "installing-codebase-dependencies-started", d.InstallingCodebaseDependenciesCompleted = "installing-codebase-dependencies-completed", d.InstallingCodebaseDependenciesFailed = "installing-codebase-dependencies-failed", d.MigrateRelationalDatabaseStarted = "migrate-relational-database-started", d.MigrateRelationalDatabaseCompleted = "migrate-relational-database-completed", d.MigrateRelationalDatabaseFailed = "migrate-relational-database-failed", d.ExecutePublicationCompletedEventStarted = "execute-publication-completed-event-started", d.ExecutePublicationCompletedEventCompleted = "execute-publication-completed-event-completed", d.ExecutePublicationCompletedEventFailed = "execute-publication-completed-event-failed", d))(Et || {}), Kn = /* @__PURE__ */ ((d) => (d.CodeCompilation = "code-compilation", d.RelationalDatabaseDeployment = "relational-database-deployment", d.RelationalDatabaseDeletion = "relational-database-deletion", d.HttpApiDeployment = "http-api-deployment", d.HttpApiDeletion = "http-api-deletion", d.InfrastructureValuesCodebaseInterpolation = "infrastructure-values-codebase-interpolation", d.BundleCodebase = "bundle-codebase", d.MigrateRelationalDatabase = "migrate-relational-database", d.BusinessLogicCodebaseDeployment = "business-logic-codebase-deployment", d.ExecutePublicationCompletedEvent = "execute-publication-completed-event", d.CodebaseCleanup = "codebase-cleanup", d))(Kn || {});
|
|
77163
|
+
var Ef = /* @__PURE__ */ ((d) => (d.Amazon = "amazon", d.Google = "google", d.Microsoft = "microsoft", d))(Ef || {}), Wi = /* @__PURE__ */ ((d) => (d.RelationalDatabase = "relational-database", d.CompiledLocalCodebase = "compiled-local-codebase", d.CloudHostedCodebase = "cloud-hosted-codebase", d.HttpApi = "http-api", d.HttpEndpoint = "http-endpoint", d.ServerlessFunction = "serverless-function", d))(Wi || {}), zA = /* @__PURE__ */ ((d) => (d.Post = "post", d.Get = "get", d.Acknowledgement = "acknowledgment", d.Progress = "progress", d.Error = "error", d.Complete = "complete", d))(zA || {}), jo = /* @__PURE__ */ ((d) => (d.Queued = "queued", d.Running = "running", d.Success = "success", d.Failed = "failed", d.CleanedUp = "cleaned-up", d.Skipped = "skipped", d.AbortedByUser = "aborted-by-user", d.UnrecoverableFailure = "unrecoverable-failure", d.Reverted = "reverted", d.UnpublishingStarted = "unpublishing-started", d.Unpublished = "unpublished", d))(jo || {}), JA = /* @__PURE__ */ ((d) => (d.Queued = "queued", d.Running = "running", d.Success = "success", d.Failed = "failed", d.CleanedUp = "cleaned-up", d.UnrecoverableFailure = "unrecoverable-failure", d.Reverted = "reverted", d.UnpublishingStarted = "unpublishing-started", d.Unpublished = "unpublished", d))(JA || {}), Et = /* @__PURE__ */ ((d) => (d.ProjectNotFound = "project-not-found", d.ProjectPublishRequestAcknowledged = "project-publish-request-acknowledged", d.PublicationStepFailedReasonUnknown = "publication-step-failed-reason-unknown", d.DeploymentCompleted = "deployment-completed", d.DeploymentStarted = "deployment-started", d.DeploymentFailed = "deployment-failed", d.AllInfrastructureSuccessfullyProvisioned = "all-infrastucture-successfully-provisioned", d.RequestPayloadValidationFailed = "request-payload-validation-failed", d.ProjectStateValidationFailedMissingName = "project-state-validation-failed-missing-name", d.ProjectStateValidationFailedMissingAnyFunctionality = "project-state-validation-failed-missing-any-functionality", d.ProjectAlreadyBeingPublished = "project-already-being-published", d.BillingSubscriptionUpdateFailed = "billing-subscription-update-failed", d.RelationalDatabaseDeploymentStarted = "relational-database-deployment-started", d.RelationalDatabaseDeploymentCompleted = "relational-database-deployment-completed", d.RelationalDatabaseDeploymentFailed = "relational-database-deployment-failed", d.CreatingNewRelationalDatabase = "creating-new-relational-database", d.WaitingForPreviousRelationalDatabaseDeployment = "waiting-for-previous-relationa-database-deployment", d.RelationalDatabaseAlreadyExists = "relational-database-already-exists", d.RelationalDatabaseDeletionStarted = "relational-database-deletion-started", d.RelationalDatabaseDeletionCompleted = "relational-database-deletion-completed", d.RelationalDatabaseDeletionFailed = "relational-database-deletion-failed", d.WaitingForPreviousRelationalDatabaseDeletion = "waiting-for-previous-relationa-database-deletion", d.HttpApiDeploymentStarted = "http-api-deployment-started", d.HttpApiDeploymentCompleted = "http-api-deployment-completed", d.HttpApiDeploymentFailed = "http-api-deployment-failed", d.CreatingNewHttpApi = "creating-new-http-api", d.HttpApiAlreadyExists = "http-api-already-exists", d.HttpApiDeletionStarted = "http-api-deletion-started", d.HttpApiDeletionCompleted = "http-api-deletion-completed", d.HttpApiDeletionFailed = "http-api-deletion-failed", d.WaitingForPreviousHttpApiDeletion = "waiting-for-previous-http-api-deletion", d.BusinessLogicCodebaseDeploymentStarted = "business-logic-codebase-deployment-started", d.BusinessLogicCodebaseDeploymentCompleted = "business-logic-codebase-deployment-completed", d.BusinessLogicCodebaseDeploymentFailed = "business-logic-codebase-deployment-failed", d.BundlingCodebaseForDownload = "bundling-codebase-for-download", d.UploadingCodebaseToCloudStorage = "uploading-codebase-to-cloud-storage", d.UploadingCodebaseToCloudStorageCompleted = "uploading-codebase-to-cloud-storage-completed", d.UploadingCodebaseToCloudStorageFailed = "uploading-codebase-to-cloud-storage-failed", d.InfrastructureValuesCodebaseInterpolationStarted = "infrastructure-values-codebase-interpolation-started", d.InfrastructureValuesCodebaseInterpolationCompleted = "infrastructure-values-codebase-interpolation-completed", d.InfrastructureValuesCodebaseInterpolationFailed = "infrastructure-values-codebase-interpolation-failed", d.CodeCompilationStarted = "code-compilation-started", d.CodeCompilationCompleted = "code-compilation-completed", d.CodeCompilationFailed = "code-compilation-failed", d.BundleCodebaseStarted = "bundle-codebase-started", d.BundleCodebaseCompleted = "bundle-codebase-completed", d.BundleCodebaseFailed = "bundle-codebase-failed", d.InstallingCodebaseDependenciesStarted = "installing-codebase-dependencies-started", d.InstallingCodebaseDependenciesCompleted = "installing-codebase-dependencies-completed", d.InstallingCodebaseDependenciesFailed = "installing-codebase-dependencies-failed", d.MigrateRelationalDatabaseStarted = "migrate-relational-database-started", d.MigrateRelationalDatabaseCompleted = "migrate-relational-database-completed", d.MigrateRelationalDatabaseFailed = "migrate-relational-database-failed", d.ExecutePublicationCompletedEventStarted = "execute-publication-completed-event-started", d.ExecutePublicationCompletedEventCompleted = "execute-publication-completed-event-completed", d.ExecutePublicationCompletedEventFailed = "execute-publication-completed-event-failed", d.ExecutePublicationCompletedEventTimedOut = "execute-publication-completed-event-timed-out", d))(Et || {}), Kn = /* @__PURE__ */ ((d) => (d.CodeCompilation = "code-compilation", d.RelationalDatabaseDeployment = "relational-database-deployment", d.RelationalDatabaseDeletion = "relational-database-deletion", d.HttpApiDeployment = "http-api-deployment", d.HttpApiDeletion = "http-api-deletion", d.InfrastructureValuesCodebaseInterpolation = "infrastructure-values-codebase-interpolation", d.BundleCodebase = "bundle-codebase", d.MigrateRelationalDatabase = "migrate-relational-database", d.BusinessLogicCodebaseDeployment = "business-logic-codebase-deployment", d.ExecutePublicationCompletedEvent = "execute-publication-completed-event", d.CodebaseCleanup = "codebase-cleanup", d))(Kn || {});
|
|
77163
77164
|
Wi.CloudHostedCodebase, Wi.HttpApi, Wi.RelationalDatabase, Wi.CloudHostedCodebase, Wi.CloudHostedCodebase, Wi.RelationalDatabase, Wi.CloudHostedCodebase, Wi.CloudHostedCodebase;
|
|
77164
77165
|
function M$t(d) {
|
|
77165
77166
|
return `project-${d}-http-api`;
|