@elyx-code/project-logic-tree 0.0.6600 → 0.0.6601
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 +12 -1
- package/dist/index.js +409 -391
- package/dist/index.umd.cjs +33 -33
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { IHttpEndpointInfrastructureResource } from '@elyx-code/definitions';
|
|
|
21
21
|
import { IHTTPRouteDetails } from '@elyx-code/definitions';
|
|
22
22
|
import { IInfrastructureResource } from '@elyx-code/definitions';
|
|
23
23
|
import { ILiveMessageDTO } from '@elyx-code/definitions';
|
|
24
|
+
import { InfrastructureResource as InfrastructureResource_2 } from '@elyx-code/definitions';
|
|
24
25
|
import { InfrastructureResourceDetails } from '@elyx-code/definitions';
|
|
25
26
|
import { InfrastructureResourceType } from '@elyx-code/definitions';
|
|
26
27
|
import { IPublication } from '@elyx-code/definitions';
|
|
@@ -4529,7 +4530,7 @@ export declare class DataTypeState extends UserManagedVersionedState implements
|
|
|
4529
4530
|
getErrors(): EntityError[];
|
|
4530
4531
|
getShallowErrors(): EntityError[];
|
|
4531
4532
|
clone(changeSet?: ChangeSet | null, parent?: DataTypeParentEntityState | null, newId?: string | null, subscribe?: boolean): DataTypeState;
|
|
4532
|
-
merge(sourceEntity: DataTypeState, changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
|
|
4533
|
+
merge(sourceEntity: DataTypeState | null, changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
|
|
4533
4534
|
addToAndGroup(child: DataTypeState, changeSet?: ChangeSet | null): DataTypeState;
|
|
4534
4535
|
addToOrGroup(child: DataTypeState, changeSet?: ChangeSet | null): DataTypeState;
|
|
4535
4536
|
setEntity(entity: DataTypeStateEntityOption | null, changeSet?: ChangeSet | null): DataTypeState;
|
|
@@ -4694,6 +4695,7 @@ export declare class DefaultEditorContext extends ExtensionContextBase<Extension
|
|
|
4694
4695
|
get destroyed(): boolean;
|
|
4695
4696
|
get logicLoadingPromise(): Promise<void> | null;
|
|
4696
4697
|
get logic(): ProjectState | null;
|
|
4698
|
+
get lastPublishedProjectState(): ProjectState | null;
|
|
4697
4699
|
get branch(): IActiveBranchHeadResult | null;
|
|
4698
4700
|
get projectId(): EntityId;
|
|
4699
4701
|
get sessionId(): string | null;
|
|
@@ -4704,6 +4706,9 @@ export declare class DefaultEditorContext extends ExtensionContextBase<Extension
|
|
|
4704
4706
|
get resolvedValues(): EfimeralValueStore;
|
|
4705
4707
|
get persistedExecutionResults(): EfimeralValueStore;
|
|
4706
4708
|
get publication(): PublicationRun | null;
|
|
4709
|
+
get livePublishedVersions(): IPublication[];
|
|
4710
|
+
get publications(): PublicationRun[];
|
|
4711
|
+
get liveResources(): InfrastructureResource_2[] | null;
|
|
4707
4712
|
get execution(): Execution | null;
|
|
4708
4713
|
get project(): ProjectState;
|
|
4709
4714
|
get lastExecutionResults(): EfimeralValueStore;
|
|
@@ -5421,6 +5426,8 @@ export declare function enrichFromKnownEntities(entity: ElementTransfer | Elemen
|
|
|
5421
5426
|
|
|
5422
5427
|
export declare const ENTITIES_WITH_VALLUES_EXPLANATION: string;
|
|
5423
5428
|
|
|
5429
|
+
export declare function entitiesToUniqueCanvasEntities(entities: EntityState[], filterOut?: string[]): CanvasEntityState[];
|
|
5430
|
+
|
|
5424
5431
|
export declare const ENTITY_PERSISTANCE_OPTIONS_DEFAULTS: IEntityPersistanceOptions;
|
|
5425
5432
|
|
|
5426
5433
|
export declare const ENTITY_RECUSION_OPTIONS_DEFAULTS: IEntityRecursionOptions;
|
|
@@ -13625,6 +13632,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
13625
13632
|
destroyed: boolean;
|
|
13626
13633
|
logicLoadingPromise: Promise<void> | null;
|
|
13627
13634
|
logic: ProjectState | null;
|
|
13635
|
+
lastPublishedProjectState: ProjectState | null;
|
|
13628
13636
|
branch: IActiveBranchHeadResult | null;
|
|
13629
13637
|
projectId: EntityId;
|
|
13630
13638
|
id: string;
|
|
@@ -13640,6 +13648,9 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
13640
13648
|
publication: PublicationRun | null;
|
|
13641
13649
|
extensionsRegistry: ExtensionsRegistry<any>;
|
|
13642
13650
|
contextType: ExtensionContextType.Editor;
|
|
13651
|
+
livePublishedVersions: IPublication[];
|
|
13652
|
+
publications: PublicationRun[];
|
|
13653
|
+
liveResources: InfrastructureResource_2[] | null;
|
|
13643
13654
|
onProjectHeadLoadedCallback: null | ((projectState: ProjectState) => void);
|
|
13644
13655
|
onLogicLoadingCompleteCallback: null | ((chunk: any) => void);
|
|
13645
13656
|
onProjectSetupErrorCallback: null | ((error: any) => void);
|