@elyx-code/project-logic-tree 0.0.6578 → 0.0.6580
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 +79 -29
- package/dist/index.js +15471 -15384
- package/dist/index.umd.cjs +166 -166
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -9,13 +9,25 @@ import { EventWithTimeout } from '@elyx-code/common-ts-utils';
|
|
|
9
9
|
import { Expr } from 'sql-parser-cst';
|
|
10
10
|
import { ForSystemTimeAsOfExpr } from 'sql-parser-cst';
|
|
11
11
|
import { FromClause } from 'sql-parser-cst';
|
|
12
|
+
import { ICloudHostedCodebaseDetails } from '@elyx-code/definitions';
|
|
13
|
+
import { ICloudHostedCodebaseInfrastructureResource } from '@elyx-code/definitions';
|
|
14
|
+
import { ICompiledLocalCodebaseDetails } from '@elyx-code/definitions';
|
|
15
|
+
import { ICompiledLocalCodebaseInfrastructureResource } from '@elyx-code/definitions';
|
|
12
16
|
import { IDeploymentStepDefinition } from '@elyx-code/definitions';
|
|
13
17
|
import { IEventsBus } from '@elyx-code/common-ts-utils';
|
|
18
|
+
import { IHttpApiDetails } from '@elyx-code/definitions';
|
|
19
|
+
import { IHttpApiInfrastructureResource } from '@elyx-code/definitions';
|
|
20
|
+
import { IHttpEndpointInfrastructureResource } from '@elyx-code/definitions';
|
|
21
|
+
import { IHTTPRouteDetails } from '@elyx-code/definitions';
|
|
14
22
|
import { IInfrastructureResource } from '@elyx-code/definitions';
|
|
15
23
|
import { ILiveMessageDTO } from '@elyx-code/definitions';
|
|
16
24
|
import { InfrastructureResourceDetails } from '@elyx-code/definitions';
|
|
17
25
|
import { InfrastructureResourceType } from '@elyx-code/definitions';
|
|
18
26
|
import { IPublication } from '@elyx-code/definitions';
|
|
27
|
+
import { IRelationalDatabaseDetails } from '@elyx-code/definitions';
|
|
28
|
+
import { IRelationalDatabaseInfrastructureResource } from '@elyx-code/definitions';
|
|
29
|
+
import { IServerlessFunctionDetails } from '@elyx-code/definitions';
|
|
30
|
+
import { IServerlessFunctionInfrastructureResource } from '@elyx-code/definitions';
|
|
19
31
|
import { IWebsocketsClient } from '@elyx-code/common-ts-utils';
|
|
20
32
|
import { JoinExpr } from 'sql-parser-cst';
|
|
21
33
|
import { Keyword } from 'sql-parser-cst';
|
|
@@ -3871,6 +3883,15 @@ export declare function cloneProject(project: ProjectState, { enrich, shallowErr
|
|
|
3871
3883
|
shallowErrors: boolean;
|
|
3872
3884
|
}, parentContext?: IProjectInstanceParentContext): ProjectState;
|
|
3873
3885
|
|
|
3886
|
+
export declare class CloudHostedCodebaseInfrastructureResource extends InfrastructureResource implements ICloudHostedCodebaseInfrastructureResource {
|
|
3887
|
+
resourceType: InfrastructureResourceType.CloudHostedCodebase;
|
|
3888
|
+
details: ICloudHostedCodebaseDetails | null;
|
|
3889
|
+
name: null;
|
|
3890
|
+
status: InfrastructureResourceStatus;
|
|
3891
|
+
constructor(publicationRun: PublicationRun, provider: CloudProviders);
|
|
3892
|
+
resolveDeterministicResourceId(): string;
|
|
3893
|
+
}
|
|
3894
|
+
|
|
3874
3895
|
declare class ColumnRef implements ISearchNode {
|
|
3875
3896
|
owner: SearchStatementState;
|
|
3876
3897
|
source: ColumnRef | PropertyState | ValueRef | SearchStatementLiteralValue | null;
|
|
@@ -3908,6 +3929,15 @@ export declare enum ComparisonOperatorTypes {
|
|
|
3908
3929
|
|
|
3909
3930
|
export declare type CompatibleScope = ICompatibleSameBothLocalScope | ICompatibleSameBothGlobalScope | ICompatibleAInBScope | ICompatibleBInAScope;
|
|
3910
3931
|
|
|
3932
|
+
export declare class CompiledLocalCodebaseInfrastructureResource extends InfrastructureResource implements ICompiledLocalCodebaseInfrastructureResource {
|
|
3933
|
+
resourceType: InfrastructureResourceType.CompiledLocalCodebase;
|
|
3934
|
+
details: ICompiledLocalCodebaseDetails | null;
|
|
3935
|
+
name: null;
|
|
3936
|
+
status: InfrastructureResourceStatus;
|
|
3937
|
+
constructor(publicationRun: PublicationRun, provider: CloudProviders);
|
|
3938
|
+
resolveDeterministicResourceId(): string;
|
|
3939
|
+
}
|
|
3940
|
+
|
|
3911
3941
|
export declare enum ConditionDependencyField {
|
|
3912
3942
|
Parent = "parent"
|
|
3913
3943
|
}
|
|
@@ -4847,10 +4877,10 @@ export declare class DefaultPublicationRunContext extends ExtensionContextBase<E
|
|
|
4847
4877
|
get createdAt(): string;
|
|
4848
4878
|
get updatedAt(): string;
|
|
4849
4879
|
get status(): PublicationStatus;
|
|
4850
|
-
get steps():
|
|
4880
|
+
get steps(): IDeploymentStepDefinition<IInfrastructureResource>[];
|
|
4851
4881
|
get editor(): IEditor;
|
|
4852
|
-
get explicitResources(): Map<string,
|
|
4853
|
-
get implicitGlobalResources(): Map<InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase,
|
|
4882
|
+
get explicitResources(): Map<string, IRelationalDatabaseInfrastructureResource | IHttpApiInfrastructureResource | IServerlessFunctionInfrastructureResource | IHttpEndpointInfrastructureResource>;
|
|
4883
|
+
get implicitGlobalResources(): Map<InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase, ICloudHostedCodebaseInfrastructureResource | ICompiledLocalCodebaseInfrastructureResource | null>;
|
|
4854
4884
|
get finalGlobalEvent(): ProjectPublicationEventName | null;
|
|
4855
4885
|
get finalStatus(): PublicationStatus.Success | PublicationStatus.Failed | null;
|
|
4856
4886
|
}
|
|
@@ -5836,14 +5866,7 @@ export declare enum ExecutionTerminationType {
|
|
|
5836
5866
|
Return = "return"
|
|
5837
5867
|
}
|
|
5838
5868
|
|
|
5839
|
-
export declare
|
|
5840
|
-
resourceType: InfrastructureResourceType.HttpApi | InfrastructureResourceType.RelationalDatabase | InfrastructureResourceType.ServerlessFunction;
|
|
5841
|
-
owners: Map<EntityId, DefinitionEntityState>;
|
|
5842
|
-
details: InfrastructureResourceDetails | null;
|
|
5843
|
-
status: InfrastructureResourceStatus;
|
|
5844
|
-
constructor(publicationRun: PublicationRun, owners: DefinitionEntityState[], resourceType: InfrastructureResourceType.HttpApi | InfrastructureResourceType.RelationalDatabase | InfrastructureResourceType.ServerlessFunction, provider: CloudProviders);
|
|
5845
|
-
resolveDeterministicResourceId(): string;
|
|
5846
|
-
}
|
|
5869
|
+
export declare type ExplicitInfrastructureResource = RelationalDatabaseInfrastructureResource | HttpApiInfrastructureResource | ServerlessFunctionInfrastructureResource | HttpEndpointInfrastructureResource;
|
|
5847
5870
|
|
|
5848
5871
|
export declare class ExtensionContextBase<CT = ExtensionContextType> implements IExtensionContextBase {
|
|
5849
5872
|
readonly extensionsRegistry: ExtensionsRegistry;
|
|
@@ -12530,6 +12553,26 @@ export declare const HTTP_OPERATIONS: {
|
|
|
12530
12553
|
[key: string]: IActionDescriptorTransfer;
|
|
12531
12554
|
};
|
|
12532
12555
|
|
|
12556
|
+
export declare class HttpApiInfrastructureResource extends InfrastructureResource implements IHttpApiInfrastructureResource {
|
|
12557
|
+
resourceType: InfrastructureResourceType.HttpApi;
|
|
12558
|
+
owners: Map<EntityId, DefinitionEntityState>;
|
|
12559
|
+
details: IHttpApiDetails | null;
|
|
12560
|
+
name: null;
|
|
12561
|
+
status: InfrastructureResourceStatus;
|
|
12562
|
+
constructor(publicationRun: PublicationRun, owners: DefinitionEntityState[], provider: CloudProviders);
|
|
12563
|
+
resolveDeterministicResourceId(): string;
|
|
12564
|
+
}
|
|
12565
|
+
|
|
12566
|
+
export declare class HttpEndpointInfrastructureResource extends InfrastructureResource implements IHttpEndpointInfrastructureResource {
|
|
12567
|
+
resourceType: InfrastructureResourceType.HttpEndpoint;
|
|
12568
|
+
owners: Map<EntityId, DefinitionEntityState>;
|
|
12569
|
+
details: IHTTPRouteDetails | null;
|
|
12570
|
+
name: null;
|
|
12571
|
+
status: InfrastructureResourceStatus;
|
|
12572
|
+
constructor(publicationRun: PublicationRun, owners: DefinitionEntityState[], provider: CloudProviders);
|
|
12573
|
+
resolveDeterministicResourceId(): string;
|
|
12574
|
+
}
|
|
12575
|
+
|
|
12533
12576
|
export declare enum HTTPOperations {
|
|
12534
12577
|
HttpRequest = "base-http-request"
|
|
12535
12578
|
}
|
|
@@ -14111,13 +14154,7 @@ export declare interface ILoopTransfer extends ILoop_meta, IChildEntityTransfer,
|
|
|
14111
14154
|
|
|
14112
14155
|
export declare function implement(self: DefinitionEntityState | BuiltInBaseEntityState, newEntityName: string, changeSet: ChangeSet | null, newId?: string): DefinitionEntityState;
|
|
14113
14156
|
|
|
14114
|
-
export declare
|
|
14115
|
-
resourceType: InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase;
|
|
14116
|
-
details: InfrastructureResourceDetails | null;
|
|
14117
|
-
status: InfrastructureResourceStatus;
|
|
14118
|
-
constructor(publicationRun: PublicationRun, resourceType: InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase, provider: CloudProviders);
|
|
14119
|
-
resolveDeterministicResourceId(): string;
|
|
14120
|
-
}
|
|
14157
|
+
export declare type ImplicitGlobalInfrastructureResource = CloudHostedCodebaseInfrastructureResource | CompiledLocalCodebaseInfrastructureResource;
|
|
14121
14158
|
|
|
14122
14159
|
export declare type IncompatibleScope = IIncompatibleParallelInProjectScope | IIncompatibleParallelInCommonParentScope | IIncompatibleAIsGlobalBIsNotScope | IIncompatibleBIsGlobalAIsNotScope;
|
|
14123
14160
|
|
|
@@ -14983,10 +15020,10 @@ export declare interface IPropertyTransfer extends IProperty_meta, IBaseVariable
|
|
|
14983
15020
|
}
|
|
14984
15021
|
|
|
14985
15022
|
export declare interface IPublicationRun extends IPublication {
|
|
14986
|
-
steps:
|
|
15023
|
+
steps: IDeploymentStepDefinition<IInfrastructureResource>[];
|
|
14987
15024
|
editor: IEditor;
|
|
14988
|
-
explicitResources: Map<string,
|
|
14989
|
-
implicitGlobalResources: Map<InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase,
|
|
15025
|
+
explicitResources: Map<string, IRelationalDatabaseInfrastructureResource | IHttpApiInfrastructureResource | IServerlessFunctionInfrastructureResource | IHttpEndpointInfrastructureResource>;
|
|
15026
|
+
implicitGlobalResources: Map<InfrastructureResourceType.CompiledLocalCodebase | InfrastructureResourceType.CloudHostedCodebase, ICloudHostedCodebaseInfrastructureResource | ICompiledLocalCodebaseInfrastructureResource | null>;
|
|
14990
15027
|
finalGlobalEvent: ProjectPublicationEventName | null;
|
|
14991
15028
|
finalStatus: PublicationStatus.Success | PublicationStatus.Failed | null;
|
|
14992
15029
|
}
|
|
@@ -17977,7 +18014,7 @@ export declare class PublicationRun implements IPublicationRun, IPublicationRunC
|
|
|
17977
18014
|
initRegistry(): Promise<ExtensionsRegistry<any, any, any, PublicationRun>>;
|
|
17978
18015
|
}
|
|
17979
18016
|
|
|
17980
|
-
export declare class PublicationStep implements IDeploymentStepDefinition<
|
|
18017
|
+
export declare class PublicationStep implements IDeploymentStepDefinition<ExplicitInfrastructureResource | ImplicitGlobalInfrastructureResource> {
|
|
17981
18018
|
stepType: PublishingSequenceStep;
|
|
17982
18019
|
id: string;
|
|
17983
18020
|
resourceType: InfrastructureResourceType;
|
|
@@ -17991,13 +18028,6 @@ export declare class PublicationStep implements IDeploymentStepDefinition<Infras
|
|
|
17991
18028
|
constructor(stepType: PublishingSequenceStep, id: string, resourceType: InfrastructureResourceType, initialStatus: PublicationStepStatus, dependency: string[], index: number, lastEventTimestamp: string, publicationRun: PublicationRun, resource: ExplicitInfrastructureResource | ImplicitGlobalInfrastructureResource);
|
|
17992
18029
|
toJSON(): IDeploymentStepDefinition;
|
|
17993
18030
|
update(step: IDeploymentStepDefinition): Promise<void>;
|
|
17994
|
-
error(event: ProjectPublicationEventName, _extraPayload?: {
|
|
17995
|
-
[key: string]: any;
|
|
17996
|
-
}): Promise<void>;
|
|
17997
|
-
complete(event: ProjectPublicationEventName, _extraPayload?: {
|
|
17998
|
-
[key: string]: any;
|
|
17999
|
-
}): Promise<void>;
|
|
18000
|
-
run(): Promise<void>;
|
|
18001
18031
|
}
|
|
18002
18032
|
|
|
18003
18033
|
export declare enum PUBLISHING_DISABLED_REASONS {
|
|
@@ -18251,6 +18281,16 @@ export declare const relationalDatabaseBuiltInBaseEntityUsernamePropertyDataType
|
|
|
18251
18281
|
|
|
18252
18282
|
export declare const relationalDatabaseBuiltInBaseEntityUsernamePropertyRef: IPropertyReference;
|
|
18253
18283
|
|
|
18284
|
+
export declare class RelationalDatabaseInfrastructureResource extends InfrastructureResource implements IRelationalDatabaseInfrastructureResource {
|
|
18285
|
+
resourceType: InfrastructureResourceType.RelationalDatabase;
|
|
18286
|
+
owners: Map<EntityId, DefinitionEntityState>;
|
|
18287
|
+
details: IRelationalDatabaseDetails | null;
|
|
18288
|
+
name: string;
|
|
18289
|
+
status: InfrastructureResourceStatus;
|
|
18290
|
+
constructor(publicationRun: PublicationRun, owners: DefinitionEntityState[], provider: CloudProviders);
|
|
18291
|
+
resolveDeterministicResourceId(): string;
|
|
18292
|
+
}
|
|
18293
|
+
|
|
18254
18294
|
export declare function removeDisabledReasons(existingDisbledResons: CanvasEntityDisabledReason[], reasonsToRemove: CanvasEntityDisabledReason[]): {
|
|
18255
18295
|
hasChanged: boolean;
|
|
18256
18296
|
reasons: CanvasEntityDisabledReason[];
|
|
@@ -19123,6 +19163,16 @@ export declare const sequentialExecutionOperationListOfFunctionsBlueprintParentR
|
|
|
19123
19163
|
|
|
19124
19164
|
export declare const sequentialExecutionOperationResponseDataType: IDataTypeTransfer;
|
|
19125
19165
|
|
|
19166
|
+
export declare class ServerlessFunctionInfrastructureResource extends InfrastructureResource implements IServerlessFunctionInfrastructureResource {
|
|
19167
|
+
resourceType: InfrastructureResourceType.ServerlessFunction;
|
|
19168
|
+
owners: Map<EntityId, DefinitionEntityState>;
|
|
19169
|
+
details: IServerlessFunctionDetails | null;
|
|
19170
|
+
name: null;
|
|
19171
|
+
status: InfrastructureResourceStatus;
|
|
19172
|
+
constructor(publicationRun: PublicationRun, owners: DefinitionEntityState[], provider: CloudProviders);
|
|
19173
|
+
resolveDeterministicResourceId(): string;
|
|
19174
|
+
}
|
|
19175
|
+
|
|
19126
19176
|
export declare enum SharedEntityErrorCode {
|
|
19127
19177
|
InvalidObjectStructure = "invalid-object-structure",
|
|
19128
19178
|
NameNotUniqueInScope = "name-not-unique-in-scope",
|