@elyx-code/project-logic-tree 0.0.6634 → 0.0.6635

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 CHANGED
@@ -11280,6 +11280,8 @@ export declare class DefaultEditorContext extends ExtensionContextBase<Extension
11280
11280
  publish(): Promise<void>;
11281
11281
  loadActivePublication(publicationId: string): Promise<IPublication>;
11282
11282
  requestActiveDynamicValue(valueOwner: EntityWithValueState, onlyDefault?: boolean): IDynamicValue | null;
11283
+ getValueTypePreference(valueOwnerId: EntityId): DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null;
11284
+ setValueTypePreference(valueOwnerId: EntityId, valueTypePreference: DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null): void;
11283
11285
  }
11284
11286
 
11285
11287
  export declare type DefaultExtensionContext = DefaultEditorContext | DefaultProjectLogicContext | DefaultPublicationRunContext;
@@ -12454,6 +12456,8 @@ export declare class Execution extends Events {
12454
12456
  removeFromSkippedList(entity: TestableEntityState): void;
12455
12457
  addToAlreadyExecutedList(entity: TestableEntityState): void;
12456
12458
  addToSkippedList(entity: TestableEntityState): void;
12459
+ getValueTypePreference(valueOwnerId: EntityId): DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null;
12460
+ setValueTypePreference(valueOwnerId: EntityId, valueTypePreference: DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null): void;
12457
12461
  }
12458
12462
 
12459
12463
  export declare const EXECUTION_OPERATIONS: {
@@ -12596,6 +12600,8 @@ export declare class ExtensionsRegistry<TEditorContext extends Omit<IEditorConte
12596
12600
  emitAsyncSequentiallyAll<Arguments extends any[]>(eventName: string, ...args: EventCallbackArguments<Arguments>): EventWithTimeout<void>;
12597
12601
  emitAsyncSequentiallyAllSettled<Arguments extends any[]>(eventName: string, ...args: EventCallbackArguments<Arguments>): EventWithTimeout<PromiseSettledResult<any>[]>;
12598
12602
  contextAvailable(contextType: ExtensionContextType): Promise<void>;
12603
+ getValueTypePreference(valueOwnerId: EntityId): DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null;
12604
+ setValueTypePreference(valueOwnerId: EntityId, valueTypePreference: DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null): void;
12599
12605
  }
12600
12606
 
12601
12607
  export declare class ExtensionState implements IExtensionState {
@@ -20700,6 +20706,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
20700
20706
  }
20701
20707
 
20702
20708
  export declare interface IExecutionInstanceParentContext extends IBaseExtensionsContext {
20709
+ getValueTypePreference: (valueOwnerId: EntityId) => DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null;
20710
+ setValueTypePreference: (valueOwnerId: EntityId, valueTypePreference: DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null) => void;
20703
20711
  }
20704
20712
 
20705
20713
  export declare interface IExecutionResult {
@@ -22052,7 +22060,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
22052
22060
  seenEntities: EntityId[];
22053
22061
  }
22054
22062
 
22055
- export declare interface IRegisteredExtension<T = any> {
22063
+ export declare interface IRegisteredExtension<T = any> extends IExecutionClient {
22056
22064
  extensionsRegistry: ExtensionsRegistry;
22057
22065
  manifest: ExtensionManifest;
22058
22066
  module: ExtensionModule<T>;
@@ -22527,6 +22535,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
22527
22535
  resolvedValues: IValueStoreClient;
22528
22536
  persistedExecutionResults: IValueStoreClient;
22529
22537
  lastExecutionResults: IValueStoreClient;
22538
+ getValueTypePreference: (valueOwnerId: EntityId) => DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null;
22539
+ setValueTypePreference: (valueOwnerId: EntityId, valueTypePreference: DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null) => void;
22530
22540
  }
22531
22541
 
22532
22542
  export declare interface IValueStoreClient {