@elyx-code/project-logic-tree 0.0.6352 → 0.0.6353
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 +3 -12
- package/dist/index.js +9005 -9050
- package/dist/index.umd.cjs +75 -75
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { PostgresqlOperatorExpr } from 'sql-parser-cst';
|
|
|
20
20
|
import { Program } from 'sql-parser-cst';
|
|
21
21
|
import { ProjectPublicationEventName } from '@elyx-code/definitions';
|
|
22
22
|
import { PublicationStatus } from '@elyx-code/definitions';
|
|
23
|
+
import { PublicationStepStatus } from '@elyx-code/definitions';
|
|
23
24
|
import { PublishingSequenceStep } from '@elyx-code/definitions';
|
|
24
25
|
import { SafeParseReturnType } from 'zod';
|
|
25
26
|
import { SelectClause } from 'sql-parser-cst';
|
|
@@ -12635,16 +12636,6 @@ export declare class PublicationRun implements IPublication {
|
|
|
12635
12636
|
initResources(): Promise<void>;
|
|
12636
12637
|
setSteps(steps: IDeploymentStepDefinition[], emittedAt: string): void;
|
|
12637
12638
|
addStep(step: IDeploymentStepDefinition, emittedAt: string): void;
|
|
12638
|
-
/**
|
|
12639
|
-
* Reorder this.steps so that:
|
|
12640
|
-
* - each step appears after all of its dependencies,
|
|
12641
|
-
* - unrelated steps keep their relative order (by old index),
|
|
12642
|
-
* - and indexes are reassigned consecutively (0,1,2…).
|
|
12643
|
-
*
|
|
12644
|
-
* Throws if there is a cycle in the dependency graph.
|
|
12645
|
-
*/
|
|
12646
|
-
orderSteps(): void;
|
|
12647
|
-
getNextParallelizableSteps(): PublicationStep[];
|
|
12648
12639
|
onUpdate(message: ILiveMessageDTO): void;
|
|
12649
12640
|
}
|
|
12650
12641
|
|
|
@@ -12656,10 +12647,10 @@ export declare class PublicationStep implements IDeploymentStepDefinition<Infras
|
|
|
12656
12647
|
dependency: string[];
|
|
12657
12648
|
lastEvent: ProjectPublicationEventName | null;
|
|
12658
12649
|
lasEventTimestamp: string | null;
|
|
12659
|
-
status:
|
|
12650
|
+
status: PublicationStepStatus;
|
|
12660
12651
|
publicationRun: PublicationRun;
|
|
12661
12652
|
resource: ExplicitInfrastructureResource | ImplicitGlobalInfrastructureResource;
|
|
12662
|
-
constructor(stepType: PublishingSequenceStep, id: string, resourceType: InfrastructureResourceType, initialStatus:
|
|
12653
|
+
constructor(stepType: PublishingSequenceStep, id: string, resourceType: InfrastructureResourceType, initialStatus: PublicationStepStatus, dependency: string[], index: number, lasEventTimestamp: string, publicationRun: PublicationRun, resource: ExplicitInfrastructureResource | ImplicitGlobalInfrastructureResource);
|
|
12663
12654
|
toJSON(): IDeploymentStepDefinition;
|
|
12664
12655
|
update(step: IDeploymentStepDefinition): Promise<void>;
|
|
12665
12656
|
}
|