@elyx-code/project-logic-tree 0.0.7063 → 0.0.7066
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 +133 -133
- package/dist/index.d.ts +21 -1
- package/dist/index.js +23696 -23631
- 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';
|
|
@@ -10076,6 +10077,19 @@ export declare enum BaseValueDescriptorIds {
|
|
|
10076
10077
|
exactDataType?: boolean;
|
|
10077
10078
|
}): boolean;
|
|
10078
10079
|
|
|
10080
|
+
/**
|
|
10081
|
+
* Checks if the enum has changed between the new data type and the last published data type
|
|
10082
|
+
* Returns null if any of the data types are not enums, if they are enums, it returns `true` or `false` as well as the the diffs between the options
|
|
10083
|
+
* @param newDt New data type
|
|
10084
|
+
* @param lastDt Last published data type
|
|
10085
|
+
*/
|
|
10086
|
+
export declare function checkEnumHasChanged(newDt: DataTypeState | null, lastDt: DataTypeState | null): {
|
|
10087
|
+
changed: null | boolean;
|
|
10088
|
+
newOptions: string[];
|
|
10089
|
+
removedOptions: string[];
|
|
10090
|
+
allFinalOptions: string[];
|
|
10091
|
+
};
|
|
10092
|
+
|
|
10079
10093
|
/**
|
|
10080
10094
|
* Recursively checks if all branches of a target entity come from the same caller
|
|
10081
10095
|
* This is useful to determine if the caller entity can be considered a single caller ancestor of the given target entity.
|
|
@@ -12466,6 +12480,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
12466
12480
|
get updatedAt(): string;
|
|
12467
12481
|
get status(): PublicationStatus;
|
|
12468
12482
|
get steps(): IDeploymentStepDefinition<IInfrastructureResource>[];
|
|
12483
|
+
get cleanupSteps(): IDeploymentStepDefinition<IInfrastructureResource>[];
|
|
12469
12484
|
get editor(): IEditor;
|
|
12470
12485
|
get explicitResources(): Map<string, IRelationalDatabaseInfrastructureResource | IHttpApiInfrastructureResource | IServerlessFunctionInfrastructureResource | IHttpEndpointInfrastructureResource | IContainerComputeInfrastructureResource>;
|
|
12471
12486
|
get implicitGlobalResources(): Map<InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase | InfrastructureResourceType.AWSTenantAccount, ICloudHostedCodebaseInfrastructureResource | ICompiledLocalCodebaseInfrastructureResource | IAWSTenantAccountInfrastructureResource | null>;
|
|
@@ -20581,6 +20596,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
20581
20596
|
implicitGlobalResources: Map<InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase | InfrastructureResourceType.AWSTenantAccount, ICloudHostedCodebaseInfrastructureResource | ICompiledLocalCodebaseInfrastructureResource | IAWSTenantAccountInfrastructureResource | null>;
|
|
20582
20597
|
finalGlobalEvent: ProjectPublicationEventName | null;
|
|
20583
20598
|
finalStatus: PublicationStatus.Success | PublicationStatus.Failed | null;
|
|
20599
|
+
cleanupSteps: IDeploymentStepDefinition<IInfrastructureResource>[];
|
|
20584
20600
|
}
|
|
20585
20601
|
|
|
20586
20602
|
export declare interface IPublicationRunContext extends ExtensionContextBase<ExtensionContextType.PublicationRun>, Omit<IPublicationRun, 'events' | 'initRegistry' | 'extensionsRegistry' | 'contextType'> {
|
|
@@ -28285,6 +28301,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
28285
28301
|
updatedAt: string;
|
|
28286
28302
|
status: PublicationStatus;
|
|
28287
28303
|
steps: PublicationStep[];
|
|
28304
|
+
cleanupSteps: PublicationStep[];
|
|
28288
28305
|
editor: IEditor;
|
|
28289
28306
|
explicitResources: Map<string, ExplicitInfrastructureResource>;
|
|
28290
28307
|
implicitGlobalResources: Map<InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase | InfrastructureResourceType.AWSTenantAccount, ImplicitGlobalInfrastructureResource | null>;
|
|
@@ -28327,7 +28344,10 @@ export declare enum BaseValueDescriptorIds {
|
|
|
28327
28344
|
status: PublicationStepStatus;
|
|
28328
28345
|
publicationRun: PublicationRun;
|
|
28329
28346
|
resource: ExplicitInfrastructureResource | ImplicitGlobalInfrastructureResource;
|
|
28330
|
-
|
|
28347
|
+
cleanup: boolean;
|
|
28348
|
+
cleanupFor: string | null;
|
|
28349
|
+
logs: ILog[];
|
|
28350
|
+
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);
|
|
28331
28351
|
toJSON(): IDeploymentStepDefinition;
|
|
28332
28352
|
update(step: IDeploymentStepDefinition): Promise<void>;
|
|
28333
28353
|
}
|