@elyx-code/project-logic-tree 0.0.6351 → 0.0.6352
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 +27 -6
- package/dist/index.js +19506 -19050
- package/dist/index.umd.cjs +185 -185
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3216,7 +3216,7 @@ export declare enum ExecutionTerminationType {
|
|
|
3216
3216
|
Return = "return"
|
|
3217
3217
|
}
|
|
3218
3218
|
|
|
3219
|
-
declare class ExplicitInfrastructureResource extends InfrastructureResource {
|
|
3219
|
+
export declare class ExplicitInfrastructureResource extends InfrastructureResource {
|
|
3220
3220
|
resourceType: InfrastructureResourceType.HttpApi | InfrastructureResourceType.RelationalDatabase;
|
|
3221
3221
|
owners: Map<EntityId, DefinitionEntityState>;
|
|
3222
3222
|
details: InfrastructureResourceDetails | null;
|
|
@@ -3417,6 +3417,8 @@ declare function fromNameToTableDescription(tableName: string, project: ProjectS
|
|
|
3417
3417
|
|
|
3418
3418
|
declare function fromOrderByClauseToSortStatements(orderByClause: OrderByClause, _selectStatement: SelectStmt, _allColumns: IColumnMapping[], state: SearchStatementState): SortStatement[];
|
|
3419
3419
|
|
|
3420
|
+
export declare function fromPublishingDisabledCodeToReadable(code: PUBLISHING_DISABLED_REASONS): string;
|
|
3421
|
+
|
|
3420
3422
|
declare function fromSelectClauseColumnsToColumnMappings(selectClause: SelectClause, objectName?: string): IShallowColumnMapping[];
|
|
3421
3423
|
|
|
3422
3424
|
declare function fromSelectClauseToLiteralValueSelections(selectClause: SelectClause, state: SearchStatementState, _debug?: boolean): ColumnRef[];
|
|
@@ -6478,6 +6480,8 @@ export declare function getEventEntityTypeSchema(): z_2.ZodUnion<[z_2.ZodObject<
|
|
|
6478
6480
|
type: import("../../..").EntityType.GlobalEvent;
|
|
6479
6481
|
}>, z_2.ZodRecord<z_2.ZodString, z_2.ZodAny>]>;
|
|
6480
6482
|
|
|
6483
|
+
export declare function getEventNameFromDefinition(event: ProjectPublicationEventName): string;
|
|
6484
|
+
|
|
6481
6485
|
export declare function getExecutableEntityReferenceSchema(): z_2.ZodUnion<[z_2.ZodUnion<[z_2.ZodUnion<[z_2.ZodObject<{
|
|
6482
6486
|
id: z_2.ZodString;
|
|
6483
6487
|
type: z_2.ZodLiteral<import("../../..").EntityType.GenericReference>;
|
|
@@ -6772,6 +6776,8 @@ export declare function getHeadIfPartOfDetachedBranch(entity: CanvasEntityState,
|
|
|
6772
6776
|
|
|
6773
6777
|
export declare function getHighestScope(scopeOwnerA: EntityWithLogicScopeState, scopeOwnerB: EntityWithLogicScopeState, project: ProjectState): EntityWithLogicScopeState | null;
|
|
6774
6778
|
|
|
6779
|
+
export declare function getHTTPAPINameFromProjectId(projectId: string): string;
|
|
6780
|
+
|
|
6775
6781
|
export declare function getImplementedBuiltInEntity(entity: DefinitionEntityState): BuiltInBaseEntityState | null;
|
|
6776
6782
|
|
|
6777
6783
|
export declare function getIsInteractive(entity: DefinitionEntityState | BuiltInBaseEntityState | PrimitiveEntityState): boolean;
|
|
@@ -7298,6 +7304,8 @@ export declare function getRelatedCanvasElementsOnTheLeftFromTransfer(entity: Dr
|
|
|
7298
7304
|
|
|
7299
7305
|
export declare function getRelatedCanvasElementsOnTheRight(entity: CanvasEntityState | ProjectState | InternalCallState, respectCollapse?: boolean): CanvasEntityState[];
|
|
7300
7306
|
|
|
7307
|
+
export declare function getRelationalDBInstanceNameFromEntityId(entityId: string): string;
|
|
7308
|
+
|
|
7301
7309
|
export declare function getRootEntryPointScopeOwner(entity: EntityState | Element_2 | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState): EntityWithLogicScopeState | null;
|
|
7302
7310
|
|
|
7303
7311
|
export declare function getScopeOwner(entity: EntityState | Element_2 | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState, _initialEntity?: EntityState | Element_2 | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer | null): EntityWithLogicScopeState | ProjectState | null;
|
|
@@ -7317,6 +7325,8 @@ declare function getSelectStatementFromProgram(program: Program): SelectStmt | n
|
|
|
7317
7325
|
|
|
7318
7326
|
export declare function getStateClassFromType(entityType: EntityType): EntityStateConstructor | null;
|
|
7319
7327
|
|
|
7328
|
+
export declare function getStepNameFromDefinition(stepType: PublishingSequenceStep): string;
|
|
7329
|
+
|
|
7320
7330
|
export declare function getTerminationReferenceSchema(): z_2.ZodUnion<[z_2.ZodObject<{
|
|
7321
7331
|
id: z_2.ZodString;
|
|
7322
7332
|
type: z_2.ZodLiteral<import("../../..").EntityType.GenericReference>;
|
|
@@ -9331,7 +9341,7 @@ export declare interface IModuleInjection {
|
|
|
9331
9341
|
|
|
9332
9342
|
export declare function implement(self: DefinitionEntityState | BuiltInBaseEntityState, newEntityName: string, changeSet: ChangeSet | null, newId?: string): DefinitionEntityState;
|
|
9333
9343
|
|
|
9334
|
-
declare class ImplicitGlobalInfrastructureResource extends InfrastructureResource {
|
|
9344
|
+
export declare class ImplicitGlobalInfrastructureResource extends InfrastructureResource {
|
|
9335
9345
|
resourceType: InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase;
|
|
9336
9346
|
details: InfrastructureResourceDetails | null;
|
|
9337
9347
|
status: InfrastructureResourceStatus;
|
|
@@ -9359,7 +9369,7 @@ export declare function inferVariableDeclarationDataType(entity: VariableDeclara
|
|
|
9359
9369
|
|
|
9360
9370
|
export declare function inferVariableInstanceDataType(entity: VariableInstanceState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
9361
9371
|
|
|
9362
|
-
declare class InfrastructureResource implements IInfrastructureResource {
|
|
9372
|
+
export declare class InfrastructureResource implements IInfrastructureResource {
|
|
9363
9373
|
provisionedBy: PublicationStep;
|
|
9364
9374
|
publicationRun: PublicationRun;
|
|
9365
9375
|
resourceType: InfrastructureResourceType;
|
|
@@ -9373,7 +9383,7 @@ declare class InfrastructureResource implements IInfrastructureResource {
|
|
|
9373
9383
|
setProvisionedBy(step: PublicationStep): void;
|
|
9374
9384
|
}
|
|
9375
9385
|
|
|
9376
|
-
declare enum InfrastructureResourceStatus {
|
|
9386
|
+
export declare enum InfrastructureResourceStatus {
|
|
9377
9387
|
Ready = "ready",
|
|
9378
9388
|
Provisioning = "provisioning",
|
|
9379
9389
|
Queued = "queued",
|
|
@@ -12598,7 +12608,7 @@ declare namespace propertyValidation {
|
|
|
12598
12608
|
}
|
|
12599
12609
|
export { propertyValidation }
|
|
12600
12610
|
|
|
12601
|
-
declare class PublicationRun implements IPublication {
|
|
12611
|
+
export declare class PublicationRun implements IPublication {
|
|
12602
12612
|
id: string;
|
|
12603
12613
|
projectAutoIncrementPublicationCount: number;
|
|
12604
12614
|
projectPublishedSemanticVersion: string;
|
|
@@ -12638,7 +12648,7 @@ declare class PublicationRun implements IPublication {
|
|
|
12638
12648
|
onUpdate(message: ILiveMessageDTO): void;
|
|
12639
12649
|
}
|
|
12640
12650
|
|
|
12641
|
-
declare class PublicationStep implements IDeploymentStepDefinition<InfrastructureResource> {
|
|
12651
|
+
export declare class PublicationStep implements IDeploymentStepDefinition<InfrastructureResource> {
|
|
12642
12652
|
stepType: PublishingSequenceStep;
|
|
12643
12653
|
id: string;
|
|
12644
12654
|
resourceType: InfrastructureResourceType;
|
|
@@ -12654,6 +12664,13 @@ declare class PublicationStep implements IDeploymentStepDefinition<Infrastructur
|
|
|
12654
12664
|
update(step: IDeploymentStepDefinition): Promise<void>;
|
|
12655
12665
|
}
|
|
12656
12666
|
|
|
12667
|
+
export declare enum PUBLISHING_DISABLED_REASONS {
|
|
12668
|
+
NO_LOGIC = "NO_LOGIC",
|
|
12669
|
+
NO_NAME = "NO_NAME",
|
|
12670
|
+
NO_CHANGES = "NO_CHANGES",
|
|
12671
|
+
PROJECT_PUBLICATION_ALREADY_ONGOING = "PROJECT_PUBLICATION_ALREADY_ONGOING"
|
|
12672
|
+
}
|
|
12673
|
+
|
|
12657
12674
|
export declare const READ_ONLY_ENTITY_PERSISTANCE_REPOSITORY: IReadOnlyEntityPersistanceRepository;
|
|
12658
12675
|
|
|
12659
12676
|
export declare const READABLE_ENTITY_TYPES: {
|
|
@@ -12955,6 +12972,10 @@ export declare function resolvePrimitiveEntityName(primitiveEntity: {
|
|
|
12955
12972
|
|
|
12956
12973
|
export declare function resolvePropertyValue(entity: PropertyState, context: IValueResolutionContext): IDynamicValue | null;
|
|
12957
12974
|
|
|
12975
|
+
export declare function resolvePublicationStepStatusFromType(eventType: PublicationStatus | 'skipped'): string;
|
|
12976
|
+
|
|
12977
|
+
export declare function resolveResourceNameFromType(resourceType: InfrastructureResourceType): string;
|
|
12978
|
+
|
|
12958
12979
|
export declare function resolveReturnDeclarationValue(entity: ReturnDeclarationState, context: IValueResolutionContext): IDynamicValue | null;
|
|
12959
12980
|
|
|
12960
12981
|
export declare function resolveSearchName(search: SearchState): string;
|