@elyx-code/project-logic-tree 0.0.6402 → 0.0.6403
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 +8 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3798,7 +3798,7 @@ export declare enum ExtensionPermissions {
|
|
|
3798
3798
|
UpdateGUIGlobalTheme = "update:gui:global:theme"
|
|
3799
3799
|
}
|
|
3800
3800
|
|
|
3801
|
-
export declare class ExtensionsRegistry<TEditorContext extends Omit<IEditorContext, '_editor'> = IEditorContext, TProjectLogicContext extends DefaultProjectLogicContext = DefaultProjectLogicContext> implements Omit<IEventsBus, 'destroy'> {
|
|
3801
|
+
export declare class ExtensionsRegistry<TEditorContext extends Omit<IEditorContext, '_editor'> = IEditorContext, TProjectLogicContext extends DefaultProjectLogicContext = DefaultProjectLogicContext, TCompilerContext extends ICompilerContext = ICompilerContext> implements Omit<IEventsBus, 'destroy'> {
|
|
3802
3802
|
private events;
|
|
3803
3803
|
private extensionsRegistry;
|
|
3804
3804
|
private initialized;
|
|
@@ -3806,16 +3806,16 @@ export declare class ExtensionsRegistry<TEditorContext extends Omit<IEditorConte
|
|
|
3806
3806
|
onResolveEditorContextCallback: () => TEditorContext | null;
|
|
3807
3807
|
onResolveProjectLogicContextCallback: () => TProjectLogicContext | null;
|
|
3808
3808
|
onResolveGUIContextCallback: () => null;
|
|
3809
|
-
onResolveCompileContextCallback: () => null;
|
|
3809
|
+
onResolveCompileContextCallback: () => TCompilerContext | null;
|
|
3810
3810
|
constructor(events?: Events);
|
|
3811
3811
|
onResolveEditorContext(callback: () => TEditorContext | null): void;
|
|
3812
3812
|
onResolveProjectLogicContext(callback: () => TProjectLogicContext | null): void;
|
|
3813
3813
|
onResolveGUIContext(callback: () => null): void;
|
|
3814
|
-
onResolveCompileContext(callback: () => null): void;
|
|
3814
|
+
onResolveCompileContext(callback: () => TCompilerContext | null): void;
|
|
3815
3815
|
get extensionInOrder(): IRegisteredExtension[];
|
|
3816
3816
|
setup(): Promise<void>;
|
|
3817
3817
|
private requestContext;
|
|
3818
|
-
requestContexts(_module: IRegisteredExtension<any>, _contextTypes?: ExtensionContextType[]): (TEditorContext | TProjectLogicContext)[];
|
|
3818
|
+
requestContexts(_module: IRegisteredExtension<any>, _contextTypes?: ExtensionContextType[]): (TEditorContext | TProjectLogicContext | TCompilerContext)[];
|
|
3819
3819
|
requestModule<T>(moduleId: string): T;
|
|
3820
3820
|
register(extension: IRegisteredExtension<any>): void;
|
|
3821
3821
|
initAll(): Promise<void>;
|
|
@@ -9419,6 +9419,9 @@ export declare interface ICompatibleSameBothLocalScope extends IScopeCompatibili
|
|
|
9419
9419
|
type: ScopeCompatibilityType.SameBothLocal;
|
|
9420
9420
|
}
|
|
9421
9421
|
|
|
9422
|
+
export declare interface ICompilerContext extends ExtensionContextBase<ExtensionContextType.Compile> {
|
|
9423
|
+
}
|
|
9424
|
+
|
|
9422
9425
|
export declare interface ICondition extends IConditionTransfer, IChildEntity, ICalledEntity {
|
|
9423
9426
|
inputs: IActionInputMap[];
|
|
9424
9427
|
declaration: IActionDescriptor;
|
|
@@ -9793,7 +9796,7 @@ export declare interface IExecutionResult {
|
|
|
9793
9796
|
results: IDynamicValue[];
|
|
9794
9797
|
}
|
|
9795
9798
|
|
|
9796
|
-
export declare type IExtensionContext = IEditorContext | IProjectLogicContext;
|
|
9799
|
+
export declare type IExtensionContext = IEditorContext | IProjectLogicContext | ICompilerContext;
|
|
9797
9800
|
|
|
9798
9801
|
declare interface IExtensionContextBase extends Omit<IEventsBus, 'destroy'> {
|
|
9799
9802
|
extensionsRegistry: ExtensionsRegistry;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6403",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|