@elyx-code/project-logic-tree 0.0.6580 → 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.d.ts +2 -4
- package/dist/index.js +22 -25
- package/dist/index.umd.cjs +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4872,7 +4872,6 @@ export declare class DefaultPublicationRunContext extends ExtensionContextBase<E
|
|
|
4872
4872
|
get projectPublishedSemanticVersion(): string;
|
|
4873
4873
|
get projectVersion(): string;
|
|
4874
4874
|
get projectId(): string;
|
|
4875
|
-
get cloudProvider(): CloudProviders;
|
|
4876
4875
|
get triggeredBy(): string;
|
|
4877
4876
|
get createdAt(): string;
|
|
4878
4877
|
get updatedAt(): string;
|
|
@@ -17977,7 +17976,6 @@ export declare class PublicationRun implements IPublicationRun, IPublicationRunC
|
|
|
17977
17976
|
projectPublishedSemanticVersion: string;
|
|
17978
17977
|
projectVersion: string;
|
|
17979
17978
|
projectId: string;
|
|
17980
|
-
cloudProvider: CloudProviders;
|
|
17981
17979
|
triggeredBy: string;
|
|
17982
17980
|
createdAt: string;
|
|
17983
17981
|
updatedAt: string;
|
|
@@ -18017,10 +18015,10 @@ export declare class PublicationRun implements IPublicationRun, IPublicationRunC
|
|
|
18017
18015
|
export declare class PublicationStep implements IDeploymentStepDefinition<ExplicitInfrastructureResource | ImplicitGlobalInfrastructureResource> {
|
|
18018
18016
|
stepType: PublishingSequenceStep;
|
|
18019
18017
|
id: string;
|
|
18020
|
-
resourceType: InfrastructureResourceType;
|
|
18018
|
+
resourceType: InfrastructureResourceType | null;
|
|
18021
18019
|
index: number;
|
|
18022
18020
|
dependency: string[];
|
|
18023
|
-
lastEvent
|
|
18021
|
+
lastEvent?: ProjectPublicationEventName | null;
|
|
18024
18022
|
lastEventTimestamp: string | null;
|
|
18025
18023
|
status: PublicationStepStatus;
|
|
18026
18024
|
publicationRun: PublicationRun;
|
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,
|
|
@@ -72582,9 +72583,6 @@ class J$ extends t1 {
|
|
|
72582
72583
|
get projectId() {
|
|
72583
72584
|
return this._publicationRun.projectId;
|
|
72584
72585
|
}
|
|
72585
|
-
get cloudProvider() {
|
|
72586
|
-
return this._publicationRun.cloudProvider;
|
|
72587
|
-
}
|
|
72588
72586
|
get triggeredBy() {
|
|
72589
72587
|
return this._publicationRun.triggeredBy;
|
|
72590
72588
|
}
|
|
@@ -77162,7 +77160,7 @@ class qr {
|
|
|
77162
77160
|
}), u(i);
|
|
77163
77161
|
}
|
|
77164
77162
|
}
|
|
77165
|
-
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 || {});
|
|
77166
77164
|
Wi.CloudHostedCodebase, Wi.HttpApi, Wi.RelationalDatabase, Wi.CloudHostedCodebase, Wi.CloudHostedCodebase, Wi.RelationalDatabase, Wi.CloudHostedCodebase, Wi.CloudHostedCodebase;
|
|
77167
77165
|
function M$t(d) {
|
|
77168
77166
|
return `project-${d}-http-api`;
|
|
@@ -77401,7 +77399,6 @@ class NBt {
|
|
|
77401
77399
|
_(this, "projectPublishedSemanticVersion");
|
|
77402
77400
|
_(this, "projectVersion");
|
|
77403
77401
|
_(this, "projectId");
|
|
77404
|
-
_(this, "cloudProvider");
|
|
77405
77402
|
_(this, "triggeredBy");
|
|
77406
77403
|
_(this, "createdAt");
|
|
77407
77404
|
_(this, "updatedAt");
|
|
@@ -77414,7 +77411,7 @@ class NBt {
|
|
|
77414
77411
|
_(this, "finalStatus", null);
|
|
77415
77412
|
_(this, "contextType", De.PublicationRun);
|
|
77416
77413
|
_(this, "extensionsRegistry");
|
|
77417
|
-
this.id = u.id, this.projectAutoIncrementPublicationCount = u.projectAutoIncrementPublicationCount, this.projectPublishedSemanticVersion = u.projectPublishedSemanticVersion, this.projectVersion = u.projectVersion, this.projectId = u.projectId, this.
|
|
77414
|
+
this.id = u.id, this.projectAutoIncrementPublicationCount = u.projectAutoIncrementPublicationCount, this.projectPublishedSemanticVersion = u.projectPublishedSemanticVersion, this.projectVersion = u.projectVersion, this.projectId = u.projectId, this.triggeredBy = u.triggeredBy, this.createdAt = u.createdAt, this.updatedAt = u.updatedAt, this.status = u.status, this.editor = i, this.initRegistry();
|
|
77418
77415
|
}
|
|
77419
77416
|
get off() {
|
|
77420
77417
|
return this.extensionsRegistry.off;
|