@elyx-code/project-logic-tree 0.0.7065 → 0.0.7067
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.cjs +78 -78
- package/dist/index.d.ts +13 -4
- package/dist/index.js +17780 -17709
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import { IHttpEndpointInfrastructureResource } from '@elyx-code/definitions';
|
|
|
24
24
|
import { IHTTPRouteDetails } from '@elyx-code/definitions';
|
|
25
25
|
import { IInfrastructureResource } from '@elyx-code/definitions';
|
|
26
26
|
import { ILiveMessageDTO } from '@elyx-code/definitions';
|
|
27
|
+
import { ILog } from '@elyx-code/definitions';
|
|
27
28
|
import { InfrastructureResource as InfrastructureResource_2 } from '@elyx-code/definitions';
|
|
28
29
|
import { InfrastructureResourceDetails } from '@elyx-code/definitions';
|
|
29
30
|
import { InfrastructureResourceType } from '@elyx-code/definitions';
|
|
@@ -12479,11 +12480,12 @@ export declare enum BaseValueDescriptorIds {
|
|
|
12479
12480
|
get updatedAt(): string;
|
|
12480
12481
|
get status(): PublicationStatus;
|
|
12481
12482
|
get steps(): IDeploymentStepDefinition<IInfrastructureResource>[];
|
|
12483
|
+
get cleanupSteps(): IDeploymentStepDefinition<IInfrastructureResource>[];
|
|
12482
12484
|
get editor(): IEditor;
|
|
12483
12485
|
get explicitResources(): Map<string, IRelationalDatabaseInfrastructureResource | IHttpApiInfrastructureResource | IServerlessFunctionInfrastructureResource | IHttpEndpointInfrastructureResource | IContainerComputeInfrastructureResource>;
|
|
12484
12486
|
get implicitGlobalResources(): Map<InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase | InfrastructureResourceType.AWSTenantAccount, ICloudHostedCodebaseInfrastructureResource | ICompiledLocalCodebaseInfrastructureResource | IAWSTenantAccountInfrastructureResource | null>;
|
|
12485
12487
|
get finalGlobalEvent(): ProjectPublicationEventName | null;
|
|
12486
|
-
get finalStatus(): PublicationStatus.Success | PublicationStatus.Failed | null;
|
|
12488
|
+
get finalStatus(): PublicationStatus.Success | PublicationStatus.Failed | PublicationStatus.UnrecoverableFailure | null;
|
|
12487
12489
|
}
|
|
12488
12490
|
|
|
12489
12491
|
export declare const DEFINITION_ENTITIES_EXPLANATION = "Definition entities define object/key-value-pair data-structures and are equivalent to classes in object-oriented programming languages.\nThey can extend and implement other definition entities and built-in-base-entities, inheriting their properties and methods as well as any built-in functionality linked to them.\nFor example.: If one implements the persisted built in entity, it will become an SQL table when the project is published, same with the base endpoint built-in-base entities.\nThey can be instantiated as variables where the data-type has a reference to them in the 'entity' field.\nSome are not interactive and cannot be instantiated or extended.\nThrough their metadata, they can be made 'abstract', 'static', whether they take 'additionalProperties' or not, and other OOP related features.\nIf a definition entity doesn't extend or implement any built-in-base-entity directly or indirectly, it is equivalent to a type declaration in TypeScript and a class in Javascript.";
|
|
@@ -20593,7 +20595,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
20593
20595
|
explicitResources: Map<string, IRelationalDatabaseInfrastructureResource | IHttpApiInfrastructureResource | IServerlessFunctionInfrastructureResource | IHttpEndpointInfrastructureResource | IContainerComputeInfrastructureResource>;
|
|
20594
20596
|
implicitGlobalResources: Map<InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase | InfrastructureResourceType.AWSTenantAccount, ICloudHostedCodebaseInfrastructureResource | ICompiledLocalCodebaseInfrastructureResource | IAWSTenantAccountInfrastructureResource | null>;
|
|
20595
20597
|
finalGlobalEvent: ProjectPublicationEventName | null;
|
|
20596
|
-
finalStatus: PublicationStatus.Success | PublicationStatus.Failed | null;
|
|
20598
|
+
finalStatus: PublicationStatus.Success | PublicationStatus.Failed | PublicationStatus.UnrecoverableFailure | null;
|
|
20599
|
+
cleanupSteps: IDeploymentStepDefinition<IInfrastructureResource>[];
|
|
20597
20600
|
}
|
|
20598
20601
|
|
|
20599
20602
|
export declare interface IPublicationRunContext extends ExtensionContextBase<ExtensionContextType.PublicationRun>, Omit<IPublicationRun, 'events' | 'initRegistry' | 'extensionsRegistry' | 'contextType'> {
|
|
@@ -28298,11 +28301,12 @@ export declare enum BaseValueDescriptorIds {
|
|
|
28298
28301
|
updatedAt: string;
|
|
28299
28302
|
status: PublicationStatus;
|
|
28300
28303
|
steps: PublicationStep[];
|
|
28304
|
+
cleanupSteps: PublicationStep[];
|
|
28301
28305
|
editor: IEditor;
|
|
28302
28306
|
explicitResources: Map<string, ExplicitInfrastructureResource>;
|
|
28303
28307
|
implicitGlobalResources: Map<InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase | InfrastructureResourceType.AWSTenantAccount, ImplicitGlobalInfrastructureResource | null>;
|
|
28304
28308
|
finalGlobalEvent: ProjectPublicationEventName | null;
|
|
28305
|
-
finalStatus: PublicationStatus.Success | PublicationStatus.Failed | null;
|
|
28309
|
+
finalStatus: PublicationStatus.Success | PublicationStatus.Failed | PublicationStatus.UnrecoverableFailure | null;
|
|
28306
28310
|
contextType: ExtensionContextType.PublicationRun;
|
|
28307
28311
|
extensionsRegistry: ExtensionsRegistry<any, any, any, PublicationRun>;
|
|
28308
28312
|
constructor(data: IPublication, editor: IEditor);
|
|
@@ -28324,6 +28328,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
28324
28328
|
initResources(): Promise<void>;
|
|
28325
28329
|
setSteps(steps: IDeploymentStepDefinition[], emittedAt: string): void;
|
|
28326
28330
|
addStep(step: IDeploymentStepDefinition, emittedAt: string): void;
|
|
28331
|
+
addCleanupStep(step: IDeploymentStepDefinition, emittedAt: string): void;
|
|
28327
28332
|
onUpdate(message: ILiveMessageDTO): void;
|
|
28328
28333
|
requestExtension<T = any>(moduleId: string): T;
|
|
28329
28334
|
initRegistry(): Promise<ExtensionsRegistry<any, any, any, PublicationRun>>;
|
|
@@ -28340,9 +28345,13 @@ export declare enum BaseValueDescriptorIds {
|
|
|
28340
28345
|
status: PublicationStepStatus;
|
|
28341
28346
|
publicationRun: PublicationRun;
|
|
28342
28347
|
resource: ExplicitInfrastructureResource | ImplicitGlobalInfrastructureResource;
|
|
28343
|
-
|
|
28348
|
+
cleanup: boolean;
|
|
28349
|
+
cleanupFor: string | null;
|
|
28350
|
+
logs: ILog[];
|
|
28351
|
+
constructor(stepType: PublishingSequenceStep, id: string, resourceType: InfrastructureResourceType, initialStatus: PublicationStepStatus, dependency: string[], index: number, lastEventTimestamp: string, publicationRun: PublicationRun, resource: ExplicitInfrastructureResource | ImplicitGlobalInfrastructureResource, cleanup?: boolean, cleanupFor?: string | null);
|
|
28344
28352
|
toJSON(): IDeploymentStepDefinition;
|
|
28345
28353
|
update(step: IDeploymentStepDefinition): Promise<void>;
|
|
28354
|
+
addLog(log: ILog): void;
|
|
28346
28355
|
}
|
|
28347
28356
|
|
|
28348
28357
|
export declare enum PUBLISHING_DISABLED_REASONS {
|