@elyx-code/project-logic-tree 0.0.6391 → 0.0.6393
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 +13 -8
- package/dist/index.js +1198 -1192
- package/dist/index.umd.cjs +72 -72
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1394,6 +1394,10 @@ export declare const BUILT_IN_BASE_ENTITY_IDS: {
|
|
|
1394
1394
|
|
|
1395
1395
|
export declare const BUILT_IN_ENTITY_TYPES: EntityType[];
|
|
1396
1396
|
|
|
1397
|
+
export declare const BUILT_IN_FUNCTION_IMPLEMENTATIONS__PREFIX = "built-in-function-implementations__";
|
|
1398
|
+
|
|
1399
|
+
export declare const BUILT_INT_OPERATIONS_IMPLEMENTATIONS__PREFIX = "operations-implementations__";
|
|
1400
|
+
|
|
1397
1401
|
export declare type BuiltInBaseEntityPayloadUnion = BuiltInBaseEntityState | BuiltInBaseEntityTypesUnion;
|
|
1398
1402
|
|
|
1399
1403
|
export declare class BuiltInBaseEntityState extends VersionedState implements BaseState, IBuiltInBaseEntity {
|
|
@@ -2933,7 +2937,7 @@ export declare enum DynamicValueTypes {
|
|
|
2933
2937
|
|
|
2934
2938
|
export declare const EDITABLE_PERSISTANCE_REPOSITORY_DEFAULTS: IEditableEntityPersistanceRepository;
|
|
2935
2939
|
|
|
2936
|
-
export declare class EditorContext extends ExtensionContextBase implements Omit<IEditor, 'onLogicLoadingComplete' | 'onLogicLoadingCompleteCallback' | 'onProjectHeadLoaded' | 'onProjectHeadLoadedCallback' | 'onProjectSetupError' | 'onProjectSetupErrorCallback' | 'extensions' | 'onRenderedCallback' | 'handleIncommingWebsocketMessage' | 'handleNotificationChannelsMessage' | 'handlePersistChangeSetMessage' | 'getLogic' | 'injectLocalImplementationOfSearchExecution' | 'setup' | 'destroy' | 'requestModule' | 'socket' | 'events'> {
|
|
2940
|
+
export declare class EditorContext extends ExtensionContextBase implements Omit<IEditor, 'onLogicLoadingComplete' | 'onLogicLoadingCompleteCallback' | 'onProjectHeadLoaded' | 'onProjectHeadLoadedCallback' | 'onProjectSetupError' | 'onProjectSetupErrorCallback' | 'extensions' | 'onRenderedCallback' | 'handleIncommingWebsocketMessage' | 'handleNotificationChannelsMessage' | 'handlePersistChangeSetMessage' | 'getLogic' | 'injectLocalImplementationOfSearchExecution' | 'setup' | 'destroy' | 'requestModule' | 'socket' | 'events' | 'initRegistry'> {
|
|
2937
2941
|
private readonly _editor;
|
|
2938
2942
|
readonly id: string;
|
|
2939
2943
|
constructor(registry: ExtensionsRegistry, _editor: IEditor, id?: string);
|
|
@@ -2964,7 +2968,7 @@ export declare class EditorContext extends ExtensionContextBase implements Omit<
|
|
|
2964
2968
|
undo(): Promise<void>;
|
|
2965
2969
|
redo(): Promise<void>;
|
|
2966
2970
|
initTest(entryPoint: TestableEntityState, autoExecute: boolean): Promise<ITest>;
|
|
2967
|
-
removeTest(): Promise<
|
|
2971
|
+
removeTest(): Promise<ITest>;
|
|
2968
2972
|
copyEntities(entities: CanvasEntityState[]): Promise<ChangeSet>;
|
|
2969
2973
|
resolveInitialChildrenPositions(parent: CanvasEntityState | null, children: CanvasEntityState[], changeSet: ChangeSet | null): CanvasEntityState[];
|
|
2970
2974
|
publish(): Promise<void>;
|
|
@@ -3651,16 +3655,16 @@ export declare enum ExtensionPermissions {
|
|
|
3651
3655
|
UpdateGUIGlobalTheme = "update:gui:global:theme"
|
|
3652
3656
|
}
|
|
3653
3657
|
|
|
3654
|
-
export declare class ExtensionsRegistry implements Omit<IEventsBus, 'destroy'> {
|
|
3658
|
+
export declare class ExtensionsRegistry<TEditorContext extends EditorContext = EditorContext, TProjectLogicContext extends ProjectLogicContext = ProjectLogicContext> implements Omit<IEventsBus, 'destroy'> {
|
|
3655
3659
|
private events;
|
|
3656
3660
|
private extensions;
|
|
3657
|
-
onResolveEditorContextCallback: () =>
|
|
3658
|
-
onResolveProjectLogicContextCallback: () =>
|
|
3661
|
+
onResolveEditorContextCallback: () => TEditorContext | null;
|
|
3662
|
+
onResolveProjectLogicContextCallback: () => TProjectLogicContext | null;
|
|
3659
3663
|
onResolveGUIContextCallback: () => null;
|
|
3660
3664
|
onResolveCompileContextCallback: () => null;
|
|
3661
3665
|
constructor(events?: Events);
|
|
3662
|
-
onResolveEditorContext(callback: () =>
|
|
3663
|
-
onResolveProjectLogicContext(callback: () =>
|
|
3666
|
+
onResolveEditorContext(callback: () => TEditorContext | null): void;
|
|
3667
|
+
onResolveProjectLogicContext(callback: () => TProjectLogicContext | null): void;
|
|
3664
3668
|
onResolveGUIContext(callback: () => null): void;
|
|
3665
3669
|
onResolveCompileContext(callback: () => null): void;
|
|
3666
3670
|
get extensionInOrder(): IRegisteredExtension[];
|
|
@@ -9550,12 +9554,13 @@ export declare interface IEditor extends IUndoableInterface, IValueResolutionCon
|
|
|
9550
9554
|
}): Promise<void>;
|
|
9551
9555
|
destroy(): Promise<void>;
|
|
9552
9556
|
initTest(entryPoint: TestableEntityState, autoExecute: boolean): Promise<ITest>;
|
|
9553
|
-
removeTest(): Promise<
|
|
9557
|
+
removeTest(): Promise<ITest>;
|
|
9554
9558
|
copyEntities(entities: CanvasEntityState[]): Promise<ChangeSet>;
|
|
9555
9559
|
resolveInitialChildrenPositions(parent: CanvasEntityState | null, children: CanvasEntityState[], changeSet: ChangeSet | null): CanvasEntityState[];
|
|
9556
9560
|
publish(): Promise<void>;
|
|
9557
9561
|
loadActivePublication(publicationId: string): Promise<IPublication>;
|
|
9558
9562
|
requestModule<T = any>(moduleId: string): T;
|
|
9563
|
+
initRegistry(): Promise<ExtensionsRegistry>;
|
|
9559
9564
|
}
|
|
9560
9565
|
|
|
9561
9566
|
export declare interface IEntityActionRequestPayload<P extends {
|