@elyx-code/project-logic-tree 0.0.6535 → 0.0.6537
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 +9 -9
- package/dist/index.js +2540 -2540
- package/dist/index.umd.cjs +93 -93
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -589,7 +589,7 @@ export declare enum BaseEntityNames {
|
|
|
589
589
|
JIRA_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_JIRA_AUTH"
|
|
590
590
|
}
|
|
591
591
|
|
|
592
|
-
export declare class BaseRegisteredExtension<T
|
|
592
|
+
export declare class BaseRegisteredExtension<T = any> implements IRegisteredExtension<T> {
|
|
593
593
|
readonly extensionsRegistry: ExtensionsRegistry;
|
|
594
594
|
manifest: ExtensionManifest;
|
|
595
595
|
module: ExtensionModule<T>;
|
|
@@ -5649,7 +5649,7 @@ export declare interface ExtensionManifest {
|
|
|
5649
5649
|
dependencies?: string[];
|
|
5650
5650
|
}
|
|
5651
5651
|
|
|
5652
|
-
export declare type ExtensionModule<T
|
|
5652
|
+
export declare type ExtensionModule<T = any> = T & IExtensionModuleCore;
|
|
5653
5653
|
|
|
5654
5654
|
export declare enum ExtensionPermissions {
|
|
5655
5655
|
All = "*",// Allow all permissions, not recommended for security reasons
|
|
@@ -5705,7 +5705,7 @@ export declare class ExtensionsRegistry<TEditorContext extends Omit<IEditorConte
|
|
|
5705
5705
|
setup(): Promise<void>;
|
|
5706
5706
|
private requestContext;
|
|
5707
5707
|
requestContexts(_module: IRegisteredExtension<any>, _contextTypes?: ExtensionContextType[]): (TEditorContext | TProjectLogicContext | TCompilerContext)[];
|
|
5708
|
-
|
|
5708
|
+
requestExtension<T = any>(moduleId: string): IRegisteredExtension<T>;
|
|
5709
5709
|
register(extension: IRegisteredExtension<any>): void;
|
|
5710
5710
|
initAll(): Promise<void>;
|
|
5711
5711
|
initForReady(): Promise<void>;
|
|
@@ -12658,7 +12658,7 @@ export declare interface IBaseEventTransfer extends IBaseEvent_meta {
|
|
|
12658
12658
|
}
|
|
12659
12659
|
|
|
12660
12660
|
export declare interface IBaseExtensionsContext {
|
|
12661
|
-
|
|
12661
|
+
requestExtension: <T = any>(moduleId: string) => IRegisteredExtension<T>;
|
|
12662
12662
|
}
|
|
12663
12663
|
|
|
12664
12664
|
export declare interface IBaseVariable extends IBaseVariableTransfer, IChildEntity {
|
|
@@ -13209,11 +13209,11 @@ export declare interface IEditor extends IUndoableInterface, IValueResolutionCon
|
|
|
13209
13209
|
resolveInitialChildrenPositions(parent: CanvasEntityState | null, children: CanvasEntityState[], changeSet: ChangeSet | null): CanvasEntityState[];
|
|
13210
13210
|
publish(): Promise<void>;
|
|
13211
13211
|
loadActivePublication(publicationId: string): Promise<IPublication>;
|
|
13212
|
-
|
|
13212
|
+
requestExtension<T = any>(moduleId: string): IRegisteredExtension<T>;
|
|
13213
13213
|
initRegistry(): Promise<ExtensionsRegistry<any>>;
|
|
13214
13214
|
}
|
|
13215
13215
|
|
|
13216
|
-
export declare interface IEditorContext extends ExtensionContextBase<ExtensionContextType.Editor>, Omit<IEditor, 'onLogicLoadingComplete' | 'onLogicLoadingCompleteCallback' | 'onProjectHeadLoaded' | 'onProjectHeadLoadedCallback' | 'onProjectSetupError' | 'onProjectSetupErrorCallback' | 'onRenderedCallback' | 'handleIncommingWebsocketMessage' | 'handleNotificationChannelsMessage' | 'handlePersistChangeSetMessage' | 'handleReconnectingWebsocket' | 'getLogic' | 'injectLocalImplementationOfSearchExecution' | 'setup' | 'destroy' | '
|
|
13216
|
+
export declare interface IEditorContext extends ExtensionContextBase<ExtensionContextType.Editor>, Omit<IEditor, 'onLogicLoadingComplete' | 'onLogicLoadingCompleteCallback' | 'onProjectHeadLoaded' | 'onProjectHeadLoadedCallback' | 'onProjectSetupError' | 'onProjectSetupErrorCallback' | 'onRenderedCallback' | 'handleIncommingWebsocketMessage' | 'handleNotificationChannelsMessage' | 'handlePersistChangeSetMessage' | 'handleReconnectingWebsocket' | 'getLogic' | 'injectLocalImplementationOfSearchExecution' | 'setup' | 'destroy' | 'requestExtension' | 'socket' | 'events' | 'initRegistry' | 'extensionsRegistry' | 'on' | 'emit' | 'off' | 'contextType' | 'registerNonDefaultLocalImplementationsOfModules'> {
|
|
13217
13217
|
}
|
|
13218
13218
|
|
|
13219
13219
|
export declare interface IEntityActionRequestPayload<P extends {
|
|
@@ -14572,7 +14572,7 @@ export declare interface IRecordChangeSet<TSelf extends {
|
|
|
14572
14572
|
seenEntities: EntityId[];
|
|
14573
14573
|
}
|
|
14574
14574
|
|
|
14575
|
-
export declare interface IRegisteredExtension<T
|
|
14575
|
+
export declare interface IRegisteredExtension<T = any> {
|
|
14576
14576
|
extensionsRegistry: ExtensionsRegistry;
|
|
14577
14577
|
manifest: ExtensionManifest;
|
|
14578
14578
|
module: ExtensionModule<T>;
|
|
@@ -17212,7 +17212,7 @@ export declare class ProjectState extends VersionedState implements IProject, Us
|
|
|
17212
17212
|
onDiscardChangeSetCallback: ((changeSet: ChangeSet) => void) | null;
|
|
17213
17213
|
constructor(initialData: IProject | IProjectTransfer, parentContext?: IProjectInstanceParentContext);
|
|
17214
17214
|
static parentContext: IProjectStaticParentContext;
|
|
17215
|
-
static get UUID(): IUUIDModule
|
|
17215
|
+
static get UUID(): ExtensionModule<IUUIDModule>;
|
|
17216
17216
|
static sessionAuthor: string;
|
|
17217
17217
|
static repository: IEditableEntityPersistanceRepository;
|
|
17218
17218
|
static type: EntityType.Project;
|
|
@@ -17376,7 +17376,7 @@ export declare class ProjectState extends VersionedState implements IProject, Us
|
|
|
17376
17376
|
attachOrphanReferences(): ProjectState;
|
|
17377
17377
|
getBuiltInPersistedEntity(): BuiltInBaseEntityState | null;
|
|
17378
17378
|
requestActiveDynamicValue(valueOwner: EntityWithValueState, onlyDefault?: boolean): IDynamicValue | null;
|
|
17379
|
-
|
|
17379
|
+
requestExtension<T = any>(moduleId: string): T | null;
|
|
17380
17380
|
undo(): IProjectVersionTransitionConfig;
|
|
17381
17381
|
redo(): IProjectVersionTransitionConfig;
|
|
17382
17382
|
applyExternalChangeSet(request: PersistChangeSetEntityActionRequestPayload): ChangeSet;
|